/* =========================================================================
   06Wear theme stylesheet.
   ========================================================================= */

:root {
	--font-display: 'Dela Gothic One', 'Inter', sans-serif;
	--font-body: 'Inter', sans-serif;
	--radius: 0.125rem;
	--card-radius: 0.75rem; /* rounded-xl for tiles/panels */
	--product-card-radius: var(--radius); /* rounded-lg in Lovable ProductCard */
	--btn-radius: 0.375rem;
	--btn-height: 44px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
	--header-height: 64px;
	/* Lovable src/index.css light tokens (overridden by inline HSL from PHP) */
	--background: 40 20% 95%;
	--foreground: 0 0% 7%;
	--card: 48 8% 92%;
	--primary: 0 0% 7%;
	--primary-foreground: 40 20% 95%;
	--secondary: 48 8% 92%;
	--muted: 40 6% 86%;
	--muted-foreground: 0 0% 40%;
	--accent: 72 100% 62%;
	--accent-foreground: 0 0% 7%;
	--destructive: 9 65% 45%;
	--border: 40 6% 82%;
	--ring: 0 0% 7%;
	--color-background: hsl(var(--background));
	--color-foreground: hsl(var(--foreground));
	--color-primary: hsl(var(--primary));
	--color-secondary: hsl(var(--secondary));
	--color-card: hsl(var(--card));
	--color-muted: hsl(var(--muted));
	--color-muted-fg: hsl(var(--muted-foreground));
	--color-accent: hsl(var(--accent));
	--color-accent-fg: hsl(var(--accent-foreground));
	--color-border: hsl(var(--border));
	--color-destructive: hsl(var(--destructive));
	--color-button-text: hsl(var(--background)); /* unified with bone */
	--shadow-soft: 0 2px 12px -4px hsl(0 0% 0% / 0.08);
	--shadow-elevated: 0 10px 30px -10px hsl(0 0% 0% / 0.18);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--checkout-gap: 2rem;
}
@media (min-width: 768px) {
	:root { --header-height: 80px; }
}

/* ---------------- Reset ---------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.site-logo-img):not(.theme-product-main-image) {
	max-width: 100%; height: auto;
}
.cover-img, .hero-bg-img, .product-card-img,
.theme-product-main-image, .theme-product-thumb img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center;
}
.product-card-img { object-position: top center; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
dl, dt, dd { margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* max-w-7xl = 80rem / 1280px — never combine container-wide with vertical padding shorthand */
.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.theme-section-pad { padding-block: 4rem; }
@media (min-width: 768px) { .theme-section-pad { padding-block: 6rem; } }
.theme-section-pad-lg { padding-block: 5rem; }
@media (min-width: 768px) { .theme-section-pad-lg { padding-block: 7rem; } }
.theme-section-pad-faq { padding-block: 5rem; }
@media (min-width: 768px) { .theme-section-pad-faq { padding-block: 6rem; } }
.theme-section-tight { padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section-tight { padding-bottom: 6rem; } }
.theme-section-tight-sm { padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section-tight-sm { padding-bottom: 6rem; } }
.theme-text-center { text-align: center; }
.theme-scroll-mt { scroll-margin-top: 6rem; }
.theme-border-t { border-top: 1px solid var(--color-border); }

.theme-eyebrow {
	display: block;
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.theme-eyebrow--center { text-align: center; }
.theme-eyebrow--light { color: var(--color-accent); }
.theme-eyebrow--tag { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-muted-fg); font-weight: 400; }

.theme-section-header {
	display: flex; flex-direction: column; gap: 1rem;
	justify-content: space-between; align-items: flex-start;
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	.theme-section-header { flex-direction: row; align-items: flex-end; margin-bottom: 3rem; }
}

.theme-link-underline {
	position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--color-muted-fg);
	font-family: var(--font-body);
	white-space: nowrap;
}
.theme-link-underline::after {
	content: ''; position: absolute; bottom: -3px; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover { color: var(--color-foreground); }
.theme-link-underline:hover::after { transform: scaleX(1); }

/* underline-grow (product titles) */
.underline-grow { position: relative; display: inline-block; max-width: 100%; }
.underline-grow::after {
	content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
	background: currentColor; transform: scaleX(0); transform-origin: right;
	transition: transform 0.4s var(--transition-smooth);
}
.theme-product-card:hover .underline-grow::after { transform: scaleX(1); transform-origin: left; }

.swatch-pop {
	display: inline-block; height: 0.75rem; width: 0.75rem; border-radius: 50%;
	border: 1px solid hsl(var(--border) / 0.6);
	transition: transform 0.2s var(--transition-smooth), box-shadow 0.2s var(--transition-smooth);
}
.theme-product-card:hover .swatch-pop { transform: scale(1.18); }

/* ---------------- Section heading scales (Section 2.2.5) ---------------- */
.section-heading { font-family: var(--font-display); font-weight: inherit; line-height: 1.05; letter-spacing: -0.01em; }
.collections-heading, .bestsellers-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .collections-heading, .bestsellers-heading { font-size: 3rem; } }
.shop-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .shop-heading { font-size: 2.25rem; } }
.about-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }
.newsletter-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .newsletter-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .newsletter-heading { font-size: 3rem; } }
.faq-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
.contact-cta-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-cta-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-cta-heading { font-size: 4.5rem; } }

/* ---------------- Buttons ---------------- */
.theme-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: var(--btn-height); padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform); font-weight: var(--btn-font-weight);
	transition: opacity 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}
