/* ==========================================================================
   Rooted Floral Co — theme.css
   Brand tokens, layout, components, WooCommerce overrides, animations.
   ========================================================================== */

/* ---------------------------------------------------------------------
 * 1. Design tokens
 * ------------------------------------------------------------------- */
:root {
	--color-background: #f8f5f2;
	--color-foreground: #1d2a24;
	--color-primary: #385747;
	--color-primary-foreground: #f8f5f2;
	--color-secondary: #ece6df;
	--color-accent: #ba8f5e;
	--color-accent-light: #e3bfab;
	--color-noir: #18251f;
	--color-muted-foreground: #4b5852;
	--color-border: #d5cdc3;
	--color-destructive: #a64030;
	--color-button-text: var(--color-primary-foreground);

	/* Derived tokens (never exposed as controls — Section 6). */
	--color-noir-soft: color-mix(in srgb, var(--color-noir) 88%, white 12%);
	--color-card: color-mix(in srgb, var(--color-background) 60%, white 40%);
	--color-muted: color-mix(in srgb, var(--color-secondary) 88%, black 6%);

	--font-display: 'Cormorant Garamond', serif;
	--font-script: 'Great Vibes', cursive;
	--font-body: 'Inter', sans-serif;

	--logo-height: 56px;
	--header-height: 80px;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0px;
	--btn-height: 3.5rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.8125rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.02em;
	--btn-text-transform: none;
	--btn-icon-padding: 0.6rem;
	--card-radius: 0px;
	--checkout-gap: 3rem;
}

/* ---------------------------------------------------------------------
 * 2. Reset / base
 * ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.005em;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: inherit;
	margin: 0;
	letter-spacing: -0.005em;
	line-height: 1.05;
}
/* Script accent inside headings — matches source index.css em.font-display rule. */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
	font-family: var(--font-script);
	font-style: normal;
	letter-spacing: 0.02em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.theme-product-card__img):not(.hero-bg-img):not(.cta-band__img):not(.theme-product-gallery__main img):not(.theme-product-thumb img):not(.theme-cart-item__image img):not(#product-main-img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .theme-product-card__img, .hero-bg-img, .cta-band__img,
.theme-product-gallery__main img, .theme-product-thumb img, .theme-cart-item__image img, #product-main-img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
.cover-img, .theme-product-card__img, .hero-bg-img, .cta-band__img {
	position: absolute;
	inset: 0;
}

[hidden] { display: none !important; }

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container-wide {
	width: 100%;
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.section-padding { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-padding { padding-top: 7rem; padding-bottom: 7rem; } }

::selection {
	background: color-mix(in srgb, var(--color-primary) 40%, transparent);
	color: var(--color-background);
}

.scroll-mt { scroll-margin-top: 6rem; }

.surface-noir { background: var(--color-noir); color: var(--color-background); }

.eyebrow {
	font-size: 0.6875rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
	font-family: var(--font-body);
}

.brass-rule {
	display: block;
	height: 1px;
	width: 3rem;
	background: var(--color-primary);
	border: none;
	margin: 2rem 0;
}
.brass-rule--light { background: var(--color-accent-light); }

/* ---------------------------------------------------------------------
 * 3. Buttons
 * ------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	white-space: nowrap;
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), opacity 0.2s ease, background-color 0.2s ease;
}
.btn-primary, .btn-hero-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
	text-transform: none;
	box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-primary:hover, .btn-hero-primary:hover {
	transform: translateY(-2px);
	opacity: 0.92;
	box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.btn-outline {
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
}
.btn-outline:hover { border-color: var(--color-foreground); }
.btn-outline-noir {
	background: transparent;
	border: 1px solid var(--color-noir);
	color: var(--color-noir);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.75rem;
	padding: 0 2.25rem;
	height: 3.5rem;
}
.btn-outline-noir:hover { background: var(--color-noir); color: var(--color-background); }
.btn-outline-underline {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.75rem;
}
.btn-outline-underline:hover { background: var(--color-primary); color: var(--color-background); border-color: var(--color-primary); }
.btn-hero-outline {
	background: color-mix(in srgb, var(--color-noir) 30%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-background) 60%, transparent);
	color: var(--color-background);
	backdrop-filter: blur(4px);
	text-transform: none;
}
.btn-hero-outline:hover {
	background: color-mix(in srgb, var(--color-background) 10%, transparent);
	border-color: var(--color-background);
}

/* ---------------------------------------------------------------------
 * 4. Animations (Section 2.1)
 * ------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.animate-fade-in { animation: fadeIn 0.7s var(--transition-smooth) forwards; }
.animate-scale-in { animation: scaleIn 0.6s var(--transition-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	will-change: opacity, transform;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Customizer preview fallback — reveal items must never stay hidden while editing. */
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .animate-fade-in, .animate-scale-in {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ---------------------------------------------------------------------
 * 5. Header
 * ------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	transition: background-color 0.5s var(--transition-smooth), backdrop-filter 0.5s var(--transition-smooth), border-color 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
.site-header.is-solid,
.site-header.menu-open {
	background: color-mix(in srgb, var(--color-noir) 85%, transparent);
	backdrop-filter: blur(24px) saturate(1.5);
	-webkit-backdrop-filter: blur(24px) saturate(1.5);
	border-bottom: 1px solid var(--color-noir-soft);
	box-shadow: 0 1px 0 0 color-mix(in srgb, var(--color-accent) 15%, transparent);
}
.site-header__glow {
	position: absolute;
	inset: 0 0 auto 0;
	height: 8rem;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-noir) 85%, transparent), color-mix(in srgb, var(--color-noir) 45%, transparent), transparent);
	pointer-events: none;
}
.site-header.is-solid .site-header__glow,
.site-header.menu-open .site-header__glow { display: none; }
.site-header__inner { position: relative; z-index: 1; }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-nav { height: 5rem; } }

