/* =========================================================================
   EVERYBODY THEME — theme.css
   ========================================================================= */

/* ---------------------------------------------------------------------
 * 1. DESIGN TOKENS
 * ------------------------------------------------------------------- */
:root {
	--color-background: #f6f5f4;
	--color-foreground: #16181d;
	--color-primary: #16181d;
	--color-primary-foreground: #f8f8f6;
	--color-secondary: #eae8e6;
	--color-secondary-foreground: #1e2229;
	--color-muted: #e2e0df;
	--color-muted-foreground: #595e69;
	--color-accent: #4b5563;
	--color-accent-foreground: #f8f8f6;
	--color-border: #d9d6d3;

	--color-surface-soft: color-mix(in srgb, var(--color-secondary) 55%, var(--color-background) 45%);
	--color-card: color-mix(in srgb, var(--color-background) 90%, var(--color-foreground) 10%);
	--color-button-text: var(--color-background);

	--font-display: 'Instrument Serif', serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--radius: 0.25rem;
	--card-radius: 1rem;

	--btn-radius: 999px;
	--btn-height: 2.5rem;
	--btn-padding: 0 1.25rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--logo-height: 40px;
	--header-height: 80px;
	--checkout-gap: 2rem;

	--shadow-soft: 0 4px 24px -6px rgb(22 24 29 / 0.08);
	--shadow-elevated: 0 12px 48px -12px rgb(22 24 29 / 0.14);
	--ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
	:root { /* Design is intentionally light-only; no dark-mode override in source. */ }
}

/* ---------------------------------------------------------------------
 * 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-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.manifesto-bg-img):not(.cta-band-bg):not(.theme-product-card__image):not(.theme-product-main-image-wrap img):not(.about-image):not(.founder-image) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .manifesto-bg-img, .cta-band-bg, .theme-product-card__image, .about-image, .founder-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.015em;
	margin: 0;
}

.container-wide { width: 100%; max-width: 88rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.eyebrow, .micro-label {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.surface-soft { background-color: var(--color-surface-soft); }
.italic { font-style: italic; }

.btn-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	height: var(--btn-height);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	background: var(--color-foreground);
	color: var(--color-background);
	box-shadow: var(--shadow-soft);
	transition: transform 0.3s var(--ease-expo-out), opacity 0.3s ease, background-color 0.3s ease;
}
.btn-pill:hover { transform: translateY(-2px); opacity: 0.88; }
.btn-pill-light { background: var(--color-background); color: var(--color-foreground); }

/* ---------------------------------------------------------------------
 * 3. ANIMATION SYSTEM (Section 2.1)
 * ------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	filter: blur(8px);
	transition: opacity 0.9s var(--ease-expo-out), transform 0.9s var(--ease-expo-out), filter 0.9s var(--ease-expo-out);
	will-change: opacity, transform, filter;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-item[data-reveal-direction="right"] { transform: translateX(-32px); }
.reveal-item[data-reveal-direction="right"].is-visible { transform: translateX(0); }
.reveal-item[data-reveal-direction="left"] { transform: translateX(32px); }
.reveal-item[data-reveal-direction="left"].is-visible { transform: translateX(0); }

.stagger-item {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(6px);
	transition: opacity 0.85s var(--ease-expo-out), transform 0.85s var(--ease-expo-out), filter 0.85s var(--ease-expo-out);
}
.stagger-group .stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger-group .stagger-item:nth-child(2) { transition-delay: 0.15s; }
.stagger-group .stagger-item:nth-child(3) { transition-delay: 0.25s; }
.stagger-group .stagger-item:nth-child(4) { transition-delay: 0.35s; }
.stagger-group .stagger-item:nth-child(5) { transition-delay: 0.45s; }
.stagger-group .stagger-item:nth-child(6) { transition-delay: 0.55s; }
.stagger-item.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Customizer preview / no-JS fallback — Section 2.1 rule 5 */
body.is-customizer .reveal-item,
body.is-customizer .stagger-item,
.no-js .reveal-item,
.no-js .stagger-item {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}
body.is-customizer .word-reveal-outer .word-inner {
	transform: translateY(0) !important;
}

.about-feature.is-capacity-empty,
.founder-stat.is-capacity-empty,
.accordion-item.is-capacity-empty,
[data-capacity-slot][hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .stagger-item { transition-duration: 0.01ms !important; }
	.word-mask .word-inner { transition-duration: 0.01ms !important; }
}

