/* ==========================================================================
   Country Charm Cuties — theme stylesheet.
   Color tokens are injected as CSS variables via wp_add_inline_style
   (Section 22.9 / 6.1). This file references var(--color-*) only.
   ========================================================================== */

:root {
	/* --color-muted-foreground injected via wp_add_inline_style (colors.php) */
	--color-secondary-foreground: var(--color-foreground);
	--color-card: #ffffff;
	--color-card-foreground: var(--color-foreground);
	/* --color-hot injected via wp_add_inline_style (colors.php) */
	/* Tailwind text-foreground/N parity — mix with surface, not transparent */
	--color-fg-25: color-mix(in srgb, var(--color-foreground) 25%, var(--color-background));
	--color-fg-45: color-mix(in srgb, var(--color-foreground) 45%, var(--color-background));
	--color-fg-50: color-mix(in srgb, var(--color-foreground) 50%, var(--color-background));
	--color-fg-55: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background));
	--color-fg-60: color-mix(in srgb, var(--color-foreground) 60%, var(--color-background));
	--color-fg-65: color-mix(in srgb, var(--color-foreground) 65%, var(--color-background));
	--color-fg-70: color-mix(in srgb, var(--color-foreground) 70%, var(--color-background));
	--color-fg-75: color-mix(in srgb, var(--color-foreground) 75%, var(--color-background));
	--color-fg-80: color-mix(in srgb, var(--color-foreground) 80%, var(--color-background));
	--color-fg-85: color-mix(in srgb, var(--color-foreground) 85%, var(--color-background));
	--color-fg-90: color-mix(in srgb, var(--color-foreground) 90%, var(--color-background));
	--color-fg-95: color-mix(in srgb, var(--color-foreground) 95%, var(--color-background));
	--color-stitch-foreground: #ffffff;
	--color-accent-tint: color-mix(in srgb, var(--color-accent) 12%, transparent);
	--color-border-soft: color-mix(in srgb, var(--color-border) 60%, transparent);
	--color-button-text: var(--color-primary-foreground);

	--radius: 1rem;
	--radius-md: 0.75rem;
	--radius-sm: 0.5rem;

	--shadow-soft: 0 8px 26px -14px hsl(24 47% 16% / 0.28);
	--shadow-elevated: 0 26px 60px -22px hsl(24 47% 16% / 0.38);
	--gradient-stitch: linear-gradient(120deg, var(--color-hot), var(--color-violet) 50%, var(--color-volt));

	--font-display: 'Anton', 'Baloo 2', system-ui, sans-serif;
	--font-body: 'Outfit', system-ui, -apple-system, sans-serif;

	--header-height: 80px;

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 15px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; margin: 0; padding: 0; }
body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
#main-content,
.site-header,
.site-footer {
	max-width: 100%;
	min-width: 0;
}
img { max-width: 100%; display: block; }
img:not(.theme-hero__scrim):not(.theme-product-card__image-wrapper img):not(.theme-product-gallery__main-img):not(.theme-about__image img):not(.theme-brand-logo):not(.theme-footer-logo) {
	height: auto;
}
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* Heading weight/size reset (Tailwind preflight parity, Section 2.2 #4) */
h1, h2, h3, h4, h5, h6, .font-display {
	font-weight: 700;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
}
.skip-link:focus {
	left: 1rem;
	top: 1rem;
	z-index: 200;
	background: var(--color-background);
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
}

a, button, [role="button"] {
	transition: color 300ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1),
		box-shadow 350ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
	a, button, [role="button"], img { transition: none !important; transform: none !important; }
}

section[id] { scroll-margin-top: 104px; }

::selection { background: color-mix(in srgb, var(--color-accent) 90%, transparent); color: var(--color-accent-foreground); }

/* Lovable index.css: px-5 sm:px-6 lg:px-10 */
.container-wide {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-inline: 1.25rem;
	min-width: 0;
}
@media (min-width: 640px) { .container-wide { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } }

.theme-eyebrow {
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-accent);
	font-weight: 700;
	margin: 0 0 1rem 0;
}
.theme-text-gradient {
	background: linear-gradient(120deg, var(--color-hot), var(--color-violet) 50%, var(--color-volt));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Theme scoped dark/light surfaces — matches src/index.css */
.theme-dark {
	--color-background: #24170f;
	--color-foreground: #faf6f0;
	--color-card: #312116;
	--color-card-foreground: #faf6f0;
	--color-secondary: #3c2b20;
	--color-secondary-foreground: #faf6f0;
	--color-muted: #433328;
	--color-muted-foreground: #d4c9b9;
	--color-accent: #e47058;
	--color-accent-foreground: #24170f;
	--color-primary: #e47058;
	--color-primary-foreground: #24170f;
	--color-border: #564639;
	background-color: var(--color-background);
	color: var(--color-foreground);
}
.theme-light {
	background-color: var(--color-background);
	color: var(--color-foreground);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	text-transform: var(--btn-text-transform);
	letter-spacing: var(--btn-letter-spacing);
	height: 44px;
	padding: 0 1.5rem;
	border: 1px solid transparent;
	transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease, opacity 150ms ease;
}
.theme-btn:hover { transform: scale(1.02); box-shadow: var(--shadow-soft); }
.theme-btn:active { transform: scale(0.97); }
.theme-btn.disabled, .theme-btn:disabled { opacity: 0.6; pointer-events: none; }
.theme-btn-lg { height: 48px; padding: 0 1.75rem; }
.theme-btn-block { width: 100%; }

.theme-btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn-primary:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black); }

.theme-btn-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, var(--color-background));
}
.theme-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.theme-btn-glass {
	background-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
	backdrop-filter: blur(6px);
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}
.theme-btn-glass:hover { background-color: var(--color-foreground); color: var(--color-primary); }

