/* Silken Plush Candles Co. theme styles. Theme by The Free Website Guys. */

/* ---------- Tokens (defaults; the Customizer re-emits colours inline) ---------- */
:root {
	--foreground: #2c221b;
	--muted-foreground: #705f51;
	--chocolate: #47352a;
	--chocolate-deep: #231b15;
	--cocoa: #6c503d;
	--cream: #faf8f5;
	--vanilla: #f2eee9;
	--nude: #e5dfd7;
	--caramel: #b38556;
	--strawberry: #654834;
	--gold: #b29876;
	--gold-soft: #dccfbc;
	--overlay: #1a130f;
	--glow: #d49454;
	--particle: #f1d6a7;

	--font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
	--font-hero: 'Cormorant Garamond', 'Georgia', serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-label: 'Inter', system-ui, sans-serif;
	/* Card and section titles: the Lovable build renders these through its `font-display` utility stack. */
	--font-heading: 'Fraunces', 'Georgia', 'Times New Roman', serif;
	/* Nav links, badges and form labels: the Lovable `font-label` utility stack. */
	--font-ui: 'Sora', system-ui, sans-serif;

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--gradient-cocoa: linear-gradient(135deg, var(--chocolate-deep) 0%, var(--cocoa) 100%);
	--gradient-berry: linear-gradient(135deg, var(--caramel) 0%, var(--strawberry) 100%);

	--color-primary: var(--chocolate);
	--color-button-text: var(--cream);
	--color-surface: var(--vanilla);
	--btn-radius: 999px;
	--btn-height: auto;
	--btn-padding: 16px 30px;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--card-radius: 1.5rem;
	--header-height: 4.5rem;
	--section-padding: 1.5rem;
}

/* ---------- Preflight equivalent ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--nude); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
	margin: 0; background: var(--cream); color: var(--foreground);
	font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.5;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	max-width: 100%; overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; font-size: inherit; }
p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg, video, canvas { display: block; vertical-align: middle; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { background: transparent; cursor: pointer; text-transform: none; -webkit-appearance: button; }

/* Pointer cursor on everything clickable. */
a[href], area[href], button, summary, select, label[for],
[role="button"], [role="link"], [role="tab"], [onclick],
input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"],
input[type="file"], input[type="color"], input[type="range"],
[data-cart-open], [data-cart-close], [data-cart-remove], [data-cart-empty], [data-cart-qty-update],
.theme-attr-pill, .product-thumb, .theme-qty-minus, .theme-qty-plus,
.woocommerce a.button, .woocommerce button.button, .wc-block-components-button,
#wpadminbar a, #wpadminbar .ab-item[href] { cursor: pointer; }
button:disabled, button[aria-disabled="true"], input:disabled, select:disabled, .disabled { cursor: not-allowed; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--caramel) 28%, transparent); color: var(--chocolate-deep); }

/* Cover / full-bleed images are excluded from the global height rule. */
:where(img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-img):not(.product-thumb-img):not(.cart-item-img):not(.site-logo-img):not(.footer-mark)),
:where(video:not(.cover-img):not(.hero-video)) { max-width: 100%; height: auto; }
.cover-img, .hero-bg-img, .product-card-img, .product-main-img, .product-thumb-img, .hero-video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}

/* Base typography */
p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite { font-size: max(0.875rem, 14px); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; line-height: 1.06;
	color: var(--foreground); text-wrap: balance;
}
p, li, blockquote, figcaption, dd, summary { text-wrap: pretty; }
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-size: inherit; line-height: inherit; letter-spacing: inherit; font-family: inherit; }

.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: 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; } }

.font-label { font-family: var(--font-ui); }
.min-w-0 { min-width: 0; }
.cs-label {
	font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
	letter-spacing: 0.24em; font-size: 14px; line-height: 1.3;
}
.font-hero { font-family: var(--font-hero); font-weight: 600; letter-spacing: -0.01em; line-height: 1.02; }

/* Icon sizes */
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-3-5 { width: 0.875rem; height: 0.875rem; }
.icon-4 { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-6 { width: 1.5rem; height: 1.5rem; }
.icon-7 { width: 1.75rem; height: 1.75rem; }
.icon-8 { width: 2rem; height: 2rem; }
.icon-18 { width: 18px; height: 18px; }

/* Surfaces */
.cs-section-dark { background-color: var(--chocolate-deep); color: var(--cream); }
.cs-section-cream { background-color: var(--cream); color: var(--foreground); }
.texture-linen { position: relative; }
.texture-linen::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
	background-image:
		repeating-linear-gradient(90deg, color-mix(in srgb, var(--cocoa) 3%, transparent) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(0deg, color-mix(in srgb, var(--cocoa) 3%, transparent) 0 1px, transparent 1px 3px);
}

/* ---------- Eyebrow / buttons / links / cards ---------- */
.doce-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
	background: var(--cream); border: 1px solid color-mix(in srgb, var(--caramel) 30%, transparent);
	color: var(--strawberry); font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
	letter-spacing: 0.22em; font-size: 14px;
	transition: transform 320ms var(--transition-smooth), opacity 320ms var(--transition-smooth);
}
.doce-eyebrow:hover { transform: translateY(-1px); opacity: 0.85; }
.doce-eyebrow-dark {
	background: color-mix(in srgb, var(--cream) 6%, transparent);
	border-color: color-mix(in srgb, var(--cream) 28%, transparent);
	color: var(--gold-soft);
}
.doce-eyebrow span { font-size: 14px; }

