/* ==========================================================================
   The Turtle Egg Too — theme stylesheet
   ========================================================================== */

:root {
	--color-background: #fbf7ef;
	--color-foreground: #2e1c3f;
	--color-primary: #18838b;
	--color-primary-foreground: #fcf9f3;
	--color-secondary: #dbeff0;
	--color-sage: #2f8d93;
	--color-destructive: #c62f2f;
	--color-border: #cddedf;
	--color-button-text: #fcf9f3;
	--color-surface: #f6f0e4;

	--font-display: 'Fraunces', serif;
	--font-body: 'Inter Tight', sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.75rem;
	--shadow-elevated: 0 8px 30px -12px rgba(46, 28, 63, 0.2);

	--btn-radius: 999px;
	--btn-height: 3.25rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.2em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.75rem;

	--header-height: 80px;
	--announcement-height: 36px;
	--logo-height: 78px;

	--wp-admin-bar-height: 0px;

	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}
body.admin-bar {
	--wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}

/* ---------------------------------- Reset / base ---------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-feature-settings: 'ss01', 'cv11';
	margin: 0;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.theme-product-card__image):not(.theme-product-gallery__main-img):not(.theme-product-thumb-img):not(.theme-product-image) {
	height: auto;
}
.cover-img, .theme-product-card__image, .theme-product-gallery__main-img, .theme-product-thumb-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
.theme-cat-filter,
.theme-product-card,
.theme-nav-link,
.theme-footer-nav-link,
.theme-accordion__trigger,
.theme-faq__question,
.theme-header__brand,
.theme-header__cart-btn,
.theme-header__menu-toggle,
.theme-mobile-nav-link,
.theme-mobile-nav-order,
.theme-announcement-bar__close,
.theme-cart-drawer__close,
.theme-cart-drawer__item-controls button,
.theme-qty-minus,
.theme-qty-plus,
.theme-modal__close,
label[for] { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
}
p { margin: 0; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } }

.hairline { height: 1px; width: 100%; background: color-mix(in srgb, var(--color-sage) 30%, transparent); }

.eyebrow {
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	font-family: var(--font-body); font-weight: 500; color: var(--color-primary);
	display: inline-flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ''; display: inline-block; height: 1px; width: 1.5rem; background: color-mix(in srgb, var(--color-sage) 80%, transparent); }

.theme-mt-xl { margin-top: 4rem; }
.theme-mb-xl { margin-bottom: 4rem; }
.theme-section__pad-lg { padding-block: 5rem; }
.theme-section__pad-xl { padding-block: 6rem; }
.theme-section__pad-bottom { padding-bottom: 6rem; }
@media (min-width: 768px) {
	.theme-section__pad-lg { padding-block: 7rem; }
	.theme-section__pad-xl { padding-block: 8rem; }
	.theme-section__pad-bottom { padding-bottom: 8rem; }
}

/* Heading reset applies globally; per-section scale below overrides size. */
.section-heading { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }

/* ---------------------------------- Buttons ---------------------------------- */
.theme-btn-primary, .theme-btn-outline, .theme-btn-hero-primary, .theme-btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-family: var(--font-body); font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing); text-transform: var(--btn-text-transform);
	font-weight: var(--btn-font-weight);
	padding: 0.9rem 1.75rem;
	border-radius: var(--btn-radius);
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline { background: transparent; border: 1px solid var(--color-foreground); color: var(--color-foreground); }
.theme-btn-outline:hover { background: color-mix(in srgb, var(--color-foreground) 8%, transparent); }
.theme-btn-hero-primary { background: var(--color-background); color: var(--color-foreground); padding: 1rem 2rem; }
.theme-btn-hero-primary:hover { background: color-mix(in srgb, var(--color-background) 90%, transparent); }
.theme-btn-hero-outline { background: transparent; border: 1px solid var(--color-background); color: var(--color-background); padding: 1rem 2rem; }
.theme-btn-hero-outline:hover { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-rounded { border-radius: var(--btn-radius); }
.single_add_to_cart_button, .single_add_to_cart_button:visited { text-transform: none; }

/* ---------------------------------- Header ---------------------------------- */
.theme-announcement-bar {
	position: fixed; top: var(--wp-admin-bar-height); left: 0; right: 0; z-index: 60;
	height: var(--announcement-height);
	background: var(--color-primary); color: var(--color-primary-foreground);
}
.theme-announcement-bar__inner { height: 100%; display: flex; align-items: center; justify-content: center; gap: 0.75rem; position: relative; text-align: center; }
.theme-announcement-bar__message { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.theme-announcement-bar__close { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); opacity: 0.8; padding: 0.25rem; color: inherit; }
.theme-announcement-bar__close:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

.theme-header {
	position: fixed; left: 0; right: 0; z-index: 50;
	top: var(--wp-admin-bar-height);
	transition: background-color 0.3s ease, color 0.3s ease, top 0.3s ease;
	background: transparent; color: var(--color-background);
}
body.has-announcement .theme-header { top: calc(var(--wp-admin-bar-height) + var(--announcement-height)); }
.theme-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: var(--color-foreground);
}
.theme-header__nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.theme-header__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--logo-height); display: block; }
.theme-header__brand-name { font-family: var(--font-display); font-size: 1.1rem; }

