/*
 * Divine Word Images — theme.css
 * All visual styling lives here (Section 10 / 15.1). No styling in PHP templates.
 */

/* ==========================================================================
   0. CSS RESET-ADJACENT BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; }
img, video { max-width: 100%; display: block; }

/* Cover/full-bleed image exclusion list (Section 15.1 — COMPLETENESS RULE) */
img:not(.cover-img):not(.theme-product-main-img):not(.theme-product-thumb img):not(.theme-cart-item__image img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-main-img,
.theme-product-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
/* Two parallel token sets, matching the reference's actual dual color
   system (confirmed via measured computed values):
   - MARKETING tokens (navy-deep, gold, champagne, cream, button-text) are
     literal hex hardcoded throughout the homepage's marketing sections
     (header, hero, about, services intro, faq, contact, footer,
     announcement, contact modal, hero CTAs).
   - COMMERCE tokens (page-bg, card-bg, foreground, primary, gold-deep,
     muted, border, cta-text) drive every shop/product/cart/checkout
     surface (single product, product cards wherever they appear including
     the homepage shop grid, side cart, Classic Cart/Checkout, thank-you),
     matching the shadcn/Tailwind CSS-variable values the source computes
     for that half of the design system. */
:root {
	/* Marketing */
	--color-navy-deep: #0A1526;
	--color-navy-surface: #0F1D33;
	--color-gold: #C9A24C;
	--color-champagne: #E8D6A5;
	--color-cream: #F5EFE4;
	--color-button-text: #0A1526;

	/* Commerce. --color-navy-card doubles as the commerce "card background"
	   token (its existing Customizer control, "Card / Surface Background",
	   already defaults to the verified #0F1D33 — no separate/duplicate
	   control is introduced for the same concept). */
	--color-page-bg: #0A1424;
	--color-navy-card: #0F1D33;
	--color-foreground: #F7F2E9;
	--color-primary: #CAA449;
	--color-gold-deep: #947238;
	--color-muted: #BEB6A7;
	--color-border: #635636;
	--color-cta-text: #F7F3EC;

	--logo-height: 64px;

	--font-display: 'Fraunces', 'Georgia', serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--radius: 0.25rem;
	--btn-radius: 0.25rem;
	--btn-height: 52px;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 13px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--header-height: 96px;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
	:root { --header-height: 112px; }
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
/* Commerce is the default context (product/shop/cart/checkout pages have no
   per-section background of their own, unlike the homepage's marketing
   sections, each of which sets its own explicit background below). */
body {
	background-color: var(--color-page-bg);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* Heading font-weight reset (Tailwind preflight parity — Section 2.2.4) */
h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, .font-display {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--color-cream);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.theme-emphasis { font-style: italic; color: var(--color-gold); }

/* Typography only — the flourish dash lives on .theme-eyebrow (below), not
   here. The source keeps .cs-label and .cs-flourish-line as two separate
   classes; only the 5 section-eyebrow labels (About/Services/Shop/FAQ/
   Contact) combine both. Every other .cs-label usage (announcement bar,
   hero eyebrow, contact-info labels, product page labels, related-products
   eyebrow, footer titles) must render undecorated. */
.cs-label {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	line-height: 1.2;
}

/* Flourish dash + inline-flex layout — applied ONLY alongside .cs-label on
   the 5 section-eyebrow spans (mirrors .cs-flourish-line in the source). */
.theme-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--color-gold);
}
.theme-eyebrow::before {
	content: '';
	width: 28px;
	height: 1px;
	background-color: currentColor;
	opacity: 0.7;
}

/* Global text-size floor (Section: typography audit) — a safety net placed
   before component-specific overrides so it never wins over them. */
p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}

.cs-gold-divider {
	display: block;
	width: 64px;
	height: 1px;
	margin: 2rem auto 0;
	background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.theme-section { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-section { padding: 7rem 0; } }

.theme-section-intro { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.theme-btn-gold,
.theme-btn-primary,
.theme-btn-outline,
.theme-btn-outline-gold,
.theme-btn-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	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);
	padding: var(--btn-padding);
	min-height: var(--btn-height);
	border: none;
	cursor: pointer;
	transition: transform 400ms ease-out, background-color 300ms ease-out, box-shadow 400ms ease-out, opacity 200ms ease;
	white-space: nowrap;
}
.theme-btn-gold,
.theme-btn-primary,
.theme-btn-contact {
	background-color: var(--color-gold);
	color: var(--color-button-text);
	box-shadow: 0 0 0 0 rgba(201, 162, 76, 0);
}
.theme-btn-gold:hover,
.theme-btn-primary:hover,
.theme-btn-contact:hover {
	background-color: var(--color-gold-deep);
	color: var(--color-champagne);
	transform: translateY(-2px);
	box-shadow: 0 8px 30px -8px rgba(201, 162, 76, 0.55);
}
.theme-btn-outline-gold {
	background: transparent;
	color: var(--color-cream);
	border: 1px solid color-mix(in srgb, var(--color-gold) 60%, transparent);
}
.theme-btn-outline-gold:hover {
	background-color: var(--color-gold);
	color: var(--color-navy-deep);
	border-color: var(--color-gold);
	transform: translateY(-2px);
}
.theme-btn-outline {
	background: transparent;
	color: var(--color-cream);
	border: 1px solid color-mix(in srgb, var(--color-cream) 30%, transparent);
}
.theme-btn-outline:hover {
	border-color: var(--color-gold);
	color: var(--color-gold);
}
.theme-btn-contact { padding: 0.7rem 1.5rem; min-height: 44px; }

/* ==========================================================================
   4. ANNOUNCEMENT BAR
   ========================================================================== */
.theme-announcement-bar {
	position: relative;
	background-color: var(--color-navy-deep);
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
}
.theme-announcement-bar__inner { padding-block: 0.5rem; padding-right: 2rem; text-align: center; }
.theme-announcement-bar__text {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	color: var(--color-champagne);
	margin: 0;
}
.theme-announcement-bar__dismiss {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0.25rem;
	color: color-mix(in srgb, var(--color-cream) 70%, transparent);
}
.theme-announcement-bar__dismiss:hover { color: var(--color-gold); }
.theme-announcement-bar.is-dismissed { display: none; }

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 28%, transparent);
	background-color: color-mix(in srgb, var(--color-navy-deep) 85%, transparent);
	backdrop-filter: blur(8px);
	transition: background-color 500ms ease;
}
.site-header.is-scrolled {
	background-color: var(--color-navy-deep);
	backdrop-filter: none;
}
.site-header__nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 96px;
}
@media (min-width: 768px) { .site-header__nav { height: 112px; } }

.site-header__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
	padding: 0.5rem 0;
}
/* Scoped to .site-header only — must never leak into the footer context
   (Footer Logo sizing conflict fix). Responsive: fixed 48px below 768px
   (matches the source's h-12), then the Customizer-controlled --logo-height
   (default 64px, matching the source's h-16) at >=768px. */
.site-header .site-logo-img { height: 48px !important; width: auto !important; display: block; transition: transform 500ms ease; }
@media (min-width: 768px) {
	.site-header .site-logo-img { height: var(--logo-height) !important; }
}
.site-logo-text { font-family: var(--font-display); font-style: italic; color: var(--color-gold); font-size: 1.5rem; }
.site-header__brand:hover .site-logo-img { transform: scale(1.05); }