.doce-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 30px; border-radius: 999px; font-family: var(--font-label); font-weight: 600;
	font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
	position: relative; overflow: hidden; line-height: 1.5;
	transition: transform 320ms var(--transition-smooth), opacity 320ms var(--transition-smooth),
		background-color 320ms, color 320ms, border-color 320ms;
}
.doce-btn::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 20%, color-mix(in srgb, var(--cream) 22%, transparent) 50%, transparent 80%);
	transform: translateX(-120%); transition: transform 750ms var(--transition-smooth);
}
.doce-btn:hover::after { transform: translateX(120%); }
.doce-btn-primary { background: var(--chocolate); color: var(--cream); }
.doce-btn-primary:hover { transform: translateY(-3px); background: var(--cocoa); }
.doce-btn-ghost { background: transparent; color: var(--chocolate); border: 1.5px solid color-mix(in srgb, var(--chocolate) 42%, transparent); }
.doce-btn-ghost:hover { transform: translateY(-3px); background: var(--chocolate); color: var(--cream); border-color: var(--chocolate); }
.doce-btn-outline-cream { background: transparent; color: var(--cream); border: 1.5px solid color-mix(in srgb, var(--cream) 60%, transparent); }
.doce-btn-outline-cream:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--cream) 14%, transparent); border-color: var(--cream); }
.doce-btn-cream { background: var(--cream); color: var(--chocolate); }
.doce-btn-cream:hover { transform: translateY(-3px); background: var(--vanilla); }
.doce-btn svg { width: 1rem; height: 1rem; }
.btn-hero-primary, .btn-hero-outline { text-transform: uppercase; }

.alta-nav-link { position: relative; display: inline-block; padding-bottom: 3px; transition: color 280ms ease, opacity 280ms ease; }
.alta-nav-link::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px;
	background: currentColor; transform: scaleX(0); transform-origin: right center;
	transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.alta-nav-link:hover::after, .alta-nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.doce-card {
	background: var(--cream); border-radius: 1.25rem; border: 1px solid var(--nude); overflow: hidden;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms, opacity 400ms;
}
.doce-card:hover { border-color: color-mix(in srgb, var(--caramel) 55%, transparent); }

/* ---------- Animations ---------- */
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.5s var(--transition-smooth) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.cs-hover-lift { transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease; will-change: transform; }
.cs-hover-lift:hover { transform: translateY(-6px); }

[data-reveal], .reveal-item {
	opacity: 0; transform: translateY(26px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--cs-fade-delay, 0ms);
}
[data-reveal].is-revealed, .reveal-item.is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-child] {
	opacity: 0; transform: translateY(22px);
	transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal-child].is-revealed { opacity: 1; transform: translateY(0); }

body.is-customizer [data-reveal], body.is-customizer [data-reveal-child], body.is-customizer .reveal-item,
body.is-customizer [data-icon-bounce] { opacity: 1; transform: none; animation: none; }

.parallax-bg { transform: translate3d(0, var(--parallax-y, 0px), 0); }
.parallax-bg.parallax-scale { transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.1); }

@keyframes ken-burns {
	0% { transform: scale(1.02) translate3d(0, 0, 0); }
	50% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
	100% { transform: scale(1.02) translate3d(0, 0, 0); }
}
.ken-burns { animation: ken-burns 24s ease-in-out infinite; will-change: transform; }

@keyframes sp-flicker {
	0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
	28% { opacity: 0.78; transform: translate(-50%, -50%) scale(1.08); }
	46% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.96); }
	68% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}
.sp-flame-glow { position: relative; }
.sp-flame-glow::before {
	content: ''; position: absolute; top: 42%; left: 20%; width: 26rem; height: 16rem; max-width: 90%;
	border-radius: 999px; pointer-events: none; z-index: -1;
	background: radial-gradient(ellipse at center, color-mix(in srgb, var(--glow) 34%, transparent) 0%, color-mix(in srgb, var(--glow) 12%, transparent) 45%, transparent 72%);
	animation: sp-flicker 4.2s ease-in-out infinite; will-change: opacity, transform;
}

@keyframes sp-drift {
	0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
	12% { opacity: 0.85; }
	75% { opacity: 0.5; }
	100% { opacity: 0; transform: translate3d(var(--sp-drift-x, 18px), -78vh, 0) scale(1.15); }
}
.sp-particle {
	position: absolute; bottom: -2rem; border-radius: 999px;
	background: radial-gradient(circle, color-mix(in srgb, var(--particle) 95%, transparent) 0%, color-mix(in srgb, var(--glow) 35%, transparent) 60%, transparent 72%);
	animation: sp-drift linear infinite; will-change: transform, opacity;
}
.particles { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.sp-particle:nth-child(1) { left: 6%; width: 5px; height: 5px; animation-duration: 15s; animation-delay: 0s; --sp-drift-x: 24px; }
.sp-particle:nth-child(2) { left: 14%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: 3s; --sp-drift-x: -18px; }
.sp-particle:nth-child(3) { left: 23%; width: 6px; height: 6px; animation-duration: 17s; animation-delay: 6s; --sp-drift-x: 30px; }
.sp-particle:nth-child(4) { left: 31%; width: 4px; height: 4px; animation-duration: 22s; animation-delay: 1.5s; --sp-drift-x: -26px; }
.sp-particle:nth-child(5) { left: 40%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: 8s; --sp-drift-x: 16px; }
.sp-particle:nth-child(6) { left: 48%; width: 7px; height: 7px; animation-duration: 21s; animation-delay: 4s; --sp-drift-x: -14px; }
.sp-particle:nth-child(7) { left: 56%; width: 4px; height: 4px; animation-duration: 18s; animation-delay: 10s; --sp-drift-x: 28px; }
.sp-particle:nth-child(8) { left: 64%; width: 5px; height: 5px; animation-duration: 24s; animation-delay: 2s; --sp-drift-x: -22px; }
.sp-particle:nth-child(9) { left: 72%; width: 3px; height: 3px; animation-duration: 17s; animation-delay: 7s; --sp-drift-x: 20px; }
.sp-particle:nth-child(10) { left: 80%; width: 6px; height: 6px; animation-duration: 20s; animation-delay: 5s; --sp-drift-x: -30px; }
.sp-particle:nth-child(11) { left: 88%; width: 4px; height: 4px; animation-duration: 23s; animation-delay: 9s; --sp-drift-x: 12px; }
.sp-particle:nth-child(12) { left: 95%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: 12s; --sp-drift-x: -16px; }

@keyframes sp-wick-pulse {
	0%, 100% { opacity: 0.35; transform: scaleX(0.86); }
	50% { opacity: 0.9; transform: scaleX(1); }
}
.wick-divider { width: 100%; padding: 2.5rem 0; }
.sp-wick {
	position: relative; height: 1px; width: min(30rem, 70%); margin: 0 auto;
	background: linear-gradient(90deg, transparent, var(--caramel), transparent);
	animation: sp-wick-pulse 4.6s ease-in-out infinite; will-change: opacity, transform;
}
.sp-wick::after {
	content: ''; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
	border-radius: 999px; background: var(--caramel); animation: sp-flicker 3.4s ease-in-out infinite;
}

@keyframes alta-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.alta-ticker-viewport { overflow: hidden; }
.alta-ticker-track { display: flex; width: max-content; animation: alta-ticker 52s linear infinite; will-change: transform; padding: 0.625rem 0; }
.alta-ticker-viewport:hover .alta-ticker-track { animation-play-state: paused; }

@keyframes doce-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-14px) rotate(3deg); }
}
.doce-float-slow { animation: doce-float 11s ease-in-out infinite; }

