/* ==========================================================================
   Maverick's Distributing — theme.css
   Built by The Free Website Guys.
   Color tokens are injected as CSS variables via wp_add_inline_style
   (see functions.php). Font stacks mirror the original design exactly.
   ========================================================================== */

:root {
	--font-display: 'Rajdhani', system-ui, sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, monospace;

	--radius: 0.25rem;
	--shadow-soft: 0 4px 20px -4px rgb(3 35 89 / 0.08);
	--shadow-elevated: 0 12px 40px -12px rgb(3 35 89 / 0.18);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--header-height: 96px;
	--admin-bar-height: 0px;

	--btn-radius: 0;
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 11px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.65rem;
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                           */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
main { overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.625;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; }
p { margin: 0; }

/* Heading weight reset (Section 2.2) then explicit weight below */
h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: 0.005em;
}
h1, h2, h3, h4, h5, h6 { font-weight: 600; }

/* Cover / full-bleed image exclusion list (Section 15) */
img:not(.cover-img):not(.hero-bg-img):not(.site-logo-img):not(.footer-logo-img):not(.gallery-interlude-img):not(.theme-product-card__img):not(.theme-product-gallery-main-img):not(.theme-product-gallery-img):not(.theme-product-thumb-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .theme-product-card__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

/* Section vertical padding — mirrors Tailwind py-* on container-wide */
.section-py-20-28 { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-py-20-28 { padding-top: 7rem; padding-bottom: 7rem; } }
.section-py-24-32 { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section-py-24-32 { padding-top: 8rem; padding-bottom: 8rem; } }
.section-py-20-24 { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-py-20-24 { padding-top: 6rem; padding-bottom: 6rem; } }
.section-py-24-28 { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section-py-24-28 { padding-top: 7rem; padding-bottom: 7rem; } }

.section-content-narrow { max-width: 48rem; margin: 0 auto; text-align: center; }
.serving-content { max-width: 48rem; margin: 0 auto; text-align: center; padding-inline: 1.5rem; }
@media (min-width: 768px) { .serving-content { padding-inline: 2.5rem; } }

.gallery-label {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-accent);
}

.section-heading { font-weight: 600; text-transform: uppercase; letter-spacing: -0.025em; line-height: 1.1; }

#about, #why, #services, #shop, #serving, #contact { scroll-margin-top: 6rem; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn-cta-primary, .btn-cta-outline, .btn-cta-outline-white, .btn-outline, .btn-outline-primary, .btn-primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
	padding: 1rem 2.25rem;
	border: 1px solid transparent;
	border-radius: 0;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.btn-cta-primary { background: var(--color-accent); color: var(--color-accent-foreground); }
