/* =====================================================================
   THE TRUTHFUL PEN — theme.css
   Color tokens: light :root values match src/index.css (HSL → hex).
   Customizer-driven tokens are re-injected from inc/theme-colors.php.
   ===================================================================== */

:root {
	--color-background: #fff8f0;
	--color-foreground: #3a2c35;
	--color-card: #ffffff;
	--color-primary: #e7715f;
	--color-primary-foreground: #fffaf5;
	--color-secondary: #e5f5f1;
	--color-accent: #ca9edb;
	--color-highlight: #fce9b1;
	--color-border: #eee2d8;
	--color-muted: #faf0eb;
	--color-muted-foreground: #725a6a;
	--color-destructive: #df3a3a;
	--color-ink: #2d1a27;
	--color-on-media: #fffaf5;
	--color-coral: #f59c8e;
	--color-butter: #fdecb9;
	--color-mint: #c0edde;
	--color-sky: #bfe5f7;
	--color-lilac: #e4cdf3;
	--color-bubblegum: #faccdd;
	--color-accent-foreground: #2e2229;
	--color-highlight-foreground: #3a2c35;
	--color-logo-blue: #8fc0eb;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Baloo 2', 'Trebuchet MS', sans-serif;
	--font-body: 'Nunito', 'Helvetica Neue', sans-serif;
	--font-condensed: 'Nunito', 'Helvetica Neue', sans-serif;

	--text-11: 0.6875rem;
	--text-15: 0.9375rem;
	--leading-tight: 1.25;
	--leading-snug: 1.375;
	--leading-relaxed: 1.625;

	--radius: 1rem;
	--checkout-max-width: 1280px;
	--checkout-gap: 2rem;
	--checkout-inline-padding: 1.5rem;
	--card-radius: 1.5rem;
	--shadow-soft: 0 8px 28px -12px rgba(45, 26, 39, 0.18);
	--shadow-elevated: 0 18px 48px -16px rgba(45, 26, 39, 0.26);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--btn-radius: 9999px;
	--btn-height: 56px;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.75rem;
	--btn-font-size-11: 0.6875rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--header-height: 92px;
	--logo-height: 44px;
	--logo-height-sm: 36px;
}

.dark {
	/* src/index.css .dark — same HSL → hex conversion */
	--color-background: #21171e;
	--color-foreground: #f9f0e7;
	--color-card: #2c2028;
	--color-primary: #ef7e6c;
	--color-primary-foreground: #271721;
	--color-secondary: #3b2b3b;
	--color-accent: #d4aae4;
	--color-highlight: #ead186;
	--color-border: #4a3a45;
	--color-muted: #372a33;
	--color-muted-foreground: #cec3b6;
	--color-destructive: #e25050;
	--color-coral: #703329;
	--color-butter: #5d4d28;
	--color-mint: #264a41;
	--color-sky: #254156;
	--color-lilac: #462d58;
	--color-bubblegum: #592c3f;
	--color-accent-foreground: #271721;
	--color-highlight-foreground: #271721;
	--color-logo-blue: #9ec8ef;
}

/* --------------------------- RESET / BASE --------------------------- */
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; }
body.nav-open,
body.cart-open { overflow: hidden; }
html { background-color: var(--color-background); scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--color-foreground);
	background-color: var(--color-background);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	transition: background-color .3s var(--transition-smooth), color .3s var(--transition-smooth);
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.hero-slider__img):not(.theme-product-card__img):not(.theme-product-gallery__img):not(.theme-product-thumb img):not(.promo-banner__img):not(.two-up-banner__img):not(.brand-story-section__img):not(.contact-band__img):not(.category-tile__img):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .hero-slider__img, .theme-product-card__img, .theme-product-gallery__img,
.theme-product-thumb img, .promo-banner__img, .two-up-banner__img, .brand-story-section__img,
.contact-band__img, .category-tile__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
.category-tile,
.two-up-banner,
.promo-banner,
.shop-filter__btn,
.shop-filter__option,
.faq-item__q,
.site-footer__links button,
.site-footer__links a,
.theme-nav-list a,
.theme-nav-list button.theme-nav-link,
.theme-product-card__link { cursor: pointer; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin: 0;
}

p, li {
	text-wrap: pretty;
}

:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container-wide { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 1.5rem; min-width: 0; }
@media (min-width: 1024px) {
	.container-wide { padding-inline: 2.5rem; }
	:root { --checkout-inline-padding: 2.5rem; }
}

.label-eyebrow {
	display: block;
	font-size: var(--text-11);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	color: var(--color-primary);
}

.theme-icon { width: 18px; height: 18px; }

/* --------------------------- BUTTONS --------------------------- */
.btn-cta, .btn-solid, .btn-on-media, .btn-on-media-outline, .btn-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 9999px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: uppercase;
	transition: all 0.3s var(--transition-smooth);
	white-space: nowrap;
}
.btn-cta {
	background: var(--color-foreground);
	color: var(--color-background);
	border: 1px solid var(--color-foreground);
	padding: 0.85rem 2rem;
}
.btn-cta:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-foreground); }
.btn-solid {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
	padding: 1rem 2.25rem;
}
.btn-solid:hover { transform: translateY(-2px); }
.btn-on-media {
	background: var(--color-on-media);
	color: var(--color-ink);
	border: 1px solid var(--color-on-media);
	padding: 0.9rem 2rem;
}
.btn-on-media:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-media); }
.btn-on-media-outline {
	background: transparent;
	color: var(--color-on-media);
	border: 1px solid var(--color-on-media);
	padding: 0.9rem 2rem;
}
.btn-on-media-outline:hover { background: var(--color-on-media); color: var(--color-ink); }
.btn-header-cta {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 0.65rem 1.5rem;
	font-family: var(--font-condensed);
	font-size: var(--btn-font-size-11);
	font-weight: 600;
	letter-spacing: 0.22em;
}
.hero-slider__cta { letter-spacing: 0.18em; }
.author-section__cta { letter-spacing: 0.16em; }
.faq-section__sidebar .btn-cta { letter-spacing: 0.16em; }
.contact-band .btn-on-media,
.contact-band .btn-on-media-outline {
	font-size: 0.875rem;
	letter-spacing: 0.14em;
	padding: 1rem 2rem; /* Lovable: px-8 py-4 */
}
.two-up-banner__cta { font-size: var(--btn-font-size-11); letter-spacing: 0.18em; }
.btn-header-cta:hover { transform: translateY(-1px); opacity: 0.92; }

/* --------------------------- ANIMATIONS --------------------------- */
@keyframes marquee-scroll { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-50%,0,0); } }
@keyframes marquee-scroll-reverse { 0% { transform: translate3d(-50%,0,0); } 100% { transform: translate3d(0,0,0); } }
@keyframes theme-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-scale-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes cart-bump { 0% { transform: scale(1); } 35% { transform: scale(1.16); } 70% { transform: scale(0.96); } 100% { transform: scale(1); } }
@keyframes badge-pop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item[data-reveal="scale-in"] { transform: scale(0.92); }
.reveal-item[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal-item[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal-item[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Customizer preview fallback — reveal items must never be stuck hidden while editing. */
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1; transform: none; transition: none; }
	.panel-slide,
	.theme-nav-panel,
	#theme-cart-drawer,
	.theme-nav-list > li {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

.animate-bump { animation: cart-bump 450ms ease-out; }
.animate-pop { animation: badge-pop 320ms ease-out; }

/* --------------------------- SCROLL PROGRESS --------------------------- */
.theme-scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: transparent; pointer-events: none; }
#theme-scroll-progress-bar { display: block; height: 100%; width: 0%; background: var(--color-primary); transform-origin: 0 50%; transition: width 80ms linear; }

/* --------------------------- ANNOUNCEMENT --------------------------- */
.theme-announcement { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--color-ink); color: var(--color-on-media); }
.theme-announcement__inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 32px; padding-block: 6px; }
.theme-announcement__text { font-family: var(--font-condensed); font-size: 0.625rem; letter-spacing: 0.36em; text-transform: uppercase; font-weight: 600; text-align: center; margin: 0; }
@media (max-width: 374px) {
	.theme-announcement__text { font-size: 9px; letter-spacing: 0.2em; }
}
.theme-announcement__close { position: absolute; right: 8px; background: none; border: none; color: inherit; font-size: 16px; line-height: 1; padding: 4px; opacity: 0.8; }
.theme-announcement__close:hover { opacity: 1; }
body.theme-announcement-hidden .theme-announcement { display: none; }

/* --------------------------- HEADER --------------------------- */
.site-header {
	position: fixed;
	left: 0; right: 0; top: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	color: var(--color-on-media);
	transition: background-color .3s ease, border-color .3s ease, color .3s ease, top .2s ease;
}
body.theme-announcement-active .site-header { top: 32px; }

