/* ==========================================================================
   Rivetd Co — theme.css
   Design tokens ported from the original design (src/index.css). Colors are
   emitted as hex custom properties via wp_add_inline_style (Section 6.1);
   this file only references var(--color-*) — never hardcoded hex.
   ========================================================================== */

:root {
	--color-background: #f5f1e9;
	--color-foreground: #17222f;
	--color-primary: #132843;
	--color-primary-deep: #0d1a2a;
	--color-accent: #c7582d;
	--color-accent-soft: #d88359;
	--color-teal: #1a545a;
	--color-ivory: #fbf8f3;
	--color-sand: #ece6d9;
	--color-stone: #e0d9cb;
	--color-muted-foreground: #515e70;
	--color-button-text: #fbf8f3;

	--font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--font-hero: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-label: 'Space Grotesk', 'Inter', system-ui, sans-serif;

	--radius: 0.5rem;
	--shadow-soft: 0 2px 14px rgba(20, 34, 39, 0.07);
	--shadow-elevated: 0 26px 60px -22px rgba(13, 22, 33, 0.35);
	--shadow-accent: 0 16px 34px -14px rgba(200, 89, 45, 0.42);
	--transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);

	--gradient-navy: linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
	--gradient-accent: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);

	--btn-radius: 4px;
	--btn-height: 3.25rem;
	--btn-padding: 16px 30px;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.75rem;

	--logo-height: 44px;
	--header-height: 84px;
	--checkout-gap: 2.5rem;
	--card-radius: 1rem;
	--section-padding: 2rem;
}

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

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}

h1, h2, h3, h4, h5, h6, .font-display {
	font-weight: 700;
	font-family: var(--font-display);
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: var(--color-foreground);
	margin: 0;
}
.section-heading { font-weight: 700; }
.font-hero { font-family: var(--font-hero); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; }

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.theme-hero-bg-img):not(.theme-product-card__image):not(.theme-product-main-image__img):not(.theme-cart-drawer-item-image img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .theme-hero-bg-img, .theme-product-card__image, .theme-product-main-image__img,
.theme-product-card__image-wrapper img, .theme-cart-drawer-item-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
.theme-cart-drawer-item-image img { position: relative; inset: auto; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }

::selection { background: rgba(200, 89, 45, 0.24); color: var(--color-primary-deep); }

/* -------------------------------------------------------------------------
   Layout helpers
   ---------------------------------------------------------------------- */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.theme-section { padding: 5rem 0; overflow: hidden; position: relative; }
@media (min-width: 768px) { .theme-section { padding: 8rem 0; } }

.cs-section-dark { background-color: var(--color-primary-deep); color: var(--color-ivory); }
.cs-section-navy { background-color: var(--color-primary); color: var(--color-ivory); }
.cs-section-cream { background-color: var(--color-background); color: var(--color-foreground); }
.cs-section-cream-alt { background-color: var(--color-ivory); color: var(--color-foreground); }
.cs-section-blush { background-color: var(--color-sand); color: var(--color-foreground); }

.texture-linen { position: relative; }
.texture-linen::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.45;
	background-image:
		repeating-linear-gradient(90deg, rgba(20, 40, 60, 0.03) 0 1px, transparent 1px 4px),
		repeating-linear-gradient(0deg, rgba(20, 40, 60, 0.03) 0 1px, transparent 1px 4px);
}

.cs-label {
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 14px;
	line-height: 1.3;
	display: inline-block;
}

.rv-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.26em;
	font-size: 14px;
	color: var(--color-accent);
}
.rv-eyebrow .rv-eyebrow-num { color: var(--color-teal); }
.rv-eyebrow .rv-eyebrow-rule { width: 46px; height: 1px; background: currentColor; opacity: 0.5; }
.rv-eyebrow-light { color: color-mix(in srgb, var(--color-accent-soft) 100%, white 10%); }
.rv-eyebrow-light .rv-eyebrow-num { color: color-mix(in srgb, var(--color-teal) 40%, white 60%); }

.doce-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 7px 14px;
	border-radius: 4px;
	background: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	color: var(--color-accent);
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 14px;
}
.doce-eyebrow:hover { background: color-mix(in srgb, var(--color-accent) 8%, var(--color-ivory)); }

.rv-hairline { height: 1px; width: 100%; background: var(--color-stone); }
.rv-hairline-dark { height: 1px; width: 100%; background: rgba(251, 248, 243, 0.16); }
.rv-hairline-rule { display: flex; align-items: center; width: 100%; }
.rv-hairline-rule__lead { height: 1px; width: 4rem; flex-shrink: 0; background: var(--color-accent); }
.rv-hairline-rule__tail { height: 1px; flex: 1; background: var(--color-stone); }
.rv-hairline-rule--light .rv-hairline-rule__tail { background: rgba(251, 248, 243, 0.18); }

/* -------------------------------------------------------------------------
   Buttons (Section 2.2 — no global uppercase leaking into WC buttons)
   ---------------------------------------------------------------------- */
.doce-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-label);
	font-weight: var(--btn-font-weight);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	border: none;
	transition: transform 380ms var(--transition-smooth), box-shadow 380ms var(--transition-smooth), background-color 320ms, color 320ms, border-color 320ms;
}
.doce-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.2) 50%, transparent 80%);
	transform: translateX(-120%);
	transition: transform 800ms var(--transition-smooth);
	pointer-events: none;
}
.doce-btn:hover::after { transform: translateX(120%); }
.doce-btn-primary { background: var(--color-accent); color: var(--color-ivory); box-shadow: var(--shadow-accent); }
.doce-btn-primary:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--color-accent) 88%, black); }
.doce-btn-choc { background: var(--color-primary); color: var(--color-ivory); }
.doce-btn-choc:hover { transform: translateY(-2px); background: var(--color-primary-deep); box-shadow: var(--shadow-elevated); }
.doce-btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent); }
.doce-btn-ghost:hover { transform: translateY(-2px); background: var(--color-primary); color: var(--color-ivory); border-color: var(--color-primary); }
.doce-btn-outline-light { background: transparent; color: var(--color-ivory); border: 1px solid rgba(251, 249, 244, 0.45); }
.doce-btn-outline-light:hover { transform: translateY(-2px); background: var(--color-ivory); color: var(--color-primary); }
.doce-btn-cream { background: var(--color-ivory); color: var(--color-primary); }
.doce-btn-cream:hover { transform: translateY(-2px); background: var(--color-background); box-shadow: var(--shadow-elevated); }