@keyframes icon-bounce {
	0% { transform: scale(0.6); opacity: 0; }
	60% { transform: scale(1.12); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}
[data-icon-bounce] { opacity: 0; }
[data-icon-bounce].is-bounced { animation: icon-bounce 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--icon-bounce-delay, 0ms); }
[data-tilt] { transform-style: preserve-3d; transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
	[data-reveal], [data-reveal-child], .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	[data-icon-bounce] { opacity: 1 !important; animation: none !important; }
	.cs-hover-lift, .cs-hover-lift:hover, .doce-card, .doce-card:hover { transition: none !important; transform: none !important; }
	.ken-burns, .alta-ticker-track, .doce-float-slow, .sp-particle, .sp-wick, .sp-wick::after, .sp-flame-glow::before { animation: none !important; }
	.sp-particle { display: none !important; }
	.parallax-bg { transform: none !important; }
	[data-tilt] { transform: none !important; }
}

/* ---------- Announcement ticker ---------- */
.announcement-bar { position: relative; background: var(--gradient-cocoa); }
.ticker-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.ticker-item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.ticker-label { color: var(--vanilla); white-space: nowrap; font-size: 14px; }
.ticker-dot { display: inline-block; width: 0.375rem; height: 0.375rem; border-radius: 999px; flex-shrink: 0; background: var(--gold); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	background-color: color-mix(in srgb, var(--cream) 0%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--cream) 0%, transparent);
	transition: background-color 600ms cubic-bezier(0.4, 0, 0.2, 1), border-color 600ms cubic-bezier(0.4, 0, 0.2, 1);
	--ink: var(--cream);
}
.site-header.is-solid, .site-header.menu-open {
	background-color: color-mix(in srgb, var(--cream) 95%, transparent);
	border-bottom-color: var(--nude);
	--ink: var(--chocolate);
}
/* WordPress admin bar: fixed 32px (46px at <=782px); at <=600px it scrolls away with the page. */
body.admin-bar .site-header { top: 32px; }
body.admin-bar section[id] { scroll-margin-top: 32px; }
body.admin-bar #theme-cart-drawer, body.admin-bar #theme-cart-overlay { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar section[id] { scroll-margin-top: 46px; }
	body.admin-bar #theme-cart-drawer, body.admin-bar #theme-cart-overlay { top: 46px; height: calc(100% - 46px); }
}
@media screen and (max-width: 600px) {
	body.admin-bar .site-header { top: 0; }
	body.admin-bar section[id] { scroll-margin-top: 0; }
	body.admin-bar #theme-cart-drawer, body.admin-bar #theme-cart-overlay { top: 0; height: 100%; z-index: 100000; }
}

.site-nav { position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; height: 4.5rem; gap: 0.75rem; }
@media (min-width: 768px) { .site-nav { height: 6rem; } }
.site-logo { position: relative; display: flex; align-items: center; flex-shrink: 0; cursor: pointer; min-width: 0; }
.site-logo-img { height: 60px; width: auto; display: block; transition: opacity 500ms; }
@media (min-width: 768px) { .site-logo-img { height: 84px; } }
.site-header .site-logo-cream { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 1; }
.site-header .site-logo-dark { opacity: 0; }
.site-header.is-solid .site-logo-cream, .site-header.menu-open .site-logo-cream { opacity: 0; }
.site-header.is-solid .site-logo-dark, .site-header.menu-open .site-logo-dark { opacity: 1; }

