/* ==========================================================================
   Randal Wade theme — The Free Website Guys
   ========================================================================== */

/* ---------- Tokens (HSL channels; Customizer overrides are emitted inline) ---------- */
:root {
	--background: 40 33% 99%;
	--foreground: 195 6% 13%;
	--card: 43 30% 96%;
	--card-foreground: 195 6% 13%;
	--popover: 40 33% 99%;
	--popover-foreground: 195 6% 13%;
	--primary: 195 6% 13%;
	--primary-foreground: 40 33% 99%;
	--secondary: 43 30% 95%;
	--secondary-foreground: 195 6% 13%;
	--muted: 40 18% 89%;
	--muted-foreground: 205 8% 42%;
	--accent: 40 42% 59%;
	--accent-foreground: 195 6% 13%;
	--destructive: 8 45% 45%;
	--destructive-foreground: 40 33% 99%;
	--border: 40 16% 86%;
	--input: 43 30% 96%;
	--ring: 40 42% 59%;
	--radius: 0.25rem;

	--font-display: 'Newsreader', 'Times New Roman', Georgia, serif;
	--font-hero: 'Newsreader', 'Times New Roman', Georgia, serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--font-label: 'Inter', system-ui, sans-serif;

	--warm-white: 40 33% 99%;
	--ivory: 43 30% 95%;
	--stone: 40 18% 89%;
	--slate: 205 8% 45%;
	--charcoal: 195 6% 13%;
	--sage: 110 11% 66%;
	--gold: 40 42% 59%;
	--olive: 57 22% 40%;
	--blue: 202 22% 53%;

	--dark-1: 195 6% 13%;
	--dark-2: 200 7% 22%;
	--cream-1: 40 33% 99%;
	--cream-2: 43 30% 95%;
	--caramel: 40 42% 59%;
	--caramel-deep: 57 22% 40%;
	--gothic: 205 8% 45%;
	--dark-body: 205 8% 32%;
	--sand: 40 18% 89%;
	--warm-beige: 43 30% 95%;
	--blush: 43 30% 95%;
	--rose-gold: 40 42% 59%;

	--shadow-soft: 0 1px 2px hsl(var(--charcoal) / 0.04);
	--shadow-elevated: 0 2px 8px hsl(var(--charcoal) / 0.06);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--logo-height: 20px;

	--color-primary: hsl(var(--charcoal));
	--color-button-text: hsl(var(--warm-white));
	--btn-radius: calc(var(--radius) - 1px);
	--btn-height: 0px;
	--btn-padding: 1rem 1.5rem;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.15em;
	--btn-text-transform: uppercase;
	--header-height: 96px;
}

/* ---------- Reset (Tailwind preflight parity) ---------- */
*, ::before, ::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: hsl(var(--border));
}
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	tab-size: 4;
	scroll-behavior: smooth;
	max-width: 100%;
	overflow-x: clip;
}
body {
	margin: 0;
	line-height: inherit;
	max-width: 100%;
	overflow-x: clip;
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-size: inherit;
	font-weight: 400;
	font-family: var(--font-display);
	letter-spacing: -0.015em;
	color: hsl(var(--foreground));
}
p, figure, blockquote, dl, dd, pre { margin: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
img, svg, video, canvas, iframe { display: block; vertical-align: middle; }
img:not(.rw-cover-img):not(.product-card-img):not(.rw-thumb-img), video { max-width: 100%; height: auto; }
button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
}
button, select { text-transform: none; }
button, [type='button'], [type='submit'] {
	-webkit-appearance: button;
	background-color: transparent;
	background-image: none;
	cursor: pointer;
}
button:disabled { cursor: default; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
table { border-collapse: collapse; text-indent: 0; border-color: inherit; }
[hidden] { display: none !important; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* Source base rule: every inline text element is at least 14px. */
p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}
/* Wrapper spans introduced for live-preview hooks must not shrink their parent text. */
span[data-tm]:not([class]), .rw-inh, [data-submit-label], [data-submit-label] span,
.woocommerce-Price-amount, .woocommerce-Price-amount span, .woocommerce-Price-amount bdi,
.rw-product-price span, .rw-product-price bdi, .rw-product-price ins, .rw-product-price del,
.theme-product-card__price span, .theme-product-card__price bdi, .rw-drawer-price span, .rw-drawer-subtotal-value span,
.rw-drawer-subtotal-value bdi, .rw-drawer-price bdi {
	font-size: inherit;
}
.rw-product-price ins { text-decoration: none; }

/* ---------- Brand utilities ---------- */
.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-reading { width: 100%; max-width: 48rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) {
	.container-wide, .container-reading { padding-left: 2rem; padding-right: 2rem; }
}

.cs-label {
	font-family: var(--font-label);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 14px;
	line-height: 1.2;
	color: hsl(var(--slate));
}
.cs-display {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
}
.cs-section-dark { background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); }
.cs-section-cream { background-color: hsl(var(--ivory)); color: hsl(var(--foreground)); }
.cs-section-cream-alt { background-color: hsl(var(--warm-white)); color: hsl(var(--foreground)); }
.cs-section-sand { background-color: hsl(var(--stone)); color: hsl(var(--foreground)); }
.cs-rule { width: 40px; height: 1px; background-color: hsl(var(--gold)); }
.text-slate { color: hsl(var(--slate)); }
.text-gold { color: hsl(var(--gold)); }

/* ---------- Animations (ported from the source) ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rw-dialog-in {
	from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes rw-dialog-out {
	from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); }
}
@keyframes rw-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rw-overlay-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes rw-fade-form { from { opacity: 0; } to { opacity: 1; } }
@keyframes rw-success-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }

/* ---------- Buttons ---------- */
.btn-cta {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 56px; padding-left: 2rem; padding-right: 2rem;
	font-family: var(--font-body, inherit);
	font-size: 18px; line-height: 1.6; letter-spacing: 0.1em; text-transform: uppercase;
	background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white));
	transition: transform 300ms ease, opacity 300ms ease;
}
.btn-cta:hover { opacity: 0.85; }
.btn-cta:disabled { opacity: 0.6; }

