/*
 * Debby Meadows Studio — theme stylesheet.
 * Color tokens are injected as CSS variables via wp_add_inline_style()
 * (Section 6 / 22.9); this file consumes var(--color-*) exclusively.
 */

/* =====================================================================
   1. BASE TOKENS
   ===================================================================== */
:root {
	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--radius: 0.375rem;
	--card-radius: 0.75rem;
	--shadow-soft: 0 8px 30px -12px rgb(20 30 40 / 0.18);
	--shadow-elevated: 0 24px 60px -24px rgb(20 30 40 / 0.35);
	--transition-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
	--header-height: 80px;
	--checkout-gap: 2rem;
	--section-padding: 2rem;

	--btn-radius: 0.375rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.9375rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;
}

/* =====================================================================
   2. RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	overflow-x: clip;
	width: 100%;
	-webkit-font-smoothing: antialiased;
}
a, select, .theme-nav-link, .footer-nav-list a, .shop-filter-pill, .theme-variation-pill, .faq-question, .cart-toggle, .theme-field select, .theme-btn, .theme-product-thumb, .back-to-shop-link { cursor: pointer; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* Tailwind-preflight parity: reset heading bold-by-default (Section 2.2). */
h1, h2, h3, h4, h5, h6, .font-display {
	font-weight: 400;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.015em;
	margin: 0;
	line-height: 1.1;
}