.theme-btn-ghost {
	background-color: transparent;
	color: color-mix(in srgb, var(--color-foreground) 60%, var(--color-background));
}
.theme-btn-ghost:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, var(--color-background)); }

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.theme-scroll-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 60;
	height: 2px;
	pointer-events: none;
}
.theme-scroll-progress__bar {
	height: 100%;
	background-color: var(--color-foreground);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 150ms ease-out;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	overflow: visible;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.site-header.is-solid,
body.theme-no-hero .site-header {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-soft);
}
.theme-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	height: 64px;
	min-width: 0;
	overflow: visible;
}
@media (min-width: 1024px) { .theme-header-inner { height: 80px; } }

/* Header.tsx: left/right intrinsic width; only center nav uses flex-1 justify-center */
.theme-header-left { display: flex; align-items: center; gap: 0.5rem; min-width: 0; flex: 0 0 auto; }

.theme-mobile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	color: var(--color-primary);
}
.site-header:not(.is-solid) .theme-mobile-toggle { color: var(--color-primary-foreground); }
body.theme-no-hero .theme-mobile-toggle { color: var(--color-primary); }
.site-header:not(.is-solid) .theme-mobile-toggle:hover { background-color: color-mix(in srgb, var(--color-primary-foreground) 15%, transparent); }
body.theme-no-hero .theme-mobile-toggle:hover,
.site-header.is-solid .theme-mobile-toggle:hover { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.theme-mobile-toggle .theme-icon-close { display: none; }
.theme-mobile-menu-open .theme-mobile-toggle .theme-icon-menu { display: none; }
.theme-mobile-menu-open .theme-mobile-toggle .theme-icon-close { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.theme-brand { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; flex-shrink: 1; }
.theme-brand-logo.site-logo-img {
	width: auto;
	max-width: none;
	object-fit: contain;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), height 500ms cubic-bezier(0.22, 1, 0.36, 1), translate 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 1023px) {
	.theme-brand-logo.site-logo-img {
		max-width: min(6.5rem, calc(100vw - 7.5rem));
	}
}
/* Hero / transparent header — Lovable: h-[6.5rem] lg:h-[8rem] translate-y-5 lg:translate-y-6 */
.site-header:not(.is-solid) .theme-brand-logo.site-logo-img {
	height: 6.5rem;
	translate: 0 1.25rem;
}
@media (min-width: 1024px) {
	.site-header:not(.is-solid) .theme-brand-logo.site-logo-img {
		height: 8rem;
		translate: 0 1.5rem;
		max-width: none;
	}
}
/* Solid header (PDP + scrolled home) — Header.tsx: h-[4.125rem] lg:h-[4.95rem] */
.site-header.is-solid .theme-brand-logo.site-logo-img,
body.theme-no-hero .site-header .theme-brand-logo.site-logo-img {
	height: 4.125rem;
	translate: none;
}
@media (min-width: 1024px) {
	.site-header.is-solid .theme-brand-logo.site-logo-img,
	body.theme-no-hero .site-header .theme-brand-logo.site-logo-img {
		height: 4.95rem;
	}
}
.theme-brand:hover .theme-brand-logo { transform: scale(1.05); }
.theme-brand-name {
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--color-foreground);
	white-space: nowrap;
}
.site-header:not(.is-solid) .theme-brand-name { color: var(--color-primary-foreground); }

.theme-nav-desktop {
	display: none;
	flex: 1 1 0;
	justify-content: center;
	align-items: center;
	min-width: 0;
}
@media (min-width: 1024px) { .theme-nav-desktop { display: flex; } }
.theme-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.125rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-nav-item { display: block; }
.theme-nav-link {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.625rem;
	font-size: 15px;
	font-weight: 600;
	border-radius: 999px;
	white-space: nowrap;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 300ms ease, transform 300ms ease;
}
@media (min-width: 1280px) {
	.theme-nav-link { padding: 0.5rem 0.875rem; }
}
.site-header:not(.is-solid) .theme-nav-link { color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); }
.theme-nav-link:hover { color: var(--color-primary); transform: translateY(-2px); }
.site-header:not(.is-solid) .theme-nav-link:hover { color: var(--color-primary-foreground); }
.theme-nav-link.is-active { color: var(--color-primary); }
.site-header:not(.is-solid) .theme-nav-link.is-active { color: var(--color-primary-foreground); }
.theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0.6rem; right: 0.6rem; bottom: 2px;
	height: 3px;
	border-radius: 999px;
	background-color: var(--color-accent);
	opacity: 0;
	transform: scaleX(0.5);
	transition: opacity 300ms ease, transform 300ms ease;
}
.theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.theme-header-right { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.theme-header-cta {
	display: none;
	align-items: center;
	height: 40px;
	padding: 0 1rem;
	border-radius: 999px;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	font-size: 15px;
	font-weight: 600;
}
.theme-header-cta:hover { box-shadow: var(--shadow-elevated); transform: scale(1.02); }
@media (min-width: 1280px) { .theme-header-cta { display: inline-flex; } }

.theme-cart-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	color: var(--color-primary);
}
.site-header:not(.is-solid) .theme-cart-toggle { color: var(--color-primary-foreground); }
body.theme-no-hero .theme-cart-toggle { color: var(--color-primary); }
.site-header:not(.is-solid) .theme-cart-toggle:hover { background-color: color-mix(in srgb, var(--color-primary-foreground) 15%, transparent); }
body.theme-no-hero .theme-cart-toggle:hover,
.site-header.is-solid .theme-cart-toggle:hover { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 21px; height: 21px;
	padding: 0 4px;
	border-radius: 999px;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-nav-mobile {
	display: none;
	border-top: 1px solid var(--color-border);
	background-color: var(--color-background);
	animation: theme-fade-in 300ms ease;
}
.theme-nav-mobile.is-open { display: block; }
@media (min-width: 1024px) { .theme-nav-mobile { display: none !important; } }
@keyframes theme-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.theme-nav-mobile-list {
	display: flex;
	flex-direction: column;
	padding: 0.5rem 0;
	margin: 0;
	list-style: none;
}
.theme-nav-mobile-item,
.theme-nav-mobile-list .menu-item {
	display: block;
	width: 100%;
}
.theme-nav-mobile-link,
.theme-nav-mobile-list a {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.75rem 0;
	font-size: 15px;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	white-space: normal;
	transition: color 300ms ease, transform 300ms ease;
}
.theme-nav-mobile-link::after,
.theme-nav-mobile-list a::after { display: none !important; }
.theme-nav-mobile-list li:last-child .theme-nav-mobile-link,
.theme-nav-mobile-list li:last-child a { border-bottom: none; }
.theme-nav-mobile-link:hover,
.theme-nav-mobile-list a:hover { color: var(--color-primary); transform: translateX(4px); }
.theme-nav-mobile-link.is-active,
.theme-nav-mobile-list a.is-active { color: var(--color-primary); }

/* Spacer for position:fixed header (Section 22.7) */
body:not(.theme-no-hero) #main-content { padding-top: 0; }
body.theme-no-hero #main-content { padding-top: var(--header-height); }
/* ProductDetail.tsx: pt-24 lg:pt-28 — must beat theme-no-hero */
body.theme-single-product-page #main-content {
	padding-top: 6rem !important;
}
@media (min-width: 1024px) {
	body.theme-single-product-page #main-content {
		padding-top: 7rem !important;
	}
}