.theme-header__links { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .theme-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-link, .theme-header__links button {
	font-size: 12px; font-family: var(--font-body); font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase; position: relative; color: inherit; background: none;
}
.theme-nav-link::after, .theme-footer-nav-link::after {
	content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }
.theme-header__order-btn {
	font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
	padding: 0.6rem 1.25rem; border-radius: 999px; transition: background-color 0.2s, color 0.2s;
	background: var(--color-primary); color: var(--color-primary-foreground);
}
.theme-header.is-solid .theme-header__order-btn { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-header:not(.is-solid) .theme-header__order-btn { background: var(--color-background); color: var(--color-foreground); }
.theme-header__order-btn:hover { opacity: 0.9; }

.theme-header__mobile-actions { display: flex; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .theme-header__mobile-actions { display: none; } }
.theme-header__cart-btn { position: relative; padding: 0.5rem; color: inherit; }
.theme-header__cart-btn--desktop { display: none; }
@media (min-width: 1024px) { .theme-header__cart-btn--desktop { display: block; } }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; width: 1rem; height: 1rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px;
}
.theme-cart-count:empty { display: none; }
.theme-header__menu-toggle { padding: 0.5rem; color: inherit; }

.theme-mobile-menu {
	display: none;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	padding: 1rem 0;
}
@media (min-width: 1024px) {
	.theme-mobile-menu,
	.theme-mobile-menu.is-open { display: none !important; }
}
.theme-mobile-menu.is-open { display: block; animation: tetFadeIn 0.3s var(--ease-smooth); }
.theme-mobile-menu__inner {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.theme-mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.theme-mobile-nav-list li { margin: 0; padding: 0; }
.theme-mobile-nav-link,
.theme-mobile-nav-order {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 14px;
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.025em;
	text-transform: none;
	padding: 0.625rem 0;
	color: inherit;
	background: none;
	border: none;
}
.theme-mobile-nav-link:hover { opacity: 0.75; }
.theme-mobile-nav-order {
	font-weight: 600;
	color: var(--color-primary);
}
.theme-mobile-nav-order:hover { opacity: 0.85; }

/* ---------------------------------- Hero ---------------------------------- */
.theme-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
body:not(.theme-no-hero) .theme-hero { padding-top: 0; }
.theme-hero__media { position: absolute; inset: 0; }
.theme-hero__img { width: 100%; height: 100%; }
.theme-hero__gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 50%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 80%, transparent)); }
.theme-hero__tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-hero__content { position: relative; z-index: 10; padding-bottom: 4rem; padding-top: 8rem; color: var(--color-background); }
@media (min-width: 768px) { .theme-hero__content { padding-bottom: 6rem; } }
.theme-hero__eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 1.5rem; opacity: 0.9; font-family: var(--font-body); }
.theme-hero__title {
	font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em;
	font-size: 3rem; line-height: 0.95; max-width: 64rem;
}
.theme-hero__title em { font-style: normal; font-weight: 300; }
@media (min-width: 640px) { .theme-hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 6rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 8rem; } }
.theme-hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------------------------------- Intro strip ---------------------------------- */
.theme-intro__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; }
@media (min-width: 768px) { .theme-intro__grid { grid-template-columns: repeat(12, 1fr); } }
.theme-intro__eyebrow { grid-column: span 2; }
.theme-intro__text {
	grid-column: span 10; font-family: var(--font-display); font-weight: 400;
	font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.02em; max-width: 56rem;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
}
@media (min-width: 768px) { .theme-intro__text { font-size: 3rem; } }

