body.mezcal-commerce-template,
body.mezcal-page-template {
	background:
		radial-gradient(circle at top left, rgba(193, 119, 83, 0.07), transparent 28%),
		linear-gradient(180deg, #f9f7f2 0%, #ffffff 76%);
	color: #2a2a2a;
	font-family: "Noto Sans JP", sans-serif;
}

body.mezcal-commerce-template *,
body.mezcal-commerce-template *::before,
body.mezcal-commerce-template *::after,
body.mezcal-page-template *,
body.mezcal-page-template *::before,
body.mezcal-page-template *::after {
	box-sizing: border-box;
}

body.mezcal-commerce-template .site-header,
body.mezcal-page-template .site-header {
	background: rgba(249, 248, 246, 0.96);
	border-bottom: 1px solid rgba(26, 26, 26, 0.07);
	box-shadow: 0 10px 30px rgba(28, 27, 25, 0.06);
}

body.mezcal-commerce-template .site-content,
body.mezcal-page-template .site-content {
	padding-top: 34px;
}

body.mezcal-commerce-template .site-content > .col-full,
body.mezcal-page-template .site-content > .col-full {
	max-width: 1180px;
}

body.mezcal-commerce-template #primary,
body.mezcal-page-template #primary {
	margin-bottom: 72px;
}

body.mezcal-page-template:not(.mezcal-commerce-template) #primary {
	float: none;
	width: 100%;
}

body.mezcal-commerce-template .widget-area,
body.mezcal-page-template .widget-area {
	padding: 22px;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 18px 44px rgba(36, 31, 27, 0.06);
}

body.mezcal-commerce-template .widget,
body.mezcal-page-template .widget {
	margin-bottom: 2rem;
}

body.mezcal-commerce-template .widget .widget-title,
body.mezcal-commerce-template .widget .widgettitle,
body.mezcal-page-template .widget .widget-title,
body.mezcal-page-template .widget .widgettitle {
	padding-bottom: 0.85rem;
	border-bottom-color: rgba(193, 119, 83, 0.22);
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-size: 1.05rem;
	font-weight: 500;
}

body.mezcal-commerce-template .widget a:not(.button),
body.mezcal-page-template .widget a:not(.button) {
	color: #4a5d4e;
	text-decoration: none;
}

body.mezcal-commerce-template #secondary #recent-posts-4,
body.mezcal-commerce-template #secondary #nav_menu-4,
body.mezcal-commerce-template #secondary #woocommerce_products-2,
body.mezcal-commerce-template #secondary #custom_html-3 {
	display: none;
}

body.mezcal-commerce-template #secondary .woocommerce.widget_product_categories {
	margin-bottom: 1.35rem;
}

.mezcal-page {
	display: grid;
	gap: 28px;
}

.mezcal-page-hero {
	position: relative;
	overflow: hidden;
	min-height: 260px;
	border-radius: 34px;
	background:
		linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(74, 93, 78, 0.86) 100%),
		var(--mezcal-page-image, none) center / cover no-repeat;
	color: #ffffff;
	box-shadow: 0 28px 70px rgba(32, 28, 23, 0.12);
}

.mezcal-page-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 20%, rgba(193, 119, 83, 0.24), transparent 30%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
}

.mezcal-page-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	align-content: end;
	min-height: 260px;
	padding: 42px;
}

.mezcal-page-hero__eyebrow {
	margin: 0 0 12px;
	color: #efb28f;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.mezcal-page-hero__title {
	margin: 0;
	color: #ffffff;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 500;
	line-height: 1.28;
}

.mezcal-page-content {
	padding: 36px 40px;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 48px rgba(36, 31, 27, 0.05);
}

.mezcal-page-content > *:first-child {
	margin-top: 0;
}

.mezcal-page-content p,
.mezcal-page-content li {
	color: #464646;
	line-height: 2;
}

.mezcal-page-content h2,
.mezcal-page-content h3,
.mezcal-page-content h4 {
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
	line-height: 1.4;
}

.mezcal-page-navigation {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.mezcal-page-navigation__card {
	display: grid;
	gap: 8px;
	padding: 22px;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 243, 238, 0.92) 100%);
	box-shadow: 0 16px 38px rgba(36, 31, 27, 0.06);
}

.mezcal-page-navigation__card span {
	color: #a55e3b;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mezcal-page-navigation__card strong {
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-size: 1.05rem;
	font-weight: 500;
}

.woocommerce-products-header,
.woocommerce-Tabs-panel,
.related.products,
.up-sells.products {
	padding: 28px;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 18px 48px rgba(36, 31, 27, 0.05);
}

