/* =========================================================================
   EMBODY ARTS & APPAREL — Theme stylesheet
   Author: The Free Website Guys
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
	--color-background: #0d0d0d;
	--color-foreground: #f7f5f3;
	--color-cream: #f3f1ed;
	--color-primary: #c7a26b;
	--color-primary-foreground: var(--color-background);
	--color-card: #141414;
	--color-card-foreground: #f3f1ed;
	--color-surface: #1a1a1a;
	--color-secondary: #1f1f1f;
	--color-bone: #242424;
	--color-border: #2e2e2e;
	--color-brass-light: #e6c799;
	--color-muted-foreground: #d4cfc4;
	--color-destructive: #c43131;

	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Bebas Neue', sans-serif;
	--font-body: 'Barlow', sans-serif;

	--radius: 0.875rem;
	--card-radius: 1rem;
	--btn-radius: 999px;
	--btn-height: 3.5rem;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.15em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.65rem;

	--logo-height: 60px;
	--header-height: 80px;

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--checkout-gap: 2rem;
}
@media (max-width: 767px) {
	:root { --header-height: 64px; }
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: inherit;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.1;
}

p { margin: 0; font-weight: 500; line-height: 1.6; }
dl, dt, dd { margin: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

img.cover-img,
img.hero-section__bg,
img.theme-product-card-img,
img.theme-product-main-image img,
.theme-product-main-image img,
.theme-product-thumb img,
img.cta-band__img {
	max-width: none;
	height: 100%;
	width: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; }
[hidden] { display: none !important; }

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------- */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.section-padding { padding-block: 5rem; }
@media (min-width: 768px) { .section-padding { padding-block: 7rem; } }

.eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-primary);
}

.brass-rule {
	display: block;
	width: 3rem;
	height: 1px;
	background: var(--color-primary);
	margin: 2rem 0;
}

