/* ==========================================================================
   The Arts of Healing — theme stylesheet.
   All values map 1:1 to the original design system tokens
   design tokens. Color hex values are injected at runtime by
   inc/customizer.php (Section 6.1); the values below are load-time
   fallbacks only, identical to the HSL->hex conversion the PHP performs.
   ========================================================================== */

:root {
	--background: #f2e9dc;
	--foreground: #241d16;
	--primary: #536048;
	--secondary: #e2d3ba;
	--accent: #dc6e26;
	--muted: #eee5d6;
	--ivory: #faf6ee;
	--linen: #efe4d2;
	--bone: #e5d8c5;
	--rose: #815339;
	--border: #e0d5c2;
	--destructive: #b7402f;
	--primary-foreground: #faf5ec;
	--logo-height: 60px;

	--font-display: 'Fraunces', 'Karla', Georgia, serif;
	--font-body: 'Karla', system-ui, -apple-system, sans-serif;
	--font-script: 'Great Vibes', 'Fraunces', cursive;

	--fs-micro: 11px;
	--fs-eyebrow: 12px;
	--fs-caption: 13px;
	--fs-body-sm: 14px;
	--fs-body: 15px;
	--fs-lead: 20px;
	--fs-display-hero: clamp(2.2rem, 5.6vw, 4.6rem);
	--fs-display-section: clamp(2rem, 5.4vw, 4rem);

	--ls-label-tight: 0.12em;
	--ls-label: 0.14em;
	--ls-label-wide: 0.15em;
	--ls-badge: 0.16em;
	--ls-eyebrow-tight: 0.2em;
	--ls-eyebrow: 0.22em;
	--ls-eyebrow-wide: 0.28em;
	--ls-section-label: 0.32em;
	--ls-section-label-wide: 0.38em;

	--lh-display: 1.05;
	--lh-display-tight: 1.02;

	--header-h: 116px;
	--radius: 0.5rem;
	--shadow-soft: 0 4px 20px -8px rgba(38, 30, 15, 0.16);
	--shadow-elevated: 0 20px 50px -18px rgba(38, 30, 15, 0.3);

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--checkout-gap: 2.5rem;
}

/* ---------------------------------------------------------------- RESET */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
.font-display { font-family: var(--font-display); font-weight: 600; }
.font-script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; font-family: inherit; background: none; border: none; padding: 0; color: inherit; }
[role="button"],
summary,
label[for],
select,
.theme-cat-pill,
.theme-faq-item button,
.theme-faq-trigger,
.theme-product-card-wrap,
.theme-product-card,
.theme-cart-overlay,
[data-cart-open],
[data-cart-close],
[data-menu-toggle],
[data-shop-cat],
[data-shop-view-more],
input[type="submit"],
input[type="button"],
input[type="image"],
.woocommerce a.button,
.woocommerce button.button {
	cursor: pointer;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.product-card-img) { max-width: 100%; height: auto; }
.cover-img, .product-card-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
	image-orientation: from-image;
}
input, textarea, select { font-family: inherit; font-size: inherit; }
section[id] { scroll-margin-top: var(--header-h); }

.container-wide { width: 100%; max-width: 84rem; margin: 0 auto; padding-left: 1.75rem; padding-right: 1.75rem; box-sizing: border-box; }
@media (min-width: 640px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* ---------------------------------------------------------------- REVEAL ANIMATION */
[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
body.is-customizer [data-reveal],
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { transition: none; opacity: 1; transform: none; }
	.hero-background-video { display: none; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }
.theme-fade-in { animation: theme-fade-in 0.7s ease-out both; }

/* ---------------------------------------------------------------- BUTTONS */
.theme-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	white-space: nowrap; border-radius: 999px; font-size: 14px; font-weight: 500;
	border: 1px solid transparent; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	height: 44px; padding: 0 1.5rem; text-transform: none;
}
.theme-btn svg { width: 1rem; height: 1rem; pointer-events: none; flex-shrink: 0; }

/* Icon sizing utilities — used on inline SVGs rendered by theme_icon(). */
svg.w-3 { width: 0.75rem; } svg.h-3 { height: 0.75rem; }
svg.w-3-5 { width: 0.875rem; } svg.h-3-5 { height: 0.875rem; }
svg.w-4 { width: 1rem; } svg.h-4 { height: 1rem; }
svg.w-5 { width: 1.25rem; } svg.h-5 { height: 1.25rem; }
svg.w-11 { width: 2.75rem; } svg.h-11 { height: 2.75rem; }
svg.w-12 { width: 3rem; } svg.h-12 { height: 3rem; }
.theme-btn-primary, .single_add_to_cart_button, .add_to_cart_button {
	background-color: var(--primary); color: var(--primary-foreground); border-color: var(--primary);
}
.theme-btn-primary:hover { background-color: var(--primary); opacity: 0.9; }
.theme-btn-outline { background: transparent; color: var(--foreground); border-color: color-mix(in srgb, var(--foreground) 25%, transparent); }
.theme-btn-outline:hover { border-color: var(--foreground); background: color-mix(in srgb, var(--foreground) 4%, transparent); }
.theme-btn-secondary { background: var(--secondary); color: var(--foreground); border-color: var(--secondary); }
.theme-btn-secondary:hover { background: var(--bone); }
.theme-btn-ghost { background: transparent; border-color: transparent; }
.theme-btn-ghost:hover { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.theme-btn-glass { background: color-mix(in srgb, var(--ivory) 70%, transparent); backdrop-filter: blur(6px); }
.theme-btn-lg { height: 48px; padding: 0 1.75rem; }
.theme-btn-sm { height: 36px; padding: 0 1rem; }
.theme-btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 999px; }
.theme-btn-block { width: 100%; }
.theme-btn:disabled, .theme-btn.disabled { pointer-events: none; opacity: 0.6; }

/* ---------------------------------------------------------------- TYPOGRAPHY HELPERS */
.theme-eyebrow { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-section-label); color: var(--primary); font-weight: 600; margin-bottom: 1rem; }
.theme-eyebrow-accent { color: var(--accent); }
.theme-heading { font-family: var(--font-display); color: var(--foreground); line-height: var(--lh-display); }
.theme-section-lead { margin-top: 1.25rem; font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; max-width: 42rem; }
@media (min-width: 768px) { .theme-section-lead { font-size: var(--fs-body); } }
.theme-script-accent { font-family: var(--font-script); font-size: 1.18em; line-height: 1; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
/* Clear the WP admin bar so the fixed header sits below it. */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.theme-announcement-bar {
	background: var(--foreground); color: var(--background);
	font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: var(--ls-label);
	text-transform: uppercase; text-align: center; padding: 0.5rem 1rem;
}
.theme-announcement-highlight { color: var(--accent); }
.theme-header-bar { background: color-mix(in srgb, var(--ivory) 85%, transparent); backdrop-filter: blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); transition: background-color 0.5s ease; }
.theme-header-row { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
/* Desktop inline nav from xl up — tablets keep the hamburger (Lovable lg ≈ phone+tablet). */
@media (min-width: 1280px) { .theme-header-row { height: 5rem; display: grid; grid-template-columns: 1fr auto 1fr; } }

.theme-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; order: 1; }
.theme-menu-toggle:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.theme-menu-toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1280px) { .theme-menu-toggle { display: none; } }

