/* ==========================================================================
   Thompson Designs — theme.css
   All colors reference CSS custom properties written by functions.php
   (Section 22.9). Values below are compile-time fallbacks only.
   ========================================================================== */

:root {
	--color-background: #faf8f5;
	--color-foreground: #101b37;
	--color-primary: #16244b;
	--color-primary-foreground: #faf8f5;
	--color-secondary: #f1eee9;
	--color-accent: #bf944a;
	--color-accent-foreground: #101b37;
	--color-muted-foreground: #565c6d;
	--color-border: #d5d8e2;
	--color-destructive: #c52020;
	--color-bone: #e9e4dd;
	--logo-height: 48px;

	--font-display: 'Poppins', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;

	--container-max: 80rem;
	--header-height: 108px;

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;

	--shadow-soft: 0 4px 20px -8px rgba(16, 27, 55, 0.18);
	--shadow-elevated: 0 20px 50px -18px rgba(16, 27, 55, 0.30);
	--card-radius: 1rem;

	/* Lovable scrim tokens (src/index.css) */
	--scrim-radial: radial-gradient(at center, hsl(224 40% 6% / 0.32) 0%, hsl(224 40% 6% / 0.55) 70%, hsl(224 40% 6% / 0.78) 100%);
	--scrim-hero-dark: hsl(24 20% 6% / 0.6);
	--scrim-cta-dark: hsl(24 20% 6% / 0.85);
}