.rw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	white-space: nowrap; border-radius: 9999px; border: 1px solid hsl(var(--primary));
	font-family: var(--font-body); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	height: 2.75rem; padding: 0.75rem 2rem;
	transition: color 150ms, background-color 150ms, border-color 150ms, transform 300ms ease, opacity 300ms ease;
}
.rw-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.rw-btn--default { background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); }
.rw-btn--default:hover { background-color: hsl(var(--charcoal)); color: hsl(var(--primary)); }
.rw-btn--outline { background-color: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--foreground) / 0.4); }
.rw-btn--outline:hover { border-color: hsl(var(--foreground)); background-color: hsl(var(--foreground)); color: hsl(var(--background)); }
.rw-btn--checkout { width: 100%; height: 3rem; padding: 0.875rem 2.5rem; background-color: hsl(var(--charcoal)); color: hsl(var(--cream-1)); }
.rw-btn--checkout:hover { background-color: hsl(var(--caramel)); color: hsl(var(--charcoal)); }
.rw-btn--sm { width: 100%; height: 2.25rem; padding: 0.5rem 1.25rem; font-size: 11px; }
.rw-btn-shimmer:hover { opacity: 0.9; }
.rw-cm-submit { height: 2.75rem; }
.rw-cm-submit .rw-icon-16 { margin-left: 0.5rem; }

/* ---------- Icons ---------- */
.rw-icon-12 { width: 0.75rem; height: 0.75rem; }
.rw-icon-14 { width: 0.875rem; height: 0.875rem; }
.rw-icon-16 { width: 1rem; height: 1rem; }
.rw-icon-20 { width: 1.25rem; height: 1.25rem; }
.rw-icon-24 { width: 1.5rem; height: 1.5rem; }
.rw-icon-28 { width: 1.75rem; height: 1.75rem; }
.rw-icon-32 { width: 2rem; height: 2rem; }
.rw-icon-44 { width: 2.75rem; height: 2.75rem; }
.rw-icon-48 { width: 3rem; height: 3rem; }
.rw-icon-btt { width: 1.25rem; height: 1.25rem; }
.rw-mr-2 { margin-right: 0.5rem; }
.rw-ml-3 { margin-left: 0.75rem; }

/* ---------- Spacing / text helpers ---------- */
.rw-mt-3 { margin-top: 0.75rem; }
.rw-mt-4 { margin-top: 1rem; }
.rw-mt-5 { margin-top: 1.25rem; }
.rw-mt-6 { margin-top: 1.5rem; }
.rw-mx-auto { margin-left: auto; margin-right: auto; }
.rw-center { text-align: center; }
.rw-relative { position: relative; }
.rw-hidden { display: none; }
.rw-resize-none { resize: none; }
.rw-body-18 { font-family: var(--font-body); font-size: 18px; color: hsl(var(--slate)); }
.rw-lh-16 { line-height: 1.6; }
.rw-lh-17 { line-height: 1.7; }
.rw-lh-175 { line-height: 1.75; }
.rw-br-md { display: none; }
@media (min-width: 768px) { .rw-br-md { display: inline; } }

/* ---------- Layout ---------- */
.rw-main { display: block; }
.rw-home { background-color: hsl(var(--warm-white)); color: hsl(var(--charcoal)); }
.rw-section { border-bottom: 1px solid hsl(var(--border)); }
.rw-section-inner { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .rw-section-inner { padding-top: 7rem; padding-bottom: 7rem; } }
.rw-grid-12 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.rw-items-center { align-items: center; }
.rw-items-start { align-items: start; }
@media (min-width: 1024px) {
	.rw-grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.rw-col-5 { grid-column: span 5 / span 5; }
	.rw-col-7 { grid-column: span 7 / span 7; }
}