/* ==========================================================================
   SCROLL REVEAL (Section 2.1)
   ========================================================================== */
[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
/* Hero.tsx: -mt-16 lg:-mt-20 only offsets sticky header in flow; with position:fixed header use margin-top:0 */
.theme-hero {
	position: relative;
	margin-top: 0;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-background);
}
.theme-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.theme-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8,4,16,0.55) 0%, rgba(8,4,16,0.38) 45%, rgba(8,4,16,0.62) 100%);
	pointer-events: none;
}
.theme-hero__content {
	position: relative;
	z-index: 10;
	width: 100%;
	text-align: center;
	color: var(--color-foreground);
	padding-block: 6rem; /* py-24 — block only so container-wide keeps px-5 */
}
@media (min-width: 1024px) {
	.theme-hero__content { padding-block: 7rem; } /* lg:py-28 */
}
.theme-hero__badge-wrap { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.theme-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-foreground) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 700;
	backdrop-filter: blur(4px);
}
.theme-hero__title {
	font-family: var(--font-display);
	line-height: 0.95;
	letter-spacing: -0.025em; /* tracking-tight */
	max-width: 64rem;
	margin: 0 auto;
	font-size: clamp(2.5rem, 8vw, 6rem);
	filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.55));
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-hero__title-line1 {
	display: block;
	color: var(--color-foreground);
}
.theme-hero__title .theme-text-gradient {
	display: inline-block;
	text-shadow: none;
}
.theme-hero__subtitle {
	margin: 1.75rem auto 0; /* mt-7 */
	max-width: 42rem; /* max-w-2xl */
	font-size: 17px;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	line-height: 1.625; /* leading-relaxed */
	filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.45));
}
@media (min-width: 640px) { .theme-hero__subtitle { font-size: 19px; } }
.theme-hero__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
}
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; gap: 1rem; } }
.theme-hero .theme-btn-glass {
	background-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	backdrop-filter: blur(4px);
}
.theme-hero .theme-btn-glass:hover {
	background-color: var(--color-foreground);
	color: var(--color-primary);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.theme-about { padding: 6rem 0; }
@media (min-width: 768px) { .theme-about { padding: 8rem 0; } }
.theme-about__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: start;
}
@media (min-width: 1024px) { .theme-about__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.theme-about__heading {
	font-size: 2.25rem;
	line-height: 1.05;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .theme-about__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about__heading { font-size: 3.2rem; } }
.theme-about__intro { margin-top: 1.25rem; font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, var(--color-background)); max-width: 24rem; }
.theme-about__quote { margin-top: 2.5rem; }
.theme-about__quote blockquote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; color: color-mix(in srgb, var(--color-foreground) 90%, var(--color-background)); margin: 0; }
@media (min-width: 768px) { .theme-about__quote blockquote { font-size: 1.8rem; } }
.theme-about__quote figcaption { margin-top: 1rem; font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background)); font-weight: 700; }
.theme-about__paragraph { margin-top: 2.5rem; font-size: 16px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 75%, var(--color-background)); }
@media (min-width: 1024px) { .theme-about__paragraph { margin-top: auto; padding-top: 2.5rem; } }
.theme-about__left { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .theme-about__left { align-self: stretch; height: 100%; } }
.theme-about__right { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .theme-about__right { padding-left: 1.5rem; } }
.theme-about__heading2 { font-size: 1.875rem; line-height: 1.15; margin-bottom: 1.75rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-about__heading2 { font-size: 2.25rem; } }
.theme-about__image { margin-bottom: 1.75rem; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--color-border); background-color: var(--color-card); box-shadow: var(--shadow-soft); }
.theme-about__image img { width: 100%; height: auto; object-fit: contain; }
.theme-about__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; font-size: 16px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 75%, var(--color-background)); flex: 1; }
.theme-about__highlight { font-family: var(--font-display); color: color-mix(in srgb, var(--color-foreground) 90%, var(--color-background)); font-size: 1.125rem; }
@media (min-width: 768px) { .theme-about__highlight { font-size: 1.25rem; } }