.site-brand { display: flex; align-items: center; gap: 0.75rem; }
.site-logo-img {
	height: var(--logo-height, 3rem);
	width: var(--logo-height, 3rem);
	object-fit: contain;
	border-radius: 999px;
	background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
	padding: 2px;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-background); }
.site-brand-name { display: none; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.02em; color: var(--color-background); }
.site-brand-accent { color: var(--color-accent-light); font-style: normal; }
@media (min-width: 640px) { .site-brand-name { display: block; } }
@media (min-width: 1024px) { .site-brand-name { font-size: 1.125rem; } }

.site-nav__links { display: none; align-items: center; gap: 1.25rem; margin-left: auto; margin-right: 1rem; }
@media (min-width: 1024px) { .site-nav__links { display: flex; gap: 2rem; margin-right: 2rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 1024px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-link {
	position: relative;
	font-size: 0.6875rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-background);
	transition: color 0.3s ease;
	text-shadow: 0 1px 12px color-mix(in srgb, var(--color-noir) 70%, transparent);
}
.site-header.is-solid .theme-nav-link { text-shadow: none; }
.theme-nav-link:hover { color: var(--color-accent-light); }
.theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0; bottom: -4px;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--transition-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; }
.site-cart-btn {
	position: relative;
	padding: 0.5rem;
	color: var(--color-background);
	transition: color 0.3s ease;
}
.site-cart-btn:hover { color: var(--color-accent-light); }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500;
	background: var(--color-primary);
	color: var(--color-background);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.site-menu-toggle { padding: 0.5rem; color: var(--color-background); display: none; }
.site-menu-toggle .icon-close { display: none; }
.site-menu-toggle.is-open .icon-menu { display: none; }
.site-menu-toggle.is-open .icon-close { display: inline-flex; }
.site-menu-toggle .icon-menu { display: inline-flex; }
@media (max-width: 1023px) { .site-menu-toggle { display: block; } }

.site-nav__mobile { display: none; border-top: 1px solid var(--color-noir-soft); padding: 1rem 0; }
.site-nav__mobile.is-open { display: block; animation: fadeIn 0.4s var(--transition-smooth); }
.theme-nav-list--mobile,
.site-footer__nav .theme-nav-list {
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 0.25rem;
}
.theme-nav-list--mobile .theme-nav-link { padding: 0.75rem 0; font-size: 0.75rem; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.theme-nav-list--mobile .theme-nav-link:hover { color: var(--color-accent-light); }

body.theme-no-hero .site-header { background: color-mix(in srgb, var(--color-noir) 85%, transparent); backdrop-filter: blur(24px); }

/* ---------------------------------------------------------------------
 * 6. Hero
 * ------------------------------------------------------------------- */
.hero-section { position: relative; width: 100%; overflow: hidden; min-height: 100svh; background: var(--color-noir); }
.hero-section__media { position: absolute; inset: 0; will-change: transform; }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__overlay { transition: opacity 0.1s linear; }
.hero-section__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-noir) 90%, transparent), color-mix(in srgb, var(--color-noir) 60%, transparent), color-mix(in srgb, var(--color-noir) 85%, transparent));
}
.hero-section__overlay-radial {
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 25% 50%, color-mix(in srgb, var(--color-noir) 85%, transparent), transparent 55%);
}
.hero-section__overlay-side {
	position: absolute; inset: 0;
	background: linear-gradient(to right, color-mix(in srgb, var(--color-noir) 55%, transparent), color-mix(in srgb, var(--color-noir) 20%, transparent), transparent);
}
.hero-section__content { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding: 7rem 0 4rem; }
.hero-section__inner { width: 100%; }
.hero-section__row { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .hero-section__row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 4rem; } }
.hero-section__copy { max-width: 48rem; }
.hero-eyebrow { color: var(--color-accent-light); display: block; margin-bottom: 1.5rem; text-shadow: 0 2px 12px color-mix(in srgb, var(--color-noir) 65%, transparent), 0 1px 3px color-mix(in srgb, var(--color-noir) 40%, transparent); }
@media (min-width: 768px) { .hero-eyebrow { margin-bottom: 2rem; } }