.theme-btn:hover { opacity: 0.9; }
.theme-btn:active { transform: translateY(1px); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-button-text); }
.theme-btn-accent { background: var(--color-accent); color: var(--color-accent-fg); }
.theme-btn-accent-sm { height: 2.5rem; padding: 0 1.25rem; font-size: 12px; letter-spacing: 0.08em; }
.theme-btn-cta { height: auto; padding: 1rem 2rem; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-btn-hero-primary { background: var(--color-foreground); color: var(--color-background); text-transform: none; }
.theme-btn-outline { border: 1px solid var(--color-foreground); color: var(--color-foreground); background: transparent; }
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-outline-light { border: 1px solid hsl(var(--background) / 0.6); color: hsl(var(--background)); background: transparent; }
.theme-btn-outline-light:hover { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.theme-btn-block { width: 100%; }
.theme-btn svg { flex-shrink: 0; }

/* ============================= HEADER ============================= */
.theme-announcement-bar {
	position: relative; height: 36px; overflow: hidden;
	background: var(--color-foreground); color: hsl(var(--muted));
	display: flex; align-items: center;
}
.theme-announcement-track { overflow: hidden; white-space: nowrap; flex: 1; }
.theme-announcement-set { display: inline-flex; align-items: center; animation: theme-marquee 40s linear infinite; }
.theme-announcement-item { display: inline-flex; align-items: center; margin: 0 2rem; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: hsl(var(--muted)); }
.theme-announcement-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); margin-right: 0.75rem; }
.theme-announcement-close { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); opacity: 0.7; padding: 0.25rem; color: hsl(var(--background)); }
.theme-announcement-close:hover { opacity: 1; }

.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: var(--color-background); border-bottom: 1px solid transparent;
	transition: background-color 0.3s var(--transition-smooth), border-color 0.3s var(--transition-smooth), top 0.2s ease;
}
.site-header.is-solid { background: hsl(var(--background) / 0.95); border-bottom-color: var(--color-border); backdrop-filter: blur(8px); box-shadow: var(--shadow-soft); }

/* WordPress admin bar vs sticky header (frontend + Customizer preview) */
body.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}
/* <=600px: WP switches #wpadminbar to absolute — keep it fixed and anchor the header */
@media screen and (max-width: 600px) {
	body.admin-bar #wpadminbar {
		position: fixed !important;
	}
	/* Avoid the classic blank-gap bug from body { position: relative } with absolute admin bar */
	body.admin-bar {
		padding-top: 0 !important;
		position: static !important;
	}
	html.wp-toolbar {
		padding-top: 0 !important;
	}
	body.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}

.theme-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
@media (min-width: 768px) { .theme-nav { height: 80px; } }

.site-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height, 40px) !important; width: auto !important; display: block; }
.site-logo-img--invert { filter: invert(1); }
.site-logo-text { font-family: var(--font-display); font-size: 1.1rem; color: var(--color-foreground); }

