/* =========================================================================
   Appalachian Edge — theme.css
   Author: The Free Website Guys
   ========================================================================= */

:root {
	--radius: 0.5rem;

	/* Canonical tokens — must match src/styles.css :root (oklch). Customizer overrides via inline CSS on these vars. */
	--background: oklch(0.17 0.012 60);
	--foreground: oklch(0.93 0.014 80);
	--primary: oklch(0.52 0.09 55);
	--primary-foreground: oklch(0.96 0.012 80);
	--accent: oklch(0.73 0.14 62);
	--accent-foreground: oklch(0.17 0.012 60);
	--ink: oklch(0.12 0.01 60);
	--surface: oklch(0.21 0.014 60);
	--border: oklch(0.31 0.016 60);
	--muted-foreground: oklch(0.72 0.02 70);

	/* Structural tokens (fixed in CSS — not in Customizer) */
	--secondary: oklch(0.24 0.015 60);
	--secondary-foreground: oklch(0.93 0.014 80);
	--muted: oklch(0.23 0.014 60);
	--card: oklch(0.21 0.014 60);

	/* Theme aliases used throughout this stylesheet */
	--color-background: var(--background);
	--color-foreground: var(--foreground);
	--color-primary: var(--primary);
	--color-primary-foreground: var(--primary-foreground);
	--color-accent: var(--accent);
	--color-accent-foreground: var(--accent-foreground);
	--color-ink: var(--ink);
	--color-surface: var(--surface);
	--color-border: var(--border);
	--color-muted-foreground: var(--muted-foreground);
	--color-secondary: var(--secondary);
	--color-card: var(--card);
	--color-muted: var(--muted);
	--logo-height: 60px;

	--font-display: "Bebas Neue", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Barlow", ui-sans-serif, system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 11px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--card-radius: 1rem;
	--section-padding: 2rem;
	--header-height: 80px;
	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;
}

/* ---------------------------------------------------------------------
 * Reset / base
 * --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; max-width: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	overflow-x: clip;
	max-width: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a[href],
button,
[role="button"],
.theme-btn,
.story-link,
.theme-cart-toggle,
.theme-mobile-toggle,
.theme-mobile-close,
.theme-carousel__btn,
.theme-social-btn,
.theme-product-card,
.theme-qty-minus,
.theme-qty-plus,
.contact-line,
.site-header__brand,
.theme-header-cta,
.theme-mobile-menu__cta,
.theme-cart-drawer__close,
.theme-cart-item__remove {
	cursor: pointer;
}
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

/* Section 2.2.4 — heading font-weight reset (Tailwind preflight parity) */
h1, h2, h3, h4, h5, h6, .font-display {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}
h1, h2, h3, h4, .font-display {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0.005em;
	padding-bottom: 0.04em;
	line-height: 1.05;
}
.font-mono, code { font-family: var(--font-mono); }

::selection { background-color: var(--color-accent); color: var(--color-accent-foreground); }

.text-accent { color: var(--color-accent); }
.theme-container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; width: 100%; min-width: 0; box-sizing: border-box; }
@media (min-width: 640px) { .theme-container { padding: 0 2rem; } }
@media (min-width: 1024px) { .theme-container { padding: 0 3rem; } }

.eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	display: block;
	margin-bottom: 1.25rem;
}

.theme-pill {
	display: inline-block;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	padding: 0.375rem 1rem;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-accent);
	margin-bottom: 1.5rem;
}

/* Global cover-image exclusion list (Section 15.1 COMPLETENESS RULE) */
img:not(.cover-img):not(.theme-product-card__img):not(.owner-section__img):not(.story-section__photo-img):not(.gallery-section__item-img):not(.contact-section__side-image-img):not(.site-footer__logo) {
	max-width: 100%;
	height: auto;
}
.cover-img, .theme-product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ---------------------------------------------------------------------
 * 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-family: var(--font-mono);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}
.theme-btn--accent { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn--accent:hover { opacity: 0.9; }
.theme-btn--outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground); }
.theme-btn--outline:hover { background-color: var(--color-secondary); }
.theme-btn--ghost-light { background: transparent; border: 1px solid color-mix(in srgb, var(--color-foreground) 40%, transparent); color: var(--color-foreground); }
.theme-btn--ghost-light:hover { background-color: var(--color-foreground); color: var(--color-ink); }
.theme-btn__icon { transition: transform 0.2s ease; }
.theme-btn:hover .theme-btn__icon { transform: translateX(3px); }

.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, var(--color-foreground) 35%, transparent) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	z-index: 1;
}
.btn-shine:hover::after { transform: translateX(120%); }

.theme-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-social-btn:hover { border-color: var(--color-accent); background-color: var(--color-accent); color: var(--color-accent-foreground); transform: translateY(-2px) rotate(6deg); }

/* ---------------------------------------------------------------------
 * Animations (Section 2.1)
 * --------------------------------------------------------------------- */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-marquee { animation: marquee 38s linear infinite; }

.reveal { opacity: 0; transition: opacity 0.9s ease-out, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal[data-reveal="up"] { transform: translateY(24px); }
.reveal[data-reveal="left"] { transform: translateX(-24px); }
.reveal[data-reveal="right"] { transform: translateX(24px); }
.reveal[data-reveal="scale"] { transform: scale(0.96); }
.reveal[data-in="true"] { opacity: 1; transform: translate(0, 0) scale(1); }

/* Customizer preview fallback (Section 2.1.5) — never hide content in the editor */
body.is-customizer .reveal,
body.is-customizer .float-card,
body.is-customizer .trail-node,
body.is-customizer .theme-product-card-wrap {
	opacity: 1 !important;
	transform: none !important;
}

.story-link { position: relative; display: inline-block; }
.story-link::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 100%; height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-link:hover::after { transform: scaleX(1); transform-origin: bottom left; }

@keyframes ken-burns { 0% { transform: scale(1) translate3d(0,0,0); } 50% { transform: scale(1.08) translate3d(-1.5%,-1%,0); } 100% { transform: scale(1) translate3d(0,0,0); } }
.animate-ken-burns { animation: ken-burns 28s ease-in-out infinite; }

@keyframes fade-up { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; display: inline-block; }

@keyframes fade-down { 0% { opacity: 0; transform: translateY(-12px); } 100% { opacity: 1; transform: translateY(0); } }
.animate-fade-down { animation: fade-down 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.animate-float { animation: float-y 6s ease-in-out infinite; }
.animate-float-slow { animation: float-y 9s ease-in-out infinite; }

@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 60%, transparent); } 70% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--color-accent) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 0%, transparent); } }