/* Cover / full-bleed image exclusion list (Section 15.1 — MUST list every use). */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-gallery-img):not(.theme-product-thumb-img):not(.theme-cart-item-image img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* =====================================================================
   3. LAYOUT RHYTHM
   ===================================================================== */
.container-wide {
	width: 100%;
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
}
@media (min-width: 640px) { .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }

.section-y { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-y { padding-top: 7rem; padding-bottom: 7rem; } }

.section-anchor { scroll-margin-top: 6rem; }

/* Lovable layout containment — prevent edge-hugging and horizontal overflow. */
.site-main,
.entry-content,
.hero-section,
.paper-grain,
.newsletter-section,
.contact-section,
.programs-section,
.faq-section,
.shop-section,
.site-footer,
.about-grid,
.debby-grid,
.book-grid,
.music-grid,
.ecosystem-grid,
.courses-grid,
.programs-grid,
.newsletter-grid,
.contact-grid,
.faq-grid,
.footer-grid,
.theme-product-layout,
.theme-product-gallery,
.theme-product-info,
.debby-media-col,
.debby-content-col {
	min-width: 0;
}

.entry-content > * { max-width: 100%; }
.entry-content .alignwide,
.entry-content .alignfull {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.entry-content .wp-block-woocommerce-checkout {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.page-content-wrap { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .page-content-wrap { padding-top: 7rem; padding-bottom: 7rem; } }

body.theme-no-hero .site-main { padding-top: var(--header-height); }
body:not(.theme-no-hero) .site-main { padding-top: 0; }
.site-main { overflow-x: clip; min-width: 0; }

/* =====================================================================
   4. TYPOGRAPHY
   ===================================================================== */
.eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--color-primary);
	font-weight: 500;
}
.heading-xl { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 640px) { .heading-xl { font-size: 3rem; } }
@media (min-width: 768px) { .heading-xl { font-size: 3.75rem; } }

.heading-lg { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 640px) { .heading-lg { font-size: 3rem; } }

.lede { font-size: 1.125rem; line-height: 1.65; color: var(--color-muted-foreground); }
@media (min-width: 640px) { .lede { font-size: 1.25rem; } }

.prose-body { font-size: 1rem; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.prose-body p { margin: 0 0 1.25rem; }
@media (min-width: 640px) { .prose-body { font-size: 1.125rem; } }

.text-display { font-family: var(--font-display); }
.text-italic-display { font-family: var(--font-display); font-style: italic; }
.text-mauve { color: var(--color-mauve); }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }

/* Long Customizer strings must wrap inside section containers. */
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main p,
.site-main li,
.site-footer p,
.site-footer h4,
.heading-xl,
.heading-lg,
.hero-title,
.contact-title,
.substack-title,
.newsletter-form-title,
.newsletter-thanks-title,
.contact-thanks-title,
.course-card-title,
.program-card-title,
.product-title,
.faq-question-text,
.faq-answer,
.footer-tagline,
.footer-quote,
.page-title,
.not-found-title,
.eyebrow,
.lede,
.prose-body,
.about-quote,
.substack-body,
.ecosystem-card-label,
.ecosystem-card-blurb,
.debby-stat-l,
.theme-product-card__title,
.reveal-item:not(.max-w-2xl) {
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Intro blocks — match Lovable max-w-2xl (must beat .reveal-item { max-width:100% }). */
.max-w-2xl,
.reveal-item.max-w-2xl {
	max-width: 42rem;
	width: 100%;
}
.max-w-2xl .heading-xl,
.max-w-2xl .heading-lg,
.max-w-2xl .ecosystem-title {
	margin-top: 1rem;
}
.max-w-2xl .lede,
.max-w-2xl .ecosystem-subtitle,
.max-w-2xl .shop-subtitle,
.max-w-2xl .faq-subtitle {
	margin-top: 1.25rem;
}
.max-w-2xl .heading-xl,
.max-w-2xl .heading-lg,
.max-w-2xl .lede,
.max-w-2xl .ecosystem-title,
.max-w-2xl .ecosystem-subtitle,
.max-w-2xl .shop-subtitle,
.max-w-2xl .faq-subtitle {
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

[class*="-title-line"],
[class*="-title-accent"],
.hero-title-line,
.hero-title-accent {
	overflow-wrap: anywhere;
	word-break: break-word;
}

@media (max-width: 639px) {
	.hero-ctas .theme-btn,
	.about-cta,
	.substack-cta,
	.program-card-cta,
	.course-card-cta {
		white-space: normal;
		height: auto;
		min-height: 2.75rem;
		padding-top: 0.625rem;
		padding-bottom: 0.625rem;
		text-align: center;
	}
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute;
	left: 0; bottom: -2px;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.card-hover { transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth); }
.card-hover:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }

/* =====================================================================
   5. BUTTONS
   ===================================================================== */
.theme-btn {
	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);
	border: 1px solid transparent;
	white-space: nowrap;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-btn-primary { background: var(--color-primary); color: var(--color-button-text); }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline {
	background: transparent;
	border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	color: var(--color-foreground);
}
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-lg { height: 2.75rem; padding: 0 2rem; }
.theme-icon { width: 1.25rem; height: 1.25rem; }
.theme-icon-sm { width: 1rem; height: 1rem; }
.theme-icon-xs { width: 0.875rem; height: 0.875rem; }

/* =====================================================================
   6. REVEAL ANIMATION (Section 2.1)
   ===================================================================== */
.reveal-item { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--transition-smooth), transform 0.75s var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
.theme-fade-img { opacity: 0; transition: opacity 0.6s var(--transition-smooth); }
.theme-fade-img.is-loaded { opacity: 1; }
body.is-customizer .theme-fade-img { opacity: 1; }

@keyframes heroFadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScaleX {
	from { opacity: 0; transform: scaleX(0); }
	to { opacity: 1; transform: scaleX(1); }
}
.hero-anim { opacity: 0; animation: heroFadeUp 0.9s var(--transition-smooth) forwards; }
.hero-anim-scale { opacity: 0; animation: heroScaleX 1s var(--transition-smooth) forwards; transform-origin: center; }
body.is-customizer .hero-anim,
body.is-customizer .hero-anim-scale,
body.customize-previewing .hero-anim,
body.customize-previewing .hero-anim-scale { opacity: 1 !important; animation: none !important; transform: none !important; }

@keyframes driftY {
	0%, 100% { transform: translateY(0) translateX(-50%); }
	50% { transform: translateY(-12px) translateX(-50%); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================
   7. HEADER
   ===================================================================== */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	transition: background-color 0.5s ease, border-color 0.5s ease;
	background: transparent;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--color-border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: 4rem; }
@media (min-width: 1024px) { .site-nav { height: 5rem; } }

.site-brand { display: flex; align-items: center; gap: 0.625rem; min-width: 0; }
.theme-logo, .site-logo-svg { height: var(--logo-height); width: var(--logo-height); flex-shrink: 0; color: var(--color-sand); transition: color 0.3s, height 0.2s ease, width 0.2s ease; }
.site-header.is-solid .site-logo-svg { color: var(--color-foreground); }
.site-logo-img, .custom-logo-img { height: var(--logo-height); width: auto !important; max-width: min(12rem, 52vw); object-fit: contain; flex-shrink: 0; transition: height 0.2s ease; }

.site-brand-name {
	display: none;
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--color-sand);
	transition: color 0.3s;
}
.site-header.is-solid .site-brand-name { color: var(--color-foreground); }
@media (min-width: 640px) { .site-brand-name { display: block; } }
@media (min-width: 1024px) { .site-brand-name { font-size: 1.125rem; } }

.site-nav-links { display: none; }
@media (min-width: 1280px) { .site-nav-links { display: flex; align-items: center; gap: 1.25rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; }
.theme-nav-link {
	font-size: 0.875rem;
	letter-spacing: 0.01em;
	color: color-mix(in srgb, var(--color-sand) 85%, transparent);
	transition: color 0.3s;
}
.site-header.is-solid .theme-nav-link { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.theme-nav-link:hover { color: var(--color-sand); }
.site-header.is-solid .theme-nav-link:hover { color: var(--color-foreground); }

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.cart-toggle { position: relative; padding: 0.5rem; background: none; border: none; color: var(--color-sand); transition: color 0.2s; }
.site-header.is-solid .cart-toggle { color: var(--color-foreground); }
.cart-toggle:hover { color: var(--color-primary); }
.theme-cart-count {
	position: absolute; top: 0; right: 0;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	font-size: 11px; line-height: 1; font-weight: 500;
	background: var(--color-accent); color: var(--color-button-text);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { padding: 0.5rem; background: none; border: none; color: var(--color-sand); }
.site-header.is-solid .mobile-menu-toggle { color: var(--color-foreground); }
@media (min-width: 1280px) { .mobile-menu-toggle { display: none; } }

.mobile-menu { border-top: 1px solid var(--color-border); padding: 1rem 0; animation: fadeIn 0.4s var(--transition-smooth); max-height: calc(100svh - var(--header-height)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }
body.mobile-menu-open .site-header {
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--color-border);
}
body.mobile-menu-open .site-header .theme-nav-link,
body.mobile-menu-open .site-header .mobile-menu-toggle,
body.mobile-menu-open .site-header .cart-toggle { color: var(--color-foreground); }
body.mobile-menu-open .site-header .site-brand-name,
body.mobile-menu-open .site-header .site-logo-svg { color: var(--color-foreground); }
.theme-nav-list-mobile { display: flex; flex-direction: column; }
.theme-nav-list-mobile .theme-nav-link {
	display: block; padding: 0.625rem 0;
	font-family: var(--font-display); font-size: 1.25rem;
	color: var(--color-foreground);
}
.theme-nav-list-mobile .theme-nav-link:hover { color: var(--color-primary); }

/* =====================================================================
   8. HERO
   ===================================================================== */
.hero-section { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; overflow-x: clip; background-color: var(--color-storm-deep); color: var(--color-sand); }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient-1 { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-storm-deep) 85%, transparent), color-mix(in srgb, var(--color-storm-deep) 55%, transparent), color-mix(in srgb, var(--color-storm-deep) 95%, transparent)); }
.hero-gradient-2 { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 25%, color-mix(in srgb, var(--color-storm-deep) 75%, transparent) 100%); }
.hero-content {
	position: relative;
	z-index: 1;
	padding: 7rem 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.hero-content > .eyebrow {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.hero-content > .hero-title {
	width: 100%;
	max-width: 56rem;
	min-width: 0;
	margin-left: auto;
	margin-right: auto;
}
.hero-content > .hero-subtitle {
	width: 100%;
	max-width: 36rem;
	min-width: 0;
	margin-left: auto;
	margin-right: auto;
}
.hero-rule {
	display: block;
	margin-top: 1.5rem;
	height: 1px;
	width: 6rem;
	flex-shrink: 0;
	background: color-mix(in srgb, var(--color-accent) 70%, transparent);
}
.hero-title {
	margin-top: 1.75rem;
	font-size: 2.25rem;
	line-height: 0.95;
	max-width: 56rem;
	width: 100%;
	text-wrap: balance;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle {
	margin-top: 1.75rem;
	max-width: 36rem;
	width: 100%;
}
.hero-ctas {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; gap: 1rem; } }
.hero-btn-outline { background: transparent; border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); color: var(--color-sand); }
.hero-btn-outline:hover { background: var(--color-sand); color: var(--color-storm-deep); }
.hero-scroll-cue {
	position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
	color: color-mix(in srgb, var(--color-sand) 60%, transparent);
	animation: driftY 9s ease-in-out infinite;
}
.hero-scroll-cue:hover { color: var(--color-sand); }

/* =====================================================================
   9. MARQUEE
   ===================================================================== */
.marquee-wrap { position: relative; width: 100%; overflow: hidden; overflow-x: clip; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.marquee-fade { pointer-events: none; position: absolute; inset-block: 0; width: 3rem; z-index: 1; }
@media (min-width: 640px) { .marquee-fade { width: 6rem; } }
.marquee-fade-left { left: 0; background: linear-gradient(to right, var(--color-background), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left, var(--color-background), transparent); }
.marquee-py { padding: 1.25rem 0; }
@media (min-width: 640px) { .marquee-py { padding: 1.75rem 0; } }
.marquee-track { display: flex; align-items: center; white-space: nowrap; width: max-content; animation: marqueeScroll 46s linear infinite; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; }
.marquee-text { font-family: var(--font-display); font-size: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); padding: 0 1.25rem; }
@media (min-width: 640px) { .marquee-text { font-size: 1.875rem; padding: 0 1.75rem; } }
@media (min-width: 768px) { .marquee-text { font-size: 2.25rem; } }
.marquee-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: color-mix(in srgb, var(--color-accent) 70%, transparent); flex-shrink: 0; }

/* =====================================================================
   10. ECOSYSTEM
   ===================================================================== */
.paper-grain { position: relative; overflow-x: clip; }
.paper-grain::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.5;
	background-image: radial-gradient(color-mix(in srgb, var(--color-foreground) 4.5%, transparent) 1px, transparent 1px);
	background-size: 4px 4px;
}
.ecosystem-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .ecosystem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ecosystem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ecosystem-card {
	position: relative; display: block; overflow: hidden;
	min-height: 320px; border-radius: var(--card-radius);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
	transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
.ecosystem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.ecosystem-card-img { transition: transform 0.7s ease; }
.ecosystem-card:hover .ecosystem-card-img { transform: scale(1.05); }
.ecosystem-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-storm-deep) 95%, transparent), color-mix(in srgb, var(--color-storm) 60%, transparent), color-mix(in srgb, var(--color-storm) 25%, transparent)); transition: opacity 0.5s; }
.ecosystem-card-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 1.75rem; min-width: 0; }
.ecosystem-card-icon {
	width: 2.75rem; height: 2.75rem; border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, #fff 15%, transparent);
	color: #fff;
}
.ecosystem-card-bottom { margin-top: auto; }
.ecosystem-card-label { font-size: 1.5rem; color: #fff; transition: color 0.3s; }
.ecosystem-card:hover .ecosystem-card-label { color: var(--color-seaglass); }
.ecosystem-card-blurb { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, #fff 80%, transparent); }
.ecosystem-card-cta { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--color-seaglass); }
.ecosystem-card-cta .theme-icon { transition: transform 0.2s; }
.ecosystem-card:hover .ecosystem-card-cta .theme-icon { transform: translateX(4px); }

/* =====================================================================
   11. GRADIENT BANDS
   ===================================================================== */
.gradient-tide { background-image: linear-gradient(160deg, var(--color-sand) 0%, color-mix(in srgb, var(--color-seaglass) 22%, var(--color-sand)) 55%, color-mix(in srgb, var(--color-mauve) 22%, var(--color-sand)) 100%); }
.gradient-storm { background-image: linear-gradient(150deg, var(--color-storm-deep) 0%, var(--color-storm) 55%, color-mix(in srgb, var(--color-mauve) 18%, var(--color-storm)) 100%); }
.section-storm {
	background-color: var(--color-storm-deep);
	color: var(--color-sand);
	--color-background: var(--color-storm-deep);
	--color-foreground: var(--color-sand);
	--color-card: var(--color-storm);
	--color-primary: var(--color-seaglass);
	--color-secondary: color-mix(in srgb, var(--color-storm) 88%, var(--color-storm-deep));
	--color-muted-foreground: color-mix(in srgb, var(--color-sand) 76%, transparent);
	--color-accent: hsl(318, 26%, 68%);
	--color-border: color-mix(in srgb, var(--color-storm) 72%, var(--color-sand));
}
.section-storm .eyebrow { color: var(--color-seaglass); }
.section-storm .eyebrow.text-accent { color: var(--color-accent); }

/* =====================================================================
   12. ABOUT
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; min-width: 0; overflow: hidden; }
@media (min-width: 640px) { .about-grid { overflow: visible; } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.about-body { margin-top: 1.5rem; }
.about-quote { font-size: 1.5rem; color: var(--color-accent); }
.about-cta { margin-top: 2.25rem; }
.about-media {
	position: relative;
	align-self: stretch;
	display: flex;
	min-height: 320px;
	width: 100%;
	overflow: hidden;
	padding-bottom: 2rem;
}
@media (min-width: 640px) { .about-media { overflow: visible; } }
.about-image-wrap {
	flex: 1;
	display: flex;
	border-radius: var(--card-radius);
	overflow: hidden;
	box-shadow: var(--shadow-elevated);
}
.about-image { width: 100%; height: 100%; object-fit: cover; }
.about-image-2-wrap {
	display: none;
	position: absolute;
	bottom: -2rem;
	left: -1.5rem;
	width: 10rem;
	transform: rotate(-4deg);
	border-radius: var(--card-radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
	aspect-ratio: 1/1;
	z-index: 2;
}
@media (min-width: 640px) { .about-image-2-wrap { display: block; } }
@media (min-width: 1024px) { .about-image-2-wrap { width: 13rem; } }

/* =====================================================================
   13. DEBBY
   ===================================================================== */
.debby-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .debby-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.debby-media-col { display: flex; }
.debby-media { position: relative; flex: 1; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-elevated); min-height: 360px; }
.debby-image { object-position: top center; }
.debby-image-gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-storm-deep) 25%, transparent), transparent 60%); pointer-events: none; }
.debby-content-col { display: flex; flex-direction: column; justify-content: center; }
.debby-content-col > .heading-xl { margin-top: 1rem; }
.debby-body { margin-top: 1.5rem; }
.debby-body p:last-child { margin-bottom: 0; }
.debby-quote { font-size: 1.5rem; color: var(--color-accent); }
.debby-stats { margin-top: 2.25rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 28rem; min-width: 0; }
.debby-stat { border-top: 1px solid var(--color-border); padding-top: 1rem; }
.debby-stat-n { margin: 0; font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 640px) { .debby-stat-n { font-size: 2.25rem; } }
.debby-stat-l { margin: 0.25rem 0 0; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); line-height: 1.375; }