.site-header__brand-text { display: none; line-height: 1.2; }
@media (min-width: 640px) { .site-header__brand-text { display: block; } }
.site-header__brand-line1 { display: block; font-family: var(--font-display); font-style: italic; color: var(--color-gold); font-size: 1.25rem; }
.site-header__brand-line2 { display: block; font-family: var(--font-body); color: var(--color-cream); font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; }
@media (min-width: 768px) { .site-header__brand-line1 { font-size: 1.5rem; } .site-header__brand-line2 { font-size: 13px; } }

.site-header__menu { display: none; }
@media (min-width: 1024px) {
	.site-header__menu {
		display: flex;
		align-items: center;
		gap: 2rem;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
	font-family: var(--font-body);
	font-size: 14px;
	color: color-mix(in srgb, var(--color-cream) 90%, transparent);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	white-space: nowrap;
	background: none;
	border: none;
	transition: color 200ms ease;
}
.theme-nav-link:hover, .theme-anchor-link:hover { color: var(--color-gold); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.theme-btn-contact { display: none; }
@media (min-width: 1024px) { .theme-btn-contact:not(.theme-mobile-contact-btn) { display: inline-flex; } }

.theme-cart-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-gold) 50%, transparent);
	background: transparent;
	color: var(--color-cream);
	transition: color 200ms ease, border-color 200ms ease;
}
.theme-cart-toggle:hover { border-color: var(--color-gold); color: var(--color-gold); }
.theme-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background-color: var(--color-gold);
	color: var(--color-navy-deep);
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle {
	display: inline-flex;
	padding: 0.5rem;
	background: none;
	border: none;
	color: var(--color-cream);
}
.theme-mobile-toggle:hover { color: var(--color-gold); }
.theme-icon-menu-close { display: none; }
.theme-mobile-toggle.is-open .theme-icon-menu-open { display: none; }
.theme-mobile-toggle.is-open .theme-icon-menu-close { display: block; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.theme-mobile-menu {
	display: none;
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
	padding: 1rem 0;
	background-color: var(--color-navy-deep);
}
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.4s var(--transition-smooth) forwards; }
.theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-list a,
.theme-mobile-menu .theme-nav-list a,
.theme-mobile-nav-list .theme-nav-link,
.theme-mobile-menu .theme-nav-list .theme-nav-link {
	display: block;
	width: 100%;
	padding: 0.75rem 0.5rem;
	border-radius: var(--radius);
	color: var(--color-cream);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 15px;
	white-space: normal;
	transition: background-color 200ms ease, color 200ms ease;
}
.theme-mobile-nav-list a:hover,
.theme-mobile-menu .theme-nav-list a:hover { background-color: color-mix(in srgb, var(--color-gold) 10%, transparent); color: var(--color-gold); }
.theme-mobile-contact-btn { display: flex; width: 100%; margin-top: 0.75rem; justify-content: center; }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }

/* ==========================================================================
   6. HERO
   ========================================================================== */
.theme-hero {
	position: relative;
	min-height: calc(100svh - var(--site-top-offset, 0px));
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-navy-deep);
}
.theme-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.theme-hero__poster, .theme-hero__video { position: absolute; inset: 0; transition: opacity 700ms ease; }
.theme-hero__video { opacity: 0; }
.theme-hero__video.is-ready { opacity: 1; }
.theme-hero__poster.is-hidden { opacity: 0; }
.theme-hero__glow {
	position: absolute; inset: 0; opacity: 0.7; mix-blend-mode: screen;
	background:
		radial-gradient(600px circle at 20% 30%, rgba(201,162,76,0.18), transparent 60%),
		radial-gradient(500px circle at 80% 70%, rgba(232,214,165,0.14), transparent 60%),
		radial-gradient(300px circle at 60% 20%, rgba(201,162,76,0.10), transparent 60%);
}
.theme-hero__scrim {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(180deg, rgba(10,21,38,0.80) 0%, rgba(10,21,38,0.58) 45%, rgba(10,21,38,0.90) 100%);
}
.theme-hero__badge { position: absolute; top: 1.5rem; right: 1.5rem; z-index: 20; display: none; }
@media (min-width: 640px) { .theme-hero__badge { display: block; top: 0.9rem; right: 2.5rem; } }
/* 160x160 (mobile) growing to ~208x208 (desktop, matching the reference's
   ~213x215 measured size) — the raw SVG markup is a fixed 160x160
   attribute pair with no responsive upsize at all; these width/height
   overrides scale the whole element while its viewBox keeps every internal
   coordinate (ring radius, text path, center circle) proportional. */
.theme-hero__badge-ring { width: 160px; height: 160px; animation: enso-spin 28s linear infinite; }
@media (min-width: 768px) { .theme-hero__badge-ring { width: 208px; height: 208px; } }
.theme-hero__badge:hover .theme-hero__badge-ring { animation-duration: 5s; }
.theme-hero__badge-text {
	font-family: var(--font-body); font-size: 11px; font-weight: 500;
	letter-spacing: 0.22em; text-transform: uppercase;
}
.theme-hero__badge-center {
	position: absolute; inset: 0; margin: auto;
	width: 42%; height: 42%;
	border-radius: 999px;
	background: rgba(10, 21, 38, 0.9);
	border: 1px solid rgba(201, 162, 76, 0.75);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-gold);
}
.theme-hero__content { position: relative; z-index: 10; padding-block: 4rem 6rem; text-align: center; width: 100%; }
@media (min-width: 768px) { .theme-hero__content { padding-block: 6rem 8rem; } }
/* margin-top nudges the vertically-centered content down by the measured
   16.4px offset against the reference (Section: Home parity). */
.theme-hero__inner { max-width: 56rem; margin: 16.4px auto 0; }
/* 13px/15.6px with 4.16px (0.32em) tracking — narrower than the general
   .cs-label default (14px/16.8px/0.24em) used by every other label on the
   page; measured directly against the reference (Section: Home parity). */
.theme-hero__eyebrow { display: block; margin-bottom: 1.5rem; color: var(--color-gold); font-size: 13px; line-height: 15.6px; letter-spacing: 0.32em; }
.theme-hero__title {
	color: var(--color-cream);
	font-size: 2.25rem;
	/* line-height: 1 (not the source class name's leading-[1.02]) and
	   letter-spacing: -0.025em (not -0.02em) — measured against the live
	   reference's actual computed values, which are driven by Tailwind's
	   utilities-layer tracking-tight class winning over the component-layer
	   font-hero class in the real cascade. At the 88px breakpoint this
	   yields exactly 88px line-height and -2.2px letter-spacing. */
	line-height: 1;
	letter-spacing: -0.025em;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 3rem; } }
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 5.5rem; } }
/* line-height: 1.4 (not the source class's declared 1.7) — measured
   against the live reference's actual computed value (20px font-size /
   28px line-height at the >=768px breakpoint = 1.4 ratio). */
.theme-hero__subtitle { font-size: 1rem; margin-top: 2rem; max-width: 42rem; margin-left: auto; margin-right: auto; color: color-mix(in srgb, var(--color-cream) 85%, transparent); line-height: 1.4; }
@media (min-width: 640px) { .theme-hero__subtitle { font-size: 1.125rem; } }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.25rem; } }
.theme-hero__actions {
	display: flex; flex-direction: column; flex-wrap: wrap; gap: 0.75rem;
	justify-content: center; align-items: stretch; margin-top: 2.5rem;
	max-width: 26rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; align-items: center; max-width: none; gap: 1rem; } }