.theme-nav-center { display: none; }
@media (min-width: 1024px) { .theme-nav-center { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; }
.theme-nav-list a, .theme-nav-list button {
	position: relative; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	font-family: var(--font-body); transition: color 0.3s;
}
.theme-nav-list a::after, .theme-nav-list button::after {
	content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after, .theme-nav-list button:hover::after { transform: scaleX(1); }

.theme-nav-actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.theme-icon-btn { position: relative; display: inline-flex; padding: 0.5rem; color: var(--color-foreground); transition: opacity 0.2s; }
.theme-icon-btn:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500;
	background: var(--color-primary); color: var(--color-button-text); border-radius: 50%;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: block; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

/* Mobile nav — animated drawer */
.theme-mobile-menu {
	display: grid;
	grid-template-rows: 0fr;
	border-top: 1px solid transparent;
	transition: grid-template-rows 0.45s var(--transition-smooth), border-color 0.3s ease;
}
.theme-mobile-menu > * { overflow: hidden; min-height: 0; }
.theme-mobile-menu.is-open {
	grid-template-rows: 1fr;
	border-top-color: var(--color-border);
}
.theme-mobile-menu-inner {
	padding: 0 0;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.35s var(--transition-smooth) 0.05s, transform 0.4s var(--transition-smooth) 0.05s, padding 0.35s ease;
}
.theme-mobile-menu.is-open .theme-mobile-menu-inner {
	padding: 0.75rem 0 1.25rem;
	opacity: 1;
	transform: translateY(0);
}
@media (min-width: 1024px) {
	.theme-mobile-menu { display: none !important; }
}
.theme-mobile-nav-list, .theme-mobile-menu .theme-nav-list {
	display: flex; flex-direction: column; gap: 0.15rem;
}
.theme-mobile-menu a, .theme-mobile-menu button {
	display: block; text-align: left; padding: 0.85rem 0;
	font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
	opacity: 0; transform: translateX(-12px);
	transition: color 0.25s ease, opacity 0.35s var(--transition-smooth), transform 0.4s var(--transition-smooth);
}
.theme-mobile-menu.is-open a,
.theme-mobile-menu.is-open button {
	opacity: 1; transform: translateX(0);
}
.theme-mobile-menu.is-open a:nth-child(1),
.theme-mobile-menu.is-open li:nth-child(1) a,
.theme-mobile-menu.is-open li:nth-child(1) button { transition-delay: 0.08s; }
.theme-mobile-menu.is-open a:nth-child(2),
.theme-mobile-menu.is-open li:nth-child(2) a,
.theme-mobile-menu.is-open li:nth-child(2) button { transition-delay: 0.14s; }
.theme-mobile-menu.is-open a:nth-child(3),
.theme-mobile-menu.is-open li:nth-child(3) a,
.theme-mobile-menu.is-open li:nth-child(3) button { transition-delay: 0.2s; }
.theme-mobile-menu.is-open a:nth-child(4),
.theme-mobile-menu.is-open li:nth-child(4) a,
.theme-mobile-menu.is-open li:nth-child(4) button { transition-delay: 0.26s; }
.theme-mobile-menu.is-open a:nth-child(5),
.theme-mobile-menu.is-open li:nth-child(5) a,
.theme-mobile-menu.is-open li:nth-child(5) button { transition-delay: 0.32s; }
.theme-mobile-menu a:hover, .theme-mobile-menu button:hover { color: var(--color-primary); }

@media (prefers-reduced-motion: reduce) {
	.theme-mobile-menu,
	.theme-mobile-menu-inner,
	.theme-mobile-menu a,
	.theme-mobile-menu button {
		transition: none !important;
	}
	.theme-mobile-menu a,
	.theme-mobile-menu button {
		opacity: 1; transform: none;
	}
}

/* Home hero: no top padding under header — height already subtracts header */
.theme-no-hero .site-main { padding-top: var(--header-height); }
body:not(.theme-no-hero) .theme-hero { margin-top: 0; padding-top: 0; }

/* ---------------- Search overlay ---------------- */
.theme-search-overlay {
	position: fixed; inset: 0; z-index: 70; background: hsl(var(--foreground) / 0.4);
	display: flex; align-items: flex-start; justify-content: center;
	opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.theme-search-overlay.is-open { opacity: 1; pointer-events: auto; }
.theme-search-box { margin-top: 10vh; width: 100%; max-width: 560px; display: flex; align-items: center; gap: 0.75rem; padding: 0 1.5rem; }
.theme-search-form { flex: 1; display: flex; align-items: center; gap: 0.5rem; background: var(--color-background); border-radius: var(--btn-radius); padding: 0.75rem 1rem; }
.theme-search-form input { flex: 1; border: none; background: transparent; font-size: 1rem; outline: none; color: var(--color-foreground); }
.theme-search-form button { color: var(--color-foreground); display: inline-flex; }
.theme-search-close { color: hsl(var(--background)); }

/* ============================= CONTACT MODAL ============================= */
.theme-contact-modal-overlay {
	position: fixed; inset: 0; z-index: 80; background: hsl(0 0% 0% / 0.8);
	display: flex; align-items: center; justify-content: center; padding: 1.5rem;
	opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.theme-contact-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.theme-contact-modal {
	position: relative; background: var(--color-background); border-radius: var(--card-radius);
	max-width: 32rem; width: 100%; max-height: 90vh; overflow-y: auto; padding: 2rem;
	transform: scale(0.96) translateY(8px); opacity: 0; transition: transform 0.25s var(--transition-smooth), opacity 0.25s;
}
.theme-contact-modal-overlay.is-open .theme-contact-modal { transform: scale(1) translateY(0); opacity: 1; }
.theme-contact-modal-close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; }
.theme-contact-modal-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal-subtitle { color: var(--color-muted-fg); font-size: 0.9rem; margin-bottom: 1rem; }
.theme-contact-modal-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--color-muted-fg); margin-bottom: 1.25rem; }
.theme-contact-modal-meta a:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-form-row-2 { grid-template-columns: 1fr 1fr; } }
.theme-contact-form label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; }
.theme-contact-form input, .theme-contact-form textarea {
	width: 100%; padding: 0.6rem 0.75rem; background: var(--color-background);
	border: 1px solid var(--color-border); border-radius: var(--btn-radius); font-size: 1rem; resize: none;
}
.theme-contact-form input:focus, .theme-contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success-icon {
	width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-button-text);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-contact-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-success p { color: var(--color-muted-fg); font-size: 0.9rem; }

/* ============================= HERO ============================= */
.theme-hero {
	position: relative;
	height: calc(100svh - var(--site-header-height, var(--header-height)));
	width: 100%; overflow: hidden; background: var(--color-background);
	/* Do not set isolation/z-index here — mix-blend-difference on the title
	   must composite against the photo + vignette (Lovable parity). */
}
.theme-hero-slides { position: absolute; inset: 0; }
.theme-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease-in-out; }
.theme-hero-slide.is-active { opacity: 1; }
.theme-hero-slide.is-active img { animation: theme-ken-burns 8s ease-out forwards; }
/* No z-index on vignette/copy — a stacking context would isolate mix-blend-mode. */
.theme-hero-vignette {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to bottom, hsl(var(--background) / 0.25), transparent, hsl(var(--background) / 0.6));
}
.theme-hero-copy {
	position: absolute; inset: 0;
	/* intentional: no z-index / isolation / transform / filter / opacity */
}
.theme-hero-content-wrap {
	height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding-bottom: 5rem;
}
@media (min-width: 768px) { .theme-hero-content-wrap { padding-bottom: 6rem; } }
.theme-hero-content { max-width: 56rem; padding: 0 0.5rem; width: 100%; }
.theme-hero-content-body {
	animation: theme-slide-up 0.9s var(--transition-smooth) both;
	isolation: isolate; /* keep CTA/subtitle out of the title blend */
}
/* Lovable: text-white + mix-blend-difference — inverts against the hero photo */
.theme-hero-title {
	font-family: var(--font-display); font-size: 2.5rem; line-height: 0.95;
	color: #ffffff;
	margin: 0 0 1rem;
	mix-blend-mode: difference;
}
@media (min-width: 480px) { .theme-hero-title { font-size: 3.75rem; } }
@media (min-width: 768px) { .theme-hero-title { font-size: 4.5rem; margin-bottom: 1.5rem; } }
@media (min-width: 1024px) { .theme-hero-title { font-size: 6.25rem; } }
.theme-hero-sub-row { display: flex; align-items: flex-start; justify-content: center; gap: 0.75rem; max-width: 28rem; margin: 0 auto 1.5rem; }
@media (min-width: 768px) { .theme-hero-sub-row { margin-bottom: 2rem; } }
.theme-hero-badge-star { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-fg); flex-shrink: 0; margin-top: 0.15rem; }
.theme-hero-sub-row p { font-size: 0.875rem; color: hsl(var(--foreground) / 0.85); line-height: 1.6; text-align: left; }
@media (min-width: 768px) { .theme-hero-sub-row p { font-size: 1rem; } }

