/* ==========================================================================
   Charm Cookie Co. theme stylesheet
   ========================================================================== */

:root {
	--color-background: #f8f6f1;
	--color-foreground: #231e1a;
	--color-primary: #2c2620;
	--color-primary-foreground: #fbf8f4;
	--color-secondary: #f0eae0;
	--color-muted: #f2eee9;
	--color-muted-foreground: #6e655e;
	--color-accent: #b38832;
	--color-accent-foreground: #fcfbf8;
	--color-border: #e3ddd3;
	--color-card: #fcfbf8;
	--color-rosa: #ba6f4f;
	--color-marigold: #e2b03c;
	--color-teal: #654934;
	--color-lilac: #d4c5af;
	--color-nopal: #46352b;
	--color-button-text: #fbf8f4;

	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 0.6875rem; /* 11px — Lovable text-[11px] */
	--btn-font-size-sm: 0.75rem; /* 12px — Lovable text-xs / text-[12px] */
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-letter-spacing-hero: 0.28em;
	--btn-letter-spacing-compact: 0.24em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--shadow-soft: 0 4px 20px -4px rgba(35, 30, 26, 0.1);
	--shadow-elevated: 0 14px 44px -14px rgba(35, 30, 26, 0.22);
	--shadow-glow: 0 0 60px -14px rgba(226, 176, 60, 0.5);

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 88px;
	--logo-height: 72px;
	--checkout-gap: 1.5rem;
	--checkout-max-width: 80rem;
	--section-padding: 2rem;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
#site-main,
.site-header,
.site-footer,
.hero-section,
.container-wide {
	max-width: 100%;
}
#site-main {
	overflow-x: clip;
}
.site-header {
	overflow-x: clip;
}
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin: 0;
}

p { margin: 0; }
p, li {
	text-wrap: pretty;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Pointer cursor on all interactive elements */
a[href],
button:not(:disabled),
input[type="submit"],
input[type="button"],
input[type="reset"],
select,
summary,
label[for],
.theme-nav-link,
.theme-nav-list a,
.theme-cart-btn,
.theme-menu-toggle,
.category-tile,
.theme-product-card,
.theme-product-card__add,
.service-card__cta,
.faq-tab,
.faq-item__question,
.chip,
[data-contact-modal-trigger],
[data-cart-open],
[data-cart-close],
[data-shop-show-more],
[data-contact-close],
.theme-modal__close,
.theme-cart-item__remove,
.site-logo,
.site-footer__logo {
	cursor: pointer;
}
button:disabled,
input:disabled {
	cursor: not-allowed;
}

::selection { background: rgba(179, 136, 50, 0.25); }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px; width: 1px;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.5rem 1rem; border-radius: 0.5rem; clip: auto; width: auto; height: auto;
}

.container-wide {
	width: 100%;
	max-width: 84rem;
	margin: 0 auto;
	padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.scroll-mt { scroll-margin-top: 6rem; }

/* Cover-image exclusion list (Section 15.1) — every full-bleed class the theme uses */
img:not(.cover-img):not(.theme-product-card__image):not(.theme-product-main-img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card__image,
.theme-product-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* icon sizing helpers */
.icon-12 { width: 12px; height: 12px; }
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-28 { width: 28px; height: 28px; }
.icon-48 { width: 48px; height: 48px; }
.icon-accent { color: var(--color-accent); }
.icon-marigold { color: var(--color-marigold); }
.icon-bounce { animation: iconBounce 1.6s ease-in-out infinite; }
@keyframes iconBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.italic-accent { font-style: italic; color: var(--color-accent); }
.text-gradient-gold {
	background: linear-gradient(100deg, var(--color-marigold), var(--color-accent), var(--color-marigold));
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: goldPan 7s linear infinite;
}
@keyframes goldPan { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.link-underline { text-decoration: underline; text-decoration-color: rgba(35,30,26,0.3); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.link-underline:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   Animation / reveal system (Section 2.1)
   ========================================================================== */
.reveal-up, .reveal-fade, .reveal-item {
	opacity: 0;
	will-change: opacity, transform;
}
.reveal-up { transform: translateY(24px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); }
.reveal-fade { transition: opacity 0.7s var(--transition-smooth); }
.reveal-item { transform: translateY(20px) scale(0.98); transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth); }

.reveal-up[data-delay="1"], .reveal-item[data-delay="1"] { transition-delay: 0.1s; }
.reveal-up[data-delay="2"] { transition-delay: 0.2s; }
.reveal-up[data-delay="3"] { transition-delay: 0.3s; }
.reveal-up[data-delay="4"] { transition-delay: 0.4s; }
.reveal-up[data-delay="5"] { transition-delay: 0.5s; }

.reveal-up.is-visible, .reveal-fade.is-visible, .reveal-item.is-visible {
	opacity: 1;
	transform: none;
}

/* Customizer preview + no-JS fallback: never leave content invisible */
body.is-customizer .reveal-up,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-item,
body.no-js .reveal-up,
body.no-js .reveal-fade,
body.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-up, .reveal-fade, .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
	.text-gradient-gold, .icon-bounce { animation: none !important; }
}

.gold-sheen { position: relative; overflow: hidden; }
.gold-sheen::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--color-marigold) 28%, transparent) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--transition-smooth);
	pointer-events: none;
}
.gold-sheen:hover::after { transform: translateX(120%); }

.shimmer-loading {
	background: linear-gradient(90deg, var(--color-muted) 0%, var(--color-secondary) 50%, var(--color-muted) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.scroll-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 2px;
	transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--color-accent), var(--color-marigold));
	z-index: 100; pointer-events: none;
	transform: scaleX(0);
	transition: transform 0.1s linear;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-outline, .btn-outline-primary, .btn-hero-primary, .btn-hero-outline, .btn-ghost {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	font-weight: var(--btn-font-weight);
	text-transform: none;
	border: 1px solid transparent;
	transition: all 0.3s var(--transition-smooth);
	white-space: nowrap;
}
.btn-hero-primary, .btn-hero-outline {
	text-transform: uppercase;
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing-hero);
	font-weight: 600;
}