/* ===================== Base / Reset ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.55;
}

img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-cart-item__img):not(.theme-product-gallery__main img):not(.theme-product-thumb img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img,
.theme-product-card__image,
.theme-cart-item__image img,
.theme-cart-item__img,
.theme-product-gallery__main img,
.theme-product-thumb img {
	height: 100% !important;
	width: 100%;
	object-fit: cover;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: -0.01em;
}
.font-display, h1, h2, h3, h4, h5, h6 { font-weight: 700; }

.theme-btn,
button.theme-btn,
input.theme-btn,
a.theme-btn {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 14px; }

section[id] { scroll-margin-top: 80px; }

.container-wide {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 640px) {
	.container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.text-metallic {
	background-image: linear-gradient(135deg, #9c7a3a 0%, #c4a05f 28%, #d9bc7d 48%, #b89352 68%, #9c7a3a 88%, #c4a05f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 10px rgba(180, 140, 60, 0.08);
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.04));
}

/* ===================== Reveal animation system (Section 2.1) ===================== */
[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

html:not(.js) [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

body.is-customizer [data-reveal],
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { transition: none; opacity: 1; transform: none; }
}

@keyframes hero-zoom { 0% { transform: scale(1.05); } 100% { transform: scale(1.18); } }
.animate-hero-zoom { animation: hero-zoom 22s ease-in-out infinite alternate; }

@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== Buttons ===================== */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	height: 44px;
	padding: 0 1.6rem;
	border: 1px solid transparent;
	transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
	cursor: pointer;
}
.theme-btn--lg { height: 48px; padding: 0 1.75rem; }
.theme-btn--full { width: 100%; }
.theme-btn--primary { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-btn--primary:hover { opacity: 0.9; }
.theme-btn--outline { background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.theme-btn--outline:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.theme-btn--glass { background: color-mix(in srgb, #ffffff 10%, transparent); color: #fff; border-color: color-mix(in srgb, #ffffff 40%, transparent); backdrop-filter: blur(8px); }
.theme-btn--glass:hover { background: color-mix(in srgb, #ffffff 20%, transparent); }
.theme-btn--ghost { background: transparent; border-color: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-btn--ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-btn[disabled], .theme-btn.disabled { pointer-events: none; opacity: 0.6; }
.theme-btn.theme-btn-loading { opacity: 0.7; pointer-events: none; }
.theme-btn svg { flex-shrink: 0; }

/* ===================== Header ===================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }

.announcement-bar {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.5rem 1rem;
	text-align: center;
}
@media (min-width: 640px) { .announcement-bar { font-size: 12px; } }
.announcement-bar__break { display: none; }
@media (max-width: 639px) { .announcement-bar__break { display: block; } }
.announcement-bar__highlight {
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	padding: 0.1rem 0.4rem;
	border-radius: 3px;
}

.site-header__bar { transition: background-color 500ms ease, border-color 500ms ease; background: transparent; border-bottom: 1px solid transparent; }
.site-header.is-solid .site-header__bar,
.site-header__bar.is-solid {
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
@media (min-width: 1024px) {
	.site-header__inner { height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; }
}

.site-header__toggle {
	background: none;
	border: none;
	width: 40px; height: 40px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	order: 1;
}
@media (min-width: 1024px) { .site-header__toggle { display: none; } }
.site-header.is-solid .site-header__toggle,
.is-solid .site-header__toggle { color: var(--color-foreground); }
.site-header__toggle .icon-close { display: none; }
body.mobile-menu-open .site-header__toggle .icon-menu { display: none; }
body.mobile-menu-open .site-header__toggle .icon-close { display: inline-flex; }

.site-header__brand { display: flex; align-items: center; flex-shrink: 0; order: 2; }
@media (min-width: 1024px) { .site-header__brand { order: 1; justify-self: start; } }
.site-identity { display: inline-flex; align-items: center; gap: 0.65rem; }
.site-identity--with-text .site-logo-text { font-size: 1.05rem; line-height: 1.2; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: filter 500ms ease; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; display: block; line-height: var(--logo-height); }
.site-identity--with-text .site-logo-text { line-height: 1.2; }
.site-header.is-solid .site-logo-text,
.is-solid .site-logo-text { color: var(--color-foreground); }
.site-header:not(.is-solid) .site-header__bar:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.45)); }
.site-header.is-solid .site-logo-img { filter: none; }

.site-header__nav { display: none; order: 3; }
@media (min-width: 1024px) { .site-header__nav { display: flex; order: 2; justify-self: center; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-link {
	position: relative;
	font-size: 14px;
	font-weight: 500;
	transition: color 300ms ease;
	padding-bottom: 6px;
}
.site-header__nav .theme-nav-link { color: rgba(255,255,255,0.85); }
.site-header__nav .theme-nav-link:hover { color: #fff; }
.site-header.is-solid .site-header__nav .theme-nav-link { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-header.is-solid .site-header__nav .theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	border-radius: 999px;
	background: #fff;
	opacity: 0;
	transform: scaleX(0);
	transition: all 300ms ease;
}
.site-header.is-solid .theme-nav-link::after { background: var(--color-primary); }
.site-header__nav .theme-nav-link.is-active { color: #fff; }
.site-header.is-solid .site-header__nav .theme-nav-link.is-active { color: var(--color-primary); }
.theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; order: 3; justify-self: end; }
.site-header__cart-btn {
	position: relative;
	background: none; border: none;
	width: 40px; height: 40px;
	border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff;
}
.site-header.is-solid .site-header__cart-btn { color: var(--color-foreground); }
.site-header__cart-btn:hover { background: rgba(255,255,255,0.1); }
.site-header.is-solid .site-header__cart-btn:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 12px; font-weight: 500;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile { display: none; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(20px); }
body.mobile-menu-open .site-header__mobile { display: block; animation: fade-in 300ms ease; }
@media (min-width: 1024px) { .site-header__mobile { display: none !important; } }
.site-header__mobile-inner { padding-top: 1rem; padding-bottom: 1rem; display: flex; flex-direction: column; }
.theme-nav-list--mobile { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0; width: 100%; }
.theme-nav-list--mobile li { width: 100%; display: block; }
@media (max-width: 1023px) {
	.site-header__mobile .theme-nav-list { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
}
.theme-nav-list--mobile .theme-nav-link {
	text-align: left; padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-nav-list--mobile .theme-nav-link:hover,
.theme-nav-list--mobile .theme-nav-link.is-active {
	color: var(--color-primary);
}
.theme-nav-list--mobile li:last-child .theme-nav-link { border-bottom: none; }
.theme-nav-list--mobile .theme-nav-link::after { display: none; }

/* Mobile menu open: match Lovable — solid header bar + readable nav links */
body.mobile-menu-open .site-header .site-header__bar {
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
body.mobile-menu-open .site-header:not(.is-solid) .site-header__toggle,
body.mobile-menu-open .site-header:not(.is-solid) .site-header__cart-btn {
	color: var(--color-foreground);
}
body.mobile-menu-open .site-header:not(.is-solid) .site-logo-img {
	filter: none;
}
body.mobile-menu-open .site-header__mobile .theme-nav-link,
body.mobile-menu-open .site-header__mobile .theme-nav-link.is-active {
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
body.mobile-menu-open .site-header__mobile .theme-nav-link:hover,
body.mobile-menu-open .site-header__mobile .theme-nav-link.is-active {
	color: var(--color-primary);
}

body.theme-no-hero .site-main,
body.woocommerce-checkout .site-main,
body.theme-thankyou-page,
.single-product-main,
.shop-archive-main,
.theme-404 {
	padding-top: var(--header-height);
}

/* ===================== Hero ===================== */
.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hero-section__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hero-section__scrim-radial {
	position: absolute; inset: 0;
	background-image: var(--scrim-radial);
	pointer-events: none;
	z-index: 1;
}
.hero-section__scrim-dark { display: none; }
.hero-section__content { position: relative; z-index: 2; text-align: center; color: #fff; padding-top: 10rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero-section__content { padding-top: 13rem; padding-bottom: 8rem; } }

.hero-section__badge-row { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.hero-section__badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	box-shadow: var(--shadow-elevated);
}
.hero-section__title {
	color: #fff;
	line-height: 1.02;
	margin: 0 auto;
	max-width: 60rem;
	font-size: clamp(2.2rem, 6vw, 4.8rem);
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.65));
}
.hero-section__title-break { display: none; }
@media (min-width: 640px) { .hero-section__title-break { display: block; } }
.hero-section__subtitle { margin: 1.75rem auto 0; max-width: 42rem; font-size: 14px; color: rgba(255,255,255,0.9); line-height: 1.6; }
@media (min-width: 640px) { .hero-section__subtitle { font-size: 15px; } }
.hero-section__ctas { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-section__ctas { flex-direction: row; gap: 1rem; } }

/* ===================== About ===================== */
.about-section { position: relative; background: var(--color-secondary); padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__flourish { position: absolute; width: 520px; height: 520px; border-radius: 999px; opacity: 0.07; filter: blur(64px); pointer-events: none; }
.about-section__flourish--1 { top: -160px; right: -160px; background: radial-gradient(closest-side, var(--color-primary), transparent); }
.about-section__flourish--2 { bottom: -224px; left: -160px; opacity: 0.05; background: radial-gradient(closest-side, var(--color-accent), transparent); }
.about-section__inner { position: relative; }

.about-section__eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.about-section__eyebrow-line { height: 1px; width: 2.5rem; background: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.about-section__eyebrow { font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }

.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, 1fr); gap: 5rem; } }
.about-section__left { min-width: 0; }
@media (min-width: 1024px) { .about-section__left { grid-column: span 6; position: sticky; top: 7rem; } }
.about-section__right { min-width: 0; }
@media (min-width: 1024px) { .about-section__right { grid-column: span 6; } }

.about-section__heading { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.02em; color: var(--color-foreground); }
.about-section__heading-canvas { font-style: italic; }
.about-section__heading-break { display: none; }
@media (min-width: 640px) { .about-section__heading-break { display: block; } }
.about-section__divider { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; }
.about-section__divider-line { height: 1px; flex: 1; background: color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.about-section__tagline { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }

.about-section__stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-section__stat { border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding-top: 1rem; }
.about-section__stat-number { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; color: var(--color-foreground); line-height: 1; }
@media (min-width: 768px) { .about-section__stat-number { font-size: 2.25rem; } }
.about-section__stat-label { margin-top: 0.5rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.about-section__lead { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--color-foreground); }
@media (min-width: 768px) { .about-section__lead { font-size: 1.75rem; } }
.about-section__lead-highlight { color: var(--color-primary); }
.about-section__body { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); max-width: 65ch; }
.about-section__facebook { margin-top: 2.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }
.about-section__facebook-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); transition: all 300ms ease; }
.about-section__facebook:hover .about-section__facebook-icon { background: var(--color-primary); color: var(--color-primary-foreground); transform: rotate(45deg); }

.about-section__pillars { margin-top: 6rem; display: grid; grid-template-columns: 1fr; gap: 1px; background: color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; overflow: hidden; }
@media (min-width: 768px) { .about-section__pillars { grid-template-columns: repeat(3, 1fr); margin-top: 8rem; } }
.about-pillar { background: var(--color-background); padding: 2rem; transition: all 500ms ease; }
@media (min-width: 768px) { .about-pillar { padding: 2.5rem; } }
.about-pillar:hover { background: var(--color-secondary); transform: translateY(-4px); }
.about-pillar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.about-pillar__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); transition: all 500ms ease; }
.about-pillar:hover .about-pillar__icon { background: var(--color-primary); color: var(--color-primary-foreground); transform: scale(1.1) rotate(6deg); }
.about-pillar__number { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.about-pillar:hover .about-pillar__number { color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.about-pillar__title { font-size: 1.25rem; margin-bottom: 0.75rem; line-height: 1.3; }
@media (min-width: 768px) { .about-pillar__title { font-size: 1.5rem; } }
.about-pillar__body { font-size: 13.5px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }

/* ===================== Shop ===================== */
.shop-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }

.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-section__eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; font-weight: 500; }
.shop-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.2rem; } }
.shop-section__subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 36rem; }
.shop-section__subtitle-highlight { color: var(--color-primary); font-weight: 500; }
@media (min-width: 768px) { .shop-section__subtitle { font-size: 15px; } }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.shop-section__search input {
	width: 100%; height: 44px;
	padding: 0 1rem 0 2.75rem;
	border-radius: 999px;
	background: var(--color-secondary);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	font-size: 14px;
	color: var(--color-foreground);
}
.shop-section__search input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-section__search input:focus { outline: none; border-color: var(--color-primary); }