.theme-hero-rotating-badge { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 92px; height: 92px; z-index: 10; }
@media (min-width: 768px) { .theme-hero-rotating-badge { bottom: 2.5rem; width: 110px; height: 110px; } }
.theme-hero-badge-spin { width: 100%; height: 100%; animation: theme-spin-slow 18s linear infinite; }
.theme-hero-badge-text { fill: var(--color-foreground); font-size: 10.5px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; }
.theme-hero-badge-center {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.theme-hero-badge-center::before { content: ''; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--color-foreground); }
.theme-hero-badge-center svg { position: relative; color: var(--color-background); }
@media (min-width: 768px) { .theme-hero-badge-center::before { width: 48px; height: 48px; } }

.theme-hero-dots { position: absolute; bottom: 1.5rem; right: 1.5rem; display: flex; align-items: center; gap: 0.5rem; z-index: 10; }
@media (min-width: 768px) { .theme-hero-dots { right: 2rem; } }
.theme-hero-dot { height: 6px; width: 16px; border-radius: 999px; background: hsl(var(--foreground) / 0.3); transition: all 0.3s; }
.theme-hero-dot.is-active { width: 32px; background: var(--color-foreground); }

/* ============================= COLLECTIONS ============================= */
.theme-cat-tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.75rem; }
@media (min-width: 1024px) { .theme-cat-tile-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; } }
.theme-cat-tile { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: 0.75rem; }
.theme-cat-tile img { transition: transform 0.7s ease-out; }
.theme-cat-tile:hover img { transform: scale(1.05); }
.theme-cat-tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--foreground) / 0.7), hsl(var(--foreground) / 0.1), transparent); }
.theme-cat-tile-caption { position: absolute; left: 1rem; bottom: 1rem; color: hsl(var(--background)); }
@media (min-width: 768px) { .theme-cat-tile-caption { left: 1.25rem; bottom: 1.25rem; } }
.theme-cat-tile-caption h3 { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .theme-cat-tile-caption h3 { font-size: 1.25rem; } }
.theme-cat-tile-caption span { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 12px; }

/* ============================= PROMO BENTO ============================= */
.theme-promo-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 768px) { .theme-promo-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.theme-promo-panel { border-radius: 0.75rem; overflow: hidden; background: var(--color-secondary); }
.theme-promo-panel:nth-child(2) { background: var(--color-muted); }
.theme-promo-panel-inner { display: grid; grid-template-columns: 1fr; align-items: stretch; min-height: 220px; }
@media (min-width: 768px) { .theme-promo-panel-inner { grid-template-columns: 1fr 1fr; min-height: 280px; } }
.theme-promo-panel-copy { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .theme-promo-panel-copy { padding: 2.5rem; } }
.theme-promo-tag { display: inline-block; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-fg); border: 1px solid var(--color-border); border-radius: var(--btn-radius); padding: 0.25rem 0.75rem; margin-bottom: 0.75rem; width: fit-content; }
.theme-promo-panel-copy h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-promo-panel-copy h3 { font-size: 1.875rem; } }
.theme-promo-panel-media { position: relative; min-height: 220px; order: -1; }
@media (min-width: 768px) { .theme-promo-panel-media { min-height: 280px; order: 2; } }

/* ============================= PRODUCT CARDS / GRID ============================= */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.75rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-product-grid--bestsellers { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 768px) { .theme-product-grid--bestsellers { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { height: 100%; }
.theme-shop-hidden { display: none !important; }

.theme-product-card {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: var(--color-card); border: 1px solid hsl(var(--border) / 0.6);
	border-radius: var(--product-card-radius); overflow: hidden;
	transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}
.theme-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }

.theme-product-card__image-link { display: block; color: inherit; text-decoration: none; }
.theme-product-card__image-wrapper { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--color-muted); }
.theme-product-card__image-wrapper img { transition: transform 0.8s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-stock-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; padding: 0.25rem 0.75rem;
	font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em; background: var(--color-foreground); color: var(--color-background); border-radius: var(--btn-radius);
}
.theme-product-card__info { padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; text-align: left; }
.theme-product-card__text-link { display: block; color: inherit; text-decoration: none; }
.theme-product-card__cat { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-fg); }
.theme-product-card__title {
	font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; color: var(--color-foreground);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.theme-product-card__row { margin-top: auto; }
.theme-product-card__price-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.theme-product-card__price-row-left { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.theme-product-card__swatches {
	position: relative;
	display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0;
}
.theme-product-card__price { font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); text-decoration: none; }
.theme-product-card__price del { color: var(--color-muted-fg); margin-right: 0.35rem; }
.theme-quick-add {
	position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
	width: 1.75rem; height: 1.75rem; border-radius: 50%; border: none; padding: 0;
	background: var(--color-accent); color: var(--color-accent-fg); cursor: pointer;
	transition: opacity 0.2s; flex-shrink: 0;
}
.theme-quick-add:hover { opacity: 0.9; }
.theme-quick-add--disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }
.theme-quick-add.theme-btn-loading { opacity: 0.6; pointer-events: none; cursor: wait; }