.btn-cta-primary:hover { background: color-mix(in srgb, var(--color-accent) 90%, transparent); }
.hero-ctas .btn-cta-primary { padding: 1rem 2.5rem; }
.hero-ctas .btn-cta-outline { padding: 1rem 2rem; }
.contact-ctas .btn-cta-primary,
.contact-ctas .btn-cta-outline-white {
	padding: 0.875rem 2rem;
	letter-spacing: 0.24em;
}
.btn-cta-outline { border-color: rgb(255 255 255 / 0.8); color: #fff; }
.btn-cta-outline:hover { background: rgb(255 255 255 / 0.1); }
.btn-cta-outline-white { border-color: rgb(255 255 255 / 0.7); color: #fff; }
.btn-cta-outline-white:hover { background: rgb(255 255 255 / 0.1); border-color: #fff; }
.btn-outline-primary { border-color: var(--color-primary); color: var(--color-primary); background: transparent; padding: 1rem 2rem; }
.btn-outline-primary:hover { background: color-mix(in srgb, var(--color-primary) 5%, transparent); }
.btn-outline {
	border-color: var(--color-primary); color: var(--color-primary); background: transparent;
	font-family: var(--font-mono); padding: 0.875rem 2rem; letter-spacing: 0.24em;
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary {
	background: var(--color-primary); color: var(--color-primary-foreground);
	font-family: var(--font-body); text-transform: uppercase; font-size: 12px; letter-spacing: 0.25em; font-weight: 500;
	padding: 1rem 1.5rem; width: 100%;
}
.btn-primary:hover { background: var(--color-accent); color: var(--color-accent-foreground); }
.icon-inline { width: 1rem; height: 1rem; vertical-align: -2px; }

/* ---------------------------------------------------------------------- */
/* Reveal / scroll-in animation (Section 2.1)                             */
/* ---------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-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 { transition: opacity .3s ease; transform: none !important; opacity: 1; }
}

/* ---------------------------------------------------------------------- */
/* Header                                                                 */
/* ---------------------------------------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: transparent; border-bottom: 1px solid transparent;
	transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}
body.theme-no-hero .site-header {
	position: sticky;
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 1rem; }
@media (min-width: 768px) { .site-nav { height: 6rem; } }
.site-logo-link {
	display: flex; align-items: center; flex-shrink: 0;
	line-height: 0; max-width: 9rem;
}
@media (min-width: 768px) { .site-logo-link { max-width: 10.5rem; } }
.site-header .site-logo-img {
	height: 3rem;
	width: auto;
	max-width: 100%;
	max-height: 3rem;
	object-fit: contain;
	display: block;
	transition: filter .3s ease;
}
@media (min-width: 768px) {
	.site-header .site-logo-img {
		height: var(--logo-height, 3.5rem);
		max-height: var(--logo-height, 3.5rem);
	}
}
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; color: var(--color-primary); }
body.theme-no-hero .site-header .site-logo-img,
.site-header.is-solid .site-logo-img,
.site-header.is-menu-open .site-logo-img { filter: none; }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-img { filter: brightness(0) invert(1); }
body.theme-no-hero .site-logo-text,
.site-header.is-solid .site-logo-text,
.site-header.is-menu-open .site-logo-text { color: var(--color-primary); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-text { color: #fff; }

.site-nav-right { display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .site-nav-right { gap: 2.5rem; } }
.site-nav-links { display: none; }
@media (min-width: 1024px) { .site-nav-links { display: flex; align-items: center; gap: 2rem; } }
@media (min-width: 1280px) { .theme-nav-list { gap: 2.5rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; }
.theme-nav-list li { list-style: none; }
.theme-nav-list a {
	font-size: 12px; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color .2s ease;
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-list a { color: rgb(255 255 255 / 0.85); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-list a.is-active { color: #fff; }
.site-header.is-solid .theme-nav-list a.is-active,
.site-header.is-scrolled .theme-nav-list a.is-active,
.site-header.is-menu-open .theme-nav-list a.is-active { color: var(--color-accent); }
.theme-nav-list a:hover { color: var(--color-accent); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-list a:hover { color: #fff; }

.cart-toggle-btn { position: relative; padding: 0.375rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color .2s ease; }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .cart-toggle-btn { color: #fff; }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .cart-toggle-btn:hover { color: rgb(255 255 255 / 0.8); }
.site-header.is-solid .cart-toggle-btn:hover,
.site-header.is-scrolled .cart-toggle-btn:hover,
.site-header.is-menu-open .cart-toggle-btn:hover { color: var(--color-accent); }
.cart-toggle-btn svg { width: 1.25rem; height: 1.25rem; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center; border-radius: 999px;
	background: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 10px; font-family: var(--font-body); font-weight: 500; line-height: 1;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { display: block; padding: 0.5rem; margin-right: -0.5rem; color: var(--color-foreground); transition: opacity .2s ease; }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .mobile-menu-toggle { color: #fff; }
.mobile-menu-toggle:hover { opacity: .7; }
.mobile-menu-toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-menu-panel { border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 1rem 0; animation: theme-fade-in .6s var(--transition-smooth); }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu-panel .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 1rem; }
.mobile-menu-panel a { padding: 0.5rem 0; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.mobile-menu-panel a.is-active { color: var(--color-accent); }
.mobile-menu-panel a:hover { color: var(--color-accent); }
@media (min-width: 1024px) { .mobile-menu-panel { display: none !important; } }

/* WordPress admin bar — keep fixed/sticky header below toolbar when logged in */
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
body.admin-bar .site-header { top: var(--admin-bar-height); }
body.admin-bar #theme-cart-drawer {
	top: var(--admin-bar-height);
	height: calc(100% - var(--admin-bar-height));
}
body.admin-bar #about,
body.admin-bar #why,
body.admin-bar #services,
body.admin-bar #shop,
body.admin-bar #serving,
body.admin-bar #contact {
	scroll-margin-top: calc(6rem + var(--admin-bar-height));
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero-section { position: relative; width: 100%; height: 100vh; min-height: 640px; overflow: hidden; background: var(--color-background); }
.hero-media, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-overlay--tint { background: color-mix(in srgb, var(--color-primary) 45%, transparent); }
.hero-overlay--gradient { background: linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 30%, transparent), color-mix(in srgb, var(--color-primary) 20%, transparent), color-mix(in srgb, var(--color-primary) 70%, transparent)); }
.hero-content {
	position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
	align-items: center; text-align: center; color: #fff;
}
.hero-content-inner {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	max-width: 64rem; width: 100%; padding-inline: 0.5rem;
}
.hero-title {
	font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
	line-height: 1.02; letter-spacing: -0.025em; max-width: 60rem;
	font-size: clamp(2.5rem, 7vw, 5.5rem);
	color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / 0.45);
}
.hero-subtitle { margin: 2rem 0 0; max-width: 42rem; font-size: 1rem; color: rgb(255 255 255 / 0.85); line-height: 1.625; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-ctas a { width: 100%; }
@media (min-width: 640px) { .hero-ctas a { width: auto; } }

/* ---------------------------------------------------------------------- */
/* About                                                                  */
/* ---------------------------------------------------------------------- */
.about-section { background: var(--color-background); }
.about-inner .gallery-label,
.section-content-narrow .gallery-label { display: block; margin-bottom: 1.5rem; }
.about-heading { color: var(--color-foreground); margin: 0 0 2rem; font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 2.75rem; } }
.about-paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.625; margin: 0 0 1.25rem; }
.about-paragraph:last-of-type { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .about-paragraph { font-size: 1.125rem; } }
.about-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: var(--color-accent); position: relative; }
.about-link .icon-inline { width: 0.875rem; height: 0.875rem; transition: transform .3s ease; }
.about-link:hover .icon-inline { transform: translateY(2px); }
.about-link::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--transition-smooth); }
.about-link:hover::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------- */
/* Gallery interlude + lightbox                                           */
/* ---------------------------------------------------------------------- */
.gallery-interlude-section {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: var(--color-background);
	overflow: hidden;
}
.gallery-interlude-grid {
	display: grid;
	gap: 0;
	width: 100%;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 200px 200px 200px;
}
@media (min-width: 640px) {
	.gallery-interlude-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 260px 260px;
	}
}
@media (min-width: 1024px) {
	.gallery-interlude-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
		grid-template-rows: clamp(420px, 52vw, 560px);
	}
}
.gallery-interlude-item {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	cursor: zoom-in;
	padding: 0;
	border: none;
	background: none;
}
.gallery-interlude-item:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--color-accent) 60%, transparent);
	outline-offset: 0;
}
.gallery-interlude-item--wide { grid-column: span 2; }
@media (min-width: 1024px) { .gallery-interlude-item--wide { grid-column: span 1; } }
.gallery-interlude-item .gallery-interlude-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .9s var(--transition-smooth);
}
.gallery-interlude-item:hover .gallery-interlude-img { transform: scale(1.03); }