.hover-lift { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--color-ink) 35%, transparent); }
.hover-tilt { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.hover-tilt:hover { transform: rotate(-1.5deg) scale(1.02); }

@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal[data-reveal], .animate-marquee, .animate-ken-burns, .animate-fade-up,
	.animate-fade-down, .animate-float, .animate-float-slow, .trail-dash, .trail-marker {
		opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
	}
}

/* ---------------------------------------------------------------------
 * Header
 * --------------------------------------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	background: transparent;
	transition: all 0.5s ease;
	animation: fade-down 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-header.is-solid,
.site-header.is-scrolled {
	border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(20px);
	box-shadow: 0 2px 16px -4px rgba(0,0,0,0.5);
}

/* WordPress admin bar — keep fixed header below toolbar in preview and logged-in views */
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
body.admin-bar section[id] {
	scroll-margin-top: calc(6rem + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar section[id] {
		scroll-margin-top: calc(6rem + 46px);
	}
}

.site-header__inner {
	max-width: 72rem; margin: 0 auto; padding: 0 1.25rem;
	height: 5rem; display: flex; align-items: center; justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
	width: 100%;
}
@media (min-width: 640px) { .site-header__inner { padding: 0 2rem; } }
@media (min-width: 1024px) { .site-header__inner { padding: 0 3rem; } }

.site-header__brand {
	display: flex; align-items: center; gap: 0.625rem;
	flex-shrink: 0; min-width: 0; max-width: min(100%, 14rem);
}
.site-header .site-logo-img { height: var(--logo-height); width: auto; max-height: 4rem; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); transition: transform 0.5s ease; }
.site-header__brand:hover .site-logo-img { transform: scale(1.05); }
.site-header .site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); }

.site-header__nav {
	display: none; align-items: center; gap: 1.25rem;
	min-width: 0; flex-shrink: 1;
}
@media (min-width: 1024px) {
	.site-header__nav { display: flex; margin-left: auto; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
.theme-nav-list a {
	font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	transition: color 0.3s ease;
}
.site-header.is-solid .theme-nav-list a,
.site-header.is-scrolled .theme-nav-list a { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-header.is-solid .theme-nav-list a:hover,
.site-header.is-scrolled .theme-nav-list a:hover { color: var(--color-foreground); }
.theme-nav-list a:hover { color: var(--color-foreground); }

.site-header__actions {
	margin-left: auto; display: flex; align-items: center; gap: 0.5rem;
	flex-shrink: 0;
}
@media (min-width: 1024px) {
	.site-header__actions { margin-left: 1.25rem; }
}
.theme-cart-toggle {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 40%, transparent);
	background: transparent; color: var(--color-foreground); transition: background-color 0.2s ease;
}
.site-header.is-solid .theme-cart-toggle,
.site-header.is-scrolled .theme-cart-toggle { border-color: var(--color-border); color: var(--color-foreground); }
.theme-cart-toggle:hover { background-color: color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.site-header.is-solid .theme-cart-toggle:hover,
.site-header.is-scrolled .theme-cart-toggle:hover { background-color: var(--color-secondary); }
.theme-cart-count {
	position: absolute; right: -0.25rem; top: -0.25rem; display: flex; height: 1.25rem; min-width: 1.25rem;
	align-items: center; justify-content: center; border-radius: 9999px; background-color: var(--color-accent);
	padding: 0 0.25rem; font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--color-accent-foreground);
}
.theme-cart-count:empty { display: none; }

.theme-header-cta {
	display: none;
	align-items: center;
	justify-content: center;
	height: var(--btn-height);
	padding: 0 1.25rem;
	border-radius: var(--btn-radius);
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}
.theme-header-cta:hover { opacity: 0.9; }
@media (min-width: 1024px) { .theme-header-cta { display: inline-flex; } }

.theme-mobile-toggle {
	display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
	background: transparent; border: none; color: var(--color-foreground);
}
.site-header.is-solid .theme-mobile-toggle,
.site-header.is-scrolled .theme-mobile-toggle { color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

/* Mobile menu drawer */
.theme-mobile-overlay {
	position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.5);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.mobile-menu-open {
	overflow-x: clip;
	overflow-y: hidden;
}
body.mobile-menu-open .site-header {
	border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(20px);
	box-shadow: 0 2px 16px -4px rgba(0,0,0,0.5);
}
body.mobile-menu-open .theme-mobile-overlay { opacity: 1; pointer-events: auto; }
.theme-mobile-menu {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: 100%;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(24px);
	border-left: 1px solid var(--color-border);
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex; flex-direction: column; padding: 2rem 1.5rem;
	overflow-x: clip;
	overflow-y: auto;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	.theme-mobile-menu { max-width: 24rem; }
}
body.mobile-menu-open .theme-mobile-menu { transform: translateX(0); }
.theme-mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: transparent; border: none; color: var(--color-foreground); }
.theme-mobile-menu__brand { display: flex; align-items: center; gap: 0.75rem; padding-right: 2.5rem; min-width: 0; }
.theme-mobile-menu__brand .site-logo-img { height: 3.5rem; max-height: 3.5rem; width: auto; filter: none; }
.theme-mobile-menu__brand-name {
	min-width: 0; overflow-wrap: anywhere;
	font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; color: var(--color-foreground);
}
.theme-mobile-menu__body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-top: 2rem; }
.theme-mobile-menu__eyebrow { margin-top: 0; margin-bottom: 2rem; }
.theme-mobile-menu__nav { min-width: 0; width: 100%; }
.theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
	width: 100%;
	min-width: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-list > li,
.theme-mobile-menu .theme-nav-list > li { width: 100%; min-width: 0; }
.theme-mobile-nav-list a,
.theme-mobile-menu .theme-nav-list a {
	display: flex; align-items: baseline; gap: 1rem; width: 100%; min-width: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 1.25rem 0; font-family: var(--font-display); font-size: 1.875rem; font-weight: 300;
	letter-spacing: -0.025em; line-height: 1.1;
	color: var(--color-foreground); transition: color 0.2s ease;
}
.theme-mobile-nav-index {
	flex-shrink: 0;
	font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400;
	color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}
.theme-mobile-nav-label { min-width: 0; overflow-wrap: anywhere; }
.theme-mobile-nav-list a:hover,
.theme-mobile-menu .theme-nav-list a:hover { color: var(--color-primary); }
.theme-mobile-menu__cta {
	margin-top: 2rem; width: 100%; max-width: 100%; text-align: center; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center; height: var(--btn-height);
	border-radius: var(--btn-radius); background-color: var(--color-accent); color: var(--color-accent-foreground);
	font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
	flex-shrink: 0;
}

/* ---------------------------------------------------------------------
 * Hero
 * --------------------------------------------------------------------- */
.hero-section {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100svh;
	min-height: 640px;
	overflow: hidden;
	background-color: var(--color-ink);
	color: var(--color-foreground);
}
body.theme-no-hero .hero-section { display: none; }
.site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.hero-section__fallback-img, .hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.hero-section__scrim { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-ink) 45%, transparent); }
.hero-section__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--color-ink) 70%, transparent) 0%, transparent 35%, color-mix(in srgb, var(--color-ink) 78%, transparent) 75%, color-mix(in srgb, var(--color-ink) 92%, transparent) 100%);
}
.hero-section__inner { position: relative; width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem 3rem; }
@media (min-width: 640px) { .hero-section__inner { padding: 0 2rem 3rem; } }
@media (min-width: 1024px) { .hero-section__inner { padding: 0 3rem 5rem; } }
.hero-section__eyebrow { color: var(--color-foreground) !important; margin-bottom: 1.25rem; }
.hero-section__title { font-size: clamp(2.25rem, 6vw, 4.75rem); line-height: 0.98; text-transform: none; }
.hero-section__title-accent { color: var(--color-accent); margin-right: 0.75rem; }
@media (min-width: 640px) { .hero-section__title-accent { margin-right: 1.25rem; } }
.hero-section__title-soft { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.hero-section__row { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .hero-section__row { margin-top: 2.5rem; grid-template-columns: repeat(12, 1fr); align-items: flex-end; } }
.hero-section__lede { max-width: 32rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 1024px) { .hero-section__lede { grid-column: span 6; } }
@media (min-width: 640px) { .hero-section__lede { font-size: 1rem; } }
.hero-section__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .hero-section__ctas { grid-column: span 5 / span 5; grid-column-start: 8; justify-content: flex-end; padding-left: 1rem; } }