.rw-h2 { color: hsl(var(--foreground)); }
.rw-h2--lg, .rw-h2--md { font-size: 30px; line-height: 1.2; }
.rw-h2--card { font-size: 26px; line-height: 1.25; margin-top: 1.25rem; }
@media (min-width: 640px) {
	.rw-h2--lg, .rw-h2--md { font-size: 38px; }
	.rw-h2--card { font-size: 30px; }
}
@media (min-width: 1024px) { .rw-h2--lg { font-size: 44px; } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
	border-bottom: 1px solid transparent;
	background-color: hsl(var(--warm-white));
	transition: background-color 500ms var(--transition-smooth), border-color 500ms var(--transition-smooth), height 500ms var(--transition-smooth);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled {
	background-color: hsl(var(--warm-white) / 0.95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom-color: hsl(var(--border));
}
.rw-nav {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	height: 5rem; transition: all 500ms var(--transition-smooth);
}
@media (min-width: 768px) { .rw-nav { height: 6rem; } }
.site-header.is-scrolled .rw-nav { height: 76px; }
.rw-brand { display: flex; align-items: center; flex-shrink: 0; transition: opacity 300ms var(--transition-smooth); }
.rw-brand:hover { opacity: 0.7; }
.rw-wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { display: block; line-height: var(--logo-height); font-family: var(--font-display); font-size: var(--logo-height); color: hsl(var(--charcoal)); }
@media (max-width: 767px) { .site-logo-img { height: calc(var(--logo-height) * 0.85) !important; } }

.rw-nav-desktop { display: none; align-items: center; gap: 2rem; margin-left: auto; }
@media (min-width: 1024px) { .rw-nav-desktop { display: flex; } }
.rw-nav-list { display: flex; align-items: center; gap: 2rem; }
.rw-nav-link {
	font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: hsl(var(--slate));
	cursor: pointer; transition: color 150ms;
}
.rw-nav-link:hover { color: hsl(var(--charcoal)); }
.rw-cart-btn { position: relative; padding: 0.5rem; color: hsl(var(--charcoal)); transition: opacity 300ms var(--transition-smooth); }
.rw-cart-btn:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute; top: -0.25rem; right: -0.25rem; min-width: 20px; height: 1.25rem; padding: 0 0.25rem;
	border-radius: 9999px; background-color: hsl(var(--gold)); color: hsl(var(--charcoal));
	font-family: var(--font-body); font-size: 14px; line-height: 20px; text-align: center;
}
.theme-cart-count:empty { display: none; }
.rw-header-cta {
	display: inline-flex; align-items: center; justify-content: center; min-height: 56px;
	font-family: var(--font-body); font-size: 18px; line-height: 1.6; letter-spacing: 0.1em; text-transform: uppercase;
	background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); padding: 0 1.75rem;
	transition: opacity 300ms var(--transition-smooth);
}
.rw-header-cta:hover { opacity: 0.85; }
.rw-header-cta--mobile { margin-top: 0.75rem; margin-bottom: 0.5rem; padding: 0 1.5rem; display: flex; }
.rw-nav-mobile-controls { display: flex; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .rw-nav-mobile-controls, .rw-mobile-menu { display: none !important; } }
.rw-menu-toggle { padding: 0.5rem; color: hsl(var(--charcoal)); transition: opacity 300ms var(--transition-smooth); }
.rw-menu-toggle:hover { opacity: 0.6; }
.rw-menu-icon-close { display: none; }
.rw-menu-toggle.is-open .rw-menu-icon-open { display: none; }
.rw-menu-toggle.is-open .rw-menu-icon-close { display: inline-flex; }
.rw-mobile-menu { border-top: 1px solid hsl(var(--border)); padding: 1rem 0; }
.rw-mobile-list { display: flex; flex-direction: column; }
.rw-mobile-list .rw-nav-link {
	display: flex; align-items: center; min-height: 56px; text-align: left; color: hsl(var(--charcoal));
	transition: opacity 300ms var(--transition-smooth);
}
.rw-mobile-list .rw-nav-link:hover { opacity: 0.6; color: hsl(var(--charcoal)); }

/* ---------- Hero ---------- */
.rw-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid hsl(var(--border)); }
.rw-hero-video { position: absolute; inset: 0; z-index: -20; width: 100%; height: 100%; object-fit: cover; }
.rw-hero-overlay {
	position: absolute; inset: 0; z-index: -10;
	background: linear-gradient(100deg, hsl(var(--warm-white) / 0.94) 0%, hsl(var(--warm-white) / 0.86) 45%, hsl(var(--warm-white) / 0.62) 100%);
}
.rw-hero-inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .rw-hero-inner { padding-top: 6rem; padding-bottom: 6rem; } }
.rw-hero-copy { order: 2; }
.rw-hero-cover { order: 1; }
@media (min-width: 1024px) {
	.rw-hero-copy { order: 1; grid-column: span 7 / span 7; }
	.rw-hero-cover { order: 2; grid-column: span 5 / span 5; }
}
.rw-hero-title { font-size: 34px; line-height: 1.12; }
@media (min-width: 640px) { .rw-hero-title { font-size: 44px; } }
@media (min-width: 1024px) { .rw-hero-title { font-size: 56px; } }
.rw-hero-text { margin-top: 1.75rem; max-width: 42rem; line-height: 1.7; }
.rw-hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.rw-listen-btn {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
	width: 132px; height: 132px; border-radius: 9999px; background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white));
	transition: opacity 300ms; 
}
.rw-listen-btn:hover { opacity: 0.85; }
.rw-listen-label { font-family: var(--font-body); font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.6; }
.rw-listen-note { font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: hsl(var(--slate)); max-width: 28rem; }
.rw-cover-380 { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; height: auto; }
.rw-cover-400 { width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; height: auto; }

/* ---------- Story ---------- */
.rw-story-img { width: 100%; height: auto; object-fit: cover; border: 1px solid hsl(var(--border)); }
.rw-quote { margin-top: 2rem; border-left: 2px solid hsl(var(--gold)); padding-left: 1.5rem; }
@media (min-width: 640px) { .rw-quote { padding-left: 2rem; } }
.rw-signature { font-family: var(--font-display); margin-top: 2rem; font-size: 20px; line-height: 1.6; color: hsl(var(--charcoal)); }

/* ---------- Book ---------- */
.rw-check-list { margin-top: 2rem; }
.rw-check-list li { display: flex; align-items: flex-start; gap: 1rem; }
.rw-check-list li + li { margin-top: 1.25rem; }
.rw-check-circle {
	margin-top: 0.25rem; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
	width: 1.5rem; height: 1.5rem; border-radius: 9999px; border: 1px solid hsl(var(--gold));
}
.rw-price-line { font-family: var(--font-display); margin-top: 2.5rem; font-size: 26px; line-height: 1.4; color: hsl(var(--charcoal)); }
@media (min-width: 640px) { .rw-price-line { font-size: 30px; } }
.rw-book-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .rw-book-actions { flex-direction: row; } }
.rw-book-btn {
	flex: 1 1 0%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 56px;
	padding: 0 1.5rem; font-family: var(--font-body); font-size: 18px; line-height: 1.6; letter-spacing: 0.1em; text-transform: uppercase;
	transition: opacity 300ms var(--transition-smooth);
}
@media (min-width: 640px) { .rw-book-btn { padding: 0 2.25rem; } }
.rw-book-btn:hover { opacity: 0.85; }
.rw-book-btn--solid { background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); }
.rw-book-btn--outline { border: 1px solid hsl(var(--charcoal)); color: hsl(var(--charcoal)); background-color: transparent; }

