/* ============================================================
   Ona Renae Writes — theme.css
   Ported 1:1 from the original site design tokens (src/index.css) —
   see inc/theme-defaults.php for the HSL -> hex color pipeline (Section 6.1).
============================================================ */

:root {
	/* Static (non-editable, derived) tokens — Section 6 */
	--color-secondary: #201924;
	--color-muted: #2a242e;
	--color-accent: #b774e7;
	--color-accent-foreground: #160c1d;
	--color-primary-foreground: #faf9fb;
	--color-emerald-deep: #5d2c96;
	--color-destructive: #c3223d;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0rem;
	--shadow-soft: 0 4px 24px -8px rgba(10, 8, 12, 0.18);
	--shadow-elevated: 0 24px 60px -20px rgba(10, 8, 12, 0.6);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);

	--btn-radius: 0.375rem;
	--btn-height: 3.5rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.95rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.6rem;
	--header-height: 88px;
	--checkout-gap: 2.5rem;

	/* Page layout — mirrors Lovable .container-wide (src/index.css) */
	--page-max-width: 80rem;
	--page-gutter: 1.5rem;

	/* Editable brand tokens — overridden live via wp_add_inline_style (inc/customizer.php) */
	--color-background: #0d0a0f;
	--color-foreground: #f5f3f6;
	--color-card: #151018;
	--color-primary: #8c47d1;
	--color-muted-foreground: #b0a5b6;
	--color-border: #2f2735;
	--color-noir: #0a080c;
	--color-noir-soft: #18131b;
	--color-cream: #f5f3f6;
	--color-brass-light: #d39af4;
	--color-bone: #1a161d;
	--color-emerald: #8c47d1;
	--color-brass: #b774e7;
	--color-card-foreground: #f5f3f6;
	--logo-height: 64px;
}

@media (min-width: 1024px) {
	:root { --page-gutter: 2.5rem; }
}

/* ============================================================
   RESET / BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; border-color: var(--color-border); }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img) { max-width: 100%; height: auto; }
.cover-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	max-width: none;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; }
label[for], summary, [role="button"], [role="link"] { cursor: pointer; }
input[type="submit"], input[type="button"], input[type="reset"] { cursor: pointer; }
button:disabled, input:disabled, .btn-theme.disabled, .btn-theme:disabled { cursor: not-allowed; }

[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.005em;
	margin: 0;
}

::selection { background: color-mix(in srgb, var(--color-primary) 45%, transparent); color: var(--color-cream); }

.sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Lovable: w-full max-w-7xl mx-auto px-6 lg:px-10 */
.container-wide {
	width: 100%;
	max-width: var(--page-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
	min-width: 0;
}

/* Grid/flex children must shrink inside .container-wide (prevents mobile overflow) */
.about-section__grid > *,
.books-section__intro > *,
.book-card__inner > *,
.writing-section__intro > *,
.writing-section__grid > *,
.shop-section__intro > *,
.faq-section__grid > *,
.contact-section__grid > *,
.cta-band__grid > *,
.hero-section__max {
	min-width: 0;
}

/* WP block / WooCommerce wrappers must not collapse themed gutters */
.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > .wp-block-group.alignwide,
.entry-content > .wp-block-group.alignfull {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	max-width: 100%;
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* WordPress admin bar — keep fixed header below toolbar when logged in */
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
body.admin-bar .site-header { top: var(--admin-bar-height); }
body.admin-bar .faq-section__media { top: calc(7rem + var(--admin-bar-height)); }
body.admin-bar #theme-cart-drawer { top: var(--admin-bar-height); }
body.admin-bar .scroll-mt-24 { scroll-margin-top: calc(6rem + var(--admin-bar-height)); }

.eyebrow {
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
	display: block;
	overflow-wrap: anywhere;
}

.brass-rule { display: block; height: 1px; width: 3rem; background: var(--color-accent); margin: 2rem 0; }

.surface-noir { background: var(--color-noir); color: var(--color-cream); }

/* ============================================================
   SECTION HEADINGS — per-section scales (Section 2.2 rule 5)
============================================================ */
.section-heading { font-family: var(--font-display); font-weight: 500; line-height: 1.05; overflow-wrap: break-word; }
.section-heading em { font-style: italic; color: var(--color-primary); }

.about-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px)  { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.75rem; } }

.books-section .section-heading,
.writing-section .section-heading,
.shop-section .section-heading,
.faq-section .section-heading,
.contact-section .section-heading {
	font-size: 2.25rem; margin-top: 0.75rem;
}
@media (min-width: 768px) {
	.books-section .section-heading, .writing-section .section-heading,
	.shop-section .section-heading, .faq-section .section-heading, .contact-section .section-heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.books-section .section-heading, .writing-section .section-heading,
	.shop-section .section-heading, .faq-section .section-heading, .contact-section .section-heading { font-size: 3.75rem; }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-theme {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	white-space: nowrap;
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), opacity 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}
.btn-theme--lg { height: 3.5rem; padding: 0 2.25rem; }
.btn-theme--primary {
	background: var(--color-primary); color: var(--color-primary-foreground);
	box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-theme--primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, white 0%); transform: translateY(-2px); box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent); }