/* Word-by-word hero reveal */
.word-reveal-outer { display: inline; }
.word-reveal-line { display: block; overflow: visible; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.word-inner {
	display: inline-block;
	transform: translateY(110%);
	transition: transform 1.1s var(--ease-expo-out);
}
.word-reveal-outer.is-revealed .word-inner { transform: translateY(0); }
.word-reveal-outer .word-reveal-line:nth-child(1) .word-mask:nth-child(1) .word-inner { transition-delay: 0.15s; }
.word-reveal-outer .word-reveal-line:nth-child(1) .word-mask:nth-child(2) .word-inner { transition-delay: 0.24s; }
.word-reveal-outer .word-reveal-line:nth-child(1) .word-mask:nth-child(3) .word-inner { transition-delay: 0.33s; }
.word-reveal-outer .word-reveal-line:nth-child(2) .word-mask:nth-child(1) .word-inner { transition-delay: 0.42s; }
.word-reveal-outer .word-reveal-line:nth-child(2) .word-mask:nth-child(2) .word-inner { transition-delay: 0.51s; }

@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
 * 4. HEADER
 * ------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 40;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
/* Offset fixed header below the WordPress admin bar when logged in. */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.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.5rem; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: filter 0.3s ease; }
.site-header:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1); }
.site-logo-text { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; line-height: 1; color: var(--color-foreground); }
.site-header:not(.is-solid) .site-logo-text { color: #fff; }
.site-brand-word { display: none; }
@media (min-width: 640px) { .site-brand-word { display: inline; font-family: var(--font-display); font-style: italic; font-size: 1.125rem; line-height: 1; color: var(--color-foreground); } .site-header:not(.is-solid) .site-brand-word { color: #fff; } }

.site-nav-desktop { display: none; margin-left: auto; margin-right: 2rem; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; align-items: center; gap: 2rem; } }
.theme-nav-list, .theme-nav-list-mobile { display: flex; list-style: none; margin: 0; padding: 0; gap: 2rem; }
.theme-nav-list a, .theme-nav-list-mobile a, .theme-nav-link {
	font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color 0.3s ease;
}
.site-header:not(.is-solid) .theme-nav-list a { color: rgb(255 255 255 / 0.9); }
.theme-nav-list a:hover, .theme-nav-list-mobile a:hover { color: var(--color-foreground); }
.site-header:not(.is-solid) .theme-nav-list a:hover { color: #fff; }

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-btn { position: relative; padding: 0.5rem; color: var(--color-foreground); transition: opacity 0.2s ease; }
.site-header:not(.is-solid) .theme-cart-btn { color: #fff; }
.theme-cart-btn:hover { opacity: 0.7; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	background: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 0.625rem; font-weight: 500; border-radius: 999px;
	min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: flex; padding: 0.5rem; color: var(--color-foreground); }
.site-header:not(.is-solid) .theme-mobile-toggle { color: #fff; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: block; }

.site-nav-mobile { display: none; border-top: 1px solid var(--color-border); padding: 1.25rem 0 1.5rem; }
.site-nav-mobile.is-open {
	display: block;
	animation: fadeIn 0.4s var(--ease-expo-out) forwards;
	background: var(--color-background);
}
body.mobile-menu-open .site-header {
	background: color-mix(in srgb, var(--color-background) 98%, transparent);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--color-border);
}
body.mobile-menu-open .site-header:not(.is-solid) .site-logo-img { filter: none; }
body.mobile-menu-open .site-header:not(.is-solid) .site-logo-text,
body.mobile-menu-open .site-header:not(.is-solid) .site-brand-word,
body.mobile-menu-open .site-header:not(.is-solid) .theme-cart-btn,
body.mobile-menu-open .site-header:not(.is-solid) .theme-mobile-toggle {
	color: var(--color-foreground);
}
.site-header:not(.is-solid) .site-nav-mobile .theme-nav-list a,
.site-header:not(.is-solid) .site-nav-mobile .theme-nav-list-mobile a {
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
.site-nav-mobile .theme-nav-list,
.site-nav-mobile .theme-nav-list-mobile {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.875rem;
}
.site-nav-mobile .theme-nav-list a,
.site-nav-mobile .theme-nav-list-mobile a {
	display: block;
	padding: 0.25rem 0;
	font-size: 1rem;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1024px) { .site-nav-mobile { display: none !important; } }

/* Home hero fills viewport under transparent fixed header — Section 22.7 */
.home-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
body.admin-bar.theme-no-hero .site-main { padding-top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero .site-main { padding-top: calc(var(--header-height) + 46px); }
}

/* ---------------------------------------------------------------------
 * 5. HERO
 * ------------------------------------------------------------------- */
.hero-section { position: relative; height: 100vh; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-img { transform: scale(1.15); animation: heroFloat 20s ease-in-out infinite; }
@keyframes heroFloat {
	0%, 100% { transform: scale(1.15) translate(-2%, -1.5%); }
	50% { transform: scale(1.28) translate(2.5%, 1.5%); }
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.85), rgb(0 0 0 / 0.3) 55%, transparent); }
.hero-content { position: relative; z-index: 10; padding-bottom: 2.5rem; width: 100%; }
@media (min-width: 1024px) { .hero-content { padding-bottom: 4rem; } }
.hero-content-row { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .hero-content-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hero-heading-col { max-width: 48rem; }
@media (min-width: 1024px) { .hero-heading-col { max-width: none; } }
.hero-eyebrow { color: rgb(255 255 255 / 0.8); margin-bottom: 1.25rem; }
.hero-title { color: #fff; line-height: 0.9; letter-spacing: -0.02em; font-size: 3.75rem; }
@media (min-width: 640px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 8rem; } }
.hero-side-col { max-width: 20rem; }
@media (min-width: 1024px) { .hero-side-col { text-align: right; } }
.hero-subtitle { color: rgb(255 255 255 / 0.85); font-size: 0.875rem; line-height: 1.6; margin: 0 0 1.25rem; }

/* ---------------------------------------------------------------------
 * 6. ABOUT
 * ------------------------------------------------------------------- */
.about-section { padding: 5rem 0; }
@media (min-width: 1024px) { .about-section { padding: 8rem 0; } }
@media (max-width: 639px) {
	.about-section,
	.founder-section {
		overflow-x: clip;
	}
	.site-header > .container-wide,
	.about-section > .container-wide,
	.founder-section > .container-wide {
		width: 100%;
		max-width: 100%;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		overflow-x: clip;
	}
	.site-nav-mobile.is-open {
		margin-left: -1.5rem;
		margin-right: -1.5rem;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
	.about-grid,
	.founder-grid {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-width: 100%;
	}
	.about-image-col,
	.about-copy-col,
	.founder-image-col,
	.founder-copy-col,
	.about-image-col.reveal-item,
	.founder-image-col.reveal-item,
	.about-copy-col > .reveal-item,
	.founder-copy-col > .reveal-item,
	.reveal-item.about-copy,
	.reveal-item.founder-copy {
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}
	.about-image-wrap,
	.founder-image-wrap {
		width: 100%;
		max-width: 100%;
	}
	.about-lead,
	.about-para,
	.founder-lead,
	.founder-para {
		width: 100%;
		max-width: 100%;
		overflow-wrap: anywhere;
	}
	.about-feature { padding-left: 0; padding-right: 0; }
	.founder-stat { padding-left: 0; padding-right: 0; }
	.founder-stat-index { font-size: 3rem; right: 0; bottom: 1rem; }
	.about-heading,
	.founder-heading { font-size: 2.25rem; overflow-wrap: break-word; }
}
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: start; width: 100%; max-width: 100%; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6rem; } }
.about-image-col,
.about-copy-col { grid-column: 1 / -1; min-width: 0; max-width: 100%; width: 100%; }
@media (min-width: 1024px) { .about-image-col { grid-column: span 5; } }
.about-image-wrap {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 4 / 5;
	box-shadow: var(--shadow-elevated);
	overflow: hidden;
}
.about-image-backer { position: absolute; top: -1.25rem; left: -1.25rem; width: 100%; height: 100%; background: color-mix(in srgb, var(--color-accent) 15%, transparent); }
@media (min-width: 1024px) { .about-copy-col { grid-column: span 7; padding-top: 1.5rem; } }
.about-heading { margin-top: 1.5rem; font-size: 2.75rem; line-height: 0.92; }
@media (min-width: 640px) { .about-heading { font-size: 3.5rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 4.25rem; } }
@media (min-width: 1280px) { .about-heading { font-size: 5.5rem; } }
.about-copy { margin-top: 2.5rem; max-width: 36rem; width: 100%; }
.about-lead { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.3; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin: 0 0 1.5rem; }
@media (min-width: 1024px) { .about-lead { font-size: 1.5rem; } }
.about-para { font-size: 0.875rem; line-height: 1.7; color: var(--color-muted-foreground); margin: 0 0 1.5rem; }

.about-features-grid { margin-top: 5rem; display: grid; grid-template-columns: 1fr; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
@media (min-width: 640px) { .about-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-features-grid { grid-template-columns: repeat(4, 1fr); margin-top: 7rem; } }
.about-feature { position: relative; padding: 2rem 1.5rem 0.5rem; border-right: none; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); transition: background-color 0.5s ease; min-width: 0; }
@media (min-width: 1024px) { .about-feature { padding: 2rem 2rem 0.5rem; border-bottom: none; border-right: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); } .about-features-grid .about-feature:last-child { border-right: none; } }
.about-feature:hover { background-color: color-mix(in srgb, var(--color-foreground) 2.5%, transparent); }
.about-feature-index { display: block; font-size: 0.6875rem; font-weight: 600; color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); text-transform: uppercase; letter-spacing: 0.28em; margin-bottom: 2rem; font-variant-numeric: tabular-nums; }
.about-feature-title { font-size: 1.125rem; margin-bottom: 0.75rem; }
@media (min-width: 1024px) { .about-feature-title { font-size: 1.25rem; } }
.about-feature-desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; margin: 0; }

/* ---------------------------------------------------------------------
 * 7. MANIFESTO
 * ------------------------------------------------------------------- */
.manifesto-section { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 1024px) { .manifesto-section { padding: 8rem 0; } }
.manifesto-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.manifesto-bg-img { animation: manifestoFloat 20s ease-in-out infinite; }
@keyframes manifestoFloat {
	0%, 100% { transform: scale(1.05) translate(1.5%, -1%); }
	50% { transform: scale(1.18) translate(-2.5%, 2%); }
}
.manifesto-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 65%, transparent); backdrop-filter: blur(2px); }
.manifesto-content { position: relative; z-index: 10; }
.manifesto-inner { text-align: center; max-width: 48rem; margin: 0 auto; }
.manifesto-eyebrow { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: rgb(255 255 255 / 0.6); margin-bottom: 1.5rem; }
.manifesto-heading { color: #fff; font-size: 2.25rem; line-height: 0.95; }
@media (min-width: 640px) { .manifesto-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .manifesto-heading { font-size: 4.5rem; } }
.manifesto-rule { margin: 2rem auto 0; height: 1px; width: 6rem; background: rgb(255 255 255 / 0.4); }
.manifesto-body { margin-top: 2rem; color: rgb(255 255 255 / 0.8); font-size: 1.125rem; line-height: 1.7; max-width: 42rem; margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------------
 * 8. FEATURED CAROUSEL
 * ------------------------------------------------------------------- */
.featured-section { padding: 5rem 0; }
@media (min-width: 1024px) { .featured-section { padding: 6rem 0; } }
.featured-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.featured-heading { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 640px) { .featured-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .featured-heading { font-size: 3rem; } }
.featured-arrows { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .featured-arrows { display: flex; } }
.featured-arrow-btn { width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease, color 0.2s ease; }
.featured-arrow-btn:hover { background: var(--color-foreground); color: var(--color-background); }
.featured-scroller { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; scroll-behavior: smooth; scrollbar-width: none; }
.featured-scroller::-webkit-scrollbar { display: none; }
.featured-card-slot { scroll-snap-align: start; flex-shrink: 0; width: 78%; }
@media (min-width: 640px) { .featured-card-slot { width: 46%; } }
@media (min-width: 1024px) { .featured-card-slot { width: 30%; } }
@media (min-width: 1280px) { .featured-card-slot { width: 23%; } }

/* ---------------------------------------------------------------------
 * 9. PRODUCT CARD (shared across all contexts — Section 31.13)
 * ------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 2.5rem 1.5rem;
	align-items: stretch;
}
.theme-product-grid.shop-grid {
	grid-template-columns: 1fr;
	column-gap: 1.5rem;
	row-gap: 2.5rem;
}
@media (min-width: 640px) {
	.theme-product-grid.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.theme-product-grid.shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
	.theme-product-grid.shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.theme-product-card-wrap { min-width: 0; }
.shop-card-slot .theme-product-card {
	transition: transform 0.6s var(--ease-expo-out);
}
.shop-card-slot:hover .theme-product-card {
	transform: translateY(-6px);
}
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card__media { position: relative; }
.theme-product-card__image-link { display: block; }

.theme-product-card__image-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	aspect-ratio: 3 / 4;
	background: var(--color-secondary);
}
.theme-product-card__image { transition: transform 0.9s var(--ease-expo-out); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }

.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	border-radius: 999px; padding: 0.25rem 0.75rem;
	font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
}
.theme-product-card__stock-badge {
	position: absolute; bottom: 0.75rem; left: 0.75rem; z-index: 3;
	background: var(--color-foreground); color: var(--color-background);
	border-radius: 999px; padding: 0.25rem 0.75rem;
	font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
}
.theme-product-card__quick-add {
	position: absolute; bottom: 1rem; right: 1rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	background: var(--color-foreground); color: var(--color-background);
	display: inline-flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
	cursor: pointer;
}
.theme-product-card:hover .theme-product-card__quick-add,
.theme-product-card__quick-add:focus-visible { opacity: 1; transform: translateY(0); }
.theme-product-card__quick-add:hover { background: var(--color-accent); }

.theme-product-card__info { margin-top: 1rem; }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-width: 0; }
.theme-product-card__title-col { min-width: 0; }
.theme-product-card__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.25;
	color: var(--color-foreground);
	transition: color 0.2s ease;
}
.theme-product-card__title:hover,
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; color: var(--color-foreground); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.theme-product-card__price del { color: var(--color-muted-foreground); margin-right: 0.35em; }
.theme-product-card__size { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-product-card__desc { margin-top: 0.5rem; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.625; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------------
 * 10. SHOP SECTION
 * ------------------------------------------------------------------- */
.shop-section { padding: 5rem 0; }
@media (min-width: 1024px) { .shop-section { padding: 7rem 0; } }
.shop-header { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
.shop-heading { margin-top: 0.75rem; font-size: 2.25rem; line-height: 0.95; }
@media (min-width: 640px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }
.shop-description { margin-top: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }

.shop-filter-bar { max-width: 64rem; margin: 0 auto 2.5rem; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1.5rem; }
@media (min-width: 1024px) { .shop-filter-bar { padding: 2rem; } }
.shop-cat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.cat-pill {
	font-size: 0.75rem; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--color-border);
	background: color-mix(in srgb, var(--color-background) 60%, transparent); color: var(--color-foreground);
	text-align: center; width: 8rem; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
@media (min-width: 1024px) { .cat-pill { width: auto; } }
.cat-pill:hover { border-color: var(--color-foreground); }
.cat-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.shop-filter-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: end; }
@media (min-width: 768px) { .shop-filter-row { grid-template-columns: 1fr auto; gap: 2.5rem; } }

.shop-price-filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.shop-price-value { font-size: 0.75rem; color: var(--color-muted-foreground); font-variant-numeric: tabular-nums; }

.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb {
	appearance: none; -webkit-appearance: none; pointer-events: auto;
	width: 16px; height: 16px; border-radius: 999px; background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent); box-shadow: var(--shadow-soft); cursor: pointer;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 16px; height: 16px; border-radius: 999px; background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent); box-shadow: var(--shadow-soft); cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-sort-row { display: flex; align-items: center; gap: 0.75rem; justify-content: flex-end; }
.shop-sort-select {
	border-radius: 999px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em;
	height: 2.25rem; padding: 0 1.5rem 0 1rem; width: 12rem;
	border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23595e69' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 0.75rem center;
}
.shop-clear-btn { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); white-space: nowrap; }
.shop-clear-btn:hover { color: var(--color-foreground); text-decoration: underline; text-underline-offset: 4px; }