/* =====================================================================
   14. SHOP + PRODUCT CARDS
   ===================================================================== */
.shop-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.shop-filter-row { margin-top: 2.5rem; display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.shop-filter-scroll {
	flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: var(--radius);
	border: 1px solid var(--color-border); background: var(--color-background);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	display: none; align-items: center; justify-content: center;
	transition: color 0.2s, border-color 0.2s;
}
.shop-filter-row.has-overflow .shop-filter-scroll { display: flex; }
.shop-filter-scroll:hover { color: var(--color-foreground); border-color: var(--color-primary); }
.shop-filter-track-wrap { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.shop-filter-track-wrap::-webkit-scrollbar { display: none; }
.shop-filter-track { display: flex; gap: 0.5rem; min-width: max-content; padding-bottom: 0.25rem; }
.shop-filter-pill {
	padding: 0 1rem; height: 2.5rem; border-radius: var(--radius);
	font-size: 0.875rem; border: 1px solid var(--color-border);
	background: var(--color-background); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: all 0.2s;
	white-space: nowrap;
}
.shop-filter-pill:hover { border-color: var(--color-primary); color: var(--color-foreground); }
.shop-filter-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

.theme-product-grid {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 1.25rem;
}
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.25rem; } }

.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; width: 100%; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--card-radius); background: var(--color-secondary); margin-bottom: 1rem; }
.theme-product-card__image { transition: transform 0.6s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-card__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 0%, transparent); transition: background-color 0.5s; }
.theme-product-card:hover .theme-product-card__overlay { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-badge-soldout {
	position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2;
	padding: 0.375rem 0.75rem; border-radius: var(--radius);
	font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	background: var(--color-foreground); color: var(--color-background);
}
@media (min-width: 768px) { .theme-badge-soldout { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__info { flex: 1; }
.theme-product-card__title { font-size: 1.125rem; line-height: 1.4; transition: color 0.3s; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.25rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35em; }
.shop-empty { padding: 3rem 0; text-align: center; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* =====================================================================
   15. MUSIC
   ===================================================================== */
.music-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .music-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.music-subtitle { max-width: 32rem; }
.music-album-list { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.music-album-row {
	display: flex; align-items: center; gap: 1rem; padding: 1rem;
	border-radius: 0.75rem; border: 1px solid color-mix(in srgb, #fff 10%, transparent);
	background: color-mix(in srgb, #fff 5%, transparent);
	transition: all 0.3s;
}
.music-album-row:hover { background: color-mix(in srgb, #fff 10%, transparent); border-color: color-mix(in srgb, #fff 20%, transparent); }
.music-play-btn {
	width: 2.75rem; height: 2.75rem; border-radius: 999px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-mauve); color: #fff;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
	transition: transform 0.3s;
}
.music-album-row:hover .music-play-btn { transform: scale(1.05); }
.music-album-meta { min-width: 0; flex: 1; }
.music-album-title { display: block; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s; }
@media (min-width: 640px) { .music-album-title { font-size: 1.25rem; } }
.music-album-row:hover .music-album-title { color: var(--color-primary); }
.music-album-kind { display: block; margin-top: 0.125rem; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.music-listen-label { font-size: 0.75rem; font-weight: 500; color: var(--color-mauve); opacity: 0; transition: opacity 0.3s; flex-shrink: 0; }
.music-album-row:hover .music-listen-label { opacity: 1; }
.music-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.music-btn-outline { background: transparent; border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); color: var(--color-sand); }
.music-btn-outline:hover { background: var(--color-sand); color: var(--color-storm-deep); }
.music-media { position: relative; align-self: stretch; display: flex; min-height: 320px; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-elevated); }

/* =====================================================================
   16. BOOK
   ===================================================================== */
.book-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .book-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.book-media { position: relative; display: flex; min-height: 360px; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-elevated); order: 2; }
.book-content { order: 1; }
@media (min-width: 1024px) { .book-media { order: 1; } .book-content { order: 2; } }
.book-subtitle { margin-top: 0.5rem; font-size: 1.5rem; color: var(--color-accent); }
.book-body { margin-top: 1.5rem; }
.book-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* =====================================================================
   17. COURSES
   ===================================================================== */
.courses-section .heading-xl { font-size: 2.25rem; }
@media (min-width: 640px) { .courses-section .heading-xl { font-size: 3rem; } }
@media (min-width: 768px) { .courses-section .heading-xl { font-size: 3.75rem; } }
.courses-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .courses-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.course-card { height: 100%; display: flex; flex-direction: column; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--card-radius); overflow: hidden; }
.course-card-media { position: relative; width: 100%; aspect-ratio: 5 / 3; overflow: hidden; flex-shrink: 0; }
.course-card-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.course-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.course-card-title { margin-top: 0.75rem; font-size: 1.5rem; line-height: 1.25; }
.course-card-text { margin-top: 0.625rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; flex: 1; }
.course-card-cta { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--color-primary); align-self: flex-start; }

.substack-wrap { margin-top: 4rem; }
@media (min-width: 768px) { .substack-wrap { margin-top: 5rem; } }
.substack-card { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); box-shadow: var(--shadow-soft); padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .substack-card { padding: 3.5rem 3rem; } }
.substack-blob { position: absolute; border-radius: 999px; filter: blur(48px); pointer-events: none; }
.substack-blob-1 { top: 0; right: 0; width: 16rem; height: 16rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent); transform: translate(33%, -50%); }
.substack-blob-2 { bottom: 0; left: 0; width: 12rem; height: 12rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); transform: translate(-33%, 50%); }
.substack-inner { position: relative; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .substack-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.substack-text { max-width: 42rem; min-width: 0; }
.substack-heading-row { display: flex; align-items: flex-start; gap: 0.625rem; min-width: 0; }
.substack-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius); background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.substack-title { margin-top: 1rem; font-size: 1.875rem; line-height: 1.05; flex: 1; min-width: 0; }
@media (min-width: 640px) { .substack-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .substack-title { font-size: 3rem; } }
.substack-body { margin-top: 0.75rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; max-width: 36rem; }
@media (min-width: 640px) { .substack-body { font-size: 1.125rem; } }
.substack-cta { align-self: flex-start; flex-shrink: 0; }

/* =====================================================================
   18. PROGRAMS
   ===================================================================== */
.programs-section { position: relative; overflow: hidden; }
.programs-bg { position: absolute; inset: 0; }
.programs-bg .cover-img { opacity: 0.2; }
.programs-bg-gradient { position: absolute; inset: 0; opacity: 0.85; background-image: linear-gradient(150deg, var(--color-storm-deep) 0%, var(--color-storm) 55%, color-mix(in srgb, var(--color-mauve) 18%, var(--color-storm)) 100%); }
.programs-content { position: relative; }
.programs-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .programs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.program-card { position: relative; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--card-radius); padding: 1.75rem; display: flex; flex-direction: column; isolation: isolate; height: 100%; min-width: 0; }
.program-card-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.4; transition: transform 0.7s; }
.program-card:hover .program-card-bg { transform: scale(1.05); }
.program-card-gradient { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--color-card), color-mix(in srgb, var(--color-card) 90%, transparent), color-mix(in srgb, var(--color-card) 60%, transparent)); }
.program-card-title { margin-top: 0.75rem; font-size: 1.5rem; line-height: 1.25; }
.program-card-text { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; flex: 1; }
.program-card-cta { margin-top: 1.5rem; align-self: flex-start; background: transparent; border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); color: var(--color-foreground); }
.program-card-cta:hover { background: var(--color-foreground); color: var(--color-background); }