.theme-link-underline,
a.theme-link-underline {
	position: relative;
	display: inline-block;
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	left: 0; bottom: -0.25rem;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

/* Section heading base scale (Section 2.2.5 — per-section, not global) */
.section-heading { line-height: 1.05; }
.pillars-section__heading em,
.about-section__heading em,
.shop-heading em,
.services-section__heading em,
.contact-title em {
	color: var(--color-brass-light);
	font-family: var(--font-display);
	font-style: normal;
}

/* -------------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: 0 1.25rem;
	min-width: 0;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0.2s ease;
	text-align: center;
	white-space: nowrap;
}
@media (min-width: 768px) { .btn { min-width: 200px; padding-inline: 2.25rem; } }
@media (min-width: 1024px) { .btn { min-width: 220px; } }
.btn:active { transform: scale(0.98); }
.btn:focus-visible,
.theme-card-link:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}
.theme-card-link:focus-visible {
	outline: 0;
	box-shadow: inset 0 0 0 2px var(--color-primary);
}

.btn-hero-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
	box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-hero-primary:hover { transform: translateY(-2px); opacity: 0.9; box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent); }

.btn-hero-outline {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--color-cream) 40%, transparent);
	color: var(--color-cream);
}
.btn-hero-outline:hover {
	background: color-mix(in srgb, var(--color-cream) 10%, transparent);
	border-color: color-mix(in srgb, var(--color-cream) 70%, transparent);
	transform: translateY(-2px);
	box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--color-cream) 35%, transparent);
}

.hero-section__ctas .btn,
.cta-band__actions .btn,
.theme-contact-form__submit { width: 100%; }
@media (min-width: 768px) { .cta-band__actions .btn { width: auto; } }
@media (min-width: 1024px) { .hero-section__ctas .btn { width: auto; } }

/* -------------------------------------------------------------------------
   5. REVEAL ANIMATIONS (Section 2.1)
   ------------------------------------------------------------------------- */
.reveal-item,
.hero-promo-col,
[data-reveal-child] {
	opacity: 0;
	transform: translateY(32px);
	filter: blur(8px);
	transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}
.reveal-item.is-visible,
.hero-promo-col.is-visible,
[data-reveal-child].is-visible {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}

.hero-promo-col--left { transform: translateX(-40px) scale(0.95); filter: none; }
.hero-promo-col--right { transform: translateX(40px) scale(0.95); filter: none; }
.hero-promo-col--left.is-visible,
.hero-promo-col--right.is-visible { transform: translateX(0) scale(1); }
.hero-promo-col--left.is-visible { transition-delay: 0.6s; }
.hero-promo-col--right.is-visible { transition-delay: 0.7s; }

.split-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	padding-right: 0.25em;
}
.split-word__inner {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.6em);
	filter: blur(10px);
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: calc(0.05s + var(--word-index) * 0.07s);
}
.is-visible .split-word__inner,
.motion-ready .hero-section .split-word__inner { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Customizer preview fallback — reveal content must never stay hidden while editing */
body.is-customizer .reveal-item,
body.is-customizer .hero-section,
body.is-customizer .hero-promo-col,
body.is-customizer [data-reveal-child] {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.animate-fade-in { animation: fadeIn 0.5s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.5s var(--transition-smooth) forwards; }

/* -------------------------------------------------------------------------
   6. HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	transition: background-color 0.5s var(--transition-smooth), border-color 0.5s var(--transition-smooth);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	body.admin-bar #wpadminbar { position: fixed; }
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(24px);
	border-bottom: 1px solid var(--color-surface);
}
.site-header__gradient {
	position: absolute;
	inset-inline: 0; top: 0;
	height: 8rem;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 75%, transparent), color-mix(in srgb, var(--color-background) 35%, transparent), transparent);
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.3s ease;
}
.site-header.is-solid .site-header__gradient { opacity: 0; }

.site-header__inner { position: relative; z-index: 1; padding: 0 1.5rem; }
@media (min-width: 1024px) { .site-header__inner { padding: 0 3rem; } }
@media (min-width: 1280px) { .site-header__inner { padding: 0 4rem; } }

.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-header__nav { height: 5rem; } }

.site-header__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; object-fit: contain; border-radius: 50%; background: var(--color-background); display: block !important; position: static !important; }
@media (min-width: 1024px) {
	.site-header .site-logo-img {
		height: calc(var(--logo-height) * 1.2) !important;
		width: calc(var(--logo-height) * 1.2) !important;
	}
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-cream); line-height: var(--logo-height); display: block; }
.site-header__brand-text { display: none; flex-direction: column; line-height: 1.25; }
@media (min-width: 640px) { .site-header__brand-text { display: flex; } }
.site-header__brand-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-cream); letter-spacing: -0.025em; }
@media (min-width: 768px) { .site-header__brand-name { font-size: 1.5rem; } }
.site-header__brand-tagline { font-family: var(--font-body); font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-brass-light); }

.site-header__links { display: none; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: 1rem; }
@media (min-width: 768px) { .site-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .theme-nav-list { gap: 2.25rem; } }
.theme-nav-list a {
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-cream);
	transition: color 0.3s ease;
	position: relative;
}
.theme-nav-list a:hover { color: var(--color-brass-light); }
.site-header__links .theme-nav-list a { display: inline-block; }
.site-header__links .theme-nav-list a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -0.25rem;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--transition-smooth);
}
.site-header__links .theme-nav-list a:hover::after,
.site-header__links .theme-nav-list a:focus-visible::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-toggle, .theme-mobile-toggle {
	position: relative;
	padding: 0.5rem;
	color: var(--color-foreground);
	display: inline-flex;
}
.theme-cart-toggle:hover, .theme-mobile-toggle:hover { color: var(--color-primary); }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle {
	display: inline-grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
}
.theme-mobile-toggle svg { grid-area: 1 / 1; }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: block; }
@media (min-width: 768px) { .theme-mobile-toggle { display: none; } }

.theme-mobile-menu[hidden],
.theme-mobile-menu__backdrop[hidden] { display: none !important; }
@media (min-width: 768px) {
	.theme-mobile-menu,
	.theme-mobile-menu__backdrop { display: none !important; }
}
@media (max-width: 767px) {
	.theme-mobile-menu__backdrop {
		position: fixed;
		inset: 0;
		z-index: 48;
		background: color-mix(in srgb, var(--color-background) 55%, transparent);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.45s var(--transition-smooth);
	}
	body.admin-bar .theme-mobile-menu__backdrop { inset: 46px 0 0; }
	.theme-mobile-menu__backdrop.is-open {
		opacity: 1;
		pointer-events: auto;
	}

	.theme-mobile-menu {
		position: fixed;
		top: var(--header-height);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 49;
		padding: 0.75rem 1.5rem 1.5rem;
		background: transparent;
		border-top: none;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.75rem);
		pointer-events: none;
		transition:
			opacity 0.45s var(--transition-smooth),
			transform 0.45s var(--transition-smooth),
			visibility 0.45s var(--transition-smooth);
	}
	body.admin-bar .theme-mobile-menu { top: calc(46px + var(--header-height)); }
	.theme-mobile-menu.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.theme-mobile-menu__inner {
		padding: 0.5rem 0;
		background: color-mix(in srgb, var(--color-card) 92%, transparent);
		backdrop-filter: blur(24px);
		-webkit-backdrop-filter: blur(24px);
		border: 1px solid var(--color-border);
		border-radius: var(--card-radius);
		box-shadow: 0 1.5rem 3rem color-mix(in srgb, var(--color-background) 45%, transparent);
		overflow: hidden;
	}

	.theme-mobile-nav-list,
	.theme-mobile-menu .theme-nav-list {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
		counter-reset: mobile-nav;
	}
	.theme-mobile-menu .theme-nav-list > li {
		border-bottom: 1px solid color-mix(in srgb, var(--color-border) 65%, transparent);
		opacity: 0;
		transform: translateX(-0.75rem);
		transition:
			opacity 0.4s var(--transition-smooth),
			transform 0.4s var(--transition-smooth);
		transition-delay: var(--mobile-nav-delay, 0s);
	}
	.theme-mobile-menu .theme-nav-list > li:last-child { border-bottom: none; }
	.theme-mobile-menu.is-open .theme-nav-list > li {
		opacity: 1;
		transform: translateX(0);
	}

	.theme-mobile-menu a {
		display: flex;
		align-items: center;
		gap: 1rem;
		padding: 1.125rem 1.5rem;
		font-size: 0.8125rem;
		letter-spacing: 0.28em;
		text-transform: uppercase;
		color: color-mix(in srgb, var(--color-cream) 82%, transparent);
		border-left: 2px solid transparent;
		transition:
			color 0.3s ease,
			background-color 0.3s ease,
			border-color 0.3s ease;
	}
	.theme-mobile-menu a::before {
		content: '0' counter(mobile-nav);
		counter-increment: mobile-nav;
		font-family: var(--font-display);
		font-size: 1.125rem;
		font-style: normal;
		letter-spacing: 0;
		text-transform: none;
		color: var(--color-primary);
		opacity: 0.55;
		min-width: 1.5rem;
		transition: opacity 0.3s ease, color 0.3s ease;
	}
	.theme-mobile-menu a:hover,
	.theme-mobile-menu a:focus-visible {
		color: var(--color-brass-light);
		background: color-mix(in srgb, var(--color-surface) 55%, transparent);
		border-left-color: var(--color-primary);
	}
	.theme-mobile-menu a:hover::before,
	.theme-mobile-menu a:focus-visible::before {
		opacity: 1;
		color: var(--color-brass-light);
	}

	body.mobile-menu-open .theme-mobile-toggle { color: var(--color-brass-light); }
	body.mobile-menu-open { overflow: hidden; }
	.theme-mobile-toggle svg {
		transition: transform 0.35s var(--transition-smooth), opacity 0.25s ease;
	}
	.theme-mobile-toggle.is-open .icon-close { transform: rotate(90deg); }

	@media (prefers-reduced-motion: reduce) {
		.theme-mobile-menu,
		.theme-mobile-menu__backdrop,
		.theme-mobile-menu .theme-nav-list > li,
		.theme-mobile-toggle svg {
			transition: none !important;
		}
		.theme-mobile-menu .theme-nav-list > li {
			opacity: 1;
			transform: none;
		}
	}
}

/* -------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------- */
body.theme-no-hero .site-main,
body:not(.theme-no-hero) .site-main { padding-top: 0; }
body.theme-no-hero .site-main,
body.theme-no-hero .single-product-main,
body.theme-no-hero .woocommerce-archive-main,
body.theme-no-hero .theme-policies-main,
body.theme-no-hero .theme-404-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
}

.hero-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	min-height: 100svh;
	background: var(--color-background);
}
@media (min-width: 1024px) { .hero-section { height: 100vh; min-height: 720px; } }