.site-nav-links { display: none; align-items: center; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.nav-link, .mobile-nav-link {
	white-space: nowrap; font-family: var(--font-ui); font-weight: 500; font-size: 14px;
	letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
	transition: color 600ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms;
}
.nav-link:hover { opacity: 0.8; }
.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-cta { display: none; white-space: nowrap; padding: 12px 24px; font-size: 14px; background: var(--cream); color: var(--chocolate); }
.site-header.is-solid .header-cta, .site-header.menu-open .header-cta { background: var(--chocolate); color: var(--cream); }
.site-header.is-solid .header-cta:hover, .site-header.menu-open .header-cta:hover { background: var(--cocoa); }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.cart-btn, .menu-toggle {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px; color: var(--ink);
	transition: transform 300ms, color 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-btn:hover, .menu-toggle:hover { transform: translateY(-2px); }
.menu-toggle { transition-duration: 200ms; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle .menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.cart-badge { position: absolute; top: 0; right: 0; }
.cart-badge .theme-cart-count {
	display: flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 4px;
	border-radius: 999px; font-size: 14px; font-weight: 600; font-family: var(--font-ui);
	background: var(--caramel); color: var(--cream);
}
.theme-cart-count:empty { display: none; }

.mobile-menu {
	margin-left: -1.25rem; margin-right: -1.25rem; padding: 1rem 1.25rem; background: var(--cream);
	border-top: 1px solid var(--nude); animation: fadeIn 0.6s var(--transition-smooth) forwards;
}
@media (min-width: 640px) { .mobile-menu { margin-left: -1.5rem; margin-right: -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link { align-self: flex-start; text-align: left; padding: 0.75rem 0.25rem; color: var(--chocolate); }
.mobile-cta { margin-top: 0.75rem; width: 100%; }

/* ---------- Layout helpers ---------- */
.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-pad { padding-top: 7rem; padding-bottom: 7rem; } }
.container-wide.split-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .container-wide.split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.container-wide, .cs-section-cream > .container-wide { position: relative; }
.heading-block, .narrow-block { max-width: 42rem; }
.section-heading {
	font-family: var(--font-heading); font-weight: 600; font-size: 2.25rem; line-height: 2.5rem; margin-top: 1.5rem; letter-spacing: -0.005em;
}
@media (min-width: 768px) { .section-heading { font-size: 3.75rem; line-height: 1; } }
.section-heading.on-dark { color: var(--cream); }
.section-copy { margin-top: 1.5rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); max-width: 36rem; }
@media (min-width: 768px) { .section-copy { font-size: 1.125rem; line-height: 1.75rem; } }
.section-copy.on-dark-copy { color: color-mix(in srgb, var(--cream) 84%, transparent); }
.section-copy.on-dark-copy-soft { color: color-mix(in srgb, var(--cream) 70%, transparent); }
.sensory-copy-2 { margin-top: 1.25rem; }
.section-btn { margin-top: 2.25rem; }
.photo-frame { position: relative; overflow: hidden; border-radius: 1.75rem; }
.photo-ratio { aspect-ratio: 4 / 5; width: 100%; overflow: hidden; position: relative; }
.about-photo { order: 2; }
.about-copy-col { order: 1; }
@media (min-width: 1024px) { .about-photo { order: 1; } .about-copy-col { order: 2; } }
.btn-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.25rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }
.btn-row-center { justify-content: center; }
.fill-layer { position: absolute; inset: 0; overflow: hidden; }

/* ---------- Hero ---------- */
.hero-section {
	position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
	margin-top: -4.5rem; padding-top: 4.5rem;
}
@media (min-width: 768px) { .hero-section { margin-top: -6rem; padding-top: 6rem; } }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background-color: var(--chocolate-deep); }
.hero-shade {
	position: absolute; inset: 0; pointer-events: none; z-index: 2;
	background: linear-gradient(180deg, color-mix(in srgb, var(--overlay) 66%, transparent) 0%, color-mix(in srgb, var(--overlay) 44%, transparent) 45%, color-mix(in srgb, var(--overlay) 90%, transparent) 100%);
}
.hero-glow {
	position: absolute; inset: 0; pointer-events: none; z-index: 3;
	background: radial-gradient(ellipse at 22% 62%, color-mix(in srgb, var(--glow) 20%, transparent) 0%, transparent 58%), radial-gradient(ellipse at 86% 22%, color-mix(in srgb, var(--gold) 14%, transparent) 0%, transparent 55%);
}
.hero-particles { z-index: 4; }
.hero-container { position: relative; z-index: 5; padding-top: 7rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .hero-container { padding-top: 8rem; padding-bottom: 8rem; } }
.hero-content { max-width: 48rem; }
.hero-title { margin-top: 1.5rem; font-size: 2.6rem; color: var(--cream); }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; line-height: 1; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; line-height: 1; } }
.hero-subtitle { margin-top: 1.5rem; font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.375; color: var(--gold-soft); }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.875rem; line-height: 2.25rem; } }
.hero-text { margin-top: 1.25rem; max-width: 36rem; font-size: 15px; line-height: 1.625; color: color-mix(in srgb, var(--cream) 82%, transparent); }
@media (min-width: 768px) { .hero-text { font-size: 1rem; line-height: 1.5rem; } }

/* ---------- Shop / cards ---------- */
.shop-section .heading-block { max-width: 42rem; }
.featured-box {
	margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
	border-radius: 1.75rem; padding: 1.5rem; background-color: var(--vanilla); border: 1px solid var(--nude);
}
@media (min-width: 768px) { .featured-box { padding: 2.5rem; } }
@media (min-width: 1024px) { .featured-box { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.featured-photo { position: relative; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 4 / 5; }
.featured-img, .gallery-img { transition: transform 1200ms ease-out; }
.featured-photo:hover .featured-img { transform: scale(1.07); }
.featured-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.875rem; line-height: 2.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .featured-title { font-size: 3rem; line-height: 1; } }
.featured-desc { margin-top: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); max-width: 32rem; }
.featured-btn { margin-top: 1.75rem; }