/* =====================================================================
   19. FAQ
   ===================================================================== */
.faq-section { background: var(--color-surface-pure); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.faq-grid > * { min-width: 0; max-width: 100%; }
.faq-subtitle { margin-top: 1.25rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; }
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; text-align: left; padding: 1.25rem 0; background: none; border: none; }
.faq-question-text { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; transition: color 0.3s; flex: 1; min-width: 0; }
@media (min-width: 640px) { .faq-question-text { font-size: 1.5rem; } }
.faq-question:hover .faq-question-text { color: var(--color-primary); }
.faq-icon { margin-top: 0.375rem; color: var(--color-primary); flex-shrink: 0; position: relative; width: 1rem; height: 1rem; }
.faq-icon-plus, .faq-icon-minus { position: absolute; inset: 0; transition: opacity 0.15s; }
.faq-question[aria-expanded="true"] .faq-icon-plus { opacity: 0; }
.faq-question[aria-expanded="false"] .faq-icon-minus { opacity: 0; }
.faq-answer-wrap { animation: fadeIn 0.4s var(--transition-smooth); }
.faq-answer { padding-bottom: 1.5rem; margin-top: -0.25rem; font-size: 0.9375rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; max-width: 42rem; }
@media (min-width: 640px) { .faq-answer { font-size: 1rem; } }