/* Card compact add-to-cart button overrides global WC button sizing */
.theme-product-card .theme-quick-add.add_to_cart_button,
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important; height: 1.75rem !important; width: 1.75rem !important;
	padding: 0 !important; border-radius: 50% !important; font-size: 0 !important;
	background: var(--color-accent) !important; color: var(--color-accent-fg) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart::after { content: ''; }

/* ============================= MARQUEE ============================= */
.theme-marquee-section { background: var(--color-foreground); padding: 1.25rem 0; overflow: hidden; }
@media (min-width: 768px) { .theme-marquee-section { padding: 1.5rem 0; } }
.theme-marquee-track { display: flex; white-space: nowrap; animation: theme-marquee 40s linear infinite; }
.theme-marquee-set { display: flex; align-items: center; flex-shrink: 0; }
.theme-marquee-word { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; padding: 0 1rem; }
@media (min-width: 768px) { .theme-marquee-word { font-size: 2.5rem; padding: 0 2rem; } }
@media (min-width: 1024px) { .theme-marquee-word { font-size: 3rem; } }
.theme-marquee-word.is-solid { color: var(--color-background); }
.theme-marquee-word.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--color-background); }
.theme-marquee-sep { color: hsl(var(--background) / 0.8); padding: 0 0.5rem; display: inline-flex; }
@media (min-width: 768px) { .theme-marquee-sep { padding: 0 1rem; } }

/* ============================= SHOP ============================= */
.theme-shop-section { border-top: 1px solid var(--color-border); scroll-margin-top: 6rem; }
.theme-shop-header { text-align: center; margin-bottom: 1.5rem; }
.theme-shop-filters { border-bottom: 1px solid var(--color-border); padding-bottom: 1.25rem; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-shop-filter-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 1rem 1.5rem; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.theme-shop-filter-row::-webkit-scrollbar { display: none; }
.theme-shop-filter { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; position: relative; }
.theme-shop-filter > span, .theme-shop-filter-label { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-fg); }
.theme-shop-filter select {
	appearance: none; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	padding: 0.25rem 1.25rem 0.25rem 0; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-foreground); cursor: pointer;
}
.theme-shop-filter select:focus { outline: none; border-bottom-color: var(--color-foreground); }
.theme-shop-filter-chevron { position: absolute; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--color-muted-fg); }
.theme-shop-gender-pills { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 0.25rem; border-radius: 999px; background: var(--color-secondary); padding: 0.25rem; }
.theme-shop-gender-pill {
	appearance: none; border: 0; background: transparent; color: inherit; cursor: pointer;
	padding: 0 0.5rem; height: 1.75rem; border-radius: 999px; font-size: 11px; letter-spacing: 0.2em;
	font-family: var(--font-body); text-transform: uppercase; white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}
@media (min-width: 1024px) { .theme-shop-gender-pill { padding: 0 0.75rem; height: 2rem; } }
.theme-shop-gender-pill.is-active { background: var(--color-foreground); color: var(--color-background); }
.theme-shop-filter--search {
	position: relative;
	width: 100%;
	max-width: none;
	flex-shrink: 1;
	flex: 1 1 100%;
}
.theme-shop-filter-search-row {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
}
.theme-shop-filter--search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-fg); }
.theme-shop-filter--search input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--color-border); padding: 0.4rem 0 0.4rem 1.35rem; font-size: 0.875rem; color: var(--color-foreground); }
.theme-shop-filter--search input:focus { outline: none; border-bottom-color: var(--color-foreground); }
.theme-shop-grid { margin-top: 2.5rem; }

.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-fg); }
.theme-shop-load-more-wrap { text-align: center; margin-top: 3rem; }