.shop-count-text { text-align: center; font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0 0 2rem; }
.shop-empty-text { padding: 5rem 0; text-align: center; color: var(--color-muted-foreground); }
.shop-empty-reset { margin-left: 0.5rem; color: var(--color-foreground); text-decoration: underline; }

.shop-viewall-wrap { margin-top: 3.5rem; display: flex; justify-content: center; }
.shop-viewall-btn {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; border-radius: 999px;
	background: var(--color-foreground); color: var(--color-background);
	font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; transition: background-color 0.2s ease;
}
.shop-viewall-btn:hover { background: var(--color-accent); }

/* ---------------------------------------------------------------------
 * 11. FOUNDER
 * ------------------------------------------------------------------- */
.founder-section { padding: 5rem 0; background: var(--color-secondary); }
@media (min-width: 1024px) { .founder-section { padding: 7rem 0; } }
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; margin-bottom: 4rem; width: 100%; max-width: 100%; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; margin-bottom: 6rem; } }
.founder-image-col,
.founder-copy-col { grid-column: 1 / -1; min-width: 0; max-width: 100%; width: 100%; }
@media (min-width: 1024px) { .founder-image-col { grid-column: span 5; } }
.founder-image-wrap {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 4 / 5;
	box-shadow: var(--shadow-elevated);
	overflow: hidden;
}
.founder-image-backer { position: absolute; top: -1.25rem; right: -1.25rem; width: 100%; height: 100%; background: color-mix(in srgb, var(--color-accent) 15%, transparent); }
@media (min-width: 1024px) { .founder-copy-col { grid-column: span 7; } }
.founder-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.founder-label-icon {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
}
.founder-heading { margin-top: 1.5rem; font-size: 2.75rem; line-height: 0.95; }
@media (min-width: 640px) { .founder-heading { font-size: 3.5rem; } }
@media (min-width: 1024px) { .founder-heading { font-size: 4.25rem; } }
.founder-copy { margin-top: 2rem; max-width: 36rem; width: 100%; }
.founder-lead { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.3; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin: 0 0 1.5rem; }
@media (min-width: 1024px) { .founder-lead { font-size: 1.5rem; } }
.founder-para { font-size: 0.875rem; line-height: 1.7; color: var(--color-muted-foreground); margin: 0; }

