/* =========================================================================
   Incubus Candle Co. — Theme Stylesheet
   Colors are emitted as CSS variables via wp_add_inline_style (Section 6/22.9)
   ========================================================================= */

:root {
	--font-display: 'Cinzel', 'Cormorant Garamond', serif;
	--font-body: 'Jost', 'Inter', 'Helvetica Neue', sans-serif;
	--radius: 2px;
	--admin-bar-height: 0px;
	--header-height: 88px;
	--header-height-mobile: 80px;
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
	--accent: var(--primary, #b8944a);
	--accent-foreground: var(--button-text, #0a0a0a);
	--gradient-gold: linear-gradient(135deg, #8a672a 0%, var(--accent-bright, #edcb6e) 45%, #8a672a 100%);
	--gradient-nightfall: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,1) 100%);
	--btn-radius: var(--radius);
	--btn-height: 3rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.72rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.3em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.75rem;
	--card-radius: 4px;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;
	--shadow-elevated: 0 18px 50px -16px rgba(0, 0, 0, 0.85);
}

/* -------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body { overflow-x: clip; }
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
body {
	margin: 0;
	background: var(--background, #0a0a0a);
	color: var(--foreground, #f3f1ec);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.01em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
[data-contact-open], [data-faq-toggle], [data-cart-open], [data-search-open], [data-search-cat],
[data-mobile-menu-open], [data-mobile-menu-close], [data-search-close], [data-contact-close],
[data-cart-close], .category-tile, .theme-product-card, .theme-attribute-pill,
.theme-shop-cat-link, .theme-cat-filter-link, label[for] { cursor: pointer; }
input, textarea, select { font-family: inherit; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-thumb-img):not(.engraving-section__gallery-img):not(.search-overlay__product-image):not(.theme-product-main-img):not(.theme-related-card__img):not(.theme-product-magnifier__lens-img):not(.category-tile__img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .product-thumb-img, .category-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } }

.label-eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--primary);
	display: inline-block;
}
.text-gold, .text-primary-accent {
	background: var(--gradient-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hairline-gold {
	height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 70%, transparent), transparent);
}
.hero-glow {
	text-shadow: 0 0 18px color-mix(in srgb, var(--primary) 50%, transparent),
		0 0 40px color-mix(in srgb, var(--primary) 28%, transparent),
		0 2px 10px rgba(0,0,0,0.9);
}

/* -------------------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes emberPulse { 0%, 100% { opacity: 0.45; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.08); } }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes candleFlicker {
	0%, 100% { opacity: 1; filter: drop-shadow(0 0 26px rgba(213,165,52,0.45)); }
	18% { opacity: 0.94; filter: drop-shadow(0 0 18px rgba(213,165,52,0.3)); }
	42% { opacity: 1; filter: drop-shadow(0 0 34px rgba(237,203,110,0.55)); }
	63% { opacity: 0.9; filter: drop-shadow(0 0 16px rgba(162,102,214,0.35)); }
	81% { opacity: 0.99; filter: drop-shadow(0 0 30px rgba(213,165,52,0.5)); }
}

.animate-marquee { animation: marqueeScroll 35s linear infinite; }
.marquee-track:hover .animate-marquee, .marquee-track:focus-within .animate-marquee { animation-play-state: paused; }
.ember-pulse { animation: emberPulse 7s ease-in-out infinite; }
.candle-flicker { animation: candleFlicker 6.5s ease-in-out infinite; }

/* Per-element reveal inventory (Section 2.1.4) */
.reveal-item { opacity: 0; }
.reveal-item[data-reveal="fade"] { transition: opacity 0.6s var(--transition-smooth); }
.reveal-item[data-reveal="fade-slide"] { transform: translateY(24px); transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth); }
.reveal-item[data-reveal="slide-right"] { transform: translateX(-40px); transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth); }
.reveal-item[data-reveal="slide-left"] { transform: translateX(40px); transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: none; }

body.is-customizer { --admin-bar-height: 0px; }
body.is-customizer .site-header { top: 0; }
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.animate-marquee, .candle-flicker, .ember-pulse { animation: none; }
	.reveal-item { transition: none; opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */
.theme-btn-gradient, .theme-btn-solid, .theme-btn-primary,
.theme-btn-outline, .theme-btn-outline-gold, .theme-btn-outline-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border-radius: 0;
	transition: opacity 0.2s ease, background-color 0.3s ease, color 0.3s ease;
	cursor: pointer;
	border: 1px solid transparent;
}
.theme-btn-gradient, .theme-btn-solid, .theme-btn-primary {
	background: var(--gradient-gold);
	color: var(--button-text);
}
.theme-btn-gradient:hover, .theme-btn-solid:hover, .theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline, .theme-btn-outline-gold {
	background: transparent;
	border-color: color-mix(in srgb, var(--primary) 60%, transparent);
	color: var(--primary);
}
.theme-btn-outline-gold:hover, .theme-btn-outline:hover { background: var(--primary); color: var(--button-text); }
.theme-btn-outline-primary { background: transparent; border-color: var(--primary); color: var(--primary); }
.theme-btn-outline-primary:hover { background: var(--primary); color: var(--button-text); }