/* ============================= TRUST BAR ============================= */
.theme-trust-bar { background: var(--color-secondary); padding-block: 1.5rem; overflow-x: clip; }
@media (min-width: 768px) { .theme-trust-bar { padding-block: 2rem; } }
.theme-trust-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 1rem;
}
@media (min-width: 768px) {
	.theme-trust-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.5rem;
	}
}
.theme-trust-item {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 480px) {
	.theme-trust-item { align-items: center; gap: 0.75rem; }
}
.theme-trust-icon {
	width: 2.25rem; height: 2.25rem; border-radius: 50%;
	background: var(--color-background);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@media (min-width: 480px) {
	.theme-trust-icon { width: 2.5rem; height: 2.5rem; }
}
.theme-trust-text {
	min-width: 0;
	flex: 1 1 auto;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.theme-trust-title {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}
@media (min-width: 480px) {
	.theme-trust-title { font-size: 0.875rem; }
}
.theme-trust-copy {
	font-size: 11px;
	line-height: 1.4;
	color: var(--color-muted-fg);
	margin: 0.15rem 0 0;
}
@media (min-width: 480px) {
	.theme-trust-copy { font-size: 12px; }
}

/* ============================= NEWSLETTER ============================= */
.theme-newsletter-panel { display: grid; grid-template-columns: 1fr; border-radius: 1rem; overflow: hidden; background: var(--color-muted); }
@media (min-width: 768px) { .theme-newsletter-panel { grid-template-columns: 1fr 1fr; border-radius: 1rem; } }
.theme-newsletter-media { position: relative; min-height: 280px; }
@media (min-width: 768px) { .theme-newsletter-media { min-height: 420px; } }
.theme-newsletter-copy { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .theme-newsletter-copy { padding: 3.5rem; } }
.theme-newsletter-copy p { color: var(--color-muted-fg); max-width: 28rem; margin-bottom: 2rem; }
.theme-newsletter-form { position: relative; max-width: 28rem; }
.theme-newsletter-form input { width: 100%; height: 3rem; border-radius: var(--btn-radius); background: var(--color-background); border: 1px solid var(--color-border); padding: 0 8rem 0 1.25rem; font-size: 0.875rem; }
.theme-newsletter-form input:focus { outline: 2px solid var(--color-primary); }
.theme-newsletter-form button {
	position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); height: 2.5rem; padding: 0 1.25rem;
	border-radius: var(--btn-radius); background: var(--color-primary); color: var(--color-button-text);
	font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; transition: background-color 0.2s, color 0.2s;
}
.theme-newsletter-form button:hover { background: hsl(var(--foreground)); color: hsl(var(--background)); }

/* ============================= ABOUT ============================= */
.theme-about-section {
	background: hsl(var(--secondary) / 0.6);
	border-top: 1px solid var(--color-border);
	scroll-margin-top: 6rem;
}
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-about-media { position: relative; border-radius: 1rem; overflow: hidden; min-height: 420px; }
@media (min-width: 768px) { .theme-about-media { min-height: 520px; } }
.theme-about-copy { display: flex; flex-direction: column; justify-content: center; }
.theme-about-copy p { color: var(--color-muted-fg); line-height: 1.8; margin-bottom: 1.25rem; overflow-wrap: break-word; }
.theme-about-copy h2 { margin-bottom: 1.5rem; }
.theme-about-copy .theme-eyebrow { margin-bottom: 1.25rem; }
.theme-about-copy .theme-btn { align-self: flex-start; margin-top: 0.5rem; }

/* ============================= FAQ ============================= */
.theme-faq-section { border-top: 1px solid var(--color-border); scroll-margin-top: 6rem; }
.theme-faq-wrap { max-width: 48rem; margin: 0 auto; }
.theme-faq-list { margin-top: 3rem; }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-faq-question span:first-child { font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 768px) { .theme-faq-question span:first-child { font-size: 1.25rem; } }
.theme-faq-icon .icon-minus { display: none; }
.theme-faq-item.is-open .theme-faq-icon .icon-plus { display: none; }
.theme-faq-item.is-open .theme-faq-icon .icon-minus { display: block; }
.theme-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth); }
.theme-faq-item.is-open .theme-faq-answer { max-height: 400px; }
.theme-faq-answer p { padding-bottom: 1.5rem; color: var(--color-muted-fg); line-height: 1.7; }

/* ============================= CONTACT CTA ============================= */
.theme-contact-cta { position: relative; width: 100%; overflow: hidden; background: var(--color-foreground); min-height: 70vh; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .theme-contact-cta { min-height: 75vh; } }
.theme-contact-cta-media { position: absolute; inset: 0; }
.theme-contact-cta-media video { object-fit: cover; }
.theme-contact-cta-dim { position: absolute; inset: 0; background: hsl(var(--foreground) / 0.4); }
.theme-contact-cta-overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--foreground) / 0.7), hsl(var(--foreground) / 0.2), hsl(var(--foreground) / 0.5)); }
.theme-contact-cta-content { position: relative; z-index: 2; text-align: center; color: hsl(var(--background)); padding: 5rem 0; }
@media (min-width: 768px) { .theme-contact-cta-content { padding: 7rem 0; } }
.theme-contact-cta-content h2 { max-width: 56rem; margin: 0 auto 1.5rem; }
.theme-contact-cta-content p { max-width: 36rem; margin: 0 auto 2.5rem; color: hsl(var(--background) / 0.8); font-size: 1rem; }
@media (min-width: 768px) { .theme-contact-cta-content p { font-size: 1.125rem; } }
.theme-contact-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 480px) { .theme-contact-cta-actions { flex-direction: row; gap: 1rem; } }
.theme-contact-cta-actions .theme-btn { height: auto; padding: 1rem 2rem; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* ============================= FOOTER ============================= */
.site-footer { background: var(--color-foreground); color: hsl(var(--background) / 0.85); }
/* Lovable: container-wide py-14 md:py-20 — use padding-block so container gutters stay */
.theme-footer-inner { padding-block: 3.5rem; }
@media (min-width: 768px) { .theme-footer-inner { padding-block: 5rem; } }
.theme-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem 2rem; }
@media (min-width: 768px) { .theme-footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 2rem; } }
.theme-footer-brand { grid-column: span 2 / span 2; }
@media (min-width: 1024px) { .theme-footer-brand { grid-column: span 1 / span 1; } }
.theme-footer-brand .site-logo-img { height: 2.5rem !important; }
.theme-footer-brand .site-brand { margin-bottom: 1.25rem; }
.theme-footer-tagline { font-size: 0.875rem; line-height: 1.6; max-width: 20rem; margin-bottom: 1.5rem; }
.theme-footer-social { display: flex; align-items: center; gap: 0.75rem; }
.theme-social-icon { width: 2.25rem; height: 2.25rem; border-radius: var(--btn-radius); border: 1px solid hsl(var(--background) / 0.25); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s, color 0.2s; }
.theme-social-icon:hover { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.theme-footer-col h4 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: hsl(var(--background)); margin-bottom: 1.25rem; }
.theme-footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-col a, .theme-footer-col button { font-size: 0.875rem; text-align: left; color: hsl(var(--background) / 0.8); transition: color 0.2s; }
.theme-footer-col a:hover, .theme-footer-col button:hover { color: hsl(var(--background)); }
.theme-footer-newsletter { grid-column: span 2 / span 2; }
@media (min-width: 768px) { .theme-footer-newsletter { grid-column: span 3 / span 3; } }
@media (min-width: 1024px) { .theme-footer-newsletter { grid-column: span 1 / span 1; } }
.theme-footer-newsletter p { font-size: 0.875rem; margin-bottom: 1rem; }
.theme-footer-form { position: relative; }
.theme-footer-form input { width: 100%; height: 2.75rem; border-radius: var(--btn-radius); background: hsl(var(--background)); color: hsl(var(--foreground)); padding: 0 3rem 0 1rem; font-size: 0.875rem; border: none; }
.theme-footer-form input::placeholder { color: hsl(var(--muted-foreground)); }
.theme-footer-form button { position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); width: 2.25rem; height: 2.25rem; border-radius: var(--btn-radius); background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); display: flex; align-items: center; justify-content: center; }
.theme-footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--background) / 0.15); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.theme-footer-bottom p, .theme-footer-bottom a { font-size: 12px; letter-spacing: 0.02em; color: hsl(var(--background) / 0.75); }
.theme-footer-bottom a:hover { color: hsl(var(--background)); }