.founder-stats-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
@media (min-width: 768px) { .founder-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.founder-stat { position: relative; display: flex; flex-direction: column; padding: 2rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); min-height: 320px; transition: background-color 0.5s ease; }
@media (min-width: 768px) { .founder-stat { padding: 3rem; min-height: 380px; border-bottom: none; border-right: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); } .founder-stats-grid .founder-stat:last-child { border-right: none; } }
.founder-stat:hover { background-color: color-mix(in srgb, var(--color-foreground) 3%, transparent); }
.founder-stat-index { position: absolute; bottom: 1.5rem; right: 1.5rem; font-family: var(--font-display); font-style: italic; font-size: 3.75rem; color: color-mix(in srgb, var(--color-foreground) 10%, transparent); transition: color 0.5s ease; }
@media (min-width: 768px) { .founder-stat-index { bottom: 2.5rem; right: 2.5rem; font-size: 4.5rem; } }
.founder-stat:hover .founder-stat-index { color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.founder-stat-title { position: relative; z-index: 1; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-bottom: 0.75rem; }
.founder-stat-desc { position: relative; z-index: 1; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; margin: 0; }

.marquee-outer { margin-top: 5rem; overflow: hidden; padding-top: 2.5rem; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee-scroll 30s linear infinite; width: max-content; }
.marquee-word { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.4em; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); margin: 0 2rem; }
.marquee-dot { margin: 0 1rem; }