/* -------------------------------------------------------------------------
   SCROLL PROGRESS (mirrors ScrollProgress.tsx)
   ------------------------------------------------------------------------- */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 70;
	height: 2px;
	pointer-events: none;
	background: var(--accent-bright, #edcb6e);
	transform-origin: 0% 50%;
	transform: scaleX(0);
	will-change: transform;
	transition: transform 0.15s var(--transition-smooth);
}

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: var(--admin-bar-height);
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid transparent;
	background: color-mix(in srgb, var(--background) 80%, transparent);
	backdrop-filter: blur(6px);
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--background) 95%, transparent);
	border-color: color-mix(in srgb, var(--primary) 30%, transparent);
	box-shadow: 0 6px 24px -18px rgba(0,0,0,0.4);
}
body.theme-no-hero {
	padding-top: var(--header-height-mobile);
}
@media (min-width: 1024px) {
	body.theme-no-hero {
		padding-top: var(--header-height);
	}
}
.site-header__row { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-height-mobile); }
@media (min-width: 1024px) { .site-header__row { height: var(--header-height); } }
.site-header__left { display: flex; align-items: center; gap: 1.5rem; }
.site-header__menu-toggle { display: inline-flex; padding: 0.5rem; margin-left: -0.5rem; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.site-header__nav { display: none; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list .nav-link,
.theme-nav-list a {
	font-size: 0.8rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 500;
	transition: color 0.3s ease;
}
.theme-nav-list a:hover { color: var(--primary); }
.site-header__logo { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
.site-logo-img:not(.site-logo-img--hero):not(.site-logo-img--footer) { height: var(--logo-height, 56px) !important; width: auto !important; display: block; }
.site-logo-img--footer { height: 6rem !important; width: auto !important; display: block; object-fit: contain; user-select: none; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--logo-height, 56px); display: block; }
.site-header__right { display: flex; align-items: center; gap: 0.25rem; }
.site-header__icon-btn { position: relative; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; transition: color 0.3s ease; }
.site-header__icon-btn:hover { color: var(--primary); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 1.15rem; height: 1.15rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.68rem; font-weight: 600;
	background: var(--primary); color: var(--button-text);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

/* Mobile menu */
.mobile-menu {
	position: fixed; inset: 0; z-index: 90;
	background: var(--background);
	display: flex; flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.mobile-menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu__header { display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; height: 4.8rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.mobile-menu__nav .theme-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-menu__nav .theme-nav-list li,
.mobile-menu__nav ul li { border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent); }
.mobile-menu__nav a { display: block; padding: 1rem 0.75rem; font-size: 1rem; letter-spacing: 0.28em; }
.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 1rem 0.75rem; border-top: 1px solid var(--border); flex-shrink: 0; }
.mobile-menu__actions button { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem; font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase; }
.mobile-menu__actions .theme-btn-outline { border: 1px solid var(--border); }
.mobile-menu__actions .theme-btn-solid { background: var(--foreground); color: var(--background); }

.theme-overlay {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(0,0,0,0.5);
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.mobile-menu-open .theme-overlay { opacity: 1; pointer-events: auto; }

/* Search overlay — mirrors SearchDialog.tsx */
.search-overlay {
	position: fixed; inset: 0; z-index: 95;
	opacity: 0; pointer-events: none; visibility: hidden;
	transition: opacity 0.25s ease;
}
body.search-open .search-overlay {
	opacity: 1; pointer-events: auto; visibility: visible;
	animation: searchOverlayFadeIn 0.25s var(--transition-smooth);
}
@keyframes searchOverlayFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.search-overlay__backdrop {
	position: absolute; inset: 0;
	background: color-mix(in srgb, var(--foreground) 40%, transparent);
	backdrop-filter: blur(4px);
	border: none; padding: 0; cursor: pointer;
}
.search-overlay__panel {
	position: relative;
	background: var(--background);
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow-elevated);
}
.search-overlay__close {
	position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2;
	padding: 0.5rem; opacity: 0.7; transition: opacity 0.3s ease;
}
@media (min-width: 1024px) {
	.search-overlay__close { top: 1.75rem; right: 2rem; }
}
.search-overlay__close:hover { opacity: 1; }
.search-overlay__close svg { width: 1.25rem; height: 1.25rem; display: block; }
.search-overlay__body { padding-block: 2.5rem; }
@media (min-width: 1024px) { .search-overlay__body { padding-block: 3.5rem; } }
.search-overlay__grid {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 1024px) {
	.search-overlay__grid { grid-template-columns: 260px 1fr; gap: 4rem; }
}
.search-overlay__sidebar-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--foreground);
	margin-bottom: 1.5rem;
}
.search-overlay__categories {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 0.875rem;
}
.search-overlay__category {
	background: none; border: none; padding: 0;
	text-align: left;
	font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
	color: color-mix(in srgb, var(--foreground) 85%, transparent);
	transition: color 0.3s ease;
}
.search-overlay__category:hover { color: var(--primary); }
.search-overlay__color {
	margin-top: 2.5rem; padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.search-overlay__color-label {
	font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
	color: color-mix(in srgb, var(--foreground) 50%, transparent);
	margin-bottom: 0.75rem;
}
.search-overlay__color-btn {
	display: inline-flex; align-items: center; gap: 0.75rem;
	background: none; border: none; padding: 0; text-align: left;
}
.search-overlay__color-swatch {
	width: 2.25rem; height: 2.25rem; border-radius: 50%; flex-shrink: 0;
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	background: conic-gradient(from 0deg, #c44569, #c9a24c, #9fae8c, #2a3a6b, #6b2c4a, #c44569);
}
.search-overlay__color-title {
	display: block;
	font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--foreground); transition: color 0.3s ease;
}
.search-overlay__color-btn:hover .search-overlay__color-title { color: var(--primary); }
.search-overlay__color-note {
	display: block; margin-top: 0.125rem;
	font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 55%, transparent);
}
.search-overlay__main { padding-right: 0; }
@media (min-width: 1024px) { .search-overlay__main { padding-right: 4rem; } }
.search-overlay__field {
	display: flex; align-items: center; gap: 0.75rem;
	border-bottom: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent);
	padding-bottom: 0.75rem;
}
.search-overlay__field-icon { opacity: 0.6; line-height: 0; }
.search-overlay__field-icon svg { width: 1rem; height: 1rem; display: block; }
.search-overlay__input {
	flex: 1; min-width: 0;
	background: transparent; border: none; outline: none;
	font-family: var(--font-display); font-size: 1.5rem;
	color: var(--foreground);
}
.search-overlay__input::placeholder { color: color-mix(in srgb, var(--foreground) 40%, transparent); }
.search-overlay__results { margin-top: 2.5rem; }
.search-overlay__results-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--foreground);
	margin-bottom: 1.5rem;
}
.search-overlay__empty {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--foreground) 60%, transparent);
	margin-bottom: 1rem;
}
.search-overlay__empty span { font-style: italic; font-family: var(--font-display); }
.search-overlay__products {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .search-overlay__products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .search-overlay__products { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.search-overlay__product { display: block; text-decoration: none; color: inherit; }
.search-overlay__product-img {
	aspect-ratio: 1 / 1; overflow: hidden; background: var(--secondary);
}
.search-overlay__product-img img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.7s ease;
}
.search-overlay__product:hover .search-overlay__product-img img { transform: scale(1.05); }
.search-overlay__product-title {
	margin: 0.75rem 0 0;
	font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
	line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.search-overlay__product-price {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--foreground) 70%, transparent);
}