.btn-theme--outline {
	background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground);
}
.btn-theme--outline:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.btn-theme--outline-dark {
	background: transparent; border: 1px solid color-mix(in srgb, var(--color-cream) 40%, transparent); color: var(--color-cream);
}
.btn-theme--outline-dark:hover { background: color-mix(in srgb, var(--color-cream) 10%, transparent); border-color: color-mix(in srgb, var(--color-cream) 70%, transparent); transform: translateY(-2px); }
.btn-theme.disabled, .btn-theme:disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }

/* ============================================================
   ANIMATION / REVEAL SYSTEM (Section 2.1)
============================================================ */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-fade-blur-up { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes theme-slide-left { from { opacity: 0; transform: translateX(-48px); filter: blur(6px); } to { opacity: 1; transform: translateX(0); filter: blur(0); } }
@keyframes theme-slide-right { from { opacity: 0; transform: translateX(48px); filter: blur(6px); } to { opacity: 1; transform: translateX(0); filter: blur(0); } }
@keyframes theme-word-reveal { from { opacity: 0; transform: translateY(0.6em); filter: blur(10px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes theme-scale-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	filter: blur(8px);
	transition: opacity 0.95s var(--easeOutExpo), transform 0.95s var(--easeOutExpo), filter 0.95s var(--easeOutExpo);
	will-change: opacity, transform, filter;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Slide reveals — x-only motion (no blur bleed over stacked siblings; matches Lovable slideInLeft/Right) */
.reveal-item.reveal-slide-left {
	opacity: 0;
	transform: translate3d(-48px, 0, 0);
	filter: none;
}
.reveal-item.reveal-slide-left.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	filter: none;
}
.reveal-item.reveal-slide-right {
	opacity: 0;
	transform: translate3d(48px, 0, 0);
	filter: none;
}
.reveal-item.reveal-slide-right.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	filter: none;
}

/* Legacy single-class hooks (about-section, etc.) */
.reveal-slide-left:not(.reveal-item) { transform: translateX(-48px); }
.reveal-slide-left:not(.reveal-item).is-visible { transform: translateX(0); }
.reveal-slide-right:not(.reveal-item) { transform: translateX(48px); }
.reveal-slide-right:not(.reveal-item).is-visible { transform: translateX(0); }

/* Hero content reveals immediately on load (not scroll-triggered) with a stagger. */
.reveal-word { opacity: 0; transform: translateY(0.5em); filter: blur(8px); animation: theme-word-reveal 0.9s var(--easeOutExpo) forwards; }
.hero-section__eyebrow.reveal-word { animation-delay: 0.55s; }
.hero-section__heading .reveal-word { animation-delay: 0.7s; }
.hero-section__paragraph.reveal-word { animation-delay: 0.9s; }
.hero-section__ctas.reveal-word { animation-delay: 1s; transform: translateY(20px); }

/* Customizer preview fallback (Section 2.1 rule 5) — never hide content being edited. */
body.is-customizer .reveal-item,
body.is-customizer .reveal-word {
	opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-word, .btn-theme, .theme-product-card, .pillar-card {
		animation: none !important; transition: none !important;
		opacity: 1 !important; transform: none !important; filter: none !important;
	}
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	transition: background-color 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
	background: transparent;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.mobile-open {
	background: color-mix(in srgb, var(--color-noir) 95%, transparent);
	backdrop-filter: blur(24px) saturate(150%);
	-webkit-backdrop-filter: blur(24px) saturate(150%);
	border-bottom: 1px solid var(--color-noir-soft);
	box-shadow: 0 1px 0 0 color-mix(in srgb, var(--color-brass) 15%, transparent);
}
.site-header__gradient {
	position: absolute; inset: 0 0 auto 0; height: 8rem; pointer-events: none;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-noir) 85%, transparent), color-mix(in srgb, var(--color-noir) 45%, transparent), transparent);
	opacity: 1; transition: opacity 0.4s ease;
}
.site-header.is-solid .site-header__gradient,
.site-header.is-scrolled .site-header__gradient,
.site-header.mobile-open .site-header__gradient { opacity: 0; }

.site-header__inner { position: relative; z-index: 1; }
.site-header__nav { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: 5rem; min-width: 0; }
@media (min-width: 1024px) { .site-header__nav { height: 6rem; } }

.site-header__brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex-shrink: 1; }
.site-header__logo-frame {
	position: relative; border-radius: 50%; padding: 0.25rem;
	background: var(--color-noir-soft);
	border: 1px solid color-mix(in srgb, var(--color-brass) 30%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-brass) 15%, transparent), 0 6px 20px -6px color-mix(in srgb, var(--color-noir) 45%, transparent);
	transition: transform 0.3s ease;
}
.site-header__brand:hover .site-header__logo-frame { transform: scale(1.04); }
.site-header__brand-text { display: none; font-family: var(--font-display); font-style: italic; font-size: 1rem; letter-spacing: 0.02em; color: var(--color-cream); }
.site-header__brand-text em { font-style: normal; color: var(--color-brass-light); }
@media (min-width: 640px) { .site-header__brand-text { display: block; } }

.site-header__links { display: none; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: 1.5rem; min-width: 0; }
@media (min-width: 1024px) { .site-header__links { display: flex; } }
@media (min-width: 1024px) { .site-header__links { gap: 1.75rem; margin-right: 2rem; } }