@media (max-width: 639px) {
	.about-image-backer,
	.founder-image-backer {
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		height: 100%;
	}
	.about-image-col.reveal-item[data-reveal-direction="right"],
	.founder-image-col.reveal-item[data-reveal-direction="right"] {
		transform: none;
	}
	.about-image-col.reveal-item[data-reveal-direction="right"].is-visible,
	.founder-image-col.reveal-item[data-reveal-direction="right"].is-visible {
		transform: none;
	}
	.about-copy,
	.founder-copy {
		max-width: 100%;
		width: 100%;
	}
	.about-image,
	.founder-image {
		position: absolute;
		inset: 0;
		width: 100%;
		max-width: 100%;
		height: 100%;
	}
}

/* ---------------------------------------------------------------------
 * 12. FAQ / ACCORDION
 * ------------------------------------------------------------------- */
.faq-section { padding: 5rem 0; }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-container { max-width: 48rem; }
.faq-heading { text-align: center; font-size: 2.25rem; line-height: 0.95; margin-bottom: 3rem; }
@media (min-width: 640px) { .faq-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 3.75rem; } }

.theme-accordion { width: 100%; }
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-trigger {
	display: flex; width: 100%; align-items: center; justify-content: space-between;
	padding: 1rem 0; font-family: var(--font-body); font-weight: 500; font-size: 1rem;
	text-align: left; color: var(--color-foreground); transition: text-decoration 0.2s ease;
}
.accordion-trigger:hover { text-decoration: underline; }
.accordion-trigger-inner { display: flex; align-items: center; gap: 0.75rem; }
.accordion-icon {
	display: flex; height: 2.25rem; width: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center;
	border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary);
}
.accordion-chevron { flex-shrink: 0; transition: transform 0.2s ease; }
.accordion-item.is-open .accordion-chevron { transform: rotate(180deg); }
.accordion-content { overflow: hidden; height: 0; transition: height 0.25s ease-out; font-size: 0.875rem; }
.accordion-content-inner { padding: 0 0 1rem 0; color: var(--color-muted-foreground); line-height: 1.7; }
.faq-section .accordion-content-inner { padding-left: 3rem; }