/* ---------------------------------------------------------------------
 * Section heading rows (shared layout, per-section scale — Section 2.2.5)
 * --------------------------------------------------------------------- */
/* Matches Lovable: mb-16 grid gap-6 lg:grid-cols-12 lg:items-end */
.section-heading-row {
	margin-bottom: 4rem;
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.section-heading-row {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: end;
	}
}
.section-heading-row__main { min-width: 0; }
@media (min-width: 1024px) {
	.section-heading-row__main { grid-column: 1 / span 7; }
}
.section-heading-row__aside {
	margin: 0;
	min-width: 0;
	font-size: 1rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
@media (min-width: 1024px) {
	.section-heading-row__aside { grid-column: 9 / span 4; align-self: end; }
}
.section-heading-row .section-heading {
	margin-top: 0;
	line-height: 1.05;
	text-wrap: balance;
}

section[id]:not(.hero-section) {
	scroll-margin-top: 6rem;
	border-top: 1px solid var(--color-border);
	background-color: var(--color-background);
	padding: 0;
}
/* Lovable: py-24 lg:py-32 on inner wrapper (not on <section>) */
.theme-container.section-inner {
	padding-top: 6rem;
	padding-bottom: 6rem;
}
@media (min-width: 1024px) {
	.theme-container.section-inner {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}
}
.hero-section {
	border-top: none;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-top: 5rem;
}

/* ---------------------------------------------------------------------
 * About
 * --------------------------------------------------------------------- */
.about-section__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; align-items: flex-start; } }
.about-section__copy { min-width: 0; }
@media (min-width: 1024px) { .about-section__copy { grid-column: span 7; } }
.about-section .section-heading {
	margin-top: 1.5rem; font-size: 2.25rem; color: var(--color-foreground);
}
@media (min-width: 640px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.75rem; } }
.about-section__paragraph { margin-top: 1.5rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.about-section__pillars {
	margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding-top: 3rem;
}
@media (min-width: 640px) { .about-section__pillars { grid-template-columns: repeat(2, 1fr); } }
.about-section__pillar-title { font-size: 1.5rem; color: var(--color-foreground); }
.about-section__pillar-desc { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.about-section__media { position: relative; min-width: 0; }
@media (min-width: 1024px) { .about-section__media { grid-column: span 5; position: sticky; top: 7rem; } }

.pic-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 0.75rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.pic-frame__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-ink) 70%, transparent), color-mix(in srgb, var(--color-ink) 10%, transparent), transparent); }
.pic-frame__quote { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; color: var(--color-foreground); }
.pic-frame__quote p:first-child { font-size: 1.5rem; line-height: 1.3; }
.pic-frame__quote-attr { margin-top: 0.75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.8; }
.pic-frame__badge {
	position: absolute; right: 1.25rem; top: 1.25rem; display: flex; height: 6rem; width: 6rem; transform: rotate(12deg);
	align-items: center; justify-content: center; border-radius: 9999px; background-color: var(--color-accent);
	padding: 0.75rem; text-align: center; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}
.pic-frame__badge span { font-size: 10px; font-weight: 700; text-transform: uppercase; line-height: 1.1; letter-spacing: -0.01em; color: var(--color-accent-foreground); }

/* ---------------------------------------------------------------------
 * Why us / carousel
 * --------------------------------------------------------------------- */
.why-section { background-color: var(--color-background); position: relative; }
.why-section .section-heading { margin-top: 0; font-size: 2.25rem; }
@media (min-width: 640px) { .why-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .why-section .section-heading { font-size: 3.75rem; } }