/* ============================= CART DRAWER ============================= */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: hsl(var(--foreground) / 0.2); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 91;
	background: var(--color-background); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-header h2 { font-family: var(--font-display); font-size: 1.1rem; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: var(--color-muted-fg); }
.theme-cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: var(--btn-radius); }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.15rem; }
.theme-cart-item-attrs { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted-fg); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.theme-cart-item-controls button { padding: 0.2rem 0.5rem; border-radius: var(--btn-radius); transition: background-color 0.2s; }
.theme-cart-item-controls button:hover { background: var(--color-secondary); }
.theme-cart-item-remove { margin-left: auto; color: var(--color-muted-fg); font-size: 0.85rem; }
.theme-cart-item-remove:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.theme-cart-subtotal-row span:first-child { color: var(--color-muted-fg); }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-fg); }

/* ============================= SCROLL REVEAL ============================= */
.reveal-item { opacity: 0; transform: translateY(16px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
	.theme-hero-slide.is-active img, .theme-hero-badge-spin, .theme-marquee-set, .theme-marquee-track, .theme-announcement-set { animation: none !important; }
}

/* ============================= KEYFRAMES ============================= */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes theme-ken-burns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes theme-spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* =========================================================================
   WOOCOMMERCE OVERRIDES
   ========================================================================= */
.woocommerce-message, .woocommerce-info { background: var(--color-secondary); border: 1px solid var(--color-border); border-radius: var(--btn-radius); padding: 1rem 1.5rem; font-size: 0.9rem; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { background: hsl(var(--destructive) / 0.1); border: 1px solid var(--color-destructive); color: var(--color-destructive); border-radius: var(--btn-radius); padding: 1rem 1.5rem; font-size: 0.9rem; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

.theme-attr-select-hidden { display: none !important; }

/* ---------------- Single product layout ---------------- */
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb span:last-child { color: var(--color-foreground); opacity: 1; margin: 0; }

.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 4rem; min-width: 0; }
@media (min-width: 1024px) {
	.single-product .theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.single-product .theme-product-gallery { grid-column: span 7 / span 7; min-width: 0; }
	.single-product .theme-product-info {
		grid-column: span 5 / span 5; min-width: 0; max-width: 100%;
		position: sticky; top: calc(var(--header-height) + 2rem); align-self: start;
	}
}
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; border-radius: var(--card-radius); }
.single-product .theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; border-radius: var(--btn-radius); background: var(--color-secondary); opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-foreground); }

.theme-product-cats { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: 0.75rem; }
.theme-product-cats a { color: var(--color-muted-fg); }
.theme-product-cats a:hover { color: var(--color-foreground); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-price { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-stock-status--out { color: var(--color-destructive); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.theme-product-description { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.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 { padding: 0.6rem 0.9rem; transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-size: 0.875rem; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area, .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.single-product .single_add_to_cart_button,
.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto; min-width: 160px;
	background-color: var(--color-accent) !important;
	color: var(--color-accent-fg) !important;
	font-size: 12px !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	padding: 1rem !important;
	min-height: auto !important;
}
.single-product .single_add_to_cart_button:hover,
.theme-add-to-cart-area .single_add_to_cart_button:hover {
	opacity: 0.9 !important;
	background-color: var(--color-accent) !important;
	color: var(--color-accent-fg) !important;
}

.single-product .variations.shop_attributes tbody, .single-product .variations tbody tr, .single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.4rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--color-border); border-radius: var(--btn-radius); transition: all 0.2s; }
.theme-attr-pill:hover { border-color: hsl(var(--foreground) / 0.6); }
.theme-attr-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-product-accordion { border-top: 1px solid var(--color-border); margin-top: 2rem; }
.theme-accordion-shipping { border-top: 1px solid var(--color-border); }
.theme-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion-toggle svg { transition: transform 0.2s; }
.theme-accordion-toggle.is-open svg { transform: rotate(180deg); }
.theme-accordion-panel { display: none; padding-bottom: 1.5rem; color: var(--color-muted-fg); font-size: 0.9375rem; line-height: 1.7; }
.theme-accordion-panel p + p { margin-top: 0.75rem; }
.theme-accordion-toggle.is-open + .theme-accordion-panel { display: block; }
.woocommerce-variation-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section .reveal-item { opacity: 1 !important; transform: none !important; }
.related-heading-wrap { text-align: center; margin-bottom: 3rem; }
.related-heading-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-fg); margin-bottom: 0.5rem; }
.related-heading { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .related-heading { font-size: 2.25rem; } }
.theme-related-grid { gap: 1.5rem; }
@media (min-width: 1024px) { .theme-related-grid { gap: 2rem; } }