.hero-title {
	color: var(--color-background);
	font-size: 2.75rem;
	line-height: 1;
	letter-spacing: -0.015em;
	max-width: 16ch;
	text-shadow: 0 3px 20px color-mix(in srgb, var(--color-noir) 75%, transparent), 0 1px 6px color-mix(in srgb, var(--color-noir) 55%, transparent);
	margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3.5rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; margin-bottom: 1.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5rem; line-height: 0.98; } }
@media (min-width: 1280px) { .hero-title { font-size: 5.75rem; } }
.hero-title__accent { display: block; margin-top: 0.25rem; color: var(--color-accent-light); }
@media (min-width: 1024px) { .hero-title__accent { margin-top: 0.5rem; } }

.hero-paragraph { max-width: 36rem; color: var(--color-background); font-weight: 400; font-size: 1rem; line-height: 1.6; text-shadow: 0 2px 12px color-mix(in srgb, var(--color-noir) 65%, transparent); }
@media (min-width: 768px) { .hero-paragraph { font-size: 1.125rem; } }

.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .hero-actions { display: flex; flex-wrap: wrap; margin-top: 3rem; } }
.hero-actions .btn { width: 100%; box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--color-noir) 10%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--color-noir) 10%, transparent); }
@media (min-width: 1024px) { .hero-actions .btn { width: auto; } }
.hero-section__content { will-change: transform; }

.hero-section__tagline {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 1rem;
	font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
	color: var(--color-background);
	text-shadow: 0 2px 12px color-mix(in srgb, var(--color-noir) 65%, transparent);
}
@media (min-width: 1024px) { .hero-section__tagline { flex-direction: column; align-items: flex-end; text-align: right; } }

/* ---------------------------------------------------------------------
 * 7. Section headings (per-section scales — Section 2.2.5)
 * ------------------------------------------------------------------- */
.section-heading-row { display: grid; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .section-heading-row { grid-template-columns: 7fr 5fr; gap: 3rem; margin-bottom: 4rem; } }
.pillars-section .section-heading-row { margin-bottom: 3.5rem; }
@media (min-width: 768px) { .pillars-section .section-heading-row { margin-bottom: 5rem; } }
.section-heading-para { color: color-mix(in srgb, var(--color-background) 70%, transparent); font-weight: 300; line-height: 1.6; font-size: 1rem; }
@media (min-width: 768px) { .section-heading-para { font-size: 1.125rem; } }

.pillars-eyebrow { color: var(--color-accent-light); margin-bottom: 1.25rem; }
.about-eyebrow, .shop-eyebrow { color: var(--color-primary); }
.shop-eyebrow { margin-bottom: 1rem; }
.owner-eyebrow { color: var(--color-accent-light); }
.faq-eyebrow { color: var(--color-muted-foreground); }
.contact-section .eyebrow { color: var(--color-accent-light); }
.cta-band .eyebrow { color: var(--color-accent-light); margin-bottom: 1.25rem; }

.pillars-section__heading { color: var(--color-background); font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .pillars-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .pillars-section__heading { font-size: 3.75rem; } }
.pillars-section__heading em { color: var(--color-accent-light); }

.about-section__heading, .owner-section__heading, .shop-heading, .faq-section__heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .about-section__heading, .owner-section__heading, .shop-heading, .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading, .owner-section__heading, .shop-heading, .faq-section__heading { font-size: 3.75rem; } }
.about-eyebrow + .about-section__heading,
.owner-eyebrow + .owner-section__heading,
.faq-eyebrow + .faq-section__heading,
.contact-section .eyebrow + .contact-section__heading { margin-top: 0.75rem; }
.about-section__heading em { color: var(--color-primary); }
.owner-section__heading em { color: var(--color-accent-light); }
.shop-heading em { color: var(--color-primary); }
.faq-section__heading em { color: var(--color-primary); }
.contact-section__heading em { color: var(--color-accent-light); }