.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-elevated); }

.btn-outline { background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.btn-outline:hover { border-color: var(--color-foreground); background: var(--color-foreground); color: var(--color-background); }

.btn-outline-primary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline-primary:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.btn-hero-primary { background: var(--color-accent); color: var(--color-accent-foreground); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--color-accent) 40%, transparent); }
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-accent) 90%, black); transform: translateY(-2px) scale(1.02); }

.btn-hero-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.8); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-ghost { background: color-mix(in srgb, var(--color-background) 70%, transparent); color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.btn-ghost:hover { background: var(--color-background); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
	height: 72px;
}
@media (min-width: 768px) { .site-header { height: 92px; } }

.site-header__inner { height: 100%; }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 100%; position: relative; min-width: 0; }
.site-nav__side { display: none; align-items: center; gap: 2.5rem; flex: 1; }
@media (min-width: 1024px) {
	.site-nav__side { display: flex; }
	.site-nav__side--right { justify-content: flex-end; }
}
.site-nav__mobile { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; min-width: 0; gap: 0.75rem; }
@media (min-width: 1024px) { .site-nav__mobile { display: none; } }
.site-nav__mobile-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; margin: 0; padding: 0; }
.theme-nav-list li { list-style: none; }
.theme-nav-link, .theme-nav-list a {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.025em;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	position: relative; padding-bottom: 6px;
	transition: color 0.2s;
}
.theme-nav-link::after, .theme-nav-list a::after {
	content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
	background: var(--color-accent); transform: scaleX(0); transform-origin: right;
	transition: transform 0.3s;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-primary); }
.theme-nav-link:hover::after, .theme-nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-inline: 1rem; }
.site-logo--desktop { display: none; }
.site-logo--mobile {
	margin-inline: 0;
	min-width: 0;
	flex-shrink: 1;
}
.site-nav__mobile .site-logo-img {
	max-width: min(11rem, 100%);
}
@media (min-width: 1024px) { .site-logo--desktop { display: flex; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; object-fit: contain; transition: transform 0.5s; }
.site-logo-text { line-height: var(--logo-height); font-family: var(--font-display); font-size: 1.5rem; display: block; }
.site-logo:hover .site-logo-img { transform: scale(1.05); }
.site-logo--mobile .site-logo-img { height: min(44px, var(--logo-height)) !important; }
.site-nav__mobile .site-logo-text { line-height: min(44px, var(--logo-height)); font-size: 1.15rem; }

/* WordPress admin bar — prevent fixed header overlap when logged in */
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
body.admin-bar.theme-no-hero {
	padding-top: calc(var(--header-height) + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero {
		padding-top: calc(72px + 46px);
	}
}

.theme-cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	background: transparent; color: var(--color-foreground);
	transition: border-color 0.2s, color 0.2s;
}
.theme-cart-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cart-count {
	position: absolute; top: -6px; right: -6px;
	min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 600; border-radius: 999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
}
.theme-cart-count:empty { display: none; }

.theme-menu-toggle { background: none; border: none; padding: 0.5rem; margin-right: 0; color: var(--color-foreground); flex-shrink: 0; }
.icon-menu-close { display: none; }
.theme-menu-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
.theme-menu-toggle[aria-expanded="true"] .icon-menu-close { display: block; }

.theme-mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	padding-block: 1rem;
	max-width: 100%;
	overflow-x: clip;
}
@media (max-width: 1023px) {
	.theme-mobile-menu {
		background: var(--color-card);
		border: 1px solid var(--color-border);
		border-top: none;
		border-radius: 0 0 1.5rem 1.5rem;
		margin-inline: 0.625rem;
		padding-inline: 1.25rem;
		padding-block: 1rem 1.5rem;
		box-shadow: 0 20px 48px -20px rgba(35, 30, 26, 0.2);
	}
	body.mobile-menu-open .site-header {
		background: var(--color-card);
		backdrop-filter: none;
		box-shadow: 0 1px 0 var(--color-border);
	}
	.theme-mobile-menu__inner {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
	.theme-mobile-menu__kicker {
		font-family: var(--font-body);
		font-size: 11px;
		font-weight: 600;
		letter-spacing: 0.32em;
		text-transform: uppercase;
		color: var(--color-accent);
		margin: 0;
		padding-inline: 0.5rem;
	}
	.theme-mobile-menu__panel {
		background: var(--color-background);
		border: 1px solid color-mix(in srgb, var(--color-border) 85%, transparent);
		border-radius: 1.25rem;
		padding: 0.5rem 1rem;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), var(--shadow-soft);
	}
	.theme-menu-toggle[aria-expanded="true"] {
		background: var(--color-secondary);
		border-radius: 999px;
	}
	.theme-mobile-menu a,
	.theme-mobile-menu button.theme-nav-link,
	.theme-mobile-nav-link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.9375rem 0.75rem;
		font-size: 0.9375rem;
		font-weight: 500;
		letter-spacing: 0.01em;
		border-radius: 0.75rem;
		border-bottom: none;
		margin-bottom: 0.125rem;
		transition: color 0.2s, background-color 0.2s;
	}
	.theme-mobile-menu a:hover,
	.theme-mobile-menu button.theme-nav-link:hover,
	.theme-mobile-nav-link:hover {
		color: var(--color-primary);
		background: color-mix(in srgb, var(--color-secondary) 65%, transparent);
	}
	.theme-mobile-menu a:active,
	.theme-mobile-menu button.theme-nav-link:active,
	.theme-mobile-nav-link:active {
		background: var(--color-secondary);
	}
	.theme-mobile-menu a::after,
	.theme-mobile-nav-link::after {
		display: block;
		position: static;
		content: '';
		flex-shrink: 0;
		width: 0.45rem;
		height: 0.45rem;
		border: none;
		background: none;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(-45deg);
		opacity: 0.35;
		transition: opacity 0.2s, transform 0.2s;
	}
	.theme-mobile-menu button.theme-nav-link::after {
		display: none;
	}
	.theme-mobile-menu a:hover::after,
	.theme-mobile-nav-link:hover::after {
		opacity: 0.65;
		transform: rotate(-45deg) translate(1px, -1px);
	}
	.theme-mobile-menu.is-open .theme-mobile-nav-list li {
		animation: mobileNavItemIn 0.45s var(--transition-smooth) backwards;
	}
	.theme-mobile-menu.is-open .theme-mobile-nav-list li:nth-child(1) { animation-delay: 0.03s; }
	.theme-mobile-menu.is-open .theme-mobile-nav-list li:nth-child(2) { animation-delay: 0.06s; }
	.theme-mobile-menu.is-open .theme-mobile-nav-list li:nth-child(3) { animation-delay: 0.09s; }
	.theme-mobile-menu.is-open .theme-mobile-nav-list li:nth-child(4) { animation-delay: 0.12s; }
	.theme-mobile-menu.is-open .theme-mobile-nav-list li:nth-child(5) { animation-delay: 0.15s; }
	.theme-mobile-menu.is-open .theme-mobile-nav-list li:nth-child(6) { animation-delay: 0.18s; }
}
.theme-mobile-menu.is-open {
	display: block;
	animation: mobileMenuSlideIn 0.35s var(--transition-smooth);
}
@keyframes mobileMenuSlideIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes mobileNavItemIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}
.theme-mobile-nav-items {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}
.theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list,
.theme-mobile-menu .theme-nav-fallback {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-mobile-nav-list li,
.theme-mobile-menu .theme-nav-list li {
	list-style: none;
	width: 100%;
	min-width: 0;
}
.theme-mobile-nav-link,
.theme-mobile-menu a,
.theme-mobile-menu button.theme-nav-link {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0.75rem 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	color: var(--color-foreground);
	background: none;
	border: none;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	transition: color 0.2s;
	overflow-wrap: anywhere;
}
.theme-mobile-menu a:hover,
.theme-mobile-menu button.theme-nav-link:hover,
.theme-mobile-nav-link:hover {
	color: var(--color-primary);
}
@media (min-width: 1024px) {
	.theme-mobile-menu a::after,
	.theme-mobile-menu button.theme-nav-link::after,
	.theme-mobile-nav-link::after {
		display: none;
	}
}
.theme-mobile-nav-items > :last-child .theme-mobile-nav-list > li:last-child > a,
.theme-mobile-nav-items > :last-child.theme-mobile-nav-list > li:last-child > a,
.theme-mobile-nav-items > :last-child .theme-nav-fallback > a:last-child {
	border-bottom: none;
}

body.mobile-menu-open {
	overflow-x: clip;
}
body.theme-no-hero { padding-top: var(--header-height); }
@media (max-width: 767px) { body.theme-no-hero { padding-top: 72px; } }

/* ==========================================================================
   Section heading system (Section 2.2.5 — per-section scales, no global clamp)
   ========================================================================== */
.section-head { text-align: center; margin-bottom: 3rem; }
.services-section .section-head {
	max-width: 48rem;
	margin-inline: auto;
	margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .services-section .section-head { margin-bottom: 5rem; } }
.services-section .section-kicker { margin-bottom: 1rem; }
.services-section__heading {
	margin-bottom: 1.25rem;
	color: var(--color-foreground);
	text-wrap: balance;
}
.services-section .section-subtitle {
	margin-top: 0;
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.625;
}
@media (min-width: 768px) { .services-section .section-subtitle { font-size: 1.25rem; } }
.section-kicker {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--color-accent); font-weight: 600; margin-bottom: 0.75rem;
}
.section-subtitle {
	margin-top: 1.25rem;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.625;
	max-width: 42rem;
	margin-inline: auto;
}
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }

.section-heading { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
.categories-section__heading { font-size: 1.875rem; }
.faq-section__heading { font-size: 1.875rem; line-height: 1.05; }
.featured-section__heading { font-size: 1.875rem; line-height: 1.25; }
.services-section__heading { font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) {
	.categories-section__heading, .featured-section__heading, .services-section__heading, .faq-section__heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.categories-section__heading, .featured-section__heading, .services-section__heading, .faq-section__heading { font-size: 3.75rem; }
}

.about-section__heading, .baker-section__heading { font-size: 1.875rem; line-height: 1.03; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-section__heading, .baker-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading, .baker-section__heading { font-size: 3.75rem; } }

.shop-heading { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.05; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section { position: relative; }
.hero-section__media {
	position: relative;
	width: 100%;
	min-height: 100svh;
	overflow: hidden;
	background: var(--color-foreground);
}
@media (min-width: 768px) { .hero-section__media { min-height: 100dvh; } }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(35,30,26,0.45), rgba(35,30,26,0.25) 50%, rgba(35,30,26,0.6)); }
.hero-section__content {
	position: relative;
	z-index: 1;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 72px;
	padding-bottom: 2rem;
	color: #fff;
}
@media (min-width: 768px) {
	.hero-section__content {
		min-height: 100dvh;
		padding-top: 92px;
	}
}
.hero-section__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 64rem;
	padding-inline: 0.5rem;
}
.hero-section__badge {
	display: inline-flex; align-items: center; gap: 0.625rem;
	font-family: var(--font-body);
	border-radius: 999px; border: 1px solid rgba(255,255,255,0.3);
	background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
	padding: 0.5rem 1.25rem; font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 600;
	margin-bottom: 2rem;
	max-width: calc(100% - 0.5rem);
	text-align: center;
	overflow-wrap: anywhere;
}
@media (min-width: 768px) { .hero-section__badge { font-size: 12px; } }
.hero-section__title {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.025em;
	font-size: clamp(2.75rem, 8vw, 6.5rem);
	color: #fff;
	text-align: center;
	text-wrap: balance;
	width: 100%;
}
.hero-section__title .text-gradient-gold { font-style: italic; }
.hero-section__subtitle {
	margin-top: 1.75rem;
	max-width: 36rem;
	width: 100%;
	margin-inline: auto;
	color: rgba(255,255,255,0.85);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.625;
	text-align: center;
	text-wrap: pretty;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.25rem; } }