/* ---------------------------------- Shop section ---------------------------------- */
.theme-shop__header { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-shop__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-heading { font-size: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 4.5rem; } }
.theme-shop__search { position: relative; width: 100%; }
@media (min-width: 768px) { .theme-shop__search { width: 18rem; } }
.theme-shop__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-shop__search-input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
}
.theme-shop__search-input:focus { outline: none; border-bottom-color: var(--color-primary); }
.theme-shop__filters { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 3rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding-bottom: 1rem; }
.theme-cat-filter { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.5rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); transition: color 0.2s; }
.theme-cat-filter:hover { color: var(--color-foreground); }
.theme-cat-filter.is-active { color: var(--color-primary); font-weight: 600; }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 2rem 2rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: block; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; margin-bottom: 1.25rem; }
.theme-product-card__image { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
	padding: 0.35rem 0.75rem; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background); border-radius: 999px; font-weight: 500;
}
.theme-product-card__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex: 1; }
.theme-product-card__title-col { min-width: 0; }
.theme-product-card__title { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.3; transition: color 0.2s; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__unit, .theme-product-card__tagline { margin-top: 0.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-product-card__tagline { color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-product-card__price { font-family: var(--font-display); font-size: 1.25rem; white-space: nowrap; margin: 0; }
.theme-product-card__from { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); margin-right: 0.25rem; font-family: var(--font-body); }
.theme-product-empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ---------------------------------- Pricing ---------------------------------- */
.theme-pricing-section { background: var(--color-secondary); }
.theme-pricing__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .theme-pricing__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-pricing__copy { grid-column: span 6; }
.theme-pricing__copy .section-heading { font-size: 2.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-pricing__copy .section-heading { font-size: 4.5rem; } }
.theme-pricing__rows { display: flex; flex-direction: column; gap: 1.25rem; max-width: 28rem; }
.theme-pricing__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding-bottom: 1rem; }
.theme-pricing__label { font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-pricing__value { font-family: var(--font-display); font-size: 1.875rem; white-space: nowrap; }
.theme-pricing__note { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-top: 1.75rem; max-width: 28rem; line-height: 1.6; }
.theme-pricing__image { grid-column: span 6; overflow: hidden; border-radius: 2px; box-shadow: var(--shadow-elevated); }

/* ---------------------------------- Off-menu ---------------------------------- */
.theme-offmenu__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; }
@media (min-width: 768px) { .theme-offmenu__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-offmenu__copy { grid-column: span 7; }
.offerings-section { font-size: 2.5rem; }
@media (min-width: 768px) { .offerings-section { font-size: 4.5rem; } }
.offerings-section em { font-style: normal; font-weight: 300; }
.theme-offmenu__rule { margin-top: 1.5rem; height: 0.25rem; width: 5rem; background: color-mix(in srgb, var(--color-sage) 70%, transparent); border-radius: 999px; }
.theme-offmenu__aside { grid-column: span 5; }
.theme-offmenu__text { font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; margin-bottom: 1.75rem; max-width: 28rem; }

/* ---------------------------------- About ---------------------------------- */
.theme-about-section { background: var(--color-secondary); }
.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .theme-about__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-about__image {
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 2px;
	position: relative;
}
@media (min-width: 768px) { .theme-about__image { grid-column: span 5; } }
.theme-about__copy { width: 100%; }
@media (min-width: 768px) { .theme-about__copy { grid-column: span 7; } }
.about-section { font-size: 2.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section { font-size: 4.5rem; } }
.theme-about__p { font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; margin-bottom: 1.25rem; max-width: 36rem; }

/* ---------------------------------- Featured product ---------------------------------- */
.theme-featured__title { font-size: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-featured__title { font-size: 4.5rem; } }
.theme-featured__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .theme-featured__grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; } }
.theme-featured__image {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 2px;
	position: relative;
}
@media (min-width: 768px) { .theme-featured__image { grid-column: span 7; } }
.theme-featured__copy { width: 100%; }
@media (min-width: 768px) { .theme-featured__copy { grid-column: span 5; padding-left: 1.5rem; } }
.theme-featured__desc { font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; margin-bottom: 1.5rem; }
.theme-featured__price { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 2rem; }