.alta-nav-link { position: relative; display: inline-block; padding-bottom: 3px; transition: color 280ms ease; }
.alta-nav-link::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 1.5px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 400ms var(--transition-smooth);
}
.alta-nav-link:hover::after, .alta-nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.doce-card {
	background: var(--color-ivory);
	border-radius: 0.75rem;
	border: 1px solid var(--color-stone);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	transition: transform 500ms var(--transition-smooth), box-shadow 500ms var(--transition-smooth), border-color 400ms;
}
.doce-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-accent) 45%, transparent); }

.rv-corner { position: relative; }
.rv-corner::after {
	content: '';
	position: absolute; top: 0; right: 0; width: 58px; height: 58px;
	pointer-events: none;
	background:
		radial-gradient(circle at 100% 0, transparent 0 40px, color-mix(in srgb, var(--color-accent) 55%, transparent) 40px 41px, transparent 41px),
		radial-gradient(circle at 100% 0, transparent 0 26px, color-mix(in srgb, var(--color-teal) 45%, transparent) 26px 27px, transparent 27px);
}

.cs-hover-lift { transition: transform 500ms var(--transition-smooth), box-shadow 500ms ease; }
.cs-hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.cs-card-hover-aggressive { position: relative; z-index: 1; transition: transform 500ms var(--transition-smooth), box-shadow 500ms ease; }
.cs-card-hover-aggressive:hover { z-index: 10; transform: translateY(-8px); box-shadow: var(--shadow-elevated); }

/* -------------------------------------------------------------------------
   Animation utilities (Section 2.1 — ported verbatim from source)
   ---------------------------------------------------------------------- */
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--transition-smooth), transform 900ms var(--transition-smooth); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-child] { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--transition-smooth), transform 800ms var(--transition-smooth); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal-child].is-revealed { opacity: 1; transform: translateY(0); }

.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--transition-smooth), transform 700ms var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
body.is-customizer [data-reveal],
body.is-customizer [data-reveal-child] { opacity: 1 !important; transform: none !important; }

@keyframes ken-burns {
	0% { transform: scale(1.03) translate3d(0, 0, 0); }
	50% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
	100% { transform: scale(1.03) translate3d(0, 0, 0); }
}
.ken-burns { animation: ken-burns 26s ease-in-out infinite; will-change: transform; }

@keyframes alta-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.alta-ticker-viewport { overflow: hidden; }
.alta-ticker-track { display: flex; width: max-content; animation: alta-ticker 54s linear infinite; will-change: transform; }
.alta-ticker-viewport:hover .alta-ticker-track { animation-play-state: paused; }

@keyframes rv-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.doce-float { animation: rv-drift 9s ease-in-out infinite; }
.doce-float-slow { animation: rv-drift 14s ease-in-out infinite; }

@keyframes icon-bounce { 0% { transform: translateY(8px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
[data-icon-bounce] { opacity: 0; }
[data-icon-bounce].is-bounced { animation: icon-bounce 560ms var(--transition-smooth) forwards; animation-delay: var(--icon-bounce-delay, 0ms); }

[data-tilt] { transform-style: preserve-3d; transition: transform 420ms var(--transition-smooth); }

@media (prefers-reduced-motion: reduce) {
	[data-reveal], [data-reveal-child], .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	[data-icon-bounce] { opacity: 1 !important; animation: none !important; }
	.ken-burns, .alta-ticker-track, .doce-float, .doce-float-slow { animation: none !important; }
	[data-tilt] { transform: none !important; }
}

/* -------------------------------------------------------------------------
   Header + ticker
   ---------------------------------------------------------------------- */
.theme-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.theme-topbar-spacer { height: 7.5rem; }
@media (min-width: 768px) { .theme-topbar-spacer { height: 8.75rem; } }
body.single-product .theme-topbar-spacer { height: 0; min-height: 0; overflow: hidden; pointer-events: none; }

.theme-ticker { background-color: var(--color-primary-deep); position: relative; overflow: hidden; }
.theme-ticker .alta-ticker-track { padding: 0.5rem 0; }
.theme-ticker-row { display: flex; align-items: center; flex-shrink: 0; }
.theme-ticker-item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; padding-right: 2rem; }
.theme-ticker-text { color: rgba(251, 249, 244, 0.82); white-space: nowrap; }
.theme-ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }

.site-header { width: 100%; transition: all 500ms ease; background: transparent; border-bottom: 1px solid rgba(251, 248, 243, 0.16); }
body.theme-has-hero .site-header:not(.is-solid):not(.menu-open) {
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
}
.site-header.is-solid, .site-header.menu-open {
	background-color: rgba(251, 249, 244, 0.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-stone);
	box-shadow: var(--shadow-soft);
}
.theme-navbar { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; height: 4.25rem; gap: 0.75rem; }
@media (min-width: 768px) { .theme-navbar { height: 5.25rem; } }

.theme-brand { display: flex; align-items: center; flex-shrink: 0; min-width: 0; transition: transform 500ms ease; }
.theme-brand:hover .theme-brand-logo { transform: scale(1.05); }
.theme-brand-logo, .site-logo-img.theme-brand-logo {
	height: var(--logo-height) !important;
	width: auto;
	max-height: none;
	transition: transform 500ms ease;
}
.theme-brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--color-ivory); }
.site-header.is-solid .theme-brand-text, .site-header.menu-open .theme-brand-text { color: var(--color-primary); }

.theme-nav-desktop { display: none; align-items: center; gap: 1.5rem; position: absolute; left: 50%; transform: translateX(-50%); }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list a { white-space: nowrap; font-family: var(--font-label); font-weight: 500; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-ivory); transition: opacity 280ms ease, color 280ms ease; }
.theme-nav-list a:hover, .theme-nav-list-mobile a:hover { opacity: 0.8; }
.site-header.is-solid .theme-nav-list a, .site-header.menu-open .theme-nav-list a { color: var(--color-primary); }
@media (min-width: 1280px) { .theme-nav-desktop { display: flex; } }

.theme-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.theme-header-cta { display: none; white-space: nowrap; padding: 0.75rem 1.5rem !important; font-size: 14px !important; }
@media (min-width: 768px) { .theme-header-cta { display: inline-flex; } }

.theme-cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 0.5rem; color: var(--color-ivory); transition: all 300ms ease; }
.site-header.is-solid .theme-cart-btn, .site-header.menu-open .theme-cart-btn { color: var(--color-primary); }
.theme-cart-btn:hover { transform: translateY(-2px); }
.theme-cart-count { position: absolute; top: 0.125rem; right: 0.125rem; min-width: 19px; height: 19px; padding: 0 0.25rem; border-radius: 999px; font-family: var(--font-label); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-ivory); }
.theme-cart-count:empty { display: none; }