.woocommerce-products-header {
	margin-bottom: 28px;
	background:
		radial-gradient(circle at 10% 10%, rgba(193, 119, 83, 0.12), transparent 30%),
		linear-gradient(135deg, #1f241f 0%, #4a5d4e 100%);
	color: #ffffff;
}

.woocommerce-products-header .woocommerce-products-header__title,
.woocommerce-products-header .page-title {
	color: #ffffff;
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
}

.woocommerce-products-header .term-description,
.woocommerce-products-header .page-description {
	color: rgba(255, 255, 255, 0.86);
}

.mezcal-shop-category-nav,
.instock-block,
.storefront-sorting {
	margin-bottom: 22px;
	padding: 16px 18px;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 12px 34px rgba(36, 31, 27, 0.05);
}

.mezcal-shop-category-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.mezcal-shop-category-nav__label {
	margin-right: 2px;
	color: #7a6b5f;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mezcal-shop-category-nav a {
	display: inline-flex;
	gap: 6px;
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(193, 119, 83, 0.1);
	color: #8d4f32;
	font-size: 0.84rem;
	font-weight: 700;
}

.mezcal-shop-category-nav a span {
	color: #6f6a61;
}

body.mezcal-commerce-template ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-left: 0;
}

body.mezcal-commerce-template ul.products::before,
body.mezcal-commerce-template ul.products::after {
	display: none;
}

body.mezcal-commerce-template ul.products li.product {
	display: flex;
	flex-direction: column;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	overflow: hidden;
	position: relative;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 48px rgba(36, 31, 27, 0.07);
	transition:
		transform 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease;
}

body.mezcal-commerce-template ul.products li.product:hover {
	transform: translateY(-5px);
	border-color: rgba(193, 119, 83, 0.28);
	box-shadow: 0 24px 58px rgba(36, 31, 27, 0.11);
}

body.mezcal-commerce-template ul.products li.product a.woocommerce-LoopProduct-link {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	width: 100%;
	padding-bottom: 18px;
	color: inherit;
	text-decoration: none;
}

body.mezcal-commerce-template ul.products li.product a.woocommerce-LoopProduct-link > * {
	grid-column: 1 / -1;
	min-width: 0;
}

body.mezcal-commerce-template ul.products li.product img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.12;
	margin: 0;
	padding: 22px;
	border-radius: 0;
	background:
		radial-gradient(circle at 50% 42%, rgba(193, 119, 83, 0.14), transparent 42%),
		linear-gradient(180deg, #fbf7f1 0%, #f1e7dc 100%);
	object-fit: contain;
}

body.mezcal-commerce-template ul.products li.product .soldout {
	position: absolute;
	top: 18px;
	left: -42px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 30px;
	background: #1a1a1a;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	line-height: 1;
	pointer-events: none;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(-38deg);
	box-shadow: 0 12px 24px rgba(26, 26, 26, 0.22);
}

.mezcal-loop-product-label {
	margin: 0 20px;
	color: #6f6a61;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-align: left;
	text-transform: uppercase;
}

body.mezcal-commerce-template ul.products li.product .woocommerce-loop-product__title {
	display: block;
	margin: 0 20px;
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.55;
	text-align: left;
}

body.mezcal-commerce-template ul.products li.product .sale-perc {
	display: block;
	width: fit-content;
	max-width: calc(100% - 40px);
	margin: 0 20px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(193, 119, 83, 0.12);
	color: #8f4528;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-align: left;
}

body.mezcal-commerce-template ul.products li.product .sale-perc a {
	color: inherit;
	text-decoration: none;
}

body.mezcal-commerce-template ul.products li.product .price {
	display: block;
	margin: 0 20px;
	color: #8f4528;
	font-family: "Noto Serif JP", serif;
	font-size: 1.32rem;
	font-weight: 800;
	line-height: 1.35;
	text-align: left;
}

body.mezcal-commerce-template ul.products li.product .price small {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	color: #695f57;
}

body.mezcal-commerce-template ul.products li.product .button,
body.mezcal-commerce-template ul.products li.product .added_to_cart {
	width: calc(100% - 40px);
	margin: auto 20px 20px;
	border-radius: 999px;
	background: #4a5d4e;
	color: #ffffff;
	text-align: center;
}

body.single-product.mezcal-commerce-template div.product {
	display: flex;
	flex-direction: column;
	gap: 28px;
	align-items: stretch;
}