.theme-carousel { position: relative; }
.why-section .theme-container { overflow-x: clip; }
.theme-carousel { overflow-x: clip; }
@media (max-width: 639px) {
	.why-section .theme-carousel {
		padding-left: 2.75rem;
		padding-right: 2.75rem;
		box-sizing: border-box;
	}
}
.theme-carousel__viewport { overflow: hidden; }
.theme-carousel__track { display: flex; gap: 1.5rem; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.theme-carousel__slide { min-width: 0; flex: 0 0 100%; display: flex; }
@media (min-width: 640px) { .theme-carousel__slide { flex: 0 0 calc(50% - 0.75rem); } }
.why-card {
	position: relative; display: flex; flex: 1; width: 100%; flex-direction: column; overflow: hidden;
	border-radius: 0.75rem; border: 1px solid var(--color-border); background-color: var(--color-surface);
}
.why-card:hover { border-color: var(--color-accent); }
.why-card__media { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.why-card__media img { transition: transform 1.2s ease; }
.why-card:hover .why-card__media img { transform: scale(1.05); }
.why-card__body { display: flex; flex: 1; flex-direction: column; padding: 2rem 2.5rem; }
.why-card__icon-row { display: flex; align-items: center; gap: 0.75rem; }
.why-card__icon {
	display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground); transition: all 0.5s ease;
}
.why-card:hover .why-card__icon { transform: rotate(6deg); background-color: var(--color-accent); color: var(--color-accent-foreground); }
.why-card__index { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.why-card__title { margin-top: 1.25rem; font-size: 1.875rem; color: var(--color-foreground); }
.why-card__short { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-accent); }
.why-card__desc { margin-top: auto; padding-top: 1.25rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

.theme-carousel__btn {
	position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
	display: flex; height: 2rem; width: 2rem;
	align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid var(--color-border);
	background-color: color-mix(in srgb, var(--color-background) 92%, transparent);
	color: var(--color-foreground); box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.theme-carousel__btn:hover { background-color: var(--color-secondary); }
.theme-carousel__btn--prev { left: 0; }
.theme-carousel__btn--next { right: 0; }
@media (min-width: 640px) {
	.why-section .theme-carousel { padding-left: 0; padding-right: 0; }
	.theme-carousel__btn--prev { left: -1rem; }
	.theme-carousel__btn--next { right: -1rem; }
}
@media (min-width: 1024px) { .theme-carousel__btn--prev { left: -1.5rem; } .theme-carousel__btn--next { right: -1.5rem; } }
.theme-carousel__btn:disabled { opacity: 0.4; pointer-events: none; }

/* ---------------------------------------------------------------------
 * Shop marquee + grid
 * --------------------------------------------------------------------- */
.shop-marquee { overflow-x: hidden; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1rem 0; }
.shop-marquee__track { display: flex; width: max-content; align-items: center; gap: 2rem; white-space: nowrap; will-change: transform; }
.shop-marquee__item { display: flex; align-items: center; gap: 2rem; }
.shop-marquee__word { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .shop-marquee__word { font-size: 1.875rem; } }
.shop-marquee__dot { height: 0.375rem; width: 0.375rem; border-radius: 9999px; background-color: var(--color-accent); }

.shop-section .section-heading { margin-top: 0; font-size: 2.25rem; }
@media (min-width: 640px) { .shop-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section .section-heading { font-size: 3.75rem; } }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap, .theme-product-card {
	position: relative; display: flex; height: 100%; flex-direction: column; overflow: hidden;
	border-radius: 1rem; border: 1px solid var(--color-border); background-color: var(--color-background);
	transition: all 0.5s ease;
}
.theme-product-card:hover { transform: translateY(-4px); border-color: var(--color-accent); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3); }
.theme-product-card > *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; overflow: hidden; background-color: var(--color-surface); }
.theme-product-card__badge {
	position: absolute; left: 1rem; top: 1rem; z-index: 3; background-color: var(--color-accent); padding: 0.25rem 0.625rem;
	font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-accent-foreground);
}
.theme-product-card__img { transition: transform 0.7s ease; }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.05); }

.theme-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.theme-product-card__title-row { margin-bottom: 0.75rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-width: 0; }
.theme-product-card__title { min-width: 0; font-size: 1.25rem; line-height: 1.3; color: var(--color-foreground); transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.25rem; white-space: nowrap; font-size: 0.875rem; font-weight: 500; }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__excerpt {
	margin-bottom: 1rem; font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid var(--color-border); padding-top: 1rem; }
.theme-product-card__view {
	display: inline-flex; align-items: center; gap: 0.25rem; font-family: var(--font-mono); font-size: 11px;
	text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-primary); transition: all 0.3s ease;
}
.theme-product-card:hover .theme-product-card__view { color: var(--color-accent); }
.theme-product-card__view-arrow { display: inline-block; transition: transform 0.3s ease; }
.theme-product-card:hover .theme-product-card__view-arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------------
 * Owner
 * --------------------------------------------------------------------- */
.owner-section { background-color: var(--color-surface); }
.owner-section__grid { display: grid; gap: 3rem; }
.owner-section__grid > .reveal { min-width: 0; width: 100%; }
@media (min-width: 1024px) {
	.owner-section__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 5rem;
		align-items: center;
	}
}
.owner-section__media-col { min-width: 0; width: 100%; max-width: 100%; }
@media (min-width: 1024px) { .owner-section__media-col { grid-column: span 5; } }
.owner-section__media-frame {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	border-radius: 0.75rem;
	border: 1px solid var(--color-border);
	aspect-ratio: 1024 / 1365;
}
.owner-section__media-frame .owner-section__img,
.owner-section__media-frame .cover-img {
	object-position: center top;
}
.owner-section__copy { min-width: 0; width: 100%; }
@media (min-width: 1024px) {
	.owner-section__copy {
		grid-column: 7 / span 6;
		align-self: center;
	}
}
.owner-section .section-heading { font-size: 2.25rem; text-wrap: balance; }
@media (min-width: 640px) { .owner-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .owner-section .section-heading { font-size: 3.75rem; } }
.owner-section__role { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-accent); }
.owner-section__bio { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.owner-section__traits { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .owner-section__traits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.owner-section__traits li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.trait-check-icon { flex-shrink: 0; margin-top: 0.125rem; color: var(--color-accent); }
.story-section__traits { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .story-section__traits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.story-section__traits li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

/* ---------------------------------------------------------------------
 * How it works — step trail
 * --------------------------------------------------------------------- */
.how-section { background-color: var(--color-surface); }
.how-section .section-heading-row { width: 100%; }
.how-section .section-heading { font-size: 2.25rem; }
@media (min-width: 640px) { .how-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .how-section .section-heading { font-size: 3.75rem; } }

.trail-dash { animation: trail-drift 2.4s linear infinite; }
@keyframes trail-drift { to { stroke-dashoffset: -48; } }
.trail-node { opacity: 0; transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), translate 0.7s cubic-bezier(0.22, 1, 0.36, 1); translate: 0 26px; }
.step-trail[data-in="true"] .trail-node { opacity: 1; translate: 0 0; }
body.is-customizer .trail-node { opacity: 1 !important; translate: none !important; }
.trail-marker {
	display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 9999px; color: var(--color-accent);
	background: var(--color-background); border: 2px solid var(--color-accent);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-accent) 12%, transparent), 0 12px 28px rgba(0,0,0,0.35);
	animation: trail-bob 5s ease-in-out infinite;
}
.trail-node:nth-child(even) .trail-marker { animation-delay: -2.5s; }
@keyframes trail-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.step-trail__path-bg { color: var(--color-border); }
.step-trail__path-fg { color: var(--color-accent); }