.theme-about__bottom { margin-top: 3rem; border-top: 1px solid var(--color-border); padding-top: 2.5rem; }
@media (min-width: 1024px) { .theme-about__bottom { margin-top: 4rem; padding-top: 3rem; } }
.theme-about__banner {
	margin: 0 auto;
	max-width: 48rem;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	padding: 1.25rem;
	text-align: center;
	box-shadow: var(--shadow-soft);
	cursor: default;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 500ms ease;
}
.theme-about__banner:hover {
	transform: translateY(-0.375rem);
	border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
	box-shadow: var(--shadow-elevated);
}
.theme-about__banner-eyebrow {
	font-size: 15px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-fg-50);
	font-weight: 700;
	margin-bottom: 0.375rem;
}
.theme-about__banner-text { font-size: 15px; font-weight: 600; color: var(--color-foreground); }

.theme-stats-grid {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 640px) { .theme-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.theme-stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	cursor: default;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-stat-item:hover { transform: translateY(-0.375rem); }
.theme-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--radius-md);
	margin-bottom: 0.75rem;
	background: var(--stat-gradient, var(--gradient-stitch));
	color: var(--color-accent-foreground);
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-stat-item:hover .theme-stat-icon { transform: scale(1.1) rotate(6deg); }
.theme-stat-value {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--color-foreground);
	transition: color 400ms ease;
}
@media (min-width: 768px) { .theme-stat-value { font-size: 1.5rem; } }
.theme-stat-item:hover .theme-stat-value { color: var(--color-primary); }
.theme-stat-label {
	margin-top: 0.125rem;
	font-size: 15px;
	color: var(--color-fg-60);
	transition: color 400ms ease;
}
.theme-stat-item:hover .theme-stat-label { color: var(--color-fg-85); }
.theme-stat-accent {
	display: block;
	margin-top: 0.75rem;
	height: 3px;
	width: 1.75rem;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-accent) 40%, transparent);
	transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1), background-color 500ms ease;
}
.theme-stat-item:hover .theme-stat-accent {
	width: 4rem;
	background-color: var(--color-accent);
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.theme-marquee {
	position: relative;
	overflow: hidden;
	padding: 1.75rem 0;
	background: linear-gradient(100deg, var(--color-primary), var(--color-accent) 50%, var(--color-primary));
}
@media (min-width: 768px) { .theme-marquee { padding: 2.5rem 0; } }
.theme-marquee__fade { position: absolute; inset-block: 0; width: 4rem; z-index: 10; pointer-events: none; }
@media (min-width: 768px) { .theme-marquee__fade { width: 8rem; } }
.theme-marquee__fade--left { left: 0; background: linear-gradient(to right, var(--color-primary), transparent); }
.theme-marquee__fade--right { right: 0; background: linear-gradient(to left, var(--color-primary), transparent); }
.theme-marquee__track {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	width: max-content;
	white-space: nowrap;
	animation: theme-marquee-scroll 45s linear infinite;
	will-change: transform;
}
@media (min-width: 768px) { .theme-marquee__track { gap: 4rem; } }
@keyframes theme-marquee-scroll {
	from { transform: translate3d(0,0,0); }
	to { transform: translate3d(-50%,0,0); }
}
@media (prefers-reduced-motion: reduce) { .theme-marquee__track { animation: none; } }
.theme-marquee__item { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .theme-marquee__item { gap: 4rem; } }
.theme-marquee__phrase {
	font-family: var(--font-display);
	line-height: 1;
	color: color-mix(in srgb, var(--color-foreground) 95%, transparent);
	font-size: clamp(1.2rem, 3vw, 2.4rem);
}
.theme-marquee__dot { display: inline-block; border-radius: 999px; flex-shrink: 0; background-color: var(--color-volt); width: clamp(7px, 0.7vw, 12px); height: clamp(7px, 0.7vw, 12px); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.theme-services { position: relative; overflow: hidden; padding: 6rem 0; }
@media (min-width: 768px) { .theme-services { padding: 8rem 0; } }
.theme-services__glow {
	position: absolute;
	left: -8rem; top: 33%;
	width: 24rem; height: 24rem;
	border-radius: 999px;
	opacity: 0.2;
	filter: blur(64px);
	background: radial-gradient(circle, var(--color-violet), transparent 70%);
	pointer-events: none;
}
.theme-services__inner { position: relative; }
.theme-services__head { max-width: 48rem; margin-bottom: 3.5rem; }
.theme-services__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-services__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-services__heading { font-size: 3.2rem; } }
.theme-services__sub {
	margin-top: 1.25rem;
	font-size: 16px;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
}
.theme-services__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-services__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@property --service-lift {
	syntax: '<length>';
	inherits: false;
	initial-value: 0px;
}

.theme-service-card-wrap {
	position: relative;
	height: 100%;
	cursor: pointer;
	--tilt-x: 0deg;
	--tilt-y: 0deg;
	--service-lift: 0px;
	transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(var(--service-lift));
	transition: --service-lift 500ms cubic-bezier(0.22, 1, 0.36, 1);
	transform-style: preserve-3d;
}
.theme-service-card-wrap:focus { outline: none; }
.theme-service-card-wrap:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
	border-radius: var(--radius);
}
.theme-service-card-wrap::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: var(--radius);
	background: var(--service-gradient, var(--gradient-stitch));
	opacity: 0;
	filter: blur(24px);
	transition: opacity 500ms ease;
	pointer-events: none;
	z-index: 0;
}
.theme-service-card-wrap:hover {
	--service-lift: -10px;
}
.theme-service-card-wrap:hover::before { opacity: 0.7; }