/* WordPress admin bar — keep fixed header and announcement below it in preview / logged-in views */
body.admin-bar .theme-announcement { top: 32px; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar.theme-announcement-active .site-header { top: 64px; }
@media screen and (max-width: 782px) {
	body.admin-bar .theme-announcement { top: 46px; }
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar.theme-announcement-active .site-header { top: 78px; }
}
.site-header::before {
	content: '';
	position: absolute; inset: 0 0 auto 0; height: 180%;
	background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.2), transparent);
	pointer-events: none; opacity: 1; transition: opacity .3s ease;
}
.site-header.is-solid,
body.nav-open .site-header { background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(10px); border-color: var(--color-border); color: var(--color-foreground); box-shadow: 0 2px 18px rgba(0,0,0,0.06); }
.site-header.is-solid::before,
body.nav-open .site-header::before { opacity: 0; }
html[data-scrolled="true"] .site-header { background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(10px); border-color: var(--color-border); color: var(--color-foreground); }
html[data-scrolled="true"] .site-header::before { opacity: 0; }
/* Lovable: transparent home header only on md+ at top of page */
@media (max-width: 767px) {
	body.theme-home .site-header:not(.is-solid) {
		background: color-mix(in srgb, var(--color-background) 95%, transparent);
		backdrop-filter: blur(10px);
		border-color: var(--color-border);
		color: var(--color-foreground);
	}
	body.theme-home .site-header:not(.is-solid)::before { opacity: 0; }
}

.site-header__nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; height: 92px; transition: height .3s ease; min-width: 0; }
.site-header.is-solid .site-header__nav { height: 72px; }
@media (min-width: 768px) {
	.site-header__nav { height: 120px; gap: 1rem; }
	.site-header.is-solid .site-header__nav { height: 84px; }
}

.site-logo { display: flex; align-items: center; gap: 0.625rem; transition: transform .3s ease; min-width: 0; flex: 1 1 auto; max-width: calc(100% - 7.5rem); }
.site-logo:hover { transform: scale(1.05); }
/* Match Lovable Wordmark: h-9 (36px) → md:h-11 (44px); object-contain + shrink-0 */
.site-logo-img {
	flex-shrink: 0;
	height: var(--logo-height-sm);
	width: auto !important;
	max-width: none;
	display: block;
	object-fit: contain;
}
@media (min-width: 768px) {
	.site-logo-img { height: var(--logo-height); }
}
.dark .site-logo-img { filter: invert(1); }
.site-logo-text-wrap { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.site-logo-text-name { overflow-wrap: anywhere; }
.site-logo-text-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.025em; }
@media (min-width: 768px) {
	.site-header:not(.is-solid) .site-logo-text-name { font-size: 1.875rem; }
}
.site-header.is-solid .site-logo-text-name,
html[data-scrolled="true"] .site-logo-text-name {
	font-size: 1.125rem;
}
@media (min-width: 768px) {
	.site-header.is-solid .site-logo-text-name,
	html[data-scrolled="true"] .site-logo-text-name {
		font-size: 1.5rem;
	}
}
.site-logo-tagline { margin-top: 4px; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; opacity: 0.75; }
@media (min-width: 768px) { .site-logo-tagline { font-size: 10px; } }
.site-header.is-solid .site-logo-tagline, html[data-scrolled="true"] .site-logo-tagline { display: none; }
.site-logo--small { gap: 0.5rem; }

/* WooCommerce inner templates — same header logo sizing (PDP, cart page, checkout) */
body.single-product .site-header .site-logo-img,
body.woocommerce-cart .site-header .site-logo-img,
body.woocommerce-checkout .site-header .site-logo-img,
body.woocommerce-account .site-header .site-logo-img,
body.theme-inner-page .site-header .site-logo-img {
	height: var(--logo-height-sm);
	max-width: none;
	object-fit: contain;
}
@media (min-width: 768px) {
	body.single-product .site-header .site-logo-img,
	body.woocommerce-cart .site-header .site-logo-img,
	body.woocommerce-checkout .site-header .site-logo-img,
	body.woocommerce-account .site-header .site-logo-img,
	body.theme-inner-page .site-header .site-logo-img {
		height: var(--logo-height);
	}
}

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.theme-menu-toggle { margin-right: -0.25rem; }
.btn-header-cta { display: none; }
@media (min-width: 1024px) { .btn-header-cta { display: inline-flex; } }

.theme-cart-toggle {
	position: relative;
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
	color: inherit;
	transition: all .3s ease;
}
.theme-cart-toggle:hover { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-primary-foreground); transform: scale(1.08); }
.theme-cart-count {
	position: absolute; top: -4px; right: -4px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 50%;
	background: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 10px; font-weight: 700; font-family: var(--font-body);
	display: flex; align-items: center; justify-content: center; line-height: 1;
}
.theme-cart-count:empty { display: none; }

.theme-menu-toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem; color: inherit; transition: color .3s; }
.theme-menu-toggle:hover { color: var(--color-primary); }
.theme-menu-toggle__label { display: none; font-family: var(--font-condensed); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 768px) { .theme-menu-toggle__label { display: inline; } }

/* --------------------------- NAV / CONTACT MODAL PANELS --------------------------- */
.theme-rainbow-strip { display: flex; height: 6px; width: 100%; overflow: hidden; flex-shrink: 0; }
.theme-rainbow-strip::before, .theme-rainbow-strip::after { content: none; }
.theme-rainbow-strip { background: linear-gradient(to right, var(--color-coral) 0 16.6%, var(--color-butter) 16.6% 33.2%, var(--color-mint) 33.2% 49.8%, var(--color-sky) 49.8% 66.4%, var(--color-lilac) 66.4% 83%, var(--color-bubblegum) 83% 100%); }
/* CartDrawer.tsx strip order: bubblegum → coral */
.theme-rainbow-strip--cart {
	background: linear-gradient(
		to right,
		var(--color-bubblegum) 0 16.66%,
		var(--color-lilac) 16.66% 33.33%,
		var(--color-sky) 33.33% 50%,
		var(--color-mint) 50% 66.66%,
		var(--color-butter) 66.66% 83.33%,
		var(--color-coral) 83.33% 100%
	);
}

.theme-nav-overlay, #theme-cart-overlay {
	position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--color-ink) 45%, transparent);
	opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.theme-modal__overlay {
	position: absolute; inset: 0; z-index: 0; background: color-mix(in srgb, #000 80%, transparent);
	opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
body.nav-open .theme-nav-overlay,
body.cart-open #theme-cart-overlay,
body.contact-open .theme-modal__overlay { opacity: 1; pointer-events: auto; }

/* Lovable index.css .panel-slide — slide easing + compositing */
.panel-slide,
.theme-nav-panel,
#theme-cart-drawer {
	will-change: transform;
	backface-visibility: hidden;
	transition-property: transform;
	transition-duration: 380ms;
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-nav-panel, #theme-cart-drawer {
	position: fixed; top: 0; height: 100dvh;
	background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-elevated);
	z-index: 75; display: flex; flex-direction: column; overflow: hidden;
	transform: translateX(-100%);
}
.theme-nav-panel { left: 0; width: 90vw; max-width: 420px; border-radius: 0 24px 24px 0; }
#theme-cart-drawer {
	right: 0; left: auto;
	width: 92vw; max-width: 440px;
	border-radius: 24px 0 0 24px;
	transform: translateX(100%);
}
body.nav-open .theme-nav-panel { transform: translateX(0); }
body.cart-open #theme-cart-drawer { transform: translateX(0); }