.hero-section__bg-wrap { position: absolute; inset: 0; }
.hero-section__bg { transform: scale(1); will-change: transform; }

.hero-section__overlay { position: absolute; inset: 0; }
.hero-section__overlay--dark { background: color-mix(in srgb, var(--color-background) 40%, transparent); }
.hero-section__overlay--gradient {
	background: linear-gradient(to right, color-mix(in srgb, var(--color-background) 90%, transparent), color-mix(in srgb, var(--color-background) 55%, transparent), color-mix(in srgb, var(--color-background) 75%, transparent));
}
.hero-section__overlay--fade { background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 40%, transparent), transparent); }

.hero-section__content { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; will-change: transform; }
.hero-section__row {
	width: 100%; height: 100%;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	gap: 1.5rem;
	padding: 3rem 1.5rem;
}
@media (min-width: 1024px) { .hero-section__row { flex-direction: row; gap: 2.5rem; padding: 0 3rem; } }
@media (min-width: 1280px) { .hero-section__row { gap: 3.5rem; padding-inline: 4rem; } }

.hero-promo-col { display: none; flex-direction: column; gap: 1rem; width: 260px; flex-shrink: 0; }
@media (min-width: 1024px) { .hero-promo-col { display: flex; } }
@media (min-width: 1280px) { .hero-promo-col { width: 300px; } }

.hero-promo-card { display: block; }
.hero-promo-card--badge {
	background: color-mix(in srgb, var(--color-surface) 85%, transparent);
	backdrop-filter: blur(12px);
	border: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent);
	border-radius: 1rem;
	padding: 1rem;
	display: flex; align-items: center; gap: 1rem;
	transition: border-color 0.3s ease, background-color 0.3s ease;
}
.hero-promo-card--badge:hover { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); background: color-mix(in srgb, var(--color-surface) 95%, transparent); }
.hero-promo-card__thumb { width: 5rem; height: 5rem; border-radius: 0.75rem; overflow: hidden; position: relative; flex-shrink: 0; }
.hero-promo-card__body { display: flex; flex-direction: column; min-width: 0; }
.hero-promo-card__tag { font-size: 0.6875rem; margin-bottom: 0.25rem; }
.hero-promo-card__title { font-family: var(--font-display); color: var(--color-cream); font-size: 1rem; line-height: 1.2; }
.hero-promo-card__subtitle { font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 60%, transparent); margin-top: 0.25rem; }