.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1024px) { .theme-nav-list { gap: 1.75rem; } }
.theme-nav-list li { list-style: none; }
.theme-nav-list > a, .theme-nav-list li > a, .theme-nav-link {
	position: relative; display: inline-block;
	font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--color-cream); text-shadow: 0 1px 12px color-mix(in srgb, var(--color-noir) 70%, transparent);
	transition: color 0.3s ease; cursor: pointer;
}
.site-header.is-solid .theme-nav-list > a, .site-header.is-scrolled .theme-nav-list > a,
.site-header.is-solid .theme-nav-link, .site-header.is-scrolled .theme-nav-link { text-shadow: none; }
.theme-nav-list > a::after, .theme-nav-list li > a::after, .theme-nav-link::after {
	content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.5s var(--transition-smooth);
}
.theme-nav-list > a:hover, .theme-nav-link:hover { color: var(--color-brass-light); }
.theme-nav-list > a:hover::after, .theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions {
	display: flex; align-items: center; gap: 0.25rem;
	flex-shrink: 0; margin-left: auto; position: relative; z-index: 3;
}
.site-header__cart-btn,
.site-header__menu-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	color: var(--color-cream);
	transition: color 0.2s ease;
	cursor: pointer;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}
.site-header__cart-btn:hover,
.site-header__menu-toggle:hover { color: var(--color-brass-light); }
.site-header__cart-btn .theme-icon,
.site-header__menu-toggle .theme-icon {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
	flex-shrink: 0;
}
.site-header:not(.is-scrolled):not(.is-solid):not(.mobile-open) .site-header__cart-btn,
.site-header:not(.is-scrolled):not(.is-solid):not(.mobile-open) .site-header__menu-toggle {
	filter: drop-shadow(0 1px 12px color-mix(in srgb, var(--color-noir) 70%, transparent));
}
.theme-cart-count {
	position: absolute; top: 0.125rem; right: 0.125rem; width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 500;
	background: var(--color-primary); color: var(--color-cream); border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.site-header__menu-toggle { display: none; }
@media (max-width: 1023px) { .site-header__menu-toggle { display: inline-flex; } }
.site-header__menu-toggle .theme-icon-menu { display: inline-flex; align-items: center; justify-content: center; }
.site-header__menu-toggle .theme-icon-close { display: none; align-items: center; justify-content: center; }
.site-header__menu-toggle.is-open .theme-icon-menu { display: none; }
.site-header__menu-toggle.is-open .theme-icon-close { display: inline-flex; }

@media (max-width: 1023px) {
	.site-header .site-logo-img {
		height: 3.25rem !important;
		width: 3.25rem !important;
	}
}

.site-header__mobile { display: none; border-top: 1px solid var(--color-noir-soft); padding: 1rem 0; background: var(--color-noir); }
.site-header__mobile.is-open { display: block; animation: theme-fade-in 0.3s ease; }
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.theme-mobile-nav-list li { list-style: none; }
.theme-mobile-nav-list > a, .theme-mobile-nav-list li > a, .theme-mobile-nav-link {
	display: block; text-align: left; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	padding: 0.75rem 0.5rem; color: color-mix(in srgb, var(--color-cream) 80%, transparent);
	transition: color 0.2s ease, background-color 0.2s ease;
}
.theme-mobile-nav-list > a:hover, .theme-mobile-nav-link:hover { color: var(--color-brass-light); background: var(--color-noir-soft); }

.site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; object-fit: contain; border-radius: 50%; display: block; }
.site-logo-text { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-cream); }

/* ============================================================
   HOME / INNER PAGE OFFSET (Section 22.7)
============================================================ */
main#top { padding-top: 0; }
.theme-no-hero .site-main { padding-top: var(--header-height); }
.site-main { min-height: 40vh; }

/* ============================================================
   HERO
============================================================ */
.hero-section {
	position: relative; width: 100%; overflow: hidden;
	min-height: 100svh;
}
@media (min-width: 1024px) { .hero-section { height: 100vh; min-height: 720px; } }
.hero-section__media { position: absolute; inset: 0; }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim { position: absolute; inset: 0; }
.hero-section__scrim--base { background: color-mix(in srgb, var(--color-noir) 20%, transparent); }
.hero-section__scrim--diagonal { background: linear-gradient(to right, color-mix(in srgb, var(--color-noir) 60%, transparent), color-mix(in srgb, var(--color-noir) 15%, transparent), color-mix(in srgb, var(--color-noir) 35%, transparent)); }
.hero-section__scrim--bottom { background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 90%, transparent), color-mix(in srgb, var(--color-noir) 15%, transparent) 55%, transparent); }
.hero-section__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .hero-section__content { padding-bottom: 5rem; } }
@media (min-width: 1024px) { .hero-section__content { padding-bottom: 6rem; } }
.hero-section__max { max-width: 48rem; }
.hero-section__eyebrow { color: var(--color-brass-light); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .hero-section__eyebrow { margin-bottom: 1.5rem; } }
.hero-section__heading {
	font-family: var(--font-display); color: var(--color-cream);
	font-size: 3.25rem; line-height: 1; letter-spacing: -0.015em;
	overflow-wrap: break-word;
}
@media (min-width: 640px)  { .hero-section__heading { font-size: 4rem; } }
@media (min-width: 768px)  { .hero-section__heading { font-size: 5.5rem; line-height: 0.98; } }
@media (min-width: 1024px) { .hero-section__heading { font-size: 6rem; } }
.hero-section__heading .reveal-word { display: inline-block; overflow: hidden; }
.hero-section__heading-accent { display: block; font-style: italic; color: var(--color-brass-light); }
@media (min-width: 768px) { .hero-section__heading-accent { display: inline; margin-left: 0.75rem; } }
@media (min-width: 1024px) { .hero-section__heading-accent { margin-left: 1rem; } }
.hero-section__paragraph {
	margin-top: 1.5rem; max-width: 36rem; color: color-mix(in srgb, var(--color-cream) 80%, transparent);
	font-weight: 300; font-size: 1rem; line-height: 1.7;
}
@media (min-width: 768px) { .hero-section__paragraph { font-size: 1.125rem; } }
.hero-section__ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 768px) { .hero-section__ctas { margin-top: 2.5rem; } }
@media (min-width: 1024px) { .hero-section__ctas { display: flex; flex-wrap: wrap; } }
.hero-section__ctas .btn-theme { width: 100%; max-width: 100%; min-width: 0; }
@media (min-width: 1024px) { .hero-section__ctas .btn-theme { width: auto; max-width: none; } }