.theme-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 0.5rem; color: var(--color-ivory); }
.site-header.is-solid .theme-menu-btn, .site-header.menu-open .theme-menu-btn { color: var(--color-primary); }
@media (min-width: 1280px) { .theme-menu-btn { display: none; } }
.theme-menu-icon-close { display: none; }
[aria-expanded="true"] .theme-menu-icon-open { display: none; }
[aria-expanded="true"] .theme-menu-icon-close { display: block; }

.theme-nav-mobile { display: none; flex-direction: column; gap: 0.25rem; padding: 1rem 0; background: var(--color-ivory); border-top: 1px solid var(--color-stone); }
.theme-nav-mobile.is-open { display: flex; }
.theme-nav-mobile .theme-nav-list,
.theme-nav-mobile .theme-nav-list-mobile {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start;
	gap: 0;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-nav-mobile .theme-nav-list li,
.theme-nav-mobile .theme-nav-list-mobile li { width: 100%; }
.theme-nav-mobile .theme-nav-list a,
.theme-nav-mobile .theme-nav-list-mobile a { display: block; width: 100%; text-align: left; padding: 0.75rem 0.25rem; color: var(--color-primary); }
.theme-mobile-cta { margin-top: 0.75rem; width: 100%; }
@media (min-width: 1280px) { .theme-nav-mobile { display: none !important; } }

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */
.theme-hero {
	position: relative;
	height: 100svh;
	min-height: 600px;
	width: 100%;
	max-width: none;
	margin: 0;
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
}
body.theme-has-hero main.theme-home {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
body.theme-has-hero .theme-topbar-spacer {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
}
.theme-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: var(--color-primary-deep);
	z-index: 0;
}
.theme-hero-bg-img, .theme-hero-bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
}
.theme-hero-gradient { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(13,26,43,0.78) 0%, rgba(13,26,43,0.42) 45%, rgba(13,26,43,0.9) 100%); }
.theme-hero-gradient-2 { position: absolute; inset: 0; z-index: 3; background: radial-gradient(ellipse at 14% 62%, rgba(200,89,45,0.2) 0%, transparent 58%), radial-gradient(ellipse at 88% 18%, rgba(26,84,91,0.2) 0%, transparent 55%); }
.theme-sunburst { position: absolute; pointer-events: none; z-index: 1; }
.theme-sunburst--hero { right: -6rem; top: 25%; width: 560px; height: 560px; opacity: 0.18; display: none; color: var(--color-accent); }
@media (min-width: 768px) { .theme-sunburst--hero { display: block; } }
.theme-sunburst--footer { right: -8rem; top: -10rem; width: 520px; height: 520px; opacity: 0.16; }
.theme-sunburst--why { left: -10rem; bottom: -10rem; width: 620px; height: 620px; opacity: 0.14; }
.theme-sunburst--why circle { stroke: color-mix(in srgb, var(--color-teal) 55%, white 45%); }

.theme-hero-inner { position: relative; width: 100%; padding-top: 6rem; padding-bottom: 5rem; z-index: 5; }
@media (min-width: 768px) { .theme-hero-inner { padding-top: 7rem; } }
.theme-hero-copy { max-width: 48rem; }
.theme-hero-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; color: hsl(20, 62%, 70%); font-size: 14px; }
.theme-hero-eyebrow-rule { height: 1px; width: 2.5rem; flex-shrink: 0; background-color: hsl(20, 62%, 70%); }
.theme-hero-title { font-family: var(--font-hero); font-size: 3rem; margin-top: 1.5rem; margin-bottom: 1.5rem; color: var(--color-ivory); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; }
@media (min-width: 640px) { .theme-hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-hero-title { font-size: 6rem; } }
.theme-hero-title .theme-hero-title-line-1,
.theme-hero-title .theme-hero-title-line-2,
.theme-hero-title .theme-hero-title-accent {
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}
.theme-hero-title-line-1 { color: var(--color-ivory); display: inline; }
.theme-hero-title-accent,
.theme-hero-title-line-2 { color: var(--color-accent-soft) !important; display: inline; }
.theme-hero-subtitle { max-width: 36rem; font-size: 1rem; line-height: 1.625; color: rgba(251,249,244,0.82); }
@media (min-width: 768px) { .theme-hero-subtitle { font-size: 1.125rem; } }
.theme-hero-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.25rem; }
@media (min-width: 640px) { .theme-hero-actions { flex-direction: row; } }
.theme-hero-scroll-cue { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); z-index: 5; color: rgba(251,249,244,0.7); }

/* -------------------------------------------------------------------------
   Section heading scales (Section 2.2 — per-section, not one global clamp)
   ---------------------------------------------------------------------- */
.about-section-heading { font-size: 2.25rem; margin-top: 1.5rem; line-height: 1.04; }
@media (min-width: 768px) { .about-section-heading { font-size: 3.4rem; } }

.offerings-section-heading, .theme-design-section .section-heading { font-size: 2.25rem; margin-top: 1.5rem; line-height: 1.05; }
@media (min-width: 768px) { .offerings-section-heading, .theme-design-section .section-heading { font-size: 3.2rem; } }

.shop-heading { font-size: 2.25rem; margin-top: 1.5rem; line-height: 1.05; }
@media (min-width: 768px) { .shop-heading { font-size: 3.2rem; } }

.contact-title { font-size: 2.25rem; margin-top: 1.5rem; line-height: 1.06; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }

.theme-why-heading, .theme-destinations-section .section-heading, .theme-process-section .section-heading, .theme-faq-section .section-heading {
	font-size: 2.25rem; margin-top: 1.5rem; line-height: 1.05;
}
@media (min-width: 768px) { .theme-why-heading, .theme-destinations-section .section-heading, .theme-process-section .section-heading { font-size: 3.2rem; } }
@media (min-width: 768px) { .theme-faq-section .section-heading { font-size: 3rem; } }

.theme-closing-cta__title { font-size: 2.6rem; margin-top: 1.5rem; line-height: 1.02; color: var(--color-ivory); }
@media (min-width: 640px) { .theme-closing-cta__title { font-size: 3.6rem; } }
@media (min-width: 1024px) { .theme-closing-cta__title { font-size: 4.6rem; } }

/* -------------------------------------------------------------------------
   Concept
   ---------------------------------------------------------------------- */