.step-trail__desktop { position: relative; display: none; height: 380px; width: 100%; }
@media (min-width: 1024px) { .step-trail__desktop { display: block; margin: 9rem 0; } }
.step-trail__svg { position: absolute; inset: 0; height: 100%; width: 100%; }
.step-trail__desktop .trail-node { position: absolute; transform: translate(-50%, -50%); }
.trail-node__copy { position: absolute; left: 50%; width: 15rem; transform: translateX(-50%); text-align: center; }
.trail-node__copy--above { bottom: 100%; margin-bottom: 1.75rem; }
.trail-node__copy--below { top: 100%; margin-top: 1.75rem; }
.trail-node__copy h3, .trail-node__copy-mobile h3 { font-size: 1.5rem; color: var(--color-foreground); }
.trail-node__copy p, .trail-node__copy-mobile p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

.step-trail__mobile { position: relative; }
@media (min-width: 1024px) { .step-trail__mobile { display: none; } }
.step-trail__svg-mobile {
	position: absolute; left: 0.75rem; top: 0; height: 100%; width: 2.5rem;
	pointer-events: none;
}
.step-trail__mobile-list { position: relative; display: flex; flex-direction: column; gap: 2.5rem; }
.trail-node--mobile { position: relative; display: flex; align-items: flex-start; gap: 1.25rem; padding-left: 0.25rem; }
.trail-marker--mobile { width: 3rem; height: 3rem; flex-shrink: 0; }
.trail-node__copy-mobile { padding-top: 0.25rem; }

.step-trail__extra { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.step-trail__extra-item { display: flex; align-items: flex-start; gap: 1.25rem; }

.how-section__banner {
	margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
	border-radius: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	background-color: color-mix(in srgb, var(--color-accent) 10%, transparent); padding: 1.25rem 1.5rem;
}
.how-section__banner-icon { flex-shrink: 0; color: var(--color-accent); }
.how-section__banner p {
	flex: 1 1 12rem;
	min-width: 0;
	font-size: 0.875rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.how-section__banner-cta { margin-left: auto; height: 2.75rem; flex-shrink: 0; }

/* ---------------------------------------------------------------------
 * Story
 * --------------------------------------------------------------------- */
.story-section { position: relative; overflow: hidden; background-color: var(--color-ink); color: var(--color-foreground); }
.story-section__radial { position: absolute; inset: 0; background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--color-accent) 18%, transparent), transparent 60%); }
.story-section__inner { position: relative; }
.story-section__grid { display: grid; gap: 3rem; }
.story-section__grid > .reveal { min-width: 0; width: 100%; }
@media (min-width: 1024px) {
	.story-section__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: center;
	}
}
.story-section__photos-col { min-width: 0; width: 100%; max-width: 100%; }
@media (min-width: 1024px) { .story-section__photos-col { grid-column: span 7; align-self: center; } }
/* Lovable: grid grid-cols-2 gap-5 sm:gap-6 */
.story-section__photos {
	display: grid;
	min-width: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: start;
}
@media (min-width: 640px) { .story-section__photos { gap: 1.5rem; } }
.story-section__photo {
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
}
/* Lovable: aspect-[3/4] h-full w-full object-cover on <img> (in-flow, not absolute) */
.story-section__photo-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center;
}
.story-section__photo--a { margin-top: 1.5rem; }
.story-section__photo--b { margin-top: -1.5rem; }
.story-section__photo--a.animate-float,
.story-section__photo--b.animate-float-slow {
	will-change: transform;
}
.story-section__copy { min-width: 0; width: 100%; }
@media (min-width: 1024px) {
	.story-section__copy {
		grid-column: 8 / span 5;
		padding-left: 1rem;
		align-self: center;
	}
}
.story-section .section-heading { font-size: 2.25rem; text-wrap: balance; color: var(--color-foreground); }
@media (min-width: 640px) { .story-section .section-heading { font-size: 3rem; } }
.story-section__paragraphs {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	font-size: 1rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
/* ---------------------------------------------------------------------
 * Gallery
 * --------------------------------------------------------------------- */
.gallery-section .section-heading { font-size: 2.25rem; }
@media (min-width: 640px) { .gallery-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-section .section-heading { font-size: 3.75rem; } }
.gallery-section__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .gallery-section__grid { gap: 1rem; } }
@media (min-width: 768px) { .gallery-section__grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-section__item {
	position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 0.75rem;
	border: 1px solid var(--color-border); background-color: var(--color-surface);
}
.gallery-section__item-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s ease;
}
.gallery-section__item:hover .gallery-section__item-img { transform: scale(1.08); }
.gallery-section__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-ink) 60%, transparent), transparent, transparent); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.gallery-section__item:hover .gallery-section__scrim { opacity: 1; }

/* ---------------------------------------------------------------------
 * Contact
 * --------------------------------------------------------------------- */
