/* ==========================================================================
   Nicole Designs — theme.css
   Colors are emitted as CSS variables via wp_add_inline_style (inc/customizer.php)
   and read here as var(--color-*). Do not hardcode brand hex values.
   ========================================================================== */

:root {
	--color-background: #faf8f5;
	--color-foreground: #173335;
	--color-primary: #2c5f63;
	--color-primary-foreground: #fcfaf8;
	--color-linen: #f3ebe2;
	--color-bone: #e8d8c8;
	--color-teal-deep: #1e3f43;
	--color-gold: #d4a359;
	--color-muted: #f0e8df;
	--color-muted-foreground: #556b6d;
	--color-destructive: #b8402e;
	--shadow-soft: 0 4px 20px -8px color-mix(in srgb, var(--color-foreground) 16%, transparent);
	--shadow-elevated: 0 20px 50px -18px color-mix(in srgb, var(--color-foreground) 30%, transparent);
}

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: 'Switzer', system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: 'ss01', 'cv11';
}
img { max-width: 100%; height: auto; display: block; }
img.cover-img { max-width: none; height: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Newsreader', Georgia, serif;
	letter-spacing: -0.012em;
	font-weight: 300; /* Tailwind preflight parity — never rely on browser bold default */
	margin: 0;
}

section[id] { scroll-margin-top: 80px; }

body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-account,
body.is-inner-page {
	background-color: var(--color-background);
	color: var(--color-foreground);
}

.container-wide {
	width: 100%;
	max-width: 80rem; /* Tailwind max-w-7xl */
	margin-inline: auto;
	padding-inline: 1.25rem; /* px-5 */
}
@media (min-width: 640px) { .container-wide { padding-inline: 1.5rem; } } /* sm:px-6 */
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } } /* lg:px-10 */

.theme-nowrap { white-space: nowrap; }
.theme-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 500;
	margin: 0 0 1.25rem;
}
.theme-pull-quote {
	margin-top: 2rem;
	font-family: 'Newsreader', Georgia, serif;
	font-weight: 300;
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.35;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	border-left: 2px solid var(--color-gold);
	padding-left: 1.25rem;
}
@media (min-width: 768px) { .theme-pull-quote { font-size: 1.5rem; } }

.theme-prose { max-width: 65ch; }
.theme-prose p { font-size: 0.9375rem; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin: 0 0 1.25rem; }
.theme-prose p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .theme-prose p { font-size: 1rem; } }

/* ---------------- Section headings (per-section scales, Section 2.2 #5) ---------------- */
.section-heading { line-height: 1.06; color: var(--color-foreground); font-weight: 300; }
.about-section__heading, .founder-section__heading {
	font-size: 2.25rem;
}
@media (min-width: 768px) { .about-section__heading, .founder-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading, .founder-section__heading { font-size: 3.4rem; } }

.offerings-section__heading, .shop-heading, .contact-title {
	font-size: 2.25rem;
}
@media (min-width: 768px) { .offerings-section__heading, .shop-heading, .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .offerings-section__heading { font-size: 3.2rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.2rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.4rem; } }

.theme-faq-grid__side .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .theme-faq-grid__side .section-heading { font-size: 3rem; } }