/* ---------------------------------- Chef ---------------------------------- */
.theme-chef-section { background: var(--color-secondary); }
.theme-chef__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-chef__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-chef__collage { grid-column: span 7; position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .theme-chef__collage { min-height: 520px; } }
.theme-chef__blob { position: absolute; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); z-index: 0; }
.theme-chef__blob--1 { top: -1rem; left: -1rem; width: 6rem; height: 6rem; }
@media (min-width: 768px) { .theme-chef__blob--1 { top: 0; left: 0; width: 8rem; height: 8rem; } }
.theme-chef__blob--2 { bottom: 3rem; right: 25%; width: 4rem; height: 4rem; }
@media (min-width: 768px) { .theme-chef__blob--2 { width: 6rem; height: 6rem; } }
.theme-chef__photo { position: relative; z-index: 10; overflow: hidden; border-radius: 2px; box-shadow: var(--shadow-elevated); aspect-ratio: 1 / 1; background: color-mix(in srgb, var(--color-background) 40%, transparent); transition: transform 0.7s ease; }
.theme-chef__photo--main { width: 80%; max-width: 28rem; transform: rotate(-1deg); }
.theme-chef__photo--main:hover { transform: rotate(0deg); }
.theme-chef__photo--small { position: absolute; bottom: -1.5rem; right: 1rem; z-index: 20; width: 48%; max-width: 220px; border: 8px solid var(--color-background); transform: rotate(3deg); }
@media (min-width: 768px) { .theme-chef__photo--small { right: 2rem; } }
@media (min-width: 1024px) { .theme-chef__photo--small { right: 0; } }
.theme-chef__photo--small:hover { transform: rotate(0deg); }
.theme-chef__bio { grid-column: span 5; }
.theme-chef__title { font-size: 2.5rem; font-weight: 700; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-chef__title { font-size: 4.5rem; } }
.theme-chef__br { display: none; }
@media (min-width: 768px) { .theme-chef__br { display: block; } }
.theme-chef__p { font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; margin-bottom: 1.25rem; max-width: 36rem; }
.theme-chef__signature { display: block; margin-bottom: 2rem; }
.theme-chef__signature-name { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; color: var(--color-primary); display: inline-block; transform: rotate(-2deg); transform-origin: left; }
.theme-chef__signature-title { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.5rem; }

/* ---------------------------------- How it works ---------------------------------- */
.theme-process__title { font-size: 2.5rem; margin-bottom: 4rem; max-width: 48rem; }
@media (min-width: 768px) { .theme-process__title { font-size: 4.5rem; } }
.theme-process__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .theme-process__grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; } }
.theme-process__step { border-top: 1px solid color-mix(in srgb, var(--color-sage) 40%, transparent); padding-top: 1.5rem; }
.theme-process__number { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); margin-bottom: 1rem; }
.theme-process__step-title { font-size: 1.875rem; margin-bottom: 0.75rem; }
.theme-process__step-text { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 24rem; }