/* ---------- Presentation ---------- */
.rw-watch-wrap { margin: 3rem auto 0; width: 100%; max-width: 56rem; }
.rw-presentation { width: 100%; height: auto; background-color: hsl(var(--charcoal)); }
.rw-sound-btn {
	position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 56px; padding: 0 1.5rem;
	background-color: hsl(var(--charcoal) / 0.9); color: hsl(var(--warm-white));
	font-family: var(--font-body); font-size: 18px; line-height: 1.6; transition: opacity 300ms var(--transition-smooth);
}
.rw-sound-btn:hover { opacity: 0.85; }

/* ---------- About ---------- */
.rw-about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .rw-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rw-about-grid { gap: 2.5rem; } }
.rw-about-wide { margin-top: 2rem; }
@media (min-width: 1024px) { .rw-about-wide { margin-top: 2.5rem; } }
.rw-about-card {
	background-color: hsl(var(--warm-white)); border: 1px solid hsl(var(--border)); padding: 2rem;
	display: flex; flex-direction: column; height: 100%;
	transition: transform 500ms var(--transition-smooth);
}
.rw-about-wide .rw-about-card { height: auto; }
@media (min-width: 1024px) { .rw-about-card { padding: 2.5rem; } }
.rw-about-card:hover { transform: translateY(-0.25rem); }

/* ---------- How ---------- */
.rw-steps-wrap { position: relative; margin-top: 3.5rem; }
.rw-steps-line { display: none; position: absolute; left: 16%; right: 16%; top: 86px; height: 1px; background-color: hsl(var(--border)); }
@media (min-width: 768px) { .rw-steps-line { display: block; } }
.rw-steps-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .rw-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rw-steps-grid { gap: 3.5rem; } }
.rw-step-card {
	text-align: center; background-color: hsl(var(--ivory)); border: 1px solid hsl(var(--border)); padding: 2.5rem 2rem;
	transition: transform 500ms var(--transition-smooth);
}
.rw-step-card:hover { transform: translateY(-0.25rem); }
.rw-step-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 9999px;
	background-color: hsl(var(--warm-white)); border: 1px solid hsl(var(--gold));
}
.rw-step-label { display: block; margin-top: 1.5rem; }
.rw-step-title { margin-top: 1rem; font-size: 24px; line-height: 1.35; }

/* ---------- FAQ ---------- */
.rw-faq-list { margin-top: 3rem; border-top: 1px solid hsl(var(--border)); }
.rw-faq-item { border-bottom: 1px solid hsl(var(--border)); }
.rw-faq-q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left;
	min-height: 56px; padding: 1.25rem 0; transition: opacity 300ms var(--transition-smooth);
}
.rw-faq-q:hover { opacity: 0.7; }
.rw-faq-q-text { font-family: var(--font-display); font-size: 20px; line-height: 1.5; color: hsl(var(--charcoal)); }
@media (min-width: 640px) { .rw-faq-q-text { font-size: 22px; } }
.rw-faq-icon { flex-shrink: 0; color: hsl(var(--slate)); display: inline-flex; }
.rw-faq-icon--minus { display: none; }
.rw-faq-q[aria-expanded='true'] .rw-faq-icon--plus { display: none; }
.rw-faq-q[aria-expanded='true'] .rw-faq-icon--minus { display: inline-flex; }
.rw-faq-a { padding-bottom: 1.5rem; padding-right: 2.5rem; }

/* ---------- Contact section ---------- */
.rw-contact-form { margin-top: 3rem; }
.rw-contact-form > * + * { margin-top: 1.5rem; }
.rw-contact-label { display: block; margin-bottom: 0.5rem; font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: hsl(var(--charcoal)); }
.rw-contact-field {
	width: 100%; min-height: 56px; padding: 0.875rem 1rem; background-color: hsl(var(--warm-white)); border: 1px solid hsl(var(--border));
	font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: hsl(var(--charcoal)); border-radius: 0;
}
.rw-contact-field::placeholder, .rw-cm-field::placeholder, .rw-ty-input::placeholder { color: hsl(var(--slate) / 0.6); }
.rw-contact-field:focus, .rw-cm-field:focus, .rw-ty-input:focus { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px hsl(var(--gold) / 0.5); }
.rw-contact-note { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: hsl(var(--slate)); }
.rw-contact-error, .rw-cm-error { font-family: var(--font-body); font-size: 14px; color: hsl(var(--destructive)); }
.rw-contact-submit { width: 100%; }
@media (min-width: 640px) { .rw-contact-submit { width: auto; } }
.rw-contact-success { margin-top: 3rem; text-align: center; }
.rw-contact-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 9999px; background-color: hsl(var(--gold)); color: hsl(var(--charcoal)); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid hsl(var(--border)); background-color: hsl(var(--warm-white)); }
.rw-footer-inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .rw-footer-inner { padding-top: 5rem; padding-bottom: 5rem; } }
.rw-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 768px) {
	.rw-footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.rw-footer-brand { grid-column: span 5 / span 5; }
	.rw-footer-nav { grid-column: span 3 / span 3; }
	.rw-footer-support { grid-column: span 4 / span 4; }
}
.rw-footer-text { margin-top: 1.5rem; max-width: 24rem; font-family: var(--font-body); font-size: 18px; line-height: 1.7; color: hsl(var(--slate)); }
.rw-footer-list { margin-top: 1.5rem; }
.rw-footer-list li + li { margin-top: 0.75rem; }
.rw-footer-link { font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: hsl(var(--slate)); text-align: left; transition: color 150ms; }
.rw-footer-link:hover { color: hsl(var(--charcoal)); }
.rw-footer-bottom {
	margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid hsl(var(--border));
	display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
}
@media (min-width: 640px) { .rw-footer-bottom { flex-direction: row; align-items: center; } }
.rw-footer-copy { font-family: var(--font-body); font-size: 18px; line-height: 1.7; color: hsl(var(--slate)); }
.rw-footer-top { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: hsl(var(--slate)); transition: color 150ms; }
.rw-footer-top:hover { color: hsl(var(--charcoal)); }