.contact-section__grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) {
	.contact-section__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: flex-start;
	}
}
.contact-section__grid > .reveal { min-width: 0; max-width: 100%; }
.contact-section__copy { display: flex; height: 100%; min-width: 0; flex-direction: column; }
@media (min-width: 1024px) { .contact-section__copy { grid-column: 1 / span 5; } }
.contact-section .section-heading { font-size: 2.25rem; text-wrap: balance; }
@media (min-width: 640px) { .contact-section .section-heading { font-size: 3rem; } }
.contact-section__paragraph {
	margin-top: 2rem;
	max-width: 28rem;
	font-size: 1rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.contact-section__heading { max-width: none; }
.contact-section__lines { margin-top: 2.5rem; border-bottom: 1px solid var(--color-border); }
.contact-line {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--color-border);
	padding: 1.25rem 0; transition: color 0.2s ease;
}
.contact-line:hover { color: var(--color-accent); }
.contact-line__inner { display: flex; min-width: 0; align-items: center; gap: 1rem; }
.contact-line__icon { flex-shrink: 0; color: var(--color-accent); }
.contact-line__label { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-line__value { display: block; overflow-wrap: break-word; font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); }
@media (min-width: 640px) { .contact-line__value { font-size: 1.5rem; } }
.contact-line__arrow { flex-shrink: 0; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); transition: all 0.2s ease; }
.contact-line:hover .contact-line__arrow { transform: rotate(45deg); color: var(--color-accent); }