.theme-lightbox {
	position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--color-primary) 90%, transparent);
	backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.theme-lightbox[hidden] { display: none; }
.theme-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 25px 50px -12px rgb(0 0 0 / .4); }
.theme-lightbox__close, .theme-lightbox__nav {
	position: absolute; color: rgb(255 255 255 / .8); padding: 0.75rem; border-radius: 999px;
}
.theme-lightbox__close:hover, .theme-lightbox__nav:hover { color: #fff; }
.theme-lightbox__close { top: 1rem; right: 1rem; }
.theme-lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.theme-lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.theme-lightbox__close svg, .theme-lightbox__nav svg { width: 1.5rem; height: 1.5rem; }

/* ---------------------------------------------------------------------- */
/* Why choose                                                             */
/* ---------------------------------------------------------------------- */
.why-section { background: var(--color-card); }
.why-heading-block { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
@media (min-width: 768px) { .why-heading-block { margin-bottom: 4rem; } }
.why-heading-block .gallery-label { display: block; margin-bottom: 1.25rem; }
.why-heading { margin: 0 0 1.5rem; color: var(--color-foreground); font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .why-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .why-heading { font-size: 3.75rem; } }
.why-intro { margin: 0; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .why-intro { font-size: 1.125rem; } }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .why-grid { gap: 1.5rem; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why-card { background: var(--color-background); border: 1px solid var(--color-border); padding: 1.75rem; display: flex; flex-direction: column; text-align: left; transition: border-color .3s ease; }
@media (min-width: 768px) { .why-card { padding: 2rem; } }
.why-card:hover { border-color: var(--color-accent); }
.why-card__icon { width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--color-primary) 5%, transparent); border: 1px solid var(--color-border); margin-bottom: 1.5rem; transition: background-color .3s ease, border-color .3s ease; }
.why-card__icon svg { width: 1.25rem; height: 1.25rem; color: var(--color-primary); }
.why-card:hover .why-card__icon { background: var(--color-accent); border-color: var(--color-accent); }
.why-card:hover .why-card__icon svg { color: var(--color-accent-foreground); }
.why-card__title { font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: -0.025em; margin: 0 0 0.75rem; color: var(--color-foreground); }
.why-card__body { margin: 0; font-size: 0.875rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* ---------------------------------------------------------------------- */
/* Product categories                                                     */
/* ---------------------------------------------------------------------- */
.categories-section {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	overflow-x: clip;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.categories-grid { display: grid; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
.category-tile { position: relative; display: block; width: 100%; overflow: hidden; background: var(--color-muted, hsl(220 14% 96%)); aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .category-tile { aspect-ratio: 3 / 4; } }
@media (min-width: 1024px) { .category-tile { aspect-ratio: 4 / 5; } }
.category-tile__img { transition: transform .7s ease; }
.category-tile:hover .category-tile__img, .category-tile:focus-visible .category-tile__img { transform: scale(1.05); }
.category-tile__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.category-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.5rem 1.5rem; }
.category-tile__body-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.category-tile__title { color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: -0.025em; line-height: 1.25; font-size: 1.5rem; margin: 0 0 0.75rem; }
@media (min-width: 768px) { .category-tile__title { font-size: 1.875rem; } }
.category-tile__blurb { margin: 0; color: rgb(255 255 255 / .85); font-size: 0.875rem; line-height: 1.625; max-width: 28ch; }
.category-tile__cta { margin-top: 1.5rem; flex-shrink: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: #fff; position: relative; }
.category-tile__cta::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.category-tile:hover .category-tile__cta::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------- */
/* Shop                                                                   */
/* ---------------------------------------------------------------------- */
.shop-section { background: var(--color-card); }
.shop-heading-block { text-align: center; margin-bottom: 3.5rem; }
.shop-heading-block .gallery-label { display: block; margin-bottom: 1.25rem; }
.shop-heading { margin: 0 0 2.5rem; font-size: 1.875rem; line-height: 1.25; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2.5rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: color-mix(in srgb, var(--color-foreground) 47%, transparent); }
.shop-search__input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	border-radius: 0; font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); outline: none;
}
.shop-search__input:focus { border-bottom-color: var(--color-accent); }
.shop-filters { margin-bottom: 1rem; }
.shop-filters__select {
	display: block; width: 100%; padding: 0.75rem 2.5rem 0.75rem 1.25rem;
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-mono);
	background-color: transparent;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1rem center;
	border: 1px solid var(--color-border); color: var(--color-foreground); appearance: none;
	transition: border-color .2s ease;
}
.shop-filters__select:focus { outline: none; border-color: var(--color-accent); }
@media (min-width: 768px) { .shop-filters__select { display: none; } }
.shop-filters__buttons { display: none; }
@media (min-width: 768px) { .shop-filters__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; } }
.shop-filter-btn {
	flex-shrink: 0; white-space: nowrap; padding: 0.5rem 1.25rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
	font-family: var(--font-mono); border: 1px solid var(--color-border); color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	background: transparent; transition: all .3s ease;
}
.shop-filter-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.shop-filter-btn.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .theme-product-grid { gap: 2.5rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.shop-grid-item { display: flex; }
.shop-grid-item.is-hidden { display: none !important; }

.shop-view-more-wrap { text-align: center; margin-top: 3.5rem; }
.shop-empty-message { text-align: center; padding: 5rem 0; margin: 0; font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-style: italic; }
.shop-empty-message[hidden] { display: none; }

/* Product card — mirrors ProductCard.tsx (group link + hover add-to-cart button) */
a.theme-product-card-wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}
.theme-product-card { position: relative; aspect-ratio: 4 / 5; width: 100%; background: var(--color-card); overflow: hidden; margin-bottom: 1.25rem; transition: transform .3s cubic-bezier(0.34,1.56,0.64,1); }
.theme-product-card-wrap:hover .theme-product-card { transform: translateY(-3px); }
.theme-product-card .theme-product-card__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .8s var(--transition-smooth);
}
.theme-product-card-wrap:hover .theme-product-card__img { transform: scale(1.03); }
.theme-product-card__badge {
	position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: 0.25rem 0.75rem; font-size: 10px; font-weight: 500;
	letter-spacing: 0.22em; text-transform: uppercase; background: color-mix(in srgb, var(--color-background) 90%, transparent); color: var(--color-foreground);
}
.theme-product-card__badge--stock { left: auto; right: 1rem; background: var(--color-destructive); color: #fff; }
.theme-product-card__add-btn {
	position: absolute;
	z-index: 3;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	width: auto;
	padding: 0.75rem 1rem;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	font-family: var(--font-body);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .3s ease, transform .3s ease, background-color .2s ease, color .2s ease;
	border: none;
	border-radius: 0;
	min-height: unset;
	height: auto;
	text-align: center;
	display: block;
	cursor: pointer;
}
.theme-product-card__add-btn--nav { pointer-events: none; }
.theme-product-card-wrap:hover .theme-product-card__add-btn { opacity: 1; transform: translateY(0); }
.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.theme-product-card__cat { font-size: 11px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 0; }
.theme-product-card__name { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.375; color: var(--color-foreground); margin: 0; transition: color .3s ease; }
@media (min-width: 768px) { .theme-product-card__name { font-size: 1.25rem; } }
.theme-product-card-wrap:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin: 0; }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-card-wrap.is-out-of-stock .theme-product-card__add-btn { display: none; }