/* -------------------------------------------------------------------------
   HERO — mirrors Index.tsx: header in document flow, then h-screen center stack
   ------------------------------------------------------------------------- */
.hero-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	margin-top: var(--header-height-mobile);
	overflow: hidden;
	background: var(--background);
}
@media (min-width: 1024px) {
	.hero-section { margin-top: var(--header-height); }
}
.hero-section__media { position: absolute; inset: 0; }
.hero-section__video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-section__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--background) 55%, transparent); }
.hero-section__nightfall { position: absolute; inset: 0; background: var(--gradient-nightfall); }
.hero-section__stage {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-section__content {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-block: 4rem;
}
.hero-section__inner { max-width: 48rem; width: 100%; }
.hero-section__inner .site-logo-img--hero {
	display: block;
	width: auto !important;
	height: 8rem !important;
	margin: 0 auto 1.5rem;
	object-fit: contain;
}
@media (min-width: 640px) {
	.hero-section__inner .site-logo-img--hero { height: 10rem !important; }
}
@media (min-width: 768px) {
	.hero-section__inner .site-logo-img--hero { height: 13rem !important; }
}
@media (min-width: 1024px) {
	.hero-section__inner .site-logo-img--hero { height: 15rem !important; }
}
.hero-section__heading {
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-section__heading { font-size: 1.875rem; } }
@media (min-width: 768px) { .hero-section__heading { font-size: 2.25rem; } }
.hero-section__subtext {
	font-size: 0.875rem;
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	line-height: 1.625;
}
@media (min-width: 768px) { .hero-section__subtext { font-size: 1rem; } }
.hero-section__ctas {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
}
.hero-section__ctas a {
	width: 100%;
}
@media (min-width: 640px) {
	.hero-section__ctas {
		flex-direction: row;
		align-items: center;
		width: auto;
	}
	.hero-section__ctas a {
		width: auto;
	}
}

/* -------------------------------------------------------------------------
   SECTION HEADINGS (per-section scale — Section 2.2.5)
   ------------------------------------------------------------------------- */
.section-heading { text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; margin: 1rem 0 1.25rem; }
.christmas-section__heading, .signature-banner__heading, .refill-section__heading,
.engraving-section__heading, .faq-section__heading, .contact-section__heading {
	font-size: 1.9rem;
}
@media (min-width: 768px) { .christmas-section__heading, .signature-banner__heading, .refill-section__heading, .engraving-section__heading, .faq-section__heading, .contact-section__heading { font-size: 3rem; } }
.brand-section__heading { font-size: 1.9rem; font-style: italic; font-weight: 400; }
@media (min-width: 768px) { .brand-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .brand-section__heading { font-size: 3.75rem; } }

/* -------------------------------------------------------------------------
   CHRISTMAS SECTION
   ------------------------------------------------------------------------- */
.christmas-section { position: relative; background: var(--secondary); padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
@media (min-width: 1024px) { .christmas-section { padding: 6rem 0; } }
.christmas-section__glow { position: absolute; inset-inline: 0; top: 0; height: 16rem; background: radial-gradient(60% 100% at 50% 0%, color-mix(in srgb, var(--highlight) 14%, transparent), transparent 70%); pointer-events: none; }
.christmas-section__inner { position: relative; }
.christmas-section__intro { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.christmas-section__text { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-top: 1.25rem; }
.christmas-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 64rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .christmas-section__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.christmas-section__card { position: relative; background: var(--background); border: 1px solid var(--border); transition: border-color 0.3s ease; }
.christmas-section__card:hover { border-color: color-mix(in srgb, var(--primary) 60%, transparent); }
.christmas-section__card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform 0.7s ease; }
.christmas-section__card:hover .christmas-section__card-img { transform: scale(1.02); }
.christmas-section__card-body { padding: 1.5rem; text-align: center; border-top: 1px solid var(--border); }
.christmas-section__card-body h3 { font-size: 1.25rem; letter-spacing: 0.12em; text-transform: uppercase; }
.christmas-section__card-body p { margin-top: 0.75rem; font-size: 0.9rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); line-height: 1.6; }
.christmas-section__footer { text-align: center; }
.christmas-section__footer > * + * { margin-top: 1.25rem; }
.christmas-section__price { font-size: 0.9rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.christmas-section__shipping { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
   MARQUEE
   ------------------------------------------------------------------------- */
.marquee-section { background: var(--gradient-gold); padding: 1rem 0; overflow: hidden; }
@media (min-width: 1024px) { .marquee-section { padding: 1.25rem 0; } }
.marquee-section__track { display: flex; width: max-content; }
.marquee-section__group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.marquee-section__item { display: inline-flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.marquee-section__item span { font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--button-text); white-space: nowrap; }
.marquee-section__item svg { color: color-mix(in srgb, var(--button-text) 70%, transparent); width: 14px; height: 14px; }

/* -------------------------------------------------------------------------
   CATEGORY TILES
   ------------------------------------------------------------------------- */
.category-tiles-section { padding-bottom: 1rem; }
.category-tiles-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
@media (min-width: 1024px) { .category-tiles-section__grid { grid-template-columns: repeat(4, 1fr); } }
.category-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--secondary); display: block; }
.category-tile__img { opacity: 0.7; transition: transform 0.7s ease, opacity 0.7s ease; }
.category-tile:hover .category-tile__img { transform: scale(1.05); opacity: 0.9; }
.category-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), color-mix(in srgb, var(--background) 40%, transparent), transparent); }
.category-tile__label { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem 1rem; text-align: center; }
.category-tile__name { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.24em; text-transform: uppercase; transition: color 0.3s ease; }
.category-tile:hover .category-tile__name { color: var(--primary); }
.category-tile__blurb { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 0.4rem; }

/* -------------------------------------------------------------------------
   SHOP SECTION
   ------------------------------------------------------------------------- */