.product-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-cell { height: 100%; }
.product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.product-card-media { position: relative; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; background-color: var(--nude); }
.product-card-img { transition: transform 1200ms ease-out; }
.product-card:hover .product-card-img { transform: scale(1.07); }
.product-card-hover {
	position: absolute; inset: 0; opacity: 0; transition: opacity 500ms;
	background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--chocolate-deep) 55%, transparent) 100%);
}
.product-card:hover .product-card-hover { opacity: 1; }
.product-card-badge { position: absolute; top: 0.875rem; left: 0.875rem; z-index: 1; }
.badge-pill {
	display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.875rem; border-radius: 999px;
	background-color: var(--cream); color: var(--strawberry); font-size: 14px;
}
.badge-pill span { font-size: 14px; }
.product-card-body { padding: 1.25rem; min-height: 104px; }
.product-card-title { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 1.375; color: var(--foreground); }
@media (min-width: 768px) { .product-card-title { font-size: 23px; } }
.product-card-desc {
	margin-top: 0.375rem; font-size: 14px; color: var(--muted-foreground);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-placeholder { cursor: default; user-select: none; }
.placeholder-img { filter: blur(12px); transform: scale(1.1); opacity: 0.8; }
.placeholder-shade { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--chocolate-deep) 35%, transparent); }
.placeholder-label-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.placeholder-label {
	padding: 0.625rem 1.25rem; border-radius: 999px; color: var(--gold-soft);
	background-color: color-mix(in srgb, var(--chocolate-deep) 62%, transparent);
}

/* Product card link overlay (Pattern A) */
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card:hover .product-card-img { transform: scale(1.07); }
.theme-product-card { cursor: pointer; }
.product-card-price .amount, .product-card-price { color: var(--strawberry); font-weight: 600; }

/* ---------- Craft ---------- */
.craft-section, .cta-section { position: relative; overflow: hidden; }
.craft-shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--overlay) 72%, transparent) 0%, color-mix(in srgb, var(--overlay) 82%, transparent) 100%); }
.craft-container { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .craft-container { padding-top: 9rem; padding-bottom: 9rem; } }

/* ---------- Benefits ---------- */
.benefits-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.benefit-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; min-height: 268px; }
.benefit-icon { margin-bottom: 1.25rem; color: var(--caramel); }
.benefit-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; line-height: 1.375; }
.benefit-copy { margin-top: 0.75rem; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- Gallery ---------- */
.gallery-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 1rem; }
.gallery-tile:hover .gallery-img { transform: scale(1.1); }

/* ---------- Difference ---------- */
.diff-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .diff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .diff-grid { gap: 3rem; } }
.diff-item { display: flex; flex-direction: column; height: 100%; }
.diff-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.875rem; line-height: 1.25; color: var(--gold-soft); }
@media (min-width: 768px) { .diff-title { font-size: 2.4rem; } }
.diff-copy { margin-top: 1rem; font-size: 15px; line-height: 1.625; color: color-mix(in srgb, var(--cream) 75%, transparent); }

/* ---------- Contact ---------- */
.contact-box {
	display: grid; grid-template-columns: 1fr; overflow: hidden; border-radius: 1.75rem;
	background-color: var(--vanilla); border: 1px solid var(--nude);
}
@media (min-width: 1024px) { .contact-box { grid-template-columns: 1fr 1fr; } }
.contact-photo { position: relative; min-height: 320px; overflow: hidden; }
@media (min-width: 1024px) { .contact-photo { min-height: 100%; } }
.contact-body { padding: 1.75rem; }
@media (min-width: 768px) { .contact-body { padding: 3rem; } }
.contact-title { font-family: var(--font-heading); font-weight: 600; font-size: 2.25rem; line-height: 2.5rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; line-height: 1; } }
.contact-links { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 14px; }
.contact-link { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; color: var(--muted-foreground); }
.contact-link span { font-size: 14px; }
.contact-form { margin-top: 2rem; }
.contact-form > * + * { margin-top: 1.25rem; }
.float-field { position: relative; }
.float-input {
	width: 100%; background-color: var(--cream); padding: 1.5rem 1rem 0.625rem; border-radius: 1rem; font-size: 1rem;
	color: var(--foreground); border: 1px solid var(--nude); outline: none; transition: border-color 300ms;
}
.float-input:focus { border-color: var(--caramel); }
.float-textarea { resize: none; display: block; }
.float-label {
	position: absolute; left: 1rem; top: 18px; font-size: 15px; pointer-events: none; color: var(--muted-foreground);
	transition: all 300ms;
}
.float-input:focus + .float-label, .float-input:not(:placeholder-shown) + .float-label { top: 8px; font-size: 14px; }
.float-input:focus + .float-label { color: var(--caramel); }
.contact-error { font-size: 14px; color: var(--strawberry); }
.contact-thanks { margin-top: 2rem; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.thanks-circle { width: 3.5rem; height: 3.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background-color: var(--chocolate); color: var(--cream); }
.thanks-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; line-height: 2rem; margin-top: 1rem; }
.thanks-text { margin-top: 0.5rem; font-size: 14px; color: var(--muted-foreground); }
.contact-submit[disabled] { opacity: 0.7; }