.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.theme-cat-filter {
	height: 40px; padding: 0 1.25rem;
	border-radius: 999px;
	font-size: 14px; font-weight: 500;
	background: transparent;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	transition: all 200ms ease;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-section__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-section__viewmore { margin-top: 3rem; display: flex; justify-content: center; }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.theme-product-grid--shop,
	.shop-archive-main .theme-product-grid { grid-template-columns: repeat(3, 1fr); }
}
.theme-product-grid--related { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, 1fr); } }
.theme-shop-item.is-hidden-extra { display: none; }
.theme-shop-item[hidden] { display: none; }

/* Product card */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: color-mix(in srgb, var(--color-secondary) 100%, transparent);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-card .theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-product-card__image { transition: transform 1400ms cubic-bezier(0.22, 0.61, 0.36, 1); pointer-events: none; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 35%, transparent), transparent 60%);
	opacity: 0;
	transition: opacity 500ms ease;
	pointer-events: none;
	z-index: 1;
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background: var(--color-foreground); color: var(--color-background);
	font-size: 11px; font-weight: 500;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
}
.theme-product-card__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
	width: 2rem; height: 2rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	border: none;
	opacity: 0;
	transition: all 300ms ease;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.theme-product-card:hover .theme-product-card__nav { opacity: 1; }