/* ============================================================
   ABOUT
============================================================ */
/* py-20 md:py-28 — padding-block only so .container-wide horizontal gutters stay intact */
.about-section__wrap,
.books-section__wrap,
.writing-section__wrap,
.shop-section__wrap,
.faq-section__wrap,
.contact-section__wrap { padding-block: 5rem; }
@media (min-width: 768px) {
	.about-section__wrap,
	.books-section__wrap,
	.writing-section__wrap,
	.shop-section__wrap,
	.faq-section__wrap,
	.contact-section__wrap { padding-block: 7rem; }
}
.about-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; } }
.about-section__image { order: 2; overflow: hidden; background: var(--color-noir); position: relative; min-height: 320px; }
@media (min-width: 1024px) { .about-section__image { grid-column: span 6; order: 1; } }
.about-section__copy { order: 1; }
@media (min-width: 1024px) { .about-section__copy { grid-column: span 6; order: 2; padding-top: 2rem; } }
.about-section__eyebrow { color: var(--color-primary); }
.about-section__text { color: var(--color-muted-foreground); font-weight: 300; font-size: 1rem; line-height: 1.75; }
@media (min-width: 768px) { .about-section__text { font-size: 1.125rem; } }
.about-section__text p { margin: 0 0 1.25rem 0; }
.about-section__emphasis { color: var(--color-foreground); font-weight: 400; font-style: italic; }
.about-section__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

/* ============================================================
   BOOKS
============================================================ */
.books-section__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .books-section__intro { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; margin-bottom: 4rem; } }
@media (min-width: 768px) { .books-section__intro-heading { grid-column: span 7; } }
.books-section__eyebrow { color: var(--color-primary); margin-bottom: 1rem; }
.books-section__intro-paragraph { color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; }
@media (min-width: 768px) { .books-section__intro-paragraph { grid-column: span 5; } }

.books-section__list { display: flex; flex-direction: column; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
.book-card { position: relative; background: var(--color-card); padding: 1.5rem; overflow: hidden; }
@media (min-width: 768px)  { .book-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .book-card { padding: 3rem; } }
.book-card__bg { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; }
.book-card:hover .book-card__bg { opacity: 1; }
.book-card__bg-scrim { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--color-noir) 95%, transparent), color-mix(in srgb, var(--color-noir) 85%, transparent), color-mix(in srgb, var(--color-noir) 75%, transparent)); }
.book-card__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 768px) { .book-card__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; } }
@media (min-width: 768px) { .book-card__main { grid-column: span 8; } }
.book-card__eyebrow { color: color-mix(in srgb, var(--color-primary) 80%, transparent); margin-bottom: 0.75rem; }
.book-card__title { font-family: var(--font-display); font-style: italic; color: var(--color-foreground); font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 768px)  { .book-card__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .book-card__title { font-size: 3rem; } }
.book-card:hover .book-card__title { color: var(--color-cream); }
.book-card__tagline { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; color: var(--color-accent); }
.book-card__blurb { margin-top: 1.25rem; max-width: 42rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; transition: color 0.3s ease; }
.book-card:hover .book-card__blurb { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.book-card__side { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .book-card__side { grid-column: span 4; padding-top: 0.5rem; } }
.book-card__link {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	padding: 0.875rem 1.25rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; cursor: pointer;
}
.book-card__link--primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.book-card__link--primary:hover { background: var(--color-accent); color: var(--color-accent-foreground); }
.book-card__link--outline { border: 1px solid color-mix(in srgb, var(--color-primary) 60%, transparent); color: var(--color-foreground); }
.book-card__link--outline:hover { background: color-mix(in srgb, var(--color-primary) 10%, transparent); border-color: var(--color-primary); }
.book-card__tw { margin-top: 0.25rem; }
.book-card__tw-toggle { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--color-accent); transition: color 0.2s ease; cursor: pointer; }
.book-card__tw-toggle:hover { color: var(--color-primary); }
.book-card__tw-chevron { display: inline-flex; transition: transform 0.3s ease; }
.book-card__tw-toggle[aria-expanded="true"] .book-card__tw-chevron { transform: rotate(180deg); }
.book-card__tw-panel { overflow: hidden; }
.book-card__tw-panel ul { margin: 0.75rem 0 0 0; padding-left: 1rem; border-left: 2px solid color-mix(in srgb, var(--color-primary) 50%, transparent); display: flex; flex-direction: column; gap: 0.375rem; list-style: none; }
.book-card__tw-panel li { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-weight: 300; line-height: 1.5; }
.book-card__tw-panel li::before { content: '· '; }