.theme-brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; order: 2; min-width: 0; }
@media (min-width: 1280px) { .theme-brand { order: 1; justify-self: start; } }
/* Match Lovable: h-12 / lg:h-[4.5rem], w-auto, rounded-full */
img.theme-header-logo,
.theme-header-logo {
	height: 3rem !important;
	width: auto !important;
	max-height: 3rem !important;
	max-width: none;
	border-radius: 999px;
	object-fit: contain;
	display: block;
}
@media (min-width: 1280px) {
	img.theme-header-logo,
	.theme-header-logo {
		height: 4.5rem !important;
		max-height: 4.5rem !important;
	}
}
.theme-header-brand-text, .theme-header-logo-text { display: none; font-family: var(--font-display); font-size: var(--fs-body); color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 12rem; }
@media (min-width: 640px) { .theme-header-brand-text, .theme-header-logo-text { display: block; } }
@media (min-width: 768px) { .theme-header-brand-text, .theme-header-logo-text { max-width: none; } }

.theme-primary-nav { display: none; order: 3; }
@media (min-width: 1280px) { .theme-primary-nav { display: flex; order: 2; justify-self: center; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 1280px) { .theme-nav-list { gap: 1.75rem; } }
.theme-nav-link { font-size: var(--fs-body-sm); font-weight: 500; color: color-mix(in srgb, var(--foreground) 75%, transparent); transition: color 0.3s ease; position: relative; padding-bottom: 4px; }
.theme-nav-link:hover, .theme-nav-link.is-active { color: var(--primary); }

.theme-header-actions { display: flex; align-items: center; gap: 0.5rem; justify-self: end; order: 3; }
.theme-cart-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; }
.theme-cart-toggle:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.theme-cart-toggle svg { width: 1.25rem; height: 1.25rem; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; background: var(--primary); color: var(--primary-foreground);
	font-size: var(--fs-micro); font-weight: 500; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-nav { border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); background: color-mix(in srgb, var(--ivory) 95%, transparent); backdrop-filter: blur(20px); animation: theme-fade-in 0.3s ease-out; }
.theme-mobile-nav-inner {
	padding-top: 1rem;
	padding-bottom: 1rem;
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
}
.theme-mobile-nav-list,
.theme-mobile-nav .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-mobile-nav-list li,
.theme-mobile-nav .theme-nav-list li {
	display: block;
	width: 100%;
}
.theme-mobile-nav-list a,
.theme-mobile-nav .theme-nav-list a {
	display: block;
	width: 100%;
	text-align: left;
	font-size: var(--fs-body-sm);
	font-weight: 500;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	color: color-mix(in srgb, var(--foreground) 80%, transparent);
}
.theme-mobile-nav-list li:last-child a,
.theme-mobile-nav .theme-nav-list li:last-child a { border-bottom: 0; }
@media (min-width: 1280px) { .theme-mobile-nav { display: none !important; } }

/* home hero fills viewport under transparent-ish fixed header */
.theme-home-main .theme-hero { margin-top: 0; }

/* ==========================================================================
   HERO
   ========================================================================== */