.theme-hero__marquee { position: absolute; inset-inline: 0; bottom: 0; z-index: 20; }

.theme-marquee {
	position: relative; width: 100%; overflow: hidden;
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
	background-color: color-mix(in srgb, var(--color-navy-deep) 78%, transparent);
	backdrop-filter: blur(6px);
}
.theme-marquee__track { display: flex; width: max-content; align-items: center; padding: 0.75rem 0; will-change: transform; animation: marquee-scroll 48s linear infinite; }
@media (min-width: 768px) { .theme-marquee__track { padding: 1rem 0; } }
.theme-marquee:hover .theme-marquee__track { animation-play-state: paused; }
.theme-marquee__item { display: flex; align-items: center; flex-shrink: 0; }
.theme-marquee__label { font-family: var(--font-body); color: var(--color-cream); font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; white-space: nowrap; padding: 0 1.25rem; }
@media (min-width: 768px) { .theme-marquee__label { font-size: 14px; padding: 0 1.75rem; } }
.theme-marquee__dot { color: var(--color-gold); font-size: 14px; line-height: 1; }

/* ==========================================================================
   7. ABOUT
   ========================================================================== */
.theme-about { overflow: hidden; background-color: var(--color-navy-deep); }
.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-about__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-about__media { min-width: 0; }
@media (min-width: 1024px) { .theme-about__media { grid-column: span 6; } }
.theme-about__image-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; border: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent); }
.theme-about__image-scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-navy-deep) 60%, transparent), transparent 60%); }
.theme-about__copy { min-width: 0; }
@media (min-width: 1024px) { .theme-about__copy { grid-column: span 6; } }
.theme-about__heading {
	color: var(--color-cream); margin-top: 1.25rem; line-height: 1.05; letter-spacing: -0.015em;
	font-size: 2.25rem;
}
@media (min-width: 768px) { .theme-about__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about__heading { font-size: 3.75rem; } }
.theme-about__paragraphs { margin-top: 2rem; max-width: 36rem; }
.theme-about__paragraphs p { color: color-mix(in srgb, var(--color-cream) 80%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-about__paragraphs p { font-size: 1.125rem; } }
.theme-about__quote {
	margin: 2.5rem 0 0; padding-left: 1.5rem; border-left: 2px solid var(--color-gold);
	font-family: var(--font-display); font-style: italic; color: var(--color-champagne);
	font-size: 1.5rem; line-height: 1.3; max-width: 36rem;
}
@media (min-width: 768px) { .theme-about__quote { font-size: 1.75rem; } }
.theme-about__quote cite { display: block; font-style: normal; font-family: var(--font-body); color: color-mix(in srgb, var(--color-cream) 60%, transparent); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 1rem; }

/* ==========================================================================
   8. SERVICES
   ========================================================================== */
.theme-services { border-top: 1px solid color-mix(in srgb, var(--color-gold) 15%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 15%, transparent); background-color: var(--color-navy-surface); }
/* Also reused (without .theme-eyebrow) for the related-products eyebrow on
   the single product page, which the source renders plain-gold, no dash. */
.theme-services__eyebrow { color: var(--color-gold); font-size: 13px; }
.theme-services__heading, .section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.015em; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-services__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-services__heading { font-size: 3.75rem; } }
.theme-services__subtitle { margin-top: 1.5rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .theme-services__subtitle { font-size: 1.125rem; } }
.theme-services__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: stretch; }
@media (min-width: 640px) { .theme-services__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

.theme-service-card {
	position: relative; overflow: hidden; border-radius: var(--radius); padding: 2rem;
	border: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
	background-color: var(--color-navy-deep);
	transition: border-color 500ms ease;
	isolation: isolate;
	height: 100%;
}
.theme-service-card:hover { border-color: var(--color-gold); }
.theme-service-card__backdrop {
	position: absolute; inset: 0; z-index: 0;
	background-image: var(--service-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.25;
	transition: opacity 700ms ease;
}
.theme-service-card:hover .theme-service-card__backdrop { opacity: 0.35; }
.theme-service-card__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(10, 21, 38, 0.92), rgba(10, 21, 38, 0.85) 50%, rgba(10, 21, 38, 0.95));
}
.theme-service-card__content { position: relative; z-index: 2; }
.theme-service-card__icon {
	width: 3.5rem; height: 3.5rem; border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	color: var(--color-gold); margin-bottom: 1.5rem;
	background-color: rgba(10, 21, 38, 0.7);
	backdrop-filter: blur(4px);
	transition: background-color 500ms ease, color 500ms ease;
}
.theme-service-card:hover .theme-service-card__icon { background-color: var(--color-gold); color: var(--color-navy-deep); }
.theme-service-card__title { font-size: 1.5rem; line-height: 1.2; }
.theme-service-card__body { margin-top: 0.75rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-cream) 80%, transparent); }

.theme-shop { margin-top: 5rem; }
@media (min-width: 1024px) { .theme-shop { margin-top: 6rem; } }
.theme-shop__intro { margin-bottom: 2.5rem; }
.theme-shop__heading { font-size: 1.875rem; line-height: 1.08; letter-spacing: -0.015em; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-shop__heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-shop__heading { font-size: 3rem; } }

.theme-shop__filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-shop__filters { gap: 0.75rem; } }
.theme-filter-pill {
	padding: 0.625rem 1.25rem; border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-gold) 35%, transparent);
	background: transparent; color: color-mix(in srgb, var(--color-cream) 80%, transparent);
	font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
	transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}