/* ---------------------------------------------------------------------
 * 8. Pillars ("What We Design")
 * ------------------------------------------------------------------- */
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-noir-soft); border: 1px solid var(--color-noir-soft); }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-card {
	position: relative;
	background: var(--color-noir);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	transition: background-color 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
@media (min-width: 768px) { .pillar-card { padding: 2.5rem; } }
.pillar-card:hover { background: var(--color-noir-soft); transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 40%, transparent); }
.pillar-card__rule {
	position: absolute; inset: auto 0 0 0; height: 1px;
	background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-accent) 60%, transparent), transparent);
	transform: scaleX(0);
	transition: transform 0.7s var(--transition-smooth);
}
.pillar-card:hover .pillar-card__rule { transform: scaleX(1); }
.pillar-card__icon { width: 1.75rem; height: 1.75rem; color: var(--color-accent-light); margin-bottom: 2rem; transition: transform 0.5s var(--transition-smooth); }
.pillar-card:hover .pillar-card__icon { transform: translateY(-4px) scale(1.1); }
.pillar-card__title { color: var(--color-background); font-size: 1.25rem; margin-bottom: 0.75rem; transition: color 0.3s ease; }
@media (min-width: 768px) { .pillar-card__title { font-size: 1.5rem; } }
.pillar-card:hover .pillar-card__title { color: var(--color-accent-light); }
.pillar-card__desc { font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-weight: 300; line-height: 1.6; transition: color 0.3s ease; }
.pillar-card:hover .pillar-card__desc { color: color-mix(in srgb, var(--color-background) 85%, transparent); }

/* ---------------------------------------------------------------------
 * 9. About
 * ------------------------------------------------------------------- */
.about-section { overflow-x: clip; }
.owner-section { overflow-x: clip; }
.shop-section { background: var(--color-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 6fr 6fr; gap: 5rem; } }
.about-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-secondary); min-width: 0; }
@media (min-width: 1024px) { .about-image { aspect-ratio: auto; height: 100%; } }
.about-copy { min-width: 0; }
@media (min-width: 1024px) { .about-copy { padding-top: 2rem; } }
.about-copy__body { display: flex; flex-direction: column; gap: 1.25rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .about-copy__body { font-size: 1.125rem; } }
.about-copy__body em { color: var(--color-foreground); font-style: normal; font-weight: 400; }
.about-copy__emphasis { color: var(--color-foreground); font-style: italic; font-weight: 400; }
.about-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

/* ---------------------------------------------------------------------
 * 10. Marquee
 * ------------------------------------------------------------------- */
.marquee-strip { background: var(--color-primary); overflow: hidden; }
.marquee-strip__track { display: flex; white-space: nowrap; padding: 1.25rem 0; animation: marquee 28s linear infinite; will-change: transform; }
.marquee-strip__track:hover { animation-play-state: paused; }
@media (min-width: 768px) { .marquee-strip__track { padding: 1.5rem 0; } }
.marquee-strip__group { display: flex; align-items: center; gap: 2rem; padding: 0 1.5rem; color: var(--color-background); font-family: var(--font-display); font-style: italic; font-size: 1.25rem; letter-spacing: 0.01em; }
@media (min-width: 768px) { .marquee-strip__group { gap: 2.5rem; padding: 0 2.5rem; font-size: 1.5rem; } }
@media (min-width: 1024px) { .marquee-strip__group { font-size: 1.875rem; } }
.marquee-strip__dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 60%, transparent); flex-shrink: 0; }

/* ---------------------------------------------------------------------
 * 11. Shop
 * ------------------------------------------------------------------- */
.shop-heading-row { display: grid; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .shop-heading-row { grid-template-columns: 7fr 5fr; gap: 3rem; margin-bottom: 4rem; } }
.shop-heading-para { color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; }
.shop-heading em { color: var(--color-primary); }

.shop-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.shop-filter-pill {
	flex-shrink: 0;
	padding: 0.75rem 1.25rem;
	font-size: 0.6875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	border: 1px solid var(--color-border);
	background: transparent;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.shop-filter-pill:hover { border-color: var(--color-accent); color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 5%, transparent); }
.shop-filter-pill.is-active {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
	box-shadow: 0 2px 18px -6px color-mix(in srgb, var(--color-primary) 55%, transparent);
}
.shop-price-toggle svg { transition: transform 0.3s ease; }
.shop-price-toggle.is-active svg { transform: rotate(180deg); }

.shop-price-panel { max-width: 28rem; padding: 0.75rem 0 1rem; }
.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; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); left: 0; width: 0; }
.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: 1.25rem; height: 1.25rem;
	border-radius: 999px;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
}
.range-input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; 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: 0.75rem; color: var(--color-muted-foreground); font-weight: 300; }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap:hover .theme-product-card__inner {
	border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
	box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--color-noir) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--color-accent) 15%, transparent);
	transform: translateY(-8px);
}
.theme-product-card__inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	overflow: hidden;
	transition: border-color 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}