.theme-hero { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--ivory); }
.theme-hero-bg-img, .theme-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero-scrim { position: absolute; inset: 0; background-image: radial-gradient(at center, color-mix(in srgb, var(--ivory) 78%, transparent) 0%, color-mix(in srgb, var(--ivory) 58%, transparent) 55%, color-mix(in srgb, var(--ivory) 24%, transparent) 100%); pointer-events: none; }
.theme-hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	color: var(--foreground);
	padding-top: 10rem;
	padding-bottom: 6rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-hero-content {
		padding-top: 13rem;
		padding-bottom: 8rem;
	}
}
.theme-hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 1.75rem; padding: 0 0.25rem; }
.theme-hero-badge {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem; border-radius: 999px;
	background: color-mix(in srgb, var(--ivory) 85%, transparent); border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	backdrop-filter: blur(6px); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-eyebrow-tight); font-weight: 600;
	max-width: 100%; flex-wrap: wrap; justify-content: center; text-align: center; line-height: 1.4;
}
.theme-hero-badge svg { color: var(--primary); width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.theme-hero-heading {
	font-size: var(--fs-display-hero);
	line-height: var(--lh-display-tight);
	letter-spacing: -0.02em;
	max-width: 64rem;
	margin: 0 auto;
	font-weight: 600;
	padding: 0 0.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-hero-heading-script { color: var(--primary); font-size: 1.12em; line-height: 1; }
.theme-hero-cta-row { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: stretch; padding: 0 0.25rem; }
@media (min-width: 640px) { .theme-hero-cta-row { flex-direction: row; gap: 1rem; align-items: center; justify-content: center; } }

/* ==========================================================================
   MISSION / BRAND SECTION
   ========================================================================== */
.theme-brand-section { background: var(--ivory); padding: 6rem 0; border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
@media (min-width: 768px) { .theme-brand-section { padding: 8rem 0; } }
.theme-brand-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .theme-brand-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.theme-brand-section .theme-brand-heading, .about-heading, .contact-heading, .faq-heading { font-size: 2.75rem; font-weight: 600; }
@media (min-width: 768px) { .theme-brand-section .theme-brand-heading { font-size: 3.5rem; } }
@media (min-width: 1024px) { .theme-brand-section .theme-brand-heading { font-size: 3.6rem; } }
.theme-brand-copy { max-width: 34rem; }
.theme-brand-intro { margin-top: 2rem; font-size: var(--fs-body); color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .theme-brand-intro { font-size: 1.125rem; } }
.theme-brand-mark { margin-top: 2.5rem; display: inline-flex; align-items: center; gap: 1rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); background: color-mix(in srgb, #ffffff 60%, transparent); box-shadow: var(--shadow-soft); padding: 0.5rem 1.5rem 0.5rem 0.5rem; }
.theme-brand-mark-img { width: 2.75rem; height: 2.75rem; object-fit: contain; border-radius: 999px; flex-shrink: 0; }
.theme-brand-mark-caption { font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 80%, transparent); max-width: 16rem; line-height: 1.4; }

.theme-brand-values { display: grid; grid-template-columns: 1fr; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-left: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
@media (min-width: 640px) { .theme-brand-values { grid-template-columns: 1fr 1fr; } }
.theme-brand-value { padding: 2rem; border-right: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); transition: background-color 0.3s ease; }
@media (min-width: 768px) { .theme-brand-value { padding: 2.5rem 2.75rem; } }
.theme-brand-value:hover { background: color-mix(in srgb, var(--linen) 60%, transparent); }
.theme-brand-value-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, transparent); margin-bottom: 1.75rem; color: var(--accent); }
.theme-brand-value-title { font-size: 1.375rem; margin-bottom: 0.75rem; font-weight: 600; }
@media (min-width: 768px) { .theme-brand-value-title { font-size: 1.5rem; } }
.theme-brand-value-body { font-size: var(--fs-body-sm); line-height: 1.7; color: color-mix(in srgb, var(--foreground) 70%, transparent); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.theme-services-section { background: var(--ivory); padding: 6rem 0; }
@media (min-width: 768px) { .theme-services-section { padding: 8rem 0; } }
.theme-section-intro { max-width: 48rem; margin-bottom: 3.5rem; }
.services-heading { font-size: 2.5rem; font-weight: 600; }
@media (min-width: 768px) { .services-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3.2rem; } }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-service-card { background: var(--linen); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s ease; display: flex; flex-direction: column; height: 100%; }
.theme-service-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.theme-service-card:hover .theme-service-image { transform: scale(1.05); }
.theme-service-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory); }
.theme-service-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-service-icon-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.theme-service-body { padding: 1.75rem 2rem; flex: 1; }
.theme-service-title { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }
.theme-service-text { font-size: var(--fs-body-sm); line-height: 1.7; color: color-mix(in srgb, var(--foreground) 70%, transparent); }

/* ==========================================================================
   SHOP / PRODUCT GRID
   ========================================================================== */
.theme-shop-section { background: var(--linen); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .theme-shop-section { padding: 8rem 0; } }
.theme-shop-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.shop-heading { font-size: 2.5rem; font-weight: 600; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.2rem; } }
.theme-shop-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.theme-shop-cats { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.theme-cat-pill {
	height: 2.5rem; padding: 0 1.25rem; border-radius: 999px;
	font-size: var(--fs-body-sm); font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	background: transparent;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.theme-cat-pill:hover { border-color: var(--primary); color: var(--primary); }
.theme-cat-pill.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.theme-shop-search { position: relative; width: 100%; margin-left: 0; }
@media (min-width: 640px) { .theme-shop-search { width: auto; margin-left: auto; } }
@media (min-width: 1024px) { .theme-shop-search { width: 20rem; } }
.theme-shop-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--foreground) 40%, transparent); display: flex; pointer-events: none; }
.theme-shop-search-icon svg { width: 1rem; height: 1rem; }
.theme-shop-search-input { width: 100%; height: 2.5rem; padding: 0 1rem 0 2.75rem; border-radius: 999px; background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); font-size: var(--fs-body-sm); }
.theme-shop-search-input:focus { outline: none; border-color: color-mix(in srgb, var(--primary) 60%, transparent); }
.theme-shop-search-input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }

/* Match Lovable: grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-x-6 gap-y-10 */
.theme-product-grid,
.theme-shop-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 1.5rem; /* gap-x-6 */
	row-gap: 2.5rem; /* gap-y-10 */
	align-items: stretch;
}
@media (min-width: 640px) {
	.theme-product-grid,
	.theme-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.theme-product-grid,
	.theme-shop-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
/* display:flex above overrides the native [hidden] rule — force hide for filters / view-more */
.theme-product-card-wrap[hidden],
.theme-product-card-wrap.is-shop-hidden,
.theme-shop-more-wrap[hidden],
.theme-shop-empty-js[hidden],
.theme-shop-grid[hidden],
.theme-product-grid[hidden],
[data-shop-view-more][hidden] {
	display: none !important;
}
.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-card__image-wrapper > img,
.theme-product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	image-orientation: from-image;
	transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
	pointer-events: none;
	will-change: transform;
}
.theme-product-card-wrap:hover .theme-product-card-img,
.theme-product-card-wrap:focus-within .theme-product-card-img {
	transform: scale(1.04);
}
/* Soft bottom scrim on hover — matches Lovable ProductCard */
.theme-card-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 35%, transparent), transparent 55%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
	z-index: 1;
}
.theme-product-card-wrap:hover .theme-card-scrim,
.theme-product-card-wrap:focus-within .theme-card-scrim {
	opacity: 1;
}
/* Product hit-area under controls (Lovable z-0) — fills the image frame */
.theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.theme-product-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 10;
	background: var(--foreground);
	color: var(--background);
	font-size: var(--fs-micro);
	font-weight: 500;
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
}
.theme-card-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--background) 85%, transparent);
	backdrop-filter: blur(4px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	cursor: pointer;
	transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	box-shadow: var(--shadow-soft);
}
.theme-card-nav:hover { background: var(--primary); color: var(--primary-foreground); }
.theme-card-nav-prev { left: 0.5rem; }
.theme-card-nav-next { right: 0.5rem; }
.theme-product-card-wrap:hover .theme-card-nav,
.theme-product-card-wrap:focus-within .theme-card-nav {
	opacity: 1;
}
.theme-card-dots {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 10;
	display: flex;
	gap: 0.25rem;
	pointer-events: none;
}
.theme-card-dot {
	height: 4px;
	width: 4px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--background) 60%, transparent);
	transition: width 0.2s ease, background-color 0.2s ease;
}
.theme-card-dot.is-active { width: 16px; background: var(--background); }
.theme-card-quick-actions {
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}
.theme-product-card-wrap:hover .theme-card-quick-actions,
.theme-product-card-wrap:focus-within .theme-card-quick-actions {
	opacity: 1;
	pointer-events: auto;
}
.theme-card-add-btn,
.theme-card-view-btn {
	pointer-events: auto;
	cursor: pointer;
	position: relative;
	z-index: 21;
}
.theme-card-add-btn {
	flex: 1;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	height: 2.5rem !important;
	min-height: 2.5rem !important;
	padding: 0 1rem !important;
	border: none !important;
	border-radius: 999px !important;
	background: color-mix(in srgb, var(--background) 95%, transparent) !important;
	backdrop-filter: blur(4px);
	color: var(--foreground) !important;
	font-family: var(--font-body) !important;
	font-size: var(--fs-body-sm) !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: var(--shadow-soft);
	transition: background-color 0.3s ease, color 0.3s ease !important;
	opacity: 1 !important;
}
.theme-card-add-btn svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.theme-card-add-btn:hover,
.theme-card-add-btn:focus-visible {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	opacity: 1 !important;
}
.theme-card-view-btn {
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(4px);
	color: var(--foreground);
	box-shadow: var(--shadow-soft);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-card-view-btn svg { width: 1rem; height: 1rem; }
.theme-card-view-btn:hover,
.theme-card-view-btn:focus-visible {
	background: var(--primary);
	color: var(--primary-foreground);
}

.theme-product-card-info { display: block; padding: 0 0.125rem; flex: 1; position: relative; z-index: 1; }
.theme-product-card-cat { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-badge); color: color-mix(in srgb, var(--primary) 90%, transparent); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card-title {
	font-family: var(--font-display);
	font-size: 1.15rem;
	line-height: 1.35;
	color: var(--foreground);
	transition: color 0.3s ease;
	font-weight: 500;
	min-width: 0;
}
@media (min-width: 768px) { .theme-product-card-title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card-title { font-size: 1.4rem; } }
.theme-product-card-wrap:hover .theme-product-card-title,
.theme-product-card-wrap:focus-within .theme-product-card-title {
	color: var(--primary);
}
.theme-product-card-price { margin-top: 0.375rem; font-size: var(--fs-body-sm); font-weight: 500; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
.theme-product-card-price ins { text-decoration: none; }
.theme-product-card-price del { opacity: 0.5; margin-right: 0.375rem; }

.theme-shop-empty { text-align: center; padding: 5rem 0; }
.theme-shop-empty-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-shop-empty-body { font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 60%, transparent); max-width: 24rem; margin: 0 auto; }
.theme-shop-more-wrap { margin-top: 3rem; display: flex; justify-content: center; }
.theme-shop-more-wrap.is-shop-hidden,
.theme-shop-more-wrap[hidden] { display: none !important; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.theme-marquee { background: var(--primary); padding: 1.25rem 0; overflow: hidden; }
.theme-marquee-track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; width: max-content; }
.theme-marquee-item { display: flex; align-items: center; flex-shrink: 0; color: color-mix(in srgb, var(--primary-foreground) 95%, transparent); font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.01em; }
@media (min-width: 768px) { .theme-marquee-item { font-size: 1.25rem; } }
.theme-marquee-text { margin: 0 1.5rem; }
@media (min-width: 768px) { .theme-marquee-text { margin: 0 2rem; } }
.theme-marquee-dot { color: color-mix(in srgb, var(--primary-foreground) 50%, transparent); font-size: 0.875rem; }

/* ==========================================================================
   THERAPY
   ========================================================================== */
.theme-therapy-section { position: relative; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .theme-therapy-section { padding: 8rem 0; } }
.theme-therapy-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.theme-therapy-scrim { position: absolute; inset: 0; background-image: linear-gradient(180deg, color-mix(in srgb, var(--ivory) 92%, transparent) 0%, color-mix(in srgb, var(--ivory) 70%, transparent) 35%, color-mix(in srgb, var(--linen) 78%, transparent) 100%); pointer-events: none; }
.theme-therapy-inner { position: relative; }
.therapy-heading { font-size: 2.5rem; font-weight: 600; }
@media (min-width: 768px) { .therapy-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .therapy-heading { font-size: 3.2rem; } }
.theme-therapy-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-therapy-grid { grid-template-columns: 1fr 1fr; } }
.theme-therapy-card { background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; transition: border-color 0.3s ease; }
@media (min-width: 768px) { .theme-therapy-card { padding: 2.25rem; } }
.theme-therapy-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.theme-therapy-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); margin-bottom: 1.5rem; }
.theme-therapy-title { font-size: 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .theme-therapy-title { font-size: 1.75rem; } }
.theme-therapy-price { margin-top: 0.5rem; font-size: var(--fs-body-sm); font-weight: 600; text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--accent); }
.theme-therapy-body { margin-top: 1.25rem; font-size: var(--fs-body-sm); line-height: 1.7; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
@media (min-width: 768px) { .theme-therapy-body { font-size: var(--fs-body); } }
.theme-therapy-bullets { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }
.theme-therapy-bullets li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.theme-therapy-bullets svg { color: var(--primary); margin-top: 0.125rem; flex-shrink: 0; }
.theme-therapy-cta-wrap { margin-top: auto; padding-top: 2rem; }

/* ==========================================================================
   PRICING CAROUSEL
   ========================================================================== */
.theme-pricing-section { background: var(--ivory); padding: 6rem 0; }
@media (min-width: 768px) { .theme-pricing-section { padding: 8rem 0; } }
.theme-pricing-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .theme-pricing-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.pricing-heading { font-size: 2.5rem; font-weight: 600; }
@media (min-width: 768px) { .pricing-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .pricing-heading { font-size: 3.2rem; } }
.theme-pricing-nav { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.theme-pricing-viewport { overflow: hidden; margin: 0 -0.5rem; }
.theme-pricing-track { display: flex; gap: 0; transition: transform 0.4s ease; }
.theme-pricing-slide { flex: 0 0 88%; min-width: 0; padding: 0 0.5rem; box-sizing: border-box; }
@media (min-width: 640px) { .theme-pricing-slide { flex: 0 0 50%; padding: 0 0.5rem; } }
@media (min-width: 1024px) { .theme-pricing-slide { flex: 0 0 33.3333%; padding: 0 0.75rem; } }
@media (min-width: 1024px) { .theme-pricing-viewport { margin: 0 -0.75rem; } }
.theme-pricing-card { background: var(--linen); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-radius: var(--radius); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; transition: border-color 0.3s ease; }
@media (min-width: 768px) { .theme-pricing-card { padding: 2rem; } }
.theme-pricing-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.theme-pricing-card-head { display: flex; align-items: flex-start; gap: 1rem; }
.theme-pricing-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); flex-shrink: 0; }
.theme-pricing-title { font-size: 1.5rem; line-height: 1.3; font-weight: 600; }
.theme-pricing-note { margin-top: 0.375rem; font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 65%, transparent); line-height: 1.6; }
.theme-pricing-lines { margin-top: 1.75rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-pricing-lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: 0.875rem 0; border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-pricing-line-label { font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.theme-pricing-line-value { font-family: var(--font-display); font-size: var(--fs-body); color: var(--primary); white-space: nowrap; }
@media (min-width: 768px) { .theme-pricing-line-value { font-size: 1.125rem; } }
.theme-pricing-dots { margin-top: 2.25rem; display: flex; align-items: center; justify-content: center; gap: 0.625rem; }
.theme-pricing-dot { height: 8px; width: 8px; border-radius: 999px; background: color-mix(in srgb, var(--foreground) 20%, transparent); transition: width 0.3s ease, background-color 0.3s ease; }
.theme-pricing-dot.is-active { width: 28px; background: var(--primary); }

/* ==========================================================================
   ABOUT / OWNER
   ========================================================================== */
.theme-about-section { background: var(--linen); padding: 6rem 0; overflow-x: clip; }
@media (min-width: 768px) { .theme-about-section { padding: 8rem 0; } }
.theme-about-section .container-wide,
.theme-about-grid,
.theme-about-copy,
.theme-about-photo-wrap {
	min-width: 0;
	max-width: 100%;
}
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.theme-about-photo-wrap { display: flex; }
.theme-about-photo { position: relative; width: 100%; min-height: 32rem; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bone); box-shadow: var(--shadow-elevated); }
@media (min-width: 1024px) { .theme-about-photo { min-height: 0; aspect-ratio: auto; height: 100%; } }
.theme-about-badge { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-eyebrow-tight); font-weight: 600; max-width: calc(100% - 2rem); }
.theme-about-badge-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary-foreground); flex-shrink: 0; }
.theme-about-copy { max-width: none; overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 1024px) { .theme-about-copy { padding-left: 1.5rem; } }
.about-heading {
	font-size: clamp(1.75rem, 7vw, 2.75rem);
	font-weight: 600;
	line-height: var(--lh-display);
	overflow-wrap: break-word;
	word-break: break-word;
	max-width: 100%;
}
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.2rem; } }
.theme-about-quote {
	margin-top: 2rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	line-height: 1.4;
	border-left: 2px solid color-mix(in srgb, var(--primary) 70%, transparent);
	padding-left: 1.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
	max-width: 100%;
}
@media (min-width: 768px) { .theme-about-quote { font-size: 1.5rem; } }
.theme-about-paragraphs {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	font-size: var(--fs-body);
	line-height: 1.75;
	color: color-mix(in srgb, var(--foreground) 80%, transparent);
	max-width: min(65ch, 100%);
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-about-contact-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; max-width: 100%; }
.theme-pill-link { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); background: var(--ivory); font-size: var(--fs-body-sm); font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; max-width: 100%; }
.theme-pill-link:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.theme-about-stats { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); padding-top: 2rem; max-width: 100%; }
@media (min-width: 640px) { .theme-about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-about-stat { min-width: 0; max-width: 100%; }
.theme-about-stat-value { font-family: var(--font-display); font-size: 1.125rem; color: var(--primary); overflow-wrap: break-word; word-break: break-word; font-weight: 600; }
@media (min-width: 768px) { .theme-about-stat-value { font-size: 1.25rem; } }
.theme-about-stat-label { margin-top: 0.25rem; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-label-tight); color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.theme-faq-section { background: var(--linen); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .theme-faq-section { padding: 8rem 0; } }
.theme-faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-faq-grid { grid-template-columns: 4fr 8fr; } }
.theme-faq-side { position: relative; }
@media (min-width: 1024px) { .theme-faq-side { position: sticky; top: 7rem; align-self: start; } }
.theme-faq-ask-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--primary); color: var(--primary-foreground); padding: 1.75rem; }
.theme-faq-ask-icon-wrap {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px;
	background: var(--accent); color: var(--primary-foreground); margin-bottom: 1.25rem;
}
.theme-faq-ask-icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.theme-faq-ask-card h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.5rem; font-weight: 600; }
.theme-faq-ask-card p { font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--primary-foreground) 85%, transparent); line-height: 1.6; margin-bottom: 1.5rem; }
.theme-faq-ask-desktop { display: none; margin-top: 2.5rem; }
@media (min-width: 1024px) { .theme-faq-ask-desktop { display: block; } }
.theme-faq-ask-mobile { display: block; margin-top: 2.5rem; }
@media (min-width: 1024px) { .theme-faq-ask-mobile { display: none; } }
.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); }
.theme-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-faq-question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .theme-faq-question span:first-child { font-size: 1.25rem; } }
.theme-faq-toggle-icon { color: var(--primary); flex-shrink: 0; display: inline-flex; }
.theme-faq-icon-minus { display: none; }
.theme-faq-question[aria-expanded="true"] .theme-faq-icon-plus { display: none; }
.theme-faq-question[aria-expanded="true"] .theme-faq-icon-minus { display: inline-flex; }
.theme-faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; overflow: hidden; }
.theme-faq-answer-inner { overflow: hidden; }
.theme-faq-answer { padding-bottom: 1.5rem; padding-right: 2rem; font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; max-width: 42rem; }
@media (min-width: 768px) { .theme-faq-answer { font-size: var(--fs-body); } }