.theme-filter-pill:hover { border-color: var(--color-gold); color: var(--color-gold); }
.theme-filter-pill.is-active { background-color: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy-deep); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-product-grid--fixed-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .theme-product-grid--fixed-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%; width: 100%;
	background-color: var(--color-navy-card);
	border-radius: calc(var(--radius) * 2);
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-gold) 15%, transparent);
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 300ms ease;
	transform-style: preserve-3d;
}
.theme-product-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--color-gold) 40%, transparent); z-index: 2; }
.theme-product-card__image-wrapper { position: relative; overflow: hidden; aspect-ratio: 3 / 4; width: 100%; background-color: var(--color-navy-surface); }
.theme-product-card__image-wrapper .theme-product-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.theme-product-card__image { transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__info { flex: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem; }
.theme-product-card__info-main { min-width: 0; flex: 1; }
.theme-product-card__category { display: block; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; color: var(--color-gold); }
.theme-product-card__title { font-size: 1.25rem; line-height: 1.3; margin-top: 0.375rem; color: var(--color-cream); overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card__price { font-size: 13px; color: var(--color-gold); margin-top: 0.5rem; }
.theme-product-card__price .amount { color: var(--color-gold); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35rem; }
.theme-product-card__cta {
	flex-shrink: 0; align-self: flex-end;
	display: inline-flex; align-items: center; gap: 0.375rem;
	font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase;
	padding: 0.5rem 1rem; border-radius: 999px;
	background-color: var(--color-gold); color: var(--color-navy-deep);
	transition: background-color 200ms ease;
}
.theme-product-card:hover .theme-product-card__cta { background-color: var(--color-gold-deep); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background-color: var(--color-navy-deep); color: var(--color-cream);
	font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
	padding: 0.35rem 0.75rem; border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
}
.theme-shop-archive__empty { text-align: center; padding: 4rem 0; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }

.theme-services__cta { text-align: center; margin-top: 3rem; }

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.theme-faq { background-color: var(--color-navy-deep); }
.theme-faq__list { max-width: 48rem; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent); }
.theme-faq__item { border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent); }
.theme-faq__item:last-child { border-bottom: none; }
.theme-faq__question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	text-align: left; padding: 1.5rem 0; background: none; border: none; color: var(--color-cream);
}
.theme-faq__question span:first-child { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; transition: color 300ms ease; }
@media (min-width: 768px) { .theme-faq__question span:first-child { font-size: 1.5rem; } }
.theme-faq__question:hover span:first-child { color: var(--color-gold); }
.theme-faq__icon {
	flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-gold) 45%, transparent); color: var(--color-gold);
	transition: background-color 300ms ease, color 300ms ease;
	position: relative;
}
.theme-faq__question:hover .theme-faq__icon { background-color: var(--color-gold); color: var(--color-navy-deep); }
.theme-faq__icon-minus { display: none; }
.theme-faq__question[aria-expanded="true"] .theme-faq__icon-plus { display: none; }
.theme-faq__question[aria-expanded="true"] .theme-faq__icon-minus { display: block; }
.theme-faq__answer { padding-bottom: 1.75rem; padding-right: 3.5rem; }
.theme-faq__answer p { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-cream) 75%, transparent); }
@media (min-width: 768px) { .theme-faq__answer p { font-size: 16px; } }
.theme-faq__answer[hidden] { display: none; }

/* ==========================================================================
   10. CONTACT
   ========================================================================== */
.theme-contact { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-gold) 15%, transparent); background-color: var(--color-navy-surface); }
.theme-contact__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.theme-contact__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,21,38,0.90) 0%, rgba(10,21,38,0.80) 50%, rgba(10,21,38,0.92) 100%); }
.theme-contact__grid { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-contact__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-contact__copy { min-width: 0; }
@media (min-width: 1024px) { .theme-contact__copy { grid-column: span 5; } }
.theme-contact__heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.015em; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-contact__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-contact__heading { font-size: 3.75rem; } }
.theme-contact__subtitle { margin-top: 1.5rem; max-width: 28rem; color: color-mix(in srgb, var(--color-cream) 75%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .theme-contact__subtitle { font-size: 1.125rem; } }
.theme-contact__info { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-contact__info-row { display: flex; align-items: center; gap: 1rem; color: color-mix(in srgb, var(--color-cream) 85%, transparent); transition: color 200ms ease; }
.theme-contact__info-row > div { min-width: 0; flex: 1; }
a.theme-contact__info-row:hover { color: var(--color-gold); }
.theme-contact__info-icon {
	width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-gold) 50%, transparent); color: var(--color-gold);
	transition: background-color 200ms ease, color 200ms ease;
}
a.theme-contact__info-row:hover .theme-contact__info-icon { background-color: var(--color-gold); color: var(--color-navy-deep); }
.theme-contact__info-label { display: block; font-size: 11px; color: var(--color-gold); }
.theme-contact__info-value { font-family: var(--font-body); font-size: 15px; overflow-wrap: anywhere; }
.theme-mailto-link .theme-contact__info-value { word-break: break-all; }

.theme-contact__media { min-width: 0; display: flex; }
@media (min-width: 1024px) { .theme-contact__media { grid-column: span 7; } }
.theme-contact__image-frame {
	position: relative; overflow: hidden; border-radius: var(--radius);
	height: 100%; min-height: 20rem; flex: 1;
	border: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
	transition: border-color 500ms ease;
}
@media (min-width: 1024px) { .theme-contact__image-frame { min-height: 30rem; } }
.theme-contact__image-frame:hover { border-color: var(--color-gold); }
.theme-contact__image-scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-navy-deep) 90%, transparent), color-mix(in srgb, var(--color-navy-deep) 20%, transparent) 60%, transparent); }
.theme-contact__image-overlay { position: absolute; inset-inline: 0; bottom: 0; padding: 2rem 2.5rem; z-index: 5; }
.theme-contact__image-overlay h3 { font-size: 1.5rem; line-height: 1.25; max-width: 28rem; color: var(--color-cream); }
@media (min-width: 768px) { .theme-contact__image-overlay h3 { font-size: 1.875rem; } }
.theme-contact__image-overlay .theme-btn-gold { margin-top: 1.5rem; padding: 0.75rem 1.5rem; min-height: auto; }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent); background-color: var(--color-navy-deep); }
.site-footer__inner { padding-block: 4rem 1.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 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, 1fr); gap: 3.5rem; } }
.site-footer__brand-col { min-width: 0; }
@media (min-width: 768px) { .site-footer__brand-col { grid-column: span 4; } }
.site-footer__logo-link { display: inline-flex; }
/* Independent of .site-header .site-logo-img — width-driven (matches the
   source's w-full max-w-[200px] h-auto), not height-locked. No shared
   !important fight since the header rule is now scoped to .site-header. */
/* !important beats the higher-specificity global img:not(...) exclusion
   list rule (Section 15.1) that would otherwise win the max-width cascade
   and let this logo grow to its container's full width (confirmed bug:
   368x220.63 rendered instead of the reference's 200x119.91). */
.site-footer__logo-img { width: 100%; max-width: 200px !important; height: auto; display: block; }
.site-footer__tagline {
	margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--color-gold) 45%, transparent); border-radius: var(--radius);
	padding: 0.5rem 1rem; color: var(--color-champagne); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.site-footer__col { min-width: 0; }
@media (min-width: 768px) { .site-footer__col:nth-of-type(2) { grid-column: span 2; } .site-footer__col:nth-of-type(3) { grid-column: span 3; } .site-footer__col:nth-of-type(4) { grid-column: span 3; } }
.site-footer__col-title { color: var(--color-gold); margin-bottom: 1.25rem; font-size: 14px; }
.theme-footer-nav-list, .site-footer__create-list, .site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-link, .site-footer__create-list a {
	background: none; border: none; padding: 0; text-align: left; cursor: pointer;
	font-size: 13px; color: color-mix(in srgb, var(--color-cream) 75%, transparent);
	text-transform: uppercase; letter-spacing: 0.12em; transition: color 200ms ease;
}
.theme-footer-nav-link:hover, .site-footer__create-list a:hover { color: var(--color-gold); }
.site-footer__contact-list { font-size: 14px; color: color-mix(in srgb, var(--color-cream) 75%, transparent); }
.site-footer__founder { color: var(--color-cream); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; }
.site-footer__contact-list > li { max-width: 100%; }
.site-footer__contact-list a { display: inline-flex; align-items: flex-start; gap: 0.5rem; max-width: 100%; word-break: break-all; transition: color 200ms ease; }
.site-footer__contact-list a:hover { color: var(--color-gold); }
.site-footer__info-line { display: inline-flex; align-items: flex-start; gap: 0.5rem; max-width: 100%; }
.site-footer__info-line svg { color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.site-footer__copyright { text-align: center; font-size: 14px; color: color-mix(in srgb, var(--color-cream) 55%, transparent); }

/* ==========================================================================
   12. BACK TO TOP
   ========================================================================== */
.theme-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 40;
	width: 44px; height: 44px; border-radius: 999px;
	background-color: var(--color-gold); color: var(--color-navy-deep);
	display: flex; align-items: center; justify-content: center; border: none;
	transition: transform 200ms ease, opacity 200ms ease;
	opacity: 0; pointer-events: none;
}
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }
@media (min-width: 768px) { .theme-back-to-top { width: 48px; height: 48px; } }