/* ---------- CTA ---------- */
.cta-video-layer { background-color: var(--chocolate-deep); }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--overlay) 74%, transparent) 0%, color-mix(in srgb, var(--overlay) 86%, transparent) 100%); }
.cta-particles { z-index: 1; }
.cta-container { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 6rem; text-align: center; }
@media (min-width: 768px) { .cta-container { padding-top: 8rem; padding-bottom: 8rem; } }
.cta-block { margin-left: auto; margin-right: auto; }
.cta-copy { margin-top: 1.25rem; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background-color: var(--cream); color: var(--chocolate); border-top: 1px solid var(--nude); }
.footer-mark { pointer-events: none; position: absolute; right: -2rem; bottom: -2.5rem; width: 14rem; opacity: 0.07; }
@media (min-width: 768px) { .footer-mark { width: 20rem; } }
.footer-inner { position: relative; padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .footer-inner { padding-top: 6rem; padding-bottom: 2.5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .footer-col-brand { grid-column: span 5; } .footer-col-links { grid-column: span 3; } .footer-col-hello { grid-column: span 4; } }
@media (min-width: 1024px) { .footer-grid { gap: 3.5rem; } }
.footer-logo-link { display: inline-flex; align-items: center; }
.footer-logo { height: 6rem; }
@media (min-width: 768px) { .footer-logo { height: 120px; } }
.footer-about { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; line-height: 1.625; color: var(--muted-foreground); }
.footer-socials { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.75rem; }
.social-btn {
	width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--nude); display: flex;
	align-items: center; justify-content: center; color: var(--chocolate); transition: transform 300ms;
}
.social-btn:hover { transform: translateY(-4px); }
.footer-heading { margin-bottom: 1.25rem; color: var(--strawberry); font-size: 14px; }
.footer-list > * + * { margin-top: 0.75rem; }
.footer-link { font-size: 14px; text-align: left; color: var(--muted-foreground); }
.footer-contact-list .footer-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-contact-list .footer-link span { font-size: 14px; }
.footer-email { word-break: break-all; }
.footer-cta { margin-top: 1.5rem; padding: 12px 24px; }
.footer-bottom {
	margin-top: 3.5rem; padding-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start;
	justify-content: space-between; gap: 1rem 1.5rem; border-top: 1px solid var(--nude);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.footer-bottom-left { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .footer-bottom-left { flex-direction: row; align-items: center; gap: 1.5rem; } }
.footer-legal { display: flex; align-items: center; gap: 1.25rem; }
.footer-small { font-size: 14px; color: var(--muted-foreground); }
.footer-credit { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Back to top ---------- */
.back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 2.75rem; height: 2.75rem; border-radius: 999px;
	display: flex; align-items: center; justify-content: center; background: var(--gradient-berry); color: var(--cream);
	transition: all 300ms; opacity: 0; pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px) scale(1.1); }
@media (min-width: 768px) { .back-to-top { width: 3rem; height: 3rem; } .back-to-top svg { width: 1.5rem; height: 1.5rem; } }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay {
	display: none; position: fixed; inset: 0; z-index: 50; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	background-color: color-mix(in srgb, var(--chocolate-deep) 45%, transparent);
}
#theme-cart-drawer {
	display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 50;
	flex-direction: column; background-color: var(--cream); border-left: 1px solid var(--nude);
}
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
body.cart-open #theme-cart-drawer { display: flex; animation: slideUp 0.5s var(--transition-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--nude); }
.cart-drawer-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; line-height: 2rem; color: var(--foreground); }
.cart-drawer-close { width: 2.5rem; height: 2.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: transform 300ms; }
.cart-drawer-close:hover { transform: rotate(90deg); }
.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-empty-circle { width: 5rem; height: 5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; background-color: var(--vanilla); color: var(--caramel); }
.cart-empty-text { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; }
.cart-drawer-items > * + * { margin-top: 1.25rem; }
.cart-item { display: flex; gap: 1rem; padding: 0.75rem; border-radius: 1rem; transition: background-color 150ms; }
.cart-item:hover { background-color: var(--vanilla); }
.cart-item-thumb { width: 5rem; height: 6rem; overflow: hidden; flex-shrink: 0; border-radius: 0.75rem; background-color: var(--nude); position: relative; display: block; }
.cart-item-img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.cart-item-thumb:hover .cart-item-img { transform: scale(1.05); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 16px; font-family: var(--font-heading); line-height: 1.375; display: block; transition: opacity 150ms; color: var(--foreground); }
.cart-item-name:hover { opacity: 0.75; }
.cart-item-variation { font-size: 14px; color: var(--muted-foreground); }
.cart-item-price { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; margin-top: 0.25rem; color: var(--strawberry); }
.cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn { width: 1.75rem; height: 1.75rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--nude); transition: background-color 150ms; }
.cart-qty-btn:hover { background-color: var(--vanilla); }
.cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.cart-item-remove { margin-left: auto; font-size: 0.875rem; color: var(--muted-foreground); transition: opacity 150ms; }
.cart-item-remove:hover { opacity: 0.7; }
.cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--nude); }
.cart-drawer-footer > * + * { margin-top: 1rem; }
.cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.cart-subtotal-label { color: var(--foreground); }
.cart-subtotal-value { font-family: var(--font-heading); font-size: 1.875rem; line-height: 2.25rem; color: var(--strawberry); }
.cart-subtotal-value .amount { font-size: inherit; }
.cart-checkout-btn { width: 100%; }
.cart-empty-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; width: 100%; height: 2.25rem;
	padding: 0 1.25rem; border: 1px solid transparent; border-radius: 0.375rem; font-size: 14px; font-weight: 600;
	color: var(--muted-foreground); transition: background-color 150ms, color 150ms;
}
.cart-empty-btn:hover { background-color: var(--caramel); color: var(--cream); }
.cart-empty-btn svg { width: 1rem; height: 1rem; margin-right: 0; }

/* ---------- Inner pages ---------- */
.inner-page { padding-top: 2.5rem; padding-bottom: 6rem; min-height: 60vh; }
.inner-container { position: relative; }
.page-title { font-family: var(--font-heading); font-weight: 600; font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 0.75rem; color: var(--foreground); }
@media (min-width: 768px) { .page-title { font-size: 3.75rem; line-height: 1; } }
.entry-content { max-width: 100%; margin-top: 2rem; }
.entry-content p { font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.no-products { color: var(--muted-foreground); margin-top: 2rem; }

.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: var(--nude); }
.not-found-inner { text-align: center; }
.not-found-title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; font-family: var(--font-display); }
.not-found-text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); }
.not-found-link { color: var(--chocolate); text-decoration: underline; font-size: 1rem; }
.not-found-link:hover { opacity: 0.9; }