/* ---------------------------------------------------------------------- */
/* Serving strip                                                          */
/* ---------------------------------------------------------------------- */
.serving-section { background: var(--color-background); border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding-top: 0; }
.serving-marquee { position: relative; width: 100%; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); background: var(--color-primary); color: var(--color-primary-foreground); padding: 1rem 0; }
.serving-marquee__track { display: flex; width: max-content; animation: theme-marquee 32s linear infinite; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .serving-marquee__track { animation: none; } }
.serving-marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.serving-marquee__item { display: flex; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
@media (min-width: 768px) { .serving-marquee__item { font-size: 0.75rem; } }
.serving-marquee__item span:first-child { padding: 0 2rem; }
.serving-marquee__dot { color: var(--color-accent); }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.serving-eyebrow { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.5rem; color: var(--color-accent); }
.serving-heading { color: var(--color-primary); margin: 0 0 1.5rem; font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .serving-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .serving-heading { font-size: 3.75rem; } }
.serving-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 3rem; }
@media (min-width: 768px) { .serving-benefits-grid { grid-template-columns: repeat(4, 1fr); } }
.serving-benefit { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem 1rem; text-align: center; transition: color .3s ease; }
@media (min-width: 768px) { .serving-benefit { padding: 2rem 1rem; } }
.serving-benefit:nth-child(1),
.serving-benefit:nth-child(3) { border-right: 1px solid var(--color-border); }
@media (min-width: 768px) {
	.serving-benefit { border-right: none; }
	.serving-benefit:nth-child(1),
.serving-benefit:nth-child(3) { border-right: none; }
	.serving-benefit:nth-child(2),
.serving-benefit:nth-child(3) { border-right: 1px solid var(--color-border); }
}
.serving-benefit__icon { width: 1.25rem; height: 1.25rem; color: var(--color-primary); margin-bottom: 0.75rem; transition: color .3s ease; }
.serving-benefit:hover .serving-benefit__icon { color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.serving-benefit__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--color-foreground); margin: 0; transition: color .3s ease; }
.serving-benefit:hover .serving-benefit__title { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.serving-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .serving-cta { flex-direction: row; } }