.theme-product-card__nav:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__nav--prev { left: 0.5rem; }
.theme-product-card__nav--next { right: 0.5rem; }
.theme-product-card__dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; display: flex; gap: 0.25rem; pointer-events: none; }
.theme-product-card__dot { height: 4px; width: 4px; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 60%, transparent); transition: all 200ms ease; }
.theme-product-card__dot.is-active { width: 1rem; background: var(--color-background); }

.theme-product-card__quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 4;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0;
	transition: opacity 500ms ease;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn {
	flex: 1 1 auto;
	min-width: 0;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: 40px; border-radius: 999px;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	color: var(--color-foreground);
	font-size: 14px; font-weight: 500;
	backdrop-filter: blur(4px);
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	text-decoration: none;
	border: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.theme-product-card__add-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 1rem !important;
	border: none !important;
}
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart:hover { background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; }
.theme-product-card__quickview {
	flex-shrink: 0;
	width: 2.5rem; height: 2.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	transition: all 300ms ease;
}
.theme-product-card__quickview:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__body { display: block; padding: 0 2px; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card__title { font-size: 1.15rem; line-height: 1.35; margin-bottom: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card__price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

/* ===================== Marquee ===================== */
.marquee-section { background: var(--color-primary); padding: 1.25rem 0; overflow: hidden; border-top: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); }
.marquee-section__track { display: flex; white-space: nowrap; width: max-content; animation: marquee-scroll 22s linear infinite; }
.marquee-section__item { display: flex; align-items: center; flex-shrink: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .marquee-section__item { font-size: 1.25rem; } }
.marquee-section__text {
	margin: 0 1.5rem;
	background-image: linear-gradient(135deg, #9c7a3a 0%, #c4a05f 28%, #d9bc7d 48%, #b89352 68%, #9c7a3a 88%, #c4a05f 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@media (min-width: 768px) { .marquee-section__text { margin: 0 2rem; } }
.marquee-section__star { color: var(--color-accent); font-size: 1.125rem; }

/* ===================== Services ===================== */
.services-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__intro { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section__eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; font-weight: 500; }
.services-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.2rem; } }
.services-section__subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 40rem; line-height: 1.6; }
@media (min-width: 768px) { .services-section__subtitle { font-size: 15px; } }