.theme-service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	transition: border-color 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
	transform-style: preserve-3d;
}
@media (min-width: 768px) { .theme-service-card { padding: 1.75rem; } }
.theme-service-card-wrap:hover .theme-service-card {
	border-color: transparent;
	box-shadow: var(--shadow-elevated);
	transform: translateY(-4px);
}
.theme-service-card__top-bar,
.theme-service-card__icon,
.theme-service-card__title,
.theme-service-card__text,
.theme-service-card__cta {
	position: relative;
	z-index: 1;
}
.theme-service-card__top-bar {
	position: absolute; inset-inline: 0; top: 0; height: 4px;
	background: var(--service-gradient, var(--gradient-stitch));
	opacity: 0;
	transition: opacity 500ms ease;
	z-index: 2;
}
.theme-service-card-wrap:hover .theme-service-card__top-bar { opacity: 1; }
.theme-service-card__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: var(--radius-md);
	margin-bottom: 1.25rem;
	background: var(--service-gradient, var(--gradient-stitch));
	color: var(--color-stitch-foreground);
	box-shadow: 0 10px 26px -10px var(--service-glow, rgba(0, 0, 0, 0.35));
	transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
	flex-shrink: 0;
}
.theme-service-card__icon::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	opacity: 0;
	box-shadow: 0 18px 42px -10px var(--service-glow, rgba(0, 0, 0, 0.35));
	transition: opacity 500ms ease;
	pointer-events: none;
}
.theme-service-card-wrap:hover .theme-service-card__icon {
	transform: rotate(8deg) scale(1.12);
}
.theme-service-card-wrap:hover .theme-service-card__icon::after { opacity: 1; }
.theme-service-card__icon svg { position: relative; z-index: 1; }
.theme-service-card__title {
	font-size: 1.2rem;
	line-height: 1.375;
	color: var(--color-foreground);
	margin-bottom: 0.5rem;
	transition: color 300ms ease;
}
.theme-service-card-wrap:hover .theme-service-card__title { color: var(--color-accent); }
.theme-service-card__text {
	font-size: 15px;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	flex: 1;
}
.theme-service-card__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; font-weight: 700; color: var(--color-accent); }
.theme-service-card__cta svg { transition: transform 300ms ease; }
.theme-service-card-wrap:hover .theme-service-card__cta svg { transform: translateX(4px); }

/* ==========================================================================
   SHOP + PRODUCT CARDS
   ========================================================================== */
.theme-shop { padding: 6rem 0; }
@media (min-width: 768px) { .theme-shop { padding: 8rem 0; } }
.theme-shop__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .theme-shop__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-shop__head-copy { max-width: 42rem; }
.theme-shop__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-shop__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-shop__heading { font-size: 3.2rem; } }
.theme-shop__heading-break { display: none; }
@media (min-width: 768px) { .theme-shop__heading-break { display: inline; } }
.theme-shop__sub { margin-top: 1.25rem; font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, var(--color-background)); max-width: 36rem; }
.theme-shop__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .theme-shop__search { width: 20rem; } }
.theme-shop__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 50%, var(--color-background)); }
.theme-shop__search input {
	width: 100%; height: 44px;
	padding: 0 1rem 0 2.75rem;
	border-radius: 999px;
	background-color: var(--color-secondary);
	border: 1px solid var(--color-border);
	font-size: 15px;
	color: var(--color-foreground);
}
.theme-shop__search input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, var(--color-background)); }
.theme-shop__search input:focus { outline: none; border-color: var(--color-primary); }

.theme-shop__tabs { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 3rem; }
.theme-shop__tab {
	height: 40px; padding: 0 1.25rem;
	border-radius: 999px;
	font-size: 15px; font-weight: 600;
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, var(--color-background));
	background-color: transparent;
	transition: transform 150ms ease, box-shadow 150ms ease;
}
.theme-shop__tab:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-shop__tab:hover, .theme-shop__tab:active { transform: scale(1.02); }
.theme-shop__tab.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: var(--shadow-soft); }

.theme-shop-empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background)); }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem 1.5rem; } }
.theme-related-products__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-related-products__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-shop-item--more { display: none; }

.theme-product-card-wrap { height: 100%; }
.theme-product-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background-color: var(--color-background);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 500ms ease, border-color 500ms ease, box-shadow 500ms ease;
}
.theme-product-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); box-shadow: var(--shadow-elevated); }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--color-muted);
}
.theme-product-card__image-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
}
.theme-product-card__image-wrapper img,
.theme-product-card__image-link img,
img.product-card-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1400ms cubic-bezier(0.22,0.61,0.36,1);
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }

.theme-product-badge {
	position: absolute;
	top: 0.75rem; left: 0.75rem;
	z-index: 3;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
}
.theme-product-badge--soldout {
	left: auto; right: 0.75rem;
	background-color: var(--color-hot);
	color: var(--color-accent-foreground);
}

.theme-product-card__quick-actions {
	position: absolute;
	inset-inline: 0.75rem; bottom: 0.75rem;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0;
	transition: opacity 500ms ease;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 40px;
	border-radius: 999px;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	font-size: 15px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	text-decoration: none;
	position: relative;
	z-index: 2;
}
.theme-product-card__add-btn:hover { background-color: color-mix(in srgb, var(--color-accent) 90%, black); }
.theme-product-card__quick-view {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	text-decoration: none;
	position: relative;
	z-index: 2;
}
.theme-product-card__quick-view:hover {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}

.theme-product-card__info { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; min-width: 0; }
.theme-product-card__category { font-size: 13px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--color-accent); font-weight: 700; margin-bottom: 0.375rem; }
.theme-product-card__title {
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--color-foreground);
	transition: color 300ms ease;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.15rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: auto; padding-top: 0.75rem; font-size: 16px; font-weight: 700; color: var(--color-primary); }