/* ---------------------------------- Gallery ---------------------------------- */
.theme-gallery__header { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-gallery__header { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-gallery__header > div { grid-column: span 7; }
.theme-gallery__header .eyebrow { margin-bottom: 1rem; }
.theme-gallery__header .section-heading {
	font-size: 2.5rem;
	line-height: 1.05;
}
@media (min-width: 768px) {
	.theme-gallery__header .section-heading { font-size: 4.5rem; }
}
.theme-gallery__text { grid-column: span 5; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; }
.theme-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .theme-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.theme-gallery__item { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; position: relative; }
.theme-gallery__item img { transition: transform 0.7s ease; }
.theme-gallery__item:hover img { transform: scale(1.05); }

/* ---------------------------------- Image strip ---------------------------------- */
.theme-strip-section { position: relative; width: 100%; aspect-ratio: 16 / 8; overflow: hidden; }
@media (min-width: 768px) { .theme-strip-section { aspect-ratio: 21 / 8; } }

/* ---------------------------------- FAQ ---------------------------------- */
.theme-faq__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) { .theme-faq__grid { grid-template-columns: repeat(12, 1fr); } }
.theme-faq__aside { grid-column: span 4; }
@media (min-width: 768px) { .theme-faq__aside { position: sticky; top: 7rem; } }
.theme-faq__title { font-size: 2.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-faq__title { font-size: 3.75rem; } }
.theme-faq__list { grid-column: span 8; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq__item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq__item:last-child { border-bottom: none; }
.theme-faq__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.theme-faq__q-inner { display: flex; align-items: flex-start; gap: 1rem; padding-right: 1rem; }
.theme-faq__icon { color: var(--color-sage); flex-shrink: 0; margin-top: 6px; }
.theme-faq__q-text { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-faq__q-text { font-size: 1.5rem; } }
.theme-faq__chevron { color: var(--color-primary); flex-shrink: 0; margin-top: 4px; transition: transform 0.3s var(--ease-smooth); }
.theme-faq__item.is-open .theme-faq__chevron { transform: rotate(180deg); }
.theme-faq__answer { height: 0; overflow: hidden; transition: height 0.3s var(--ease-smooth); }
.theme-faq__answer-inner { padding-bottom: 1.5rem; max-width: 42rem; }
.theme-faq__answer-inner p { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }

/* ---------------------------------- Testimonials ---------------------------------- */
.theme-testimonials-section { background: var(--color-secondary); }
.theme-testimonials__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .theme-testimonials__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-testimonials__header .section-heading { font-size: 2.5rem; max-width: 40rem; }
@media (min-width: 768px) { .theme-testimonials__header .section-heading { font-size: 3.75rem; } }
.theme-testimonials__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-testimonials__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-testimonial { display: flex; flex-direction: column; height: 100%; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
@media (min-width: 768px) { .theme-testimonial { padding-top: 0; border-top: none; padding-left: 2rem; border-left: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); } }
.theme-testimonial:first-child { border-top: none; padding-top: 0; }
@media (min-width: 768px) { .theme-testimonial:first-child { border-left: none; padding-left: 0; } }
.theme-testimonial__mark { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-primary); line-height: 1; margin-bottom: 0.75rem; }
.theme-testimonial blockquote { margin: 0; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; }
.theme-testimonial figcaption { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: auto; }
.theme-testimonial figcaption span { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }

/* ---------------------------------- CTA ---------------------------------- */
.theme-cta-section { position: relative; overflow: hidden; background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-cta__media { position: absolute; inset: 0; }
.theme-cta__media video { width: 100%; height: 100%; opacity: 0.4; }
.theme-cta__tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 70%, transparent); mix-blend-mode: multiply; }
.theme-cta__content { position: relative; text-align: center; }
.theme-cta__eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.8; margin-bottom: 1.5rem; }
.theme-cta__title { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; letter-spacing: -0.02em; margin: 0 auto 2.5rem; max-width: 56rem; }
.theme-cta__title em { font-style: normal; font-weight: 300; }
@media (min-width: 768px) { .theme-cta__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-cta__title { font-size: 6rem; } }
.theme-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------------------------------- Footer ---------------------------------- */
.theme-footer { background: var(--color-foreground); color: var(--color-background); }
.theme-footer__inner { padding-block: 5rem; }
@media (min-width: 1024px) { .theme-footer__inner { padding-block: 6rem; } }
.theme-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; } }
.theme-footer__brand-col { grid-column: span 6; }
.theme-footer__brand { display: inline-block; }
.theme-footer__logo { height: 6rem !important; width: auto !important; }
@media (min-width: 768px) { .theme-footer__logo { height: 7rem !important; } }
.theme-footer__tagline { margin-top: 1.25rem; max-width: 28rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); line-height: 1.6; }
.theme-footer__nav-col, .theme-footer__contact-col { grid-column: span 3; }
.theme-footer__col-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-sage) 70%, var(--color-background)); margin-bottom: 1rem; }
.theme-footer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.theme-footer-nav-link {
	font-size: 14px;
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
	position: relative;
	display: block;
	width: fit-content;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	text-align: left;
	line-height: inherit;
}
.theme-footer-nav-link:hover::after { transform: scaleX(1); }
.theme-footer__contact-list { display: flex; flex-direction: column; gap: 0.625rem; font-size: 14px; color: color-mix(in srgb, var(--color-background) 85%, transparent); }
.theme-footer__contact-link, .theme-footer__contact-static { display: flex; align-items: flex-start; gap: 0.5rem; width: fit-content; }
.theme-footer__contact-link:hover { color: var(--color-background); }
.theme-footer__bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .theme-footer__bottom { flex-direction: row; } }
.theme-footer__copyright, .theme-footer__built-by { font-size: 12px; color: color-mix(in srgb, var(--color-background) 50%, transparent); }
.theme-footer__built-by a { color: color-mix(in srgb, var(--color-background) 70%, transparent); }
.theme-footer__built-by a:hover { color: var(--color-background); }