.rw-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 2.5rem; height: 2.5rem; border-radius: 9999px;
	background-color: hsl(var(--primary)); color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none; transition: transform 200ms, opacity 200ms;
}
.rw-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.rw-back-to-top:hover { transform: scale(1.1); }
@media (min-width: 768px) {
	.rw-back-to-top { width: 3rem; height: 3rem; }
	.rw-icon-btt { width: 1.5rem; height: 1.5rem; }
}

/* ---------- Listen pop-up ---------- */
.rw-listen {
	position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem;
	background-color: hsl(var(--charcoal) / 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	animation: fadeIn 0.5s var(--transition-smooth) forwards;
}
.rw-listen-inner { position: relative; width: 100%; max-width: 56rem; }
.rw-listen-close {
	position: absolute; top: -3.5rem; right: 0; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 56px; padding: 0 1.25rem;
	color: hsl(var(--warm-white)); font-family: var(--font-body); font-size: 18px; line-height: 1.6; transition: opacity 300ms var(--transition-smooth);
}
.rw-listen-close:hover { opacity: 0.7; }

/* ---------- Dialogs (privacy, terms, contact) ---------- */
.rw-dialog { position: fixed; inset: 0; z-index: 50; }
.rw-dialog-overlay { position: absolute; inset: 0; background-color: rgb(0 0 0 / 0.8); animation: rw-overlay-in 150ms ease both; }
.rw-dialog.is-closing .rw-dialog-overlay { animation: rw-overlay-out 150ms ease both; }
.rw-dialog-content {
	position: fixed; left: 50%; top: 50%; z-index: 51; display: grid; gap: 1rem; width: 100%; max-width: 32rem;
	max-height: 90vh; overflow-y: auto; transform: translate(-50%, -50%);
	border: 1px solid hsl(var(--border)); background-color: hsl(var(--warm-white)); padding: 1.5rem;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	animation: rw-dialog-in 200ms ease both; outline: none;
}
.rw-dialog.is-closing .rw-dialog-content { animation: rw-dialog-out 200ms ease both; }
@media (min-width: 640px) {
	.rw-dialog-content { border-radius: var(--radius); }
	.rw-dialog-content--lg { max-width: 42rem; max-height: 85vh; }
}
.rw-dialog-header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .rw-dialog-header { text-align: left; } }
.rw-dialog-title { font-size: 1.875rem; font-weight: 600; line-height: 1; letter-spacing: -0.025em; color: hsl(var(--charcoal)); }
.rw-dialog-desc { font-family: var(--font-body); font-size: 15px; color: hsl(var(--slate)); }
.rw-dialog-close { position: absolute; right: 1rem; top: 1rem; border-radius: 2px; opacity: 0.7; transition: opacity 150ms; }
.rw-dialog-close:hover { opacity: 1; }
.rw-dialog-close:focus { outline: none; box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring)); }
.rw-legal-body { padding-top: 0.5rem; }
.rw-legal-block { margin-top: 1.5rem; }
.rw-legal-block:first-child { margin-top: 0; }
.rw-legal-block h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; color: hsl(var(--charcoal)); }
.rw-legal-block > div { margin-top: 0.5rem; font-family: var(--font-body); font-size: 15px; line-height: 1.625; color: hsl(var(--slate)); }
.rw-legal-block > div > * + * { margin-top: 0.75rem; }
.rw-legal-block ul { list-style: disc; padding-left: 1.25rem; }
.rw-legal-block ul > li + li { margin-top: 0.5rem; }