/* ==========================================================================
   PRE-CONTACT CTA
   ========================================================================== */
.theme-precontact-cta { position: relative; overflow: hidden; background: var(--ivory); }
.theme-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-cta-scrim { position: absolute; inset: 0; background-image: radial-gradient(at center, color-mix(in srgb, var(--ivory) 94%, transparent) 0%, color-mix(in srgb, var(--ivory) 80%, transparent) 55%, color-mix(in srgb, var(--ivory) 45%, transparent) 100%); pointer-events: none; }
.theme-cta-inner {
	position: relative;
	z-index: 10;
	text-align: center;
	padding-top: 7rem;
	padding-bottom: 7rem;
	color: var(--foreground);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.theme-cta-inner {
		padding-top: 10rem;
		padding-bottom: 10rem;
	}
}
.theme-cta-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-section-label-wide); color: color-mix(in srgb, var(--foreground) 70%, transparent); margin-bottom: 1.5rem; font-weight: 600; width: 100%; flex-wrap: wrap; padding: 0 0.25rem; box-sizing: border-box; }
.theme-cta-line { height: 1px; width: 2rem; background: color-mix(in srgb, var(--primary) 70%, transparent); flex-shrink: 0; }
.theme-cta-heading {
	font-size: var(--fs-display-section);
	line-height: var(--lh-display);
	letter-spacing: -0.02em;
	max-width: 56rem;
	margin: 0 auto;
	font-weight: 600;
	padding: 0 0.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-cta-heading-script { color: var(--primary); font-size: 1.12em; line-height: 1; }
.theme-cta-paragraph {
	margin-top: 1.75rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.125rem;
	line-height: 1.7;
	padding: 0 0.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 768px) { .theme-cta-paragraph { font-size: 1.25rem; } }
.theme-cta-btn-wrap { margin-top: 2.5rem; padding: 0 0.25rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.theme-contact-section { background: var(--linen); padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .theme-contact-section { padding-top: 8rem; padding-bottom: 4rem; } }
.theme-contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-contact-side { display: flex; flex-direction: column; height: 100%; }
.contact-heading { font-size: 2.5rem; font-weight: 600; }
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 3.2rem; } }
.theme-contact-intro { margin-top: 1.5rem; font-size: var(--fs-body); color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; max-width: 30rem; }
.theme-contact-info-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 0; }
@media (min-width: 1024px) {
	/* Push quote card down while keeping badge clearance via quote margin-top */
	.theme-contact-info-list { margin-bottom: auto; }
}
.theme-contact-info-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--foreground); transition: color 0.2s ease; max-width: 100%; }
.theme-contact-info-link:hover { color: var(--primary); }
.theme-contact-info-icon { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.2s ease; }
.theme-contact-info-link:hover .theme-contact-info-icon { border-color: var(--primary); }
.theme-contact-info-text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.theme-contact-info-label { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-contact-info-value { font-size: var(--fs-body); font-weight: 600; overflow-wrap: break-word; word-break: break-word; }
/* Clearance above the floating badge so it never overlaps the info list */
.theme-contact-quote-card {
	position: relative;
	margin-top: 2.75rem;
	border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	background: color-mix(in srgb, var(--ivory) 70%, transparent);
	border-radius: var(--radius);
	padding: 1.5rem 1.25rem;
}
@media (min-width: 768px) {
	.theme-contact-quote-card { padding: 1.5rem 1.75rem; }
}
.theme-contact-quote-card > *:not(.theme-contact-quote-badge) { position: relative; }
.theme-contact-quote-badge {
	position: absolute;
	top: -0.75rem;
	left: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: var(--fs-micro);
	text-transform: uppercase;
	letter-spacing: var(--ls-eyebrow);
	font-weight: 600;
	z-index: 1;
	max-width: calc(100% - 2.5rem);
}
@media (min-width: 768px) { .theme-contact-quote-badge { left: 1.5rem; } }
.theme-contact-quote { margin-top: 0.5rem; font-family: var(--font-display); color: color-mix(in srgb, var(--foreground) 85%, transparent); font-size: 1.125rem; line-height: 1.4; border-left: 2px solid color-mix(in srgb, var(--primary) 70%, transparent); padding-left: 1.25rem; overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 768px) { .theme-contact-quote { font-size: 1.25rem; } }
.theme-contact-quote-attr { margin-top: 0.75rem; padding-left: 1.25rem; font-size: var(--fs-caption); color: color-mix(in srgb, var(--foreground) 60%, transparent); letter-spacing: 0.02em; }

.theme-contact-form { background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .theme-contact-form { padding: 2rem; } }
.theme-contact-form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: 1fr 1fr; } }
.theme-form-group label { display: block; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 0.5rem; }
.theme-form-input {
	width: 100%; height: 3rem; padding: 0 1rem; background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	border-radius: 0.375rem; font-size: var(--fs-body-sm); color: var(--foreground); transition: border-color 0.2s ease;
}
.theme-form-input:focus { outline: none; border-color: var(--primary); }
.theme-form-input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.theme-form-textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.theme-form-select-wrap { position: relative; }
.theme-form-select { appearance: none; padding-right: 2.5rem; }
.theme-form-select-chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-contact-form-submit { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-contact-form-note { text-align: center; font-size: var(--fs-eyebrow); color: color-mix(in srgb, var(--foreground) 55%, transparent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--linen); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-footer-inner {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-footer-inner {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.theme-footer-grid > * { min-width: 0; max-width: 100%; }
/* Match Lovable footer: h-20 w-auto rounded-full */
img.theme-footer-logo,
.theme-footer-logo {
	height: 5rem !important;
	width: auto !important;
	max-height: 5rem !important;
	max-width: none;
	border-radius: 999px;
	object-fit: contain;
	display: block;
}
.theme-footer-tagline { margin-top: 1rem; font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; max-width: 20rem; }
.theme-footer-heading { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 1rem; font-weight: 600; }
.theme-footer-nav-list, .theme-footer-cat-list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-footer-nav-list a, .theme-footer-cat-list a { font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 65%, transparent); transition: color 0.2s ease; }
.theme-footer-nav-list a:hover, .theme-footer-cat-list a:hover { color: var(--primary); }
.theme-footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: var(--fs-body-sm); }
.theme-footer-contact-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); transition: color 0.2s ease; }
.theme-footer-contact-link:hover { color: var(--primary); }
.theme-footer-contact-static { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-footer-contact-muted { color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: var(--fs-eyebrow); color: color-mix(in srgb, var(--foreground) 55%, transparent); text-align: center; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.theme-footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.theme-footer-bottom a:hover { color: var(--primary); }

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.theme-promo-banner {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 60;
	background: var(--foreground); color: var(--background); border-radius: var(--radius); box-shadow: var(--shadow-elevated);
	padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem;
}
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-banner:not(.is-visible) { display: none; }
.theme-promo-text { flex: 1; font-size: var(--fs-caption); line-height: 1.6; }
@media (min-width: 640px) { .theme-promo-text { font-size: var(--fs-body); } }
.theme-promo-accent { color: var(--accent); font-weight: 600; }
.theme-promo-dismiss { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 999px; transition: background-color 0.2s ease; }
.theme-promo-dismiss:hover { background: rgba(255,255,255,0.1); }

/* ==========================================================================
   CART DRAWER + OVERLAY
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--foreground) 30%, transparent); z-index: 90; 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; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--ivory); z-index: 91;
	box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
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 color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-cart-drawer-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.theme-cart-drawer-close { padding: 0.375rem; border-radius: 999px; transition: background-color 0.2s ease; }
.theme-cart-drawer-close:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.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(--foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-empty-text { margin-bottom: 1.5rem; font-size: var(--fs-body-sm); color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image {
	position: relative;
	display: block;
	width: 5rem;
	height: 6rem;
	background: var(--bone);
	border-radius: 0.375rem;
	overflow: hidden;
	flex-shrink: 0;
}
.theme-cart-item-image img,
.theme-cart-item-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	image-orientation: from-image;
	padding: 0;
}
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: var(--fs-body-sm); font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.theme-cart-item-name:hover { color: var(--primary); }
.theme-cart-item-price { margin-top: 0.125rem; font-size: var(--fs-caption); color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-cart-item-variation { font-size: var(--fs-caption); color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--bone); }
.theme-cart-qty-value { font-size: var(--fs-caption); width: 1.5rem; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: var(--fs-caption); color: color-mix(in srgb, var(--foreground) 55%, transparent); transition: color 0.2s ease; }
.theme-cart-remove-btn:hover { color: var(--destructive); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); background: color-mix(in srgb, var(--linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: var(--fs-body-sm); }
.theme-cart-subtotal-label { color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-footnote { font-size: var(--fs-caption); color: color-mix(in srgb, var(--foreground) 55%, transparent); }

/* Hide WooCommerce's own "View cart" link 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; }

/* Scoped notice hiding (Section 14.1). */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 12%, transparent); border-radius: var(--radius);
	padding: 1rem 1.25rem; font-size: var(--fs-body-sm); list-style: none; margin: 0 auto 1.5rem;
}
.woocommerce-error { border-color: var(--destructive); color: var(--destructive); }