/* ---------------------------------- Modals (Contact / Order) ---------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-modal[hidden] { display: none; }
.theme-modal__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 45%, transparent); animation: tetFadeIn 0.25s var(--ease-smooth); }
.theme-modal__panel {
	position: relative; z-index: 1; background: var(--color-background); color: var(--color-foreground);
	width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; border-radius: var(--card-radius);
	padding: 2rem; box-shadow: var(--shadow-elevated); animation: tetScaleIn 0.3s var(--ease-smooth);
}
.theme-modal__panel--wide { max-width: 40rem; }
.theme-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.4rem; opacity: 0.6; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { margin-bottom: 0.5rem; }
.theme-modal__title { font-size: 2rem; letter-spacing: -0.02em; margin: 0.5rem 0; }
.theme-modal__desc { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-modal__contact-info { display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 1rem 0; margin: 0.5rem 0; }
.theme-modal__contact-info a:hover { color: var(--color-primary); }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.theme-form-row--split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; } }
.theme-field label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 0.4rem; }
.theme-field input, .theme-field textarea, .theme-field select {
	width: 100%; padding: 0.65rem 0.75rem; background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0.375rem; font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
}
.theme-field input:focus, .theme-field textarea:focus, .theme-field select:focus { outline: none; border-color: var(--color-primary); }
.theme-field textarea { resize: none; }
.theme-modal__form-actions { display: flex; justify-content: flex-end; padding-top: 0.5rem; }
.theme-modal__note { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); font-style: italic; }
.theme-modal__error { color: var(--color-destructive); font-size: 13px; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3rem; height: 3rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__success p { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 24rem; margin: 0 auto; }

/* ---------------------------------- Side Cart Drawer ---------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 65; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 66;
	background: var(--color-background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transform: translateX(100%);
	transition: transform 0.35s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-img { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); position: relative; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 14px; font-weight: 500; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.15rem; }
.theme-cart-drawer__item-variation { margin-top: 0.35rem; text-align: left; width: 100%; }
.theme-cart-drawer__item-variation dl.variation {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 0.35rem;
	row-gap: 0.15rem;
	justify-items: start;
	text-align: left;
}
.theme-cart-drawer__item-variation dl.variation dt,
.theme-cart-drawer__item-variation dl.variation dd {
	float: none;
	clear: none;
	margin: 0;
	padding: 0;
	text-align: left;
}
.theme-cart-drawer__item-variation dl.variation dt { font-weight: 500; }
.theme-cart-drawer__item-variation dl.variation dd p { margin: 0; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-drawer__item-controls button { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-drawer__item-controls button:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 13px; padding: 0.6rem; border: 1px solid var(--color-foreground); border-radius: 0.375rem; }

/* ---------------------------------- Add to cart button overrides (Section 11.4.1) ---------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* ---------------------------------- Single product page (ProductDetail.tsx parity) ---------------------------------- */
body.theme-no-hero .theme-main.single-product-main,
body.theme-single-product-page .theme-main.single-product-main {
	padding-top: calc(var(--wp-admin-bar-height) + 6rem) !important;
	padding-bottom: 0;
}
@media (min-width: 1024px) {
	body.theme-no-hero .theme-main.single-product-main,
	body.theme-single-product-page .theme-main.single-product-main {
		padding-top: calc(var(--wp-admin-bar-height) + 7rem) !important;
	}
}

.single-product-main .theme-breadcrumb {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	padding-block: 1.5rem;
}
.single-product-main .theme-breadcrumb a:hover { color: var(--color-foreground); }
.single-product-main .theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product-main .theme-breadcrumb__current { color: var(--color-foreground); }

.single-product-main .theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-top: 1rem;
	padding-bottom: 6rem;
	align-items: start;
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
	}
}