.theme-product-card__image-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
}
.theme-product-card__image-link .theme-product-card__image-fade { pointer-events: none; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; background: var(--color-noir); overflow: hidden; }
.theme-product-card__tag {
	position: absolute; top: 1rem; left: 1rem; z-index: 3;
	padding: 0.25rem 0.6rem;
	font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	color: var(--color-noir);
}
.theme-product-card__img { transition: transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card-wrap:hover .theme-product-card__img { transform: scale(1.06); }
.theme-product-card__inner.is-out-of-stock .theme-product-card__img { opacity: 0.6; }
.theme-product-card__image-fade {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 40%, transparent), transparent 60%);
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
	z-index: 2;
}
.theme-product-card-wrap:hover .theme-product-card__image-fade { opacity: 1; }

.theme-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.5rem; } }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; min-width: 0; overflow-wrap: break-word; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card__title a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.theme-product-card-wrap:hover .theme-product-card__title,
.theme-product-card-wrap:hover .theme-product-card__title a { color: var(--color-primary); }
.theme-product-card__price { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; white-space: nowrap; margin-top: 0.25rem; }
.theme-product-card__excerpt { font-size: 0.75rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-body); }
.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: flex-end; position: relative; z-index: 3; }
.theme-product-card__view {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 500;
	font-family: var(--font-body);
	color: var(--color-accent);
	transition: color 0.3s ease, transform 0.3s ease;
	text-decoration: none;
	position: relative;
	z-index: 3;
}
.theme-product-card-wrap:hover .theme-product-card__view { color: var(--color-primary); }
.theme-product-card__arrow { display: inline-block; transition: transform 0.3s ease; }
.theme-product-card-wrap:hover .theme-product-card__arrow { transform: translateX(4px); }

.shop-show-all-wrap { text-align: center; margin-top: 3rem; }
.shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); font-weight: 300; }

/* ---------------------------------------------------------------------
 * 12. Owner
 * ------------------------------------------------------------------- */
.owner-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .owner-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.owner-portrait { position: relative; height: 32.5rem; overflow: hidden; }
@media (min-width: 640px) { .owner-portrait { height: 40rem; } }
@media (min-width: 1024px) { .owner-portrait { height: 100%; } }
.owner-portrait__corner { position: absolute; width: 4rem; height: 4rem; border-color: color-mix(in srgb, var(--color-accent-light) 60%, transparent); z-index: 2; }
.owner-portrait__corner--tl { top: 1.5rem; left: 1.5rem; border-left: 1px solid; border-top: 1px solid; }
.owner-portrait__corner--br { bottom: 1.5rem; right: 1.5rem; border-right: 1px solid; border-bottom: 1px solid; }
.owner-portrait__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; }
@media (min-width: 768px) { .owner-portrait__caption { padding: 2rem; } }
.owner-portrait__caption .eyebrow { display: block; color: var(--color-accent-light); margin-bottom: 0.5rem; text-shadow: 0 2px 12px color-mix(in srgb, var(--color-noir) 65%, transparent); }
.owner-portrait__caption p { font-family: var(--font-display); color: var(--color-background); font-size: 1.875rem; line-height: 1; text-shadow: 0 2px 12px color-mix(in srgb, var(--color-noir) 65%, transparent); }
@media (min-width: 768px) { .owner-portrait__caption p { font-size: 2.25rem; } }
.owner-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 70%, transparent), transparent 55%); pointer-events: none; }

.owner-copy { display: flex; flex-direction: column; justify-content: space-between; min-height: 32.5rem; }
@media (min-width: 1024px) { .owner-copy { min-height: calc(100vh - 8rem); } }
.owner-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 2.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-background) 10%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-background) 10%, transparent);
	padding: 1.5rem 0;
}
@media (min-width: 768px) { .owner-facts { gap: 1.5rem; } }
.owner-facts > div { min-width: 0; }
.owner-facts dt {
	display: block;
	margin: 0 0 0.25rem;
	line-height: 1;
	color: color-mix(in srgb, var(--color-accent-light) 80%, transparent);
}
.owner-facts dd {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1.25;
	color: var(--color-background);
	margin: 0;
	white-space: nowrap;
}
@media (min-width: 768px) { .owner-facts dd { font-size: 1.5rem; } }
.owner-copy__body { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-background) 75%, transparent); font-weight: 300; line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .owner-copy__body { font-size: 1.125rem; } }
.owner-quote { margin-top: 2.5rem; border-left: 2px solid var(--color-accent-light); padding: 0.5rem 0 0.5rem 1.5rem; }
.owner-quote blockquote { font-family: var(--font-display); font-style: italic; color: var(--color-background); font-size: 1.125rem; line-height: 1.4; margin: 0; }
@media (min-width: 768px) { .owner-quote blockquote { font-size: 1.25rem; } }
.owner-quote figcaption { color: color-mix(in srgb, var(--color-accent-light) 80%, transparent); margin-top: 0.75rem; }