.contact-section__badge {
	margin-top: 2rem; display: inline-flex; width: fit-content; align-items: center; gap: 0.5rem;
	border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
	background-color: color-mix(in srgb, var(--color-accent) 10%, transparent); padding: 0.375rem 0.75rem;
}
.contact-section__ping { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.contact-section__ping span:first-child { position: absolute; display: inline-flex; height: 100%; width: 100%; border-radius: 9999px; background-color: var(--color-accent); opacity: 0.75; animation: pulse-ring-ping 1.5s cubic-bezier(0,0,0.2,1) infinite; }
.contact-section__ping span:last-child { position: relative; display: inline-flex; height: 0.5rem; width: 0.5rem; border-radius: 9999px; background-color: var(--color-accent); }
@keyframes pulse-ring-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.contact-section__badge > span:last-child { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

.contact-section__follow { margin-top: 2.5rem; }
.contact-section__follow-icons { display: flex; gap: 0.5rem; }

.contact-section__note { margin-top: 2.5rem; border-radius: 0.75rem; border: 1px solid var(--color-border); background-color: var(--color-surface); padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.contact-section__note > div:last-child { flex: 1; min-width: 0; }
.contact-section__note-icon { display: flex; height: 2.5rem; width: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background-color: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); }
.contact-section__note-title { font-size: 1.5rem; color: var(--color-foreground); }
.contact-section__note-text { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.contact-section__form-col { min-width: 0; width: 100%; max-width: 100%; }
@media (min-width: 1024px) {
	.contact-section__form-col {
		grid-column: 7 / span 6;
		position: sticky;
		top: 6rem;
		align-self: start;
	}
}
.contact-section__form-col .contact-form { width: 100%; max-width: 100%; min-width: 0; }
.contact-section__side-image {
	position: relative;
	margin-bottom: 1.5rem;
	display: none;
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid var(--color-border);
	height: 10rem;
}
@media (min-width: 1024px) { .contact-section__side-image { display: block; } }
.contact-section__side-image .cover-img,
.contact-section__side-image-img {
	object-position: center;
}

.contact-form { display: flex; flex-direction: column; gap: 1.75rem; border-radius: 0.75rem; border: 1px solid var(--color-border); background-color: var(--color-surface); padding: 2rem; }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.contact-form__row { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: repeat(2, 1fr); } }
.contact-form__field { display: grid; gap: 0.5rem; }
.contact-form label.eyebrow { margin-bottom: 0; }
.contact-form__optional { text-transform: none; letter-spacing: normal; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.contact-form__input, .contact-form__textarea {
	border: none; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); background: transparent;
	padding: 0.75rem 0; font-size: 1rem; color: var(--color-foreground); border-radius: 0; font-family: var(--font-body);
}
.contact-form__input::placeholder, .contact-form__textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.contact-form__input:focus, .contact-form__textarea:focus { outline: none; border-color: var(--color-accent); }
.contact-form__textarea { resize: none; }
.contact-form__submit { margin-top: 0.5rem; align-self: flex-start; text-transform: none; }

/* ---------------------------------------------------------------------
 * Footer
 * --------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background-color: var(--color-ink); color: color-mix(in srgb, var(--color-foreground) 92%, transparent); }
/* Lovable: pt-12 pb-10 on inner; mt-16 + gap-12 grid */
.site-footer__inner { max-width: 72rem; margin: 0 auto; padding: 3rem 1.25rem 2.5rem; }
@media (min-width: 640px) { .site-footer__inner { padding: 3rem 2rem 2.5rem; } }
@media (min-width: 1024px) { .site-footer__inner { padding: 3rem 3rem 2.5rem; } }
.site-footer__grid { margin-top: 4rem; display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: start;
	}
}
.site-footer__brand-col,
.site-footer__nav-col,
.site-footer__service-col { min-width: 0; }
@media (min-width: 1024px) {
	.site-footer__brand-col { grid-column: 1 / span 5; }
	.site-footer__nav-col { grid-column: 6 / span 4; }
	.site-footer__service-col { grid-column: 10 / span 3; }
}
/* Lovable: flex items-center gap-3; logo h-20 w-auto object-contain */
.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.site-footer__brand > div {
	flex: 1 1 auto;
	min-width: 0;
}
.site-footer__brand .site-footer__logo {
	display: block;
	flex: 0 0 auto;
	height: 5rem;
	width: auto;
	max-height: 5rem;
	max-width: none;
	object-fit: contain;
}
.site-footer__brand-name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.2;
}
.site-footer__brand-sub {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
.site-footer__tagline {
	margin-top: 2rem;
	max-width: 24rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.site-footer__socials { margin-top: 2rem; display: flex; align-items: center; gap: 0.5rem; }
.site-footer__socials .theme-social-btn, .site-footer .theme-social-btn { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.site-footer__nav-col > .eyebrow,
.site-footer__service-col > .eyebrow {
	margin-top: 0;
	margin-bottom: 1.5rem;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
/* Lovable: grid-cols-2 gap-y-3 */
.theme-footer-nav-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	row-gap: 0.75rem;
	column-gap: 0;
	font-size: 0.875rem;
}
.theme-footer-nav-list > li { min-width: 0; }
.theme-footer-nav-list a, .theme-footer-nav-list li a { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-footer-nav-list a:hover { color: var(--color-accent); }
.site-footer__address {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.site-footer__address svg { flex-shrink: 0; margin-top: 0.125rem; }
.site-footer__bottom {
	margin-top: 4rem; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	padding-top: 2rem; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

.hero-section__eyebrow.eyebrow { color: var(--color-foreground); }

/* ---------------------------------------------------------------------
 * Generic pages / 404 / empty states
 * ---------------------------------------------------------------------- */
.theme-page { padding: 7rem 0 5rem; }
.page-title { font-size: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .page-title { font-size: 2.5rem; } }
.theme-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8rem 0; }
.theme-404__code { font-size: 5rem; color: var(--color-accent); }
.theme-404__heading { margin-top: 1rem; font-size: 1.5rem; }
.theme-404__text { margin-top: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-404__cta { margin-top: 2rem; }
.theme-empty-message { padding: 3rem 0; text-align: center; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-back-link-row { padding: 1.5rem 0; }
.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); transition: color 0.2s ease; }
.theme-back-link:hover { color: var(--color-foreground); }

/* =========================================================================
   WOOCOMMERCE OVERRIDES
   ========================================================================= */

/* Section 11.4.1 — Add to cart button style override */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: none !important;
	border-radius: 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-product .single_add_to_cart_button.button,
.single-product a.single_add_to_cart_button {
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single-product .single_add_to_cart_button.button:hover {
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}

/* Section 11.4.2 — hide WooCommerce's injected "View cart" link */
.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;
}

/* Section 31.8 — button loading state */
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Quantity control */
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 9999px; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 3rem; background: transparent; border: none; color: var(--color-foreground); transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; height: 3rem; border: none; background: transparent; text-align: center; color: var(--color-foreground);
	font-family: var(--font-body); font-size: 1rem; -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Section 11.13 — Single product responsive layout */
.single-product .theme-product-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; min-width: 0; padding: 2.5rem 0 5rem; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumb-main { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 1rem; background-color: var(--color-surface); }
.single-product .theme-product-thumbnails { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }
.theme-thumb-btn { position: relative; width: 4.5rem; height: 4.5rem; overflow: hidden; border-radius: 0.5rem; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s ease; }
.theme-thumb-btn:hover { opacity: 1; }
.theme-thumb-btn.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-info__category { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-product-info__title { margin-top: 0.5rem; font-size: 1.875rem; font-family: var(--font-body); font-weight: 600; text-transform: none; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
.theme-product-info__price { margin: 1rem 0 1.5rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; }
.theme-product-info__stock--out { margin-bottom: 1.5rem; display: inline-block; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); }
.theme-product-info__description { margin-bottom: 2rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p + p { margin-top: 1rem; }

.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; text-transform: none; }
.single-product .single_add_to_cart_button, .product-title { font-family: var(--font-body); font-weight: 600; }

.theme-product-info__details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-info__details-heading { margin-bottom: 1rem; font-size: 1.125rem; }
.woocommerce-product-details__short-description, .woocommerce-variation-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }
.woocommerce-product-details__short-description ul { display: flex; flex-direction: column; gap: 0.5rem; }
.woocommerce-product-details__short-description li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.woocommerce-product-details__short-description li::before { content: ""; width: 0.375rem; height: 0.375rem; margin-top: 0.5rem; border-radius: 9999px; background-color: var(--color-accent); flex-shrink: 0; }

.related-products-section { margin-top: 3rem; border-top: 1px solid var(--color-border); padding: 4rem 0; }
.related-products-section__heading { margin-bottom: 2rem; font-size: 1.5rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 1.875rem; } }

/* Variable product table layout */
.single-product .variations.shop_attributes tbody, .single-product .variations tbody tr, .single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; position: relative; }

.single-product .theme-variable-product-form .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;
}
.single-product .theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}
.single-product .theme-variation-pill {
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}
.single-product .theme-variation-pill.is-selected {
	background-color: var(--color-foreground);
	border-color: var(--color-foreground);
	color: var(--color-background);
}
.single-product .theme-variation-pill:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
.theme-cart-item__meta {
	margin: 0.25rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
}
.theme-cart-item__meta li { margin-top: 0.125rem; }
.theme-cart-item__meta-label { font-weight: 500; }

/* Section 19.6 — empty shop state uses .theme-empty-message above */

/* ---------------------------------------------------------------------
 * Side cart drawer
 * --------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90; background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; z-index: 91; display: flex; height: 100%; width: 100%; max-width: 28rem;
	flex-direction: column; background-color: var(--color-background); box-shadow: -10px 0 40px rgba(0,0,0,0.4);
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--color-border); padding: 1.5rem; }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 500; text-transform: none; }
.theme-cart-drawer__close { background: transparent; border: none; color: var(--color-foreground); padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { margin-bottom: 1rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { margin-bottom: 1.5rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { position: relative; flex-shrink: 0; width: 5rem; height: 6rem; overflow: hidden; border-radius: 0.375rem; background-color: var(--color-secondary); }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { min-width: 0; flex: 1; }
.theme-cart-item__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; font-weight: 500; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { margin-top: 0.125rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-item__variation { margin-top: 0.25rem; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-item__controls { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-item__qty-btn { display: flex; align-items: center; justify-content: center; padding: 0.25rem; border-radius: 0.25rem; background: transparent; border: none; color: var(--color-foreground); transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-item__qty { width: 1.5rem; text-align: center; font-size: 0.875rem; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); background: transparent; border: none; transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* ---------------------------------------------------------------------
 * WooCommerce notices (Section 14.1 — scoped visibility)
 * ---------------------------------------------------------------------- */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	border-radius: 0.5rem; border: 1px solid var(--color-border); background-color: var(--color-surface);
	color: var(--color-foreground); padding: 1rem 1.5rem; font-size: 0.875rem; list-style: none; margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: color-mix(in srgb, #c93029 40%, var(--color-border)); }

/* ---------------------------------------------------------------------
 * Checkout block (WC Blocks) — Lovable alignment (Sections C–H)
 * ---------------------------------------------------------------------- */
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
}

/* C.2 — single fixed-header offset (no duplicate padding on checkout main) */
body.theme-no-hero.woocommerce-checkout .site-main.theme-checkout-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}

.theme-checkout-shell {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	padding-block: 0.5rem 4rem;
	padding-inline: 1.25rem;
}
@media (min-width: 640px) {
	.theme-checkout-shell { padding-inline: 2rem; }
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 3rem; }
}