/* ==========================================================================
   WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button:not(.theme-card-add-btn),
a.single_add_to_cart_button,
a.add_to_cart_button:not(.theme-card-add-btn) {
	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:not(.theme-card-add-btn):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; }

/* Card-scoped compact button override (Section 11.4.1) — styles live with .theme-card-add-btn above. */

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.theme-product-page { padding-top: 6rem; background: var(--ivory); }
@media (min-width: 1024px) { .theme-product-page { padding-top: 7rem; } }
.theme-product-breadcrumb { padding: 1.5rem 0; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-eyebrow-tight); color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-product-breadcrumb a:hover { color: var(--primary); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; align-self: start; } }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 1 / 1; width: 100%; background: var(--linen); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.theme-product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { width: calc(20% - 0.5rem); aspect-ratio: 1 / 1; background: var(--linen); border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s ease; }
.theme-product-thumb.is-active { border-color: var(--primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--foreground) 20%, transparent); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-info { display: flex; flex-direction: column; }
.theme-product-cat { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-eyebrow-wide); color: var(--primary); margin-bottom: 0.75rem; font-weight: 600; }
.product-title, .theme-product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: var(--lh-display);
	letter-spacing: -0.015em;
	margin-bottom: 1rem;
	color: var(--foreground);
}
@media (min-width: 768px) { .product-title, .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title, .theme-product-title { font-size: 2.6rem; } }
.theme-product-price {
	font-size: var(--fs-lead);
	font-weight: 500;
	margin-bottom: 1.75rem;
	color: color-mix(in srgb, var(--foreground) 90%, transparent);
}
.theme-product-price-unit { font-size: var(--fs-body); color: color-mix(in srgb, var(--foreground) 60%, transparent); font-weight: 400; }
.theme-product-price ins { text-decoration: none; }
.theme-product-price del { opacity: 0.5; margin-right: 0.5rem; }
.theme-product-stock { font-size: var(--fs-body-sm); font-weight: 600; margin-bottom: 1rem; }
.theme-product-stock-out { color: var(--destructive); }
.theme-product-description { font-size: var(--fs-body); line-height: 1.7; color: color-mix(in srgb, var(--foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; white-space: pre-line; }
.theme-product-description p { margin-bottom: 1rem; }
.theme-product-description p:last-child { margin-bottom: 0; }

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-label {
	font-size: var(--fs-eyebrow);
	text-transform: uppercase;
	letter-spacing: var(--ls-eyebrow-tight);
	color: color-mix(in srgb, var(--foreground) 55%, transparent);
	margin-bottom: 0.625rem;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--primary); }
.theme-qty-input { width: 2.75rem; text-align: center; border: none; background: transparent; font-size: var(--fs-body-sm); font-weight: 500; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0 0 0.5rem;
	width: 100%;
}
@media (min-width: 640px) {
	.single-product .theme-add-to-cart-area {
		flex-direction: row;
	}
}
.single-product .theme-add-to-cart-area .single_add_to_cart_button,
.single-product .theme-add-to-cart-area .theme-btn,
.theme-buy-now-simple,
.theme-buy-now-variable {
	flex: 1 1 0;
	width: 100%;
	min-width: 0;
}

.theme-product-details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-product-details-heading { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-eyebrow-tight); color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 1rem; }
.woocommerce-product-details__short-description, .theme-product-details-body { font-size: var(--fs-body-sm); line-height: 1.7; color: color-mix(in srgb, var(--foreground) 75%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-details-list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-details-list li {
	position: relative;
	padding-left: 1rem;
	font-size: var(--fs-body-sm);
	line-height: 1.7;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
}
.theme-product-details-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.625rem;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 999px;
	background: var(--primary);
}

.theme-product-meta-row { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; text-align: center; }
.theme-product-meta-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.theme-product-meta-item svg { color: var(--primary); }
.theme-product-meta-item span { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-label-wide); color: color-mix(in srgb, var(--foreground) 60%, transparent); }