.rw-cm-form { display: grid; gap: 1rem; animation: rw-fade-form 0.3s ease both; }
.rw-cm-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .rw-cm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rw-cm-label { display: block; margin-bottom: 0.375rem; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: hsl(var(--charcoal)); }
.rw-cm-field {
	width: 100%; padding: 0.625rem 0.75rem; background-color: hsl(var(--ivory)); border: 1px solid hsl(var(--border));
	font-family: var(--font-body); font-size: 15px; color: hsl(var(--charcoal)); border-radius: calc(var(--radius) - 2px);
}
.rw-cm-note { font-family: var(--font-body); font-size: 14px; color: hsl(var(--slate)); }
.rw-cm-actions { display: flex; justify-content: flex-end; }
.rw-cm-success { text-align: center; padding: 2rem 0; animation: rw-success-in 0.3s ease both; }
.rw-cm-success-icon { width: 3.5rem; height: 3.5rem; background-color: hsl(var(--gold)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 9999px; color: hsl(var(--charcoal)); }
.rw-cm-success-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.5rem; color: hsl(var(--charcoal)); }
.rw-cm-success-text { font-family: var(--font-body); font-size: 15px; color: hsl(var(--slate)); }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 50; background-color: hsl(var(--foreground) / 0.4); display: none; }
body.cart-open #theme-cart-overlay { display: block; }
body.cart-anim #theme-cart-overlay { animation: fadeIn 0.5s var(--transition-smooth) forwards; }
body.cart-open #theme-cart-overlay.is-updating { opacity: 0.55; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 50;
	background-color: hsl(var(--background)); box-shadow: var(--shadow-elevated); display: none; flex-direction: column;
}
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-anim #theme-cart-drawer { animation: slideUp 0.5s var(--transition-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.rw-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid hsl(var(--border)); }
.rw-drawer-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 500; color: hsl(var(--charcoal)); }
.rw-drawer-close { padding: 0.25rem; transition: opacity 150ms; }
.rw-drawer-close:hover { opacity: 0.6; }
.rw-drawer-empty { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.rw-drawer-empty svg { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.rw-drawer-empty-text { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; font-family: var(--font-body); }
.rw-drawer-items { flex: 1 1 0%; overflow: auto; padding: 1.5rem; }
.rw-drawer-items > * + * { margin-top: 1.5rem; }
.rw-drawer-item { display: flex; gap: 1rem; }
.rw-drawer-thumb { position: relative; display: block; width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; background-color: hsl(var(--secondary)); border-radius: calc(var(--radius) - 1px); }
.rw-cover-img, .product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.rw-drawer-info { flex: 1 1 0%; min-width: 0; }
.rw-drawer-name {
	display: block; font-family: var(--font-body); font-size: 14px; line-height: 1.25rem; font-weight: 500; color: hsl(var(--charcoal));
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 150ms;
}
.rw-drawer-name:hover { opacity: 0.7; }
.rw-drawer-price { margin-top: 0.125rem; font-family: var(--font-body); font-size: 14px; line-height: 1.25rem; font-weight: 600; color: hsl(var(--caramel-deep)); }
.rw-drawer-variation { font-family: var(--font-body); font-size: 14px; color: hsl(var(--muted-foreground)); }
.rw-drawer-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.rw-drawer-qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 150ms, color 150ms; }
.rw-drawer-qty-btn:hover { background-color: hsl(var(--secondary)); }
.rw-drawer-qty { font-family: var(--font-body); font-size: 14px; line-height: 1.25rem; width: 1.5rem; text-align: center; }
.rw-drawer-remove { margin-left: auto; font-family: var(--font-body); font-size: 14px; line-height: 1.25rem; color: hsl(var(--muted-foreground)); transition: color 150ms; }
.rw-drawer-remove:hover { color: hsl(var(--foreground)); }
.rw-drawer-foot { padding: 1.5rem; border-top: 1px solid hsl(var(--border)); }
.rw-drawer-foot > * + * { margin-top: 1rem; }
.rw-drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.rw-drawer-subtotal-label { font-family: var(--font-body); color: hsl(var(--charcoal)); font-weight: 500; }
.rw-drawer-subtotal-value { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; color: hsl(var(--charcoal)); }

/* ---------- Product page ---------- */
.rw-product-main { padding-top: 2.5rem; background-color: hsl(var(--background)); }
@media (min-width: 1024px) { .rw-product-main { padding-top: 3.5rem; } }
.rw-breadcrumb { padding: 1.5rem 0; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: hsl(var(--muted-foreground)); font-family: var(--font-body); }
.rw-breadcrumb a { transition: color 150ms; }
.rw-breadcrumb a:hover { color: hsl(var(--foreground)); }
.rw-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.rw-breadcrumb-current { color: hsl(var(--foreground)); }
.rw-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) {
	.rw-product-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.rw-product-grid .theme-product-gallery { grid-column: span 7 / span 7; }
	.rw-product-grid .theme-product-info { grid-column: span 5 / span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.rw-product-image { position: relative; aspect-ratio: 4 / 5; background-color: hsl(var(--secondary)); overflow: hidden; border-radius: calc(var(--radius) - 1px); box-shadow: var(--shadow-soft); }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; }
.theme-thumb { position: relative; width: 4.5rem; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid transparent; border-radius: calc(var(--radius) - 1px); background-color: hsl(var(--secondary)); }
.theme-thumb.is-active { border-color: hsl(var(--charcoal)); }
.rw-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rw-product-cat { color: hsl(var(--caramel-deep)); }
.rw-product-title { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; line-height: 1.05; margin-top: 0.75rem; margin-bottom: 1.25rem; color: hsl(var(--charcoal)); }
@media (min-width: 768px) { .rw-product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .rw-product-title { font-size: 3.75rem; } }
.rw-product-price { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; color: hsl(var(--charcoal)); }
.rw-stock-out { margin-bottom: 1rem; font-family: var(--font-body); color: hsl(var(--destructive)); }
.rw-product-desc p { color: hsl(var(--muted-foreground)); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); font-size: 16px; }
.rw-qty-block { margin-bottom: 1.5rem; }
.rw-qty-label { color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 1px); background-color: hsl(var(--card)); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 150ms, color 150ms; display: inline-flex; align-items: center; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: hsl(var(--secondary)); }
.theme-qty-input {
	width: 2.75rem; min-width: 44px; padding: 0.5rem 0; text-align: center; font-family: var(--font-body); font-size: 14px; line-height: 1.25rem;
	border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 0; }
.rw-product-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .rw-product-buttons { flex-direction: row; } }
.rw-contact-btn {
	flex: 1 1 0%; background-color: transparent; padding: 1rem 1.5rem; border-radius: calc(var(--radius) - 1px); font-size: 14px; letter-spacing: 0.15em;
	text-transform: uppercase; font-family: var(--font-body); font-weight: 600; transition: background-color 150ms, color 150ms;
	color: hsl(var(--charcoal)) !important; border: 1px solid hsl(var(--charcoal)) !important;
}
.rw-contact-btn:hover { background-color: hsl(var(--charcoal)); color: hsl(var(--cream-1)) !important; }
.rw-details { margin-top: 2.5rem; border-top: 1px solid hsl(var(--border)); }
.rw-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.rw-details-chevron { transition: transform 150ms; }
.rw-details-toggle[aria-expanded='true'] .rw-details-chevron { transform: rotate(180deg); }
.rw-details-body { padding-bottom: 1.5rem; font-family: var(--font-body); }
.rw-details-body li { display: flex; align-items: flex-start; font-size: 15px; color: hsl(var(--muted-foreground)); }
.rw-details-body li + li { margin-top: 0.75rem; }
.rw-details-body li::before { content: ''; flex-shrink: 0; width: 0.375rem; height: 0.375rem; border-radius: 9999px; background-color: hsl(var(--caramel)); margin-top: 0.5rem; margin-right: 0.75rem; }
.rw-details-body p { font-size: 15px; color: hsl(var(--muted-foreground)); }
.rw-details-rule { border-top: 1px solid hsl(var(--border)); }
.rw-related { padding: 5rem 0; border-top: 1px solid hsl(var(--border)); }
.rw-related-head { text-align: center; margin-bottom: 3rem; }
.rw-related-title { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; line-height: 2.5rem; margin-top: 0.75rem; color: hsl(var(--charcoal)); }
@media (min-width: 768px) { .rw-related-title { font-size: 3rem; line-height: 1; } }