/* ============================================================
   WRITING / PILLARS
============================================================ */
.writing-section__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: end; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .writing-section__intro { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; margin-bottom: 5rem; } }
@media (min-width: 768px) { .writing-section__intro-heading { grid-column: span 7; } }
.writing-section__eyebrow { color: var(--color-brass-light); margin-bottom: 1.25rem; }
.writing-section .section-heading { color: var(--color-cream); }
.writing-section__intro-paragraph { color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-weight: 300; line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .writing-section__intro-paragraph { grid-column: span 5; font-size: 1.125rem; } }

.writing-section__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--color-noir-soft); border: 1px solid var(--color-noir-soft); }
@media (min-width: 1024px) { .writing-section__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar-card {
	position: relative; background: var(--color-noir); padding: 1.75rem; display: flex; flex-direction: column;
	transition: background-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}
@media (min-width: 768px) { .pillar-card { padding: 2.5rem; } }
.pillar-card:hover { background: var(--color-noir-soft); transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-brass) 40%, transparent); }
.pillar-card__glow {
	position: absolute; inset-inline: 0; bottom: 0; height: 1px;
	background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-brass) 60%, transparent), transparent);
	transform: scaleX(0); transform-origin: center; transition: transform 0.7s ease;
}
.pillar-card:hover .pillar-card__glow { transform: scaleX(1); }
.pillar-card__icon { width: 1.75rem; height: 1.75rem; color: var(--color-brass-light); margin-bottom: 2rem; transition: transform 0.5s ease; }
.pillar-card:hover .pillar-card__icon { transform: translateY(-4px) scale(1.1); }
.pillar-card__title { font-family: var(--font-display); color: var(--color-cream); font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.75rem; transition: color 0.3s ease; }
@media (min-width: 768px) { .pillar-card__title { font-size: 1.5rem; } }
.pillar-card:hover .pillar-card__title { color: var(--color-brass-light); }
.pillar-card__description { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 60%, transparent); font-weight: 300; line-height: 1.6; transition: color 0.3s ease; }
.pillar-card:hover .pillar-card__description { color: color-mix(in srgb, var(--color-cream) 80%, transparent); }

/* ============================================================
   SHOP
============================================================ */
.shop-section__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .shop-section__intro { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; margin-bottom: 4rem; } }
@media (min-width: 768px) { .shop-section__intro-heading { grid-column: span 7; } }
.shop-section__eyebrow { color: var(--color-primary); margin-bottom: 1rem; }
.shop-section__intro-paragraph { color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; }
@media (min-width: 768px) { .shop-section__intro-paragraph { grid-column: span 5; } }
.shop-section__empty { color: var(--color-muted-foreground); grid-column: 1 / -1; }

.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-items: stretch;
	margin-top: 2.5rem;
}
@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-product-card-wrap { height: 100%; }
.theme-product-card {
	position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
	background: var(--color-card); border: 1px solid var(--color-border);
	transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.3s var(--transition-smooth);
}
.theme-product-card:hover { border-color: color-mix(in srgb, var(--color-brass) 60%, transparent); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--color-noir) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--color-brass) 15%, transparent); transform: translateY(-8px); }
.theme-product-card > *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; cursor: pointer; }

.theme-product-card__image-wrapper { position: relative; display: grid; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-noir); }
.theme-product-card__image-wrapper > .theme-product-card__image { grid-area: 1 / 1; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__image.is-dimmed { opacity: 0.6; }
.theme-product-card__tag {
	position: absolute; top: 1rem; left: 1rem; z-index: 3;
	padding: 0.25rem 0.625rem; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	background: color-mix(in srgb, var(--color-cream) 95%, transparent); color: var(--color-noir);
}
.theme-product-card__tag:empty { display: none; }
.theme-product-card__scrim {
	position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 40%, transparent), transparent, transparent);
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }

.theme-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.5rem; } }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; color: var(--color-foreground); transition: color 0.3s ease; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-emerald); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); white-space: nowrap; margin-top: 0.25rem; }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }
.theme-product-card__excerpt {
	font-size: 0.75rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.6; margin-bottom: 1rem;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }
.theme-product-card__view { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--color-brass); transition: color 0.3s ease; cursor: pointer; }
.theme-product-card:hover .theme-product-card__view { color: var(--color-emerald); }
.theme-product-card__arrow { display: inline-block; transition: transform 0.3s ease; }
.theme-product-card:hover .theme-product-card__arrow { transform: translateX(4px); }