/* Lovable NavMenuPanel: compact Wordmark (text-lg + h-9 mark), not header hero sizing */
.theme-nav-panel__top {
	display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	padding: 1.5rem 1.5rem 1rem; flex-shrink: 0; min-height: 0;
}
.theme-nav-panel__top .site-logo {
	flex: 1 1 auto; min-width: 0; max-width: calc(100% - 3rem);
}
.theme-nav-panel__top .site-logo:hover { transform: none; opacity: 0.85; }
.theme-nav-panel .site-logo-img {
	height: 2.25rem !important;
	max-height: 2.25rem;
	width: auto !important;
	max-width: none;
	object-fit: contain;
}
.theme-nav-panel .site-logo-text-name {
	font-size: 1.125rem !important;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.theme-nav-panel__bottom { flex-shrink: 0; }
.theme-nav-panel__close, .theme-cart-drawer__close {
	width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground);
	display: inline-flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; flex-shrink: 0;
	transition: background .3s;
}
.theme-nav-panel__close:hover, .theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); }
.theme-nav-panel__nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem; border-top: 1px solid var(--color-border); }
.theme-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
/* NavMenuPanel.tsx — stagger nav links after panel slide */
.theme-nav-list > li {
	opacity: 0;
	transform: translate3d(0, 12px, 0);
	will-change: opacity, transform;
	transition: opacity 140ms ease, transform 140ms ease;
}
body.nav-open .theme-nav-list > li {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-duration: 360ms;
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
body.nav-open .theme-nav-list > li:nth-child(1) { transition-delay: 360ms; }
body.nav-open .theme-nav-list > li:nth-child(2) { transition-delay: 405ms; }
body.nav-open .theme-nav-list > li:nth-child(3) { transition-delay: 450ms; }
body.nav-open .theme-nav-list > li:nth-child(4) { transition-delay: 495ms; }
body.nav-open .theme-nav-list > li:nth-child(5) { transition-delay: 540ms; }
body.nav-open .theme-nav-list > li:nth-child(6) { transition-delay: 585ms; }
body.nav-open .theme-nav-list > li:nth-child(7) { transition-delay: 630ms; }
body.nav-open .theme-nav-list > li:nth-child(8) { transition-delay: 675ms; }
.theme-nav-list .sub-menu { list-style: none; margin: 0.5rem 0 0; padding: 0 0 0 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-nav-list .sub-menu a { font-size: 1.25rem; }
.theme-nav-link, .theme-nav-list a, .theme-nav-list button.theme-nav-link {
	display: block; width: 100%; text-align: left; font-family: var(--font-display); font-weight: 700;
	font-size: 2rem; line-height: 1.1; letter-spacing: -0.025em; color: var(--color-foreground);
	transition: color .2s ease;
	border: none; background: none; padding: 0; cursor: pointer;
}
@media (min-width: 768px) { .theme-nav-link, .theme-nav-list a, .theme-nav-list button.theme-nav-link { font-size: 2.5rem; } }
.theme-nav-list > li:nth-child(7n+1) .theme-nav-link:hover,
.theme-nav-list > li:nth-child(7n+1) a:hover { color: var(--color-coral); }
.theme-nav-list > li:nth-child(7n+2) .theme-nav-link:hover,
.theme-nav-list > li:nth-child(7n+2) a:hover { color: var(--color-primary); }
.theme-nav-list > li:nth-child(7n+3) .theme-nav-link:hover,
.theme-nav-list > li:nth-child(7n+3) a:hover { color: var(--color-accent); }
.theme-nav-list > li:nth-child(7n+4) .theme-nav-link:hover,
.theme-nav-list > li:nth-child(7n+4) a:hover { color: var(--color-coral); }
.theme-nav-list > li:nth-child(7n+5) .theme-nav-link:hover,
.theme-nav-list > li:nth-child(7n+5) a:hover { color: var(--color-primary); }
.theme-nav-list > li:nth-child(7n+6) .theme-nav-link:hover,
.theme-nav-list > li:nth-child(7n+6) a:hover { color: var(--color-accent); }
.theme-nav-list > li:nth-child(7n+7) .theme-nav-link:hover,
.theme-nav-list > li:nth-child(7n+7) a:hover { color: var(--color-coral); }
.theme-nav-panel__bottom { border-top: 1px solid var(--color-border); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-nav-search { display: flex; align-items: center; gap: 0.5rem; }
.theme-nav-search__input { flex: 1; min-width: 0; padding: 0.6rem 1rem; border-radius: 9999px; border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground); }
.theme-nav-search__btn, .theme-theme-toggle {
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--color-border); border-radius: 50%; flex-shrink: 0; color: var(--color-foreground);
}
.theme-icon--moon { display: none; }
.dark .theme-icon--sun { display: none; }
.dark .theme-icon--moon { display: block; }
/* Lovable NavMenuPanel: flex flex-col gap-1.5 text-sm text-muted-foreground + Mail/Instagram rows */
.theme-nav-panel__contact { display: flex; flex-direction: column; gap: 0.375rem; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-nav-panel__contact-row { display: inline-flex; align-items: center; gap: 0.5rem; line-height: 1.4; }
.theme-nav-panel__contact-row .theme-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-nav-panel__contact a.theme-nav-panel__contact-row { transition: color 0.2s ease; word-break: break-all; }
.theme-nav-panel__contact a.theme-nav-panel__contact-row:hover { color: var(--color-primary); }

/* --------------------------- CART DRAWER (CartDrawer.tsx) --------------------------- */
.theme-cart-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.5rem 1rem; flex-shrink: 0; }
.theme-cart-drawer__rule { height: 1px; background: var(--color-border); margin: 0 1.5rem; flex-shrink: 0; }
.theme-cart-drawer__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--color-foreground); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.75rem 2rem; gap: 0; }
.theme-cart-drawer__empty-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-cart-drawer__empty-title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 2rem; color: var(--color-foreground); }
.theme-cart-drawer__continue, .cart_empty_cta {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px; border: 1px solid var(--color-primary);
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.625rem 1.5rem;
	font-family: var(--font-condensed); font-size: var(--text-11); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	transition: background .2s ease, border-color .2s ease;
}
.theme-cart-drawer__continue:hover, .cart_empty_cta:hover {
	background: color-mix(in srgb, var(--color-primary) 90%, transparent);
	border-color: color-mix(in srgb, var(--color-primary) 90%, transparent);
}
.theme-cart-drawer__items { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__media {
	width: 80px; height: 96px; flex-shrink: 0; border-radius: 1rem; overflow: hidden;
	background: color-mix(in srgb, var(--color-butter) 50%, transparent);
	display: block;
}
.theme-cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; margin-bottom: 0.125rem; color: var(--color-foreground); }
.theme-cart-item__title:hover { color: var(--color-primary); }
.theme-cart-item__variation { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item__meta { list-style: none; margin: 0.125rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.theme-cart-item__meta-row { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.theme-cart-item__meta-key { font-weight: 600; margin-right: 0.15rem; }
.theme-cart-item-meta-swatch { width: 0.75rem; height: 0.75rem; border-radius: 50%; flex-shrink: 0; background: var(--swatch, var(--color-border)); border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.theme-cart-item__price { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item__qty-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn {
	padding: 0.375rem; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	color: var(--color-primary); background: transparent;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; line-height: 1; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.theme-cart-item__qty-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-cart-item__qty { width: 1.5rem; min-width: 1.5rem; text-align: center; font-family: var(--font-condensed); font-size: 0.875rem; font-weight: 600; color: var(--color-foreground); }
.theme-cart-item__remove {
	margin-left: auto; font-family: var(--font-condensed); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
	color: var(--color-muted-foreground); font-weight: 600; transition: color .2s ease;
}
.theme-cart-item__remove:hover { color: var(--color-primary); }
.theme-cart-drawer__footer {
	padding: 1.25rem 1.5rem 1.75rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0;
	background: var(--color-background);
}
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-body); }
.theme-cart-drawer__subtotal span:first-child {
	font-family: var(--font-condensed); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
	color: var(--color-muted-foreground); font-weight: 600;
}
.theme-cart-drawer__subtotal span:last-child { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--color-foreground); }
.theme-cart-drawer__note { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout {
	display: inline-flex; align-items: center; justify-content: center; width: 100%;
	border-radius: 9999px; border: 1px solid var(--color-primary);
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.875rem 1.5rem;
	font-family: var(--font-condensed); font-size: var(--text-11); font-weight: 600;
	letter-spacing: 0.24em; text-transform: uppercase; text-align: center;
	transition: background .2s ease, border-color .2s ease;
}
.theme-cart-drawer__checkout:hover {
	background: color-mix(in srgb, var(--color-primary) 90%, transparent);
	border-color: color-mix(in srgb, var(--color-primary) 90%, transparent);
	color: var(--color-primary-foreground);
}
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

/* --------------------------- CONTACT MODAL --------------------------- */
/* Mirrors Lovable DialogContent: max-w-lg, p-6, gap-4, shadow-lg, rounded-lg */
.theme-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; visibility: hidden; pointer-events: none; }
body.contact-open .theme-modal { visibility: visible; pointer-events: auto; }
.theme-modal__panel {
	position: relative; z-index: 1; display: grid; gap: 1rem;
	background: var(--color-background); color: var(--color-foreground);
	max-width: 32rem; width: min(92vw, 32rem);
	max-height: 90vh; overflow-y: auto; padding: 1.5rem;
	border: 1px solid var(--color-border); border-radius: var(--radius);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	transform: scale(0.95); opacity: 0; transition: transform .2s ease, opacity .2s ease;
	pointer-events: auto;
}
body.contact-open .theme-modal__panel { transform: scale(1); opacity: 1; }
.theme-modal__close {
	position: absolute; right: 1rem; top: 1rem; z-index: 2;
	width: auto; height: auto; padding: 0; margin: 0;
	border: none; border-radius: 2px; background: transparent; color: var(--color-foreground);
	display: inline-flex; align-items: center; justify-content: center;
	opacity: 0.7; cursor: pointer; transition: opacity .15s ease;
}
.theme-modal__close .theme-icon { width: 1rem; height: 1rem; }
.theme-modal__close:hover { opacity: 1; background: transparent; }
.theme-modal__header { display: flex; flex-direction: column; gap: 0.375rem; padding-right: 1.5rem; }
.theme-modal__header .label-eyebrow { margin-bottom: 0.125rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--leading-tight); margin: 0; }
.theme-modal__desc { font-family: var(--font-body); font-size: var(--text-15); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); margin: 0; }
.theme-modal__meta {
	display: flex; flex-direction: column; gap: 0.5rem;
	font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground);
	border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.125rem;
}
.theme-modal__meta-row { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__meta-row .theme-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-modal__meta-row a { color: inherit; word-break: break-all; transition: color .15s ease; }
.theme-modal__meta-row a:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) {
	.theme-contact-form__row { grid-template-columns: 1fr 1fr; }
}
.theme-contact-form__field { display: flex; flex-direction: column; gap: 0.375rem; }
.theme-contact-form input, .theme-contact-form textarea {
	width: 100%; padding: 0.625rem 0.75rem; border: 1px solid var(--color-border); background: var(--color-background);
	color: var(--color-foreground); font-family: var(--font-body); font-size: 0.875rem;
	transition: border-color .15s ease;
}
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: var(--color-muted-foreground); }
.theme-contact-form input:focus, .theme-contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-form textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__submit {
	display: inline-flex; align-items: center; gap: 0.5rem;
	height: 2.75rem; padding-inline: 1.5rem;
	font-size: var(--btn-font-size); letter-spacing: 0.24em;
}
.theme-contact-form__submit-icon { width: 0.875rem; height: 0.875rem; }
.theme-contact-form__status { font-size: 0.875rem; min-height: 1.2em; margin: 0; }
.theme-contact-form__status.is-error { color: var(--color-destructive); }
.theme-contact-form__status.is-success { color: #2e7d32; }
.theme-modal__success { text-align: center; padding: 2rem 0; display: none; }
.theme-modal__success.is-visible { display: block; }
.theme-modal__success-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3.5rem; height: 3.5rem; border-radius: 50%;
	background: var(--color-primary); color: var(--color-primary-foreground);
	margin-bottom: 1rem;
}
.theme-modal__success-icon .theme-icon { width: 1.75rem; height: 1.75rem; }
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 0.5rem; }
.theme-modal__success p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }

/* --------------------------- HERO --------------------------- */
.hero-slider { position: relative; width: 100%; height: 100svh; min-height: 560px; max-height: 900px; overflow: hidden; }
.hero-slider__slide { position: absolute; inset: 0; z-index: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--transition-smooth), transform 1.4s var(--transition-smooth); }
.hero-slider__slide--active { opacity: 1; transform: scale(1); z-index: 1; }
/* Lovable Index.tsx: ink gradients above slides, below content */
.hero-slider__scrim-t {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(
		to top,
		color-mix(in srgb, var(--color-ink) 85%, transparent),
		color-mix(in srgb, var(--color-ink) 55%, transparent) 50%,
		color-mix(in srgb, var(--color-ink) 35%, transparent)
	);
}
.hero-slider__scrim-r {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(
		to right,
		color-mix(in srgb, var(--color-ink) 70%, transparent),
		color-mix(in srgb, var(--color-ink) 25%, transparent) 50%,
		transparent
	);
}
/* Lovable: absolute inset-x-0 bottom-0 → container-wide pb-20 md:pb-24 flex row */
.hero-slider__content-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
}
.hero-slider__content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2rem;
	width: 100%;
	padding-bottom: 5rem;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.hero-slider__content {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		padding-bottom: 6rem;
	}
}
.hero-slider__copy { min-width: 0; flex: 0 1 auto; }
.hero-slider__eyebrow {
	display: block;
	font-size: var(--text-11);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 700;
	color: var(--color-on-media);
	opacity: 0.9;
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .hero-slider__eyebrow { font-size: 0.75rem; } }
.hero-slider__title {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--color-on-media);
	font-size: 1.875rem;
	line-height: 0.95;
	letter-spacing: -0.025em;
	margin: 0;
}
@media (min-width: 640px) { .hero-slider__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-slider__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-slider__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-slider__title { font-size: 4.5rem; } }
.hero-slider__cta {
	flex-shrink: 0;
	align-self: flex-start;
	height: 3.5rem;
	padding: 0 2.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
}
@media (min-width: 768px) {
	.hero-slider__cta { align-self: auto; }
}
.hero-slider__dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 0.5rem; }
.hero-slider__dot { height: 8px; width: 8px; border-radius: 9999px; background: color-mix(in srgb, var(--color-on-media) 50%, transparent); transition: all .5s; }
.hero-slider__dot--active { width: 40px; background: var(--color-on-media); }

/* --------------------------- COMING SOON --------------------------- */
.coming-soon-section { background: color-mix(in srgb, var(--color-bubblegum) 40%, transparent); }
.coming-soon-section__inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 768px) { .coming-soon-section__inner { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 6rem; } }
.coming-soon-section__media { position: relative; margin: 0 auto; width: 100%; max-width: 24rem; }
.coming-soon-section__badge {
	position: absolute; top: -1rem; right: -0.5rem; z-index: 2;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.5rem 1rem; border-radius: 9999px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
	box-shadow: var(--shadow-elevated); transform: rotate(3deg);
}
.coming-soon-section__cover { width: 100%; height: auto; border-radius: 1rem; box-shadow: var(--shadow-elevated); border: 4px solid var(--color-card); }
.coming-soon-section__title { font-family: var(--font-display); font-weight: 700; color: var(--color-foreground); font-size: 2.25rem; line-height: 0.98; letter-spacing: -0.02em; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .coming-soon-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .coming-soon-section__title { font-size: 3.75rem; } }
.coming-soon-section__text { color: var(--color-muted-foreground); font-size: var(--text-15); line-height: var(--leading-relaxed); max-width: 32rem; margin: 0 0 2rem; }

/* --------------------------- MARQUEE --------------------------- */
.marquee { position: relative; overflow: hidden; border-top: 2px solid var(--color-border); border-bottom: 2px solid var(--color-border); padding: 1.25rem 0; background: color-mix(in srgb, var(--color-mint) 70%, transparent); }
.marquee--reverse { background: color-mix(in srgb, var(--color-bubblegum) 70%, transparent); }
.marquee-track { display: flex; white-space: nowrap; will-change: transform; backface-visibility: hidden; transform: translateZ(0); animation: marquee-scroll 5s linear infinite; }
.marquee-track--reverse { animation: marquee-scroll-reverse 5s linear infinite; }
@media (min-width: 768px) {
	.marquee-track { animation-duration: 30s; }
	.marquee-track--reverse { animation-duration: 34s; }
}
.marquee__group { display: flex; flex-shrink: 0; align-items: center; gap: 2rem; padding-right: 2rem; }
.marquee__item { display: flex; align-items: center; gap: 2rem; }
.marquee__text { font-family: var(--font-display); color: var(--color-foreground); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .marquee__text { font-size: 2.5rem; } }
.marquee__star { font-size: 1.5rem; color: var(--color-primary); }
.marquee__item:nth-child(4n+2) .marquee__star { color: var(--color-accent); }
.marquee__item:nth-child(4n+3) .marquee__star { color: var(--color-logo-blue); }
.marquee__item:nth-child(4n) .marquee__star { color: var(--color-highlight-foreground); }
@media (min-width: 768px) { .marquee__star { font-size: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .marquee-track--reverse { animation: none; } }

/* --------------------------- CATEGORY TILES --------------------------- */
.categories-section { background: color-mix(in srgb, var(--color-butter) 50%, transparent); }
.categories-section__inner { padding-block: 4rem 3rem; }
.categories-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.categories-section__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; }
@media (min-width: 768px) { .categories-section__title { font-size: 1.875rem; } }
.categories-section__clear { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--color-primary); }
.categories-section__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .categories-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.category-tile { text-align: left; border-radius: 1.5rem; border: 2px solid var(--color-card); background: var(--color-card); padding: 1rem; box-shadow: var(--shadow-soft); transition: box-shadow .3s, transform .3s; }
.category-tile:hover { box-shadow: var(--shadow-elevated); }
.category-tile.is-active { box-shadow: 0 0 0 4px var(--color-primary); }
.category-tile__media { display: block; border-radius: 1rem; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 1rem; background: color-mix(in srgb, var(--color-sky) 50%, transparent); position: relative; overflow: visible; }
.category-tile:nth-child(2) .category-tile__media { background: color-mix(in srgb, var(--color-mint) 60%, transparent); }
.category-tile:nth-child(3) .category-tile__media { background: color-mix(in srgb, var(--color-bubblegum) 50%, transparent); }
.category-tile__img { position: static; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)); transition: transform .5s ease; }
.category-tile:hover .category-tile__img { transform: scale(1.05) rotate(-2deg); }
.category-tile__row { margin-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.category-tile__name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.025em; }
@media (min-width: 768px) { .category-tile__name { font-size: 1.125rem; } }
.category-tile__arrow { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s; }
.category-tile:hover .category-tile__arrow { transform: translateX(3px); }