.single-product-main .theme-product-gallery-col,
.single-product-main .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.single-product-main .theme-product-gallery-mobile { display: block; }
.single-product-main .theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.single-product-main .theme-product-gallery-mobile { display: none; }
	.single-product-main .theme-product-gallery-desktop {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
}

.single-product-main .theme-product-image-wrap {
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}

.single-product-main .theme-product-image {
	position: static !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-product-main .theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
}
.single-product-main .theme-product-thumb {
	position: relative;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	border: none;
	padding: 0;
}
.single-product-main .theme-product-thumb-img {
	position: static !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
	transition: opacity 0.2s;
}
.single-product-main .theme-product-thumb.is-active .theme-product-thumb-img,
.single-product-main .theme-product-thumb:hover .theme-product-thumb-img { opacity: 1; }
.single-product-main .theme-product-thumb::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--color-foreground);
	opacity: 0;
	transition: opacity 0.2s;
}
.single-product-main .theme-product-thumb.is-active::after { opacity: 1; }

@media (min-width: 1024px) {
	.single-product-main .theme-product-info {
		padding-left: 1rem;
		position: sticky;
		top: calc(var(--wp-admin-bar-height) + 7rem);
		align-self: start;
	}
}

.single-product-main .theme-product-info__category {
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	display: block;
}

.single-product-main .theme-product-info__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2.25rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0.75rem 0 1.25rem;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-info__title { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-info__title { font-size: 3.25rem; }
}

.single-product-main .theme-product-info__price {
	font-family: var(--font-body);
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
	color: var(--color-foreground);
}

.single-product-main .theme-product-info__unit {
	margin-bottom: 1.5rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}

.single-product-main .theme-product-info__intro {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	margin: 0 0 2rem;
	max-width: 36rem;
}

.single-product-main .theme-product-info__stock { margin-bottom: 1.5rem; font-size: 13px; font-weight: 600; }
.single-product-main .theme-product-info__stock.is-out-of-stock { color: var(--color-destructive); }

.single-product-main .theme-product-qty-block { margin-bottom: 1rem; }
.single-product-main .theme-product-qty-label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin: 0 0 0.75rem;
	font-family: var(--font-body);
	font-weight: 500;
}

.single-product-main .theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: 0;
	overflow: hidden;
}
.single-product-main .theme-qty-minus,
.single-product-main .theme-qty-plus {
	padding: 0.5rem 0.75rem;
	transition: background-color 0.2s;
}
.single-product-main .theme-qty-minus:hover,
.single-product-main .theme-qty-plus:hover { background: var(--color-secondary); }
.single-product-main .theme-qty-display {
	padding: 0.5rem 1rem;
	min-width: 2.75rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 14px;
}
.single-product-main .theme-qty-input { display: none !important; }

.single-product-main .theme-add-to-cart-area { margin-bottom: 0.5rem; }

.single-product-main .theme-product-atc.single_add_to_cart_button,
.single-product-main .theme-product-atc.single_add_to_cart_button:visited,
.single-product-main .theme-product-atc.single_add_to_cart_button[type="submit"],
.single-product-main .theme-product-atc.single_add_to_cart_button[type="submit"]:disabled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent) !important;
	color: var(--color-primary) !important;
	border: 1px solid var(--color-primary) !important;
	border-radius: 999px !important;
	min-height: auto !important;
	padding: 1rem 1.5rem !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	width: 100% !important;
}
.single-product-main .theme-product-atc.single_add_to_cart_button:hover {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	opacity: 1 !important;
}
.single-product-main .theme-product-atc.is-added,
.single-product-main .theme-product-atc.theme-btn-loading {
	opacity: 0.6;
	pointer-events: none;
	cursor: not-allowed;
}
.single-product-main .theme-product-atc.disabled,
.single-product-main .theme-product-atc[aria-disabled="true"] {
	opacity: 0.6;
	pointer-events: none;
	cursor: not-allowed;
}