body.single-product.mezcal-commerce-template div.product .woocommerce-product-gallery,
body.single-product.mezcal-commerce-template div.product .summary {
	float: none !important;
	width: 100% !important;
	max-width: none;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

body.single-product.mezcal-commerce-template div.product .woocommerce-product-gallery,
body.single-product.mezcal-commerce-template div.product .summary {
	padding: 28px;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 20px 54px rgba(36, 31, 27, 0.08);
}

body.single-product.mezcal-commerce-template div.product > .woocommerce-tabs,
body.single-product.mezcal-commerce-template div.product > .related,
body.single-product.mezcal-commerce-template div.product > .up-sells {
	grid-column: 1 / -1;
	width: 100%;
}

body.single-product.mezcal-commerce-template div.product .product_title {
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(1.8rem, 3.4vw, 3rem);
	font-weight: 500;
	line-height: 1.3;
}

body.single-product.mezcal-commerce-template div.product p.price,
body.single-product.mezcal-commerce-template div.product span.price {
	color: #a55e3b;
	font-family: "Noto Serif JP", serif;
	font-size: 1.45rem;
	font-weight: 700;
}

body.single-product.mezcal-commerce-template div.product form.cart {
	padding: 18px;
	border-radius: 22px;
	background: #f8f2eb;
}

body.single-product.mezcal-commerce-template div.product .single_add_to_cart_button {
	border-radius: 999px;
	background: #4a5d4e !important;
	box-shadow: 0 12px 28px rgba(74, 93, 78, 0.22);
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing {
	width: 100%;
	margin: 20px 0 0;
	padding: 14px 16px;
	overflow-x: auto;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 22px;
	background: rgba(248, 242, 235, 0.74);
	box-shadow: none;
}

body.single-product.mezcal-commerce-template div.product > .storefront-product-sharing {
	grid-column: 2 / 3;
	align-self: start;
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing ul {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0;
	list-style: none;
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing li {
	flex: 1 1 0;
	margin: 0;
	min-width: 0;
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #4a5d4e;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .twitter a,
body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .facebook a,
body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .pinterest a,
body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .email a {
	font-size: 0;
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .twitter a::before {
	content: "Twitter";
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .facebook a::before {
	content: "Facebook";
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .pinterest a::before {
	content: "Pinterest";
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing .email a::before {
	content: "Mail";
}

body.single-product.mezcal-commerce-template div.product .storefront-product-sharing a::before {
	font-size: 0.78rem;
}

.mezcal-product-assurance {
	margin: 18px 0 0;
	padding: 18px 20px;
	border: 1px solid rgba(74, 93, 78, 0.18);
	border-radius: 22px;
	background: rgba(74, 93, 78, 0.08);
}

.mezcal-product-assurance__label {
	margin: 0 0 10px;
	color: #4a5d4e;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mezcal-product-assurance ul {
	display: grid;
	gap: 8px;
	margin: 0;
	list-style: none;
}

.mezcal-product-assurance li {
	position: relative;
	padding-left: 1.25rem;
	color: #3f473f;
	line-height: 1.7;
}

.mezcal-product-assurance li::before {
	position: absolute;
	left: 0;
	color: #c17753;
	content: "•";
}

body.mezcal-commerce-template .woocommerce-tabs ul.tabs li a {
	color: #4a5d4e;
	font-weight: 700;
}

.mezcal-footer-products {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 70px 0;
	background:
		radial-gradient(circle at 12% 16%, rgba(193, 119, 83, 0.14), transparent 28%),
		linear-gradient(135deg, #171917 0%, #263227 54%, #4a5d4e 100%);
	color: #ffffff;
}

.mezcal-footer-products__inner {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.mezcal-footer-products__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.mezcal-footer-products__label {
	margin: 0 0 8px;
	color: #efb28f;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.mezcal-footer-products__head h2 {
	margin: 0;
	color: #ffffff;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	font-weight: 500;
	line-height: 1.3;
}

.mezcal-footer-products__head > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-decoration: none;
	white-space: nowrap;
}

.mezcal-footer-products__head > a:hover {
	background: #ffffff;
	color: #253126;
}

.mezcal-footer-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.mezcal-footer-product-card {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.mezcal-footer-product-card__image {
	display: block;
	padding: 18px;
	background:
		radial-gradient(circle at 50% 44%, rgba(193, 119, 83, 0.16), transparent 42%),
		linear-gradient(180deg, #fbf7f1 0%, #f0e4d9 100%);
}

.mezcal-footer-product-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin: 0;
	object-fit: contain;
}

.mezcal-footer-product-card__body {
	display: grid;
	gap: 8px;
	padding: 18px 18px 20px;
}

.mezcal-footer-product-card__body p {
	margin: 0;
	color: #7a6b5f;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mezcal-footer-product-card__body h3 {
	margin: 0;
	font-family: "Noto Serif JP", serif;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.5;
}

.mezcal-footer-product-card__body h3 a {
	color: #1f1f1f;
	text-decoration: none;
}

.mezcal-footer-product-card__price {
	color: #8f4528;
	font-family: "Noto Serif JP", serif;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.35;
}

@media (max-width: 1020px) {
	body.mezcal-commerce-template ul.products,
	body.single-product.mezcal-commerce-template div.product,
	.mezcal-page-navigation,
	.mezcal-footer-products__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	body.mezcal-commerce-template .site-content,
	body.mezcal-page-template .site-content {
		padding-top: 20px;
	}

	.mezcal-page-hero__inner,
	.mezcal-page-content {
		padding: 26px 22px;
	}

	body.mezcal-commerce-template ul.products,
	body.single-product.mezcal-commerce-template div.product,
	.mezcal-page-navigation,
	.mezcal-footer-products__grid {
		grid-template-columns: 1fr;
	}

	.mezcal-footer-products {
		padding: 48px 0;
	}

	.mezcal-footer-products__head {
		display: grid;
		align-items: start;
	}

	.woocommerce-products-header,
	.woocommerce-Tabs-panel,
	.related.products,
	.up-sells.products,
	body.single-product.mezcal-commerce-template div.product .woocommerce-product-gallery,
	body.single-product.mezcal-commerce-template div.product .summary {
		padding: 22px;
		border-radius: 24px;
	}
}