/* ---------- WooCommerce: single product ---------- */
.back-link { display: inline-block; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; align-items: start; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.product-main-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.5rem; background-color: var(--nude); }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; }
.product-thumb { position: relative; width: 5rem; height: 6rem; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--nude); opacity: 0.7; transition: opacity 200ms, border-color 200ms; }
.product-thumb.is-active, .product-thumb:hover { opacity: 1; border-color: var(--caramel); }
.product-cats { font-family: var(--font-label); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--strawberry); font-weight: 600; }
.product-title { font-family: var(--font-heading); font-weight: 600; font-size: 2.25rem; line-height: 2.5rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .product-title { font-size: 3rem; line-height: 1; } }
.product-price { font-family: var(--font-heading); font-size: 1.875rem; line-height: 2.25rem; margin-top: 1rem; color: var(--strawberry); }
.product-price .amount, .product-price bdi { font-size: inherit; }
.product-stock { margin-top: 0.75rem; font-size: 14px; color: var(--muted-foreground); }
.product-description { margin-top: 1.5rem; color: var(--muted-foreground); line-height: 1.625; overflow-wrap: break-word; word-break: break-word; }
.product-description p { font-size: 1rem; }
.product-details { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--nude); }
.product-details-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; line-height: 2rem; }
.woocommerce-product-details__short-description, .woocommerce-variation-description, .posted_in { overflow-wrap: break-word; word-break: break-word; color: var(--muted-foreground); margin-top: 0.75rem; }
.single-product .variations, .theme-product-info .variations { width: 100%; margin-top: 1.5rem; }
.theme-product-info .variations tbody, .theme-product-info .variations tr, .theme-product-info .variations td { display: block; width: 100%; }
.theme-product-info .variations td.label { padding-bottom: 0.25rem; }
.theme-product-info .variations td.value { padding-top: 0; margin-bottom: 1rem; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 14px; }
.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 1.25rem; border-radius: 999px; border: 1px solid var(--nude); background: var(--cream); font-size: 14px; font-weight: 600; transition: all 200ms; }
.theme-attr-pill:hover { border-color: var(--caramel); }
.theme-attr-pill.is-selected { background: var(--chocolate); color: var(--cream); border-color: var(--chocolate); }
.reset_variations { display: none !important; }
.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--nude); border-radius: 999px; background: var(--cream); }
.theme-qty-minus, .theme-qty-plus { width: 2.75rem; height: 2.75rem; font-size: 1.125rem; border-radius: 999px; }
.theme-qty-input { width: 3rem; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button, .theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; text-transform: none; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important; color: var(--color-button-text) !important; border: none !important;
	border-radius: var(--btn-radius) !important; min-height: var(--btn-height) !important; padding: var(--btn-padding) !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	font-family: var(--font-body) !important; font-size: var(--btn-font-size) !important; font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important; text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important; transition: opacity 0.2s ease !important;
}
.single-product .single_add_to_cart_button.button, .single-product a.single_add_to_cart_button { text-transform: none !important; }
.single_add_to_cart_button.button:hover, .add_to_cart_button.button:hover { opacity: 0.85 !important; background-color: var(--color-primary) !important; color: var(--color-button-text) !important; }
.single_add_to_cart_button.button:disabled, .single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled, .add_to_cart_button.button.disabled { cursor: not-allowed !important; opacity: 0.4 !important; pointer-events: none !important; }
.single_add_to_cart_button.button:disabled:hover, .single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover, .add_to_cart_button.button.disabled:hover { opacity: 0.4 !important; background-color: var(--color-primary) !important; }
.single-product .single_add_to_cart_button.loading::after, .ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.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; }
.single-product .woocommerce-message, .single-product .woocommerce-info, #theme-cart-drawer .woocommerce-message { display: none; }
/* Single product: layout polish (selectors outrank woocommerce.css `.woocommerce div.product ...`). */
@media (min-width: 1024px) {
	.theme-product-info { position: sticky; top: 7.5rem; }
	body.admin-bar .theme-product-info { top: calc(7.5rem + 32px); }
}
.product-main-frame .product-card-badge { top: 1rem; left: 1rem; }
.product-main-img { transition: opacity 300ms ease; }
.theme-product-info .product-cats { margin-bottom: 0.25rem; }
.product-title { margin-top: 1.25rem; color: var(--foreground); }
.product-price del, .product-price del .amount { font-size: 0.7em; color: var(--muted-foreground); }
.product-price ins { margin-left: 0.5rem; }
.product-rating { margin-top: 0.75rem; }
.product-rating .star-rating { color: var(--caramel); }
.product-summary { margin-top: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.product-summary p { font-size: 1rem; }
.product-summary > * + * { margin-top: 0.75rem; }
.single-product-page .theme-product-info .product-stock .stock,
.single-product-page .theme-product-info .woocommerce-variation-availability .stock {
	margin: 0.75rem 0 0; font-size: 14px; font-weight: 600; color: var(--muted-foreground);
}
.single-product-page .theme-product-info .product-stock.out-of-stock,
.single-product-page .theme-product-info .product-stock .out-of-stock,
.single-product-page .theme-product-info .woocommerce-variation-availability .out-of-stock { color: var(--strawberry); font-weight: 600; }
.single-product-page .theme-product-info .woocommerce-variation-price .price {
	display: block; margin-top: 0.5rem; font-family: var(--font-heading); font-size: 1.875rem; line-height: 2.25rem; color: var(--strawberry);
}
.single-product-page .theme-product-info .woocommerce-variation-price .price .amount { font-size: inherit; }
.single-product-page .theme-product-info .variations_form { margin-bottom: 0; }
.single-product-page .theme-product-info .single_variation_wrap .woocommerce-variation { margin-bottom: 0.5rem; }
.theme-product-info .product-description > * + * { margin-top: 0.875rem; }
.theme-product-info .product-description ul { list-style: disc; padding-left: 1.25rem; }
.theme-product-info .product-description ol { list-style: decimal; padding-left: 1.25rem; }
.theme-product-info .product-description a { color: var(--chocolate); text-decoration: underline; text-underline-offset: 3px; }
.theme-product-info .product-description img { border-radius: 1rem; }
.product-details + .product-details { margin-top: 2rem; }
.single-product-page .product-attributes .shop_attributes { width: 100%; margin: 1rem 0 0; border: 0; border-top: 1px solid var(--nude); }
.single-product-page .product-attributes .shop_attributes th,
.single-product-page .product-attributes .shop_attributes td {
	padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--nude); background: transparent; text-align: left; vertical-align: top;
	font-size: 14px; font-style: normal; line-height: 1.5;
}
.single-product-page .product-attributes .shop_attributes th { width: 40%; padding-right: 1rem; font-family: var(--font-label); font-weight: 600; color: var(--foreground); }
.single-product-page .product-attributes .shop_attributes td { color: var(--muted-foreground); }
.single-product-page .product-attributes .shop_attributes td p { margin: 0; padding: 0; font-size: 14px; }
.single-product-page .product-attributes .shop_attributes tr:nth-child(even) th,
.single-product-page .product-attributes .shop_attributes tr:nth-child(even) td { background: transparent; }
.product-meta { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--nude); display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; color: var(--muted-foreground); }
.product-meta-label { font-size: 12px; margin-right: 0.5rem; color: var(--strawberry); }
.product-meta a { color: var(--chocolate); }
.product-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-external-btn { width: 100%; }
@media (min-width: 640px) { .product-external-btn { width: auto; } }
.product-password-form { max-width: 32rem; margin-top: 2rem; }
.product-password-form input[type="password"] { width: 100%; margin-top: 0.5rem; padding: 0.875rem 1rem; border: 1px solid var(--nude); border-radius: 1rem; background: var(--cream); }
.product-password-form input[type="submit"] { margin-top: 1rem; padding: 14px 28px; border-radius: 999px; background: var(--chocolate); color: var(--cream); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.single-product-page .theme-native-add-to-cart form.cart { margin: 1.5rem 0 0; }
.single-product-page .theme-native-add-to-cart .group_table { width: 100%; margin-bottom: 1rem; }
.single-product-page .theme-native-add-to-cart .group_table td { padding: 0.625rem 0.5rem 0.625rem 0; border-bottom: 1px solid var(--nude); vertical-align: middle; }
.single-product-page .theme-native-add-to-cart .quantity .qty {
	width: 4.5rem; height: 2.75rem; border: 1px solid var(--nude); border-radius: 999px; background: var(--cream); text-align: center;
}
.shop-view-all { margin-top: 2.5rem; display: flex; justify-content: center; }
.theme-product-notices .woocommerce-notices-wrapper:empty { display: none; }

.related-products-section { margin-top: 5rem; }
.related-title { margin-top: 0; }
.related-grid { margin-top: 2rem; }
.scroll-reveal-section .reveal-item, .related-products-section .reveal-item { transition-delay: 0ms; }

/* WooCommerce notices (kept visible, themed) */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	padding: 1rem 1.25rem; margin: 0 0 1.5rem; border-radius: 1rem; border: 1px solid var(--nude);
	background: var(--vanilla); color: var(--foreground); list-style: none;
}
.woocommerce-error { border-color: var(--strawberry); }
.price del { opacity: 0.6; }
.price ins { text-decoration: none; }