.shop-section { padding: 3.5rem 0; }
@media (min-width: 1024px) { .shop-section { padding: 5rem 0; } }
.shop-section__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.shop-section__heading { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase; }
.shop-section__count { font-size: 0.75rem; color: var(--muted-foreground); }
.shop-section__controls { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; align-items: end; }
@media (min-width: 1024px) { .shop-section__controls { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.shop-section__search { position: relative; max-width: 28rem; width: 100%; }
.shop-section__search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.shop-section__search input {
	width: 100%; height: 2.75rem; padding: 0 1rem 0 2.5rem;
	background: var(--background); border: 1px solid var(--border); color: var(--foreground);
	font-size: 0.9rem; outline: none;
}
.shop-section__search input:focus { border-color: var(--foreground); }
.shop-section__price-filter { width: 100%; }
@media (min-width: 1024px) { .shop-section__price-filter { width: 18rem; } }
.shop-section__price-filter-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-foreground); }
.shop-section__price-filter-top [data-price-display] { font-size: 0.75rem; color: var(--foreground); text-transform: none; letter-spacing: normal; }

.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 2px; }
.range-track-bg { left: 0; right: 0; background: var(--border); }
.range-track-fill { background: var(--primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 2px solid var(--background); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 2px solid var(--background); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-section__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.shop-chip {
	padding: 0 1rem; height: 2.25rem; display: inline-flex; align-items: center;
	font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	border: 1px solid var(--border); background: var(--background); color: var(--foreground);
	transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.shop-chip:hover { border-color: var(--primary); color: var(--primary); }
.shop-chip.is-active { background: var(--primary); color: var(--button-text); border-color: var(--primary); }

.shop-section__empty { padding: 4rem 0; text-align: center; color: var(--muted-foreground); font-size: 0.9rem; }

/* -------------------------------------------------------------------------
   PRODUCT CARDS (Section 31.3, 31.9)
   ------------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.25rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1/1; overflow: hidden; background: color-mix(in srgb, var(--muted) 40%, transparent); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
	background: color-mix(in srgb, var(--background) 90%, transparent); color: var(--foreground);
	padding: 0.4rem 0.75rem;
}
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding-top: 1rem; text-align: center; }
.theme-product-card__title { font-size: 0.8rem; font-family: var(--font-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s ease; min-width: 0; }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__cat { font-size: 0.68rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-product-card__price { font-size: 0.75rem; margin-top: 0.25rem; }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4rem; }

/* -------------------------------------------------------------------------
   BRAND / ABOUT
   ------------------------------------------------------------------------- */
.brand-section { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 1024px) { .brand-section { padding: 7rem 0; } }
.brand-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .brand-section__grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.brand-section__copy { position: relative; }
.brand-section__corner {
	position: absolute;
	top: -1.5rem;
	left: -1.5rem;
	width: 5rem;
	height: 5rem;
	border-top: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
	border-left: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
	pointer-events: none;
}
.brand-section__text { font-size: 1.05rem; line-height: 1.75; color: color-mix(in srgb, var(--foreground) 70%, transparent); font-weight: 300; }
.brand-section__text > * + * { margin-top: 1.5rem; }
.brand-section__quote { padding-left: 1.5rem; border-left: 2px solid var(--highlight); font-style: italic; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.brand-section__grid .theme-btn-outline-primary { margin-top: 2.5rem; }
.brand-section__visual { position: relative; }
.brand-section__founder-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1); transition: filter 1s ease; border: 1px solid var(--border); }
.brand-section__visual:hover .brand-section__founder-img { filter: grayscale(0); }
.brand-section__founder-quote {
	display: none;
}
@media (min-width: 640px) {
	.brand-section__founder-quote {
		display: block; position: absolute; bottom: -1.5rem; left: -1.5rem;
		background: var(--card); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
		padding: 1.5rem; max-width: 16rem;
	}
}
.brand-section__founder-quote p { font-style: italic; font-size: 0.85rem; line-height: 1.5; margin-bottom: 1rem; }
.brand-section__founder-quote span { font-family: var(--font-display); color: var(--primary); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; }

/* -------------------------------------------------------------------------
   SIGNATURE BANNER
   ------------------------------------------------------------------------- */
.signature-banner { position: relative; width: 100%; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; }
@media (min-width: 1024px) { .signature-banner { min-height: 70vh; align-items: center; } }
.signature-banner__media { position: absolute; inset: 0; }
.signature-banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signature-banner__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), color-mix(in srgb, var(--background) 70%, transparent), color-mix(in srgb, var(--background) 30%, transparent)); }
@media (min-width: 1024px) { .signature-banner__scrim { background: linear-gradient(to right, var(--background), color-mix(in srgb, var(--background) 70%, transparent), transparent); } }
.signature-banner__content { position: relative; padding-block: 3.5rem; }
@media (min-width: 1024px) { .signature-banner__content { padding-block: 5rem; } }
.signature-banner__box { max-width: 34rem; }
.signature-banner__text { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.signature-banner__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); margin-bottom: 2rem; }

/* -------------------------------------------------------------------------
   REFILL SECTION
   ------------------------------------------------------------------------- */