.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.services-card {
	position: relative;
	background: var(--color-secondary);
	border: 2px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
	border-radius: 1.5rem;
	padding: 2rem;
	display: flex; flex-direction: column;
	overflow: hidden;
	transition: all 500ms ease;
}
.services-card:hover { border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); transform: translateY(-8px); box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.services-card__number {
	position: absolute; top: -12px; right: -8px;
	font-family: var(--font-display); font-weight: 700;
	font-size: 7rem; line-height: 1;
	color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	pointer-events: none;
	transition: all 500ms ease;
}
.services-card:hover .services-card__number { color: color-mix(in srgb, var(--color-primary) 20%, transparent); transform: translateY(-4px); }
.services-card__icon {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 3.5rem; height: 3.5rem;
	border-radius: 1rem;
	background: var(--color-primary); color: var(--color-primary-foreground);
	margin-bottom: 1.5rem;
	box-shadow: var(--shadow-soft);
	transition: all 500ms ease;
}
.services-card:hover .services-card__icon { transform: scale(1.1) rotate(6deg); }
.services-card__title { position: relative; font-size: 1.5rem; margin-bottom: 0.75rem; }
.services-card__body { position: relative; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }

/* ===================== Pre-Contact CTA ===================== */
.precontact-cta { position: relative; overflow: hidden; }
.precontact-cta__bg { z-index: 0; }
.precontact-cta__scrim-radial { position: absolute; inset: 0; background-image: var(--scrim-radial); pointer-events: none; z-index: 1; }
.precontact-cta__scrim-dark { position: absolute; inset: 0; background: var(--scrim-cta-dark); pointer-events: none; z-index: 1; }
.precontact-cta__inner { position: relative; z-index: 2; padding-top: 7rem; padding-bottom: 7rem; text-align: center; color: #fff; }
@media (min-width: 768px) { .precontact-cta__inner { padding-top: 10rem; padding-bottom: 10rem; } }
.precontact-cta__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: #fff; margin-bottom: 1.5rem; font-weight: 500; }
.precontact-cta__eyebrow-line { height: 1px; width: 2rem; background: rgba(255,255,255,0.7); }
.precontact-cta__heading { color: #fff; line-height: 1.05; margin: 0 auto; max-width: 56rem; font-size: clamp(2rem, 5.4vw, 4rem); filter: drop-shadow(0 2px 30px rgba(0,0,0,0.65)); }
.precontact-cta__subtitle { margin: 1.75rem auto 0; max-width: 34rem; font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.6; }
.precontact-cta__buttons { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .precontact-cta__buttons { flex-direction: row; gap: 1rem; } }

/* ===================== Contact ===================== */
.contact-section { background: var(--color-secondary); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 4rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__left { display: flex; flex-direction: column; height: 100%; }
.contact-section__eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; font-weight: 500; }
.contact-title { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.4rem; } }
.contact-section__subtitle { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; max-width: 30rem; }

.contact-section__list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__item { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 200ms ease; }
.contact-section__item:hover { color: var(--color-primary); }
.contact-section__item-icon { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: border-color 200ms ease; flex-shrink: 0; }
.contact-section__item:hover .contact-section__item-icon { border-color: var(--color-primary); }
.contact-section__item-text { display: flex; flex-direction: column; text-align: left; }
.contact-section__item-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-section__item-value { font-size: 15px; font-weight: 500; word-break: break-all; }

.contact-section__quote-wrap { margin-top: auto; padding-top: 2.5rem; }
.contact-section__quote { position: relative; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); background: color-mix(in srgb, var(--color-background) 80%, transparent); padding: 1.5rem; }
@media (min-width: 768px) { .contact-section__quote { padding: 1.75rem; } }
.contact-section__quote-badge { position: absolute; top: -12px; left: 1.5rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.contact-section__quote-text { font-size: 1.125rem; line-height: 1.4; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); border-left: 3px solid var(--color-primary); padding-left: 1.25rem; }
@media (min-width: 768px) { .contact-section__quote-text { font-size: 1.25rem; } }
.contact-section__quote-note { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); letter-spacing: 0.02em; }