.theme-concept-section { position: relative; overflow: hidden; }
.theme-mark-watermark { position: absolute; left: -4rem; bottom: -2.5rem; width: 18rem; opacity: 0.05; pointer-events: none; }
@media (min-width: 768px) { .theme-mark-watermark { width: 24rem; } }
.theme-concept-inner { position: relative; }
.theme-concept-head { display: flex; flex-direction: column; gap: 2.5rem; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) {
	.theme-concept-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4rem; align-items: start; }
}
.theme-concept-head-main { width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-concept-head-main { grid-column: span 7; } }
.theme-concept-head-side { width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-concept-head-side { grid-column: span 5; padding-top: 5rem; } }
.theme-concept-head-side p { color: var(--color-muted-foreground); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .theme-concept-head-side p { font-size: 17px; } }
.theme-concept-hairline { margin-top: 3.5rem; }
@media (min-width: 768px) { .theme-concept-hairline { margin-top: 5rem; } }

.theme-stats-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.theme-stat-block { padding: 2.25rem 0; display: flex; flex-direction: column; }
@media (min-width: 768px) { .theme-stat-block { padding: 3rem 1.5rem; } }
.theme-stat-figure { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-size: clamp(3rem, 6vw, 4.5rem); color: var(--color-primary); }
.theme-stat-label { margin-top: 1rem; font-size: 14px; line-height: 1.6; color: var(--color-muted-foreground); max-width: 16rem; }

/* -------------------------------------------------------------------------
   Generic section head (used by design/destinations/etc.)
   ---------------------------------------------------------------------- */
.theme-section-head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .theme-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-section-head-main { max-width: 42rem; }
.theme-section-head-copy { color: var(--color-muted-foreground); font-size: 1rem; margin-top: 1.25rem; max-width: 36rem; line-height: 1.7; }
@media (min-width: 768px) { .theme-section-head-copy { font-size: 17px; } }
.theme-section-head-tag { color: var(--color-teal); flex-shrink: 0; }
.theme-section-head-side p { color: var(--color-muted-foreground); font-size: 1rem; line-height: 1.7; }
.theme-section-head-light { max-width: 42rem; margin-bottom: 3.5rem; }
.theme-section-head-light .section-heading, .theme-why-heading { color: var(--color-ivory); }
.theme-section-head-simple { max-width: 42rem; margin-bottom: 3.5rem; }

/* -------------------------------------------------------------------------
   Design grid
   ---------------------------------------------------------------------- */
.theme-design-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-design-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-design-card { display: flex; flex-direction: column; height: 100%; }
.theme-design-card__image-wrapper { position: relative; aspect-ratio: 4/3; width: 100%; overflow: hidden; background-color: var(--color-sand); }
.theme-design-card__img { transition: transform 1400ms ease; }
.theme-design-card:hover .theme-design-card__img { transform: scale(1.07); }
.theme-design-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,26,43,0.45) 100%); }
.theme-design-card__caption { position: absolute; bottom: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-ivory); }
.theme-design-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
@media (min-width: 1024px) { .theme-design-card__body { padding: 1.75rem; } }
.theme-design-card__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.3; }
@media (min-width: 768px) { .theme-design-card__title { font-size: 24px; } }
.theme-design-card__copy { margin-top: 0.75rem; font-size: 14px; line-height: 1.6; color: var(--color-muted-foreground); }

.theme-road-divider { margin-top: 4rem; opacity: 0.6; line-height: 0; color: var(--color-accent); }
.theme-road-divider__svg { width: 100%; height: 28px; display: block; }
@media (min-width: 768px) { .theme-road-divider__svg { height: 40px; } }

/* -------------------------------------------------------------------------
   Product grid + card (Section 31.9)
   ---------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-collection-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { height: 100%; display: flex; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; width: 100%; position: relative; background: var(--color-ivory); border-radius: 0.75rem; border: 1px solid var(--color-stone); box-shadow: var(--shadow-soft); overflow: hidden; transition: transform 500ms var(--transition-smooth), box-shadow 500ms var(--transition-smooth), border-color 400ms; }
.theme-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-accent) 45%, transparent); }
.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-quick-add, .theme-product-card__info { pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; width: 100%; overflow: hidden; background-color: var(--color-sand); }
.theme-product-card__image-wrapper img { transition: transform 1200ms ease-out; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }

.theme-badge { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 3; font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 14px; padding: 0.375rem 0.75rem; border-radius: 3px; background: rgba(251,248,243,0.92); color: var(--color-primary); border: 1px solid var(--color-stone); }
.theme-badge--bestseller { background: var(--color-accent); color: var(--color-ivory); border: none; }
.theme-badge--limited { background: var(--color-teal); color: var(--color-ivory); border: none; }
.theme-badge--new { background: var(--color-primary); color: var(--color-ivory); border: none; }
.theme-badge--outofstock { background: var(--color-primary-deep); color: var(--color-ivory); border: none; }

.theme-quick-add { position: absolute; bottom: 0.9rem; right: 0.9rem; z-index: 3; width: 3rem; height: 3rem; border-radius: 0.5rem; display: inline-flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-ivory); opacity: 0; transform: translateY(0.5rem); transition: all 500ms ease; pointer-events: none; text-decoration: none; }
.theme-quick-add--link { cursor: pointer; }
.theme-product-card:hover .theme-quick-add { opacity: 1; transform: translateY(0); pointer-events: auto; }

.theme-shop-empty { padding: 4rem 0; text-align: center; color: var(--color-muted-foreground); }
.theme-product-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-width: 0; }
.theme-product-card__head-text { min-width: 0; }
.theme-product-card__category { color: var(--color-teal); }
.theme-product-card__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-top: 0.5rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 21px; } }
.theme-product-card__price { font-family: var(--font-display); font-size: 20px; flex-shrink: 0; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.theme-product-card__tagline { margin-top: 0.65rem; font-size: 14px; line-height: 1.6; color: var(--color-muted-foreground); }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.theme-product-card__hairline { margin-top: 1.25rem; margin-bottom: 0.875rem; }
.theme-product-card__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0; }
.theme-product-card__spec { min-width: 0; }
.theme-product-card__spec dt { color: var(--color-muted-foreground); letter-spacing: 0.16em; }
.theme-product-card__spec dd { margin: 0.25rem 0 0; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--color-primary); }

.theme-product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; min-width: 0; }

/* -------------------------------------------------------------------------
   WooCommerce add-to-cart button overrides (Section 11.4.1)
   ---------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-accent) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-label) !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;
	box-shadow: var(--shadow-accent);
}
.single_add_to_cart_button.button:hover, .add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-accent) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled, .single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled, .add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover, .single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover, .add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-accent) !important;
}
.single-product .single_add_to_cart_button, .add_to_cart_button.ajax_add_to_cart {
	text-transform: none !important;
}

/* Card compact quick-add button — scoped override AFTER the global rules */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-quick-add {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	width: 3rem !important;
	height: 3rem !important;
	box-shadow: 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 .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-breadcrumb { display: none; }

/* -------------------------------------------------------------------------
   Single product page (Section 11, 11.13 responsive)
   ---------------------------------------------------------------------- */
.single-product .theme-product-page { padding-bottom: 6rem; padding-top: calc(6.25rem + 1.5rem); }
@media (min-width: 768px) { .single-product .theme-product-page { padding-top: calc(7.25rem + 1.5rem); } }
.theme-breadcrumb { padding: 1.5rem 0; font-family: var(--font-label); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a:hover { color: var(--color-accent); }
.theme-breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

.single-product .theme-product-layout { display: flex; flex-direction: column; gap: 2.5rem; align-items: stretch; min-width: 0; width: 100%; }
@media (min-width: 1024px) {
	.single-product .theme-product-layout {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		gap: 4rem;
		align-items: start;
	}
}
.single-product .theme-product-gallery { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
@media (min-width: 1024px) { .single-product .theme-product-gallery { grid-column: span 7; } }
.single-product .theme-product-info { width: 100%; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.single-product .theme-product-info {
		grid-column: span 5;
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}

.theme-product-main-image { display: block; width: 100%; max-width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-elevated); background-color: var(--color-stone); position: relative; padding: 0; cursor: zoom-in; border: none; }
.theme-product-main-image__img,
.theme-product-main-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; display: block; transition: transform 700ms ease; }
.theme-product-main-image:hover .theme-product-main-image__img,
.theme-product-main-image:hover img { transform: scale(1.05); }

.single-product .theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-top: 1rem; max-width: 100%; width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 0.75rem; background-color: var(--color-stone); border: 1px solid var(--color-stone); transition: all 300ms ease; padding: 0; width: 100%; }
.theme-product-thumb.is-active { border: 2px solid var(--color-accent); }
.theme-product-thumb:hover { transform: translateY(-2px); }
.theme-product-thumb img,
.theme-product-thumb .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; display: block; }