/* ---------------------------------------------------------------------
 * 13. CTA BAND
 * ------------------------------------------------------------------- */
.cta-band { position: relative; padding: 6rem 0; color: #fff; overflow: hidden; }
@media (min-width: 1024px) { .cta-band { padding: 8rem 0; } }
.cta-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg { background-attachment: fixed; }
.cta-band-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.cta-band-content { position: relative; z-index: 10; text-align: center; max-width: 42rem; margin: 0 auto; }
.cta-band__title { font-size: 2.25rem; line-height: 0.95; }
@media (min-width: 640px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.cta-band-body { margin-top: 1rem; color: rgb(255 255 255 / 0.85); font-size: 1.125rem; line-height: 1.7; }
.cta-band-btn { margin-top: 2.5rem; }

/* ---------------------------------------------------------------------
 * 14. CONTACT
 * ------------------------------------------------------------------- */
.contact-section { padding: 5rem 0; background: var(--color-foreground); color: var(--color-background); }
@media (min-width: 1024px) { .contact-section { padding: 7rem 0; } }
.contact-container { max-width: 56rem; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 3.5rem; }
.contact-eyebrow { color: color-mix(in srgb, var(--color-background) 60%, transparent); }
.contact-title { margin-top: 0.75rem; font-size: 2.25rem; line-height: 0.95; color: var(--color-background); }
@media (min-width: 640px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }
.contact-subtext { margin-top: 1rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); max-width: 32rem; margin-left: auto; margin-right: auto; }

.contact-form-card { border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); background: color-mix(in srgb, var(--color-background) 5%, transparent); backdrop-filter: blur(4px); padding: 2rem; }
@media (min-width: 640px) { .contact-form-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .contact-form-card { padding: 3rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-field label { display: block; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); margin-bottom: 0.375rem; }
.contact-form-field input, .contact-form-field textarea, .contact-form textarea {
	width: 100%; border-radius: var(--radius); border: 1px solid var(--color-border);
	background: var(--color-background); color: var(--color-foreground);
	padding: 0.5rem 0.75rem; font-size: 1rem; height: 2.5rem;
}
.contact-form textarea { height: auto; padding-top: 0.5rem; }
.contact-form-field input::placeholder, .contact-form textarea::placeholder { color: var(--color-muted-foreground); }
.contact-form-field input:focus, .contact-form textarea:focus { outline: 2px solid color-mix(in srgb, var(--color-accent) 50%, transparent); outline-offset: 2px; }
.contact-form-footer { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding-top: 0.5rem; }
@media (min-width: 640px) { .contact-form-footer { flex-direction: row; align-items: center; } }
.contact-info-list { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); }
@media (min-width: 640px) { .contact-info-list { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1.5rem; } }
.contact-info-list li { display: flex; align-items: center; gap: 0.5rem; }
.contact-info-list a:hover { color: var(--color-background); }
.contact-submit { width: 100%; }
@media (min-width: 640px) { .contact-submit { width: auto; } }