.theme-related-products { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-related-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.theme-related-heading { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; line-height: var(--lh-display); }
@media (min-width: 768px) { .theme-related-heading { font-size: 2.25rem; } }
.theme-related-viewall { display: none; align-items: center; gap: 0.375rem; font-size: var(--fs-body-sm); font-weight: 500; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
@media (min-width: 640px) { .theme-related-viewall { display: inline-flex; } }
.theme-related-viewall:hover { color: var(--primary); }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Variable product attribute pills (Section 11.5.2). */
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); border-radius: 999px; font-size: var(--fs-body-sm); transition: border-color 0.2s ease, background-color 0.2s ease; }
.theme-attr-pill:hover { border-color: var(--primary); }
.theme-attr-pill.is-selected { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations { margin-bottom: 1.5rem; }

/* ==========================================================================
   SHOP ARCHIVE / CATEGORY PAGES
   ========================================================================== */
.theme-archive-main { padding-top: 8rem; padding-bottom: 5rem; background: var(--ivory); }
.theme-archive-header { margin-bottom: 2.5rem; }
.theme-archive-header .page-title { font-size: 2.5rem; font-weight: 600; }
.theme-archive-empty { text-align: center; padding: 4rem 0; font-size: var(--fs-body); color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* ==========================================================================
   GENERIC PAGE / 404 / FALLBACK
   ========================================================================== */
.theme-page-main, .theme-fallback-main, .theme-404-main { padding-top: 8rem; padding-bottom: 5rem; min-height: 50vh; background: var(--ivory); }
.page-title { font-size: 2.5rem; font-weight: 600; margin-bottom: 2rem; max-width: 64rem; margin-left: auto; margin-right: auto; }
.entry-content { max-width: 64rem; margin: 0 auto; font-size: var(--fs-body); line-height: 1.75; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.theme-404-content { text-align: center; }
.theme-404-title { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 600; }
.theme-404-text { margin-bottom: 2rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); }

/* ==========================================================================
   WOOCOMMERCE CHECKOUT BLOCK OVERRIDE (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-h, 116px); padding-bottom: 4rem; }
body.woocommerce-checkout .theme-page-main,
body.woocommerce-cart .theme-page-main,
body.woocommerce-account .theme-page-main { padding-top: var(--header-h, 116px); }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .entry-content { font-family: var(--font-body); color: var(--foreground); }

/* Checkout column ratio is always 1fr 1fr (Section 13.2.1). Grid is applied
   ONLY to the direct parent of __main / __sidebar — never to an ancestor. */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		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(--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 {
	font-family: var(--font-body);
	font-size: var(--fs-body-sm);
	color: var(--foreground);
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	border-radius: 0.375rem;
	background: var(--ivory);
	width: 100% !important;
	max-width: 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 .wc-block-components-text-input input:focus-visible {
	outline: none;
	border-color: var(--primary);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: 999px !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	font-weight: 500 !important;
	height: 48px !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	background-color: var(--linen);
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items { font-family: var(--font-body); }

/* Section 15.1 rule: never stack grid/flex on both the ancestor and the checkout block. */
body.woocommerce-checkout .entry-content { display: block; max-width: none; }

/* Mobile: fields first, order summary second (native DOM order already matches). */

/* ==========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-thankyou-wrap { max-width: 64rem; margin: 0 auto; padding: 2rem 0 5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
	font-weight: 600;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	border-radius: var(--radius); padding: 1rem 1.25rem; font-size: var(--fs-body-sm);
}
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 color-mix(in srgb, var(--foreground) 10%, transparent); 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;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 30rem; overflow-wrap: break-word; background: var(--ivory);
	border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-radius: var(--radius); padding: 1.25rem;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}
body.theme-thankyou-page .theme-thankyou-not-found { text-align: center; padding: 4rem 0; }