.doce-eyebrow { margin-bottom: 1.25rem; }
.product-title, .theme-product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: 1.02; margin: 1.25rem 0; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 3.1rem; } }

.theme-product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.75rem; font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 1.5rem; color: var(--color-accent); }
@media (min-width: 768px) { .theme-product-price { font-size: 2.25rem; } }
.theme-product-currency { color: var(--color-muted-foreground); font-size: 14px !important; }
.theme-stock-indicator--out { display: inline-block; margin-bottom: 1rem; padding: 0.375rem 0.875rem; border-radius: 999px; background: var(--color-primary-deep); color: var(--color-ivory); font-family: var(--font-label); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--color-background); border: 1px solid var(--color-stone); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.85rem 1rem; transition: background 200ms ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-sand); }
.theme-qty-input { width: 3rem; padding: 0.85rem 0; text-align: center; border: none; background: transparent; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
	.single-product .theme-add-to-cart-area { flex-direction: row; }
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-ask-team-btn { flex: 1 1 auto; min-width: 160px; }

.theme-delivery-note { display: flex; align-items: center; gap: 0.65rem; font-size: 14px; border-radius: 1rem; padding: 0.75rem 1rem; background: var(--color-ivory); color: var(--color-primary); margin-bottom: 1.5rem; }

.theme-product-details { border-top: 1px solid var(--color-stone); margin-top: 1.5rem; }
.theme-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-details-toggle svg { transition: transform 300ms ease; }
.theme-details-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-details-content { padding-bottom: 1.5rem; }
.theme-details-content ul.rivetd-detail-list { margin: 0; padding: 0; list-style: none; }
.theme-details-content ul.rivetd-detail-list li { position: relative; padding-left: 1.25rem; margin-bottom: 0.75rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.6; }
.theme-details-content ul.rivetd-detail-list li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-stone); margin-top: 2rem; }
.theme-related-hairline { margin-bottom: 2.5rem; }
.theme-related-title { font-size: 1.875rem; margin-top: 1rem; }
@media (min-width: 768px) { .theme-related-title { font-size: 3rem; } }
.theme-related-products .theme-product-grid { margin-top: 2.5rem; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.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; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-variations-stack { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
.theme-variation-label { display: block; margin-bottom: 0.75rem; color: var(--color-muted-foreground); }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--color-stone);
	background: var(--color-background);
	font-family: var(--font-label);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-primary);
	transition: all 280ms ease;
}
.theme-variation-pill:hover {
	border-color: color-mix(in srgb, var(--color-accent) 45%, transparent);
	background: var(--color-ivory);
}
.theme-variation-pill.is-active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-ivory);
}
.variations select { width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid var(--color-stone); background: var(--color-background); font-family: var(--font-body); }

/* -------------------------------------------------------------------------
   Stat marquee
   ---------------------------------------------------------------------- */
.theme-stat-marquee-viewport { padding: 1.75rem 0; }
@media (min-width: 768px) { .theme-stat-marquee-viewport { padding: 2.25rem 0; } }
.theme-stat-marquee-row { display: flex; align-items: center; flex-shrink: 0; }
.theme-stat-marquee-item { display: flex; align-items: center; flex-shrink: 0; }
.theme-stat-marquee-pair { display: flex; align-items: baseline; gap: 0.75rem; padding: 0 2rem; white-space: nowrap; }
@media (min-width: 768px) { .theme-stat-marquee-pair { padding: 0 3rem; } }
.theme-stat-marquee-label { color: color-mix(in srgb, var(--color-accent-soft) 100%, white 20%); }
.theme-stat-marquee-value { font-family: var(--font-display); font-size: 17px; color: var(--color-ivory); }
@media (min-width: 768px) { .theme-stat-marquee-value { font-size: 19px; } }
.theme-stat-marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-soft); flex-shrink: 0; }

/* -------------------------------------------------------------------------
   Why Rivetd
   ---------------------------------------------------------------------- */