/* ---------- WooCommerce: cart / checkout / account / thank you ---------- */
body.woocommerce-checkout .inner-container, body.woocommerce-cart .inner-container, body.woocommerce-account .inner-container { max-width: 80rem; }
body.woocommerce-checkout .entry-content, body.woocommerce-cart .entry-content { max-width: none; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-checkout__main, body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none; padding: 0;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-surface); border-radius: var(--card-radius); padding: var(--section-padding, 2rem);
	border: 1px solid var(--nude);
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: 1rem; background: var(--vanilla); border: 1px solid var(--nude); color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important; max-width: none !important; background-color: var(--cream); border: 1px solid var(--nude);
	border-radius: 1rem; color: var(--foreground); font-family: var(--font-body); font-size: 1rem; padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus, body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--caramel); outline: none; box-shadow: none; }
body.woocommerce-checkout .wc-block-components-text-input label, body.woocommerce-checkout .wc-block-components-select label { color: var(--muted-foreground); font-family: var(--font-label); }
body.woocommerce-checkout .wc-block-components-title, body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; font-size: 14px; color: var(--strawberry);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button, body.woocommerce-cart .wc-block-cart__submit-button {
	background: var(--chocolate); color: var(--cream); border-radius: 999px; border: 0; padding: 16px 30px;
	font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover, body.woocommerce-cart .wc-block-cart__submit-button:hover { background: var(--cocoa); }
body.woocommerce-checkout .wc-block-cart-items { border-color: var(--nude); }
body.woocommerce-checkout .wc-block-components-totals-item__value, body.woocommerce-checkout .wc-block-components-product-price { color: var(--strawberry); }
body.woocommerce-checkout .form-row .input-text, body.woocommerce-checkout .form-row select { background: var(--cream); border: 1px solid var(--nude); border-radius: 1rem; }

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 100%; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem; border-radius: 1.5rem;
	background-color: var(--vanilla); border: 1px solid var(--nude);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; color: var(--muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--foreground); }
body.theme-thankyou-page .woocommerce-order h2, body.theme-thankyou-page .woocommerce-order-details__title, body.theme-thankyou-page h2 {
	font-family: var(--font-heading); font-weight: 600; font-size: 1.875rem; line-height: 2.25rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details th, body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 0; border-bottom: 1px solid var(--nude); text-align: left; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; padding: 1.5rem; border-radius: 1.5rem; background: var(--vanilla); border: 1px solid var(--nude); }

/* ---------- Preview / no-observer fallbacks ---------- */
.no-io [data-reveal], .no-io [data-reveal-child], .no-io .reveal-item, .no-io [data-icon-bounce] { opacity: 1; transform: none; }