.hero-section__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 100%;
}
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }
.hero-section__features {
	margin-top: 3rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1.75rem;
	font-family: var(--font-body);
	font-size: 12px;
	color: rgba(255,255,255,0.75);
	width: 100%;
}
.hero-section__features span { display: inline-flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .hero-section__features { font-size: 14px; } }

/* ==========================================================================
   Category tiles
   ========================================================================== */
.categories-section { padding-block: 4rem; }
@media (min-width: 768px) { .categories-section { padding-block: 5rem; } }
.categories-section__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.5rem; max-width: 64rem; margin: 3rem auto 0; min-width: 0; }
@media (min-width: 768px) { .categories-section__grid { gap: 2rem 3rem; } }
.category-tile { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; max-width: 100%; }
.category-tile__icon {
	width: 7rem; height: 7rem; border-radius: 999px; display: flex; align-items: center; justify-content: center;
	margin-bottom: 1.25rem; transition: transform 0.5s, box-shadow 0.5s;
	background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
@media (min-width: 768px) { .category-tile__icon { width: 10rem; height: 10rem; } }
.category-tile:hover .category-tile__icon { transform: scale(1.1); box-shadow: var(--shadow-glow), 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent); }
.tile-tint-1 .category-tile__icon { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent); }
.tile-tint-2 .category-tile__icon { background: color-mix(in srgb, var(--color-teal) 10%, transparent); color: var(--color-teal); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-teal) 30%, transparent); }
.category-tile__label { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.4rem; color: var(--color-primary); }
.tile-tint-1 .category-tile__label { color: var(--color-accent); }
.tile-tint-2 .category-tile__label { color: var(--color-teal); }
.category-tile__title { font-size: 1.125rem; font-family: var(--font-display); font-weight: 400; }
@media (min-width: 768px) { .category-tile__title { font-size: 1.5rem; } }

/* ==========================================================================
   Featured products
   ========================================================================== */
.featured-section { padding-block: 4rem; }
@media (min-width: 768px) { .featured-section { padding-block: 6rem; } }
.featured-section__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.5rem; max-width: 64rem; margin: 0 auto; min-width: 0; }
@media (min-width: 768px) { .featured-section__grid { gap: 2rem 3rem; } }
.featured-section__grid .theme-product-card-wrap { width: 100%; max-width: 24rem; min-width: 0; }
.featured-section__cta .btn-outline-primary {
	font-size: var(--btn-font-size-sm);
	letter-spacing: var(--btn-letter-spacing);
}
.featured-section__cta { text-align: center; margin-top: 3.5rem; }
.about-section .btn-primary,
.baker-section .btn-primary,
.baker-section .btn-outline {
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing-compact);
}

/* ==========================================================================
   Product cards (shared: shop, featured, related — Section 31.13)
   ========================================================================== */