.theme-why-grid { display: flex; flex-direction: column; gap: 2.5rem; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .theme-why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4rem; align-items: center; } }
.theme-why-list { width: 100%; min-width: 0; order: 2; }
@media (min-width: 1024px) { .theme-why-list { grid-column: span 6; order: 1; } }
.theme-why-item { display: block; width: 100%; text-align: left; padding: 1.75rem 0; transition: all 500ms ease; border-top: 1px solid rgba(251,249,244,0.16); }
.theme-why-item:last-child { border-bottom: 1px solid rgba(251,249,244,0.16); }
.theme-why-item.is-active { padding-left: 1rem; }
.theme-why-item__row { display: flex; align-items: flex-start; gap: 1.25rem; }
.theme-why-item__num { padding-top: 0.25rem; flex-shrink: 0; color: rgba(251,249,244,0.4); }
.theme-why-item.is-active .theme-why-item__num { color: var(--color-accent-soft); }
.theme-why-item__body { min-width: 0; flex: 1; }
.theme-why-item__title { font-size: 22px; line-height: 1.3; transition: color 400ms ease; color: rgba(251,249,244,0.62); }
@media (min-width: 768px) { .theme-why-item__title { font-size: 26px; } }
.theme-why-item.is-active .theme-why-item__title { color: var(--color-ivory); }
.theme-why-item__copy-wrap { overflow: hidden; max-height: 0; opacity: 0; transition: all 500ms ease; }
.theme-why-item.is-active .theme-why-item__copy-wrap { max-height: 160px; opacity: 1; }
.theme-why-item__copy { margin-top: 0.75rem; font-size: 14px; line-height: 1.6; color: rgba(251,249,244,0.72); }
.theme-why-item__mobile-image { display: none; margin-top: 1.25rem; overflow: hidden; border-radius: 0.5rem; max-height: 0; transition: all 500ms ease; }
.theme-why-item.is-active .theme-why-item__mobile-image { max-height: 340px; }
.theme-why-item__mobile-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 1023px) { .theme-why-item__mobile-image { display: block; } }
.theme-why-item__arrow { flex-shrink: 0; margin-top: 0.25rem; transition: all 400ms ease; color: rgba(251,249,244,0.3); }
.theme-why-item.is-active .theme-why-item__arrow { color: var(--color-accent-soft); transform: translate(2px, -2px); }

.theme-why-visual { width: 100%; min-width: 0; order: 1; display: none; }
@media (min-width: 1024px) { .theme-why-visual { grid-column: span 6; order: 2; display: block; } }
.theme-why-visual__frame { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 0.5rem; background-color: var(--color-primary); }
.theme-why-visual__img { opacity: 0; transform: scale(1.06); transition: all 900ms ease; }
.theme-why-visual__img.is-active { opacity: 1; transform: scale(1); }
.theme-why-visual__gradient { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(13,23,36,0.6) 100%); }

/* -------------------------------------------------------------------------
   Destinations
   ---------------------------------------------------------------------- */
.theme-destinations-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-destinations-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.theme-destination-card { position: relative; overflow: hidden; border-radius: 0.5rem; aspect-ratio: 4/5; background-color: var(--color-sand); margin: 0; }
.theme-destination-card__img { transition: transform 1600ms ease; }
.theme-destination-card:hover .theme-destination-card__img { transform: scale(1.08); }
.theme-destination-card__gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,26,43,0.1) 35%, rgba(13,23,36,0.88) 100%); }
.theme-destination-card__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem 1.75rem; }
.theme-destination-card__caption h3 { font-size: 22px; color: var(--color-ivory); }
@media (min-width: 768px) { .theme-destination-card__caption h3 { font-size: 24px; } }
.theme-destination-card__caption p { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: rgba(251,249,244,0.78); }

.theme-apparel-banner { display: flex; flex-direction: column; gap: 2rem; align-items: stretch; margin-top: 4rem; min-width: 0; }
@media (min-width: 1024px) { .theme-apparel-banner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3.5rem; align-items: center; margin-top: 6rem; } }
.theme-apparel-banner__image { position: relative; overflow: hidden; border-radius: 0.5rem; aspect-ratio: 5/4; width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-apparel-banner__image { grid-column: span 6; } }
.theme-apparel-banner__copy { min-width: 0; width: 100%; }
@media (min-width: 1024px) { .theme-apparel-banner__copy { grid-column: span 6; } }
.theme-apparel-tag { color: var(--color-teal); }
.theme-apparel-title { font-size: 1.875rem; margin-top: 1rem; line-height: 1.08; }
@media (min-width: 768px) { .theme-apparel-title { font-size: 2.4rem; } }
.theme-apparel-copy { color: var(--color-muted-foreground); margin-top: 1.25rem; line-height: 1.7; max-width: 36rem; }

/* -------------------------------------------------------------------------
   Process
   ---------------------------------------------------------------------- */
.theme-process-row-wrap { position: relative; }
.theme-process-row { display: flex; flex-direction: column; gap: 2rem; align-items: stretch; padding: 2.5rem 0; }
@media (min-width: 1024px) {
	.theme-process-row {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		gap: 3.5rem;
		align-items: center;
		padding: 4rem 0;
	}
}
.theme-process-row__image { position: relative; overflow: hidden; border-radius: 0.5rem; aspect-ratio: 5/4; width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-process-row__image { grid-column: span 5; } }
.theme-process-row__body { min-width: 0; width: 100%; }
@media (min-width: 1024px) { .theme-process-row__body { grid-column: span 7; } }
@media (min-width: 1024px) {
	.theme-process-row.is-reversed .theme-process-row__image { order: 2; }
	.theme-process-row.is-reversed .theme-process-row__body { order: 1; }
}
.theme-process-row__image .cover-img,
.theme-process-row__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1400ms ease; }
.theme-process-row__image:hover .cover-img,
.theme-process-row__image:hover img { transform: scale(1.05); }
.theme-process-row__num { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; display: block; font-size: clamp(2.5rem, 5vw, 3.75rem); color: color-mix(in srgb, var(--color-accent) 35%, transparent); }
.theme-process-row__title { font-size: 26px; margin-top: 0.75rem; line-height: 1.3; }
@media (min-width: 768px) { .theme-process-row__title { font-size: 32px; } }
.theme-process-row__copy { margin-top: 1rem; color: var(--color-muted-foreground); max-width: 36rem; line-height: 1.7; }