/* ---------------------------------------------------------------------
 * 15. FOOTER
 * ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-secondary); }
.footer-inner { padding: 3rem 0; }
@media (max-width: 1023px) {
	.container-wide.footer-inner,
	.container-wide.generic-page-inner {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}
@media (min-width: 1024px) { .footer-inner { padding: 4rem 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo-img { height: var(--logo-height) !important; }
.footer-logo-text { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--color-foreground); }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 24rem; line-height: 1.7; }
.footer-col-title { font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.28em; color: var(--color-foreground); margin-bottom: 1rem; }
.footer-link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link, .footer-contact-row a { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.footer-link:hover, .footer-contact-row a:hover { color: var(--color-foreground); }
.footer-contact-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copy, .footer-credit { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.footer-credit a { text-decoration: underline; }
.footer-credit a:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------------------
 * 16. 404
 * ------------------------------------------------------------------- */
.theme-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.theme-404-inner { text-align: center; }
.theme-404-title { font-size: 2rem; font-weight: 700; margin: 1rem 0; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: var(--color-accent); }

/* ---------------------------------------------------------------------
 * 17. TOASTS
 * ------------------------------------------------------------------- */
.theme-toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-toast {
	background: var(--color-foreground); color: var(--color-background); border-radius: 0.5rem; padding: 0.875rem 1.25rem;
	box-shadow: var(--shadow-elevated); opacity: 0; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.3s ease;
	display: flex; flex-direction: column; gap: 0.15rem; max-width: 20rem;
}
.theme-toast.is-visible { opacity: 1; transform: translateY(0); }
.theme-toast span { font-size: 0.8125rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); }

/* =========================================================================
   WOOCOMMERCE
   ========================================================================= */

/* ---------------------------------------------------------------------
 * 18. SINGLE PRODUCT (mirrors src/pages/Product.tsx)
 * ------------------------------------------------------------------- */
.single-product-main {
	padding-top: 6rem;
	padding-bottom: 5rem;
	background: var(--color-background);
}
@media (min-width: 1024px) {
	.single-product-main { padding-top: 8rem; }
}
body.admin-bar .single-product-main { padding-top: calc(6rem + 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .single-product-main { padding-top: calc(6rem + 46px); }
}
@media (min-width: 1024px) {
	body.admin-bar .single-product-main { padding-top: calc(8rem + 32px); }
}
.back-to-shop-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--color-muted-foreground);
	margin-bottom: 2rem;
}
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}
}
.theme-product-gallery {
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) {
	.theme-product-gallery { grid-column: span 7 / span 7; }
}
.theme-product-info {
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) {
	.theme-product-info {
		grid-column: span 5 / span 5;
		position: sticky;
		top: 7rem;
		align-self: start;
	}
	body.admin-bar .theme-product-info { top: calc(7rem + 32px); }
}

.theme-product-main-image-wrap {
	position: relative;
	border-radius: 1rem;
	overflow: hidden;
	background: var(--color-secondary);
	aspect-ratio: 4 / 5;
}
@media (min-width: 1024px) {
	.theme-product-main-image-wrap { aspect-ratio: 5 / 6; }
}
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; max-width: 100%; }
.theme-product-thumb { width: 4.5rem; height: 4.5rem; border-radius: 0.5rem; overflow: hidden; position: relative; border: 2px solid transparent; opacity: 0.7; transition: opacity 0.2s ease, border-color 0.2s ease; flex-shrink: 0; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--color-foreground); }
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.product-cat-label { display: block; }
.product-title {
	margin-top: 0.75rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 2.25rem;
	line-height: 1.05;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 640px) { .product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.75rem; } }
.product-tagline { margin-top: 1rem; font-style: italic; color: var(--color-muted-foreground); }
.theme-separator { border: none; border-top: 1px solid var(--color-border); margin: 1.5rem 0; }
.product-description {
	margin: 0;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	line-height: 1.625;
	overflow-wrap: break-word;
	word-break: break-word;
}

.product-price-qty-row {
	margin-top: 2rem;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}