/* =====================================================================
   20. NEWSLETTER
   ===================================================================== */
.newsletter-section { background: var(--color-surface-sand); position: relative; overflow: hidden; }
.newsletter-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .newsletter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.newsletter-form-col,
.newsletter-content-col { min-width: 0; max-width: 100%; }
.newsletter-form-col { order: 2; }
.newsletter-content-col { order: 1; }
@media (min-width: 1024px) { .newsletter-form-col { order: 1; } .newsletter-content-col { order: 2; } }
.newsletter-form-card {
	background: color-mix(in srgb, var(--color-card) 90%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	padding: 1.5rem;
}
.newsletter-embed-wrap { width: 100%; min-width: 0; }
.newsletter-embed-wrap iframe { max-width: 100%; }
@media (min-width: 640px) { .newsletter-form-card { padding: 2rem; } }
.newsletter-form { padding: 1rem 0; }
.newsletter-form-title { margin-top: 0.75rem; font-size: 1.875rem; }
@media (min-width: 640px) { .newsletter-form-title { font-size: 2.25rem; } }
.newsletter-form-body { margin-top: 0.75rem; max-width: 28rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; }
.newsletter-fields { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.newsletter-submit { margin-top: 1.5rem; width: 100%; }
@media (min-width: 640px) { .newsletter-submit { width: auto; } }
.newsletter-disclaimer { margin-top: 1rem; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; }
.newsletter-thanks { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.newsletter-thanks > * { width: 100%; max-width: 100%; min-width: 0; }
.newsletter-thanks-icon { color: var(--color-primary); }
.newsletter-thanks-title { margin-top: 1.25rem; font-size: 1.875rem; }
.newsletter-thanks-body { margin-top: 0.75rem; max-width: 24rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; }
.newsletter-subtitle { margin-top: 1.25rem; max-width: 28rem; }
.newsletter-benefits { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.newsletter-benefits li { display: flex; align-items: center; gap: 0.625rem; }
.newsletter-benefits .theme-icon { color: var(--color-primary); flex-shrink: 0; }

/* Shared field styles used by newsletter + contact forms */
.theme-field { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-field label { font-size: 0.875rem; font-weight: 500; }
.theme-field input, .theme-field textarea, .theme-field select {
	width: 100%; box-sizing: border-box;
	height: 2.75rem; padding: 0 1rem;
	border-radius: var(--radius); border: 1px solid var(--color-border);
	background: var(--color-background); color: var(--color-foreground);
	font-family: var(--font-body); font-size: 1rem;
	outline: none; transition: box-shadow 0.2s;
}
.theme-field textarea { height: auto; padding: 0.625rem 1rem; resize: vertical; }
.theme-field input::placeholder, .theme-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-field input:focus, .theme-field textarea:focus, .theme-field select:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent); }

/* =====================================================================
   21. CONTACT
   ===================================================================== */
.contact-section { position: relative; overflow: hidden; }
.contact-media { position: absolute; inset: 0; }
.contact-media .cover-img, .contact-media video { opacity: 0.3; }
.contact-media-gradient { position: absolute; inset: 0; opacity: 0.8; background-image: linear-gradient(150deg, var(--color-storm-deep) 0%, var(--color-storm) 55%, color-mix(in srgb, var(--color-mauve) 18%, var(--color-storm)) 100%); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.contact-grid > * { min-width: 0; max-width: 100%; }
.contact-title { margin-top: 1rem; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 640px) { .contact-title { font-size: 3rem; } }
@media (min-width: 768px) { .contact-title { font-size: 3.75rem; } }
.contact-subtitle { margin-top: 1.25rem; max-width: 28rem; }
.contact-info-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-info-list .theme-icon { margin-top: 0.2rem; color: var(--color-primary); flex-shrink: 0; }
.contact-social { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.footer-social-link {
	width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--color-border); color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	transition: color 0.2s, border-color 0.2s;
}
.footer-social-link:hover { color: var(--color-primary); border-color: var(--color-primary); }
.contact-form-card {
	position: relative;
	background: color-mix(in srgb, var(--color-card) 90%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	padding: 1.5rem;
}
@media (min-width: 640px) { .contact-form-card { padding: 2rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.theme-select-wrap { position: relative; }
.theme-select-wrap select { appearance: none; padding-right: 2.5rem; }
.theme-select-chevron { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-submit { width: 100%; }
.contact-form-note { text-align: center; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.contact-thanks { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.contact-thanks > * { width: 100%; max-width: 100%; min-width: 0; }
.contact-thanks-icon { width: 3rem; height: 3rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.contact-thanks-title { margin-top: 1.25rem; font-size: 1.5rem; }
.contact-thanks-body { margin-top: 0.5rem; max-width: 20rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* =====================================================================
   22. FOOTER
   ===================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); overflow-x: clip; }
.site-footer .site-logo-svg,
.site-footer .site-logo-img,
.site-footer .custom-logo-img { color: var(--color-foreground); }
.site-footer .site-brand-name { display: block; color: var(--color-foreground); }
.footer-grid { padding: 3.5rem 0; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; padding: 5rem 0; } }
.footer-tagline { margin-top: 1.25rem; max-width: 24rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; }
.footer-quote { margin-top: 1rem; font-size: 1.125rem; color: var(--color-accent); }
.footer-brand-text { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; }
.break-all { overflow-wrap: anywhere; word-break: break-word; }
.footer-social { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; }
.footer-eyebrow { margin-bottom: 1.25rem; font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--color-primary); font-weight: 500; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav-list .theme-nav-link { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.footer-nav-list .theme-nav-link:hover { color: var(--color-foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.footer-contact-list .theme-icon { margin-top: 0.15rem; flex-shrink: 0; }
.footer-contact-list a:hover { color: var(--color-foreground); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-copyright, .footer-credit { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.footer-credit a { color: var(--color-foreground); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--color-primary); }

/* =====================================================================
   23. 404 / GENERIC PAGE
   ===================================================================== */
.not-found-wrap { padding: 8rem 0; text-align: center; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.not-found-wrap > * { max-width: 100%; min-width: 0; margin-left: auto; margin-right: auto; }
.not-found-title { font-size: 3rem; margin-bottom: 1rem; }
.not-found-text { margin-bottom: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.page-content-wrap { padding-top: 4rem; padding-bottom: 4rem; }
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }
body.woocommerce-checkout .page-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.875rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title { font-size: 2.25rem; }
}

/* =====================================================================
   24. WOOCOMMERCE — SINGLE PRODUCT
   ===================================================================== */
.single-product-main { padding-top: var(--header-height); padding-bottom: 5rem; }
.single-product-top { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.back-to-shop-link:hover { color: var(--color-foreground); }
.back-to-shop-link .theme-icon { margin-right: 0.5rem; }

.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%; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; padding-bottom: 2.5rem; } }
.theme-product-main-image { position: relative; aspect-ratio: 3 / 4; width: 100%; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; display: flex; }
.product-gallery-img { width: 100%; height: 100%; min-height: 100%; flex: 1 1 auto; object-fit: cover; object-position: center; display: block; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s; padding: 0; background: var(--color-secondary); }
.theme-product-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

/* Hide any WooCommerce default gallery injected alongside the custom gallery. */
.single-product .woocommerce-product-gallery,
.single-product .flex-viewport,
.single-product .flex-control-nav,
.single-product .flex-direction-nav { display: none !important; }
.theme-product-cat { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-product-cat a { color: inherit; }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; line-height: 1.2; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.product-price { font-family: var(--font-body); font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 600; color: var(--color-primary); }
.product-price del { opacity: 0.5; margin-right: 0.5em; font-size: 0.85em; }
.product-stock-status { margin-bottom: 1.5rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; }
.product-stock-status.is-out-of-stock { color: var(--color-foreground); opacity: 0.6; }
.product-description {
	margin-bottom: 2rem;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
	overflow-wrap: break-word;
	word-break: break-word;
}
.product-description p { margin: 0; }
.theme-quantity-wrapper { display: flex; align-items: stretch; border: 1px solid var(--color-border); overflow: hidden; }
.theme-quantity-wrapper .theme-qty-minus,
.theme-quantity-wrapper .theme-qty-plus {
	flex: 1 1 0;
	min-width: 0;
	padding: 0.75rem 1rem;
	height: auto;
	min-height: 0;
	background: none;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-quantity-wrapper .theme-qty-input {
	flex: 0 0 3rem;
	width: 3rem;
	min-width: 3rem;
	text-align: center;
	border: none;
	background: none;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	padding: 0.75rem 0;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-details-block { margin-top: 0; border-top: 1px solid var(--color-border); padding-top: 2rem; }
.product-details-title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.product-details-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.product-details-list li::before {
	content: '';
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 999px;
	background: var(--color-primary);
	margin-top: 0.5rem;
	flex-shrink: 0;
}

.theme-variation-attr { margin-bottom: 1.5rem; }
.theme-variation-label { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.theme-variation-pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill { padding: 0.5rem 1rem; font-family: var(--font-body); font-size: 0.875rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background); transition: all 0.2s; }
.theme-variation-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-variation-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.theme-variations-native-hidden { display: none !important; }
.theme-attr-select-hidden { display: none !important; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

.single-product .variations_form.cart { margin-bottom: 2rem; }
.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 1rem; margin-bottom: 2rem; }
.single-product .theme-add-to-cart-area > .theme-quantity-wrapper { flex: 1 1 50%; max-width: 50%; min-width: 0; }
.single-product .theme-add-to-cart-area > .single_add_to_cart_button { flex: 1 1 50%; max-width: 50%; min-width: 0; width: auto; }
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .woocommerce-variation-description,
.single-product .woocommerce-variation.single_variation {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
	margin-bottom: 1rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.single-product .woocommerce-variation-description p { margin: 0 0 0.75rem; }
.single-product .woocommerce-variation-description p:last-child { margin-bottom: 0; }
.single-product .woocommerce-variation-price .price {
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-primary);
}
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* Add-to-cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-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;
	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-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 .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card-scoped compact variant is not used in this design (cards have no ATC button). */

/* Hide "View cart" injected 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; }

/* =====================================================================
   25. WOOCOMMERCE — RELATED PRODUCTS
   ===================================================================== */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-title { font-size: 1.5rem; } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =====================================================================
   26. WOOCOMMERCE — ARCHIVE / SHOP PAGE
   ===================================================================== */
.archive-product-main { padding-top: var(--header-height); padding-bottom: 5rem; }
.archive-product-wrap { padding-top: 3rem; }

/* =====================================================================
   27. WOOCOMMERCE — NOTICES (scoped, Section 14.1)
   ===================================================================== */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-radius: var(--radius);
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	list-style: none;
}
.woocommerce-error { background: color-mix(in srgb, #b3261e 10%, transparent); color: #b3261e; }
.woocommerce-message { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }

/* =====================================================================
   28. SIDE CART DRAWER
   ===================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 99;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 100;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s 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-size: 1.125rem; font-weight: 700; }
.theme-cart-close { background: none; border: none; padding: 0.25rem; opacity: 0.7; }
.theme-cart-close:hover { opacity: 1; }
.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-empty-icon { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-cart-empty-text { margin-bottom: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; border-radius: var(--radius); display: block; }
.theme-cart-item-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { display: block; font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { margin-top: 0.125rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-item-variation { margin-top: 0.25rem; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-item-variation dl.variation {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 0.35rem;
	row-gap: 0.125rem;
	align-items: baseline;
}
.theme-cart-item-variation dt,
.theme-cart-item-variation dd {
	margin: 0;
	display: block;
}
.theme-cart-item-variation dt { font-weight: 500; }
.theme-cart-item-variation dd p {
	margin: 0;
	display: inline;
}
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item-controls .theme-qty-minus, .theme-cart-item-controls .theme-qty-plus { padding: 0.25rem; min-height: 0; height: auto; border-radius: var(--radius); }
.theme-cart-item-controls .theme-qty-minus:hover, .theme-cart-item-controls .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-cart-item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); background: none; border: none; }
.theme-cart-item-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-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-label { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-checkout-btn { width: 100%; }

/* =====================================================================
   29. WOOCOMMERCE — CHECKOUT BLOCK (Section 13)
   ===================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .site-main > .container-wide.page-content-wrap {
	width: 100%;
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
body.woocommerce-checkout .page-content-wrap,
body.woocommerce-checkout .entry-content { max-width: 100%; min-width: 0; width: 100%; box-sizing: border-box; }

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box;
	background: transparent;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: var(--checkout-gap) !important;
	margin: 0 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	flex: 1 1 100% !important;
	width: 100% !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-main {
		flex: 1 1 calc(62% - var(--checkout-gap)) !important;
		width: auto !important;
		max-width: calc(62% - var(--checkout-gap)) !important;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar {
		flex: 0 0 calc(38% - var(--checkout-gap)) !important;
		width: auto !important;
		max-width: calc(38% - var(--checkout-gap)) !important;
	}
}

body.woocommerce-checkout .wc-block-components-sidebar:empty,
body.woocommerce-checkout .wc-block-checkout__sidebar:empty {
	display: none !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	min-width: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 1rem !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
	flex: 1 1 auto !important;
	overflow-wrap: anywhere;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	flex: 0 0 auto !important;
	white-space: nowrap;
}
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 .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0 !important;
	background-color: var(--color-background) !important;
	width: 100% !important;
	max-width: none !important;
	outline: 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,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row select:focus {
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 45%, transparent) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: var(--btn-text-transform) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* =====================================================================
   30. WOOCOMMERCE — CART / MY ACCOUNT / THANK-YOU (Section 13.7 / 22.8)
   ===================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table {
	width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); 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-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* =====================================================================
   31. RESPONSIVE HELPERS
   ===================================================================== */
@media (max-width: 639px) {
	.site-header .site-nav { gap: 0.5rem; }
	.site-logo-img,
	.custom-logo-img { max-width: min(10rem, 46vw); }
	.single-product .theme-add-to-cart-area { flex-wrap: nowrap; gap: 0.75rem; }
	.single-product .theme-add-to-cart-area > .theme-quantity-wrapper,
	.single-product .theme-add-to-cart-area > .single_add_to_cart_button { flex: 1 1 50%; max-width: 50%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .hero-anim, .hero-anim-scale, .marquee-track, .hero-scroll-cue {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