.refill-section { position: relative; overflow: hidden; background: var(--secondary); padding: 5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) { .refill-section { padding: 7rem 0; } }
.refill-section__ember { position: absolute; width: 28rem; height: 28rem; border-radius: 50%; pointer-events: none; }
.refill-section__ember--1 { top: -6rem; left: -6rem; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%); }
.refill-section__ember--2 { bottom: -8rem; right: -4rem; width: 26rem; height: 26rem; background: radial-gradient(circle, color-mix(in srgb, var(--highlight) 16%, transparent), transparent 70%); }
.refill-section__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .refill-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.refill-section__visual { position: relative; }
.refill-section__img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.refill-section__img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.refill-section__price-badge {
	position: absolute; bottom: -1.25rem; right: -0.75rem;
	background: var(--background); border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
	padding: 1rem 1.5rem;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent), 0 18px 48px -22px color-mix(in srgb, var(--primary) 55%, transparent);
}
.refill-section__price { font-family: var(--font-display); font-size: 1.75rem; color: var(--primary); line-height: 1; }
.refill-section__price-note { font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 0.5rem; }
.refill-section__copy .section-heading { margin-top: 1rem; margin-bottom: 1.5rem; }
.refill-section__text { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.625; margin: 0 0 2.5rem; max-width: 32rem; }
.refill-section__steps { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.refill-section__step { display: flex; gap: 1.25rem; }
.refill-section__step-icon { flex-shrink: 0; width: 2.75rem; height: 2.75rem; border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.refill-section__step h3 { font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; }
.refill-section__step-num { color: var(--primary); margin-right: 0.5rem; }
.refill-section__step p { font-size: 0.85rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-top: 0.5rem; max-width: 28rem; }

/* -------------------------------------------------------------------------
   ENGRAVING SECTION
   ------------------------------------------------------------------------- */
.engraving-section { padding: 5rem 0; scroll-margin-top: 8rem; }
@media (min-width: 1024px) { .engraving-section { padding: 7rem 0; } }
.engraving-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .engraving-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.engraving-section__copy .section-heading { margin-top: 1rem; margin-bottom: 1.5rem; }
.engraving-section__copy p { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.625; max-width: 32rem; }
.engraving-section__copy p:first-of-type { margin-bottom: 1.25rem; }
.engraving-section__copy p:nth-of-type(2) { margin-bottom: 2.5rem; }
.engraving-section__copy .theme-btn-outline-gold { margin-top: 0; }
/* Gallery: grid-cols-2 gap-4 — tall img aspect-[3/4] sets row height, right col splits 50/50 */
.engraving-section__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	align-items: stretch;
}
.engraving-section__gallery > * {
	min-height: 0;
}
.engraving-section__img-tall {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border: 1px solid var(--border);
}
.engraving-section__gallery-col {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	min-height: 0;
}
.engraving-section__gallery-col .engraving-section__gallery-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	border: 1px solid var(--border);
}

/* -------------------------------------------------------------------------
   CATHEDRAL BANNER
   ------------------------------------------------------------------------- */
.cathedral-banner { position: relative; width: 100%; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cathedral-banner__img { width: 100%; height: 72vh; object-fit: cover; object-position: center; display: block; }
@media (min-width: 640px) { .cathedral-banner__img { height: 84vh; } }
@media (min-width: 1024px) { .cathedral-banner__img { height: 96vh; } }
.cathedral-banner__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), color-mix(in srgb, var(--background) 25%, transparent), color-mix(in srgb, var(--background) 50%, transparent)); pointer-events: none; }
.cathedral-banner__text-wrap { position: absolute; inset-inline: 0; bottom: 0; padding-bottom: 2rem; text-align: center; }
@media (min-width: 1024px) { .cathedral-banner__text-wrap { padding-bottom: 3rem; } }
.cathedral-banner__text { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.28em; }
@media (min-width: 640px) { .cathedral-banner__text { font-size: 1.15rem; } }
@media (min-width: 1024px) { .cathedral-banner__text { font-size: 1.5rem; } }

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.faq-section { padding: 5rem 0; border-top: 1px solid var(--border); }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.faq-section__intro p { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-top: 1.5rem; max-width: 28rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.25rem 0; }
.faq-item__question span:first-child { font-size: 0.9rem; transition: color 0.3s ease; }
.faq-item__question:hover span:first-child { color: var(--primary); }
.faq-item__icon { flex-shrink: 0; color: var(--primary); display: flex; }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.is-open .faq-item__answer { max-height: 400px; }
.faq-item__answer p { font-size: 0.85rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; padding-bottom: 1.5rem; padding-right: 1.5rem; }

/* -------------------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------------------- */
.contact-section { position: relative; background: var(--secondary); padding: 5rem 0; border-top: 1px solid var(--border); overflow: hidden; scroll-margin-top: 8rem; }
@media (min-width: 1024px) { .contact-section { padding: 7rem 0; } }
.contact-section__bg { position: absolute; inset: 0; }
.contact-section__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.contact-section__bg-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--background) 80%, transparent); }
.contact-section__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__copy .section-heading { margin-top: 1rem; margin-bottom: 1.5rem; }
.contact-section__text { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.625; margin: 0 0 2rem; max-width: 28rem; }
.contact-section__details { display: flex; flex-direction: column; gap: 1rem; }
.contact-section__detail-link {
	display: flex; align-items: center; gap: 0.75rem;
	font-size: 0.875rem; line-height: 1.25; color: var(--foreground);
	transition: color 0.3s ease;
}
.contact-section__detail-link--email { word-break: break-all; }
.contact-section__detail-link:hover { color: var(--primary); }
.contact-section__detail-address {
	display: flex; align-items: flex-start; gap: 0.75rem;
	margin: 0;
	font-size: 0.875rem; line-height: 1.5;
	color: color-mix(in srgb, var(--foreground) 80%, transparent);
}
.contact-section__details svg { flex-shrink: 0; width: 1rem; height: 1rem; color: var(--primary); }
.contact-section__detail-address svg { margin-top: 0.125rem; }
.contact-section__card { position: relative; background: color-mix(in srgb, var(--background) 70%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .contact-section__card { padding: 3rem; } }
.contact-section__card h3 { font-size: 1.5rem; margin: 1rem 0 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-section__card p { font-size: 0.9rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-bottom: 2rem; }
.contact-section__card button { align-self: flex-start; }

/* -------------------------------------------------------------------------
   CONTACT MODAL
   ------------------------------------------------------------------------- */
.contact-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease; }
.contact-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.contact-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.contact-modal__panel {
	position: relative; z-index: 1; width: 92%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--card); border: 1px solid var(--border); padding: 2rem;
	transform: scale(0.96); transition: transform 0.25s ease;
}
.contact-modal.is-open .contact-modal__panel { transform: scale(1); }
.contact-modal__close { position: absolute; top: 1rem; right: 1rem; }
.contact-modal__title { font-size: 1.5rem; margin: 0.5rem 0; }
.contact-modal__desc { font-size: 0.95rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); margin-bottom: 1rem; }
.contact-modal__meta { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: var(--muted-foreground); border-top: 1px solid var(--border); padding-top: 1rem; margin-bottom: 1rem; }
.contact-modal__meta span { display: flex; align-items: center; gap: 0.5rem; }
.contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .contact-modal__row { grid-template-columns: 1fr 1fr; } }
.contact-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.contact-modal__form input, .contact-modal__form textarea {
	width: 100%; background: var(--background); border: 1px solid var(--border); color: var(--foreground);
	padding: 0.6rem 0.75rem; font-size: 0.9rem; outline: none; transition: border-color 0.3s ease;
}
.contact-modal__form input:focus, .contact-modal__form textarea:focus { border-color: var(--primary); }
.contact-modal__submit-row { display: flex; justify-content: flex-end; }
.contact-modal__success { text-align: center; padding: 2rem 0; }
.contact-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--primary); color: var(--button-text); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* -------------------------------------------------------------------------
   SINGLE PRODUCT PAGE — mirrors ProductDetail.tsx
   ------------------------------------------------------------------------- */