/* ============================================================
   CTA BAND
============================================================ */
.cta-band { position: relative; width: 100%; overflow: hidden; background: var(--color-noir); }
.cta-band__media { position: relative; height: 80vh; min-height: 560px; }
@media (min-width: 768px) { .cta-band__media { height: 85vh; } }
.cta-band__image { opacity: 0.7; transform: scale(1.05); }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-noir), color-mix(in srgb, var(--color-noir) 40%, transparent), color-mix(in srgb, var(--color-noir) 30%, transparent)); }
.cta-band__content { position: absolute; left: 0; right: 0; bottom: 0; }
.cta-band__content-inner { padding-block: 3rem 5rem; }
@media (min-width: 768px) { .cta-band__content-inner { padding-block: 4rem 7rem; } }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: end; }
@media (min-width: 768px) { .cta-band__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
@media (min-width: 768px) { .cta-band__text { grid-column: span 8; } }
.cta-band__eyebrow { color: var(--color-brass-light); margin-bottom: 1.25rem; }
.cta-band__title { font-family: var(--font-display); color: var(--color-cream); font-size: 2.25rem; line-height: 1.05; max-width: 48rem; }
@media (min-width: 768px)  { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.cta-band__title em { font-style: italic; color: var(--color-brass-light); display: block; }
@media (min-width: 768px) { .cta-band__title em { display: inline; } }
.cta-band__buttons { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .cta-band__buttons { grid-column: span 4; flex-direction: column; align-items: flex-end; } }
.cta-band__buttons .btn-theme { width: 100%; }
@media (min-width: 768px) { .cta-band__buttons .btn-theme { width: 14rem; } }

/* ============================================================
   FAQ
============================================================ */
/* Stacked below lg — flex avoids grid/reveal paint overlap */
.faq-section__grid {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	align-items: stretch;
}
/* Phone */
@media (max-width: 767px) {
	.faq-section__grid { gap: 5.5rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.faq-section__grid { gap: 7rem; }
}
@media (min-width: 1024px) {
	.faq-section__grid {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		row-gap: 5rem;
		column-gap: 5rem;
		align-items: start;
	}
}
.faq-section__media {
	position: relative;
	width: 100%;
	flex-shrink: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}
/* Cap image height when stacked — prevents tall portrait from covering copy below */
@media (max-width: 1023px) {
	.faq-section__media {
		max-height: 58vh;
	}
	/* Reveal transforms can paint over the next sibling — fade only when stacked */
	.faq-section__media.reveal-item.reveal-slide-left {
		transform: none;
		filter: none;
		will-change: opacity;
	}
	.faq-section__media.reveal-item.reveal-slide-left.is-visible {
		transform: none;
		filter: none;
	}
	.faq-section__content {
		flex-shrink: 0;
		width: 100%;
		position: relative;
		padding-top: 0.5rem;
	}
}
@media (max-width: 767px) {
	.faq-section__media {
		aspect-ratio: unset;
		height: 48vh;
		max-height: 48vh;
		min-height: 220px;
	}
	.faq-section__content { padding-top: 1.25rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.faq-section__media { max-height: 52vh; }
	.faq-section__content { padding-top: 1.5rem; }
}
@media (min-width: 1024px) {
	.faq-section__media {
		grid-column: span 5;
		max-height: none;
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}
.faq-section__media-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 85%, transparent), transparent); }
@media (min-width: 768px) { .faq-section__media-caption { padding: 2rem; } }
.faq-section__media-caption .eyebrow { color: var(--color-brass-light); margin-bottom: 0.5rem; }
.faq-section__media-caption p { font-family: var(--font-display); color: var(--color-cream); font-size: 1.5rem; line-height: 1.3; max-width: 22rem; margin: 0; }
@media (min-width: 768px) { .faq-section__media-caption p { font-size: 1.875rem; } }
.faq-section__content { min-width: 0; }
@media (min-width: 1024px) { .faq-section__content { grid-column: span 7; } }
.faq-section__eyebrow { color: var(--color-muted-foreground); display: block; }
.faq-section__heading { margin-top: 0.75rem; }
.faq-section__paragraph { margin-top: 1.25rem; max-width: 32rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; }
.faq-section__list { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .faq-section__list { margin-top: 3rem; } }

.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question { width: 100%; display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0; text-align: left; cursor: pointer; }
@media (min-width: 768px) { .faq-item__question { gap: 1.75rem; padding: 1.75rem 0; } }
.faq-item__num { flex-shrink: 0; font-family: var(--font-display); font-size: 1.125rem; color: var(--color-muted-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__num { font-size: 1.25rem; } }
.faq-item__question[aria-expanded="true"] .faq-item__num { color: var(--color-primary); }
.faq-item__q-text { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1.25rem; } }
.faq-item__question[aria-expanded="true"] .faq-item__q-text { color: var(--color-foreground); }
.faq-item__question:hover .faq-item__q-text { color: var(--color-foreground); }
.faq-item__plus { flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 0.3s ease, color 0.3s ease; }
.faq-item__question[aria-expanded="true"] .faq-item__plus { transform: rotate(45deg); color: var(--color-primary); }
.faq-item__answer { overflow: hidden; transition: height 0.4s var(--transition-smooth); }
.faq-item__answer p { padding: 0 1.5rem 1.75rem 2.5rem; margin: 0; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; font-size: 0.875rem; max-width: 42rem; }
@media (min-width: 768px) { .faq-item__answer p { padding-left: 3rem; font-size: 1rem; } }

/* ============================================================
   CONTACT
============================================================ */
.contact-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.contact-section__info { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 1024px) { .contact-section__info { grid-column: span 5; } }
.contact-section__eyebrow { color: var(--color-brass-light); }
.contact-section .section-heading { color: var(--color-cream); }
.contact-section__paragraph { margin-top: 1.25rem; max-width: 28rem; color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-weight: 300; line-height: 1.7; }
.contact-section__links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-link { display: flex; align-items: center; gap: 1rem; cursor: pointer; }
.contact-link__icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; border: 1px solid var(--color-noir-soft); display: flex; align-items: center; justify-content: center; color: var(--color-brass-light); transition: border-color 0.2s ease; }
.contact-link:hover .contact-link__icon { border-color: var(--color-brass-light); }
.contact-link__text { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-cream) 80%, transparent); word-break: break-all; transition: color 0.2s ease; }
.contact-link:hover .contact-link__text { color: var(--color-cream); }