body.woocommerce-checkout .theme-checkout-main > .theme-container,
body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}

/* C.1 — header + block share 1280px column */
.theme-checkout-header {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	margin-bottom: 0;
}
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	transition: color 0.2s ease;
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.checkout-continue-link svg { flex-shrink: 0; }
.theme-checkout-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
@media (min-width: 768px) {
	.theme-checkout-title { font-size: 2.25rem; }
}
.theme-checkout-intro {
	margin: 0.75rem 0 0;
	font-size: 1rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}

/* D — root checkout width */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
	display: block;
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	min-width: 0;
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

/* G — notices */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}

/* E — 2-column grid on internal sidebar layout only */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: 0.5rem;
}
body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main) > .wc-block-components-notice-banner,
.entry-content .wc-block-checkout:has(> .wc-block-checkout__main) > .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

/* F — card surface only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background-color: var(--color-surface);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
.entry-content .wc-block-components-order-summary-item__quantity {
	color: #000 !important;
}

/* H — empty checkout */
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Form controls — floating labels (idle dark chrome / active white chrome) */
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
.entry-content .wc-block-checkout .wc-block-components-text-input,
.entry-content .wc-block-checkout .wc-block-components-textarea,
.entry-content .wc-block-checkout .wc-block-components-combobox,
.entry-content .wc-block-components-address-form .wc-block-components-text-input {
	--checkout-field-bg: var(--card);
	--checkout-field-fg: var(--foreground);
	--checkout-label-fg: var(--foreground);
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:focus-within,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea.is-active,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:focus-within,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox.is-active,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:focus-within,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within,
.entry-content .wc-block-checkout .wc-block-components-text-input.is-active,
.entry-content .wc-block-checkout .wc-block-components-text-input:focus-within,
.entry-content .wc-block-checkout .wc-block-components-textarea.is-active,
.entry-content .wc-block-checkout .wc-block-components-textarea:focus-within,
.entry-content .wc-block-checkout .wc-block-components-combobox.is-active,
.entry-content .wc-block-checkout .wc-block-components-combobox:focus-within,
.entry-content .wc-block-components-address-form .wc-block-components-text-input.is-active,
.entry-content .wc-block-components-address-form .wc-block-components-text-input:focus-within {
	--checkout-field-bg: #fff;
	--checkout-field-fg: #000;
	--checkout-label-fg: #000;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea label,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input label,
.entry-content .wc-block-checkout .wc-block-components-text-input label,
.entry-content .wc-block-checkout .wc-block-components-textarea label,
.entry-content .wc-block-checkout .wc-block-components-combobox label,
.entry-content .wc-block-components-address-form .wc-block-components-text-input label {
	color: var(--checkout-label-fg) !important;
	opacity: 1;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout .wc-block-components-combobox input,
.entry-content .wc-block-components-address-form .wc-block-components-text-input input {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	background-color: var(--checkout-field-bg) !important;
	color: var(--checkout-field-fg) !important;
	caret-color: var(--checkout-field-fg);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea::placeholder,
.entry-content .wc-block-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input::placeholder,
.entry-content .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder {
	color: var(--muted-foreground);
	opacity: 1;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:focus-within input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea.is-active textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:focus-within textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox.is-active input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:focus-within input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input.is-active input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input:focus-within input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-textarea.is-active textarea::placeholder,
.entry-content .wc-block-checkout .wc-block-components-textarea:focus-within textarea::placeholder,
.entry-content .wc-block-checkout .wc-block-components-combobox.is-active input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-combobox:focus-within input::placeholder,
.entry-content .wc-block-components-address-form .wc-block-components-text-input.is-active input::placeholder,
.entry-content .wc-block-components-address-form .wc-block-components-text-input:focus-within input::placeholder {
	color: rgb(0 0 0 / 0.45);
	opacity: 1;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input:-webkit-autofill,
.entry-content .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill {
	-webkit-text-fill-color: var(--foreground);
	box-shadow: 0 0 0 1000px var(--card) inset;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:focus-within input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea.is-active textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:focus-within textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:focus-within input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-text-input.is-active input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-text-input:focus-within input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-textarea.is-active textarea:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-textarea:focus-within textarea:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-combobox.is-active input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-combobox:focus-within input:-webkit-autofill,
.entry-content .wc-block-components-address-form .wc-block-components-text-input.is-active input:-webkit-autofill,
.entry-content .wc-block-components-address-form .wc-block-components-text-input:focus-within input:-webkit-autofill {
	-webkit-text-fill-color: #000;
	box-shadow: 0 0 0 1000px #fff inset;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea:focus,
.entry-content .wc-block-checkout .wc-block-components-combobox input:focus {
	outline: none;
	border-color: var(--color-accent);
}

/* WC select chrome stays light — labels always dark */
body.woocommerce-checkout .wc-block-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-select__label,
.entry-content .wc-block-checkout .wc-blocks-components-select__label,
.entry-content .wc-block-checkout .wc-block-components-select__label {
	color: #000 !important;
	opacity: 1;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-accent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-mono) !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.18em !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart {
	display: block;
}

/* ---------------------------------------------------------------------
 * Thank-you page
 * ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { max-width: 42rem; margin: 0 auto; text-align: center; padding: 3rem 0; }
.theme-thankyou__icon { margin: 0 auto 1.5rem; width: 4rem; height: 4rem; border-radius: 9999px; background-color: var(--color-accent); color: var(--color-accent-foreground); display: flex; align-items: center; justify-content: center; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	padding: 0 0 1rem 0;
	font-size: 1.5rem;
	text-align: left;
}
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; padding: 0; text-align: left; }
body.theme-thankyou-page .woocommerce-order-overview li { border-bottom: 1px solid var(--color-border); padding: 0.75rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; 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; text-align: left; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }

/* ---------------------------------------------------------------------
 * Cart / Account pages width parity (Section 13.7)
 * ---------------------------------------------------------------------- */
body.woocommerce-cart .site-main, body.woocommerce-account .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-cart .woocommerce, body.woocommerce-account .woocommerce {
	max-width: 72rem; margin: 0 auto; padding: 0 1.25rem;
}
@media (min-width: 640px) { body.woocommerce-cart .woocommerce, body.woocommerce-account .woocommerce { padding: 0 2rem; } }