body.theme-no-hero.theme-single-product { padding-top: 0; }
body.theme-no-hero .site-main.single-product-main {
	padding-top: calc(var(--header-height-mobile) + 2.5rem) !important;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main.single-product-main {
		padding-top: calc(var(--header-height) + 3.5rem) !important;
		padding-bottom: 6rem;
	}
}
.single-product__shell {
	max-width: 80rem;
	margin: 0 auto;
	padding-inline: 1rem;
}
@media (min-width: 1024px) { .single-product__shell { padding-inline: 2rem; } }
.single-product .theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.single-product .theme-product-layout {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.single-product .theme-product-gallery {
		position: sticky;
		top: 8rem;
		align-self: start;
	}
}
.theme-product-gallery__stage { display: flex; background: var(--background); }
.theme-product-gallery__rail {
	display: none;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	background: color-mix(in srgb, var(--background) 40%, transparent);
}
@media (min-width: 768px) { .theme-product-gallery__rail { display: flex; } }
.theme-product-gallery__main {
	flex: 1;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
@media (min-width: 768px) { .theme-product-gallery__main { min-height: 78vh; } }
@media (min-width: 1024px) { .theme-product-gallery__main { min-height: 88vh; } }
.theme-product-magnifier__stage {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}
.theme-product-magnifier__lens {
	position: absolute;
	z-index: 20;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent);
	box-shadow: var(--shadow-elevated);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease-out;
}
.theme-product-magnifier__lens.is-visible { opacity: 1; }
.theme-product-magnifier__lens-img {
	position: absolute;
	max-width: none;
	user-select: none;
}
.theme-product-main-img.is-magnifier-active { cursor: crosshair; }
.theme-product-main-img {
	position: static !important;
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 60vh;
	object-fit: contain;
	user-select: none;
}
@media (min-width: 768px) { .theme-product-main-img { max-height: 78vh; } }
@media (min-width: 1024px) { .theme-product-main-img { max-height: 88vh; } }
.theme-product-gallery__zoom-hint {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	display: none;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	background: color-mix(in srgb, var(--foreground) 70%, transparent);
	color: var(--background);
	font-size: 0.68rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
	pointer-events: none;
	transition: opacity 0.2s ease;
}
@media (pointer: fine) { .theme-product-gallery__zoom-hint { display: flex; } }
.theme-product-gallery__main.is-zooming .theme-product-gallery__zoom-hint { opacity: 0; }
.theme-product-gallery__rail-mobile {
	display: flex;
	gap: 0.5rem;
	padding: 1rem;
	overflow-x: auto;
}
@media (min-width: 768px) { .theme-product-gallery__rail-mobile { display: none; } }
.theme-product-thumb {
	width: 3.5rem;
	height: 3.5rem;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: var(--radius);
	opacity: 0.6;
	flex-shrink: 0;
	padding: 0;
	background: none;
}
@media (min-width: 1024px) {
	.theme-product-gallery__rail .theme-product-thumb { width: 4rem; height: 4rem; }
}
.theme-product-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-product-thumb.is-active,
.theme-product-thumb:hover { border-color: var(--accent); opacity: 1; }
.theme-product-info {
	padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) { .theme-product-info { padding-inline: 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 3rem; } }