/* ---------------- Buttons ---------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: none;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	height: 2.75rem;
	padding: 0 1.5rem;
}
.theme-btn--lg { height: 3rem; padding: 0 1.75rem; }
.theme-btn--sm { height: 2.25rem; padding: 0 1rem; }
.theme-btn--full { width: 100%; }
.theme-btn--primary {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn--primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); }
.theme-btn--secondary {
	background: rgba(255,255,255,0.1);
	color: #fff;
	border-color: rgba(255,255,255,0.4);
	backdrop-filter: blur(6px);
}
.theme-btn--secondary:hover { background: rgba(255,255,255,0.2); }
.theme-btn--outline {
	background: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.theme-btn--outline:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.theme-btn--ghost { background: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); border-color: transparent; }
.theme-btn--ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-btn:disabled { opacity: 0.6; pointer-events: none; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }

.theme-anim-fade-in { animation: theme-fade-in 0.7s ease-out both; }
.theme-anim-slide-in { animation: theme-slide-in-bottom 0.7s ease-out both; }

[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { transition-duration: 1ms !important; }
	.theme-marquee__track { animation: none !important; }
}

/* Customizer preview: never leave content invisible while editing (Section 2.1 #5). */
body.is-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 50;
}
.site-header__bar {
	transition: background-color 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
	background: transparent;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid .site-header__bar,
.site-header.is-menu-open .site-header__bar {
	background: color-mix(in srgb, var(--color-background) 75%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.site-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
}
@media (min-width: 1024px) {
	.site-header__row { height: 5rem; display: grid; grid-template-columns: 1fr auto 1fr; }
}

.site-header__menu-toggle {
	order: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border-radius: 9999px;
	color: #fff;
	transition: color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-solid .site-header__menu-toggle { color: var(--color-foreground); }
.site-header__menu-toggle:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.site-header.is-solid .site-header__menu-toggle:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__logo-link {
	order: 2;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	height: var(--logo-height, 20px);
}
@media (min-width: 1024px) { .site-header__logo-link { order: 1; justify-self: start; } }
.site-header__logo {
	height: 100% !important;
	width: auto !important;
	max-height: none !important;
	display: block;
	object-fit: contain;
}
.site-header__logo--light { display: none; }
.site-header.is-solid .site-header__logo--dark { display: block; }
.site-header.is-solid .site-header__logo--light { display: none; }
.site-header:not(.is-solid) .site-header__logo--dark { display: none; }
.site-header:not(.is-solid) .site-header__logo--light { display: block; }
.site-logo-text { font-family: 'Newsreader', Georgia, serif; font-size: 1.25rem; color: #fff; }
.site-header.is-solid .site-logo-text { color: var(--color-foreground); }

.site-header__nav { display: none; order: 3; justify-self: center; }
@media (min-width: 1024px) { .site-header__nav { display: flex; order: 2; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
.theme-nav-link {
	position: relative;
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255,255,255,0.85);
	transition: color 0.3s ease;
	padding-bottom: 0.375rem;
}
.theme-nav-link:hover { color: #fff; }
.theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	bottom: -0.375rem;
	height: 2px;
	border-radius: 9999px;
	background: #fff;
	opacity: 0;
	transform: scaleX(0);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.theme-nav-link.is-active { color: #fff; }
.theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }
.site-header.is-solid .theme-nav-link { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-header.is-solid .theme-nav-link:hover { color: var(--color-primary); }
.site-header.is-solid .theme-nav-link.is-active { color: var(--color-primary); }
.site-header.is-solid .theme-nav-link::after { background: var(--color-primary); }
.site-header.is-solid .theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.site-header__actions { order: 3; justify-self: end; display: flex; align-items: center; gap: 0.5rem; }
.site-header__cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border-radius: 9999px;
	color: #fff;
	transition: color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-solid .site-header__cart-btn { color: var(--color-foreground); }
.site-header__cart-btn:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.site-header.is-solid .site-header__cart-btn:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.theme-cart-count {
	position: absolute; top: -0.125rem; right: -0.125rem;
	background: var(--color-gold);
	color: var(--color-foreground);
	font-size: 0.75rem; font-weight: 500;
	min-width: 1.125rem; height: 1.125rem;
	padding: 0 0.25rem;
	border-radius: 9999px;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-menu {
	display: none;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(20px);
}
.site-header__mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s ease-out; }
@media (min-width: 1024px) { .site-header__mobile-menu { display: none !important; } }
.site-header__mobile-menu-inner { padding-block: 1rem; display: flex; flex-direction: column; }
.theme-mobile-nav-list { display: flex; flex-direction: column; }
.theme-mobile-nav-link {
	text-align: left;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-mobile-nav-list a:last-child { border-bottom: none; }
.theme-mobile-nav-link:hover { color: var(--color-primary); }

/* Home hero fills viewport under fixed header (Section 22.7) */
body:not(.theme-no-hero) .theme-page-main { padding-top: 0; }
body.theme-no-hero .theme-page-main,
body.theme-no-hero .single-product-page,
body.theme-no-hero .theme-archive-page,
body.theme-no-hero .theme-404-page,
body.theme-no-hero .theme-generic-page {
	padding-top: 6rem;
}
@media (min-width: 1024px) {
	body.theme-no-hero .theme-page-main,
	body.theme-no-hero .single-product-page,
	body.theme-no-hero .theme-archive-page {
		padding-top: 7rem;
	}
}

/* ==========================================================================
   HERO
   ========================================================================== */
.theme-hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.theme-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__scrim-radial {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(at center, color-mix(in srgb, var(--color-teal-deep) 42%, transparent) 0%, color-mix(in srgb, var(--color-teal-deep) 62%, transparent) 70%, color-mix(in srgb, var(--color-teal-deep) 84%, transparent) 100%);
}
.theme-hero__scrim-teal { position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--color-teal-deep) 40%, transparent); }
.theme-hero__content {
	position: relative; z-index: 10;
	text-align: center; color: #fff;
	padding-top: 8rem; padding-bottom: 6rem;
}
@media (min-width: 1024px) { .theme-hero__content { padding-top: 11rem; padding-bottom: 8rem; } }
.theme-hero__eyebrow {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
	font-size: 0.75rem; letter-spacing: 0.38em; text-transform: uppercase;
	color: rgba(255,255,255,0.85); font-weight: 500; margin: 0 0 1.75rem;
}
.theme-eyebrow-line { height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-gold) 80%, transparent); }
.theme-hero__heading {
	font-family: 'Newsreader', Georgia, serif;
	font-weight: 300;
	color: #fff;
	line-height: 1.06;
	margin: 0 auto;
	max-width: 56rem;
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
	font-size: 2.2rem;
}
@media (min-width: 480px) { .theme-hero__heading { font-size: 3rem; } }
@media (min-width: 768px) { .theme-hero__heading { font-size: 3.6rem; } }
@media (min-width: 1024px) { .theme-hero__heading { font-size: 4.4rem; } }
.theme-hero__line-break { display: none; }
@media (min-width: 640px) { .theme-hero__line-break { display: block; } }

.theme-hash-alias {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
	scroll-margin-top: 80px;
}
.theme-shop-section { position: relative; }
.theme-hero__subtext { margin-top: 1.5rem; max-width: 42rem; margin-inline: auto; font-size: 0.9375rem; color: rgba(255,255,255,0.9); line-height: 1.6; }
@media (min-width: 640px) { .theme-hero__subtext { font-size: 1.0625rem; } }
.theme-hero__subtext-2 { margin-top: 1rem; max-width: 36rem; margin-inline: auto; font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.theme-hero__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; gap: 1rem; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.theme-about-section { background: var(--color-linen); padding-block: 6rem; }
@media (min-width: 768px) { .theme-about-section { padding-block: 8rem; } }
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.theme-about-grid__right { align-self: start; }
@media (min-width: 1024px) { .theme-about-grid__right { padding-left: 1.5rem; } }
.theme-pillars-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-pillar-card {
	border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: var(--color-background);
	padding: 1.5rem;
	transition: border-color 0.3s ease;
}
.theme-pillar-card:hover { border-color: var(--color-gold); }
.theme-pillar-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	color: var(--color-primary);
	margin-bottom: 1rem;
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.theme-pillar-card:hover .theme-pillar-card__icon { transform: rotate(20deg); border: 1px solid var(--color-gold); }
.theme-pillar-card__title { font-size: 1.125rem; font-weight: 300; margin: 0 0 0.5rem; }
.theme-pillar-card__body { font-size: 0.8125rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin: 0; }

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.theme-founder-section { background: var(--color-background); padding-block: 6rem; }
@media (min-width: 768px) { .theme-founder-section { padding-block: 8rem; } }
.theme-founder-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-founder-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.theme-founder-grid__image { display: flex; position: relative; }
.theme-founder-portrait {
	position: relative; width: 100%; min-height: 32.5rem;
	aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1rem;
	background: var(--color-bone);
	box-shadow: var(--shadow-elevated, 0 20px 50px -18px rgba(20,50,50,0.3));
}
@media (min-width: 1024px) {
	.theme-founder-portrait {
		min-height: 0;
		aspect-ratio: auto;
		height: 100%;
		flex: 1;
	}
}
.theme-founder-portrait__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.theme-founder-portrait__badge-top {
	position: absolute; top: 1rem; left: 1rem;
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.25rem 0.75rem; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.theme-founder-portrait__dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--color-gold); }
.theme-founder-portrait__badge-bottom {
	position: absolute; bottom: 1rem; right: 1rem;
	padding: 0.375rem 0.75rem; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
	color: var(--color-foreground);
	font-size: 0.75rem; font-weight: 500;
	box-shadow: 0 10px 20px -10px rgba(0,0,0,0.3);
}
.theme-prose--spaced { margin-top: 2.5rem; }
.theme-stats-row {
	margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	padding-top: 2rem;
}
.theme-stat__value { font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-size: 1.5rem; color: var(--color-primary); margin: 0; }
@media (min-width: 768px) { .theme-stat__value { font-size: 1.875rem; } }
.theme-stat__label { margin-top: 0.25rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.4; }

/* ==========================================================================
   SHOP
   ========================================================================== */
.theme-shop-section { background: var(--color-background); padding-block: 6rem; }
@media (min-width: 768px) { .theme-shop-section { padding-block: 8rem; } }
.theme-shop-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .theme-shop-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-shop-header__copy { max-width: 42rem; }
.theme-shop-header__subtext { margin-top: 1.25rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 36rem; }
@media (min-width: 768px) { .theme-shop-header__subtext { font-size: 0.9375rem; } }
.theme-shop-search { position: relative; width: 100%; }
@media (min-width: 1024px) { .theme-shop-search { width: 20rem; } }
.theme-shop-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-shop-search input {
	width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem;
	border-radius: 9999px; background: var(--color-linen);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	font-size: 0.875rem; color: var(--color-foreground);
}
.theme-shop-search input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-shop-search input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

.theme-shop-filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.theme-cat-filter {
	padding: 0 1.25rem; height: 2.5rem; border-radius: 9999px;
	font-size: 0.875rem; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	background: transparent;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.theme-cat-filter:hover { border-color: var(--color-gold); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-shop-empty { text-align: center; padding-block: 5rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-shop-empty[hidden] { display: none; }

.theme-product-grid { display: grid; grid-template-columns: 1fr; column-gap: 1.5rem; row-gap: 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-shop-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 1023px) { .theme-product-grid--related { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.theme-shop-viewmore { margin-top: 3rem; display: flex; justify-content: center; }

/* ---------------- Product card ---------------- */
.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; width: 100%; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1;
	background: var(--color-linen);
	border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem;
}
.theme-card-link { position: absolute; inset: 0; z-index: 1; }
.theme-product-card__image {
	position: absolute; inset: 0; width: 100%; height: 100% !important;
	max-height: none !important;
	object-fit: cover; pointer-events: none;
	transition: transform 1.4s cubic-bezier(0.22,0.61,0.36,1);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image-wrapper::after {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 35%, transparent), transparent 60%);
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper::after { opacity: 1; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	background: var(--color-foreground); color: var(--color-background);
	font-size: 0.6875rem; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 9999px;
}
.theme-product-card__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 2rem; height: 2rem; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	opacity: 0; transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__nav { opacity: 1; }
.theme-product-card__nav:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__nav--prev { left: 0.5rem; }
.theme-product-card__nav--next { right: 0.5rem; }
.theme-product-card__dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1; display: flex; gap: 0.25rem; pointer-events: none; }
.theme-product-card__dot { height: 0.25rem; width: 0.25rem; border-radius: 9999px; background: color-mix(in srgb, var(--color-background) 60%, transparent); transition: width 0.3s ease, background-color 0.3s ease; }
.theme-product-card__dot.is-active { width: 1rem; background: var(--color-background); }

.theme-product-card__quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 2;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart,
.theme-product-card__add-btn.theme-product-card__select-options {
	flex: 1; display: inline-flex !important; align-items: center; justify-content: center; gap: 0.5rem;
	height: 2.5rem !important; border-radius: 9999px !important;
	background: color-mix(in srgb, var(--color-background) 95%, transparent) !important;
	backdrop-filter: blur(4px);
	color: var(--color-foreground) !important;
	font-size: 0.875rem !important; font-weight: 500 !important;
	border: none !important; min-height: unset !important; padding: 0 1rem !important;
	transition: background-color 0.3s ease, color 0.3s ease;
	pointer-events: auto;
	text-decoration: none !important;
	box-shadow: 0 1px 2px color-mix(in srgb, var(--color-foreground) 8%, transparent);
}
.theme-product-card__add-btn.add_to_cart_button:hover,
.theme-product-card__add-btn.theme-product-card__select-options:hover {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.theme-product-card__view-btn {
	width: 2.5rem; height: 2.5rem; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	transition: background-color 0.3s ease, color 0.3s ease;
	pointer-events: auto;
}
.theme-product-card__view-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__info { display: block; padding-inline: 0.125rem; flex: 1; }
.theme-product-card__category { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin: 0 0 0.375rem; font-weight: 500; }
.theme-product-card__name {
	font-size: 1.15rem; line-height: 1.35; color: var(--color-foreground);
	font-weight: 300; transition: color 0.3s ease; margin: 0;
}
@media (min-width: 768px) { .theme-product-card__name { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__name { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.theme-marquee { background: var(--color-primary); padding-block: 1.25rem; overflow: hidden; }
.theme-marquee__track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; width: max-content; }
.theme-marquee__item {
	display: flex; align-items: center; flex-shrink: 0;
	color: color-mix(in srgb, var(--color-primary-foreground) 95%, transparent);
	font-family: 'Newsreader', Georgia, serif; font-weight: 300;
	font-size: 1.125rem; letter-spacing: 0.02em;
}
@media (min-width: 768px) { .theme-marquee__item { font-size: 1.25rem; } }
.theme-marquee__item span:first-child { margin-inline: 1.5rem; }
@media (min-width: 768px) { .theme-marquee__item span:first-child { margin-inline: 2rem; } }
.theme-marquee__dot { color: var(--color-gold); font-size: 0.875rem; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.theme-services-section { background: var(--color-background); padding-block: 6rem; }
@media (min-width: 768px) { .theme-services-section { padding-block: 8rem; } }
.theme-services-header { max-width: 48rem; margin-bottom: 3.5rem; }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; } }
.theme-service-card {
	background: var(--color-linen);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-radius: 1rem; overflow: hidden;
	display: flex; flex-direction: column;
	transition: border-color 0.3s ease;
	padding: 2rem;
}
.theme-service-card:hover { border-color: var(--color-gold); }
.theme-service-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
	margin-bottom: 1.5rem;
}
.theme-service-card__title { font-size: 1.5rem; font-weight: 300; margin: 0 0 0.75rem; }
.theme-service-card__body { font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin: 0; }
.theme-services-cta { margin-top: 3rem; display: flex; justify-content: center; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.theme-faq-section { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding-block: 6rem; }
@media (min-width: 768px) { .theme-faq-section { padding-block: 8rem; } }
.theme-faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-faq-grid { grid-template-columns: 4fr 8fr; } }
.theme-faq-subtext { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 24rem; }
@media (min-width: 768px) { .theme-faq-subtext { font-size: 0.9375rem; } }
.theme-faq-card {
	display: none;
	margin-top: 2.5rem;
	position: relative; overflow: hidden;
	border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: var(--color-background); padding: 1.75rem;
}
@media (min-width: 1024px) { .theme-faq-card { display: block; } }
.theme-faq-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
	margin-bottom: 1.25rem;
}
.theme-faq-card__title { font-size: 1.5rem; font-weight: 300; line-height: 1.35; margin: 0 0 0.5rem; }
.theme-faq-card__body { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; margin: 0 0 1.5rem; }

.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-item__question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding-block: 1.25rem; text-align: left;
	font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-size: 1.125rem; line-height: 1.4;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .theme-faq-item__question { font-size: 1.25rem; } }
.theme-faq-item__icon { flex-shrink: 0; color: var(--color-primary); position: relative; width: 1.25rem; height: 1.25rem; }
.theme-faq-item__icon::before, .theme-faq-item__icon::after {
	content: ''; position: absolute; background: currentColor; border-radius: 2px;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.theme-faq-item__icon::before { width: 14px; height: 2px; }
.theme-faq-item__icon::after { width: 2px; height: 14px; transition: transform 0.25s ease, opacity 0.25s ease; }
.theme-faq-item.is-open .theme-faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.theme-faq-item__answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.theme-faq-item.is-open .theme-faq-item__answer-wrap { grid-template-rows: 1fr; }
.theme-faq-item__answer { overflow: hidden; }
.theme-faq-item__answer p { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 42rem; margin: 0; }
@media (min-width: 768px) { .theme-faq-item__answer p { font-size: 0.9375rem; } }

/* ==========================================================================
   PRE-CONTACT CTA
   ========================================================================== */
.theme-precta { position: relative; overflow: hidden; }
.theme-precta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-precta__scrim-radial {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(at center, color-mix(in srgb, var(--color-teal-deep) 42%, transparent) 0%, color-mix(in srgb, var(--color-teal-deep) 62%, transparent) 70%, color-mix(in srgb, var(--color-teal-deep) 84%, transparent) 100%);
}
.theme-precta__scrim-teal { position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--color-teal-deep) 45%, transparent); }
.theme-precta__content { position: relative; z-index: 10; text-align: center; color: #fff; padding-block: 7rem; }
@media (min-width: 768px) { .theme-precta__content { padding-block: 10rem; } }
.theme-precta__heading {
	font-family: 'Newsreader', Georgia, serif; font-weight: 300; color: #fff;
	line-height: 1.06; margin: 0 auto; max-width: 56rem;
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
	font-size: 2rem;
}
@media (min-width: 480px) { .theme-precta__heading { font-size: 2.75rem; } }
@media (min-width: 1024px) { .theme-precta__heading { font-size: 4rem; } }
.theme-precta__heading em { font-style: italic; }
.theme-precta__subtext { margin-top: 1.75rem; max-width: 36rem; margin-inline: auto; font-size: 0.9375rem; color: rgba(255,255,255,0.85); line-height: 1.6; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.theme-contact-section { background: var(--color-linen); padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .theme-contact-section { padding-top: 8rem; padding-bottom: 4rem; } }
.theme-contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-contact-grid__left { display: flex; flex-direction: column; height: 100%; }
.theme-contact-body { margin-top: 1.5rem; font-size: 0.9375rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 32rem; }
.theme-contact-email-list { margin-top: 2.5rem; }
.theme-contact-email { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-contact-email:hover { color: var(--color-primary); }
.theme-contact-email__icon {
	width: 2.75rem; height: 2.75rem; border-radius: 9999px;
	background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: inline-flex; align-items: center; justify-content: center;
	transition: border-color 0.2s ease;
}
.theme-contact-email:hover .theme-contact-email__icon { border-color: var(--color-gold); }
.theme-contact-email__text { display: flex; flex-direction: column; text-align: left; }
.theme-contact-email__label { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-contact-email__value { font-size: 0.9375rem; font-weight: 500; word-break: break-all; }

.theme-contact-bullets { margin-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-contact-bullets li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.theme-contact-bullets__dot { margin-top: 0.5rem; width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--color-gold); flex-shrink: 0; }

.theme-contact-quote-card {
	margin-top: auto; padding-top: 2.5rem;
}
.theme-contact-quote-card {
	position: relative; border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: color-mix(in srgb, var(--color-background) 70%, transparent);
	padding: 1.5rem;
}
@media (min-width: 768px) { .theme-contact-quote-card { padding: 1.75rem; } }
.theme-contact-quote-card__badge {
	position: absolute; top: -0.75rem; left: 1.5rem;
	display: inline-flex; align-items: center; gap: 0.375rem;
	padding: 0.25rem 0.75rem; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.theme-contact-quote-card__quote {
	font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 300;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	font-size: 1.125rem; line-height: 1.35;
	border-left: 2px solid var(--color-gold); padding-left: 1.25rem; margin: 0;
}
@media (min-width: 768px) { .theme-contact-quote-card__quote { font-size: 1.25rem; } }
.theme-contact-quote-card__author { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.theme-contact-form {
	background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-radius: 1rem; padding: 1.5rem;
	box-shadow: var(--shadow-soft, 0 4px 20px -8px rgba(20,50,50,0.16));
	height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) { .theme-contact-form { padding: 2rem; } }
.theme-contact-form__fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: 1fr 1fr; } }
.theme-form-group { display: flex; flex-direction: column; }
.theme-form-group--grow { flex: 1; }
.theme-form-group label { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.theme-form-group input, .theme-form-group select, .theme-form-group textarea {
	width: 100%; height: 3rem; padding: 0 1rem;
	background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0.375rem; font-size: 0.875rem; color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.theme-form-group textarea { height: auto; min-height: 200px; padding-block: 0.75rem; resize: none; flex: 1; }
.theme-form-group input::placeholder, .theme-form-group textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-form-group input:focus, .theme-form-group select:focus, .theme-form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-form-group select {
	cursor: pointer; appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556b6d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 14px 14px;
	padding-right: 2.5rem;
}
.theme-contact-form__actions { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.theme-contact-form__note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); text-align: center; margin: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.site-footer__inner { padding-block: 3.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: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__logo-link {
	display: inline-flex;
	align-items: center;
	height: var(--logo-height, 20px);
}
.site-footer__logo {
	height: 100% !important;
	width: auto !important;
	max-height: none !important;
	object-fit: contain;
}
.site-footer__about { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 20rem; }
.site-footer__social { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; }
.site-footer__social:hover { color: var(--color-primary); }
.site-footer__heading { font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-size: 1.125rem; margin: 0 0 1rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__list a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); transition: color 0.2s ease; }
.site-footer__list a:hover { color: var(--color-primary); }
.site-footer__email { display: inline-flex; align-items: flex-start; gap: 0.5rem; word-break: break-all; }
.site-footer__bottom {
	margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
	font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__credit { transition: color 0.2s ease; }
.site-footer__credit:hover { color: var(--color-primary); }

/* ==========================================================================
   CART DRAWER + OVERLAY
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55;
	background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 60;
	box-shadow: var(--shadow-elevated, 0 20px 50px -18px rgba(20,50,50,0.3));
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
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 color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__title { font-size: 1.5rem; margin: 0; }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 9999px; transition: background-color 0.2s ease; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.theme-cart-drawer__empty p { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); font-size: 0.875rem; margin: 0; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-bone); border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; }
.theme-cart-item__image img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s ease; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__price { margin-top: 0.125rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-item__variation { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-bone); }
.theme-cart-item__qty { font-size: 0.8125rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-destructive); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: flex; flex-direction: column; gap: 1rem; background: color-mix(in srgb, var(--color-linen) 40%, transparent); }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0; }

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.theme-promo-banner {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 45;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 1rem; box-shadow: var(--shadow-elevated, 0 20px 50px -18px rgba(20,50,50,0.3));
	padding: 1rem 1.25rem;
	display: flex; align-items: flex-start; gap: 0.75rem;
	opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease;
	pointer-events: none;
}
.theme-promo-banner.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (min-width: 640px) { .theme-promo-banner { left: auto; max-width: 26rem; } }
.theme-promo-banner__text { flex: 1; font-size: 0.8125rem; line-height: 1.5; margin: 0; }
@media (min-width: 640px) { .theme-promo-banner__text { font-size: 0.9375rem; } }
.theme-promo-banner__code { font-weight: 600; color: var(--color-foreground); background: var(--color-gold); padding: 0.125rem 0.375rem; border-radius: 0.25rem; }
.theme-promo-banner__close { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 9999px; color: inherit; transition: background-color 0.2s ease; }
.theme-promo-banner__close:hover { background: rgba(255,255,255,0.1); }

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */
.single-product-page { padding-block: 1.5rem 5rem; }
.theme-breadcrumb { padding-block: 1.5rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.theme-breadcrumb__sep { margin-inline: 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; width: 100%; background: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { aspect-ratio: 1 / 1; background: var(--color-linen); border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s ease; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-category { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; margin: 0 0 0.75rem; }
.product-title.theme-product-title { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 1.875rem; line-height: 1.05; margin: 0 0 1rem; letter-spacing: -0.012em; }
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.6rem; } }
.theme-product-price { font-size: 1.25rem; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin: 0 0 1.75rem; }
.theme-product-price ins { text-decoration: none; }
.theme-product-price del { opacity: 0.5; margin-right: 0.5rem; }
.theme-product-stock--out { display: inline-block; margin-bottom: 1rem; font-size: 0.8125rem; font-weight: 500; color: var(--color-destructive); }
.theme-product-description { font-size: 0.9375rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p:first-child { margin-top: 0; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 9999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 2.75rem; text-align: center; font-size: 0.875rem; font-weight: 500; border: none; background: transparent; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-qty-block { margin-bottom: 1.5rem; }
.theme-product-qty-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0 0 0.625rem; }
.theme-product-cta-row,
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; margin: 0 0 1.5rem; }
@media (min-width: 640px) {
	.theme-product-cta-row,
	.theme-add-to-cart-area { flex-direction: row; }
}
.theme-product-cta-row .theme-btn,
.theme-product-cta-row .single_add_to_cart_button,
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; width: 100%; }
@media (min-width: 640px) {
	.theme-product-cta-row .theme-btn,
	.theme-product-cta-row .single_add_to_cart_button { width: auto; }
}
.theme-product-trust {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}
.theme-product-trust__item { text-align: center; min-width: 0; }
.theme-product-trust__icon { display: flex; justify-content: center; color: var(--color-primary); margin-bottom: 0.5rem; }
.theme-product-trust__label { font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0; line-height: 1.4; }
.theme-related-products__viewall:hover { color: var(--color-primary); }

.theme-product-details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-details__heading { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0 0 1rem; }
.theme-product-details__body ul { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-details__body li { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; }
.theme-product-details__body li::before { content: ''; width: 0.25rem; height: 0.25rem; background: var(--color-primary); border-radius: 9999px; margin-top: 0.55rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-related-products { padding-top: 5rem; margin-top: 3rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-related-products__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.theme-related-products__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }
.theme-related-products__viewall { display: none; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .theme-related-products__viewall { display: inline-flex; } }

/* Variable product attribute pills (Lovable-style) */
.theme-variation-row { position: relative; margin-bottom: 1.25rem; z-index: 0; }
.theme-variation-label {
	font-family: 'Switzer', system-ui, sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin: 0 0 0.625rem;
	font-weight: 500;
}
.theme-variations { position: relative; z-index: 1; }
.theme-variation-pills {
	display: flex; flex-wrap: wrap; gap: 0.5rem;
	position: relative; z-index: 3;
}
.theme-variation-pill {
	position: relative; z-index: 4;
	pointer-events: auto !important;
	cursor: pointer;
	font-family: 'Switzer', system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	background: var(--color-background);
	color: var(--color-foreground);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-variation-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-variation-pill.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.theme-variation-selects-hidden {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: 0;
	pointer-events: none !important;
	visibility: hidden !important;
	z-index: -1 !important;
}
.theme-variation-select-hidden select {
	pointer-events: none !important;
}
.variations label { font-family: 'Switzer', system-ui, sans-serif; font-weight: 500; font-style: normal; }
.single-product .single_add_to_cart_button { text-transform: none; }

/* ---------------- Add to cart button style 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-primary-foreground) !important;
	border: none !important;
	border-radius: 9999px !important;
	min-height: 3rem !important;
	padding: 0 1.75rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: 'Switzer', system-ui, sans-serif !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 1rem !important;
	border-radius: 9999px !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.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; }

/* ---------------- Variations table layout ---------------- */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* 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 {
	max-width: 60rem; margin: 1.5rem auto; padding: 1rem 1.25rem; border-radius: 0.5rem;
	font-size: 0.875rem; list-style: none;
	background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.woocommerce-error { background: color-mix(in srgb, var(--color-destructive) 10%, var(--color-background)); border-color: var(--color-destructive); color: var(--color-destructive); }

/* ==========================================================================
   ARCHIVE / 404 / GENERIC
   ========================================================================== */
.theme-archive-page { padding-bottom: 5rem; }
.theme-shop-heading { font-size: 2rem; margin-bottom: 2rem; }

.theme-404-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding-block: 6rem; }
.theme-404__inner { text-align: center; max-width: 28rem; padding-inline: 1.5rem; }
.theme-404__code { font-size: 4rem; font-weight: 300; margin-bottom: 1rem; }
.theme-404__text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 2rem; }
.theme-404__link { display: inline-block; color: var(--color-primary); text-decoration: underline; }

/* ==========================================================================
   CHECKOUT (WooCommerce Blocks) — Section 13
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: 6rem; padding-bottom: 4rem; }
body.woocommerce-checkout .page-title { font-size: 2.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { body.woocommerce-checkout .page-title { font-size: 3rem; } }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}

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-checkout__sidebar {
	background-color: var(--color-linen);
	border-radius: 1rem;
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-text-input input,
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 .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select-control__select,
body.woocommerce-checkout select.wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	font-family: 'Switzer', system-ui, sans-serif !important;
	font-size: 0.875rem !important;
	line-height: 1.4 !important;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent) !important;
	border-radius: 0.375rem !important;
	background: var(--color-background) !important;
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
	width: 100% !important;
	max-width: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select-control__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 45%, transparent) !important;
	opacity: 1 !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: 9999px !important;
	border: none !important;
	font-family: 'Switzer', system-ui, sans-serif !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85 !important; }

/* ==========================================================================
   THANK YOU PAGE — Section 22.8
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 6rem; padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-size: 1.75rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 0; margin: 1.5rem 0; }
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; }
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 address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}

/* ==========================================================================
   MISC: cover images completeness list (Section 15.1)
   ========================================================================== */
img.cover-img,
.theme-founder-portrait__img,
.theme-product-main-img,
.theme-product-card__image,
.theme-hero__video,
.theme-precta__video {
	position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; object-fit: cover;
}
.theme-product-main-img { position: absolute; }
img.theme-img-fill,
.theme-cart-item__image img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
}
img:not(.cover-img):not(.theme-founder-portrait__img):not(.theme-product-main-img):not(.theme-product-card__image):not(.theme-img-fill):not(.site-header__logo):not(.site-footer__logo) {
	max-width: 100%; height: auto;
}