.product-size-label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-muted-foreground);
	margin: 0;
}
.product-price {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0.25rem 0 0;
	font-variant-numeric: tabular-nums;
}
.product-price .woocommerce-Price-amount { font-size: inherit; }
.product-price del { color: var(--color-muted-foreground); margin-right: 0.5em; font-size: 0.85em; }
.product-price ins { text-decoration: none; }
.product-stock-badge { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--color-foreground); color: var(--color-background); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; }
.theme-quantity-wrapper button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	transition: color 0.2s ease;
}
.theme-quantity-wrapper button:hover { color: var(--color-accent); }
.theme-qty-display {
	padding: 0 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
.theme-qty-input { display: none; }

.single-product .theme-add-to-cart-area {
	display: block;
	margin-top: 1.5rem;
}
.single-product .single-product-add-btn {
	width: 100%;
	min-height: 2.5rem !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
}
.single-product .single-product-add-btn:hover {
	transform: translateY(-2px);
	opacity: 0.88;
}

.product-accordion { margin-top: 2rem; }
.product-accordion .accordion-trigger {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}
.product-accordion .accordion-content-inner { line-height: 1.625; }
.product-ingredients { font-size: 0.875rem; }
.good-for-list { margin: 0; padding-left: 1.25rem; color: var(--color-muted-foreground); }
.good-for-list li { margin-bottom: 0.25rem; }
.product-disclaimer { margin-top: 2rem; font-size: 0.75rem; font-style: italic; color: var(--color-muted-foreground); line-height: 1.625; }

.related-products-section { margin-top: 6rem; }
.related-products-heading {
	margin-top: 0.75rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1.1;
}
@media (min-width: 640px) { .related-products-heading { font-size: 1.875rem; } }
@media (min-width: 1024px) { .related-products-heading { font-size: 2.25rem; } }
.related-products-grid {
	margin-top: 2.5rem;
	grid-template-columns: 1fr;
	column-gap: 1.5rem;
	row-gap: 2.5rem;
}
@media (min-width: 640px) {
	.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.related-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .product_meta,
.single-product .woocommerce-product-gallery,
.single-product form.cart { display: none !important; }

/* ---------------------------------------------------------------------
 * 19. ADD TO CART BUTTON OVERRIDE (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; }

/* Card compact quick-add button — overrides global rules above (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
}

/* Hide "View cart" injected by WooCommerce after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Scoped, non-global notices (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 {
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	background: var(--color-secondary);
	color: var(--color-foreground);
	padding: 1rem 1.25rem;
	font-size: 0.875rem;
	list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: #ca2121; color: #ca2121; background: color-mix(in srgb, #ca2121 8%, var(--color-background)); }

/* ---------------------------------------------------------------------
 * 20. ARCHIVE
 * ------------------------------------------------------------------- */
.archive-product-main { padding: 7rem 0 5rem; }
.archive-product-grid { margin-top: 2rem; }
.woocommerce-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; list-style: none; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--color-border); font-size: 0.875rem; }
.woocommerce-pagination .current { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

/* ---------------------------------------------------------------------
 * 21. SIDE CART DRAWER
 * ------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: rgb(0 0 0 / 0.6); z-index: 150;
	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; bottom: 0; z-index: 151;
	width: 100%; max-width: 28rem; background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.5s var(--ease-expo-out);
}
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 1.5rem 1rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-family: var(--font-display); font-size: 1.5rem; }
.theme-cart-drawer-close { padding: 0.25rem; }

.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.5rem; gap: 1rem; color: var(--color-muted-foreground); }

.theme-cart-drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-line { display: flex; gap: 1rem; }
.theme-cart-line-img { flex-shrink: 0; display: block; width: 5rem; height: 6rem; border-radius: 0.5rem; overflow: hidden; }
.theme-cart-line-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-line-body { flex: 1; min-width: 0; }
.theme-cart-line-top { display: flex; justify-content: space-between; gap: 0.5rem; }
.theme-cart-line-name { font-family: var(--font-display); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-line-name:hover { color: var(--color-accent); }
.theme-cart-line-remove { color: var(--color-muted-foreground); flex-shrink: 0; }
.theme-cart-line-remove:hover { color: var(--color-foreground); }
.theme-cart-line-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-line-bottom { margin-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; }
.theme-cart-line-qty { padding: 0 0.75rem; font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.theme-cart-line-total { font-weight: 600; font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.theme-cart-drawer-footer { border-top: 1px solid var(--color-border); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-value { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-footer-links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.theme-cart-continue-link, .theme-cart-empty-link { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); display: inline-flex; align-items: center; gap: 0.375rem; }
.theme-cart-continue-link:hover { color: var(--color-foreground); }
.theme-cart-empty-link:hover { color: #ca2121; }

/* ---------------------------------------------------------------------
 * 22. CHECKOUT BLOCK
 * ------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}
.generic-page-inner { padding: 2rem 0 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { font-size: 2.25rem; margin-bottom: 2rem; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		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-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-surface-soft);
	border-radius: var(--card-radius);
	padding: 2rem;
}
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);
	font-size: 1rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: 2px solid color-mix(in srgb, var(--color-accent) 50%, transparent);
	outline-offset: 2px;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: var(--btn-text-transform) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	font-size: var(--btn-font-size) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}

.woocommerce-cart .cart-empty, .woocommerce-account .woocommerce-MyAccount-content { font-family: var(--font-body); }

/* ---------------------------------------------------------------------
 * 23. THANK YOU PAGE
 * ------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; font-family: var(--font-display); }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem; background: var(--color-secondary); border-radius: var(--card-radius); }
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 th,
body.theme-thankyou-page .woocommerce-order-details 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; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }

/* =========================================================================
   24. GENERIC PAGE
   ========================================================================= */
.generic-content, .generic-page { padding-top: var(--header-height); }
.page-title { font-size: 2.25rem; margin: 0 0 1.5rem; }