.single-product__breadcrumb {
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	margin-bottom: 1.5rem;
}
.single-product__breadcrumb a:hover { color: var(--foreground); }
.single-product__breadcrumb span { margin: 0 0.5rem; }
.theme-product-info__title {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.9375rem;
	letter-spacing: 0.22em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--foreground);
	margin: 0;
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 1rem; } }
.theme-product-info__sku {
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	margin: 0.75rem 0 0;
}
.theme-product-info__divider { height: 1px; background: var(--border); margin: 1.75rem 0; }
.theme-product-info__price {
	font-family: var(--font-body);
	font-size: 1.125rem;
	color: var(--foreground);
	margin: 0;
}
.theme-product-info__stock.is-out {
	color: color-mix(in srgb, var(--foreground) 60%, transparent);
	margin-top: 0.5rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.theme-product-info__note {
	margin-top: 1.75rem;
	background: color-mix(in srgb, var(--secondary) 70%, transparent);
	padding: 1rem 1.25rem;
	font-size: 0.8125rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--foreground) 85%, transparent);
	border-radius: var(--radius);
}
.theme-attribute-fieldset { margin-top: 2rem; border: none; padding: 0; }
.theme-attribute-fieldset legend {
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	margin-bottom: 0.75rem;
}
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pill {
	min-width: 3.5rem;
	padding: 0.625rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--background);
	color: var(--foreground);
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.theme-attribute-pill:hover { border-color: var(--accent); color: var(--accent); }
.theme-attribute-pill.is-selected {
	background: var(--accent);
	color: var(--accent-foreground, var(--button-text));
	border-color: var(--accent);
}
.single-product .variations { width: 100%; margin: 0; border: none; }
.single-product .variations tbody tr { display: block; margin-bottom: 1.75rem; }
.single-product .variations tbody td { display: block; width: 100%; padding: 0; border: none; }
.single-product .variations tbody td.label label {
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	margin-bottom: 0.75rem;
	display: block;
}
.theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-variation-pill {
	padding: 0.625rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--background);
	color: var(--foreground);
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.theme-variation-pill:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.theme-variation-pill.is-selected {
	background: var(--accent);
	color: var(--accent-foreground, var(--button-text));
	border-color: var(--accent);
}
.theme-variation-pill:disabled { opacity: 0.4; cursor: not-allowed; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability { display: none !important; }
.single-product .theme-add-to-cart-area,
.single-product .woocommerce-variation-add-to-cart { margin-top: 2rem; }
.single-product .single_add_to_cart_button {
	width: 100%;
	min-height: 3.5rem;
}
.theme-product-info__details { margin-top: 3rem; }
.theme-product-info__details h2 {
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}
.theme-product-info__description {
	font-family: var(--font-display);
	font-size: 1.1875rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--foreground) 90%, transparent);
	white-space: pre-line;
}
.theme-product-info__description p { margin-bottom: 1rem; }
.theme-product-info__details-list {
	margin: 1.5rem 0 0;
	padding-left: 1.25rem;
	list-style: disc;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--foreground) 80%, transparent);
}
.theme-product-info__details-list ::marker { color: var(--accent); }
.single-product .posted_in,
.single-product .product_meta,
.single-product .woocommerce-tabs,
.single-product .woocommerce-product-gallery { display: none !important; }
/* Related products — simple ProductCard links */
.related-products-section {
	padding: 6rem 0;
	border-top: 1px solid var(--border);
	margin-top: 3rem;
}
.related-products-section__heading {
	font-size: 1.875rem;
	line-height: 1.2;
	margin-bottom: 3rem;
}
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.theme-related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem 2rem;
}
@media (min-width: 640px) { .theme-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-related-card { display: block; color: inherit; text-decoration: none; }
.theme-related-card__img-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: color-mix(in srgb, var(--muted) 40%, transparent);
}
.theme-related-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1;
	font-size: 0.625rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 600;
	background: color-mix(in srgb, var(--background) 90%, transparent);
	backdrop-filter: blur(4px);
	padding: 0.375rem 0.75rem;
}
.theme-related-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.5s ease;
}
.theme-related-card:hover .theme-related-card__img { opacity: 0.9; }
.theme-related-card__body { padding-top: 1rem; text-align: center; }
.theme-related-card__title {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: var(--foreground);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.3s ease;
	margin: 0;
}
.theme-related-card:hover .theme-related-card__title { color: var(--accent); }
.theme-related-card__cat {
	font-size: 0.6875rem;
	color: var(--muted-foreground);
	margin: 0.25rem 0 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.theme-related-card__price {
	font-size: 0.75rem;
	color: var(--foreground);
	margin: 0.25rem 0 0;
}

/* -------------------------------------------------------------------------
   WOOCOMMERCE: ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   ------------------------------------------------------------------------- */
.single-product .single_add_to_cart_button.button,
.single-product a.single_add_to_cart_button,
.single-product .single_add_to_cart_button {
	background-color: var(--accent) !important;
	color: var(--accent-foreground, var(--button-text)) !important;
	border: 1px solid var(--accent) !important;
}
.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(--primary) !important;
	color: var(--button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single-product .single_add_to_cart_button.button:hover:not(:disabled):not(.disabled),
.single-product a.single_add_to_cart_button:hover {
	opacity: 0.9 !important;
	background-color: var(--primary) !important;
	color: var(--primary-foreground, var(--button-text)) !important;
	border-color: var(--primary) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--primary) !important;
	color: var(--button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--primary) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.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; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: var(--secondary); border: 1px solid var(--border); color: var(--foreground);
	padding: 1rem 1.5rem; border-radius: 4px; font-size: 0.9rem; list-style: none;
}

/* -------------------------------------------------------------------------
   SIDE CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.5);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.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: 30rem;
	background: var(--background); z-index: 61;
	box-shadow: -18px 0 50px -16px rgba(0,0,0,0.85);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; gap: 1.25rem; }
.theme-cart-drawer__empty svg { width: 48px; height: 48px; color: var(--muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-drawer__item { display: flex; gap: 1.25rem; }
.theme-cart-drawer__item-img { width: 6rem; height: 8rem; flex-shrink: 0; overflow: hidden; background: var(--secondary); display: block; }
.theme-cart-drawer__item-img img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-drawer__item-title { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; display: block; margin-bottom: 0.4rem; }
.theme-cart-drawer__item-meta { list-style: none; margin: 0.25rem 0; padding: 0; font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-drawer__item-meta li + li { margin-top: 0.15rem; }
.theme-cart-drawer__item-price { font-size: 0.85rem; margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-drawer__qty { display: flex; align-items: center; border: 1px solid var(--border); }
.theme-cart-drawer__qty button { padding: 0.4rem 0.6rem; display: flex; }
.theme-cart-drawer__qty span { padding: 0 0.6rem; font-size: 0.85rem; min-width: 1.75rem; text-align: center; }
.theme-cart-drawer__remove { font-size: 0.72rem; color: var(--muted-foreground); text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-drawer__remove:hover { color: var(--foreground); }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--border); }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__checkout { display: flex; width: 100%; }

/* -------------------------------------------------------------------------
   WOOCOMMERCE CHECKOUT BLOCK (Sections C–H)
   ------------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { margin-bottom: 2rem; font-size: 2rem; }

body.woocommerce-checkout .theme-checkout-main { padding-top: 0; }
body.woocommerce-checkout .theme-checkout-shell {
	max-width: none;
	width: 100%;
	padding-block: 0.5rem 4rem;
	padding-inline: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .theme-checkout-shell { padding-inline: 2.5rem; }
}

.theme-checkout-header {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-bottom: 0;
	box-sizing: border-box;
}
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--muted-foreground);
	text-decoration: none;
	transition: color 0.3s ease;
}
.checkout-continue-link:hover { color: var(--foreground); }
.theme-checkout-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.875rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
}
.theme-checkout-intro {
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	color: var(--muted-foreground);
	font-family: var(--font-body);
}

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout),
.entry-content:has(.wp-block-woocommerce-checkout) {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wc-block-checkout {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide { margin-top: 0; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .theme-checkout-main > .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	min-width: 0;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main) > .wc-block-components-notices,
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main) > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
	body.woocommerce-checkout .wc-block-components-notice-banner,
	.entry-content .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	padding: 0;
	border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
.entry-content .wc-block-checkout .wc-block-components-order-summary-item__quantity {
	color: #000 !important;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Checkout fields — dynamic floating labels (idle dark / active white) */
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
.entry-content .wc-block-checkout .wc-block-components-text-input,
.entry-content .wc-block-checkout .wc-block-components-textarea,
.entry-content .wc-block-checkout .wc-block-components-combobox,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input {
	--checkout-field-bg: var(--card, var(--background));
	--checkout-field-fg: var(--foreground);
	--checkout-label-fg: var(--foreground);
}
body.woocommerce-checkout .wc-block-components-text-input.is-active,
body.woocommerce-checkout .wc-block-components-text-input:focus-within,
body.woocommerce-checkout .wc-block-components-textarea.is-active,
body.woocommerce-checkout .wc-block-components-textarea:focus-within,
body.woocommerce-checkout .wc-block-components-combobox.is-active,
body.woocommerce-checkout .wc-block-components-combobox:focus-within,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within,
.entry-content .wc-block-checkout .wc-block-components-text-input.is-active,
.entry-content .wc-block-checkout .wc-block-components-text-input:focus-within,
.entry-content .wc-block-checkout .wc-block-components-textarea.is-active,
.entry-content .wc-block-checkout .wc-block-components-textarea:focus-within,
.entry-content .wc-block-checkout .wc-block-components-combobox.is-active,
.entry-content .wc-block-checkout .wc-block-components-combobox:focus-within,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within {
	--checkout-field-bg: #fff;
	--checkout-field-fg: #000;
	--checkout-label-fg: #000;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-textarea label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input label,
.entry-content .wc-block-checkout .wc-block-components-text-input label,
.entry-content .wc-block-checkout .wc-block-components-textarea label,
.entry-content .wc-block-checkout .wc-block-components-combobox label,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input label {
	color: var(--checkout-label-fg) !important;
	opacity: 1;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout .wc-block-components-combobox input,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input input {
	width: 100% !important;
	max-width: none !important;
	background-color: var(--checkout-field-bg) !important;
	color: var(--checkout-field-fg) !important;
	caret-color: var(--checkout-field-fg);
	font-family: var(--font-body);
	transition: background-color 0.2s ease, color 0.2s ease;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea:focus,
.entry-content .wc-block-checkout .wc-block-components-combobox input:focus,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input input:focus {
	outline: none;
}

body.woocommerce-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea::placeholder,
body.woocommerce-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea::placeholder,
.entry-content .wc-block-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input::placeholder {
	color: var(--muted-foreground);
	opacity: 1;
}
body.woocommerce-checkout .wc-block-components-text-input.is-active input::placeholder,
body.woocommerce-checkout .wc-block-components-text-input:focus-within input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea.is-active textarea::placeholder,
body.woocommerce-checkout .wc-block-components-textarea:focus-within textarea::placeholder,
body.woocommerce-checkout .wc-block-components-combobox.is-active input::placeholder,
body.woocommerce-checkout .wc-block-components-combobox:focus-within input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input.is-active input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input:focus-within input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-textarea.is-active textarea::placeholder,
.entry-content .wc-block-checkout .wc-block-components-textarea:focus-within textarea::placeholder,
.entry-content .wc-block-checkout .wc-block-components-combobox.is-active input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-combobox:focus-within input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input::placeholder {
	color: rgb(0 0 0 / 0.45);
	opacity: 1;
}

body.woocommerce-checkout .wc-block-components-text-input.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-text-input:focus-within input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-textarea.is-active textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-textarea:focus-within textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-combobox.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-combobox:focus-within input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-text-input.is-active input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-text-input:focus-within input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-textarea.is-active textarea:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-textarea:focus-within textarea:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-combobox.is-active input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-combobox:focus-within input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input:-webkit-autofill {
	-webkit-text-fill-color: #000 !important;
	box-shadow: 0 0 0 1000px #fff inset !important;
}
body.woocommerce-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-textarea:not(.is-active):not(:focus-within) textarea:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-combobox:not(.is-active):not(:focus-within) input:-webkit-autofill,
.entry-content .wc-block-checkout .wc-block-components-address-form .wc-block-components-text-input:not(.is-active):not(:focus-within) input:-webkit-autofill {
	-webkit-text-fill-color: var(--foreground) !important;
	box-shadow: 0 0 0 1000px var(--card, var(--background)) inset !important;
}

/* WC Blocks selects — light chrome; labels always dark */
body.woocommerce-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-select__label,
.entry-content .wc-block-checkout .wc-blocks-components-select__label,
.entry-content .wc-block-checkout .wc-block-components-select__label {
	color: #000 !important;
	opacity: 1;
}
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	background: #fff;
	border: 1px solid var(--border);
	color: #000;
	border-radius: 4px;
	font-family: var(--font-body);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--primary);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wp-element-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-button.wp-element-button {
	background: var(--primary) !important;
	color: var(--button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: var(--btn-text-transform);
	letter-spacing: var(--btn-letter-spacing);
	font-size: var(--btn-font-size);
}

/* -------------------------------------------------------------------------
   THANK YOU PAGE (Section 22.8)
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
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.4rem; }
@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; }

/* -------------------------------------------------------------------------
   SITE FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--background); border-top: 1px solid var(--border); color: var(--foreground); }
.site-footer__inner { padding-block: 4rem 2rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem 2.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__tagline { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); line-height: 1.7; max-width: 18rem; }
.site-footer__col-title { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--primary); margin-bottom: 1.25rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a, .site-footer__list button { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); transition: color 0.3s ease; }
.site-footer__list a:hover { color: var(--primary); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.site-footer__contact svg { flex-shrink: 0; margin-top: 0.15rem; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__legal, .site-footer__credit { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 50%, transparent); }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__credit a:hover { color: var(--primary); }

/* -------------------------------------------------------------------------
   404 / PAGE / MISC
   ------------------------------------------------------------------------- */
.not-found-main__inner { padding-block: 8rem; text-align: center; }
.not-found-main__inner h1 { font-size: 3rem; margin-bottom: 1rem; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.page-main .entry-content { padding-bottom: 4rem; color: color-mix(in srgb, var(--foreground) 85%, transparent); line-height: 1.75; }