.hero-promo-card--product {
	background: var(--color-cream);
	border-radius: 1rem;
	overflow: hidden;
	padding: 1rem;
	transition: box-shadow 0.3s ease;
}
.hero-promo-card--product:hover { box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4); }
.hero-promo-card__image-wrap { display: block; position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 0.75rem; overflow: hidden; margin-bottom: 0.75rem; }
.hero-promo-card__image-wrap img { transition: transform 0.5s ease; }
.hero-promo-card--product:hover .hero-promo-card__image-wrap img { transform: scale(1.05); }
.hero-promo-card__product-title { display: block; font-family: var(--font-body); color: var(--color-background); font-size: 0.875rem; font-weight: 500; }
.hero-promo-card__product-row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.hero-promo-card__price { font-family: var(--font-display); color: var(--color-background); font-size: 1rem; }
.hero-promo-card__shopnow { color: color-mix(in srgb, var(--color-background) 50%, transparent); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; }

.hero-section__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1rem; min-width: 0; }
.hero-section__eyebrow { margin-bottom: 1rem; color: var(--color-brass-light); }
@media (min-width: 768px) { .hero-section__eyebrow { margin-bottom: 1.25rem; } }
.hero-section__headline {
	font-family: var(--font-display);
	color: var(--color-cream);
	font-size: 3.25rem;
	line-height: 0.95;
	letter-spacing: -0.015em;
}
@media (min-width: 640px) { .hero-section__headline { font-size: 4.5rem; } }
@media (min-width: 768px) { .hero-section__headline { font-size: 5.5rem; } }
@media (min-width: 1024px) { .hero-section__headline { font-size: 7rem; } }
@media (min-width: 1280px) { .hero-section__headline { font-size: 8rem; } }
.hero-section__line { display: block; }
.hero-section__line--nowrap { white-space: nowrap; }
.hero-section__em { color: var(--color-brass-light); font-style: italic; display: block; }

.hero-section__ctas { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .hero-section__ctas { grid-template-columns: 1fr 1fr; margin-top: 2rem; } }
@media (min-width: 1024px) { .hero-section__ctas { display: flex; flex-wrap: wrap; justify-content: center; } }

.hero-promo-mobile { display: block; width: 100%; margin-top: 1.5rem; }
@media (min-width: 1024px) { .hero-promo-mobile { display: none; } }
.hero-promo-mobile__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 768px) { .hero-promo-mobile__grid { grid-template-columns: 1fr 1fr; max-width: none; } }
.hero-promo-mobile__col { display: flex; flex-direction: column; gap: 1rem; }
.hero-promo-mobile__item--tablet { display: none; }
@media (min-width: 640px) { .hero-promo-mobile__item--tablet { display: block; } }

/* -------------------------------------------------------------------------
   8. PILLARS / STUDIO
   ------------------------------------------------------------------------- */
.pillars-section { background: var(--color-background); border-top: 1px solid var(--color-surface); }
.pillars-section__head, .services-section__head, .shop-section__head {
	display: grid;
	grid-template-columns: 1fr;
	align-items: end;
}
.pillars-section__head { gap: 2.5rem; margin-bottom: 3.5rem; }
.services-section__head { gap: 2.5rem; margin-bottom: 3.5rem; }
.shop-section__head { gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) {
	.pillars-section__head, .services-section__head, .shop-section__head { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.pillars-section__head-main, .services-section__head-main, .shop-section__head-main { grid-column: span 7; min-width: 0; }
	.pillars-section__blurb, .services-section__blurb, .shop-section__blurb { grid-column: span 5; min-width: 0; }
	.pillars-section__head { gap: 4rem; margin-bottom: 5rem; }
	.services-section__head { gap: 3rem; margin-bottom: 5rem; }
	.shop-section__head { gap: 3rem; margin-bottom: 4rem; }
}
.pillars-section__head .eyebrow { margin-bottom: 1.25rem; }
.services-section__head .eyebrow, .shop-section__head .eyebrow { margin-bottom: 1rem; }
.pillars-section__heading { font-size: 2.25rem; color: var(--color-cream); }
@media (min-width: 768px) { .pillars-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .pillars-section__heading { font-size: 3.75rem; } }
.pillars-section__blurb, .services-section__blurb, .shop-section__blurb {
	color: color-mix(in srgb, var(--color-cream) 85%, transparent);
	font-weight: 500;
	line-height: 1.625;
}
@media (min-width: 768px) { .pillars-section__blurb { font-size: 1.125rem; line-height: 1.625; } }

.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.pillar-card {
	position: relative;
	background: var(--color-background);
	border: 1px solid var(--color-surface);
	border-radius: var(--card-radius);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: background-color 0.5s ease, transform 0.5s ease;
}
@media (min-width: 768px) { .pillar-card { padding: 2.5rem; } }
.pillar-card:hover { background: var(--color-surface); transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent); }
.pillar-card__rule {
	position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-primary) 60%, transparent), transparent);
	transform: scaleX(0);
	transition: transform 0.7s ease;
}
.pillar-card:hover .pillar-card__rule { transform: scaleX(1); }
.pillar-card__icon { color: var(--color-primary); margin-bottom: 2rem; transition: transform 0.5s ease, color 0.5s ease; }
.pillar-card:hover .pillar-card__icon { transform: translateY(-4px) scale(1.1); color: var(--color-brass-light); }
.pillar-card__title { font-size: 1.25rem; color: var(--color-cream); margin-bottom: 0.75rem; line-height: 1.375; transition: color 0.3s ease; }
@media (min-width: 768px) { .pillar-card__title { font-size: 1.5rem; } }
.pillar-card:hover .pillar-card__title { color: var(--color-brass-light); }
.pillar-card__desc { font-size: 0.875rem; font-weight: 500; line-height: 1.625; color: color-mix(in srgb, var(--color-cream) 60%, transparent); transition: color 0.3s ease; }
.pillar-card:hover .pillar-card__desc { color: color-mix(in srgb, var(--color-cream) 80%, transparent); }