/* ---------------------------------------------------------------------
 * 13. CTA band
 * ------------------------------------------------------------------- */
.cta-band { position: relative; width: 100%; overflow: hidden; }
.cta-band__media { position: relative; height: 80vh; min-height: 35rem; overflow: hidden; }
@media (min-width: 768px) { .cta-band__media { height: 85vh; } }
.cta-band__img { opacity: 0.7; }
.cta-band__gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-noir), color-mix(in srgb, var(--color-noir) 40%, transparent), color-mix(in srgb, var(--color-noir) 30%, transparent)); }
.cta-band__content { position: absolute; left: 0; right: 0; bottom: 0; }
.cta-band__inner { padding: 3rem 0; }
@media (min-width: 768px) { .cta-band__inner { padding: 4rem 0; } }
.cta-band__row { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 768px) { .cta-band__row { grid-template-columns: 8fr 4fr; } }
.cta-band__heading { font-size: 2.25rem; line-height: 1.05; max-width: 42rem; color: var(--color-background); }
@media (min-width: 768px) { .cta-band__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__heading { font-size: 3.75rem; } }
.cta-band__heading em {
	display: block;
	font-family: var(--font-display);
	font-style: italic;
	letter-spacing: -0.005em;
	color: var(--color-accent-light);
}
@media (min-width: 768px) { .cta-band__heading em { display: inline; } }
.cta-band__content { will-change: transform; }
.cta-band__media .cta-band__img { will-change: transform; transition: none; }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; } }
@media (min-width: 768px) { .cta-band__actions { flex-direction: column; align-items: flex-end; } }
.cta-band__actions .btn { width: 100%; }
@media (min-width: 640px) { .cta-band__actions .btn { width: auto; } }
@media (min-width: 768px) { .cta-band__actions .btn { width: 100%; } }

/* ---------------------------------------------------------------------
 * 14. FAQ
 * ------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.faq-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
@media (min-width: 1024px) { .faq-image { position: sticky; top: 7rem; max-height: calc(100vh - 9rem); } }
.faq-image__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 85%, transparent), transparent); }
@media (min-width: 768px) { .faq-image__caption { padding: 2rem; } }
.faq-image__caption .eyebrow { display: block; color: var(--color-accent-light); margin-bottom: 0.5rem; }
.faq-image__caption p { font-family: var(--font-display); font-style: italic; color: var(--color-background); font-size: 1.5rem; max-width: 22rem; line-height: 1.3; }
@media (min-width: 768px) { .faq-image__caption p { font-size: 1.875rem; } }

.faq-para { margin-top: 1.25rem; max-width: 32rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .faq-list { margin-top: 3rem; } }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__trigger { width: 100%; display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0; text-align: left; }
@media (min-width: 768px) { .faq-item__trigger { gap: 1.75rem; padding: 1.75rem 0; } }
.faq-item__num { font-family: var(--font-display); font-size: 1.125rem; flex-shrink: 0; color: var(--color-muted-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__num { font-size: 1.25rem; } }
.faq-item__trigger[aria-expanded="true"] .faq-item__num { color: var(--color-primary); }
.faq-item__q { flex: 1; font-family: var(--font-display); font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__q { font-size: 1.25rem; } }
.faq-item__trigger[aria-expanded="true"] .faq-item__q { color: var(--color-foreground); }
.faq-item__plus { flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 0.3s ease, color 0.3s ease; }
.faq-item__trigger[aria-expanded="true"] .faq-item__plus { transform: rotate(45deg); color: var(--color-primary); }
.faq-item__panel { overflow: hidden; transition: max-height 0.4s var(--transition-smooth), opacity 0.4s var(--transition-smooth); max-height: 0; opacity: 0; }
.faq-item__panel:not([hidden]) { opacity: 1; }
.faq-item__panel-inner { padding: 0 1.5rem 1.5rem 2.5rem; max-width: 42rem; }
@media (min-width: 768px) { .faq-item__panel-inner { padding-left: 3rem; padding-bottom: 1.75rem; } }
.faq-item__panel-inner p { color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; font-size: 0.875rem; }
@media (min-width: 768px) { .faq-item__panel-inner p { font-size: 1rem; } }
.faq-item__list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item__list li { display: flex; gap: 0.75rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; font-size: 0.875rem; }
@media (min-width: 768px) { .faq-item__list li { font-size: 1rem; } }
.faq-item__list li span:first-child { margin-top: 0.5rem; height: 0.25rem; width: 0.25rem; flex-shrink: 0; background: var(--color-primary); }

/* ---------------------------------------------------------------------
 * 15. Contact
 * ------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-intro { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.contact-section__heading { color: var(--color-background); font-size: 2.25rem; line-height: 1.05; margin-top: 0.75rem; }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 3.75rem; } }
.contact-section__heading em { color: var(--color-accent-light); font-style: italic; }
.contact-para { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-weight: 300; line-height: 1.7; max-width: 28rem; }
.contact-links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-link-item { display: flex; align-items: center; gap: 1rem; }
.contact-link-icon { width: 2.75rem; height: 2.75rem; border: 1px solid var(--color-noir-soft); display: flex; align-items: center; justify-content: center; color: var(--color-accent-light); transition: border-color 0.3s ease; }
.contact-link-item:hover .contact-link-icon { border-color: var(--color-accent-light); }
.contact-link-item span:last-child { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-background) 80%, transparent); transition: color 0.3s ease; }
.contact-link-item:hover span:last-child { color: var(--color-background); }

.contact-form-wrap { position: relative; height: 100%; min-height: 20rem; }
.contact-form {
	background: var(--color-card);
	border: 1px solid var(--color-border);
	height: 100%;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.contact-success {
	display: none !important;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	height: 100%;
	padding: 2rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.contact-form-wrap.is-submitted .contact-form { display: none !important; }
.contact-form-wrap.is-submitted .contact-success { display: flex !important; }
@media (min-width: 768px) { .contact-form, .contact-success { padding: 2.5rem; } }
.contact-success__icon {
	width: 3.5rem;
	height: 3.5rem;
	background: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: var(--color-background);
}
.contact-success h3 {
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--color-foreground);
	margin-bottom: 0.75rem;
}
.contact-success p { max-width: 24rem; margin: 0 auto; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.6; }

.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field { display: flex; flex-direction: column; }
.contact-form__field--grow { flex: 1; }
.contact-form__field label { color: var(--color-accent); margin-bottom: 0.75rem; font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; }
.contact-form__field input, .contact-form__field textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 300;
	transition: border-color 0.3s ease;
}
.contact-form__field textarea { flex: 1; resize: none; min-height: 8rem; }
.contact-form__field input::placeholder, .contact-form__field textarea::placeholder { color: var(--color-muted-foreground); }
.contact-form__field input:focus, .contact-form__field textarea:focus { outline: none; border-color: var(--color-accent); }
.contact-form__submit { width: 100%; }
.contact-form__submit:disabled { opacity: 0.6; cursor: wait; }

/* ---------------------------------------------------------------------
 * 16. Footer
 * ------------------------------------------------------------------- */