/* ---------------------------------------------------------------------- */
/* Contact CTA                                                            */
/* ---------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; justify-content: center; padding: 0; }
@media (min-width: 768px) { .contact-section { min-height: 680px; } }
@media (min-width: 1024px) { .contact-section { min-height: 88vh; } }
.contact-section__bg { animation: theme-kenburns 20s ease-in-out infinite; object-position: center 60%; }
@media (prefers-reduced-motion: reduce) { .contact-section__bg { animation: none; } }
@keyframes theme-kenburns { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.contact-section__overlay { position: absolute; inset: 0; }
.contact-section__overlay--tint { background: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.contact-section__overlay--gradient { background: linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 45%, transparent), color-mix(in srgb, var(--color-primary) 30%, transparent), color-mix(in srgb, var(--color-primary) 70%, transparent)); }
.contact-section__inner {
	position: relative; z-index: 1; width: 100%; max-width: 42rem; margin: 0 auto;
	text-align: center; color: #fff; padding-inline: 1.5rem;
}
@media (min-width: 768px) { .contact-section__inner { padding-inline: 2.5rem; } }
.contact-eyebrow { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.75rem; color: rgb(255 255 255 / .85); }
.contact-heading { color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .35); margin: 0 0 2rem; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .contact-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 4.5rem; } }
.contact-body { color: rgb(255 255 255 / .85); max-width: 36rem; margin: 0 auto 2.25rem; font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .contact-body { font-size: 1.125rem; } }
.contact-info-row { display: flex; flex-direction: column; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-family: var(--font-body); color: rgb(255 255 255 / .9); margin-bottom: 2.5rem; }
@media (min-width: 640px) { .contact-info-row { flex-direction: row; } }
.contact-info-row a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / .4); text-underline-offset: 4px; transition: text-decoration-color .2s ease; word-break: break-all; }
.contact-info-row a:hover { text-decoration-color: #fff; }
.contact-info-sep { display: none; color: rgb(255 255 255 / .5); }
@media (min-width: 640px) { .contact-info-sep { display: inline; } }
.contact-ctas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .contact-ctas { flex-direction: row; } }

/* ---------------------------------------------------------------------- */
/* Footer — mirrors Footer.tsx                                          */
/* ---------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.site-footer-top { padding-top: 3.5rem; padding-bottom: 0.75rem; }
@media (min-width: 1024px) { .site-footer-top { padding-top: 4rem; } }
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .footer-grid { gap: 3rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col--brand { text-align: center; }
@media (min-width: 640px) { .footer-col--brand { text-align: left; } }
.footer-logo-img {
	display: block;
	margin-inline: auto;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}
@media (min-width: 640px) {
	.footer-logo-img {
		margin-inline: 0;
		width: auto;
		height: 3.5rem;
		max-height: 3.5rem;
		max-width: none;
	}
}
.site-footer img.footer-logo-img {
	object-fit: contain;
}
@media (min-width: 640px) {
	.site-footer img.footer-logo-img {
		width: auto !important;
		height: 3.5rem !important;
		max-height: 3.5rem !important;
	}
}
.footer-brand-blurb {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	line-height: 1.625;
	max-width: 24rem;
	margin-inline: auto;
}
@media (min-width: 640px) { .footer-brand-blurb { margin-inline: 0; max-width: 20rem; } }
.footer-col-heading {
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	margin: 0 0 1.25rem;
}
.footer-link-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}
.footer-link-list li,
.footer-link-list .menu-item {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-link-list .sub-menu { display: none; }
.footer-link-list a,
.footer-link-list button {
	display: inline-block;
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	text-align: left;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: color .2s ease;
}
.footer-link-list a:hover,
.footer-link-list button:hover { color: var(--color-accent); }
.footer-connect-list { font-size: 0.875rem; font-family: var(--font-body); }
.footer-connect-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	word-break: break-all;
}
a.footer-connect-link:hover { color: var(--color-accent); }
.footer-connect-link svg { flex-shrink: 0; width: 1rem; height: 1rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-copyright { font-size: 12px; font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0; }
.footer-builtby { font-size: 12px; font-family: var(--font-body); margin: 0; }
.footer-builtby-label { color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.footer-builtby-name { font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color .2s ease; }
.footer-builtby-name:hover { color: var(--color-accent); }

/* ---------------------------------------------------------------------- */
/* Cart drawer & overlay                                                  */
/* ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 60;
	opacity: 0; pointer-events: none; transition: opacity .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;
	background: var(--color-background); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: .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__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity .2s ease; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__close svg { width: 1.25rem; height: 1.25rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon svg { width: 3rem; height: 3rem; color: color-mix(in srgb, var(--color-foreground) 47%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { margin-bottom: 1.5rem; 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-item { display: flex; gap: 1rem; }
.theme-cart-item__thumb { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); display: block; }
.theme-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.15rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color .2s ease; }
.theme-qty-btn:hover { background: var(--color-secondary); }
.theme-qty-btn svg { width: 0.75rem; height: 0.75rem; }
.theme-qty-display { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.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: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0; }
.theme-cart-drawer__checkout-btn {
	border-radius: 0;
	min-height: 3rem;
	padding: 0.875rem 2.5rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	font-weight: 600;
}
.theme-cart-drawer__empty-btn { border-radius: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: auto; }

/* ---------------------------------------------------------------------- */
/* Contact modal                                                          */
/* ---------------------------------------------------------------------- */
#theme-contact-modal-overlay { position: fixed; inset: 0; background: rgb(0 0 0 / .8); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
body.contact-modal-open #theme-contact-modal-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; left: 50%; top: 50%; z-index: 71; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -48%) scale(.96); opacity: 0; pointer-events: none;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 1.5rem;
	transition: opacity .2s ease, transform .2s ease;
}
#theme-contact-modal[hidden] { display: block; }
body.contact-modal-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-contact-modal-close { position: absolute; right: 1rem; top: 1rem; opacity: .7; }
.theme-contact-modal-close:hover { opacity: 1; }
.theme-contact-modal-close svg { width: 1rem; height: 1rem; }
.theme-contact-modal-title { font-family: var(--font-display); font-weight: 600; font-size: 1.875rem; margin-bottom: 0.5rem; }
.theme-contact-modal-description { font-size: 0.875rem; font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0 0 1rem; }
.theme-contact-modal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1.25rem; }
.theme-contact-modal-meta a, .theme-contact-modal-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal-meta a:hover { color: var(--color-foreground); }
.theme-contact-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-modal-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-modal-form-row { grid-template-columns: 1fr 1fr; } }
.theme-contact-modal-form label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-contact-modal-form input, .theme-contact-modal-form textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 1rem; border-radius: 0.375rem; color: var(--color-foreground); transition: box-shadow .3s ease;
}
.theme-contact-modal-form input::placeholder, .theme-contact-modal-form textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 47%, transparent); }
.theme-contact-modal-form input:focus, .theme-contact-modal-form textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); }
.theme-contact-modal-form textarea { resize: none; }
.theme-contact-modal-note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0; }
.theme-contact-modal-submit-row { display: flex; justify-content: flex-end; }
.theme-contact-modal-submit,
.theme-contact-modal-submit-row button {
	border-radius: 0;
	width: auto;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 0.875rem 2rem;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.theme-contact-modal-submit:hover,
.theme-contact-modal-submit-row button:hover {
	background: var(--color-background);
	color: var(--color-primary);
	opacity: 1;
}
.theme-contact-modal-form label { font-family: var(--font-body); }
.theme-contact-modal-error { color: var(--color-destructive); font-size: 0.875rem; margin: 0; }
.theme-contact-modal-success { text-align: center; padding: 2rem 0; }
.theme-contact-modal-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-modal-success-icon svg { width: 1.75rem; height: 1.75rem; color: var(--color-primary-foreground); }
.theme-contact-modal-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 0.5rem; }
.theme-contact-modal-success p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0; }