/* ==========================================================================
   13. SIDE CART DRAWER
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90; background-color: color-mix(in srgb, var(--color-cream) 40%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 300ms ease;
}
/* Background scroll lock while the drawer is open (Section: Drawer
   opening). overflow-y only — overflow-x stays untouched so the sticky
   header's own overflow-x: clip trick (Section 0) is never overridden. */
body.cart-open { overflow-y: hidden; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 95;
	background-color: var(--color-page-bg); display: flex; flex-direction: column;
	border-left: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	transform: translateX(100%); transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; }
.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-primary) 20%, transparent); }
.theme-cart-drawer__title { font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-drawer__close { background: none; border: none; padding: 0.25rem; color: var(--color-foreground); }
.theme-cart-drawer__close:hover { color: var(--color-primary); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background-color: var(--color-navy-card); }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { display: block; font-size: 14px; font-weight: 500; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__meta { font-size: 12px; color: var(--color-muted); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.14em; }
.theme-cart-item__variation, .theme-cart-item__line-total { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 65%, 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: var(--radius); background: none; border: none; color: var(--color-foreground); }
.theme-cart-item__qty-btn:hover { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-cart-item__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; background: none; border: none; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-drawer__row-label { font-family: var(--font-body); font-weight: 500; color: var(--color-foreground); }
.theme-cart-drawer__row-value--count { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-foreground); }
.theme-cart-drawer__row--total { padding-top: 0.5rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); }
.theme-cart-drawer__row-value--total { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__clear-btn { width: 100%; font-size: 12px; padding: 0.65rem 1rem; min-height: 40px; }

/* Hide WooCommerce's own "View cart" link 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; }

/* ==========================================================================
   14. CONTACT MODAL
   ========================================================================== */
#theme-contact-overlay {
	position: fixed; inset: 0; z-index: 90; background-color: rgba(10, 21, 38, 0.7);
	opacity: 0; visibility: hidden; transition: opacity 300ms ease;
}
body.contact-open #theme-contact-overlay { opacity: 1; visibility: visible; }
#theme-contact-modal {
	position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center;
	padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 250ms ease;
	pointer-events: none;
}
body.contact-open #theme-contact-modal { opacity: 1; visibility: visible; pointer-events: auto; }
.theme-contact-modal__panel {
	position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background-color: var(--color-cream); color: var(--color-navy-deep);
	border-radius: calc(var(--radius) * 2); padding: 2rem;
	transform: scale(0.95) translateY(10px); transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.contact-open .theme-contact-modal__panel { transform: scale(1) translateY(0); }
.theme-contact-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; color: var(--color-navy-deep); opacity: 0.6; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-size: 1.875rem; color: var(--color-navy-deep); }
.theme-contact-modal__subtext { color: color-mix(in srgb, var(--color-navy-deep) 80%, transparent); font-size: 15px; margin-top: 0.5rem; }
.theme-contact-modal__quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1rem; font-size: 14px; }
.theme-contact-modal__quick-links a { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-navy-deep) 90%, transparent); }
.theme-contact-modal__quick-links a:hover { color: var(--color-gold-deep); }
.theme-contact-modal__form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; color: var(--color-navy-deep); }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.65rem 0.75rem; border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-navy-deep) 25%, transparent);
	background-color: color-mix(in srgb, var(--color-cream) 90%, white 10%);
	color: var(--color-navy-deep); font-family: var(--font-body); font-size: 15px;
}
.theme-form-field textarea { resize: none; }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-gold) 50%, transparent); }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-error { color: #B3261E; font-size: 13px; }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon { width: 3.5rem; height: 3.5rem; background-color: var(--color-gold); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--color-navy-deep); }
.theme-contact-modal__success h3 { font-size: 1.5rem; color: var(--color-navy-deep); margin-bottom: 0.5rem; }
.theme-contact-modal__success p { font-size: 14px; color: color-mix(in srgb, var(--color-navy-deep) 80%, transparent); }
.theme-contact-modal[hidden], [hidden] { display: none !important; }

/* ==========================================================================
   15. SINGLE PRODUCT PAGE
   ========================================================================== */
.single-product-main { padding-top: 2.5rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 3.5rem; } }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 60%, transparent); }
.theme-breadcrumb a { transition: color 200ms ease; }
.theme-breadcrumb a:hover { color: var(--color-cream); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-cream); }

.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; padding-top: 1rem; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 3fr 2fr; gap: 5rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-main-image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background-color: var(--color-navy-surface); }
.single-product .theme-product-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 640px) { .single-product .theme-product-thumbnails { grid-template-columns: repeat(5, 1fr); } }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); opacity: 0.8; padding: 0; background: none; transition: opacity 200ms ease, border-color 200ms ease; }
.theme-product-thumb:hover { opacity: 1; border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); }
.theme-product-thumb.is-active { border-color: var(--color-gold); box-shadow: 0 0 0 1px var(--color-gold); opacity: 1; }

.theme-product-info__category { display: block; color: var(--color-muted); font-size: 13px; }
/* font-display/500 (Fraunces, matching every other heading on the site) —
   NOT font-body/600. The source's ProductDetail.tsx h1 uses the same
   "font-display font-medium" treatment as every other heading; the earlier
   body-font/600 override was incorrectly copied from a generic template
   example without checking this project's actual source. */
.product-title, .theme-product-info__title {
	font-family: var(--font-display); font-weight: 500;
	font-size: 2.25rem; line-height: 1.05; margin-top: 0.75rem; margin-bottom: 1rem; color: var(--color-foreground);
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 3.75rem; line-height: 60px; } }
.theme-product-info__price-badge {
	display: inline-block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
	padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.5rem;
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	color: var(--color-gold-deep); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.theme-product-info__stock.is-out-of-stock { color: #E08585; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.theme-product-info__description { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-quantity-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 0.75rem; }

/* 122x38 (Section: Single product), stacked ABOVE the full-width CTA — not
   beside it — matching the reference's vertical quantity-then-button flow. */
.theme-quantity-wrapper { display: inline-flex; align-items: center; justify-content: space-between; width: 122px; height: 38px; border: 1px solid var(--color-border); border-radius: var(--radius); background-color: var(--color-navy-card); }
.theme-qty-minus, .theme-qty-plus { flex: 0 0 auto; padding: 0.4rem 0.7rem; height: 100%; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: var(--color-foreground); transition: background-color 200ms ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-qty-input {
	-moz-appearance: textfield; appearance: textfield; width: 2.5rem; flex: 1 1 auto; text-align: center;
	background: none; border: none; color: var(--color-foreground); font-family: var(--font-body); font-size: 14px; padding: 0;
}
.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; flex-direction: column; align-items: stretch; gap: 1rem; margin-bottom: 1rem; }
.single-product .theme-add-to-cart-area form.cart { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; width: 100%; }
.single-product .single_add_to_cart_button { flex: none; width: 100%; min-height: 53px !important; }

.theme-product-details { margin-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); }
.theme-product-details__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; text-align: left; color: var(--color-cream); }
.theme-product-details__chevron { transition: transform 200ms ease; }
.theme-product-details__toggle[aria-expanded="true"] .theme-product-details__chevron { transform: rotate(180deg); }
.theme-product-details__content { padding-bottom: 1.5rem; }
.theme-product-details__content[hidden] { display: none; }
.woocommerce-product-details__short-description ul { display: flex; flex-direction: column; gap: 0.75rem; }
.woocommerce-product-details__short-description li { position: relative; padding-left: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--color-cream) 75%, transparent); }
.woocommerce-product-details__short-description li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 999px; background-color: var(--color-gold); }
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-related-products { padding: 5rem 0 0; border-top: 1px solid color-mix(in srgb, var(--color-cream) 12%, transparent); margin-top: 5rem; }
.theme-related-products__heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 3rem; } }