/* ---------- Product cards / shop ---------- */
.theme-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { gap: 2rem; } }
.theme-product-card-wrap { height: 100%; min-width: 0; }
.theme-product-card {
	display: flex; flex-direction: column; height: 100%; background-color: #faf3e3; border-radius: calc(var(--radius) - 1px); overflow: hidden;
	border: 1px solid rgb(14 42 59 / 0.15);
	transition: transform 500ms ease-out, border-color 500ms ease-out, box-shadow 500ms ease-out; will-change: transform;
}
.theme-product-card:hover { transform: translateY(-0.5rem); border-color: #b88a3d; box-shadow: 0 18px 40px -18px rgba(14, 42, 59, 0.35); }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 3 / 4; width: 100%; overflow: hidden; background-color: #eed9ac; }
.product-card-img { transition: transform 1100ms ease-out; }
.theme-product-card:hover .product-card-img { transform: scale(1.06); }
.theme-product-card__badge { position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3; padding: 0.25rem 0.75rem; background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); font-family: var(--font-body); font-size: 14px; }
.theme-product-card__info { flex: 1 1 0%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1rem 0.5rem; }
.theme-product-card__text { min-width: 0; }
.theme-product-card__cat { color: #b87333; }
.theme-product-card__title { margin-top: 0.25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.375; color: #0e2a3b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card__price { flex-shrink: 0; white-space: nowrap; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: #0e2a3b; }
@media (min-width: 768px) {
	.theme-product-card__title { font-size: 1.5rem; }
	.theme-product-card__price { font-size: 1.25rem; }
}
.rw-shop-section { padding: 5rem 0; }
.rw-shop-title { font-family: var(--font-display); font-size: 38px; line-height: 1.2; text-align: center; margin-bottom: 3rem; }
.rw-shop-empty { text-align: center; font-family: var(--font-body); }

/* ---------- Pages, checkout shell, 404 ---------- */
.rw-page-main { padding-top: 2.5rem; padding-bottom: 6rem; }
.page-title { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; line-height: 1.1; color: hsl(var(--charcoal)); margin-bottom: 2rem; }
@media (min-width: 768px) { .page-title { font-size: 3.75rem; } }
.entry-content { font-family: var(--font-body); }
.entry-content p { line-height: 1.7; margin-bottom: 1rem; }
.rw-404 { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: hsl(var(--muted)); }
.rw-404-inner { text-align: center; }
.rw-404-title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.rw-404-text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }
.rw-404-link { color: hsl(var(--primary)); text-decoration: underline; }
.rw-404-link:hover { color: hsl(var(--primary) / 0.9); }

/* ---------- Thank you ---------- */
.rw-ty { padding-top: 4rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .rw-ty { padding-top: 6rem; padding-bottom: 7rem; } }
.rw-ty-title { font-size: 40px; line-height: 1.06; margin-top: 1.25rem; color: hsl(var(--charcoal)); }
@media (min-width: 768px) { .rw-ty-title { font-size: 58px; } }
.rw-ty-text { font-family: var(--font-body); font-size: 17px; line-height: 1.625; color: hsl(var(--slate)); margin-top: 1.5rem; max-width: 36rem; }
.rw-ty-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .rw-ty-actions { flex-direction: row; } }
.rw-ty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-body); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 2rem; transition: opacity 300ms var(--transition-smooth); }
.rw-ty-btn--solid { background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); }
.rw-ty-btn--solid:hover { opacity: 0.85; }
.rw-ty-btn--outline { border: 1px solid hsl(var(--charcoal)); color: hsl(var(--charcoal)); }
.rw-ty-btn--outline:hover { opacity: 0.6; }
.rw-ty-cols { margin-top: 3.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 640px) { .rw-ty-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rw-ty-h2 { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: hsl(var(--charcoal)); }
.rw-ty-h2--icon { display: flex; align-items: center; gap: 0.75rem; }
.rw-ty-list { margin-top: 1rem; font-family: var(--font-body); font-size: 15px; line-height: 1.625; color: hsl(var(--slate)); }
.rw-ty-list li { display: flex; gap: 0.75rem; }
.rw-ty-list li + li { margin-top: 0.75rem; }
.rw-ty-check { margin-top: 0.25rem; flex-shrink: 0; }
.rw-ty-small { font-family: var(--font-body); font-size: 15px; line-height: 1.625; color: hsl(var(--slate)); }
.rw-ty-stay { margin-top: 3.5rem; border-top: 1px solid hsl(var(--border)); padding-top: 2.5rem; }
.rw-ty-stay-text { margin-top: 0.75rem; max-width: 32rem; }
.rw-ty-joined { font-family: var(--font-body); font-size: 15px; color: hsl(var(--charcoal)); margin-top: 1.25rem; }
.rw-ty-newsletter-error { font-family: var(--font-body); font-size: 14px; color: hsl(var(--destructive)); margin-top: 0.75rem; max-width: 32rem; }
.rw-ty-form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 32rem; }
@media (min-width: 640px) { .rw-ty-form { flex-direction: row; } }
.rw-ty-embed { margin-top: 1.25rem; max-width: 32rem; }
.rw-ty-embed iframe { max-width: 100%; }
.rw-ty-input { flex: 1 1 0%; min-width: 0; padding: 0.75rem 1rem; background-color: hsl(var(--ivory)); border: 1px solid hsl(var(--border)); font-family: var(--font-body); font-size: 15px; color: hsl(var(--charcoal)); border-radius: calc(var(--radius) - 2px); }
.rw-ty-submit { background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); font-family: var(--font-body); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.75rem 1.5rem; transition: opacity 300ms var(--transition-smooth); }
.rw-ty-submit:hover { opacity: 0.85; }
.rw-ty-disclaimer { font-family: var(--font-body); font-size: 14px; margin-top: 1rem; line-height: 1.625; color: hsl(var(--slate)); }
.rw-ty-notfound { font-family: var(--font-body); }
.rw-ty-order { margin-top: 4rem; }

