/* ==========================================================================
   Dreamy Designs By Shannon — theme.css
   Design tokens are emitted as CSS variables via wp_add_inline_style()
   (see functions.php / dreamy_theme_assets()); the block below provides
   the compiled fallback values so the site still renders correctly before
   that inline block loads and in contexts where it is stripped.
   ========================================================================== */

:root {
	--color-background: #f9f4fb;
	--color-foreground: #2e1a3d;
	--color-primary: #7932b3;
	--color-primary-foreground: #fbf7fd;
	--color-secondary: #e6d3ee;
	--color-accent: #eaa4d8;
	--color-destructive: #db2424;
	--color-border: #e2d5e7;
	--color-ivory: #fcf9fd;
	--color-linen: #f5edf8;
	--color-bone: #ece1ef;
	--color-rose: #e77ecd;
	--color-muted: #f0e6f3;

	--font-body: 'Quicksand', system-ui, -apple-system, sans-serif;
	--font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
	--font-script: 'Great Vibes', 'Playfair Display', cursive;

	--radius: 0.85rem;
	--card-radius: 1rem;
	--shadow-soft: 0 4px 20px -8px rgba(46, 26, 61, 0.18);
	--shadow-elevated: 0 20px 50px -18px rgba(46, 26, 61, 0.32);

	--logo-height: 72px;
	--header-height: 96px;

	--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.6rem;
	--checkout-gap: 2.5rem;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* { border-color: var(--color-border); box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

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

img { max-width: 100%; display: block; }
/* Global img sizing rule MUST NOT break cover/full-bleed images (Section 15.1). */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.gallery-cover-img):not(.theme-cart-product-img):not(.theme-product-gallery-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .gallery-cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button, a { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: inherit;
	letter-spacing: -0.012em;
	margin: 0;
}
.font-display { font-family: var(--font-display); font-weight: 500; font-size: inherit; }

/* Hero title line break — mirrors Tailwind `hidden sm:block` on the source <br>. */
br.hidden-sm-up { display: none; }
@media (min-width: 640px) { br.hidden-sm-up { display: block; } }
.font-script { font-family: var(--font-script); }

section[id] { scroll-margin-top: 80px; }

.is-theme-hidden { display: none !important; }

/* ==========================================================================
   ICONS — size tokens aligned with Lovable (w-3.5 / w-4 / w-5)
   ========================================================================== */
.theme-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	display: block;
}
.theme-icon--sm { width: 0.875rem; height: 0.875rem; }
.theme-icon--md { width: 1rem; height: 1rem; }
.theme-icon--card { width: 0.875rem; height: 0.875rem; stroke-width: 1.8; }

.theme-header-bar .theme-icon,
.theme-cart-toggle .theme-icon,
.theme-menu-toggle .theme-icon { width: 1.25rem; height: 1.25rem; }

.theme-product-card__nav svg { width: 1rem; height: 1rem; stroke-width: 1.6; }
.theme-product-card__quickview .theme-icon { width: 1rem; height: 1rem; stroke-width: 1.6; }

.theme-testimonial-card .stars svg { width: 0.875rem; height: 0.875rem; fill: currentColor; stroke: none; }
.testimonials-nav .theme-icon { width: 1rem; height: 1rem; }

.theme-quantity-wrapper .theme-icon { width: 0.875rem; height: 0.875rem; }
.contact-links .icon-circle .theme-icon { width: 1rem; height: 1rem; }

.theme-cart-drawer-header .theme-icon { width: 1.25rem; height: 1.25rem; }

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

.scrim-radial {
	background-image: radial-gradient(at center, rgba(46, 26, 61, 0.32) 0%, rgba(46, 26, 61, 0.58) 70%, rgba(46, 26, 61, 0.78) 100%);
}
.sparkle-dust {
	background-image:
		radial-gradient(circle at 12% 22%, color-mix(in srgb, var(--color-rose) 55%, transparent) 0 1.5px, transparent 2px),
		radial-gradient(circle at 78% 14%, color-mix(in srgb, var(--color-primary) 50%, transparent) 0 1.8px, transparent 2.4px),
		radial-gradient(circle at 32% 78%, color-mix(in srgb, var(--color-accent) 45%, transparent) 0 1.4px, transparent 2px),
		radial-gradient(circle at 62% 62%, color-mix(in srgb, var(--color-rose) 40%, transparent) 0 1.6px, transparent 2.2px),
		radial-gradient(circle at 90% 82%, color-mix(in srgb, var(--color-primary) 40%, transparent) 0 1.3px, transparent 2px);
	background-size: 340px 340px;
}
.text-gradient-dreamy {
	background-image: linear-gradient(100deg, var(--color-primary), var(--color-rose), var(--color-primary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ==========================================================================
   ANIMATIONS — ported verbatim from the source's utility layer (Section 2.1)
   ========================================================================== */
[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); }
/* Customizer-preview fallback (Section 2.1.5) — never hide content in the editor. */
body.is-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
}

@keyframes flutter {
	0%, 100% { transform: translateY(0) rotate(-4deg); }
	50% { transform: translateY(-10px) rotate(6deg); }
}
.animate-flutter { animation: flutter 6s ease-in-out infinite; }

@keyframes twinkle {
	0%, 100% { opacity: 0.25; transform: scale(0.85); }
	50% { opacity: 1; transform: scale(1.1); }
}
.animate-twinkle { animation: twinkle 3.5s ease-in-out infinite; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fade-in 0.7s ease-out both; }

@keyframes slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-slide-in-bottom { animation: slide-in-bottom 0.7s ease-out both; }

@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }
.animate-marquee { animation: theme-marquee 22s linear infinite; }
@media (prefers-reduced-motion: reduce) { .animate-marquee { animation: none; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	border: 1px solid transparent;
	height: 48px;
	padding: 0 1.75rem;
}
.theme-btn.size-sm { height: 36px; padding: 0 1rem; }
.theme-btn.size-lg { height: 48px; padding: 0 1.75rem; }
.theme-btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn-primary:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black); }
.theme-btn-rose {
	background-color: var(--color-rose);
	color: var(--color-rose-foreground);
	border-color: var(--color-rose);
}
.theme-btn-rose:hover { background-color: color-mix(in srgb, var(--color-rose) 90%, black); }
.theme-btn-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.theme-btn-outline:hover { border-color: var(--color-foreground); background-color: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.theme-btn-glass {
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(8px);
}
.theme-btn-glass:hover { background-color: rgba(255, 255, 255, 0.2); }
.theme-btn-ghost { background: transparent; border-color: transparent; color: var(--color-foreground); }
.theme-btn-ghost:hover { background-color: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-btn:disabled { pointer-events: none; opacity: 0.6; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }

.theme-announce-bar {
	background-color: var(--color-foreground);
	color: var(--color-background);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.5rem 0;
	text-align: center;
}
.theme-announce-bar .highlight { color: var(--color-rose); }

.theme-header-bar {
	transition: background-color 0.5s ease, border-color 0.5s ease;
	background-color: transparent;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid .theme-header-bar,
.site-header.is-scrolled .theme-header-bar {
	background-color: color-mix(in srgb, var(--color-ivory) 85%, transparent);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}

.theme-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
}
.theme-header-row > nav { display: none; }
.theme-header-actions { order: 3; }
@media (min-width: 1024px) {
	.theme-header-row {
		height: 6rem;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}
	.theme-header-row > nav {
		order: 2;
		grid-column: 2;
		justify-self: center;
	}
	.theme-site-logo {
		order: 1;
		grid-column: 1;
		justify-self: start;
	}
	.theme-header-actions {
		order: 3;
		grid-column: 3;
		justify-self: end;
	}
}

.theme-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: transparent;
	border: none;
	color: #fff;
	order: 1;
	transition: color 0.3s ease, background-color 0.3s ease;
}
@media (min-width: 1024px) { .theme-menu-toggle { display: none; } }
.theme-menu-toggle .icon-close { display: none; }
.theme-menu-toggle.is-open .icon-open { display: none; }
.theme-menu-toggle.is-open .icon-close { display: block; }
.site-header.is-solid .theme-menu-toggle,
.site-header.is-scrolled .theme-menu-toggle { color: var(--color-foreground); }
.theme-menu-toggle:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.site-header:not(.is-solid):not(.is-scrolled) .theme-menu-toggle:hover { background-color: rgba(255, 255, 255, 0.1); }

.theme-site-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	order: 2;
}
@media (min-width: 1024px) { .theme-site-logo { order: 1; justify-self: start; } }
.theme-site-logo img { height: calc(var(--logo-height) * 0.778) !important; width: auto !important; }
@media (min-width: 640px) { .theme-site-logo img { height: calc(var(--logo-height) * 0.889) !important; } }
@media (min-width: 1024px) { .theme-site-logo img { height: var(--logo-height) !important; } }
.theme-site-logo .site-logo-text { line-height: var(--logo-height); font-family: var(--font-display); font-size: 1.4rem; color: #fff; display: block; }
.site-header.is-solid .theme-site-logo .site-logo-text,
.site-header.is-scrolled .theme-site-logo .site-logo-text { color: var(--color-foreground); }
.site-header:not(.is-solid):not(.is-scrolled) .theme-site-logo img { filter: brightness(0) invert(1); }

.theme-header-row .theme-nav-list {
	display: none;
	align-items: center;
	gap: 1.75rem;
}
@media (min-width: 1024px) {
	.theme-header-row > nav { display: block; }
	.theme-header-row .theme-nav-list { display: flex; justify-self: center; }
}
.theme-nav-list li { position: relative; }
.theme-nav-list a {
	position: relative;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.3s ease;
	display: inline-block;
	padding-bottom: 0.4rem;
}
.theme-nav-list a:hover { color: #fff; }
.site-header.is-solid .theme-nav-list a,
.site-header.is-scrolled .theme-nav-list a { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-header.is-solid .theme-nav-list a:hover,
.site-header.is-scrolled .theme-nav-list a:hover { color: var(--color-primary); }
.theme-nav-list a.is-active { color: #fff; }
.site-header.is-solid .theme-nav-list a.is-active,
.site-header.is-scrolled .theme-nav-list a.is-active { color: var(--color-primary); }
.theme-nav-list a.is-active::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -1.5px;
	height: 2px;
	border-radius: 999px;
	background-color: var(--color-rose);
}
.site-header.is-solid .theme-nav-list a.is-active::after,
.site-header.is-scrolled .theme-nav-list a.is-active::after { background-color: var(--color-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: 40px;
	height: 40px;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: #fff;
	transition: color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-solid .theme-cart-toggle,
.site-header.is-scrolled .theme-cart-toggle { color: var(--color-foreground); }
.theme-cart-toggle:hover { background-color: rgba(255, 255, 255, 0.1); }
.site-header.is-solid .theme-cart-toggle:hover,
.site-header.is-scrolled .theme-cart-toggle:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.theme-cart-count {
	position: absolute;
	top: -0.125rem; right: -0.125rem;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 12px;
	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-menu {
	display: none;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background-color: color-mix(in srgb, var(--color-ivory) 95%, transparent);
	backdrop-filter: blur(20px);
}
.theme-mobile-menu.is-open { display: block; animation: fade-in 0.7s ease-out both; }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-menu .container-wide { padding-top: 1rem; padding-bottom: 1rem; }
.theme-mobile-menu .theme-nav-list { display: flex; flex-direction: column; gap: 0; }
.theme-mobile-menu a {
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-mobile-menu a:last-child { border-bottom: none; }
.theme-mobile-menu a:hover { color: var(--color-primary); }

/* Home hero fills viewport under the fixed transparent header (Section 22.7). */
body.theme-no-hero .site-main { padding-top: var(--header-height); }
body:not(.theme-no-hero) .site-main { padding-top: 0; }

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.theme-promo-banner {
	position: fixed;
	bottom: 1.5rem;
	left: 1rem;
	right: 1rem;
	z-index: 50;
	background-color: var(--color-foreground);
	color: var(--color-background);
	border-radius: 1rem;
	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 p { font-size: 13px; line-height: 1.6; flex: 1; margin: 0; }
@media (min-width: 640px) { .theme-promo-banner p { font-size: 15px; } }
.theme-promo-banner .highlight { color: var(--color-rose); font-weight: 600; }
.theme-promo-close {
	flex-shrink: 0;
	margin-top: 0.1rem;
	padding: 0.4rem;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: inherit;
}
.theme-promo-close:hover { background-color: rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   HERO
   ========================================================================== */
.theme-hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.theme-hero-media { position: absolute; inset: 0; will-change: transform; }
.theme-hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.theme-hero-media .scrim-tint { position: absolute; inset: 0; background-color: rgba(46, 26, 61, 0.35); pointer-events: none; }
.theme-hero .sparkle-dust { position: absolute; inset: 0; opacity: 0.7; pointer-events: none; }

.theme-hero-content { position: relative; z-index: 10; text-align: center; color: #fff; padding: 10rem 1.25rem 6rem; }
@media (min-width: 640px) { .theme-hero-content { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .theme-hero-content { padding: 13rem 0 8rem; } }

.theme-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(8px);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	color: #fff;
}
.theme-hero-badge svg { width: 14px; height: 14px; color: var(--color-rose); }

.theme-hero-title {
	color: #fff;
	line-height: 1.02;
	letter-spacing: -0.02em;
	max-width: 64rem;
	margin: 1.75rem auto 0;
	font-weight: 500;
	font-size: clamp(2rem, 5.4vw, 4.4rem);
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.theme-hero-title em { font-style: italic; color: var(--color-rose); }

.theme-hero-subtitle { margin: 1.75rem auto 0; max-width: 42rem; font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
@media (min-width: 640px) { .theme-hero-subtitle { font-size: 15px; } }

.theme-hero-ctas { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .theme-hero-ctas { flex-direction: row; gap: 1rem; } }

.theme-hero-scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; pointer-events: none; }
.theme-hero-scroll-cue span { display: block; height: 3rem; width: 1px; background-color: rgba(255, 255, 255, 0.5); animation: theme-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes theme-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.theme-about { background-color: var(--color-linen); padding: 6rem 0; }
@media (min-width: 768px) { .theme-about { padding: 8rem 0; } }
.theme-about .about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-about .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.theme-about-photo { position: relative; display: flex; min-width: 0; }
.theme-about-photo-inner {
	position: relative;
	width: 100%;
	min-height: 520px;
	aspect-ratio: 4/5;
	overflow: hidden;
	border-radius: 1rem;
	background-color: var(--color-bone);
	box-shadow: var(--shadow-elevated);
}
@media (min-width: 1024px) { .theme-about-photo-inner { min-height: 0; aspect-ratio: auto; height: 100%; } }
.theme-about-photo-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-about-badge {
	position: absolute; top: 1rem; left: 1rem;
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.35rem 0.85rem; border-radius: 999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.theme-about-badge .dot { width: 6px; height: 6px; border-radius: 999px; background-color: #fff; }

.theme-about-eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.25rem; font-weight: 500; }
.theme-about-title { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-about-title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about-title { font-size: 3.4rem; } }
.theme-about-quote {
	margin-top: 2rem; font-family: var(--font-display); font-style: italic;
	font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	line-height: 1.375; border-left: 2px solid color-mix(in srgb, var(--color-primary) 70%, transparent);
	padding-left: 1.25rem;
}
@media (min-width: 768px) { .theme-about-quote { font-size: 1.5rem; } }
.theme-about-body { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 65ch; }
.theme-about-body p { margin: 0; }
@media (min-width: 768px) { .theme-about-body { line-height: 1.625; } }
.theme-about-socials { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.theme-about-socials a {
	display: inline-flex; align-items: center; gap: 0.5rem; height: 44px; padding: 0 1.25rem;
	border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background-color: var(--color-ivory); font-size: 14px; font-weight: 500; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.theme-about-socials a:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-about-socials svg { width: 16px; height: 16px; }

.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(--color-foreground) 15%, transparent); padding-top: 2rem; }
@media (min-width: 640px) { .theme-about-stats { grid-template-columns: repeat(3, 1fr); } }
.theme-about-stats > div { min-width: 0; }
.theme-about-stats .stat-value { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary); overflow-wrap: break-word; word-break: break-word; }
.theme-about-stats .stat-label { margin-top: 0.25rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-about-content { min-width: 0; }
@media (min-width: 1024px) { .theme-about-content { padding-left: 1.5rem; } }

/* ==========================================================================
   SECTION HEADINGS — scoped per-section scales (Section 2.2.5)
   ========================================================================== */
.theme-section-eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; font-weight: 500; }
.testimonials-header .theme-section-eyebrow { margin-bottom: 0.75rem; }
.shop-section .section-heading,
.services-section .section-heading,
.policies-section .section-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .shop-section .section-heading, .services-section .section-heading, .policies-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section .section-heading { font-size: 3.2rem; } .services-section .section-heading { font-size: 3.2rem; } }
.cta-band .section-heading, .faq-section .section-heading, .contact-section .section-heading {
	font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground);
}
@media (min-width: 768px) { .cta-band .section-heading, .faq-section .section-heading, .contact-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section .section-heading { font-size: 3.4rem; } }
.cta-band .section-heading { color: #fff; }

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop-section { background-color: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section-intro { max-width: 42rem; }
.shop-section-intro p.subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 40rem; }
@media (min-width: 768px) { .shop-section-intro p.subtitle { font-size: 15px; } }

.theme-search-wrap { position: relative; width: 100%; }
@media (min-width: 1024px) { .theme-search-wrap { width: 20rem; } }
.theme-search-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-search-input {
	width: 100%; height: 44px; padding: 0 1rem 0 2.75rem; border-radius: 999px;
	background-color: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	font-size: 14px; font-family: var(--font-body); color: var(--color-foreground);
}
.theme-search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-search-input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

.theme-category-pills { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 3.5rem; }
.theme-category-pill {
	padding: 0 1.25rem; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background: transparent; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: border-color 0.2s, color 0.2s;
}
.theme-category-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }

.theme-shop-groups { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .theme-shop-groups { gap: 6rem; } }
.theme-shop-group-heading { max-width: 42rem; margin-bottom: 2rem; }
.theme-shop-group-heading .label { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.theme-shop-group-heading h3 { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.2; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-shop-group-heading h3 { font-size: 2.25rem; } }
.theme-shop-group-heading p { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; }

.theme-empty-shop { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* Equal-height grid (Section 31.9), shared card wrapper (Section 31.13). */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 2.5rem 1.5rem;
	align-items: stretch;
}
@media (max-width: 639px) { .theme-product-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 1023px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-featured-products .theme-product-grid,
.theme-related-products .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-featured-products .theme-product-grid, .theme-related-products .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1/1;
	background-color: var(--color-linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-card-link { position: absolute; inset: 0; z-index: 1; display: block; }
.theme-product-card__image-wrapper img,
.theme-product-card__image-wrapper .product-card-img {
	position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover;
	transition: transform 1400ms cubic-bezier(0.22, 0.61, 0.36, 1);
	z-index: 0;
}
.theme-product-card:hover .theme-product-card__image-wrapper img,
.theme-product-card:hover .theme-product-card__image-wrapper .product-card-img { transform: scale(1.04); }
.theme-product-card__scrim {
	position: absolute; inset: 0; z-index: 2;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 35%, transparent), transparent 60%);
	opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }

.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background-color: var(--color-foreground); color: var(--color-background);
	font-size: 11px; font-weight: 500; padding: 0.3rem 0.75rem; border-radius: 999px;
}

.theme-product-card__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
	width: 32px; height: 32px; border-radius: 999px; border: none;
	background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(6px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground); opacity: 0; transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__nav { opacity: 1; }
.theme-product-card__nav:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__nav.prev { left: 0.5rem; }
.theme-product-card__nav.next { right: 0.5rem; }

.theme-product-card__dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; display: flex; gap: 0.25rem; pointer-events: none; }
.theme-product-card__dots span { height: 4px; width: 4px; border-radius: 999px; background-color: color-mix(in srgb, var(--color-background) 60%, transparent); transition: all 0.2s ease; }
.theme-product-card__dots span.is-active { width: 16px; background-color: var(--color-background); }

.theme-product-card__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-out; pointer-events: none;
}
.theme-product-card:hover .theme-product-card__actions { opacity: 1; pointer-events: auto; }
.theme-product-card__atc,
.theme-product-card__quickview {
	position: relative;
	z-index: 21;
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 40px;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	color: var(--color-foreground);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.025em;
	box-shadow: 0 1px 2px rgba(46, 26, 61, 0.08);
	border: 1px solid transparent;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-product-card__atc {
	flex: 1;
	padding: 0 1rem;
}
.theme-product-card__atc:hover,
.theme-product-card__quickview:hover {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-product-card__quickview {
	width: 40px;
	padding: 0;
	flex: 0 0 auto;
	justify-content: center;
}
.theme-product-card__info { flex: 1; padding: 0 0.1rem; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.4rem; font-weight: 500; }
.theme-product-card__title {
	font-family: var(--font-display); font-weight: inherit; font-size: 1.15rem; line-height: 1.35; color: var(--color-foreground);
	transition: color 0.3s ease; min-width: 0; overflow: hidden; text-overflow: ellipsis;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
@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:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.4rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.theme-marquee { background-color: var(--color-primary); padding: 1.25rem 0; overflow: hidden; }
.theme-marquee-track { display: flex; white-space: nowrap; }
.theme-marquee-item { display: flex; align-items: center; flex-shrink: 0; color: color-mix(in srgb, var(--color-primary-foreground) 95%, transparent); font-family: var(--font-display); font-weight: inherit; font-size: 1.125rem; }
@media (min-width: 768px) { .theme-marquee-item { font-size: 1.25rem; } }
.theme-marquee-item .txt { margin: 0 1.5rem; }
@media (min-width: 768px) { .theme-marquee-item .txt { margin: 0 2rem; } }
.theme-marquee-item .sep { color: color-mix(in srgb, var(--color-primary-foreground) 50%, transparent); font-size: 0.9rem; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-section { background-color: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section .section-intro { max-width: 48rem; margin-bottom: 3.5rem; }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.theme-service-card {
	background-color: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column;
	transition: border-color 0.2s ease;
}
.theme-service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-service-card__image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.theme-service-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-service-card:hover .theme-service-card__image img { transform: scale(1.05); }
.theme-service-card__icon {
	position: absolute; top: 1rem; left: 1rem;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	box-shadow: var(--shadow-elevated); transition: transform 0.3s ease;
}
.theme-service-card:hover .theme-service-card__icon { transform: rotate(20deg); }
.theme-service-card__icon svg { width: 20px; height: 20px; }
.theme-service-card__body { padding: 1.75rem; }
@media (min-width: 768px) { .theme-service-card__body { padding: 2rem; } }
.theme-service-card__body h3 { font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.theme-service-card__body p { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin: 0; }

/* ==========================================================================
   CUSTOM ORDERS CTA BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band .scrim-radial { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cta-band__bg-tint { position: absolute; inset: 0; background-color: rgba(46, 26, 61, 0.45); pointer-events: none; z-index: 2; }
.cta-band .sparkle-dust { position: absolute; inset: 0; opacity: 0.6; pointer-events: none; z-index: 3; }
.cta-band-content { position: relative; z-index: 10; padding: 7rem 0; text-align: center; color: #fff; }
@media (min-width: 768px) { .cta-band-content { padding: 10rem 0; } }
.cta-band-eyebrow {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
	font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1.5rem; font-weight: 500;
}
.cta-band-eyebrow .rule { height: 1px; width: 2rem; background-color: color-mix(in srgb, var(--color-rose) 80%, transparent); }
.cta-band .section-heading { max-width: 56rem; margin: 0 auto; font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1.05; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }
.cta-band .section-heading em { font-style: italic; color: var(--color-rose); }
.cta-band-body { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.cta-band-cta { margin-top: 2.5rem; }

/* ==========================================================================
   POLICIES
   ========================================================================== */
.policies-section { background-color: var(--color-ivory); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .policies-section { padding: 8rem 0; } }
.policies-section .section-intro { max-width: 42rem; margin-bottom: 3.5rem; }
.policies-section .section-intro p.subtitle { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .policies-section .section-intro p.subtitle { font-size: 15px; } }
.theme-policies-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .theme-policies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-policy-card { background-color: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; padding: 1.75rem; transition: border-color 0.2s ease; }
@media (min-width: 768px) { .theme-policy-card { padding: 2rem; } }
.theme-policy-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-policy-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background-color: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.25rem; }
.theme-policy-card__icon svg { width: 20px; height: 20px; }
.theme-policy-card h3 { font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.theme-policy-card p { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin: 0; }

/* ==========================================================================
   FAQ + TESTIMONIALS
   ========================================================================== */
.faq-section { background-color: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section-inner { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .faq-section-inner { gap: 6rem; } }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 3rem; } }
.faq-grid .section-intro p.subtitle { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 24rem; }

.faq-side-card { display: none; margin-top: 2.5rem; }
@media (min-width: 1024px) { .faq-side-card { display: block; } }
.faq-side-card-inner {
	position: relative; overflow: hidden; border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	padding: 1.75rem; color: #fff;
}
.faq-side-card-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq-side-card-tint { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.faq-side-card-blur { position: absolute; top: -2.5rem; right: -2.5rem; width: 8rem; height: 8rem; border-radius: 999px; background-color: var(--color-secondary); filter: blur(40px); }
.faq-side-card-content { position: relative; }
.faq-side-card-content .icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background-color: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.25rem; }
.faq-side-card-content .icon-badge svg { width: 20px; height: 20px; }
.faq-side-card-content h3 { font-size: 1.5rem; line-height: 1.3; color: #fff; margin-bottom: 0.5rem; }
.faq-side-card-content p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); margin: 0 0 1.5rem; }

.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-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; background: none; border: none; font-family: var(--font-display);
	font-size: 1.125rem; color: var(--color-foreground); line-height: 1.35;
}
@media (min-width: 768px) { .theme-faq-question { font-size: 1.25rem; } }
.theme-faq-question .icon { flex-shrink: 0; color: var(--color-primary); display: inline-flex; }
.theme-faq-question .icon svg { width: 20px; height: 20px; }
.theme-faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.theme-faq-item.is-open .theme-faq-answer-wrap { grid-template-rows: 1fr; }
.theme-faq-answer-inner { overflow: hidden; }
.theme-faq-answer {
	padding: 0 2rem 1.5rem 0; font-size: 14px; line-height: 1.7;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 42rem;
}
.theme-faq-answer p { margin: 0 0 1em; }
.theme-faq-answer p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .theme-faq-answer { font-size: 15px; } }

.testimonials-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.testimonials-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.25; color: var(--color-foreground); }
@media (min-width: 768px) { .testimonials-title { font-size: 2.25rem; } }
.testimonials-nav { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .testimonials-nav { display: flex; } }
.testimonials-nav button {
	width: 40px; height: 40px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background: transparent; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s, color 0.2s;
}
.testimonials-nav button:hover { border-color: var(--color-primary); color: var(--color-primary); }

.theme-testimonials-viewport { overflow: hidden; margin: 0 -0.75rem; }
.theme-testimonials-track { display: flex; transition: transform 0.4s ease; }
.theme-testimonial-slide { min-width: 0; flex: 0 0 100%; padding: 0 0.75rem; }
@media (min-width: 640px) { .theme-testimonial-slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .theme-testimonial-slide { flex: 0 0 33.3333%; } }
.theme-testimonial-card { height: 100%; background-color: var(--color-ivory); border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 1.75rem; display: flex; flex-direction: column; }
.theme-testimonial-card .stars { display: flex; gap: 0.25rem; color: hsl(315, 68%, 70%) !important; margin-bottom: 1rem; }
.theme-testimonial-card .stars svg { width: 0.875rem; height: 0.875rem; fill: currentColor; stroke: none; color: inherit; }
.theme-testimonial-card blockquote { font-size: 14px; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); flex: 1; margin: 0; }
.theme-testimonial-card figcaption { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-testimonial-card figcaption .t-name { font-family: var(--font-display); font-size: 15px; color: var(--color-foreground); }
.theme-testimonial-card figcaption .t-detail { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.15rem; }

.theme-testimonials-dots { margin-top: 1.75rem; display: flex; justify-content: center; gap: 0.5rem; }
.theme-testimonials-dots button { height: 0.5rem; width: 0.5rem; border-radius: 999px; background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); border: none; transition: all 0.2s ease; padding: 0; cursor: pointer; }
.theme-testimonials-dots button.is-active { width: 1.5rem; background-color: var(--color-primary); }
.theme-testimonials-dots button:hover { background-color: color-mix(in srgb, var(--color-foreground) 35%, transparent); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section { background-color: var(--color-linen); padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .contact-section { padding-top: 8rem; padding-bottom: 4rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-info { display: flex; flex-direction: column; height: 100%; }
.contact-info p.subtitle { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 28rem; }
.contact-links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-links a { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.2s ease; }
.contact-links a:hover { color: var(--color-primary); }
.contact-links .icon-circle {
	width: 44px; height: 44px; border-radius: 999px; background-color: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease;
}
.contact-links a:hover .icon-circle { border-color: var(--color-primary); }
.contact-links .label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); display: block; }
.contact-links .value { font-size: 15px; font-weight: 500; display: block; }

.contact-quote-box { margin-top: auto; padding-top: 2.5rem; }
.contact-quote-box-inner { position: relative; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background-color: color-mix(in srgb, var(--color-ivory) 70%, transparent); padding: 1.5rem 1.75rem; }
.contact-quote-box-badge {
	position: absolute; top: -0.75rem; left: 1.5rem; display: inline-flex; align-items: center; gap: 0.35rem;
	padding: 0.25rem 0.75rem; border-radius: 999px; background-color: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.contact-quote-box-inner blockquote { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.125rem; line-height: 1.35; border-left: 2px solid color-mix(in srgb, var(--color-primary) 70%, transparent); padding-left: 1.25rem; margin: 0; }
@media (min-width: 768px) { .contact-quote-box-inner blockquote { font-size: 1.25rem; } }
.contact-quote-box-inner .author { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.contact-form {
	background-color: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.theme-input, .theme-select, .theme-textarea {
	width: 100%; height: 48px; padding: 0 1rem; background-color: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: 6px;
	font-size: 14px; font-family: var(--font-body); color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.theme-input::placeholder, .theme-textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-input:focus, .theme-select:focus, .theme-textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row-2 { grid-template-columns: 1fr 1fr; } }
.theme-select-wrap { position: relative; }
.theme-select-wrap select { appearance: none; padding-right: 2.5rem; }
.theme-select-wrap svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); pointer-events: none; }
.contact-form-footer { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-form-footer .theme-btn { width: 100%; }
.contact-form-footer .note { font-size: 12px; text-align: center; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-form-message { font-size: 13px; padding: 0.75rem 1rem; border-radius: 6px; }
.contact-form-message.success { background-color: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); }
.contact-form-message.error { background-color: color-mix(in srgb, var(--color-destructive) 10%, transparent); color: var(--color-destructive); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background-color: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.footer-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .footer-inner { padding-top: 5rem; padding-bottom: 5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.footer-brand img { height: 44px !important; width: auto !important; }
.footer-brand p { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 20rem; }
.footer-socials { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-socials a {
	width: 36px; height: 36px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent); display: inline-flex; align-items: center; justify-content: center;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-socials a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h3 { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-col button { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); background: none; border: none; padding: 0; text-align: left; transition: color 0.2s ease; }
.footer-col a:hover, .footer-col button:hover { color: var(--color-primary); }
.footer-col .plain { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); text-align: center; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--color-primary); }

/* ==========================================================================
   CART DRAWER (Section 12) — overlay lives statically in footer.php, fragment
   contains ONLY #theme-cart-drawer (Section 31.6).
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); z-index: 60; 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-color: var(--color-ivory); z-index: 61; 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-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-header h2 { font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-close { padding: 0.4rem; border-radius: 999px; border: none; background: transparent; color: var(--color-foreground); }
.theme-cart-close:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty svg { width: 48px; height: 48px; color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-empty p { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 14px; }

.theme-cart-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: 80px; height: 96px; background-color: var(--color-bone); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.theme-cart-item__image img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; display: block; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__title { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__title:hover { color: var(--color-primary); }
.theme-cart-item__price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.15rem; }
.theme-cart-item__variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.15rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; }
.theme-cart-item__controls button.qty-btn { padding: 0.25rem; border-radius: 4px; background: none; border: none; color: var(--color-foreground); }
.theme-cart-item__controls button.qty-btn:hover { background-color: var(--color-bone); }
.theme-cart-item__controls .qty-value { font-size: 13px; width: 24px; text-align: center; }
.theme-cart-item__controls .remove-btn { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); background: none; border: none; }
.theme-cart-item__controls .remove-btn:hover { color: var(--color-destructive); }

.theme-cart-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background-color: color-mix(in srgb, var(--color-linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-footer .subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-footer .subtotal-row .label { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-footer .subtotal-row .value { font-weight: 500; }
.theme-cart-footer .shipping-note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0; }
.theme-cart-footer .theme-btn { width: 100%; }
.theme-cart-footer .empty-cart-btn { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-footer .empty-cart-btn svg { width: 16px; height: 16px; margin-right: 0.4rem; }

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

/* ==========================================================================
   ADD-TO-CART BUTTON 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-primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact quick-add button — overrides global rules (scoped, after them). */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	height: 40px !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
	font-size: 14px !important;
}

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

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.single-product .site-main { padding-top: var(--header-height); background-color: var(--color-ivory); }
.single-product-wrap { padding: 1.5rem 0 5rem; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.theme-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb .current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: calc(var(--header-height) + 1.5rem); } }
.theme-product-main-image { position: relative; width: 100%; aspect-ratio: 1/1; background-color: var(--color-linen); border-radius: 1rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-main-image .theme-product-gallery-img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
}
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb {
	position: relative;
	aspect-ratio: 1/1;
	background-color: var(--color-linen);
	border-radius: 6px;
	overflow: hidden;
	border: 2px solid transparent;
	padding: 0;
	transition: border-color 0.2s ease;
}
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover:not(.is-active) { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-product-thumb .theme-product-gallery-img,
.theme-product-thumb img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
}

/* Variable product variation pills */
.theme-variations { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
.theme-variation-field { position: relative; }
.theme-variation-label {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin: 0 0 0.65rem;
	font-weight: 500;
	font-family: var(--font-body);
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.45rem 1rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	background-color: var(--color-ivory);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-variation-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-variation-pill.is-selected {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.theme-variation-select-wrap {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variation-reset { margin-bottom: 1.5rem; }
.theme-variation-reset .reset_variations {
	font-size: 13px;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	text-decoration: underline;
}
.theme-variation-reset .reset_variations:hover { color: var(--color-primary); }
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
	opacity: 0.55;
	pointer-events: none;
	cursor: not-allowed;
}

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info .posted_in { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info .posted_in a { color: inherit; }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 2.4rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.6rem; } }
.theme-product-price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-price del { opacity: 0.5; margin-right: 0.5rem; font-weight: 400; }
.theme-product-price ins { text-decoration: none; }
.theme-product-stock { margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 13px; font-weight: 500; }
.theme-product-stock.out-of-stock { color: var(--color-destructive); }
.theme-product-stock.in-stock { color: var(--color-primary); }
.theme-product-description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { margin: 0 0 1em; }
.theme-product-description p:last-child { margin-bottom: 0; }

.theme-quantity-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.65rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 1rem; background: none; border: none; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 44px; padding: 0.6rem 0; text-align: center; font-size: 14px; font-weight: 500; border: none; background: none; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; margin-bottom: 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.variations_form .theme-add-to-cart-area {
	align-items: flex-start;
	flex-direction: column;
}
.variations_form .theme-add-to-cart-area .theme-quantity-wrapper {
	width: auto;
	max-width: max-content;
	flex: 0 0 auto;
	align-self: flex-start;
}
@media (max-width: 639px) {
	.variations_form .theme-quantity-wrapper {
		width: auto !important;
		max-width: max-content !important;
		flex: 0 0 auto !important;
		align-self: flex-start !important;
	}
}
@media (min-width: 640px) {
	.variations_form .theme-add-to-cart-area {
		flex-direction: row;
		align-items: stretch;
	}
}
.variations_form .theme-add-to-cart-area.theme-product-ctas .theme-btn {
	width: 100%;
}
@media (min-width: 640px) {
	.variations_form .theme-add-to-cart-area.theme-product-ctas .theme-btn {
		width: auto;
		flex: 1;
	}
}
.theme-product-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .theme-product-ctas { flex-direction: row; } }
.theme-product-ctas .theme-btn { width: 100%; flex: 1; }

.theme-product-details-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-details-block .label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-details-block ul { display: flex; flex-direction: column; gap: 0.6rem; }
.theme-product-details-block li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; }
.theme-product-details-block li::before { content: ''; width: 4px; height: 4px; border-radius: 999px; background-color: var(--color-primary); margin-top: 0.55rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-product-trust { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-trust .item { text-align: center; }
.theme-product-trust svg { width: 20px; height: 20px; margin: 0 auto 0.5rem; color: var(--color-primary); }
.theme-product-trust .label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.theme-related-products { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-related-products-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.theme-related-products-header h2 { font-size: 1.9rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-related-products-header h2 { font-size: 2.25rem; } }
.theme-related-products-header a { display: none; align-items: center; gap: 0.4rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .theme-related-products-header a { display: inline-flex; } }
.theme-related-products-header a:hover { color: var(--color-primary); }

/* Section 15.1 completeness rule — cover-image classes used site-wide. */
.theme-hero-media img, .cta-band img, .faq-side-card-inner img,
.theme-about-photo-inner img, .theme-service-card__image img,
.theme-product-card__image-wrapper img, .theme-product-main-image img,
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   VARIABLE PRODUCT LAYOUT (present for spec-compliance; catalog has none)
   ========================================================================== */
.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; }
.theme-attr-select-hidden { display: none !important; }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; background-color: var(--color-muted); }
.theme-404 h1 { font-family: var(--font-body); font-size: 2.25rem; font-weight: 700; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-404 p { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-404 a { color: var(--color-primary); text-decoration: underline; }
.theme-404 a:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ==========================================================================
   CHECKOUT BLOCK OVERRIDES (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; background-color: var(--color-ivory); }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { font-size: 2.5rem; padding: 2rem 0 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { body.woocommerce-checkout .page-title, body.woocommerce-cart .page-title, body.woocommerce-account .page-title { font-size: 3rem; } }

body.woocommerce-checkout .wc-block-checkout { display: block !important; }
body.woocommerce-checkout .wp-block-woocommerce-checkout { container-type: inline-size; }

/* Reset WC default 65/35 flex split + gutter padding at all breakpoints. */
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	flex: none !important;
	flex-basis: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

/* Single 50/50 grid on sidebar-layout only — no nested grids inside columns. */
@container (min-width: 700px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-medium,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: var(--checkout-gap) !important;
		align-items: start !important;
		flex-wrap: nowrap !important;
	}
	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout__main {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 100% !important;
	}
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 100% !important;
	}
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper,
	body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
		display: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
		display: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-medium,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: var(--checkout-gap) !important;
		align-items: start !important;
		flex-wrap: nowrap !important;
	}
	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout__main {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 100% !important;
	}
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 100% !important;
	}
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper,
	body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
		display: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
		display: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
	display: block !important;
	min-width: 0 !important;
	width: 100% !important;
}
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__form,
body.woocommerce-checkout .wc-block-checkout__main fieldset,
body.woocommerce-checkout .wc-block-components-address-form,
body.woocommerce-checkout .wc-block-components-checkout-step {
	display: block !important;
	width: 100% !important;
	grid-template-columns: unset !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout select,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: var(--color-foreground) !important;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent) !important;
	border-radius: 6px !important;
	background-color: var(--color-ivory) !important;
	box-shadow: none !important;
	appearance: auto !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout textarea::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 45%, transparent) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 8px;
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-linen);
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-title { font-family: var(--font-display); font-weight: inherit; color: var(--color-foreground); }

/* Cart & My Account width/alignment parity (Section 13.7). */
body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce { width: 100%; }

/* ==========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-weight: inherit; font-size: 1.75rem; color: var(--color-foreground); padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem;
	list-style: none; padding: 1.5rem; background-color: var(--color-linen); border-radius: var(--card-radius); margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-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(--color-foreground) 10%, transparent); }
@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; overflow-wrap: break-word; }

/* ==========================================================================
   ACCESSIBLE FOCUS
   ========================================================================== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}