/* --------------------------- PROMO BANNER --------------------------- */
.promo-banner-section { background: color-mix(in srgb, var(--color-butter) 50%, transparent); padding: 1rem 0; }
.promo-banner { position: relative; display: block; width: 100%; height: 75vh; border-radius: 1rem; overflow: hidden; }
@media (min-width: 768px) { .promo-banner { height: 85vh; } }
.promo-banner__img { transition: transform 1.2s ease; }
.promo-banner:hover .promo-banner__img { transform: scale(1.04); }
.promo-banner__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(
		to top,
		color-mix(in srgb, var(--color-ink) 70%, transparent),
		color-mix(in srgb, var(--color-ink) 20%, transparent) 55%,
		color-mix(in srgb, var(--color-ink) 25%, transparent)
	);
}
.promo-banner__content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 2rem; padding-bottom: 6.5rem; }
@media (min-width: 768px) { .promo-banner__content { padding: 3.5rem; } }
.promo-banner__title { font-family: var(--font-display); font-weight: 700; color: var(--color-on-media); font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.02em; max-width: 40rem; margin: 0; }
@media (max-width: 767px) {
	/* Keep headline above the absolute CTA (48px + bottom offset) */
	.promo-banner__title { max-width: calc(100% - 5rem); }
}
@media (min-width: 768px) { .promo-banner__title { font-size: 3.75rem; } }
.promo-banner__cta { position: absolute; bottom: 2rem; right: 2rem; height: 48px; padding: 0 2.25rem; transition: transform .3s; }
@media (min-width: 768px) { .promo-banner__cta { bottom: 3.5rem; right: 3.5rem; } }
.promo-banner:hover .promo-banner__cta { transform: translateX(4px); }

/* --------------------------- FEATURED / PRODUCT GRID --------------------------- */
.featured-section { background: color-mix(in srgb, var(--color-butter) 50%, transparent); padding: 4rem 0 5rem; }
.featured-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.featured-section__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
@media (min-width: 768px) { .featured-section__title { font-size: 1.875rem; } }

.theme-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.theme-product-grid--featured { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .theme-product-grid--featured { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.theme-product-card-wrap { height: 100%; display: flex; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; width: 100%; text-decoration: none; }

/* book3d variant — pastel tones from ProductCard.tsx TONES */
.theme-product-card--book3d {
	border-radius: 1.5rem; border: 2px solid var(--color-border);
	padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s;
}
.theme-product-card--book3d.theme-product-card--tone-0 {
	background: color-mix(in srgb, var(--color-bubblegum) 60%, transparent);
	border-color: var(--color-bubblegum);
}
.theme-product-card--book3d.theme-product-card--tone-1 {
	background: color-mix(in srgb, var(--color-mint) 60%, transparent);
	border-color: var(--color-mint);
}
.theme-product-card--book3d.theme-product-card--tone-2 {
	background: color-mix(in srgb, var(--color-sky) 60%, transparent);
	border-color: var(--color-sky);
}
.theme-product-card--book3d.theme-product-card--tone-3 {
	background: color-mix(in srgb, var(--color-lilac) 60%, transparent);
	border-color: var(--color-lilac);
}
.theme-product-card--book3d.theme-product-card--tone-4 {
	background: color-mix(in srgb, var(--color-butter) 70%, transparent);
	border-color: var(--color-butter);
}
.theme-product-card--book3d:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); }
.theme-product-card--book3d .theme-product-card__media { position: static; margin: 0 auto; width: 60%; max-width: 200px; aspect-ratio: 3/4; border-radius: 0.4rem 0.6rem 0.6rem 0.4rem; overflow: hidden; box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); transition: transform .5s; }
.theme-product-card--book3d:hover .theme-product-card__media { transform: scale(1.04) rotate(-1deg); }
.theme-product-card--book3d .theme-product-card__img { position: static; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.theme-product-card--book3d:hover .theme-product-card__img { transform: scale(1.05); }

/* shelf variant */
.theme-product-card--shelf { align-items: center; }
.theme-product-card--shelf .theme-product-card__media { position: static; width: 100%; height: 12rem; display: flex; align-items: center; justify-content: center; padding: 0 1rem; z-index: 2; }
@media (min-width: 768px) { .theme-product-card--shelf .theme-product-card__media { height: 15rem; } }
.theme-product-card--shelf .theme-product-card__img { position: static; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 25px rgba(0,0,0,.25)); transition: transform .5s; }
.theme-product-card--shelf:hover .theme-product-card__img { transform: scale(1.03); }
.theme-product-card--shelf .theme-product-card__info {
	margin-top: -2.5rem; position: relative; z-index: 1; width: 100%; flex: 1;
	border-radius: 1.5rem; border: 2px solid var(--color-border); background: var(--color-card);
	box-shadow: var(--shadow-soft); padding: 3rem 1.5rem 1.5rem; text-align: center;
	display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.theme-product-card--shelf:hover .theme-product-card__info { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }

.theme-product-card__badge {
	position: absolute; right: 1.5rem; top: 1rem; z-index: 4; padding: 0.4rem 0.75rem; border-radius: 0.4rem;
	font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; box-shadow: var(--shadow-soft);
}
.theme-product-card__badge--soon { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__badge--sold { background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__img.is-dim { opacity: 0.7; }

.theme-product-card__info { margin-top: 1.5rem; display: flex; flex: 1; flex-direction: column; text-align: center; }
.theme-product-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: var(--leading-snug); transition: color .3s; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.theme-product-card__price ins { text-decoration: none; color: var(--color-accent); }
.theme-product-card__price del { color: var(--color-muted-foreground); font-weight: 400; }
.theme-product-card__cta {
	margin-top: auto; padding-top: 1rem; display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: 9999px; border: 2px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: var(--color-card); padding: 0.6rem 1rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
	transition: all .3s;
}
.theme-product-card--book3d .theme-product-card__cta { margin-top: 1.5rem; }
.theme-product-card--shelf .theme-product-card__cta { background: var(--color-butter); border-color: transparent; }
.theme-product-card:hover .theme-product-card__cta { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
[data-filter-hidden] { display: none !important; }

/* --------------------------- BRAND STORY / PROMO PHOTO BAND --------------------------- */
.brand-story-section__media { position: relative; width: 100%; height: 80vh; overflow: hidden; }
@media (min-width: 768px) { .brand-story-section__media { height: 90vh; } }
.brand-story-section__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 80%, transparent); }
.brand-story-section__content-wrap { position: absolute; inset: 0; display: flex; align-items: center; }
.brand-story-section__content { max-width: 36rem; }
.brand-story-section__title { font-family: var(--font-display); font-weight: 700; color: var(--color-on-media); font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .brand-story-section__title { font-size: 3.75rem; } }
.brand-story-section__text { color: color-mix(in srgb, var(--color-on-media) 95%, transparent); font-size: 0.875rem; line-height: var(--leading-relaxed); }
@media (min-width: 768px) { .brand-story-section__text { font-size: var(--text-15); } }

/* --------------------------- SHOP SECTION --------------------------- */
.shop-section { background: color-mix(in srgb, var(--color-mint) 60%, transparent); }
.shop-section__head { text-align: center; padding-block: 4rem 1rem; }
@media (min-width: 1024px) { .shop-section__head { padding-block-start: 6rem; } }
.shop-heading { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; margin-top: 0.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }
.shop-section__body { padding-bottom: 5rem; }
@media (min-width: 1024px) { .shop-section__body { padding-bottom: 7rem; } }
.shop-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2.5rem; max-width: 100%; min-width: 0; }
.shop-filters .shop-filter { flex: 1 1 100%; max-width: 100%; }
@media (min-width: 480px) { .shop-filters .shop-filter { flex: 1 1 220px; max-width: 280px; } }
.shop-filter { position: relative; flex: 1 1 220px; max-width: 280px; }
.shop-filter__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 1rem; border-radius: 0.75rem; border: 2px solid var(--color-border); background: var(--color-background); transition: border-color .2s; }
.shop-filter__btn:hover { border-color: var(--color-primary); }
.shop-filter__label-col { display: flex; flex-direction: column; align-items: flex-start; }
.shop-filter__label { font-family: var(--font-body); font-size: var(--text-11); text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.shop-filter__value { font-size: 0.875rem; font-weight: 600; margin-top: 0.15rem; }
.shop-filter__chevron { transition: transform .2s; flex-shrink: 0; }
.shop-filter.is-open .shop-filter__chevron { transform: rotate(180deg); }
.shop-filter__menu { position: absolute; left: 0; right: 0; top: 100%; margin-top: 0.25rem; z-index: 30; background: var(--color-background); border: 2px solid var(--color-border); border-radius: 0.75rem; box-shadow: var(--shadow-elevated); max-height: 20rem; overflow-y: auto; list-style: none; padding: 0.4rem; display: none; animation: theme-fade-in .2s ease; }
.shop-filter.is-open .shop-filter__menu { display: block; }
.shop-filter__option { width: 100%; text-align: left; padding: 0.55rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; display: flex; justify-content: space-between; }
.shop-filter__option:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.shop-filter__option.is-active { color: var(--color-primary); font-weight: 700; }
.shop-filter__clear-all { align-self: center; font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--color-primary); }
.shop-section__empty { padding: 5rem 1rem; text-align: center; border: 2px dashed var(--color-border); border-radius: 1.5rem; background: var(--color-background); }
.shop-section__empty-title { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 0.5rem; }
.shop-section__empty-text { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }

/* --------------------------- TWO-UP BANNERS --------------------------- */
.two-up-section { padding: 4rem 0 5rem; }
.two-up-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .two-up-section__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; } }
.two-up-banner { position: relative; display: block; width: 100%; aspect-ratio: 4/5; border-radius: 1.5rem; overflow: hidden; text-align: left; }
@media (min-width: 768px) { .two-up-banner { aspect-ratio: 5/6; } }
.two-up-banner__img { transition: transform 1.2s ease; }
.two-up-banner:hover .two-up-banner__img { transform: scale(1.04); }
.two-up-banner__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(
		to top,
		color-mix(in srgb, var(--color-ink) 75%, transparent),
		color-mix(in srgb, var(--color-ink) 15%, transparent) 55%,
		transparent
	);
}
.two-up-banner__content { position: absolute; inset: auto 0 0 0; padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 768px) { .two-up-banner__content { padding: 2.5rem; } }
.two-up-banner__eyebrow { display: inline-block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 9999px; margin-bottom: 0.75rem; background: var(--color-butter); color: var(--color-foreground); }
.two-up-section__grid .two-up-banner:nth-child(2) .two-up-banner__eyebrow { background: var(--color-bubblegum); }
.two-up-banner__title { font-family: var(--font-display); font-weight: 700; color: var(--color-on-media); font-size: 1.5rem; line-height: 0.95; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .two-up-banner__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .two-up-banner__title { font-size: 2.25rem; } }
.two-up-banner__cta { height: 44px; padding: 0 1.75rem; }

/* --------------------------- AUTHOR --------------------------- */
.author-section { background: color-mix(in srgb, var(--color-lilac) 45%, transparent); }
.author-section__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; padding-block: 5rem; }
@media (min-width: 1024px) { .author-section__inner { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.author-section__media { position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 4/5; }
.author-section__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.author-section__title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; margin: 1.5rem 0 2rem; }
@media (min-width: 768px) { .author-section__title { font-size: 3rem; } }
.author-section__text { color: var(--color-muted-foreground); font-size: var(--text-15); line-height: var(--leading-relaxed); }
.author-section__text p { margin: 0 0 1rem; }
.author-section__cta { margin-top: 2rem; }

/* --------------------------- REVIEWS --------------------------- */
.reviews-section { background: color-mix(in srgb, var(--color-sky) 40%, transparent); padding: 5rem 0; overflow-x: clip; }
.reviews-section__head { text-align: center; margin-bottom: 3rem; }
.reviews-section__title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; }
@media (min-width: 768px) { .reviews-section__title { font-size: 3rem; } }
.reviews-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-bottom: 1.5rem; }
@media (min-width: 768px) { .reviews-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.review-card { position: relative; border-radius: 2rem; border: 2px solid color-mix(in srgb, var(--color-foreground) 80%, transparent); padding: 1.75rem 1.75rem 1.75rem; padding-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-soft); transition: transform .3s; }
.review-card:hover { transform: rotate(0deg) translateY(-4px); }
.review-card--tone-0 { background: var(--color-butter); transform: rotate(-2deg); }
.review-card--tone-1 { background: color-mix(in srgb, var(--color-bubblegum) 70%, transparent); transform: rotate(1deg); }
.review-card--tone-2 { background: color-mix(in srgb, var(--color-mint) 70%, transparent); transform: rotate(-1deg); }
.review-card__quote-mark { position: absolute; top: -1.25rem; left: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 3.75rem; line-height: 1; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.review-card__stars { align-self: flex-end; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 1rem; }
.review-card__quote { font-family: var(--font-body); font-size: var(--text-15); line-height: var(--leading-relaxed); margin: 0; color: var(--color-foreground); }
.review-card__meta { margin-top: auto; display: flex; align-items: center; gap: 0.75rem; padding-top: 0.5rem; border-top: 2px dashed color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.review-card__avatar { flex-shrink: 0; margin-top: 0.75rem; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; border: 2px solid color-mix(in srgb, var(--color-foreground) 80%, transparent); color: var(--color-foreground); }
.review-card--tone-0 .review-card__avatar { background: var(--color-bubblegum); }
.review-card--tone-1 .review-card__avatar { background: var(--color-mint); }
.review-card--tone-2 .review-card__avatar { background: var(--color-butter); }
.review-card__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--color-foreground); }
.review-card__role { display: block; font-family: var(--font-condensed); font-size: var(--text-11); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-top: 0.15rem; }
.reviews-section__cta-wrap { margin-top: 3rem; text-align: center; }
.reviews-section__cta-text {
	font-family: var(--font-body);
	font-size: var(--text-15);
	color: var(--color-muted-foreground);
	max-width: 36rem;
	margin: 0 auto 1.25rem;
}

/* --------------------------- FAQ --------------------------- */
/* Lovable resources Section: bg-butter/50 py-20 lg:py-28 */
.faq-section { background: color-mix(in srgb, var(--color-butter) 50%, transparent); padding: 5rem 0; scroll-margin-top: 6rem; }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-section__title { font-family: var(--font-display); font-weight: 700; font-size: 3rem; letter-spacing: -0.025em; border-bottom: 2px solid var(--color-border); padding-bottom: 1rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .faq-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .faq-section__title { font-size: 4.5rem; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; gap: 5rem; } }
.faq-section__sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.faq-section__sidebar p { font-family: var(--font-body); font-size: 1rem; line-height: var(--leading-relaxed); margin: 0; }
@media (min-width: 768px) { .faq-section__sidebar p { font-size: 1.125rem; } }
.faq-section__list { border-top: 2px solid var(--color-border); }
.faq-item { border-bottom: 2px solid var(--color-border); }
.faq-item__q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__q-text { font-family: var(--font-body); font-weight: 600; font-size: var(--text-15); line-height: var(--leading-snug); padding-right: 1rem; transition: color .2s; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1rem; } }
.faq-item__q:hover .faq-item__q-text { color: var(--color-primary); }
.faq-item__icon { flex-shrink: 0; margin-top: 0.1rem; color: var(--color-primary); font-size: 1.25rem; line-height: 1; width: 1.25rem; text-align: center; }
.faq-item__icon-minus { display: none; }
.faq-item.is-open .faq-item__icon-plus { display: none; }
.faq-item.is-open .faq-item__icon-minus { display: inline; }
.faq-item__a-wrap { max-height: 0; overflow: hidden; transition: max-height .4s var(--transition-smooth); }
.faq-item.is-open .faq-item__a-wrap { max-height: 600px; }
.faq-item__a { padding: 0 3rem 1.5rem 0; color: var(--color-muted-foreground); font-family: var(--font-body); font-size: var(--text-15); line-height: var(--leading-relaxed); margin: 0; }

/* --------------------------- CONTACT BAND --------------------------- */
/* Lovable: relative scroll-mt-28 mt-24 -mb-20 lg:-mb-28 overflow-hidden */
.contact-band {
	position: relative; overflow: hidden;
	margin-top: 6rem; margin-bottom: -5rem;
	scroll-margin-top: 7rem;
}
@media (min-width: 1024px) { .contact-band { margin-bottom: -7rem; } }
.contact-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-band__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 85%, transparent); }
/* Lovable container: py-32 md:py-44 lg:py-56 */
.contact-band__content { position: relative; text-align: center; padding-block: 8rem; }
@media (min-width: 768px) { .contact-band__content { padding-block: 11rem; } }
@media (min-width: 1024px) { .contact-band__content { padding-block: 14rem; } }
.contact-band__eyebrow { display: block; margin-bottom: 1.25rem; color: color-mix(in srgb, var(--color-on-media) 90%, transparent); }
.contact-band__title { font-family: var(--font-display); font-weight: 700; color: var(--color-on-media); font-size: 2.25rem; line-height: 1; margin: 0 0 2rem; }
@media (min-width: 768px) { .contact-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-band__title { font-size: 3.75rem; } }
.contact-band__text { max-width: 32rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-on-media) 90%, transparent); font-family: var(--font-body); font-size: var(--text-15); line-height: var(--leading-relaxed); }
.contact-band__actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: stretch; }
@media (min-width: 640px) { .contact-band__actions { flex-direction: row; align-items: center; } }