/* -------------------------------------------------------------------------
   9. ABOUT
   ------------------------------------------------------------------------- */
.about-section { background: var(--color-background); border-top: 1px solid var(--color-surface); scroll-margin-top: 6rem; }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) {
	.about-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; }
	.about-section__image, .about-section__content { grid-column: span 6; min-width: 0; }
	.about-section__content { padding-top: 2rem; }
}
.about-section__image { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 1.5rem; background: var(--color-surface); }
.about-section__heading { font-size: 2.25rem; color: var(--color-cream); margin-top: 0.75rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.75rem; } }
.about-section__body { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-cream) 85%, transparent); font-weight: 500; font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .about-section__body { font-size: 1.125rem; } }
.about-section__signature { font-style: italic; font-weight: 400; }
.about-section__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

/* -------------------------------------------------------------------------
   10. SHOP
   ------------------------------------------------------------------------- */
.shop-section { background: var(--color-surface); border-top: 1px solid var(--color-surface); scroll-margin-top: 6rem; }
.shop-heading { font-size: 2.25rem; color: var(--color-cream); }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }

.shop-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.shop-filter {
	padding: 0.75rem 1.25rem;
	font-size: 0.6875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent);
	border-radius: 999px;
	color: color-mix(in srgb, var(--color-cream) 70%, transparent);
	background: transparent;
	transition: all 0.3s ease;
}
.shop-filter:hover { border-color: var(--color-primary); color: var(--color-cream); }
.shop-filter.is-active { background: var(--color-cream); color: var(--color-background); border-color: var(--color-cream); }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-top: 2.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.theme-card-hidden { display: none !important; }

.shop-section__show-all { text-align: center; margin-top: 3rem; }
.shop-section__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); font-weight: 500; }
.shop-section__empty[hidden] { display: none; }

/* -------------------------------------------------------------------------
   11. PRODUCT CARD (shared: shop / homepage / related — Section 31.13)
   ------------------------------------------------------------------------- */
.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	overflow: hidden;
	transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease;
}
.theme-product-card:hover {
	border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
	box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55), 0 0 0 1px color-mix(in srgb, var(--color-primary) 15%, transparent);
	transform: translateY(-8px);
}
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; background: var(--color-background); overflow: hidden; border-radius: var(--card-radius) var(--card-radius) 0 0; }
.theme-product-card__image-wrapper::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 40%, transparent), transparent 55%);
	opacity: 0;
	transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper::after { opacity: 1; }
.theme-product-card__tag {
	position: absolute; top: 1rem; left: 1rem; z-index: 3;
	padding: 0.25rem 0.625rem;
	font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	background: color-mix(in srgb, var(--color-cream) 95%, transparent);
	color: var(--color-background);
	border-radius: 999px;
}
.theme-product-card-img.is-muted { opacity: 0.6; }
.theme-product-card:hover .theme-product-card-img { transform: scale(1.06); }
.theme-product-card-img { transition: transform 0.8s cubic-bezier(0.25,0.4,0.25,1); }

.theme-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.5rem; } }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; min-width: 0; }
.theme-product-card__title { font-size: 1.125rem; color: var(--color-foreground); line-height: 1.375; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); white-space: nowrap; margin-top: 0.25rem; }
.theme-product-card__price del { color: color-mix(in srgb, var(--color-foreground) 50%, transparent); margin-right: 0.35rem; }