/* ---------------------------------------------------------------------- */
/* Single product — pixel parity with ProductDetail.tsx                  */
/* ---------------------------------------------------------------------- */
.theme-single-product-main {
	background: var(--color-background);
	padding-top: 0;
}
.theme-single-product-empty {
	padding: 5rem 0;
	text-align: center;
}
.theme-single-product-empty h1 {
	font-family: var(--font-display);
	font-size: 1.875rem;
	margin: 0 0 1rem;
}
.theme-single-product-empty a {
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-single-product-empty a:hover { color: var(--color-foreground); }

.theme-back-home { padding-top: 1.5rem; }
.theme-back-home-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0;
	border: none;
	background: none;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transition: color .2s ease;
}
.theme-back-home-link:hover { color: var(--color-foreground); }
.theme-back-home-link .icon-inline { width: 1rem; height: 1rem; flex-shrink: 0; }

.theme-breadcrumb {
	padding: 1.5rem 0;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
}
.theme-breadcrumb a { color: inherit; transition: color .2s ease; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: .5; }
.theme-breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 6rem;
	padding-top: 1rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
}

.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }

.theme-product-gallery-mobile { display: block; }
@media (min-width: 1024px) { .theme-product-gallery-mobile { display: none; } }

.theme-product-gallery-main {
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}
.theme-product-gallery-main-img,
.theme-product-gallery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	max-width: none;
}

.theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	flex-wrap: nowrap;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}
.theme-product-thumb {
	position: relative;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	border: none;
	padding: 0;
	cursor: pointer;
}
.theme-product-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .6;
	transition: opacity .2s ease;
}
.theme-product-thumb.is-active .theme-product-thumb-img,
.theme-product-thumb:hover .theme-product-thumb-img { opacity: 1; }
.theme-product-thumb::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--color-foreground);
	opacity: 0;
	transition: opacity .2s ease;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-gallery-desktop-item {
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info {
		grid-column: span 5;
		padding-left: 1rem;
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}

.theme-product-info__cat {
	display: block;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}

.theme-product-info__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2.25rem;
	line-height: 1.05;
	margin: 0.75rem 0 1.25rem;
	color: var(--color-foreground);
	text-transform: none;
	letter-spacing: normal;
}
@media (min-width: 768px) {
	.theme-product-info__title { font-size: 3rem; }
}

.theme-product-info__price {
	font-size: 1.5rem;
	margin: 0 0 1.5rem;
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--color-foreground);
	line-height: 1.2;
}

.theme-product-info__intro {
	color: var(--color-muted-foreground);
	line-height: 1.625;
	margin: 0 0 2rem;
	font-size: 1rem;
	font-family: var(--font-body);
}

.theme-product-info__stock {
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 1rem;
	font-family: var(--font-body);
}
.theme-product-info__stock.is-out-of-stock { color: var(--color-destructive); }

/* Add to cart — matches Lovable native button (not WC .button) */
.theme-product-add-to-cart { margin: 0; }
.theme-product-add-to-cart form.cart { margin: 0; }

.theme-btn-add-to-cart,
.theme-product-add-to-cart .theme-btn-add-to-cart {
	width: 100%;
	display: block;
	padding: 1rem 2rem;
	border: none;
	border-radius: 0;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
	text-align: center;
	line-height: 1.2;
}
.theme-btn-add-to-cart:hover:not(:disabled),
.theme-product-add-to-cart .theme-btn-add-to-cart:hover:not(:disabled) {
	background: var(--color-accent);
	color: var(--color-accent-foreground);
}
.theme-btn-add-to-cart:disabled,
.theme-product-add-to-cart .theme-btn-add-to-cart:disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* Variations — div layout (no table chrome) */
.theme-variation-field { margin-bottom: 1rem; }
.theme-variation-label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-foreground);
	margin-bottom: 0.35rem;
}
.theme-variation-value select,
.single-product .variations_form select {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	appearance: auto;
}
.theme-variation-value select:focus,
.single-product .variations_form select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);
}

/* Accordions — exact ProductDetail.tsx border structure */
.theme-product-accordions {
	margin-top: 2.5rem;
	border-top: 1px solid var(--color-border);
}
.theme-accordion--bordered { border-top: 1px solid var(--color-border); }
.theme-accordion-footer { border-top: 1px solid var(--color-border); }

.theme-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	text-align: left;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-foreground);
	background: none;
	border: none;
	cursor: pointer;
}
.theme-accordion__chevron { width: 1rem; height: 1rem; transition: transform .2s ease; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }

.theme-accordion__panel {
	padding-bottom: 1.5rem;
	overflow-wrap: break-word;
	word-break: break-word;
	font-family: var(--font-body);
}
.theme-accordion__panel[hidden] { display: none; }