/* ---------------- Archive ---------------- */
.theme-archive-header { margin-bottom: 2.5rem; }
.theme-archive-grid { margin-top: 2rem; }

/* ---------------- Thank-you page ---------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; padding: 2rem 0 5rem; }
body.theme-thankyou-page .woocommerce-order h2, body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; background: var(--color-secondary); border-radius: var(--card-radius); margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.85rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th, body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
@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; max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: var(--card-radius); padding: 1.25rem; font-style: normal; }

/* ---------------- Cart / My Account / page width parity ---------------- */
.woocommerce-cart .site-main, .woocommerce-account .site-main { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
.theme-page-container, .theme-generic-main .container-wide { padding-top: 1rem; }
.page-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }

/* ---------------- 404 ---------------- */
.theme-404-main {
	min-height: 100vh; display: flex; align-items: center; justify-content: center;
	background: var(--color-muted);
}
.theme-404-container { text-align: center; padding: 4rem 1.5rem; }
.theme-404-container .page-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-404-container p { color: var(--color-muted-fg); font-size: 1.25rem; margin-bottom: 1rem; }
.theme-404-link {
	color: var(--color-primary); text-decoration: underline;
	transition: opacity 0.2s;
}
.theme-404-link:hover { opacity: 0.9; }

/* =========================================================================
   CHECKOUT (blocks + classic) — keep order summary visible
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title {
	font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 2rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title { font-size: 2.25rem; margin-bottom: 2.5rem; }
}

/* ---- WooCommerce Blocks checkout ----
   Do NOT force display:block on .wc-block-checkout — that collapses the sidebar. */
body.woocommerce-checkout .wc-block-components-sidebar-layout {
	display: flex !important;
	flex-direction: column;
	gap: var(--checkout-gap);
	align-items: stretch;
	width: 100%;
}
@media (min-width: 782px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.is-large,
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		flex-direction: row;
		align-items: flex-start;
	}
	body.woocommerce-checkout .wc-block-checkout__main {
		flex: 1 1 58%;
		min-width: 0;
		width: auto;
		max-width: none;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		flex: 0 1 38%;
		min-width: min(100%, 18rem);
		max-width: 28rem;
		width: auto;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-wrapper {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 1.5rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar { padding: 2rem; }
}
body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name {
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	color: var(--color-muted-fg);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
	border: 1px solid var(--color-border); border-radius: var(--btn-radius); background: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: 2px solid var(--color-primary); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important; color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important; font-family: var(--font-body) !important;
	text-transform: var(--btn-text-transform) !important; letter-spacing: var(--btn-letter-spacing) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--btn-radius); font-family: var(--font-body); width: 100%;
}

/* ---- Classic shortcode checkout ---- */
.theme-checkout-form { width: 100%; }
.theme-checkout-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--checkout-gap);
	align-items: start;
}
@media (min-width: 768px) {
	.theme-checkout-layout {
		grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
	}
}
.theme-checkout-summary,
#order_review,
.woocommerce-checkout-review-order {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}
.theme-checkout-summary {
	background: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 1.5rem;
}
@media (min-width: 768px) {
	.theme-checkout-summary {
		padding: 2rem;
		position: sticky;
		top: calc(var(--header-height) + 1rem);
	}
}
#order_review_heading {
	font-family: var(--font-display);
	font-size: 1.25rem;
	margin: 0 0 1.25rem;
	color: var(--color-foreground);
}
.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	font-size: 0.875rem;
	vertical-align: top;
}
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
	border-bottom: none;
	padding-top: 0.5rem;
}
.woocommerce-checkout-review-order-table .product-name {
	color: var(--color-foreground);
	font-weight: 500;
}
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .order-total strong {
	text-align: right;
	white-space: nowrap;
}
.woocommerce-checkout-review-order-table dl,
.woocommerce-checkout-review-order-table .variation {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	color: var(--color-muted-fg);
}
.woocommerce-checkout #payment {
	background: transparent;
	border-radius: var(--btn-radius);
	padding: 0;
}
.woocommerce-checkout #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	border-bottom: 1px solid var(--color-border);
}
.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0 0 0.75rem;
	padding: 0;
}
.woocommerce-checkout #payment div.form-row {
	padding: 0;
}
.woocommerce-checkout #payment #place_order {
	width: 100%;
	margin-top: 0.5rem;
}
body.woocommerce-checkout .woocommerce-checkout .form-row {
	margin-bottom: 1rem;
}
body.woocommerce-checkout .woocommerce-checkout .form-row label {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-muted-fg);
	margin-bottom: 0.35rem;
}
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select,
body.woocommerce-checkout .woocommerce-checkout .form-row textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--btn-radius);
	background: var(--color-background);
	padding: 0.65rem 0.85rem;
}
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	margin: 0 0 1.25rem;
}