.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.theme-product-card__swatches { display: flex; align-items: center; gap: 0.375rem; }
.theme-swatch { width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1px solid var(--color-border); }
.theme-swatch--brass { background: var(--color-primary); }
.theme-swatch--surface { background: var(--color-primary); }
.theme-swatch--border { background: var(--color-bone); }
.theme-product-card__view {
	display: inline-flex; align-items: center; gap: 0.25rem;
	font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
	color: var(--color-primary);
	transition: color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__view { color: var(--color-primary); }
.theme-product-card__arrow { display: inline-block; transition: transform 0.3s ease; }
.theme-product-card:hover .theme-product-card__arrow { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   12. SERVICES
   ------------------------------------------------------------------------- */
.services-section { background: var(--color-background); border-top: 1px solid var(--color-surface); scroll-margin-top: 6rem; }
.services-section__heading { font-size: 2.25rem; color: var(--color-cream); }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.75rem; } }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

.service-card {
	background: var(--color-background);
	border: 1px solid var(--color-surface);
	border-radius: 1.5rem;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	transition: background-color 0.5s ease;
}
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .service-card { padding: 3rem; } }
.service-card:hover { background: var(--color-surface); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2.5rem; }
.service-card__num { font-size: 3rem; color: var(--color-primary); line-height: 1; }
@media (min-width: 768px) { .service-card__num { font-size: 3.75rem; } }
.service-card__top svg { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); transition: color 0.5s ease; }
.service-card:hover .service-card__top svg { color: var(--color-brass-light); }
.service-card__title { font-size: 1.5rem; color: var(--color-cream); margin-bottom: 1rem; line-height: 1.375; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; } }
.service-card__desc { font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--color-cream) 85%, transparent); line-height: 1.625; }
@media (min-width: 768px) { .service-card__desc { font-size: 1rem; } }

/* -------------------------------------------------------------------------
   13. CTA BAND
   ------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--color-background); border-top: 1px solid var(--color-surface); }
.cta-band__media { position: relative; height: 80vh; min-height: 560px; }
@media (min-width: 768px) { .cta-band__media { height: 85vh; } }
.cta-band__img { opacity: 0.55; will-change: transform; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 60%, transparent), color-mix(in srgb, var(--color-background) 40%, transparent)); }
.cta-band__content { position: absolute; bottom: 0; left: 0; right: 0; }
.cta-band__inner { padding-block: 3rem; }
@media (min-width: 768px) { .cta-band__inner { padding-block: 4rem; } }
.cta-band__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 768px) {
	.cta-band__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.cta-band__text { grid-column: span 8; min-width: 0; }
	.cta-band__actions { grid-column: span 4; min-width: 0; }
}
.cta-band__eyebrow { margin-bottom: 1.25rem; color: var(--color-brass-light); }
.cta-band__title { font-size: 2.25rem; color: var(--color-cream); line-height: 1.05; max-width: 48rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.cta-band__title em { color: var(--color-brass-light); font-style: italic; display: block; }
@media (min-width: 768px) { .cta-band__title em { display: inline; } }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; } }
@media (min-width: 768px) { .cta-band__actions { flex-direction: column; align-items: flex-end; } }

/* -------------------------------------------------------------------------
   14. CONTACT
   ------------------------------------------------------------------------- */