.theme-price-currency { font-size: 0.85em; font-weight: 600; opacity: 0.75; }

.theme-shop__more-wrap { margin-top: 3.5rem; display: flex; justify-content: center; }

/* Card compact add-to-cart already matches standard button size — no scoped
   override needed since the card button is the same visual weight as the
   source design (Section 11.4.1 card-specific note). */

/* ==========================================================================
   PRE-CONTACT CTA
   ========================================================================== */
.theme-precontact {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 80vh;
}
@media (min-width: 768px) { .theme-precontact { min-height: 90vh; } }
@media (min-width: 1024px) { .theme-precontact { min-height: 100vh; } }
.theme-precontact__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.theme-precontact__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,4,16,0.52) 0%, rgba(8,4,16,0.36) 50%, rgba(8,4,16,0.58) 100%); pointer-events: none; }
.theme-precontact__content { position: relative; z-index: 10; text-align: center; padding-block: 6rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); color: var(--color-foreground); }
@media (min-width: 768px) { .theme-precontact__content { padding-block: 9rem; } }
.theme-precontact__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.25rem; font-weight: 700; width: 100%; }
.theme-precontact__line { height: 1px; width: 2rem; background-color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-precontact__heading { font-family: var(--font-display); color: var(--color-foreground); line-height: 1.05; max-width: 56rem; margin: 0 auto; font-size: clamp(2rem, 5.4vw, 3.8rem); }
.theme-precontact__text { margin: 1.5rem auto 0; max-width: 36rem; font-size: 16px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.625; }
.theme-precontact__action { margin-top: 2.25rem; text-shadow: none; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.theme-contact { padding: 6rem 0 4rem; }
@media (min-width: 768px) { .theme-contact { padding: 8rem 0 5rem; } }
.theme-contact__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-contact__grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.theme-contact__left { display: flex; flex-direction: column; height: 100%; }
.theme-contact__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-contact__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-contact__heading { font-size: 3.2rem; } }
.theme-contact__heading-break { display: none; }
@media (min-width: 768px) { .theme-contact__heading-break { display: inline; } }
.theme-contact__sub { margin-top: 1.25rem; font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, var(--color-background)); max-width: 28rem; }

.theme-contact__touchpoints { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-touchpoint {
	display: flex; align-items: center; gap: 1rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background-color: var(--color-card);
	padding: 1rem;
	box-shadow: var(--shadow-soft);
	transition: transform 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
}
a.theme-touchpoint:hover, .theme-touchpoint:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); box-shadow: var(--shadow-elevated); }
.theme-touchpoint__icon {
	width: 44px; height: 44px;
	border-radius: var(--radius-sm);
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	color: var(--color-accent-foreground);
	transition: transform 500ms ease;
}
.theme-touchpoint:hover .theme-touchpoint__icon { transform: scale(1.1) rotate(6deg); }
.theme-touchpoint__body { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.theme-touchpoint__label { font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); font-weight: 700; }
.theme-touchpoint__value { font-size: 15px; font-weight: 600; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 300ms ease; }
.theme-touchpoint:hover .theme-touchpoint__value { color: var(--color-primary); }

.theme-contact__quotebox-wrap {
	margin-top: auto;
	padding-top: 2.5rem;
}
.theme-contact__quotebox-bar { display: block; margin: 0 auto 1rem; height: 4px; width: 3rem; border-radius: 999px; background-color: color-mix(in srgb, var(--color-accent) 70%, transparent); }
.theme-contact__quotebox {
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background-color: var(--color-secondary);
	padding: 2.25rem 1.5rem;
	text-align: center;
}
@media (min-width: 768px) { .theme-contact__quotebox { padding: 2.75rem 2.5rem; } }
.theme-contact__quotebox blockquote { font-family: var(--font-display); color: color-mix(in srgb, var(--color-foreground) 90%, transparent); line-height: 1.3; font-size: 1.125rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-contact__quotebox blockquote { font-size: 1.25rem; } }
@media (min-width: 1024px) { .theme-contact__quotebox blockquote { font-size: 1.5rem; } }
.theme-contact__quotebox figcaption { margin-top: 1.25rem; font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-weight: 700; }

.theme-contact__form {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 0;
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	transition: box-shadow 500ms ease, border-color 500ms ease;
}
@media (min-width: 768px) { .theme-contact__form { padding: 2rem; } }
.theme-contact__form:hover { box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
/* Contact.tsx: flex-1 flex flex-col wrapper above submit actions */
.theme-contact__form-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 0;
}
.theme-contact__form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; }
@media (min-width: 640px) { .theme-contact__form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-form-field { display: flex; flex-direction: column; }
/* Contact.tsx: flex flex-1 flex-col on message field; textarea flex-1 min-h-[140px] */
.theme-form-field--grow { flex: 1 1 auto; min-height: 0; }
.theme-form-field label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background)); margin-bottom: 0.5rem; font-weight: 700; }
.theme-form-field input, .theme-form-field textarea, .theme-select-wrap select {
	width: 100%;
	height: 48px;
	padding: 0 1rem;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 15px;
	color: var(--color-foreground);
}
.theme-form-field textarea { height: auto; min-height: 140px; padding: 0.75rem 1rem; resize: none; }
.theme-form-field--grow textarea { flex: 1 1 auto; min-height: 140px; }
.theme-form-field input::placeholder, .theme-form-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, var(--color-background)); }
.theme-form-field input:focus, .theme-form-field textarea:focus, .theme-select-wrap select:focus { outline: none; border-color: var(--color-primary); }
.theme-select-wrap { position: relative; }
.theme-select-wrap select { appearance: none; padding-right: 2.5rem; }
.theme-select-chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background)); }
.theme-contact__form-actions { flex-shrink: 0; padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-contact__note { font-size: 15px; text-align: center; color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background)); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); }
.theme-footer-inner { padding-top: 3.5rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .theme-footer-inner { padding-top: 5rem; } }
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4,1fr); gap: 3rem; } }
.theme-footer-col { display: flex; flex-direction: column; height: 100%; }
.theme-footer-brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.theme-footer-logo.site-logo-img { height: 99px; width: auto; object-fit: contain; transition: transform 500ms ease; }
.theme-footer-brand:hover .theme-footer-logo { transform: scale(1.05); }
.theme-footer-logo.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-footer-desc { margin-top: 1rem; font-size: 14px; color: var(--color-muted-foreground); line-height: 1.6; max-width: 20rem; }
.theme-footer-heading { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-footer-list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-footer-link { font-size: 14px; display: inline-block; transition: color 300ms ease, transform 300ms ease; }
.theme-footer-list:not(.theme-footer-contact-list) .theme-footer-link,
.theme-footer-copy,
.theme-footer-top { color: var(--color-muted-foreground); }
.theme-footer-list:not(.theme-footer-contact-list) .theme-footer-link:hover { color: var(--color-hot); transform: translateX(4px); }
.theme-footer-contact-list { gap: 0.75rem; }
.theme-footer-contact-link,
.theme-footer-owner { display: inline-flex; align-items: center; gap: 0.5rem; word-break: break-all; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); transition: color 300ms ease; }
.theme-footer-contact-link:hover { color: var(--color-hot); }