/* Add-to-cart button style override (Section 11.4.1). Colors: primary
   (#CAA449) + cta-text (#F7F3EC), matching the source's explicit
   bg-olive/text-[#F7F3EC] classes on this exact button — not the marketing
   gold/navy pairing used by .theme-btn-gold elsewhere. Uppercase + full
   width, matching the source's "ADD TO CART $65" rendered button. */
.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-cta-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;
	gap: 0.5rem;
	width: 100%;
	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: uppercase !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-cta-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Native variation <select> table: kept in the DOM (required by
   wc-add-to-cart-variation.js) but visually hidden — the theme-attr-
   select-hidden class is injected via the
   woocommerce_dropdown_variation_attribute_options_html filter
   (inc/woocommerce-setup.php), never a disabled attribute (that would drop
   the field from form POST submission). The pill UI below is what shoppers
   actually see and interact with. */
.theme-variations-table { display: none !important; }
.theme-attr-select-hidden { display: none !important; }

/* Variation pills (Section 11.5.2) */
.theme-variation-pills-group { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-variation-attribute__label {
	display: block; margin-bottom: 0.6rem; font-size: 13px; letter-spacing: 0.1em;
	text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 65%, transparent);
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.55rem 1.1rem; border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-cream) 25%, transparent);
	background: var(--color-navy-card); color: var(--color-cream);
	font-family: var(--font-body); font-size: 13px; letter-spacing: 0.04em;
	transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, opacity 200ms ease;
}
.theme-variation-pill:hover:not(:disabled) { border-color: var(--color-gold); color: var(--color-gold); }
.theme-variation-pill[aria-pressed="true"] { background-color: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy-deep); }
.theme-variation-pill.is-focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.theme-variation-pill:disabled,
.theme-variation-pill[aria-disabled="true"] {
	opacity: 0.35; cursor: not-allowed; text-decoration: line-through;
}

/* Legacy fallback: the native table is fully hidden above, but keep its
   internal layout sane in case a future variable product renders without
   the pill UI (e.g. JS disabled) so the raw <select> table is still usable. */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; color: var(--color-cream); font-weight: 600; font-style: normal; font-family: var(--font-body); }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations tbody td.value select {
	width: 100%; padding: 0.6rem 0.75rem; background-color: var(--color-navy-card); color: var(--color-cream);
	border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); border-radius: var(--radius);
}
/* ==========================================================================
   16. WOOCOMMERCE GLOBAL OVERRIDES
   ========================================================================== */
.woocommerce-message, .woocommerce-info {
	background-color: var(--color-navy-card); color: var(--color-cream);
	border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
	border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem; list-style: none;
}
.woocommerce-error {
	background-color: #2a1414; color: #f3c9c9; border: 1px solid #B3261E;
	border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem; list-style: none;
}
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-breadcrumb { display: none; }

.theme-shop-archive { padding-top: 3rem; padding-bottom: 5rem; }
.theme-shop-archive__title { margin-bottom: 2rem; font-size: 2rem; }
.woocommerce-pagination { margin-top: 3rem; text-align: center; }
.woocommerce-pagination ul { display: inline-flex; gap: 0.5rem; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem;
	border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent); color: var(--color-cream);
}
.woocommerce-pagination .current { background-color: var(--color-gold); color: var(--color-navy-deep); }

/* ==========================================================================
   17. WOOCOMMERCE CLASSIC CHECKOUT
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 96px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { display: block; }
body.woocommerce-checkout .page-title { max-width: 80rem; margin: 0 auto 2rem; padding: 0 1.5rem; font-size: 2.5rem; }
@media (min-width: 1024px) { body.woocommerce-checkout .page-title { padding: 0 2rem; } }

/* Checkout content lives inside the SAME .container-wide used site-wide
   (page.php wraps the_content() in it) — no competing max-width/padding is
   added here, so the checkout's edges align exactly with the header and
   every other section instead of double-insetting inside a second,
   redundant container (Section 13.1 CASE A). */
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout > .woocommerce-error,
body.woocommerce-checkout > .woocommerce-message,
body.woocommerce-checkout > .woocommerce-info {
	margin: 0 0 1.5rem;
}

.theme-checkout-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 13px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	transition: color 200ms ease;
}
.theme-checkout-back-link:hover { color: var(--color-primary); }
.theme-checkout-back-link__icon { transform: rotate(180deg); }
body.woocommerce-checkout .page-title { margin-bottom: 0.5rem; }
.theme-checkout-intro {
	margin: 0 0 2.5rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	font-size: 1rem;
	max-width: 42rem;
}

/* Explicit grid-template-areas (not implicit auto-placement) so the layout
   survives WooCommerce prepending a `.woocommerce-NoticeGroup` wrapper as a
   new direct child of form.checkout on validation errors, coupon messages
   and every `updated_checkout` AJAX refresh — that new element is assigned
   to the "notices" area (spanning both columns) instead of landing in the
   next free implicit grid cell and displacing #customer_details /
   .theme-checkout-right-col (Section: Checkout — confirmed runtime bug). */
@media (min-width: 1024px) {
	body.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: 7fr 5fr;
		grid-template-areas:
			"notices notices"
			"customer right";
		gap: 2.5rem; /* 40px */
		align-items: start;
	}
	body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
	body.woocommerce-checkout form.checkout > .woocommerce-error,
	body.woocommerce-checkout form.checkout > .woocommerce-message,
	body.woocommerce-checkout form.checkout > .woocommerce-info {
		grid-area: notices;
		margin: 0 0 1.5rem;
	}
	body.woocommerce-checkout form.checkout > #customer_details { grid-area: customer; }
	body.woocommerce-checkout form.checkout > .theme-checkout-right-col {
		grid-area: right;
		position: sticky;
		top: calc(var(--header-height, 112px) + 2rem);
	}
}
@media (max-width: 1023px) {
	body.woocommerce-checkout form.checkout { display: block; }
	body.woocommerce-checkout .theme-checkout-right-col { margin-top: 2.5rem; }
}

/* Billing stacked above Shipping inside the left column — WooCommerce's own
   .col2-set is a 2-up layout by default; this reflows it to a single
   column so it does not repeat the top-level 2-column split. */