/* -------------------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------------- */
.theme-faq-inner { display: flex; flex-direction: column; gap: 2.5rem; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .theme-faq-inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4rem; align-items: start; } }
.theme-faq-side { width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-faq-side { grid-column: span 5; } }
.theme-faq-side-copy { color: var(--color-muted-foreground); margin-top: 1.25rem; max-width: 28rem; line-height: 1.7; }
.theme-faq-list { width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-faq-list { grid-column: span 7; } }
.theme-faq-item, .theme-faq-list-end { border-top: 1px solid var(--color-stone); }
.theme-faq-question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.5rem 0; }
.theme-faq-q-text { font-size: 18px; line-height: 1.4; transition: color 300ms ease; color: var(--color-primary); }
@media (min-width: 768px) { .theme-faq-q-text { font-size: 21px; } }
.theme-faq-question[aria-expanded="true"] .theme-faq-q-text { color: var(--color-accent); }
.theme-faq-question svg { flex-shrink: 0; margin-top: 0.25rem; transition: transform 400ms ease; color: var(--color-muted-foreground); }
.theme-faq-question[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--color-accent); }
.theme-faq-answer-wrap { overflow: hidden; max-height: 600px; opacity: 1; transition: all 500ms ease; }
.theme-faq-answer { padding-bottom: 1.75rem; padding-right: 2rem; font-size: 15px; line-height: 1.7; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   Closing CTA
   ---------------------------------------------------------------------- */
.theme-closing-cta { position: relative; width: 100%; min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.theme-closing-cta__bg { position: absolute; inset: 0; overflow: hidden; background-color: var(--color-primary-deep); }
.theme-closing-cta__img, .theme-closing-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-closing-cta__gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,26,43,0.72) 0%, rgba(13,26,43,0.5) 50%, rgba(13,26,43,0.86) 100%); }
.theme-closing-cta__inner { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .theme-closing-cta__inner { padding-top: 8rem; padding-bottom: 8rem; } }
.theme-closing-cta__inner .rv-eyebrow { max-width: 48rem; }
.theme-closing-cta__copy { max-width: 36rem; font-size: 1rem; margin-top: 1.5rem; line-height: 1.7; color: rgba(251,249,244,0.8); }
@media (min-width: 768px) { .theme-closing-cta__copy { font-size: 1.125rem; } }
.theme-closing-cta__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.25rem; }
@media (min-width: 640px) { .theme-closing-cta__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   Contact
   ---------------------------------------------------------------------- */
.theme-contact-inner { display: flex; flex-direction: column; gap: 2.5rem; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .theme-contact-inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4rem; align-items: center; } }
.theme-contact-copy { width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-contact-copy { grid-column: span 6; } }
.theme-contact-copy-text { color: var(--color-muted-foreground); margin-top: 1.25rem; max-width: 32rem; line-height: 1.7; }
.theme-contact-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.25rem; }
@media (min-width: 640px) { .theme-contact-cards { grid-template-columns: repeat(2, 1fr); } }
.theme-contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border-radius: 0.5rem; background: var(--color-ivory); border: 1px solid var(--color-stone); transition: all 400ms ease; }
.theme-contact-card:hover { transform: translateY(-4px); }
.theme-contact-card svg { flex-shrink: 0; margin-top: 0.125rem; color: var(--color-accent); }
.theme-contact-card__label { display: block; color: var(--color-muted-foreground); }
.theme-contact-card__value { display: block; margin-top: 0.25rem; font-size: 15px; word-break: break-all; color: var(--color-primary); }
.theme-contact-notes { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 0.5rem; }
.theme-contact-note { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); }
.theme-contact-note svg { color: var(--color-teal); }
.theme-contact-send-btn { margin-top: 2.25rem; }
.theme-contact-image { width: 100%; min-width: 0; position: relative; overflow: hidden; border-radius: 0.5rem; aspect-ratio: 5/4; }
@media (min-width: 1024px) { .theme-contact-image { grid-column: span 6; } }