.single-product-main .theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.single-product-main .theme-accordion { border-bottom: 1px solid var(--color-border); }
.single-product-main .theme-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.single-product-main .theme-accordion__chevron { transition: transform 0.3s var(--ease-smooth); flex-shrink: 0; }
.single-product-main .theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.single-product-main .theme-accordion__panel { height: 0; overflow: hidden; transition: height 0.3s var(--ease-smooth); }
.single-product-main .theme-accordion.is-open .theme-accordion__panel { height: auto; }
.single-product-main .theme-accordion__content { padding-bottom: 1.5rem; }
.single-product-main .theme-product-description {
	font-size: 15px;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	line-height: 1.625;
	margin-bottom: 1rem;
	white-space: pre-line;
}
.single-product-main .theme-product-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.single-product-main .theme-product-details-list li {
	font-size: 15px;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	display: flex;
	align-items: flex-start;
}
.single-product-main .theme-product-details-list li::before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--color-foreground);
	margin: 0.5rem 0.75rem 0 0;
	flex-shrink: 0;
}
.single-product-main .theme-accordion__content p {
	font-size: 15px;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	line-height: 1.625;
	margin-bottom: 0.75rem;
}

.single-product-main .theme-related-section {
	padding-block: 5rem;
	border-top: 1px solid var(--color-border);
}
.single-product-main .theme-related__header { text-align: center; margin-bottom: 3rem; }
.single-product-main .theme-related__line1 {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	margin: 0 0 0.5rem;
}
.single-product-main .theme-related__line2 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2.25rem;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0;
}
@media (min-width: 768px) {
	.single-product-main .theme-related__line2 { font-size: 3rem; }
}
.single-product-main .theme-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	border: none;
	padding: 0;
}
@media (min-width: 1024px) {
	.single-product-main .theme-related__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}

.single-product-main .theme-product-variation-field { margin-bottom: 1rem; }
.single-product-main .theme-product-variation-label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	margin-bottom: 0.4rem;
}
.single-product-main .theme-product-variation-field select {
	width: 100%;
	padding: 0.65rem 0.75rem;
	background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0.375rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
}
.single-product-main .theme-product-variation-field select:focus {
	outline: none;
	border-color: var(--color-primary);
}

/* Hide leftover WooCommerce chrome on single product */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-tabs,
.single-product .product_meta,
.single-product .woocommerce-product-gallery,
.single-product .reset_variations,
.single-product .variations_form { display: none !important; }

/* ---------------------------------- Shop archive (fallback) ---------------------------------- */
.theme-shop-archive { padding-top: calc(var(--header-height) + 1.5rem); }

/* ---------------------------------- Generic page / 404 ---------------------------------- */
.theme-generic-page, .theme-404-page { padding-top: calc(var(--header-height) + 1.5rem); min-height: 60vh; }
.page-title { font-size: 2.5rem; margin-bottom: 1.5rem; }
.theme-404__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.theme-404__title { font-size: 3rem; }
.theme-404__text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 32rem; }

/* Not-home pages keep header-height offset; home hero fills viewport under fixed header (Section 22.7). */
body.theme-no-hero .theme-header { position: fixed; }

/* ---------------------------------- Animations (Section 2.1) ---------------------------------- */
@keyframes tetFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tetScaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes tetSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .theme-product-card__image, .theme-chef__photo, .theme-gallery__item img { transition: none !important; animation: none !important; }
}

/* ---------------------------------- WooCommerce Checkout Block (Section 13) ---------------------------------- */
.theme-checkout-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
	font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	margin-bottom: 2rem;
	transition: color 0.2s;
}
.theme-checkout-back:hover { color: var(--color-foreground); }
.theme-checkout__title {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3rem);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin-bottom: 2.5rem;
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-generic-page { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select { width: 100% !important; max-width: none !important; font-family: var(--font-body); border-radius: 0.375rem; border-color: var(--color-border); }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--color-surface); border-radius: var(--card-radius); padding: var(--section-padding, 2rem); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button { background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; border-radius: var(--btn-radius) !important; text-transform: none; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* ---------------------------------- WooCommerce Cart / My Account / Thank you width parity (Section 13.7) ---------------------------------- */
body.woocommerce-cart .site-main, body.woocommerce-account .site-main, body.theme-thankyou-page .site-main {
	padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem;
}
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.75rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ---------------------------------- WooCommerce notices (Section 14.1) ---------------------------------- */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { color: var(--color-destructive); border: 1px solid var(--color-destructive); border-radius: 0.375rem; padding: 1rem; list-style: none; }

/* ---------------------------------- Variations table layout (Section 11.5.1) ---------------------------------- */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* ---------------------------------- Misc utility ---------------------------------- */
.hidden { display: none !important; }