body.woocommerce-checkout .col2-set { display: block; }
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
body.woocommerce-checkout .col2-set .col-2 { margin-top: 2rem; }

body.woocommerce-checkout .theme-checkout-right-col {
	background-color: var(--color-navy-card);
	border-radius: calc(var(--radius) * 2);
	padding: 2rem;
}
body.woocommerce-checkout #order_review_heading {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.5rem;
	color: var(--color-foreground);
	margin: 0 0 1.5rem;
}
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { color: var(--color-foreground); font-family: var(--font-display); }
body.woocommerce-checkout label { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); font-size: 14px; }

/* Inputs sit on the page background (not the card background used by the
   containing panels), matching the reference's field/panel contrast.
   50px height / 12px 16px padding / 16px type / 2px radius — visual
   properties only, WooCommerce's own field markup/validation is untouched. */
body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-checkout .select2-selection {
	background-color: var(--color-page-bg) !important;
	border: 1px solid var(--color-border) !important;
	color: var(--color-foreground) !important;
	border-radius: 2px !important;
	font-family: var(--font-body) !important;
	font-size: 16px !important;
	padding: 12px 16px !important;
	min-height: 50px !important;
	width: 100%;
}
body.woocommerce-checkout textarea { min-height: 96px !important; }
body.woocommerce-checkout .select2-selection { display: flex !important; align-items: center; }
body.woocommerce-checkout .select2-selection__rendered { color: var(--color-foreground) !important; padding-left: 0 !important; line-height: normal !important; }
body.woocommerce-checkout .select2-selection__arrow b { border-color: var(--color-foreground) transparent transparent transparent !important; }
body.woocommerce-checkout .select2-dropdown {
	background-color: var(--color-page-bg) !important;
	border-color: var(--color-border) !important;
}
body.woocommerce-checkout .select2-results__option {
	color: var(--color-foreground) !important;
	font-family: var(--font-body) !important;
}
body.woocommerce-checkout .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-results__option[aria-selected="true"] {
	background-color: var(--color-primary) !important;
	color: var(--color-page-bg) !important;
}
body.woocommerce-checkout ::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent) !important; }
body.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout .select2-container--focus .select2-selection,
body.woocommerce-checkout .select2-container--open .select2-selection {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent) !important;
}
body.woocommerce-checkout .woocommerce-invalid .input-text,
body.woocommerce-checkout .input-text.woocommerce-invalid,
body.woocommerce-checkout .input-text:invalid {
	border-color: #B3261E !important;
}
body.woocommerce-checkout .input-text:disabled,
body.woocommerce-checkout select:disabled,
body.woocommerce-checkout .select2-container--disabled .select2-selection {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}
body.woocommerce-checkout .input-text:-webkit-autofill {
	-webkit-text-fill-color: var(--color-foreground) !important;
	-webkit-box-shadow: 0 0 0px 1000px var(--color-page-bg) inset !important;
	transition: background-color 9999s ease-in-out 0s;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	color: var(--color-foreground);
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	padding: 0.75rem 0;
	text-align: left;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th { text-align: left; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td { text-align: right; }

/* Order summary product thumbnail (Section: Checkout — Order Summary),
   injected via the woocommerce_cart_item_name filter, never a template
   override. */
body.woocommerce-checkout .theme-order-review-item { display: flex; align-items: center; gap: 0.75rem; text-align: left; }
body.woocommerce-checkout .theme-order-review-item__thumb {
	width: 3rem; height: 3.75rem; flex-shrink: 0; border-radius: var(--radius);
	overflow: hidden; background-color: var(--color-page-bg);
}
body.woocommerce-checkout .theme-order-review-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
body.woocommerce-checkout .theme-order-review-item__name { min-width: 0; }

body.woocommerce-checkout #place_order {
	background-color: var(--color-primary) !important;
	color: var(--color-cta-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
	width: 100%;
	min-height: var(--btn-height);
}
body.woocommerce-checkout #place_order:hover { opacity: 0.85; }
body.woocommerce-checkout .woocommerce-checkbox label { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Success "added to cart" message is suppressed at the source (see
   wc_add_to_cart_message_html filter, inc/woocommerce-setup.php) so it can
   never persist onto Checkout; only genuine error/coupon/payment/
   validation notices reach this markup. Icon + text spacing fix for all
   notice types (coupon success, payment errors, field validation). */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	position: relative;
	padding-left: 3rem !important;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
	left: 1.5rem !important;
}

/* ==========================================================================
   18. THANK-YOU PAGE
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { max-width: 48rem; margin: 0 auto; text-align: center; padding: 3rem 0 5rem; }
.theme-thankyou__icon { width: 4rem; height: 4rem; margin: 0 auto 1.5rem; border-radius: 999px; background-color: var(--color-gold); color: var(--color-navy-deep); display: flex; align-items: center; justify-content: center; }
.theme-thankyou__heading { font-size: 2.5rem; margin-bottom: 1rem; }
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 { text-align: left; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 1.5rem; background-color: var(--color-navy-card); border-radius: var(--radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ==========================================================================
   19. CART / ACCOUNT PAGE WIDTH PARITY (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 96px); padding-bottom: 4rem; }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content { padding: 0 2rem; } }

/* Classic Cart page (Section: Cart architecture — standardized on Classic,
   styled to match the reference instead of WooCommerce's sparse Blocks
   default). Visual properties only; every native quantity field, coupon
   form, shipping calculator row and "Proceed to Checkout" link keeps its
   real name/id/nonce untouched. */
/* Explicit grid-template-areas (Section: Cart grid stability) — not
   implicit auto-placement. The [woocommerce_cart] shortcode wraps its
   output in a plain .woocommerce div whose direct children vary: a
   .woocommerce-notices-wrapper (or a bare .woocommerce-message/-error/
   -info) is only present when there is a notice — e.g. after "Update
   cart", a coupon success/error, or a validation error — and it is always
   printed BEFORE form.woocommerce-cart-form (woocommerce_before_cart
   fires woocommerce_output_all_notices). With plain auto-placement that
   notice becomes grid item #1 and pushes the form into column 2 and the
   totals onto row 2 (confirmed bug). Assigning every possible notice
   wrapper to the same "notices" area — spanning both columns — makes the
   two-column layout immune to whether a notice is present, which one it
   is, or in which state (initial load, after Update cart, drawer-
   originated refresh, remove, restore, coupon success/error, empty cart). */
body.woocommerce-cart .woocommerce { display: block; }
@media (min-width: 1024px) {
	body.woocommerce-cart .woocommerce {
		display: grid;
		grid-template-columns: 7fr 5fr;
		grid-template-areas:
			"notices notices"
			"form totals";
		gap: 2.5rem;
		align-items: start;
	}
	body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
	body.woocommerce-cart .woocommerce > .woocommerce-error,
	body.woocommerce-cart .woocommerce > .woocommerce-message,
	body.woocommerce-cart .woocommerce > .woocommerce-info {
		grid-area: notices;
		margin: 0 0 1.5rem;
	}
	body.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
	body.woocommerce-cart .woocommerce > .cart-empty,
	body.woocommerce-cart .woocommerce > .return-to-shop {
		grid-area: form;
	}
	body.woocommerce-cart .woocommerce > .cart-collaterals {
		grid-area: totals;
	}
}
@media (max-width: 1023px) {
	/* Notices, form, totals — in that order, matching the desktop area
	   sequence (the DOM order already matches; this only forces `block`
	   layout instead of any grid). */
	body.woocommerce-cart .woocommerce { display: block; }
}
body.woocommerce-cart table.cart, body.woocommerce-cart table.shop_table {
	width: 100%;
	border-collapse: collapse;
	background-color: var(--color-navy-card);
	border-radius: calc(var(--radius) * 2);
	overflow: hidden;
}
body.woocommerce-cart table.cart thead th {
	text-align: left;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-muted);
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--color-border);
}
body.woocommerce-cart table.cart tbody td {
	padding: 1.25rem;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	color: var(--color-foreground);
	vertical-align: middle;
}
body.woocommerce-cart table.cart tr:last-child td { border-bottom: none; }
body.woocommerce-cart .product-thumbnail img {
	width: 4.5rem; height: 5.5rem; object-fit: cover; border-radius: var(--radius);
}
body.woocommerce-cart .product-name a { font-family: var(--font-display); font-size: 1.05rem; color: var(--color-foreground); }
body.woocommerce-cart .product-name a:hover { color: var(--color-primary); }
body.woocommerce-cart .product-price, body.woocommerce-cart .product-subtotal { color: var(--color-foreground); font-size: 15px; }
body.woocommerce-cart .quantity .qty {
	background-color: var(--color-page-bg) !important;
	border: 1px solid var(--color-border) !important;
	color: var(--color-foreground) !important;
	border-radius: 2px !important;
	height: 40px !important;
	width: 4rem !important;
	text-align: center;
	font-size: 15px !important;
}
body.woocommerce-cart .product-remove a.remove {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2rem; height: 2rem; border-radius: 999px; color: var(--color-muted) !important;
	background: none; font-size: 1.25rem; transition: color 200ms ease, background-color 200ms ease;
}
body.woocommerce-cart .product-remove a.remove:hover { color: #E08585 !important; background-color: color-mix(in srgb, #E08585 15%, transparent); }
body.woocommerce-cart .actions { background: none !important; padding: 1.25rem !important; }
body.woocommerce-cart .coupon { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
body.woocommerce-cart .coupon .input-text {
	background-color: var(--color-page-bg) !important;
	border: 1px solid var(--color-border) !important;
	color: var(--color-foreground) !important;
	border-radius: 2px !important;
	height: 44px !important;
	padding: 0 1rem !important;
}
body.woocommerce-cart button[name="apply_coupon"],
body.woocommerce-cart button[name="update_cart"] {
	background-color: transparent !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--btn-radius) !important;
	min-height: 44px !important;
	padding: 0 1.5rem !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: uppercase !important;
	font-size: 12px !important;
}
body.woocommerce-cart button[name="apply_coupon"]:hover,
body.woocommerce-cart button[name="update_cart"]:hover { border-color: var(--color-primary) !important; color: var(--color-primary) !important; }
body.woocommerce-cart button[name="apply_coupon"]:disabled,
body.woocommerce-cart button[name="update_cart"]:disabled { opacity: 0.4 !important; cursor: not-allowed !important; }

body.woocommerce-cart .cart-collaterals { margin-top: 2rem; }
@media (min-width: 1024px) { body.woocommerce-cart .cart-collaterals { margin-top: 0; position: sticky; top: calc(var(--header-height, 112px) + 2rem); } }
body.woocommerce-cart .cart_totals {
	background-color: var(--color-navy-card);
	border-radius: calc(var(--radius) * 2);
	padding: 2rem;
}
body.woocommerce-cart .cart_totals h2 { font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 1.5rem; }
body.woocommerce-cart .cart_totals table { width: 100%; }
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 0.75rem 0; color: var(--color-foreground);
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	text-align: left; font-size: 15px;
}
body.woocommerce-cart .cart_totals table td { text-align: right; }
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
	font-family: var(--font-display); font-size: 1.25rem; border-bottom: none; padding-top: 1rem;
}
body.woocommerce-cart .wc-proceed-to-checkout { margin-top: 1.5rem; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex; align-items: center; justify-content: center; width: 100%;
	background-color: var(--color-primary) !important;
	color: var(--color-cta-text) !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !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: uppercase !important;
	transition: opacity 0.2s ease;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { opacity: 0.85; }
body.woocommerce-cart .woocommerce-shipping-calculator .input-text,
body.woocommerce-cart .woocommerce-shipping-calculator select {
	background-color: var(--color-page-bg) !important;
	border: 1px solid var(--color-border) !important;
	color: var(--color-foreground) !important;
	border-radius: 2px !important;
	min-height: 44px !important;
	padding: 0 1rem !important;
	width: 100%;
}
body.woocommerce-cart .woocommerce-shipping-calculator button {
	background-color: transparent !important; color: var(--color-foreground) !important;
	border: 1px solid var(--color-border) !important; border-radius: var(--btn-radius) !important;
	min-height: 40px !important; padding: 0 1.25rem !important; margin-top: 0.75rem;
}
body.woocommerce-cart .cart-empty { color: var(--color-foreground); font-size: 1.1rem; }
body.woocommerce-cart .return-to-shop .button {
	display: inline-flex; margin-top: 1.5rem;
	background-color: var(--color-primary) !important; color: var(--color-cta-text) !important;
	border-radius: var(--btn-radius) !important; min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important; text-transform: uppercase !important;
	letter-spacing: var(--btn-letter-spacing) !important; font-size: var(--btn-font-size) !important;
}
@media (max-width: 767px) {
	body.woocommerce-cart table.cart thead { display: none; }
	body.woocommerce-cart table.cart tr { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
}

/* ==========================================================================
   20. 404
   ========================================================================== */
.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.theme-404__title { font-size: 4rem; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--color-gold); text-decoration: underline; }

/* ==========================================================================
   21. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ken-burns { 0% { transform: scale(1) translate3d(0, 0, 0); } 100% { transform: scale(1.08) translate3d(-1.2%, -1%, 0); } }
.ken-burns { animation: ken-burns 22s ease-out forwards; will-change: transform; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@keyframes enso-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Reveal-on-scroll (data-reveal / data-reveal-child), mirrors MotionEffects.tsx */
[data-reveal-child] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed [data-reveal-child] { opacity: 1; transform: translateY(0); }
.reveal-item {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.theme-hero__title.reveal-blur {
	opacity: 0; transform: translateY(12px);
	transition: opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1), transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-revealed .theme-hero__title.reveal-blur { opacity: 1; transform: translateY(0); }

/* Customizer preview fallback — reveal content MUST always be visible in the editor (Section 2.1.5) */
body.is-customizer .reveal-item,
body.is-customizer [data-reveal-child],
body.is-customizer .theme-hero__title.reveal-blur {
	opacity: 1 !important;
	transform: none !important;
}

[data-tilt] { transform-style: preserve-3d; transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, [data-reveal-child], .theme-hero__title.reveal-blur {
		opacity: 1 !important; transform: none !important; transition: none !important;
	}
	.ken-burns, .theme-marquee__track, .theme-hero__badge-ring { animation: none !important; }
	[data-tilt] { transform: none !important; }
}