/* --------------------------- FOOTER --------------------------- */
.site-footer { background: var(--color-ink); color: var(--color-on-media); }
.site-footer > .theme-rainbow-strip { height: 8px; }
.site-footer__newsletter { border-bottom: 1px solid color-mix(in srgb, var(--color-on-media) 15%, transparent); }
.site-footer__newsletter-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; padding-block: 3.5rem; }
@media (min-width: 1024px) {
	.site-footer__newsletter-inner { grid-template-columns: repeat(12, 1fr); padding-block: 4rem; }
	.site-footer__newsletter-copy,
	.site-footer__newsletter-form,
	.site-footer__newsletter-iframe { grid-column: span 6; }
}
.site-footer__eyebrow { font-family: var(--font-condensed); font-size: var(--text-11); letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-on-media) 70%, transparent); margin: 0 0 0.75rem; }
.site-footer__newsletter-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 1024px) { .site-footer__newsletter-title { font-size: 2.25rem; } }
.site-footer__newsletter-form { display: flex; width: 100%; }
.site-footer__newsletter-iframe { width: 100%; min-height: 120px; border: 0; background: transparent; }
.site-footer__newsletter-input { flex: 1; background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--color-on-media) 40%, transparent); padding: 0.75rem 0.25rem; font-size: 0.875rem; color: var(--color-on-media); }
.site-footer__newsletter-input::placeholder { color: color-mix(in srgb, var(--color-on-media) 65%, transparent); }
.site-footer__newsletter-input:focus { outline: none; border-bottom-color: var(--color-on-media); }
.site-footer__newsletter-btn { margin-left: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 1.5rem; height: 48px; background: var(--color-background); color: var(--color-foreground); font-family: var(--font-condensed); font-size: var(--text-11); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; transition: background .2s, color .2s; }
.site-footer__newsletter-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
/* Lovable: container-wide pt-16 lg:pt-20 pb-6 lg:pb-8 wraps grid + bottom bar */
.site-footer__body { padding-top: 4rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .site-footer__body { padding-top: 5rem; padding-bottom: 2rem; } }
.site-footer__main { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__main { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.site-footer__brand { grid-column: span 1; }
@media (min-width: 1024px) { .site-footer__brand { grid-column: span 4; } }
.site-footer__brand-link { display: flex; flex-direction: column; align-items: flex-start; color: inherit; }
.site-footer__brand-link:hover { color: inherit; }
.site-footer__wordmark { display: flex; align-items: center; gap: 0.625rem; }
.site-footer__wordmark .site-logo-img { height: var(--logo-height-sm); width: auto; flex-shrink: 0; object-fit: contain; }
@media (min-width: 768px) { .site-footer__wordmark .site-logo-img { height: var(--logo-height); } }
.site-footer__wordmark .site-logo-text-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1; }
.site-footer__tagline { display: block; margin-top: 0.75rem; font-family: var(--font-condensed); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.24em; font-weight: 600; color: color-mix(in srgb, var(--color-on-media) 70%, transparent); }
.site-footer__about { margin: 1.5rem 0 0; font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-on-media) 70%, transparent); max-width: 24rem; line-height: var(--leading-relaxed); }
.site-footer__col { grid-column: span 1; }
@media (min-width: 1024px) { .site-footer__col { grid-column: span 2; } }
.site-footer__col-title { font-family: var(--font-condensed); font-size: var(--text-11); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-on-media) 70%, transparent); margin-bottom: 1.25rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__links a, .site-footer__links button, .site-footer__links span { font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-on-media) 80%, transparent); text-align: left; transition: color .2s; }
.site-footer__links a:hover, .site-footer__links button:hover { color: var(--color-on-media); }
.site-footer__links--contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.site-footer__links--contact .theme-icon { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; }
.site-footer__links--contact a { word-break: break-all; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-on-media) 15%, transparent); }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__bottom p { margin: 0; font-family: var(--font-condensed); font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-on-media) 70%, transparent); }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom a:hover { color: var(--color-on-media); }

/* --------------------------- GENERIC PAGES --------------------------- */
.theme-page { padding-block: 8rem 4rem; min-height: 50vh; }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; margin-bottom: 2rem; }
.theme-404 { padding-block: 10rem 6rem; text-align: center; }
.theme-404__title { font-family: var(--font-display); font-size: 5rem; margin-bottom: 1rem; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ===================================================================
   WOOCOMMERCE OVERRIDES
   =================================================================== */
.single-product .site-main { padding-block: 8rem 4rem; }
.theme-shop-archive { padding-block: 8rem 4rem; }
.back-to-shop-link { display: inline-block; margin-bottom: 1.5rem; font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--color-muted-foreground); }
.back-to-shop-link:hover { color: var(--color-primary); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; align-items: start; }
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; }
	/* ProductDetail.tsx: lg:sticky lg:top-32 — gallery stays put while info column scrolls */
	.theme-product-gallery {
		position: sticky;
		top: 8rem;
		align-self: start;
	}
}
@media (min-width: 1280px) {
	.single-product .site-main { padding-top: 10rem; }
	.theme-product-gallery { top: 10rem; }
}
body.theme-announcement-active .theme-product-gallery { top: calc(8rem + 32px); }
@media (min-width: 1280px) {
	body.theme-announcement-active .theme-product-gallery { top: calc(10rem + 32px); }
}
body.admin-bar .theme-product-gallery { top: calc(8rem + 32px); }
body.admin-bar.theme-announcement-active .theme-product-gallery { top: calc(8rem + 64px); }
@media (min-width: 1280px) {
	body.admin-bar .theme-product-gallery { top: calc(10rem + 32px); }
	body.admin-bar.theme-announcement-active .theme-product-gallery { top: calc(10rem + 64px); }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; border-radius: 10px; overflow: hidden; background: var(--color-secondary); border: 1px solid var(--color-border); aspect-ratio: 4/5; }
.theme-product-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; max-width: 100%; }
.theme-product-thumb { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--color-border); flex-shrink: 0; }
.theme-product-thumb.is-active { border-color: var(--color-foreground); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; position: static; }

.theme-product-info__cats { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); margin: 0 0 0.5rem; }
.theme-product-info__cats a { color: inherit; }
.theme-product-info__cats a:hover { color: var(--color-primary); }
.product-title.theme-product-info__title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 1rem; }
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 3rem; } }
.theme-product-info__price { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 0.5rem; }
.theme-product-info__price .woocommerce-Price-amount { color: var(--color-primary); }
.theme-product-info__stock { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 1rem; }
.theme-product-info__stock.is_out, .theme-product-info__stock.is-out { color: var(--color-destructive); }
.theme-product-info__stock.is-soon { color: var(--color-primary); }