/* -------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background-color: var(--color-primary-deep); color: var(--color-ivory); }
.theme-footer-inner { position: relative; padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .theme-footer-inner { padding-top: 6rem; padding-bottom: 2.5rem; } }
.theme-footer-grid { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; }
@media (min-width: 768px) { .theme-footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.theme-footer-col--brand { width: 100%; min-width: 0; }
@media (min-width: 768px) { .theme-footer-col--brand { grid-column: span 5; } }
.theme-footer-col:not(.theme-footer-col--brand) { width: 100%; min-width: 0; }
@media (min-width: 768px) { .theme-footer-col:not(.theme-footer-col--brand) { grid-column: span 6; } }
@media (min-width: 768px) { .theme-footer-col:nth-of-type(2) { grid-column: span 3; } .theme-footer-col:nth-of-type(3) { grid-column: span 4; } }
.site-footer .theme-footer-logo,
.site-footer .site-logo-img.theme-footer-logo {
	height: var(--logo-height) !important;
	width: auto;
	max-height: none;
}
.theme-footer-tagline { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; line-height: 1.7; color: rgba(251,249,244,0.7); }
.theme-footer-socials { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.75rem; }
.theme-social-btn { width: 2.75rem; height: 2.75rem; border-radius: 0.5rem; border: 1px solid rgba(251,249,244,0.22); display: flex; align-items: center; justify-content: center; color: rgba(251,249,244,0.85); transition: all 300ms ease; }
.theme-social-btn:hover { transform: translateY(-3px); }
.theme-footer-heading { margin-bottom: 1.25rem; color: color-mix(in srgb, var(--color-accent-soft) 100%, white 20%); }
.theme-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-links a, .theme-footer-contact-link { font-size: 14px; color: rgba(251,249,244,0.7); display: inline-flex; align-items: center; gap: 0.5rem; word-break: break-all; }
.theme-footer-cta { margin-top: 1.5rem; padding: 0.75rem 1.5rem !important; }
.theme-footer-watermark-wrap { margin-top: 4rem; }
.theme-footer-watermark { font-family: var(--font-display); font-weight: 700; line-height: 0.85; letter-spacing: -0.04em; margin-top: 2rem; margin-bottom: 2rem; color: rgba(251,249,244,0.1); font-size: clamp(3.5rem, 17vw, 15rem); user-select: none; }
.theme-footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,249,244,0.14); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; } }
.theme-footer-bottom p { flex: 1; font-size: 14px; color: rgba(251,249,244,0.6); margin: 0; }
.theme-footer-bottom p:nth-child(2) { text-align: center; }
@media (min-width: 640px) { .theme-footer-bottom p:nth-child(3) { text-align: right; } }
.theme-footer-bottom a { text-decoration: underline; text-underline-offset: 4px; color: color-mix(in srgb, var(--color-accent-soft) 100%, white 20%); }

.theme-back-to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 2.75rem; height: 2.75rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--gradient-accent); color: var(--color-ivory); box-shadow: var(--shadow-accent); opacity: 0; pointer-events: none; transition: all 300ms ease; }
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: translateY(-4px) scale(1.05); }
@media (min-width: 768px) { .theme-back-to-top { width: 3rem; height: 3rem; } }

/* -------------------------------------------------------------------------
   Cart drawer + overlay (Section 12, 22.5)
   ---------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(13,23,36,0.45); opacity: 0; pointer-events: none; transition: opacity 300ms ease; backdrop-filter: blur(2px); }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer { position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61; display: flex; flex-direction: column; background: var(--color-background); box-shadow: var(--shadow-elevated); transform: translateX(100%); transition: transform 450ms 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: 1.5rem; border-bottom: 1px solid var(--color-stone); }
.theme-cart-drawer-title { font-size: 1.5rem; }
.theme-cart-drawer-close { width: 2.5rem; height: 2.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: all 300ms ease; }
.theme-cart-drawer-close:hover { background: rgba(0,0,0,0.05); transform: rotate(90deg); }

.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1.25rem; }
.theme-cart-drawer-empty-icon { width: 5rem; height: 5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--color-sand); color: var(--color-accent); }
.theme-cart-drawer-empty p { color: var(--color-muted-foreground); margin: 0; }

.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer-item { display: flex; gap: 1rem; padding: 0.75rem; border-radius: 1rem; transition: background 200ms ease; }
.theme-cart-drawer-item:hover { background: var(--color-ivory); }
.theme-cart-drawer-item-image { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: 0.75rem; background: var(--color-stone); }
.theme-cart-drawer-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer-item-body { flex: 1; min-width: 0; }
.theme-cart-drawer-item-title { font-family: var(--font-display); font-size: 15px; display: block; }
.theme-cart-drawer-item-title:hover { color: var(--color-accent); }
.theme-cart-drawer-item-price { margin-top: 0.25rem; font-weight: 600; font-size: 14px; color: var(--color-accent); }
.theme-cart-drawer-item-variation { margin-top: 0.35rem; font-size: 12px; color: var(--color-muted-foreground); }
.theme-cart-drawer-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer-item-controls .theme-qty-minus, .theme-cart-drawer-item-controls .theme-qty-plus { width: 1.75rem; height: 1.75rem; border-radius: 999px; border: 1px solid var(--color-stone); display: flex; align-items: center; justify-content: center; padding: 0; font-size: 14px; }
.theme-cart-drawer-item-qty { width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; font-size: 14px; }
.theme-cart-drawer-item-remove { margin-left: auto; font-size: 13px; color: var(--color-muted-foreground); }
.theme-cart-drawer-item-remove:hover { color: var(--color-accent); }

.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-stone); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-drawer-subtotal-value { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-accent); }
.theme-cart-drawer-checkout { width: 100%; }
.theme-cart-drawer-empty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.75rem; font-size: 14px; color: var(--color-muted-foreground); border-radius: 0.5rem; }
.theme-cart-drawer-empty-btn:hover { color: var(--color-accent); background: rgba(0,0,0,0.03); }

/* -------------------------------------------------------------------------
   Contact modal
   ---------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 1rem; }
.theme-modal.is-open { display: flex; }
.theme-modal-overlay { position: absolute; inset: 0; background: rgba(13,23,36,0.5); backdrop-filter: blur(2px); }
.theme-modal-panel { position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; border-radius: 1.75rem; padding: 2rem; background: var(--color-background); border: 1px solid var(--color-stone); box-shadow: var(--shadow-elevated); }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.theme-modal-close:hover { background: rgba(0,0,0,0.05); }
.theme-modal-title { font-size: 1.875rem; }
.theme-modal-subtitle { margin-top: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); }
.theme-modal-contacts { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 1rem; font-size: 14px; color: var(--color-muted-foreground); }
.theme-modal-contacts a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 280ms ease; }
.theme-modal-contacts a:hover { color: var(--color-accent); }
.theme-modal-form-wrap { margin-top: 1.5rem; }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row-2 { grid-template-columns: repeat(2, 1fr); } }
.theme-field { margin-bottom: 1rem; }
.theme-field label { display: block; margin-bottom: 0.4rem; font-size: 14px; font-weight: 500; font-family: var(--font-label); }
.theme-field input, .theme-field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 1rem;
	background: var(--color-ivory);
	border: 1px solid var(--color-stone);
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
}
.theme-field input:focus, .theme-field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--color-accent); }
.theme-field textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success-icon { width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--gradient-accent); color: var(--color-ivory); box-shadow: var(--shadow-accent); }
.theme-modal-success h3 { font-size: 1.5rem; }
.theme-modal-success p { margin-top: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   Lightbox
   ---------------------------------------------------------------------- */
.theme-lightbox { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; background: rgba(13,23,36,0.92); backdrop-filter: blur(4px); animation: fadeIn 0.3s ease forwards; }
.theme-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 1rem; }
.theme-lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; }
.theme-lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* -------------------------------------------------------------------------
   Generic pages / 404
   ---------------------------------------------------------------------- */
.theme-no-hero .theme-topbar-spacer { display: block; }
.theme-page { padding: 6rem 0; }
.theme-page-inner .page-title { font-size: 2.5rem; margin-bottom: 2rem; }
.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-sand); }
.theme-404-inner { text-align: center; padding: 2rem 0; }
.theme-404-title { font-size: 2.25rem; font-weight: 700; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-404-copy { margin: 0 0 1rem; color: var(--color-muted-foreground); font-size: 1.25rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; transition: color 280ms ease; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 80%, transparent); }

/* -------------------------------------------------------------------------
   WooCommerce Checkout Block overrides (Section 13)
   ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height, 84px);
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart {
	display: block;
	font-family: var(--font-body);
	color: var(--color-foreground);
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout__main ~ .wc-block-checkout__sidebar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-ivory);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-stone) !important;
	border-radius: 9999px !important;
	background-color: var(--color-ivory) !important;
	box-shadow: none !important;
	appearance: auto !important;
}
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-stone) !important;
	border-radius: 1rem !important;
	background-color: var(--color-ivory) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout select:focus {
	outline: none !important;
	box-shadow: 0 0 0 2px var(--color-accent) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-accent) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-label) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	font-weight: var(--btn-font-weight) !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.75rem;
	font-family: var(--font-body);
}

/* -------------------------------------------------------------------------
   Order Received / thank you page (Section 22.8)
   ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details {
	font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { margin: 2rem 0 1rem; font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem; background: var(--color-ivory); border-radius: var(--card-radius); }
body.theme-thankyou-page .woocommerce-order-overview li { margin: 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@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; max-width: none; }
}
.theme-thankyou-wrap { padding: 2rem 0 4rem; }