.contact-section__form { background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .contact-section__form { padding: 2rem; } }
.contact-section__form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-section__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-section__form-row { grid-template-columns: 1fr 1fr; } }
.theme-field label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.theme-field input, .theme-field textarea, .theme-field select {
	width: 100%; height: 48px; padding: 0 1rem;
	background: color-mix(in srgb, var(--color-background) 100%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 6px;
	font-size: 14px; color: var(--color-foreground);
}
.theme-field textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.theme-field input::placeholder, .theme-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-field input:focus, .theme-field textarea:focus, .theme-field select:focus { outline: none; border-color: var(--color-primary); }
.theme-select-wrap { position: relative; }
.theme-select-wrap select { appearance: none; padding-right: 2.5rem; }
.theme-select-wrap svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-section__form-status { font-size: 13px; min-height: 1em; color: var(--color-primary); text-align: center; }

/* ===================== Footer ===================== */
.site-footer { background: var(--color-foreground); color: var(--color-background); border-top: 1px solid color-mix(in srgb, var(--color-background) 10%, transparent); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__brand { display: inline-flex; align-items: center; }
.site-footer .site-logo-img, .site-footer .site-logo-text { filter: brightness(0) invert(1); }
.site-footer .site-logo-text { color: var(--color-background); filter: none; }
.site-footer__desc { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-background) 70%, transparent); line-height: 1.6; max-width: 20rem; }
.site-footer__facebook { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--color-background) 75%, transparent); transition: color 200ms ease; }
.site-footer__facebook:hover { color: var(--color-primary-foreground); }
.site-footer__heading { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-background); margin-bottom: 1rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__list a, .site-footer__list button { font-size: 14px; color: color-mix(in srgb, var(--color-background) 70%, transparent); text-align: left; background: none; border: none; transition: color 200ms ease; }
.site-footer__list a:hover, .site-footer__list button:hover { color: var(--color-primary-foreground); }
.site-footer__contact-list li a { display: inline-flex; align-items: flex-start; gap: 0.5rem; word-break: break-all; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 10%, transparent); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; font-size: 12px; color: color-mix(in srgb, var(--color-background) 60%, transparent); }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom a:hover { color: var(--color-primary-foreground); }

/* ===================== Promo banner ===================== */
.theme-promo-banner {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 50;
	background: var(--color-foreground); color: var(--color-background);
	border-radius: 1rem; box-shadow: var(--shadow-elevated);
	padding: 1rem 1.25rem;
	display: flex; align-items: flex-start; gap: 0.75rem;
	opacity: 0; transform: translateY(12px);
	transition: opacity 300ms ease, transform 300ms ease;
	pointer-events: none;
	visibility: hidden;
}
.theme-promo-banner[hidden] { display: none !important; }
.theme-promo-banner.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
body.cart-open .theme-promo-banner {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-banner__text { font-size: 13px; line-height: 1.5; flex: 1; margin: 0; }
@media (min-width: 640px) { .theme-promo-banner__text { font-size: 15px; } }
.theme-promo-banner__code { font-weight: 600; background: color-mix(in srgb, var(--color-primary) 70%, transparent); padding: 0.15rem 0.4rem; border-radius: 4px; }
.theme-promo-banner__close { flex-shrink: 0; margin-top: 2px; background: none; border: none; color: var(--color-background); padding: 0.35rem; border-radius: 999px; transition: background 200ms ease; }
.theme-promo-banner__close:hover { background: rgba(255,255,255,0.1); }

/* ===================== Side Cart Drawer ===================== */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 71;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	opacity: 0;
	pointer-events: none;
	transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
}
body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	opacity: 1;
	pointer-events: auto;
	animation: slide-in-bottom 0.7s ease-out both;
}
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__title { font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-drawer__close { background: none; border: none; padding: 0.4rem; border-radius: 999px; color: var(--color-foreground); transition: background 200ms ease; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.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-icon { display: inline-flex; color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 14px; }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-bone); border-radius: 6px; overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 200ms ease; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 2px; }
.theme-cart-item__variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 4px; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { background: none; border: none; padding: 4px; border-radius: 4px; color: var(--color-foreground); transition: background 200ms ease; display: inline-flex; }
.theme-cart-item__qty-btn:hover { background: var(--color-bone); }
.theme-cart-item__qty-value { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 13px; background: none; border: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); transition: color 200ms ease; }
.theme-cart-item__remove:hover { color: var(--color-destructive); }