.theme-format-select { margin: 1.5rem 0; }
.theme-format-select__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; }
.theme-format-select__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-field { margin: 1.5rem 0 0; }
.theme-attr-select {
	width: 100%; padding: 0.625rem 0.75rem; border: 1px solid var(--color-border); background: var(--color-background);
	color: var(--color-foreground); font-family: var(--font-body); font-size: 0.875rem; border-radius: 0.25rem;
}
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.theme-attr-pills--color { gap: 0.75rem; }
.theme-attr-pill--color {
	display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.35rem 0.5rem;
	border: 2px solid transparent; border-radius: 0.5rem; background: transparent; cursor: pointer; transition: border-color .2s, background .2s;
}
.theme-attr-pill--color:hover { border-color: var(--color-border); }
.theme-attr-pill--color.is-selected {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.theme-attr-pill__swatch {
	width: 2rem; height: 2rem; border-radius: 50%; background: var(--swatch, var(--color-border));
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
}
.theme-attr-pill__label { font-family: var(--font-body); font-size: 0.6875rem; line-height: 1.3; color: var(--color-foreground); max-width: 5.5rem; text-align: center; }
.theme-format-pill, .theme-attr-pill--license {
	min-width: 56px; padding: 0.6rem 1rem; font-size: 0.75rem; font-family: var(--font-body);
	border: 1px solid var(--color-border); transition: all .2s; background: transparent;
	color: var(--color-foreground); cursor: pointer;
}
.theme-format-pill:hover, .theme-attr-pill--license:hover { border-color: var(--color-accent); }
/* Lovable ProductDetail selected format: bg-foreground, label must match (not .theme-attr-pill__label default) */
.theme-format-pill.is-selected,
.theme-attr-pill.theme-format-pill.is-selected,
.theme-attr-pill--license.is-selected {
	background: var(--color-foreground);
	color: #ffffff;
	border-color: var(--color-logo-blue, var(--color-accent));
}
.theme-format-pill.is-selected .theme-attr-pill__label,
.theme-attr-pill.theme-format-pill.is-selected .theme-attr-pill__label,
.theme-attr-pill--license.is-selected .theme-attr-pill__label {
	color: #ffffff;
}
html.dark .theme-format-pill.is-selected,
html.dark .theme-attr-pill.theme-format-pill.is-selected,
html.dark .theme-attr-pill--license.is-selected,
.dark .theme-format-pill.is-selected,
.dark .theme-attr-pill.theme-format-pill.is-selected,
.dark .theme-attr-pill--license.is-selected {
	color: #0a0a0a;
}
html.dark .theme-format-pill.is-selected .theme-attr-pill__label,
html.dark .theme-attr-pill.theme-format-pill.is-selected .theme-attr-pill__label,
html.dark .theme-attr-pill--license.is-selected .theme-attr-pill__label,
.dark .theme-format-pill.is-selected .theme-attr-pill__label,
.dark .theme-attr-pill.theme-format-pill.is-selected .theme-attr-pill__label,
.dark .theme-attr-pill--license.is-selected .theme-attr-pill__label {
	color: #0a0a0a;
}

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { width: 44px; height: var(--btn-height); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.theme-qty-input { width: 44px; height: var(--btn-height); border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); text-align: center; background: transparent; color: var(--color-foreground); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Lovable PDP: mt-10 grid grid-cols-3 gap-4 text-center */
.theme-product-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; margin-top: 2.5rem; margin-bottom: 0; }
.theme-product-feature { display: flex; flex-direction: column; align-items: center; }
.theme-product-feature .theme-icon { width: 28px; height: 28px; flex-shrink: 0; margin-bottom: 0.75rem; color: var(--color-foreground); }
.theme-product-feature__title { font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.375; margin: 0; color: var(--color-foreground); }
.theme-product-feature__sub { font-family: var(--font-body); font-size: 11px; line-height: 1.375; margin: 0.25rem 0 0; color: var(--color-muted-foreground); }

.theme-product-description, .theme-product-details { margin-top: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details__title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.28em; margin-bottom: 1rem; }
.theme-product-details__body ul { padding-left: 1.25rem; }

.related-products-section { padding-block: 5rem; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.related-products-section__title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: var(--leading-tight); margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }

/* 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-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: uppercase !important;
	letter-spacing: 0.28em !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	flex: 1 1 auto;
	min-width: 160px;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Hide "View cart" injected 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; }

/* 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 hiding only where the drawer already gives feedback */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	border-radius: 0.75rem; border: 1px solid var(--color-border); background: var(--color-secondary);
	color: var(--color-foreground); font-family: var(--font-body); padding: 1rem 1.5rem; list-style: none; margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: var(--color-destructive); background: color-mix(in srgb, var(--color-destructive) 10%, var(--color-background)); }

/* Breadcrumbs (not present in the source design — suppressed via remove_action) */

/* --------------------------- CHECKOUT BLOCK --------------------------- */
body.woocommerce-checkout .theme-checkout-main {
	padding-top: var(--header-height, 92px);
	padding-bottom: 4rem;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .theme-checkout-main { padding-top: 5.25rem; }
}
body.woocommerce-checkout.theme-announcement-active .theme-checkout-main {
	padding-top: calc(var(--header-height, 92px) + 2rem);
}
@media (min-width: 768px) {
	body.woocommerce-checkout.theme-announcement-active .theme-checkout-main {
		padding-top: calc(5.25rem + 2rem);
	}
}
.theme-checkout-shell {
	padding-block: 0.5rem 0;
	padding-inline: var(--checkout-inline-padding);
	max-width: var(--checkout-max-width); width: 100%; margin-inline: auto; box-sizing: border-box;
}
.theme-checkout-header {
	max-width: var(--checkout-max-width); width: 100%; margin-inline: auto; margin-bottom: 0;
	padding-inline: 0; box-sizing: border-box;
}
.checkout-continue-link {
	display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
	font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); transition: color .2s;
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.checkout-continue-link .theme-icon { width: 1rem; height: 1rem; }
.theme-checkout-title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; margin: 0; }
.theme-checkout-intro { margin: 0.75rem 0 0; font-family: var(--font-body); font-size: 0.9375rem; color: var(--color-muted-foreground); }

body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content { max-width: none; width: 100%; }
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0; padding-top: 0;
	padding-inline: var(--checkout-inline-padding);
	box-sizing: border-box;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child { margin-top: 0; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
	max-width: var(--checkout-max-width); width: 100%; margin-inline: auto; margin-top: 0; padding-top: 0;
	padding-inline: 0;
	min-width: 0; box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide { margin-top: 0; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main { margin-top: 0; padding-top: 0; }
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout { margin-top: 0; padding-top: 0; }

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty { display: none; margin: 0; padding: 0; }
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width); width: 100%; margin-inline: auto; margin-top: 0; padding-top: 0;
	padding-inline: 0;
	margin-bottom: var(--checkout-gap); box-sizing: border-box;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important; grid-template-columns: 1fr minmax(360px, 400px); gap: var(--checkout-gap);
		align-items: start; flex-direction: unset; flex-wrap: nowrap; margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important; max-width: 100%; min-width: 0; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid; grid-template-columns: 1fr minmax(360px, 400px); gap: var(--checkout-gap); align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices { grid-column: 1 / -1; }
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent; padding: 0; border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%; background: var(--color-secondary); border-radius: var(--card-radius); padding: 2rem; box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto; max-width: 36rem; text-align: center;
	display: flex; flex-direction: column; align-items: center;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
	width: 100% !important; max-width: none !important; font-family: var(--font-body); border-color: var(--color-border); border-radius: 0.5rem;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus { border-color: var(--color-primary); }

/* WC Blocks keeps light input surfaces in dark mode — labels/text must stay dark on those fields */
html.dark body.woocommerce-checkout .wc-block-components-text-input input,
html.dark body.woocommerce-checkout .wc-block-components-text-input input:focus,
html.dark body.woocommerce-checkout .wc-block-components-select select,
html.dark body.woocommerce-checkout .wc-blocks-components-select select,
html.dark body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
html.dark .entry-content .wc-block-checkout .wc-block-components-text-input input,
html.dark .entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
html.dark .entry-content .wc-block-checkout .wc-block-components-select select,
html.dark .entry-content .wc-block-checkout .wc-blocks-components-select select,
html.dark .entry-content .wc-block-checkout .wc-block-components-combobox .wc-block-components-combobox-control input {
	background: #ffffff;
	color: var(--color-ink);
}
html.dark body.woocommerce-checkout .wc-block-components-text-input label,
html.dark body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control label,
html.dark body.woocommerce-checkout .wc-block-components-select label,
html.dark body.woocommerce-checkout .wc-blocks-components-select__label,
html.dark body.woocommerce-checkout .wc-blocks-components-select label,
html.dark .entry-content .wc-block-checkout .wc-block-components-text-input label,
html.dark .entry-content .wc-block-checkout .wc-block-components-combobox .wc-block-components-combobox-control label,
html.dark .entry-content .wc-block-checkout .wc-block-components-select label,
html.dark .entry-content .wc-block-checkout .wc-blocks-components-select__label,
html.dark .entry-content .wc-block-checkout .wc-blocks-components-select label {
	color: var(--color-ink);
	opacity: 1;
}
html.dark body.woocommerce-checkout .wc-block-components-text-input.is-active label,
html.dark body.woocommerce-checkout .wc-block-components-text-input.has-error label,
html.dark .entry-content .wc-block-checkout .wc-block-components-text-input.is-active label,
html.dark .entry-content .wc-block-checkout .wc-block-components-text-input.has-error label {
	color: var(--color-ink);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; border-radius: var(--btn-radius) !important; text-transform: none;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner { border-radius: 0.75rem; }

/* --------------------------- CART / ACCOUNT PAGES --------------------------- */
body.woocommerce-cart .site-main, body.woocommerce-account .site-main { padding-top: var(--header-height, 92px); padding-bottom: 4rem; }

/* --------------------------- THANK YOU PAGE --------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height, 92px); }
body.theme-thankyou-page .woocommerce-order { max-width: 60rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { border: 1px solid var(--color-border); border-radius: 0.75rem; padding: 0.75rem 1.25rem; }
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 { 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; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* --------------------------- IMAGE WRAPPERS (Section 15.1) --------------------------- */
.theme-product-card__media { position: relative; overflow: hidden; }