/* ==========================================================================
   WooCommerce overrides
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem;
	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, background-color 150ms, color 150ms !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}

/* Single product button: source hover is gold, flexible width, sentence sizes from the source. */
.single-product .single_add_to_cart_button.button { flex: 1 1 0%; min-width: 0; }
.single-product .single_add_to_cart_button.button:hover:not(:disabled):not(.disabled) {
	background-color: hsl(var(--caramel)) !important;
	color: hsl(var(--charcoal)) !important;
	opacity: 1 !important;
}
.single-product .single_add_to_cart_button.button.is-added { opacity: 0.7 !important; pointer-events: none !important; }

/* Landing page add-to-cart keeps the outline style of the source. */
a.rw-book-btn.add_to_cart_button {
	background-color: transparent !important;
	color: hsl(var(--charcoal)) !important;
	border: 1px solid hsl(var(--charcoal)) !important;
	border-radius: 0 !important;
	min-height: 56px !important;
	padding: 0 1.5rem !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1.6;
	letter-spacing: 0.1em !important;
	flex: 1 1 0%;
}
@media (min-width: 640px) { a.rw-book-btn.add_to_cart_button { padding: 0 2.25rem !important; } }
a.rw-book-btn.add_to_cart_button:hover { opacity: 0.85 !important; background-color: transparent !important; color: hsl(var(--charcoal)) !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; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart. */
.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; }

/* Notices */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.25rem; font-family: var(--font-body); font-size: 14px;
	border: 1px solid hsl(var(--border)); border-left: 2px solid hsl(var(--gold)); border-radius: var(--radius); background-color: hsl(var(--ivory)); color: hsl(var(--charcoal));
}
.woocommerce-error { border-left-color: hsl(var(--destructive)); }
.woocommerce-error li { font-size: 14px; }

/* Variable products */
.single-product .variations,
.single-product .variations tbody,
.single-product .variations tr,
.single-product .variations td { display: block; width: 100%; }
.single-product .variations td.label { padding-bottom: 0.25rem; }
.single-product .variations td.value { padding-top: 0; padding-bottom: 1rem; }
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.single-product .variations select {
	width: 100%; padding: 0.625rem 0.75rem; background-color: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 1px);
	font-family: var(--font-body); font-size: 15px; color: hsl(var(--charcoal));
}
.single-product .reset_variations { font-size: 14px; color: hsl(var(--muted-foreground)); }
.single-product .woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.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; }
.theme-attr-select-hidden { display: none !important; }

/* ---------- Checkout / cart / account (native blocks) ---------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2.5rem; padding-bottom: 4rem; }
body.woocommerce-checkout .page-title { padding: 0; }
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart { max-width: none; width: 100%; font-family: var(--font-body); color: hsl(var(--charcoal)); }
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout:not(.wc-block-components-sidebar-layout) { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100% !important; max-width: none; margin: 0; padding-left: 0 !important; padding-right: 0 !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 1px);
	padding: 2rem !important; box-shadow: var(--shadow-soft);
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notices { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-components-notice-banner { font-family: var(--font-body); border-radius: var(--radius); }
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.015em; color: hsl(var(--charcoal));
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	color: hsl(var(--charcoal)) !important;
	background-color: hsl(var(--warm-white)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: calc(var(--radius) - 2px) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: 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-textarea textarea:focus {
	outline: 2px solid transparent !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px hsl(var(--caramel) / 0.4) !important;
	border-color: hsl(var(--border)) !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: hsl(var(--charcoal)) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); border: 1px solid hsl(var(--charcoal)); border-radius: 9999px;
	font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; min-height: 3rem;
	transition: background-color 150ms, color 150ms;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background-color: hsl(var(--caramel)); color: hsl(var(--charcoal)); }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-product-name { font-family: var(--font-body); color: hsl(var(--charcoal)); }
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--font-display); color: hsl(var(--charcoal)); }

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button {
	background-color: hsl(var(--charcoal)); color: hsl(var(--warm-white)); border-radius: 9999px; font-family: var(--font-body); font-size: 14px;
	font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}

/* ---------- Order received (thank you) ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); color: hsl(var(--charcoal)); }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding: 1.5rem; margin: 0 0 2.5rem; background-color: hsl(var(--warm-white));
	border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 1px);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; color: hsl(var(--slate)); text-transform: uppercase; letter-spacing: 0.1em; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-size: 16px; letter-spacing: 0; text-transform: none; color: hsl(var(--charcoal)); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; padding: 0 0 1rem 0; color: hsl(var(--charcoal)); }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border: 1px solid hsl(var(--border)); background-color: hsl(var(--warm-white)); }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 1rem; border-bottom: 1px solid hsl(var(--border)); font-size: 15px; text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order-details thead th:last-child,
body.theme-thankyou-page .woocommerce-order-details tbody td:last-child { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7; }

/* ---------- Customizer preview: nothing is hidden behind reveal states ---------- */
body.is-customizer .reveal-item,
body.is-customizer .scale-in-item { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.rw-about-card, .rw-about-card:hover, .rw-step-card, .rw-step-card:hover { transition: none; transform: none; }
}