.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; width: 100%; }
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1; border-radius: var(--card-radius); overflow: hidden;
	background: var(--color-card); margin-bottom: 1.25rem;
}
.theme-product-card__image-link {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card__image { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image.is-out-of-stock { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 1rem; right: 1rem; z-index: 2;
	background: var(--color-foreground); color: var(--color-background);
	font-size: 11px; font-weight: 500; letter-spacing: 0.02em; padding: 0.25rem 0.75rem; border-radius: 0.375rem;
}
.theme-product-card__add {
	position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 4;
	opacity: 0; transform: translateY(0.5rem);
	pointer-events: none;
	transition: opacity 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
}
.theme-product-card:hover .theme-product-card__add,
.theme-product-card:focus-within .theme-product-card__add {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
@media (max-width: 767px) {
	.theme-product-card__add {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
}
.theme-product-card__info { padding-inline: 0.25rem; }
.theme-product-card__category { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); margin-bottom: 0.375rem; }
.theme-product-card__title-link { display: block; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.375; margin-bottom: 0.375rem; transition: color 0.3s; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-family: var(--font-body); font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }

/* card add-to-cart button visual variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__add,
.theme-product-card .theme-product-card__add--pdp {
	background-color: var(--color-teal) !important;
	color: var(--color-background) !important;
	border: 1px solid var(--color-teal) !important;
	border-radius: 999px !important;
	padding: 0.75rem 1rem !important;
	min-height: unset !important;
	font-size: var(--btn-font-size) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
	text-align: center;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__add:hover,
.theme-product-card .theme-product-card__add--pdp:hover {
	background-color: var(--color-background) !important;
	color: var(--color-teal) !important;
}

/* ==========================================================================
   About section
   ========================================================================== */
.about-section { padding-block: 5rem; }
@media (min-width: 768px) { .about-section { padding-block: 7rem; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section__image { position: relative; border-radius: 1rem; overflow: hidden; min-height: 20rem; }
.about-section__copy { display: flex; flex-direction: column; justify-content: center; }
.about-section__copy > p { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.625; margin-bottom: 1.25rem; font-size: 1rem; }
@media (min-width: 768px) { .about-section__copy > p { font-size: 1.125rem; } }
.about-section__chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.chip {
	font-family: var(--font-body);
	display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.375rem 1rem;
	font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
	border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
	color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 5%, transparent);
	transition: background-color 0.3s, transform 0.3s;
}
.chip:hover { background: color-mix(in srgb, var(--color-accent) 15%, transparent); transform: translateY(-2px); }
.about-section__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; max-width: 28rem; }
.about-section__stats .stat { text-align: center; }
@media (min-width: 640px) { .about-section__stats .stat { text-align: left; } }
.stat__value {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1;
	color: var(--color-foreground);
	margin: 0;
}
@media (min-width: 768px) { .stat__value { font-size: 2.25rem; } }
.stat__label {
	font-family: var(--font-body);
	font-weight: 400;
	margin: 0.5rem 0 0;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}

/* ==========================================================================
   Baker section
   ========================================================================== */
.baker-section { background: var(--color-secondary); padding-block: 5rem; }
@media (min-width: 768px) { .baker-section { padding-block: 7rem; } }
.baker-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .baker-section__grid { grid-template-columns: 0.85fr 1fr; gap: 5rem; } }
.baker-section__image-wrap { position: relative; order: 1; max-width: 100%; padding-bottom: 2rem; min-width: 0; }
@media (min-width: 1024px) { .baker-section__image-wrap { order: 2; padding-bottom: 0; } }
.baker-section__image { position: relative; border-radius: 2rem; aspect-ratio: 4/5; box-shadow: var(--shadow-elevated); overflow: hidden; }
.baker-section__badge {
	position: absolute; bottom: -1.5rem; left: 1rem; right: 1rem;
	display: flex; align-items: center; gap: 0.75rem;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 1rem;
	box-shadow: var(--shadow-elevated); padding: 1rem 1.5rem;
	max-width: calc(100% - 2rem);
}
@media (min-width: 640px) {
	.baker-section__badge { left: 1.5rem; right: auto; max-width: calc(100% - 3rem); }
}
.baker-section__badge-icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.baker-section__badge-name { display: block; font-family: var(--font-display); font-size: 1.125rem; }
.baker-section__badge-role { display: block; margin-top: 0.25rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.baker-section__copy { order: 2; }
@media (min-width: 1024px) { .baker-section__copy { order: 1; } }
.baker-section__copy > p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); font-size: 1rem; line-height: 1.625; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .baker-section__copy > p { font-size: 1.125rem; } }
.baker-section__quote {
	margin: 0 0 2.25rem;
	padding-left: 1.25rem;
	border-left: 2px solid var(--color-accent);
	font-family: var(--font-display);
	font-weight: 400;
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.375;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
@media (min-width: 768px) { .baker-section__quote { font-size: 1.5rem; } }
.baker-section__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .baker-section__actions { flex-direction: row; } }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { background: var(--color-secondary); padding-block: 5rem; }
@media (min-width: 768px) { .services-section { padding-block: 7rem; } }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .services-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.service-card {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 1rem;
	padding: 2rem; transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth), border-color 0.3s;
}
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.service-card__icon {
	margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;
	width: 4rem; height: 4rem; border-radius: 1rem;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary);
	transition: transform 0.5s, background-color 0.3s, color 0.3s;
}
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(3deg); background: var(--color-primary); color: var(--color-primary-foreground); }
.service-card--tint-1 .service-card__icon { background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.service-card--tint-1:hover { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); }
.service-card--tint-1:hover .service-card__icon { background: var(--color-accent); color: var(--color-accent-foreground); }
.service-card--tint-2 .service-card__icon { background: color-mix(in srgb, var(--color-teal) 15%, transparent); color: var(--color-teal); }
.service-card--tint-2:hover { border-color: color-mix(in srgb, var(--color-teal) 50%, transparent); }
.service-card--tint-2:hover .service-card__icon { background: var(--color-teal); color: #fff; }
.service-card--tint-3 .service-card__icon { background: color-mix(in srgb, var(--color-nopal) 15%, transparent); color: var(--color-nopal); }
.service-card--tint-3:hover .service-card__icon { background: var(--color-nopal); color: #fff; }
.service-card--tint-4 .service-card__icon { background: color-mix(in srgb, var(--color-marigold) 15%, transparent); color: var(--color-marigold); }
.service-card--tint-4:hover .service-card__icon { background: var(--color-marigold); color: var(--color-foreground); }
.service-card--tint-5 .service-card__icon { background: color-mix(in srgb, var(--color-rosa) 15%, transparent); color: var(--color-rosa); }
.service-card--tint-5:hover .service-card__icon { background: var(--color-rosa); color: #fff; }
.service-card__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; color: var(--color-primary); }
.service-card--tint-1 .service-card__kicker { color: var(--color-accent); }
.service-card--tint-2 .service-card__kicker { color: var(--color-teal); }
.service-card--tint-3 .service-card__kicker { color: var(--color-nopal); }
.service-card--tint-4 .service-card__kicker { color: var(--color-marigold); }
.service-card--tint-5 .service-card__kicker { color: var(--color-rosa); }
.service-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.5rem; } }
.service-card__description { font-family: var(--font-body); font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; max-width: 16rem; margin-bottom: 2rem; flex-grow: 1; }
.service-card__cta {
	display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	color: var(--color-primary); background: none; border: none; padding: 0; margin-top: auto; transition: opacity 0.2s;
}
.service-card--tint-1 .service-card__cta { color: var(--color-accent); }
.service-card--tint-2 .service-card__cta { color: var(--color-teal); }
.service-card--tint-3 .service-card__cta { color: var(--color-nopal); }
.service-card--tint-4 .service-card__cta { color: var(--color-marigold); }
.service-card--tint-5 .service-card__cta { color: var(--color-rosa); }
.service-card__cta:hover { opacity: 0.8; }

/* ==========================================================================
   Shop section
   ========================================================================== */