.contact-section__form-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .contact-section__form-wrap { grid-column: span 7; } }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; border: 1px solid color-mix(in srgb, var(--color-cream) 25%, transparent); padding: 2rem; flex: 1; height: 100%; max-width: 100%; }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.contact-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 768px) { .contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form__field { display: flex; flex-direction: column; }
.contact-form__field--grow { flex: 1; }
.contact-form__field .eyebrow { color: var(--color-brass-light); margin-bottom: 0.75rem; }
.contact-form__input, .contact-form__textarea {
	width: 100%; padding: 0.875rem 1rem; background: transparent; border: 1px solid color-mix(in srgb, var(--color-cream) 25%, transparent);
	color: var(--color-cream); font-size: 0.875rem; font-weight: 300; transition: border-color 0.3s ease;
}
.contact-form__input::placeholder, .contact-form__textarea::placeholder { color: color-mix(in srgb, var(--color-cream) 30%, transparent); }
.contact-form__input:focus, .contact-form__textarea:focus { outline: none; border-color: var(--color-brass-light); }
.contact-form__textarea { resize: none; flex: 1; }
.contact-form__submit { width: 100%; }
.contact-section__success { border: 1px solid color-mix(in srgb, var(--color-cream) 25%, transparent); padding: 2.5rem; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; }
@media (min-width: 768px) { .contact-section__success { padding: 3.5rem; } }
.contact-section__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--color-cream); }
.contact-section__success h3 { font-family: var(--font-display); color: var(--color-cream); font-size: 1.875rem; margin-bottom: 0.75rem; }
.contact-section__success p { color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-weight: 300; line-height: 1.6; max-width: 24rem; margin: 0 auto; }

.marquee { border-top: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); background: var(--color-noir); overflow: hidden; padding: 1.25rem 0; }
@media (min-width: 768px) { .marquee { padding: 1.5rem 0; } }
.marquee__track { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee__set { display: flex; align-items: center; gap: 1.5rem; padding: 0 1rem; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 300; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
@media (min-width: 768px) { .marquee__set { gap: 2.5rem; padding: 0 1.5rem; font-size: 1rem; } }
.marquee__dot { color: var(--color-primary); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 4rem; padding-bottom: 0; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; padding-top: 5rem; } }
@media (min-width: 768px) { .site-footer__col--brand { grid-column: span 5; } }
@media (min-width: 768px) { .site-footer__col--nav { grid-column: span 3; } }
@media (min-width: 768px) { .site-footer__col--contact { grid-column: span 4; } }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__brand .site-logo-img { height: 3rem !important; width: 3rem !important; }
.site-footer__brand-text { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--color-cream); }
.site-footer__brand-text em { font-style: normal; color: var(--color-brass-light); }
.site-footer__tagline { margin-top: 1.5rem; max-width: 28rem; width: 100%; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 65%, transparent); line-height: 1.7; font-weight: 300; }
.site-footer__social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.site-footer__social-btn { width: 2.5rem; height: 2.5rem; border: 1px solid var(--color-noir-soft); display: flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: border-color 0.2s ease, color 0.2s ease; cursor: pointer; }
.site-footer__social-btn:hover { border-color: var(--color-brass-light); color: var(--color-brass-light); }
.site-footer__col-title { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-brass-light); margin-bottom: 1.25rem; font-weight: 500; }
.site-footer__nav-list, .site-footer__contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav-list [class$="__nav-list-inner"], .site-footer__nav-list-inner { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav-list a, .site-footer__nav-list-inner a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; transition: color 0.2s ease; cursor: pointer; }
.site-footer__nav-list a:hover, .site-footer__nav-list-inner a:hover { color: var(--color-cream); }
.site-footer__contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; }
.site-footer__contact-icon { color: var(--color-brass-light); width: 1rem; height: 1rem; }
.site-footer__contact-link { word-break: break-all; transition: color 0.2s ease; cursor: pointer; }
.site-footer__contact-link:hover { color: var(--color-cream); }
.site-footer__contact-note { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 60%, transparent); font-weight: 300; line-height: 1.7; }
.site-footer__contact-highlight { color: var(--color-brass-light); transition: color 0.2s ease; cursor: pointer; }
.site-footer__contact-highlight:hover { color: var(--color-cream); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; padding-bottom: 2rem; border-top: 1px solid var(--color-noir-soft); display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__legal { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 45%, transparent); margin: 0; }
.site-footer__credit-link { color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: color 0.2s ease; text-underline-offset: 4px; }
.site-footer__credit-link:hover { color: var(--color-brass-light); text-decoration: underline; }

/* ============================================================
   ICONS
============================================================ */
.theme-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* ============================================================
   SINGLE PRODUCT (Section 11.13)