.theme-accordion__desc {
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.625;
	margin: 0 0 1rem;
	white-space: pre-line;
}
.theme-accordion__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}
.theme-accordion__list li {
	font-size: 15px;
	color: var(--color-muted-foreground);
	display: flex;
	align-items: flex-start;
	list-style: none;
}
.theme-accordion__list li::before {
	content: '';
	width: 4px;
	height: 4px;
	background: var(--color-foreground);
	border-radius: 999px;
	margin-top: 0.5rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
}
.theme-accordion__panel--stack {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.theme-accordion__panel--stack p {
	margin: 0;
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.625;
}

/* Related products */
.theme-related-products {
	padding: 5rem 0;
	border-top: 1px solid var(--color-border);
}
.theme-related-products__heading { text-align: center; margin-bottom: 3rem; }
.theme-related-products__eyebrow {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: var(--color-muted-foreground);
	margin: 0 0 0.5rem;
	font-weight: 400;
}
.theme-related-products__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
	line-height: 1.1;
}
@media (min-width: 768px) { .theme-related-products__title { font-size: 3rem; } }
.theme-related-products__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-related-products__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* WooCommerce variation form cleanup */
.single-product .variations_form { margin: 0; }
.single-product .variations_form .variations { margin: 0 0 1rem; }
.single-product .variations_form .reset_variations { display: none !important; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability,
.single-product .woocommerce-variation.single-variation { display: none !important; }
.single-product form.cart .quantity,
.single-product .variations_form .quantity { display: none !important; }
.single-product .single_variation_wrap { margin: 0; }
.single-product .woocommerce-variation-add-to-cart { margin: 0; padding: 0; }

/* Kill residual WooCommerce product layout on single product */
body.single-product .woocommerce-notices-wrapper:empty { display: none; }
body.single-product div.product,
body.single-product .woocommerce div.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product a.added_to_cart.wc-forward { display: none !important; }

/* ---------------------------------------------------------------------- */
/* WooCommerce global overrides (Section 14)                              */
/* ---------------------------------------------------------------------- */
.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-primary-foreground) !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: var(--btn-text-transform) !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-primary-foreground) !important;
}
.single-product .single_add_to_cart_button.button {
	width: 100% !important;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	font-size: 12px !important;
	letter-spacing: 0.25em !important;
	font-weight: 500 !important;
}
.single-product .single_add_to_cart_button.button:hover {
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	opacity: 1 !important;
}
/* Single-product uses .theme-btn-add-to-cart — override global WC .button skin */
body.single-product .theme-btn-add-to-cart,
body.single-product .theme-product-add-to-cart .theme-btn-add-to-cart {
	border-radius: 0 !important;
	min-height: unset !important;
	opacity: 1 !important;
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
}
body.single-product .theme-btn-add-to-cart:hover:not(:disabled),
body.single-product .theme-product-add-to-cart .theme-btn-add-to-cart:hover:not(:disabled) {
	background: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	opacity: 1 !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;
}
/* Card compact button — overrides global WC rules (must come after Section 14) */
.theme-product-card .theme-product-card__add-btn,
.theme-product-card button.theme-product-card__add-btn {
	position: absolute !important;
	z-index: 3 !important;
	left: 1rem !important;
	right: 1rem !important;
	bottom: 1rem !important;
	width: auto !important;
	padding: 0.75rem 1rem !important;
	min-height: unset !important;
	height: auto !important;
	border-radius: 0 !important;
	display: block !important;
	font-size: 11px !important;
	letter-spacing: 0.22em !important;
	font-weight: 500 !important;
}
.theme-product-card-wrap:hover .theme-product-card__add-btn,
.theme-product-card-wrap:hover .theme-product-card__add-btn:hover {
	opacity: 1 !important;
	transform: translateY(0) !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; }

.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; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.375rem;
	padding: 1rem 1.5rem; font-family: var(--font-body); font-size: 0.875rem; list-style: none; margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

.theme-shop-archive { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 5rem; }
.theme-shop-archive .page-title { font-size: 2rem; margin-bottom: 2rem; text-align: center; text-transform: uppercase; }
.theme-shop-empty { text-align: center; padding: 4rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-shop-pagination { margin-top: 3rem; text-align: center; }
.theme-shop-pagination .page-numbers { display: inline-flex; gap: 0.5rem; padding: 0.5rem 0.9rem; border: 1px solid var(--color-border); margin: 0 0.15rem; }
.theme-shop-pagination .page-numbers.current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* ---------------------------------------------------------------------- */
/* Checkout (Section 13)                                                  */
/* ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 1.5rem);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	max-width: 80rem; margin: 0 auto 2rem; padding: 0 1.5rem; font-size: 2rem; text-transform: uppercase;
}
@media (min-width: 1024px) { body.woocommerce-checkout .page-title, body.woocommerce-cart .page-title, body.woocommerce-account .page-title { padding: 0 2rem; } }

body.woocommerce-checkout .entry-content { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { body.woocommerce-checkout .entry-content { padding: 0 2rem; } }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout__main-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none;
}
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 {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body); border: 1px solid var(--color-border); border-radius: 0.375rem;
	background: var(--color-background); color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-foreground) 47%, transparent); }
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; font-family: var(--font-body) !important;
	text-transform: uppercase !important; letter-spacing: 0.15em !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: .9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.375rem; grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-card);
	border-radius: 0.5rem;
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__form h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------------- */
/* Thank-you page                                                         */
/* ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 5rem; max-width: 60rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order { padding: 0 1.5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); text-transform: uppercase; 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: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
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); text-align: left; }
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); padding: 1.25rem; border-radius: 0.375rem; }

/* ---------------------------------------------------------------------- */
/* 404                                                                     */
/* ---------------------------------------------------------------------- */
.theme-404-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--color-muted); padding: 5rem 0; }
.theme-404-inner { text-align: center; }
.theme-404-title { font-family: var(--font-body); font-size: 2.25rem; font-weight: 700; margin: 0 0 1rem; }
.theme-404-message { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0 0 1rem; font-family: var(--font-body); }
.theme-404-link { color: var(--color-primary); text-decoration: underline; font-family: var(--font-body); }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------------------------------------------------------------------- */
/* Customizer media control                                               */
/* ---------------------------------------------------------------------- */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; }