.site-footer { background: var(--color-noir); border-top: 1px solid var(--color-noir-soft); color: var(--color-background); }
.site-footer__inner { padding-block: 4rem 5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 5fr 3fr 4fr; gap: 3rem; } }
.site-footer__brand .site-brand { margin-bottom: 0; }
.site-footer__brand .site-logo-img { height: var(--logo-height, 3rem); width: var(--logo-height, 3rem); }
.site-footer__brand .site-brand-name { display: block; font-size: 1.25rem; }
.site-footer__quote { margin-top: 1.5rem; max-width: 28rem; font-size: 0.875rem; font-style: italic; font-weight: 300; color: color-mix(in srgb, var(--color-background) 70%, transparent); line-height: 1.6; }
.site-footer__desc { margin-top: 1rem; max-width: 28rem; font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-background) 60%, transparent); line-height: 1.6; }
.site-footer__heading { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 1.25rem; font-weight: 500; }
.site-footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav-list a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-weight: 300; transition: color 0.3s ease; }
.site-footer__nav-list a:hover { color: var(--color-background); }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-weight: 300; }
.site-footer__contact-list a { transition: color 0.3s ease; }
.site-footer__contact-list a:hover { color: var(--color-background); }
.site-footer__contact-list svg { color: var(--color-accent-light); flex-shrink: 0; }
.site-footer__note { margin-top: 1.25rem; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 45%, transparent); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--color-noir-soft); display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__legal { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 45%, transparent); }
.site-footer__legal a { transition: color 0.3s ease; }
.site-footer__legal a:hover { color: var(--color-background); }
.site-footer__verse { font-style: italic; text-transform: none; letter-spacing: normal; }

/* ---------------------------------------------------------------------
 * 17. Generic page / 404
 * ------------------------------------------------------------------- */
.generic-page { padding-top: 6rem; min-height: 60vh; }
@media (min-width: 1024px) { .generic-page { padding-top: 7rem; } }
.page-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }
.entry-content { color: var(--color-muted-foreground); line-height: 1.7; }
.entry-content a { color: var(--color-primary); text-decoration: underline; }