.shop-section { padding-block: 4rem; }
@media (min-width: 768px) { .shop-section { padding-block: 6rem; } }
.shop-section__head { text-align: center; margin-bottom: 1.5rem; }
.shop-section__search { position: relative; max-width: 28rem; width: 100%; margin: 0 auto 2rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.5rem; min-width: 0; }
.shop-section__search input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; font-size: 1rem; color: var(--color-foreground); }
.shop-section__search:focus-within { border-color: var(--color-foreground); }
.shop-section__pills-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.375rem;
	margin-bottom: 1rem;
	max-width: 100%;
	min-width: 0;
}
@media (min-width: 640px) {
	.shop-section__pills-wrap { justify-content: center; }
}
.shop-pills-nav {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	transition: border-color 0.2s, color 0.2s, opacity 0.2s, background-color 0.2s;
}
.shop-pills-nav:hover:not(:disabled) {
	border-color: var(--color-primary);
	color: var(--color-primary);
	background: var(--color-background);
}
.shop-pills-nav:disabled {
	opacity: 0.35;
	cursor: default;
}
@media (min-width: 640px) {
	.shop-pills-nav { display: none; }
}
.shop-section__pills-wrap.is-scrollable .shop-section__pills {
	mask-image: linear-gradient(to right, transparent 0, #000 0.5rem, #000 calc(100% - 0.5rem), transparent 100%);
}
.shop-section__pills { display: flex; gap: 0.5rem; overflow-x: auto; margin-bottom: 0; justify-content: flex-start; flex-wrap: nowrap; scrollbar-width: none; max-width: 100%; min-width: 0; flex: 1; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
@media (min-width: 640px) { .shop-section__pills { justify-content: center; flex-wrap: wrap; overflow-x: visible; } }
.shop-section__pills::-webkit-scrollbar { display: none; }
.shop-pill {
	flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
	transition: all 0.3s;
}
.shop-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop-section__price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.shop-price-toggle { display: flex; align-items: center; gap: 0.5rem; background: none; border: none; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s; }
.shop-price-toggle:hover { color: var(--color-foreground); }
.shop-price-toggle .icon-14 { transition: transform 0.3s; }
.shop-price-toggle[aria-expanded="true"] .icon-14 { transform: rotate(180deg); }
.shop-price-panel { width: 100%; max-width: 24rem; padding-block: 0.5rem; }
.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); }
.shop-section__note { text-align: center; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.shop-section__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; min-width: 0; }
@media (min-width: 768px) { .shop-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.shop-section__grid .theme-product-card-wrap[data-hidden="true"] { display: none; }
.shop-section__show-more { text-align: center; margin-top: 3rem; }
.shop-section__empty { text-align: center; padding-block: 5rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { padding-block: 5rem; }
@media (min-width: 768px) { .faq-section { padding-block: 7rem; } }
.faq-section__tabs { display: none; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; justify-content: center; }
@media (min-width: 768px) { .faq-section__tabs { display: flex; } }
.faq-tab { border-radius: 999px; padding: 0.625rem 1.25rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); transition: all 0.2s; }
.faq-tab--nopal { border-color: var(--color-nopal); }
.faq-tab--marigold { border-color: var(--color-marigold); }
.faq-tab--teal { border-color: var(--color-teal); }
.faq-tab--lilac { border-color: var(--color-lilac); }
.faq-tab--rosa { border-color: var(--color-rosa); }
.faq-tab.is-active.faq-tab--nopal { background: var(--color-nopal); color: #fff; }
.faq-tab.is-active.faq-tab--marigold { background: var(--color-marigold); color: var(--color-foreground); }
.faq-tab.is-active.faq-tab--teal { background: var(--color-teal); color: #fff; }
.faq-tab.is-active.faq-tab--lilac { background: var(--color-lilac); color: var(--color-foreground); }
.faq-tab.is-active.faq-tab--rosa { background: var(--color-rosa); color: #fff; }
.faq-section__panels { display: none; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
@media (min-width: 768px) { .faq-section__panels { display: block; } }
.faq-panel {
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.faq-panel.faq-panel--enter {
	opacity: 0;
	transform: translateY(6px);
}
.faq-panel.faq-panel--exit {
	opacity: 0;
	transform: translateY(-6px);
}
.faq-section__mobile { display: block; }
@media (min-width: 768px) { .faq-section__mobile { display: none; } }
.faq-mobile-group { margin-bottom: 2.5rem; text-align: center; }
.faq-mobile-group__title { display: inline-block; border-radius: 999px; padding: 0.625rem 1.25rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; border: 1px solid; }
.faq-mobile-group .faq-item { border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; background: none; border: none; text-align: center; }
.faq-item__question span:first-child { flex: 1; font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.375; text-align: center; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.faq-item__icon svg { transition: transform 0.3s ease; }
.faq-item__question[aria-expanded="true"] .faq-item__icon svg { transform: rotate(180deg); }
.faq-panel--teal .faq-item__icon, .faq-mobile-group.faq-panel--teal .faq-item__icon { border-color: var(--color-teal); color: var(--color-teal); }
.faq-panel--rosa .faq-item__icon, .faq-mobile-group.faq-panel--rosa .faq-item__icon { border-color: var(--color-rosa); color: var(--color-rosa); }
.faq-panel--lilac .faq-item__icon, .faq-mobile-group.faq-panel--lilac .faq-item__icon { border-color: var(--color-lilac); color: var(--color-lilac); }
.faq-panel--nopal .faq-item__icon, .faq-mobile-group.faq-panel--nopal .faq-item__icon { border-color: var(--color-nopal); color: var(--color-nopal); }
.faq-panel--marigold .faq-item__icon, .faq-mobile-group.faq-panel--marigold .faq-item__icon { border-color: var(--color-marigold); color: var(--color-marigold); }
.faq-panel--teal .faq-item__question[aria-expanded="true"] .faq-item__icon, .faq-mobile-group.faq-panel--teal .faq-item__question[aria-expanded="true"] .faq-item__icon { background: var(--color-teal); border-color: var(--color-teal); color: #fff; }
.faq-panel--rosa .faq-item__question[aria-expanded="true"] .faq-item__icon, .faq-mobile-group.faq-panel--rosa .faq-item__question[aria-expanded="true"] .faq-item__icon { background: var(--color-rosa); border-color: var(--color-rosa); color: #fff; }
.faq-panel--lilac .faq-item__question[aria-expanded="true"] .faq-item__icon, .faq-mobile-group.faq-panel--lilac .faq-item__question[aria-expanded="true"] .faq-item__icon { background: var(--color-lilac); border-color: var(--color-lilac); color: var(--color-foreground); }
.faq-panel--nopal .faq-item__question[aria-expanded="true"] .faq-item__icon, .faq-mobile-group.faq-panel--nopal .faq-item__question[aria-expanded="true"] .faq-item__icon { background: var(--color-nopal); border-color: var(--color-nopal); color: #fff; }
.faq-panel--marigold .faq-item__question[aria-expanded="true"] .faq-item__icon, .faq-mobile-group.faq-panel--marigold .faq-item__question[aria-expanded="true"] .faq-item__icon { background: var(--color-marigold); border-color: var(--color-marigold); color: var(--color-foreground); }
.faq-item__answer { overflow: hidden; transition: height 0.28s cubic-bezier(0.22,1,0.36,1), opacity 0.28s cubic-bezier(0.22,1,0.36,1); }
.faq-item__answer p { font-family: var(--font-body); font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.625; padding-bottom: 1.5rem; max-width: 48rem; margin-inline: auto; text-align: center; }
@media (min-width: 768px) { .faq-item__answer p { font-size: 17px; } }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; min-height: 85vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem; max-width: 100%; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(35,30,26,0.55), rgba(35,30,26,0.35) 50%, rgba(35,30,26,0.65)); z-index: 1; }
.cta-band__panel {
	position: relative; z-index: 2; width: 100%; max-width: min(56rem, calc(100% - 2rem)); border-radius: 2rem; overflow: hidden;
	box-shadow: var(--shadow-elevated); backdrop-filter: blur(10px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-background) 96%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 90%, transparent) 55%, color-mix(in srgb, var(--color-accent) 30%, transparent) 100%);
}
.cta-band__inner { padding: 3.5rem 2rem; text-align: center; }
@media (min-width: 768px) { .cta-band__inner { padding: 5rem 4rem; } }
.cta-band__eyebrow { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-primary) 80%, transparent); font-size: 1.125rem; margin-bottom: 1rem; }
.cta-band__title { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.cta-band__subtitle { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 85%, transparent); max-width: 36rem; margin: 0 auto 2.5rem; line-height: 1.625; }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; } }
.cta-band__notes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.cta-band__notes span:not(.dot) { display: inline-flex; align-items: center; gap: 0.375rem; }
.dot { opacity: 0.3; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.site-footer__inner { padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.site-footer__top { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__logo .site-logo-img { height: 6rem !important; }
@media (min-width: 768px) { .site-footer__logo .site-logo-img { height: 8rem !important; } }
.site-footer__contact { max-width: 32rem; }
@media (min-width: 640px) { .site-footer__contact { text-align: right; } }
.site-footer__tagline { font-family: var(--font-body); font-size: 0.875rem; font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.625; }
@media (min-width: 768px) { .site-footer__tagline { font-size: 1rem; } }
.site-footer__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s; }
.site-footer__contact-link:hover { color: var(--color-accent); }
.site-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.site-footer__col h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.site-footer__col li { margin-bottom: 0.75rem; }
.site-footer__col a { font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s, transform 0.3s; display: inline-block; }
.site-footer__col a:hover { color: var(--color-accent); }
@media (hover: hover) and (pointer: fine) {
	.site-footer__col a:hover { transform: translateX(4px); }
}
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__quote { font-family: var(--font-display); font-size: 13px; font-style: italic; letter-spacing: 0.025em; color: var(--color-accent); }
.site-footer__copyright { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.025em; color: var(--color-muted-foreground); }
.site-footer__copyright a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__copyright a:hover { color: var(--color-accent); }
.site-footer__divider { margin-inline: 0.5rem; opacity: 0.3; }

/* ==========================================================================
   Contact modal
   ========================================================================== */
#theme-contact-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
#theme-contact-modal {
	position: fixed; left: 50%; top: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	background: var(--color-background); border-radius: 0.75rem; box-shadow: var(--shadow-elevated);
	transition: opacity 0.2s, transform 0.2s;
}
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }
body.contact-open #theme-contact-modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.theme-modal__panel { padding: 1.5rem; position: relative; }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; opacity: 0.7; transition: opacity 0.2s; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 0.4rem; }
.theme-modal__subtitle { font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal__meta { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal__meta a:hover { color: var(--color-foreground); }
.theme-form-row--split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field select, .theme-form-field textarea {
	width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--color-border); border-radius: 0.375rem;
	background: var(--color-background); color: var(--color-foreground); transition: box-shadow 0.3s;
}
.theme-form-field textarea { resize: none; }
.theme-form-field input:focus, .theme-form-field select:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-error { color: #c52020; font-size: 14px; margin-top: 0.5rem; text-align: right; }
.theme-modal__success { text-align: center; padding-block: 2rem; }
.theme-modal__success-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1rem; }
.theme-modal__success h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   Cart drawer + overlay
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(35,30,26,0.2); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
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: 26rem; z-index: 96;
	background: var(--color-background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-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-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { background: none; border: none; padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s; }
.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: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: 0.5rem; background: var(--color-secondary); display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__title { display: block; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__title:hover { opacity: 0.7; }
.theme-cart-item__price { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__meta {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: var(--color-muted-foreground);
}
.theme-cart-item__meta-row { margin-bottom: 0.25rem; }
.theme-cart-item__meta-row:last-child { margin-bottom: 0; }
.theme-cart-item__meta-label { font-weight: 500; }
.theme-color-swatch {
	display: inline-block;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	vertical-align: middle;
}
.theme-color-swatch--sm { width: 0.625rem; height: 0.625rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; background: none; border: none; transition: background-color 0.2s; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); background: none; border: none; transition: color 0.2s; }
.theme-cart-item__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__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 14px; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2) */
.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; }

/* ==========================================================================
   WooCommerce notices — scoped visibility (Section 14.1)
   ========================================================================== */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: 0.5rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
	background: var(--color-secondary); border-left: 3px solid var(--color-accent); list-style: none;
}
.woocommerce-error { border-left-color: #c52020; }

/* ==========================================================================
   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;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single-product .single_add_to_cart_button.button,
.single-product a.single_add_to_cart_button {
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !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;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important;
}

/* ==========================================================================
   Single product page
   ========================================================================== */
.single-product .site-main { padding-block: 1.5rem 6rem; }
@media (min-width: 1024px) { .single-product .site-main { padding-top: 2rem; } }
.breadcrumb { padding-block: 0.75rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-foreground); }
.breadcrumb__sep { margin-inline: 0.5rem; opacity: 0.5; }
.breadcrumb__current { color: var(--color-foreground); }
.single-product__notices-off { display: none; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 1rem 6rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: 7fr 5fr;
		gap: 4rem;
	}
}
.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info {
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}
.theme-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}
.theme-product-gallery__main .theme-product-main-img,
.theme-product-gallery__main #product-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.7s ease-out, opacity 0.3s ease-out;
}
.theme-product-gallery__main:hover .theme-product-main-img,
.theme-product-gallery__main:hover #product-main-img {
	transform: scale(1.03);
}
.theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails { gap: 0.75rem; } }
.theme-product-thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); border: 1px solid transparent; padding: 0; transition: border-color 0.2s; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active { border-color: var(--color-foreground); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }

.theme-product-info__category { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-block: 0.75rem 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-family: var(--font-body); font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price ins { text-decoration: none; }
.theme-product-info__teaser { font-family: var(--font-body); font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; }
.theme-product-info__stock.is-out { display: inline-block; margin-bottom: 1.5rem; padding: 0.375rem 0.9rem; border-radius: 0.375rem; background: var(--color-foreground); color: var(--color-background); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.theme-attribute-block { margin-bottom: 1.5rem; }
.theme-attribute-block__label { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pill {
	padding: 0.5rem 1rem; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-foreground);
	transition: all 0.2s;
}
.theme-attribute-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attribute-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-attribute-pill__price {
	margin-left: 0.5rem;
	opacity: 0.7;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 400;
}

.theme-attribute-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-color-swatch-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-foreground);
	transition: border-color 0.2s, background-color 0.2s;
	cursor: pointer;
}
.theme-color-swatch-btn:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-color-swatch-btn.is-selected {
	border-color: var(--color-foreground);
	background: color-mix(in srgb, var(--color-foreground) 5%, transparent);
}
.theme-color-swatch-btn .theme-color-swatch { width: 0.75rem; height: 0.75rem; }
.theme-color-swatch-btn__label { letter-spacing: 0.15em; }

.theme-attr-select-hidden { display: none !important; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations { display: none; } /* hidden — the custom pill UI drives the underlying select */
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.9rem; background: none; border: none; transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; padding: 0.6rem 0; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; background: none; border: none; text-align: left; }
.theme-accordion__trigger span { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger svg { transition: transform 0.2s; }
.theme-accordion__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-accordion__panel { padding-bottom: 1.5rem; }
.theme-accordion__panel p { font-family: var(--font-body); font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-details-list li { display: flex; align-items: flex-start; font-family: var(--font-body); color: var(--color-muted-foreground); font-size: 15px; line-height: 1.625; }
.theme-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 .posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding-top: 5rem; border-top: 1px solid var(--color-border); }
.related-products-section__head { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-section__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }
.related-products-section__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }

/* ==========================================================================
   404 page
   ========================================================================== */
.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.theme-404__inner { text-align: center; }
.theme-404__title { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404__text { font-family: var(--font-body); font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-accent); text-decoration: underline; }

/* ==========================================================================
   Generic page template (for auto page-{slug}.php fallback + WC pages)
   ========================================================================== */
.theme-page-container { padding-block: 6rem 4rem; }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }

/* ==========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

body.woocommerce-checkout .container-wide.theme-page-container,
.entry-content .wp-block-woocommerce-checkout {
	max-width: 100%;
	width: 100%;
}

body.woocommerce-checkout .entry-content,
.entry-content .wc-block-checkout {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wp-block-woocommerce-checkout {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wp-block-woocommerce-checkout-fields-block,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Do not grid generic checkout wrappers — only the sidebar layout root (2 direct children). */
body.woocommerce-checkout .wc-block-checkout:not(.wc-block-components-sidebar-layout),
.entry-content .wc-block-checkout:not(.wc-block-components-sidebar-layout),
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wp-block-woocommerce-checkout {
	display: block;
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout.wc-block-checkout,
	.entry-content .wc-block-components-sidebar-layout.wc-block-checkout {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		gap: var(--checkout-gap) !important;
		width: 100%;
		max-width: var(--checkout-max-width);
		margin-inline: auto;
		box-sizing: border-box;
	}

	/* Main column: checkout form fields */
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wp-block-woocommerce-checkout-fields-block,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__main,
	.entry-content .wc-block-components-sidebar-layout > .wp-block-woocommerce-checkout-fields-block,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-main,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-checkout__main {
		flex: 1 1 0 !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		padding: 0 !important;
		order: 2;
	}

	/* Sidebar column: order summary */
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wp-block-woocommerce-checkout-totals-block,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar-layout > .wp-block-woocommerce-checkout-totals-block,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
		flex: 0 0 min(400px, 36%) !important;
		width: auto !important;
		max-width: 400px !important;
		min-width: 360px !important;
		padding: 0 !important;
		order: 3;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
	body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
	.entry-content .wp-block-woocommerce-checkout > .wc-block-components-notices {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		order: 1;
	}
}

@media (max-width: 767px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout {
		flex-direction: column !important;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wp-block-woocommerce-checkout-totals-block,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar-layout > .wp-block-woocommerce-checkout-totals-block,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
		flex: 1 1 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: none;
	border-radius: 0;
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	box-sizing: border-box;
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: 0.5rem;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select,
.entry-content .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	font-family: var(--font-body);
	background: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}

/* Checkout page header */
.checkout-header { margin-bottom: 2.5rem; }
.checkout-header__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	margin-bottom: 2rem;
	transition: color 0.2s;
}
.checkout-header__back:hover { color: var(--color-foreground); }
.checkout-header__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .checkout-header__title { font-size: 2.25rem; } }
.checkout-header__intro {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	margin-bottom: 2.5rem;
	max-width: 42rem;
}

/* ==========================================================================
   Cart / My Account width parity (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content { width: 100%; max-width: none; }

/* ==========================================================================
   Thank-you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 56rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { border-right: 1px solid var(--color-border); padding-right: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin-bottom: 2rem; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); }
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; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 1rem; }