.theme-footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; } }
.theme-footer-copy { font-size: 14px; text-align: center; }
@media (min-width: 640px) { .theme-footer-copy { text-align: left; flex: 1; } }
.theme-footer-top { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; }
.theme-footer-top:hover { color: var(--color-hot); }
.theme-footer-top-circle { width: 32px; height: 32px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: border-color 300ms ease, transform 300ms ease; }
.theme-footer-top:hover .theme-footer-top-circle { border-color: var(--color-hot); transform: translateY(-2px); }

/* ==========================================================================
   SIDE CART DRAWER (Section 12)
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	z-index: 90;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0;
	height: 100%;
	width: 100%; max-width: 28rem;
	background-color: var(--color-background);
	z-index: 91;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 400ms cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, var(--color-background)); }
.theme-cart-drawer-title { font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-close { padding: 0.375rem; border-radius: 999px; color: var(--color-foreground); }
.theme-cart-close:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, var(--color-background)); }

.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty-icon { color: color-mix(in srgb, var(--color-foreground) 30%, var(--color-background)); margin-bottom: 1rem; }
.theme-cart-empty-text { color: color-mix(in srgb, var(--color-foreground) 65%, var(--color-background)); margin-bottom: 1.5rem; font-size: 15px; }

.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-thumb { width: 80px; height: 96px; background-color: var(--color-muted); border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.theme-cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 15px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-name:hover { color: var(--color-primary); }
.theme-cart-item-price { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 60%, var(--color-background)); margin-top: 0.125rem; }
.theme-cart-item-meta {
	margin: 0.25rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background));
}
.theme-cart-item-meta li + li { margin-top: 0.125rem; }
.theme-cart-item-meta__label { font-weight: 600; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 4px; }
.theme-cart-qty-btn:hover { background-color: var(--color-bone, var(--color-muted)); }
.theme-cart-qty-value { font-size: 15px; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background)); }
.theme-cart-remove:hover { color: var(--color-destructive, #d21f3c); }

.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, var(--color-background)); background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 15px; }
.theme-cart-subtotal-label { color: color-mix(in srgb, var(--color-foreground) 65%, var(--color-background)); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, var(--color-background)); }

/* ==========================================================================
   WOOCOMMERCE: ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}

/* Card compact button — overrides global rules for the product card variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 40px !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (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; }

/* Notices (Section 14.1) — hidden 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-info, .woocommerce-error {
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	background-color: var(--color-secondary);
	color: var(--color-foreground);
	font-family: var(--font-body);
	padding: 1rem 1.5rem;
	font-size: 15px;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE — mirrors ProductDetail.tsx
   ========================================================================== */
.theme-single-product { padding-bottom: 0; }

.theme-breadcrumb {
	padding: 1.5rem 0;
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	overflow-wrap: anywhere;
	word-break: break-word;
}
.theme-breadcrumb a { transition: color 300ms ease; }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.theme-breadcrumb span[aria-hidden] { margin: 0 0.5rem; opacity: 0.5; }

.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
	min-width: 0;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
	}
}

.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-gallery {
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}
.theme-product-gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	background-color: var(--color-muted);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-gallery__main-img,
img.theme-product-gallery__main-img {
	position: static !important;
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.625rem;
	max-width: 100%;
}
.theme-product-thumb {
	aspect-ratio: 1 / 1;
	background-color: var(--color-muted);
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color 300ms ease;
	padding: 0;
	cursor: pointer;
}
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-product-thumb img {
	position: static !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info__category {
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 500;
	margin-bottom: 0.75rem;
}
.theme-product-info { min-width: 0; }
.theme-product-info__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.05;
	color: var(--color-foreground);
	margin-bottom: 1rem;
	overflow-wrap: break-word;
	word-break: break-word;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.6rem; } }