.notfound-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.notfound-page__inner { text-align: center; }
.notfound-page__code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.notfound-page__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.notfound-page__link { color: var(--color-primary); text-decoration: underline; }
.notfound-page__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------------------------------------------------------------------
 * 18. WooCommerce — single product
 * ------------------------------------------------------------------- */
.single-product-page { padding-top: 6rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .single-product-page { padding-top: 7rem; } }
.single-product-page__back { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-family: var(--font-body); font-weight: 400; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: opacity 0.3s ease, border-color 0.3s ease; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-info__cat { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); font-weight: 400; }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; line-height: 1.2; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-info__price { font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.theme-stock-indicator { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-stock-indicator--out { color: var(--color-destructive); }
.theme-product-info__description { color: var(--color-muted-foreground); font-weight: 400; line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; font-family: var(--font-body); }
.theme-product-info__description p { margin-bottom: 1rem; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.9rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3.5rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-info__details h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-info__details ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-info__details li { display: flex; align-items: flex-start; font-size: 0.875rem; color: var(--color-muted-foreground); overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details li span { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--color-primary); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.related-products-section { padding-top: 3rem; margin-top: 2rem; border-top: 1px solid var(--color-border); }
.related-products-section__heading { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 1.5rem; } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.archive-product-page { padding-top: 6rem; }
@media (min-width: 1024px) { .archive-product-page { padding-top: 7rem; } }
.archive-product-page__pagination { margin-top: 3rem; text-align: center; }

/* Variation attribute pills (matches Lovable ProductDetail) */
.theme-variation-attrs.variations { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; border: 0; }
.theme-variation-attrs.variations .theme-variation-group { display: block; width: 100%; }
.theme-variation-label { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--color-foreground); }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 400;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.theme-variation-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-variation-pill.is-active {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-variation-select-wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.theme-attr-select-hidden { display: none !important; }

/* Variable product — always show qty + ATC inside variation wrap */
.variations_form .single_variation_wrap { display: block !important; }
.variations_form .woocommerce-variation-add-to-cart { display: block !important; }
.variations_form .theme-add-to-cart-area { display: flex !important; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; font-family: var(--font-body); }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.single-product .variations select { width: 100%; max-width: 20rem; padding: 0.75rem 1rem; border: 1px solid var(--color-border); background: var(--color-background); font-family: var(--font-body); }
.theme-attr-select-hidden { display: none !important; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* ---------------------------------------------------------------------
 * 19. WooCommerce — add to cart button overrides (Section 11.4.1)
 * ------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: 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-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;
}
.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; }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	border-radius: 0;
	padding: 1rem 1.25rem;
	font-size: 0.875rem;
	list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ---------------------------------------------------------------------
 * 20. Side cart drawer (Section 12)
 * ------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 90;
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 91;
	display: flex; flex-direction: column;
	box-shadow: -24px 0 60px -20px color-mix(in srgb, var(--color-noir) 50%, transparent);
	transform: translateX(100%);
	transition: transform 0.5s 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 { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 0.6; }

.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 svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.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__image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-item__image 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; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { display: block; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__controls button { padding: 0.25rem; border-radius: 4px; transition: background-color 0.2s ease; }
.theme-cart-item__controls button:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.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 span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }

/* ---------------------------------------------------------------------
 * 21. WooCommerce Checkout Block (Section 13)
 * ------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .generic-page { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .generic-page .section-padding { padding-top: 1.25rem; }
@media (min-width: 768px) { body.woocommerce-checkout .generic-page .section-padding { padding-top: 1.5rem; } }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 72rem; margin: 0 auto 2rem; }

/* Single 2-column grid — no nested sidebar grids */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: block !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: var(--checkout-gap, 3rem) !important;
		align-items: start !important;
	}
}
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar-layout {
	display: block !important;
}
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step {
	display: block !important;
	width: 100% !important;
}

/* Checkout inputs — match Lovable (padding left to WC defaults) */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select.wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout textarea.wc-block-components-textarea {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0 !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	color: var(--color-foreground) !important;
	background: var(--color-background) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select.wc-block-components-select-control__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-combobox-control input::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: var(--color-foreground) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary) !important;
	border-radius: var(--card-radius) !important;
	padding: 2rem !important;
}
body.woocommerce-checkout .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;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0;
	border-color: var(--color-border);
}

/* ---------------------------------------------------------------------
 * 22. Cart / My Account / Thank-you width parity (Section 13.7)
 * ------------------------------------------------------------------- */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 72rem; margin: 0 auto; }

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 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: none; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
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: 30rem; overflow-wrap: break-word; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ---------------------------------------------------------------------
 * 23. Structured component uniformity (Section 31.9)
 * ------------------------------------------------------------------- */
.theme-featured-products .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .theme-featured-products .theme-product-grid { grid-template-columns: 1fr; } }