============================================================ */
.single-product-main { padding-top: var(--header-height); padding-bottom: 4rem; }
.single-product-wrap { padding-top: 1.5rem; }
.single-product-back { padding: 0.5rem 0 1.5rem; }
.single-product-back__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.single-product-back__link:hover { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { display: grid; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; position: relative; }
.theme-product-gallery__main > .theme-product-main-img { grid-area: 1 / 1; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: opacity 0.2s ease; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { display: grid; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; padding: 0; position: relative; }
.theme-product-thumb > img { grid-area: 1 / 1; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
/* In-flow fill (Lovable object-cover) — beats global img { height: auto } */
.theme-product-gallery__main > .theme-product-main-img,
.theme-product-card__image-wrapper > .theme-product-card__image,
.theme-product-thumb > img {
	position: static;
	inset: auto;
}
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-info { padding: 0; }
@media (min-width: 1024px) { .theme-product-info { padding: 2.5rem 0; } }
.theme-product-info__category { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); display: block; }
.theme-product-info__category a { color: inherit; pointer-events: none; cursor: default; text-decoration: none; }
.theme-product-info__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 1.875rem; } }
.theme-product-info__price { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.theme-product-info__price .woocommerce-Price-amount { font-weight: 600; }
.theme-product-info__stock { display: inline-block; margin-bottom: 1.5rem; font-size: 0.875rem; padding: 0.375rem 0.875rem; }
.theme-product-info__stock.is-out-of-stock { background: color-mix(in srgb, var(--color-destructive) 12%, transparent); color: var(--color-destructive); }
.theme-product-info__description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p { margin: 0 0 1rem 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: 100%; min-height: 3.5rem; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3.5rem; min-height: 3.5rem; text-align: center; background: transparent; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); color: var(--color-foreground); font-size: 0.875rem; font-weight: 400; font-family: var(--font-body); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-info__details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-info__details h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-details-list,
.woocommerce-product-details__short-description ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li,
.woocommerce-product-details__short-description li { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; overflow-wrap: break-word; word-break: break-word; display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.5; }
.theme-product-details-list li::before,
.woocommerce-product-details__short-description li::before { content: ''; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--color-primary); margin-top: 0.5rem; flex-shrink: 0; }
.woocommerce-product-details__short-description p { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__heading { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 1.5rem; } }
.related-products-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 0; }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* WooCommerce add-to-cart button style override (Section 11.4.1 — MANDATORY) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.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 (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Scoped WC notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { background: color-mix(in srgb, var(--color-destructive) 10%, transparent); color: var(--color-destructive); padding: 1rem 1.5rem; list-style: none; font-size: 0.875rem; }

/* ============================================================
   SIDE CART DRAWER
============================================================ */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-noir) 55%, transparent);
	z-index: 99; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 100; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.45s 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-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; cursor: pointer; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; display: inline-flex; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; display: block; }
.theme-cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-drawer__item-body { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; display: inline-flex; cursor: pointer; }
.theme-cart-drawer__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; cursor: pointer; }
.theme-cart-drawer__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* ============================================================
   404
============================================================ */
.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.theme-404__wrap { text-align: center; padding-block: 5rem; animation: theme-scale-in 0.5s var(--transition-smooth); }
.theme-404__code { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

/* ============================================================
   Generic page template
============================================================ */
.page-content-wrap { padding-top: 3rem; padding-bottom: 4rem; }
.theme-no-hero .page-content-wrap { padding-top: 2.5rem; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }
.entry-content { color: var(--color-muted-foreground); line-height: 1.8; }
.entry-content p { margin: 0 0 1.25rem 0; }

/* ============================================================
   WOOCOMMERCE CHECKOUT BLOCK OVERRIDE (Section 13 — MANDATORY)
============================================================ */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title { margin-bottom: 2rem; }

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		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-components-notice-banner {
	grid-column: 1 / -1;
	border-radius: var(--btn-radius);
}

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 {
	width: 100% !important;
	max-width: none !important;
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-family: var(--font-body);
	border-radius: var(--btn-radius);
	padding: revert;
}
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: none;
	border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder {
	color: var(--color-muted-foreground);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: var(--btn-text-transform) !important;
	min-height: var(--btn-height) !important;
	width: 100%;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-bone);
	border-radius: var(--btn-radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-panel,
body.woocommerce-checkout .wc-block-cart-items {
	border-color: var(--color-border);
}

/* ============================================================
   OTHER WOOCOMMERCE PAGES — width/alignment parity (Section 13.7)
============================================================ */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}
body.woocommerce-cart .page-content-wrap,
body.woocommerce-account .page-content-wrap {
	max-width: 1400px;
}

/* ============================================================
   THANK YOU PAGE (Section 22.8)
============================================================ */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { padding: 1rem 0 4rem; }
.theme-thankyou__intro { text-align: center; margin-bottom: 3rem; }
.theme-thankyou__icon { width: 4rem; height: 4rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.theme-thankyou__heading { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-thankyou__heading { font-size: 3rem; } }
.theme-thankyou__message { color: var(--color-muted-foreground); max-width: 36rem; margin: 0 auto; line-height: 1.7; }
.theme-thankyou__message span { color: var(--color-foreground); font-weight: 500; }
.theme-thankyou__contact { border: 1px solid var(--color-border); padding: 2rem; text-align: center; margin-top: 2rem; }
.theme-thankyou__contact .eyebrow { color: var(--color-primary); margin-bottom: 0.75rem; }
.theme-thankyou__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-thankyou__contact-link:hover { color: var(--color-primary); }

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem 0; margin: 0 0 2rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-weight: 600; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; font-size: 0.875rem; }
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;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.5rem; font-size: 0.875rem; line-height: 1.7;
}