.theme-product-info__price {
	font-size: 20px;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	margin-bottom: 1.75rem;
}
.theme-product-info__stock--out { font-size: 14px; font-weight: 700; color: var(--color-hot); margin-bottom: 1rem; }
.theme-product-info__description {
	font-size: 15px;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	margin-bottom: 2rem;
	overflow-wrap: break-word;
	word-break: break-word;
	white-space: pre-line;
}
.theme-product-info__description p { margin: 0; }
.theme-product-info__description p + p { margin-top: 1rem; }

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-label {
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin-bottom: 0.625rem;
}
.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	border-radius: 999px;
}
.theme-qty-minus, .theme-qty-plus {
	padding: 0.625rem 1rem;
	transition: color 300ms ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-value {
	padding: 0.625rem 1rem;
	min-width: 44px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
}
.theme-qty-input { display: none; }

.theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin-bottom: 0;
}
@media (min-width: 640px) {
	.theme-add-to-cart-area { flex-direction: row; }
}
.theme-add-to-cart-area .theme-single-atc,
.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}
.theme-buy-now-button { flex: 1 1 auto; min-width: 0; width: 100%; }

.theme-details-heading {
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin-bottom: 1rem;
}
.theme-details-list {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-details-list li {
	font-size: 15px;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	display: flex;
	align-items: flex-start;
}
.theme-details-list li::before {
	content: '';
	width: 4px;
	height: 4px;
	margin: 0.625rem 0.75rem 0 0;
	border-radius: 999px;
	background-color: var(--color-primary);
	flex-shrink: 0;
}
.theme-product-info__details {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}

.theme-product-perks {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}
.theme-product-perk { text-align: center; }
.theme-product-perk svg {
	margin: 0 auto 0.5rem;
	color: var(--color-accent);
	transition: transform 300ms ease;
}
.theme-product-perk:hover svg { transform: scale(1.1) rotate(6deg); }
.theme-product-perk p {
	font-size: 15px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}

/* Variable product — attribute pills (PDP only) */
.theme-variable-product-form { margin-bottom: 0; }
.theme-variations { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-variation-label {
	display: block;
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin-bottom: 0.625rem;
}
.theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-variation-pill {
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	background-color: transparent;
	color: var(--color-foreground);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease, opacity 300ms ease;
}
.theme-variation-pill:hover:not(:disabled) {
	border-color: var(--color-primary);
	color: var(--color-primary);
}
.theme-variation-pill.is-selected {
	background-color: var(--color-foreground);
	border-color: var(--color-foreground);
	color: var(--color-background);
}
.theme-variation-pill:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Suppress any leftover WooCommerce single-product chrome */
body.single-product .woocommerce-product-gallery,
body.single-product .product_meta,
body.single-product .woocommerce-tabs,
body.single-product .upsells,
body.single-product .related.products,
body.single-product .woocommerce-notices-wrapper {
	display: none !important;
}
body.single-product .woocommerce div.product,
body.single-product .woocommerce .summary {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.theme-related-products { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, var(--color-background)); }
.theme-related-products__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.theme-related-products__title { font-size: 1.875rem; font-weight: 700; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-related-products__title { font-size: 2.25rem; } }
.theme-related-products__viewall { display: none; align-items: center; gap: 0.375rem; font-size: 15px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, var(--color-background)); }
.theme-related-products__viewall:hover { color: var(--color-primary); }
@media (min-width: 640px) { .theme-related-products__viewall { display: inline-flex; } }

/* ==========================================================================
   SHOP ARCHIVE PAGE
   ========================================================================== */
.theme-shop-archive { padding: 2rem 0 5rem; }
.theme-shop-archive__title { font-family: var(--font-display); font-size: 2.5rem; margin: 1rem 0 2.5rem; }
.theme-shop-archive__grid { margin-top: 1rem; }

/* ==========================================================================
   GLOBAL IMG COVER EXCLUSION LIST (Section 15.1)
   ========================================================================== */
img:not(.theme-product-card__image-wrapper img):not(.theme-product-gallery__main-img):not(.theme-product-thumb img):not(.theme-about__image img):not(.theme-cart-item-thumb img) {
	max-width: 100%;
}

/* ==========================================================================
   PAGE / 404 / FALLBACK
   ========================================================================== */
.theme-checkout-continue {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 2rem 0 0.5rem;
	font-size: 15px;
	color: color-mix(in srgb, var(--color-foreground) 65%, var(--color-background));
	text-decoration: none;
	transition: color 0.2s ease;
}
.theme-checkout-continue:hover { color: var(--color-primary); }
.theme-checkout-continue svg { flex-shrink: 0; }

.theme-page { min-width: 0; max-width: 100%; }
.theme-page-title, .page-title { font-family: var(--font-display); font-size: 2.5rem; padding: 2.5rem 0 1rem; overflow-wrap: break-word; }
.theme-entry-content, .entry-content { padding-bottom: 4rem; line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-404__inner { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding-block: 4rem; }
.theme-404__code { font-family: var(--font-display); font-size: 4rem; }
.theme-404__text { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 65%, var(--color-background)); }

/* ==========================================================================
   WOOCOMMERCE CHECKOUT BLOCK (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart { display: block; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout {
		--checkout-grid-gap: 2.5rem;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-grid-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
body.woocommerce-cart .wp-block-woocommerce-cart-items-block {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius-md);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border-radius: var(--radius-sm) !important;
	border-color: var(--color-border) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary) !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body);
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
}

body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout .wc-block-components-title {
	font-family: var(--font-display);
	font-weight: inherit;
}

/* Cart page (Section 13.7 parity) */
body.woocommerce-cart .wc-block-cart {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-cart .wc-block-cart__main-and-sidebar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		align-items: start;
	}
}

/* ==========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: clip; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-weight: inherit;
	padding: 0 0 1rem 0;
	font-size: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	list-style: none;
	padding: 1.5rem;
	margin: 1.5rem 0;
	background-color: var(--color-secondary);
	border-radius: var(--radius-md);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 15px; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 1.5rem 0;
}
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);
	overflow-wrap: break-word;
}
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;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 1rem;
	font-style: normal;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}
.theme-thankyou-wrap { padding: 2rem 0 5rem; }