.theme-cart-drawer__footer {
	padding: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: color-mix(in srgb, var(--color-secondary) 40%, transparent);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
}
.theme-cart-drawer__footer .theme-btn {
	position: relative;
	z-index: 3;
	pointer-events: auto;
	min-height: 48px;
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
#theme-cart-drawer.is-updating .theme-cart-drawer__footer .theme-btn { pointer-events: none; }
.theme-cart-item__image img,
.theme-cart-item__image .attachment-woocommerce_thumbnail {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal span:first-child { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0; }

/* ===================== Single product page ===================== */
.single-product-main { padding-bottom: 5rem; }
.theme-breadcrumb { padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-breadcrumb a { transition: color 200ms ease; }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0; padding-bottom: 3rem; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; align-self: start; } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; width: 100%; background: var(--color-secondary); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; transition: border-color 200ms ease; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:not(.is-active):hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }

.theme-product-info__category { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.theme-product-info__category a { color: inherit; }
.product-title.theme-product-info__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.05;
	color: var(--color-foreground);
	margin-bottom: 1rem;
	text-transform: none;
}
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__stock.is-out-of-stock { display: inline-block; margin-bottom: 1rem; font-size: 13px; font-weight: 500; color: var(--color-destructive); }
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p:not(:last-child) { margin-bottom: 1rem; }

.theme-product-info__purchase { margin-bottom: 1.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; margin-bottom: 1rem; }
.theme-qty-minus, .theme-qty-plus { background: none; border: none; padding: 0.6rem 1rem; color: var(--color-foreground); transition: color 200ms ease; display: inline-flex; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { border: none; background: none; width: 44px; text-align: center; font-size: 14px; font-weight: 500; padding: 0.6rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-add-to-cart-area .single_add_to_cart_button,
.theme-add-to-cart-area .theme-buy-now-button { flex: 1 1 auto; min-width: 160px; }

.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__details-heading { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-info__details ul { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-info__details li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; }
.theme-product-info__details li::before { content: ''; width: 4px; height: 4px; background: var(--color-primary); border-radius: 999px; margin: 8px 12px 0 0; flex-shrink: 0; }

.theme-product-info__trust { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-trust-item { text-align: center; }
.theme-trust-item svg { margin: 0 auto 0.5rem; color: var(--color-primary); display: block; }
.theme-trust-item p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.theme-related-products { padding-top: 3rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-related-products__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.theme-related-products__heading { font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }
.theme-related-products__viewall { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 200ms ease; }
@media (min-width: 640px) { .theme-related-products__viewall { display: inline-flex; } }
.theme-related-products__viewall:hover { color: var(--color-primary); }

/* Variations table reflow (Section 11.5.1) */
.single-product .variations_form { margin-bottom: 0; }
.single-product .variations_form .variations.theme-variations { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.single-product .theme-variation-label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin-bottom: 0.625rem;
	font-weight: 500;
	font-family: var(--font-body);
}
.single-product .theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.single-product .theme-variation-pill {
	height: 40px;
	padding: 0 1.25rem;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--font-body);
	background: transparent;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	transition: all 200ms ease;
	cursor: pointer;
}
.single-product .theme-variation-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.single-product .theme-variation-pill.is-active {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.single-product .variations_form .theme-quantity-wrapper { margin-bottom: 1rem; max-width: 9rem; width: fit-content; }
.single-product .variations_form .theme-quantity-wrapper .quantity { display: contents; }
.single-product .variations_form .theme-quantity-wrapper .quantity label { display: none; }
.single-product .variations_form .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 0; }
.single-product .variations.shop_attributes,
.single-product table.variations { display: none !important; }
.theme-attr-select-hidden { display: none !important; }

/* Responsive safety rules (Section 11.13) */
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ===================== Shop archive ===================== */
.shop-archive-header { padding: 2rem 0; }
.shop-archive-header .shop-heading { text-align: center; }
.shop-archive-empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-archive-main { padding-bottom: 5rem; }

/* ===================== 404 ===================== */
.theme-404 { min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; justify-content: center; background: var(--color-secondary); }
.theme-404__inner { text-align: center; padding: 5rem 0; }
.theme-404__title { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__body { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; transition: color 200ms ease; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ===================== Generic page ===================== */
.site-main { min-height: 40vh; }
.page-title { font-size: 2.5rem; margin: 2.5rem 0 1.5rem; }

/* ===================== WooCommerce: add-to-cart button override (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-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_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_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact button override — after global rules (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* WooCommerce notices (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	border-radius: 8px;
	font-size: 14px;
	padding: 1rem 1.25rem;
	background: var(--color-secondary);
	color: var(--color-foreground);
	border-top: 3px solid var(--color-primary);
	list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-top-color: var(--color-destructive); }

/* ===================== WooCommerce Checkout Block (Section 13) ===================== */
body.woocommerce-checkout .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
	background-color: var(--color-background);
}
body.woocommerce-checkout .entry-content {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 640px) {
	body.woocommerce-checkout .entry-content { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .entry-content { padding-left: 2.5rem; padding-right: 2.5rem; }
}
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .theme-checkout-title {
	display: block;
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--color-foreground);
	margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-checkout .theme-checkout-title { font-size: 3rem; }
}

/* Single parent grid — sidebar-layout only, no nested column grids */
body.woocommerce-checkout .wc-block-checkout {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 2.5rem !important;
	align-items: start !important;
	width: 100% !important;
	max-width: none !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 3.5rem !important;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	grid-column: auto !important;
	order: unset !important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	display: block !important;
	grid-template-columns: unset !important;
	grid-column: unset !important;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__sidebar {
	display: block !important;
	grid-template-columns: unset !important;
}
body.woocommerce-checkout .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout__form,
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-address-form {
	display: block !important;
	width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-components-address-form__address-fields,
body.woocommerce-checkout .wc-block-components-address-form__address-fields .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-address-form__address-field-wrapper,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	grid-template-columns: none !important;
	grid-column: auto !important;
}
body.woocommerce-checkout .wc-block-components-address-form__address-fields {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.75rem !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary) !important;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent) !important;
	border-radius: 1rem !important;
	padding: 1.5rem !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper,
	body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill {
		display: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
		display: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content {
		display: block !important;
	}
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar { padding: 1.75rem !important; }
}

/* Checkout inputs — match Lovable (WC internal padding untouched via box model) */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	min-height: 48px !important;
	height: 48px !important;
	padding: 0 1rem !important;
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent) !important;
	border-radius: 6px !important;
	font-family: var(--font-body) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}
body.woocommerce-checkout .wc-block-components-textarea textarea {
	height: auto !important;
	min-height: 120px !important;
	resize: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 45%, transparent) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-select select {
	padding-right: 2.5rem !important;
	cursor: pointer !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23101b37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.85rem center !important;
	background-size: 16px 16px !important;
}
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input {
	padding-right: 2.5rem !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23101b37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.85rem center !important;
	background-size: 16px 16px !important;
}
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control__suffix,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__expand {
	display: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
	font-family: var(--font-display) !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: 48px !important;
	font-family: var(--font-body) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }

/* ===================== 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-details,
body.theme-thankyou-page .woocommerce-customer-details { max-width: var(--container-max); margin: 0 auto 2rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.75rem; padding: 0 0 1rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 0; margin: 0 0 2rem; }
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 color-mix(in srgb, var(--color-foreground) 10%, transparent); }
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; }

/* ===================== Other WooCommerce pages width parity (13.7) ===================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