.contact-section { background: var(--color-background); border-top: 1px solid var(--color-surface); scroll-margin-top: 6rem; }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) {
	.contact-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.contact-section__info { grid-column: span 5; min-width: 0; }
	.contact-section__form-col { grid-column: span 7; min-width: 0; }
}
.contact-title { font-size: 2.25rem; color: var(--color-cream); margin-top: 0.75rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }
.contact-section__blurb { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-cream) 85%, transparent); font-weight: 500; line-height: 1.625; max-width: 28rem; }
.contact-section__links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__link { display: flex; align-items: center; gap: 1rem; }
.contact-section__icon {
	width: 2.75rem; height: 2.75rem;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: var(--color-primary);
	transition: border-color 0.3s ease;
}
.contact-section__link:hover .contact-section__icon { border-color: var(--color-primary); }
.theme-footer-email, .theme-footer-phone { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color 0.3s ease; }
.contact-section__link:hover .theme-footer-email,
.contact-section__link:hover .theme-footer-phone { color: var(--color-foreground); }
.contact-section__socials { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.5rem; }
.contact-section__social-btn {
	width: 2.75rem; height: 2.75rem;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-section__social-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

.theme-contact-form, .theme-contact-success {
	border: 1px solid var(--color-surface);
	border-radius: 1rem;
	padding: 2rem;
}
@media (min-width: 768px) { .theme-contact-form, .theme-contact-success { padding: 2.5rem; } }
.theme-contact-success { text-align: center; padding: 2.5rem; }
@media (min-width: 768px) { .theme-contact-success { padding: 3.5rem; } }
.theme-contact-success[hidden] { display: none; }
.theme-contact-success__check {
	width: 3.5rem; height: 3.5rem;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.5rem;
}
.theme-contact-success h3 { font-size: 1.875rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.theme-contact-success p { color: color-mix(in srgb, var(--color-cream) 85%, transparent); font-weight: 500; max-width: 24rem; margin: 0 auto; line-height: 1.625; }

.theme-contact-form[hidden] { display: none; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field { margin-bottom: 1.5rem; }
.theme-contact-form__row .theme-contact-form__field { margin-bottom: 0; }
.theme-contact-form__field label { margin-bottom: 0.75rem; }
.theme-contact-form input, .theme-contact-form textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	color: var(--color-foreground);
	font-size: 0.875rem;
	font-weight: 300;
	transition: border-color 0.3s ease;
}
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.theme-contact-form input:focus, .theme-contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-form textarea { resize: none; }
.theme-contact-form__submit { width: 100%; }

/* -------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--color-background); border-top: 1px solid var(--color-surface); }
.site-footer__inner { padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; }
	.site-footer__brand-col { grid-column: span 5; min-width: 0; }
	.site-footer__nav-col { grid-column: span 3; min-width: 0; }
	.site-footer__contact-col { grid-column: span 4; min-width: 0; }
}
@media (min-width: 1024px) { .site-footer__grid { gap: 3rem; } }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer .site-logo-img { width: 6rem !important; height: 6rem !important; }
.site-footer .site-header__brand-text { display: flex; }
.site-footer .site-header__brand-name { font-size: 1.5rem; }
.site-footer__blurb { margin-top: 1.5rem; font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--color-cream) 85%, transparent); max-width: 28rem; line-height: 1.625; }
.site-footer__social { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.site-footer__social a { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-footer__col-heading { font-family: var(--font-body); font-size: 0.6875rem; line-height: 1.5; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; margin-bottom: 1.25rem; }
.site-footer__nav-list, .site-footer__contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav-list a, .site-footer__contact-list a { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-footer__nav-list a:hover, .site-footer__contact-list a:hover { color: var(--color-foreground); }
.site-footer__contact-list li { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__contact-list svg { color: var(--color-primary); flex-shrink: 0; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom p, .site-footer__bottom a { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 45%, transparent); margin: 0; }
.site-footer__bottom a:hover { color: var(--color-brass-light); }

/* -------------------------------------------------------------------------
   16. CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 60;
	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; top: 0; right: 0; bottom: 0;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 61;
	display: flex; flex-direction: column;
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
body.admin-bar #theme-cart-drawer { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar #theme-cart-drawer { top: 46px; }
}
body.cart-open #theme-cart-drawer { opacity: 1; pointer-events: auto; transform: translateY(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-size: 1.125rem; font-weight: 700; color: var(--color-foreground); }
.theme-cart-drawer__close { padding: 0.25rem; color: var(--color-foreground); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__empty .btn {
	width: auto;
	height: 2.5rem;
	min-width: 0;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	letter-spacing: normal;
	text-transform: none;
}

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__thumb { width: 5rem; height: 6rem; background: var(--color-surface); border-radius: 0.75rem; overflow: hidden; flex-shrink: 0; position: relative; }
.theme-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------------
   17. WOOCOMMERCE NOTICES (Section 14.1)
   ------------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body);
	border-radius: 0.75rem;
	padding: 1rem 1.5rem;
	background: var(--color-surface);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	list-style: none;
}

/* -------------------------------------------------------------------------
   18. WOOCOMMERCE — SINGLE PRODUCT
   ------------------------------------------------------------------------- */
.single-product-main { padding-top: calc(var(--header-height) + 2rem); }
.single-product__back { padding: 1.5rem 0; }
.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.theme-back-link:hover { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image { position: relative; aspect-ratio: 3/4; background: var(--color-secondary); border-radius: 1rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; border-radius: 0.75rem; overflow: hidden; border: 2px solid var(--color-border); opacity: 0.6; transition: opacity 0.3s ease, border-color 0.3s ease; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.theme-product-category { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.333; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.theme-product-price .woocommerce-Price-amount { font-weight: 600; }
.theme-product-price__unit { margin-left: 0.5rem; font-size: 0.875rem; font-weight: 400; color: var(--color-muted-foreground); }
.theme-product-stock.is-out-of-stock { color: #c43131; font-size: 0.875rem; margin-bottom: 1rem; }

.theme-product-description { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { font-weight: 500; margin-bottom: 1em; }
.theme-product-description p:last-child { margin-bottom: 0; }

.variations.shop_attributes { width: 100%; margin-bottom: 0; }
.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.75rem; font-size: 0.875rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select.theme-attr-select-hidden { display: none !important; }

.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attr-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-select-size-note { display: none; font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }

.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); overflow: hidden; flex-shrink: 0; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input,
.theme-qty-display {
	width: 3rem; text-align: center;
	border: none; background: transparent; color: var(--color-foreground);
	-moz-appearance: textfield;
	height: 3rem;
}
.theme-qty-display { display: inline-flex; align-items: center; justify-content: center; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-product-inquire { margin-bottom: 2rem; }
.theme-product-inquire .btn { width: 100%; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 0.875rem; margin-bottom: 1rem; }
.theme-product-details__body { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.theme-product-details__body p { font-weight: 500; margin-bottom: 0.75em; }
.theme-product-details__body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__body li { position: relative; padding-left: 1.125rem; }
.theme-product-details__body li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--color-primary); }

@media (min-width: 1024px) {
	.theme-product-info { padding-block: 2.5rem; }
}

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section .section-heading { font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-section .section-heading { font-size: 1.5rem; } }
.related-products-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 0; }
@media (min-width: 768px) { .related-products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* -------------------------------------------------------------------------
   19. ADD TO CART BUTTON — STYLE OVERRIDE (Section 11.4.1)
   ------------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* -------------------------------------------------------------------------
   20. WOOCOMMERCE ARCHIVE
   ------------------------------------------------------------------------- */
.woocommerce-archive-main { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 5rem; }
.woocommerce-archive-main .page-title { margin-bottom: 2.5rem; }
.woocommerce-pagination { margin-top: 3rem; text-align: center; }
.woocommerce-pagination ul { list-style: none; display: inline-flex; gap: 0.5rem; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	color: var(--color-foreground);
}
.woocommerce-pagination .current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* -------------------------------------------------------------------------
   21. 404 / POLICIES PAGES
   ------------------------------------------------------------------------- */
.theme-404-main { min-height: 100vh; display: flex; align-items: center; background: var(--color-bone); }
.theme-404 { text-align: center; padding: 5rem 0; animation: scaleIn 0.6s var(--transition-smooth) both; }
.theme-404__code { font-size: 2.25rem; font-weight: 700; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; font-family: var(--font-body); text-transform: none; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

.theme-policies-main { padding-top: var(--header-height); min-height: 100vh; }
.theme-policies { max-width: 48rem; padding-block: 4rem; }
@media (min-width: 1024px) { .theme-policies { padding-block: 5rem; } }
.theme-policies .theme-back-link { margin-bottom: 2.5rem; }
.theme-policies > .eyebrow { margin-bottom: 1rem; }
.theme-policies__title { font-size: 2.25rem; color: var(--color-cream); margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-policies__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-policies__title { font-size: 3.75rem; } }
.theme-policies__section { margin-bottom: 3.5rem; }
.theme-policies__section:last-of-type { margin-bottom: 0; }
.theme-policies__section h2 { font-size: 1.5rem; color: var(--color-cream); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-policies__section h2 { font-size: 1.875rem; } }
.theme-policies > .brass-rule { margin: 0 0 3rem; }
.theme-policies__body { color: color-mix(in srgb, var(--color-cream) 85%, transparent); font-weight: 300; line-height: 1.625; font-size: 1rem; }
@media (min-width: 768px) { .theme-policies__body { font-size: 1.125rem; } }
.theme-policies__body p { margin-bottom: 1em; font-weight: 500; }
.theme-policies__body li { margin-bottom: 1em; font-weight: 300; }
.theme-policies__body ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-policies__body ul li { margin-bottom: 0; }
.theme-policies__body li::marker { color: var(--color-primary); }
.theme-policies__body strong { color: var(--color-cream); font-weight: inherit; }
.theme-policies__note { color: color-mix(in srgb, var(--color-cream) 85%, transparent); font-style: italic; }
.theme-policies__note--muted { color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-size: 0.875rem; }
@media (min-width: 768px) { .theme-policies__note--muted { font-size: 1rem; } }
.theme-policies__footer { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--color-surface); }
.theme-policies__footer a { color: var(--color-brass-light); }

/* -------------------------------------------------------------------------
   22. WOOCOMMERCE CHECKOUT BLOCK (Section 13)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 2.5rem;
}
body.woocommerce-checkout .site-main > .container-wide,
body.woocommerce-cart .site-main > .container-wide,
body.woocommerce-account .site-main > .container-wide { padding-block: 2.5rem; }

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 2.5rem; }
.theme-checkout-back { margin-bottom: 2rem; }
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title { font-size: 2.25rem; }
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart { font-family: var(--font-body); color: var(--color-foreground); }

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout__main + .wc-block-checkout__sidebar {
		display: grid;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large > .wc-block-checkout__main {
		grid-column: 2;
		grid-row: 1;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large > .wc-block-checkout__sidebar {
		grid-column: 1;
		grid-row: 1;
	}
}
body.woocommerce-checkout .wc-block-checkout { display: block; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	color: var(--color-foreground);
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: 0;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }

body.woocommerce-checkout .wc-block-checkout label {
	color: #000;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: none !important;
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.75rem; grid-column: 1 / -1; }

/* -------------------------------------------------------------------------
   23. THANK YOU PAGE (Section 22.8)
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }

/* -------------------------------------------------------------------------
   24. SCROLL-MARGIN for anchor-jump sections
   ------------------------------------------------------------------------- */
#about, #shop, #services, #contact { scroll-margin-top: 6rem; }
