/*
 * Duarte Designs theme stylesheet.
 * All visual styling for the theme lives in this single file (Section 10).
 */

/* =========================================================
   1. TOKENS & RESET
   ========================================================= */
:root {
	--color-background: #f6f1e9;
	--color-foreground: #201c26;
	--color-card: #ece4d6;
	--color-primary: #55516a;
	--color-primary-foreground: #fbf7ef;
	--color-secondary: #e5dccc;
	--color-muted: #d6c9b7;
	--color-muted-foreground: #5c5763;
	--color-accent: #c364a1;
	--color-border: #d2c4b2;
	--color-butter: #f2ead9;
	--color-rosa: #b8477e;
	--color-marigold: #916337;
	--color-teal: #55516a;
	--color-surface-deep: #241f30;
	--color-surface-deep-foreground: #f4ecdd;

	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;

	--shadow-soft: 0 4px 20px -4px rgba(32, 28, 38, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(32, 28, 38, 0.22);

	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 0 2.5rem;
	--btn-font-size: 0.6875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;

	--header-height: 90px;
	--checkout-gap: 2rem;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.625;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
	line-height: 1.15;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.theme-product-card-img):not(.theme-thumb-btn img):not(#product-main-img):not(.theme-product-stack-image img):not(.theme-cart-item-image img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card-img,
.theme-thumb-btn img,
#product-main-img,
.theme-product-stack-image img,
.theme-cart-item-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container-wide {
	width: 100%;
	max-width: 84rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* =========================================================
   2. ANIMATION UTILITIES (Section 2.1)
   ========================================================= */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-fade-up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-fade-up-lg { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: theme-fade-in 0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--ease-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.theme-anim {
	opacity: 0;
	transform: translateY(22px);
	animation: none;
}
.theme-anim.is-visible {
	animation-name: theme-fade-up-lg;
	animation-duration: 0.9s;
	animation-timing-function: var(--ease-smooth);
	animation-fill-mode: forwards;
}

/* Customizer preview + no-JS fallback: reveal content must never be stuck hidden. */
body.is-customizer .reveal-item,
body.is-customizer .theme-anim,
body.no-js .reveal-item,
body.no-js .theme-anim {
	opacity: 1;
	transform: none;
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .theme-anim {
		transition: none;
		animation: none;
		opacity: 1;
		transform: none;
	}
}

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

/* =========================================================
   3. BUTTONS
   ========================================================= */
.theme-btn-hero-primary,
.theme-btn-dark,
.theme-btn-primary,
.theme-btn-rosa,
.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 0.75rem;
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.4s ease, box-shadow 0.4s ease;
	box-shadow: var(--shadow-soft);
	border: none;
}
.theme-btn-hero-primary {
	border-radius: 0;
	text-transform: uppercase;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
}
.theme-btn-hero-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.theme-btn-hero-outline {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-rosa);
	color: var(--color-background);
	font-size: 0.6875rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	padding-bottom: 0.25rem;
	border-radius: 0;
	min-height: unset;
	box-shadow: none;
}
.theme-btn-hero-outline:hover { color: var(--color-rosa); }
.theme-btn-dark { background: var(--color-foreground); color: var(--color-background); text-transform: uppercase; font-family: var(--font-display); }
.theme-btn-dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, white); box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-primary:hover { opacity: 0.85; }
.theme-btn-rosa { background: var(--color-rosa); color: var(--color-background); font-family: var(--font-display); text-transform: uppercase; }
.theme-btn-rosa:hover { background: color-mix(in srgb, var(--color-rosa) 90%, black); box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.theme-btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground); box-shadow: none; }
.theme-btn-outline:hover { background: var(--color-secondary); }

/* =========================================================
   4. ANNOUNCEMENT BAR
   ========================================================= */
.theme-announcement-bar {
	position: relative;
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement-inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-text { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-dismiss {
	position: absolute;
	right: 0.75rem; top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.7;
}
.theme-announcement-dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* =========================================================
   5. HEADER
   ========================================================= */
.site-header {
	position: sticky;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.theme-header-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
	transition: height 0.3s ease;
	position: relative;
}
.site-header.is-scrolled .theme-header-nav,
.site-header.is-solid.is-scrolled .theme-header-nav { height: 80px; }

.theme-site-logo-link { display: flex; align-items: center; }
.site-logo-img { height: var(--logo-height, 80px) !important; width: auto !important; display: block; object-fit: contain; transition: height 0.3s ease; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }

.theme-header-nav-links {
	display: none;
	align-items: center;
	gap: 2rem;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
@media (min-width: 1024px) {
	.theme-header-nav-links { display: flex; }
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-list a, .theme-primary-nav-fallback a {
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	position: relative;
}
.theme-nav-list a::after {
	content: '';
	position: absolute;
	bottom: -2px; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-list a:hover::after { transform: scaleX(1); }

.theme-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-header-search-btn { display: none; padding: 0.5rem; transition: opacity 0.2s; }
.theme-header-search-btn:hover { opacity: 0.6; }
@media (min-width: 768px) {
	.theme-header-search-btn { display: inline-flex; }
}
.theme-header-cart-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s; }
.theme-header-cart-btn:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.75rem; font-weight: 500;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 9999px;
	padding: 0 0.15rem;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-menu-toggle { display: inline-flex; padding: 0.5rem; }
@media (min-width: 1024px) {
	.theme-mobile-menu-toggle { display: none; }
}

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s var(--ease-smooth); }
.theme-mobile-nav-list, .theme-mobile-menu .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 1rem; }
.theme-mobile-nav-list a, .theme-mobile-menu .theme-nav-list a { padding: 0.5rem 0; font-size: 0.875rem; }

/* =========================================================
   6. HERO
   ========================================================= */
.theme-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5rem 1.5rem 0;
	background: var(--color-background);
}
@media (min-width: 768px) { .theme-hero { padding-top: 6rem; } }

body.theme-no-hero .theme-hero { display: none; }

.theme-hero-media { position: absolute; inset: 0; z-index: 0; }
.theme-hero-bg-video, .theme-hero-bg-img { opacity: 0.8; }
.theme-hero-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 10%, transparent), transparent 45%, color-mix(in srgb, var(--color-background) 80%, transparent));
}

.theme-hero-content {
	position: relative;
	z-index: 10;
	max-width: 56rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.theme-hero-kicker {
	display: block;
	font-family: var(--font-body);
	color: var(--color-background);
	text-transform: uppercase;
	letter-spacing: 0.4em;
	font-size: 0.625rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
@media (min-width: 640px) { .theme-hero-kicker { font-size: 0.75rem; } }
.theme-hero-title {
	font-family: var(--font-display);
	color: var(--color-background);
	font-size: 3rem;
	font-weight: 300;
	line-height: 1.1;
	margin-bottom: 2.5rem;
	text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
@media (min-width: 768px) { .theme-hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-hero-title { font-size: 6rem; } }
.theme-hero-title-italic { font-style: italic; font-weight: 400; }
.theme-hero-subtitle {
	max-width: 28rem;
	margin: 0 auto 3rem;
	font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.625;
	text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
@media (min-width: 768px) { .theme-hero-subtitle { font-size: 1.125rem; } }
.theme-hero-actions { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
@media (min-width: 640px) { .theme-hero-actions { flex-direction: row; } }

/* =========================================================
   7. SECTION HEADINGS (Section 2.2.5 — per-section scales)
   ========================================================= */
.theme-section-heading-center { text-align: center; margin-bottom: 2.5rem; }
.theme-kicker {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-teal);
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}
.theme-kicker-marigold { color: var(--color-marigold); }
.theme-kicker-rosa { color: var(--color-rosa); }
.theme-kicker-teal { color: var(--color-teal); }

.section-heading { font-family: var(--font-display); font-weight: 400; }
.collection-heading, .about-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .collection-heading, .about-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }

.featured-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .featured-heading { font-size: 3rem; } }

.services-heading { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .services-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 4.5rem; } }

.scents-heading { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .scents-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .scents-heading { font-size: 3.75rem; } }

.family-heading { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .family-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .family-heading { font-size: 3.75rem; } }

.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

.cta-band__title { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }

/* =========================================================
   8. SHOP BY COLLECTION
   ========================================================= */
.theme-collection-section { padding: 4rem 0; }
@media (min-width: 768px) { .theme-collection-section { padding: 5rem 0; } }
.theme-collection-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-collection-tile {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--card-radius);
	background: var(--color-card);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease, transform 0.3s ease;
	text-align: left;
	display: block;
	width: 100%;
}
.theme-collection-tile:hover { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.theme-collection-tile img { transition: transform 0.7s var(--ease-smooth); }
.theme-collection-tile:hover img { transform: scale(1.05); }
.theme-collection-tile-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background 0.5s ease;
}
.theme-collection-tile-content {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 1.5rem;
	color: var(--color-background);
	text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.theme-collection-tile-tagline {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase;
	margin-bottom: 0.5rem; filter: brightness(1.5);
}
.theme-tagline-rule { height: 1px; width: 1.5rem; background: currentColor; display: inline-block; }
.theme-collection-tile-label { font-size: 1.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .theme-collection-tile-label { font-size: 1.875rem; } }
.theme-collection-tile-cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; }

/* =========================================================
   9. PRODUCT CARDS (shared: featured / shop / scents / related)
   ========================================================= */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-featured-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.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 .theme-quick-add { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--card-radius);
	background: var(--color-card);
	box-shadow: 0 1px 4px rgba(32,28,38,0.06);
	transition: box-shadow 0.3s ease;
	margin-bottom: 1.25rem;
}
.theme-product-card:hover .theme-product-card__image-wrapper { box-shadow: var(--shadow-elevated); }
.theme-product-card-img { transition: transform 0.7s var(--ease-smooth), filter 0.3s ease; filter: brightness(1.06) contrast(1.03) saturate(1.04); }
.theme-product-card:hover .theme-product-card-img { transform: scale(1.04); filter: brightness(1.08) contrast(1.03) saturate(1.04); }

.theme-badge-sold-out {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background);
	border-radius: 9999px;
}
.theme-quick-add.add_to_cart_button.ajax_add_to_cart {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; min-height: unset; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
@media (max-width: 767px) { .theme-quick-add.add_to_cart_button.ajax_add_to_cart { opacity: 1; } }
.theme-product-card:hover .theme-quick-add.add_to_cart_button.ajax_add_to_cart { opacity: 1; }
.theme-quick-add:hover { transform: scale(1.08); }

.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-card-title {
	font-size: 0.875rem; font-family: var(--font-body); font-weight: 500;
	text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.375;
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-product-card-title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card-title { color: var(--color-primary); }
.theme-product-card-price { font-size: 1rem; font-family: var(--font-body); font-weight: 400; line-height: 1.25; }
@media (min-width: 768px) { .theme-product-card-price { font-size: 1.125rem; } }
.theme-product-card-price del { opacity: 0.5; margin-right: 0.4em; }

.theme-featured-section { padding: 4rem 0 5rem; }
@media (min-width: 768px) { .theme-featured-section { padding: 6rem 0 7rem; } }
.theme-featured-footer { text-align: center; margin-top: 3.5rem; margin-bottom: 1rem; }

/* =========================================================
   10. ABOUT / FINAL CTA (shared parallax-card pattern)
   ========================================================= */
.theme-about-section, .theme-cta-section {
	position: relative;
	background: var(--color-butter);
	overflow: hidden;
}
.theme-about-bg, .theme-cta-bg { opacity: 0.35; }
.theme-about-container, .theme-cta-container { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .theme-about-container, .theme-cta-container { padding: 8rem 0; } }
.theme-about-card, .theme-cta-card {
	max-width: 56rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated);
	padding: 2.5rem 2rem;
	border: 1px dashed var(--color-border);
	border-radius: 1rem;
}
@media (min-width: 768px) { .theme-about-card, .theme-cta-card { padding: 3rem 3.5rem; } }
.theme-about-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; margin-bottom: 1.25rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.theme-about-card .theme-kicker, .theme-cta-card .theme-kicker { font-weight: 600; margin-bottom: 1rem; }
.theme-cta-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-cta-actions { flex-direction: row; } }

/* =========================================================
   11. SERVICES
   ========================================================= */
.theme-services-section { background: var(--color-butter); padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-services-section { padding-bottom: 6rem; } }
.theme-services-heading-wrap { padding: 5rem 0 7rem; }
@media (min-width: 768px) { .theme-services-heading-wrap { padding: 7rem 0; } }
.theme-service-row { display: grid; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .theme-service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-service-image-col { padding: 1rem; }
@media (min-width: 768px) { .theme-service-image-col { padding: 1.5rem; } }
@media (min-width: 1024px) { .theme-service-image-col { order: 1; } .theme-service-image-col.is-reversed { order: 2; } }
.theme-service-image-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.75rem; box-shadow: var(--shadow-soft); }
.theme-service-image-frame img { transition: transform 0.9s var(--ease-smooth); }
.theme-service-row:hover .theme-service-image-frame img { transform: scale(1.03); }
.theme-service-numeral {
	position: absolute; top: 1.25rem; left: 1.25rem;
	font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	border-radius: 0.375rem;
}
.theme-service-text-col { display: flex; align-items: center; background: var(--color-butter); padding: 3rem 1rem; }
@media (min-width: 768px) { .theme-service-text-col { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .theme-service-text-col { padding: 3.5rem 1.5rem; order: 2; } .theme-service-text-col.is-reversed { order: 1; } }
.theme-service-text-inner { max-width: 36rem; }
.theme-service-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-icon-badge {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border-radius: 9999px;
	border: 1px solid currentColor;
}
.theme-service-kicker { font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accent-rosa { color: var(--color-rosa); border-color: color-mix(in srgb, var(--color-rosa) 40%, transparent); }
.theme-accent-marigold { color: var(--color-marigold); border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.theme-accent-teal { color: var(--color-teal); border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); }
.theme-service-title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-service-title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-service-title { font-size: 3.75rem; } }
.theme-service-description { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-description { font-size: 1.125rem; } }

/* =========================================================
   12. SCENTS (dark band)
   ========================================================= */
.theme-scents-section { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); padding: 5rem 0; }
@media (min-width: 768px) { .theme-scents-section { padding: 7rem 0; } }
.theme-scents-heading { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-scents-title-italic { display: block; font-style: italic; color: var(--color-marigold); }
.theme-scents-description { font-family: var(--font-body); color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); line-height: 1.7; }
.theme-scents-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-scents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-scent-card { display: block; }
.theme-scent-image-wrapper {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 0.75rem;
	background: color-mix(in srgb, var(--color-surface-deep-foreground) 5%, transparent);
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
	transition: box-shadow 0.3s ease;
}
.theme-scent-card:hover .theme-scent-image-wrapper { box-shadow: var(--shadow-elevated); }
.theme-scent-image-wrapper img { filter: brightness(1.06) contrast(1.03) saturate(1.04); transition: transform 0.6s var(--ease-smooth), filter 0.3s ease; }
.theme-scent-card:hover .theme-scent-image-wrapper img { transform: scale(1.05); filter: brightness(1.08) contrast(1.03) saturate(1.04); }
.theme-scent-coming-soon-box {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
	border: 1px dashed color-mix(in srgb, var(--color-marigold) 50%, transparent);
	background: color-mix(in srgb, var(--color-surface-deep-foreground) 5%, transparent);
}
.theme-coming-soon-label { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-marigold); text-align: center; }
.theme-scent-info { padding-top: 0.75rem; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.theme-scent-title { font-size: 0.875rem; line-height: 1.3; }
@media (min-width: 768px) { .theme-scent-title { font-size: 1rem; } }
.theme-scent-title-faded { color: color-mix(in srgb, var(--color-surface-deep-foreground) 60%, transparent); }
.theme-scent-price { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-marigold); font-family: var(--font-body); white-space: nowrap; }
.theme-scent-price-faded { color: color-mix(in srgb, var(--color-marigold) 60%, transparent); }
.theme-scents-footnote { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-footnote-badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1px dashed color-mix(in srgb, var(--color-marigold) 50%, transparent);
	color: var(--color-marigold);
	font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase;
	border-radius: 9999px;
}
.theme-footnote-text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); }

/* =========================================================
   13. FAMILY MAKERS
   ========================================================= */
.theme-family-section { padding: 2.5rem 0 3rem; }
.theme-family-card {
	display: grid; grid-template-columns: 1fr; align-items: stretch;
	border: 1px dashed var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	background: color-mix(in srgb, var(--color-card) 40%, transparent);
}
@media (min-width: 1024px) { .theme-family-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-family-image-col { position: relative; padding: 2rem 1rem; }
@media (min-width: 1024px) { .theme-family-image-col { order: 2; padding: 3.5rem 1.5rem; } }
@media (min-width: 768px) { .theme-family-image-col { padding: 2.5rem 1.5rem; } }
.theme-family-image-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.75rem; box-shadow: var(--shadow-soft); }
@media (min-width: 1024px) { .theme-family-image-frame { aspect-ratio: auto; height: 100%; } }
.theme-family-text-col { display: flex; align-items: center; padding: 2rem 1.5rem; }
@media (min-width: 1024px) { .theme-family-text-col { order: 1; padding: 3.5rem 5rem; } }
@media (min-width: 768px) { .theme-family-text-col { padding: 2.5rem 3rem; } }
.theme-family-text-inner { max-width: 36rem; }
.theme-family-badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-rosa);
	margin-bottom: 1.25rem; padding: 0.25rem 0.75rem;
	border-radius: 9999px; border: 1px dashed color-mix(in srgb, var(--color-rosa) 40%, transparent);
}
.theme-family-title-italic { display: block; font-style: italic; color: var(--color-rosa); }
.theme-family-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.theme-family-paragraph-italic { font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2.5rem; }

/* =========================================================
   14. SHOP SECTION
   ========================================================= */
.theme-shop-section { padding: 2.5rem 0 4rem; }
@media (min-width: 768px) { .theme-shop-section { padding: 4rem 0; } }
.theme-shop-heading { text-align: center; margin-bottom: 3rem; }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search-input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none; border-bottom: 1px solid var(--color-border);
	font-size: 0.9375rem;
	color: var(--color-foreground);
	transition: border-color 0.3s ease;
}
.theme-shop-search-input::placeholder { color: var(--color-muted-foreground); }
.theme-shop-search-input:focus { outline: none; border-color: var(--color-foreground); }

.theme-shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-pill {
	padding: 0.5rem 1.25rem;
	font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-cat-pill:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.theme-cat-pill.is-active { background: var(--color-rosa); color: var(--color-background); border-color: var(--color-rosa); }

.theme-shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter-toggle {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground);
	transition: color 0.3s ease;
}
.theme-price-filter-toggle:hover { color: var(--color-foreground); }
.theme-price-filter-chevron { transition: transform 0.3s ease; }
.theme-price-filter-wrap.is-open .theme-price-filter-chevron,
.theme-price-filter-toggle.is-open .theme-price-filter-chevron { transform: rotate(180deg); }
.theme-price-filter-panel {
	width: 100%; max-width: 24rem;
	overflow: hidden;
	max-height: 0; opacity: 0;
	transition: max-height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}
.theme-price-filter-panel.is-open { max-height: 200px; opacity: 1; padding: 0.5rem 0; }
.theme-price-values { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

/* dual range price slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input {
	position: absolute; left: 0; top: 0;
	width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none;
	background: transparent;
	pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto;
	width: 1.1rem; height: 1.1rem; border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
	margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 1.1rem; height: 1.1rem; border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-grid { margin-top: 1rem; }
.theme-shop-item { display: contents; }
.theme-shop-item.theme-shop-item-hidden-extra { display: none; }
.theme-shop-item.theme-shop-item-filtered-out { display: none; }
.theme-shop-no-results { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.theme-shop-show-more-wrap { text-align: center; margin-top: 3rem; }
.theme-shop-show-more-wrap.is-hidden { display: none; }

/* =========================================================
   15. FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer .container-wide {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.site-footer .container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}
.theme-footer-top { padding: 2.5rem 0 1.5rem; box-sizing: border-box; }
@media (min-width: 1024px) { .theme-footer-top { padding: 3rem 0 2rem; } }
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; min-width: 0; box-sizing: border-box; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-footer-col { display: flex; flex-direction: column; gap: 0.875rem; min-width: 0; box-sizing: border-box; }
.theme-footer-logo-link .site-logo-img { height: 80px !important; }
.theme-footer-tagline { font-size: 0.75rem; color: var(--color-muted-foreground); line-height: 1.625; max-width: 220px; }
.theme-footer-heading { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); }
.theme-footer-nav ul,
.theme-footer-nav .theme-footer-nav-list,
.theme-footer-nav .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
.theme-footer-nav li { display: block; width: 100%; }
.theme-footer-nav a,
.theme-footer-nav button {
	display: block;
	text-align: left;
	width: 100%;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
}
.theme-footer-nav button {
	appearance: none;
	-webkit-appearance: none;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	font: inherit;
}
.theme-footer-nav a:hover,
.theme-footer-nav button:hover { color: var(--color-foreground); }
.theme-footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-footer-contact-link, .theme-footer-contact-static { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--color-muted-foreground); word-break: break-all; }
.theme-footer-contact-link:hover { color: var(--color-foreground); }
.theme-footer-quote { font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; font-family: var(--font-display); line-height: 1.625; }
.theme-footer-studio-text { font-size: 0.75rem; color: var(--color-muted-foreground); line-height: 1.625; }
.theme-footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--color-border); display: grid; grid-template-columns: 1fr; gap: 0.75rem; align-items: center; }
@media (min-width: 640px) { .theme-footer-bottom { grid-template-columns: repeat(2, 1fr); } }
.theme-footer-copyright { font-size: 0.75rem; color: var(--color-muted-foreground); letter-spacing: 0.02em; text-align: center; }
.theme-footer-credit { font-size: 0.75rem; color: var(--color-muted-foreground); letter-spacing: 0.02em; text-align: center; }
@media (min-width: 640px) { .theme-footer-copyright { text-align: left; } .theme-footer-credit { text-align: right; } }
.theme-footer-credit a { text-decoration: underline; }
.theme-footer-credit a:hover { color: var(--color-foreground); }

/* =========================================================
   16. CART DRAWER + OVERLAY
   ========================================================= */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; bottom: 0;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 61;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-close:hover { opacity: 0.6; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer-empty .theme-btn-outline { min-height: 2.5rem; padding: 0 1rem; font-size: 0.8125rem; text-transform: none; letter-spacing: normal; font-family: var(--font-body); }
.theme-cart-empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; border-radius: 0.5rem; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-remove:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; font-size: 0.8125rem; min-height: 2.5rem; }

/* =========================================================
   17. CONTACT MODAL
   ========================================================= */
.theme-contact-modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-contact-modal.is-open { display: flex; }
.theme-contact-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); animation: theme-fade-in 0.2s ease; }
.theme-contact-modal-panel {
	position: relative; z-index: 1;
	background: var(--color-background);
	max-width: 32rem; width: 100%;
	max-height: 90vh; overflow-y: auto;
	border-radius: 0.75rem;
	padding: 1.75rem;
	box-shadow: var(--shadow-elevated);
	animation: theme-scale-in 0.25s var(--ease-smooth);
}
@keyframes theme-scale-in { from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); } to { opacity: 1; transform: translate(0,0) scale(1); } }
.theme-contact-modal-close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-contact-modal-close:hover { opacity: 1; }
.theme-contact-modal-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal-description { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal-info { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal-info a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-contact-modal-info a:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row-2 { grid-template-columns: repeat(2, 1fr); } }
.theme-form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 1rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	font-size: 1rem;
	transition: box-shadow 0.3s ease;
}
.theme-form-field textarea { resize: none; }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-actions .theme-btn-primary { min-height: 2.5rem; padding: 0 1.5rem; text-transform: none; font-size: 0.875rem; letter-spacing: normal; }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 50%; }
.theme-contact-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-form-error { color: #b91c1c; font-size: 0.875rem; margin-top: -0.5rem; }

/* =========================================================
   18. SINGLE PRODUCT PAGE
   ========================================================= */
.theme-single-product-main { padding-top: 2rem; }
.theme-breadcrumb { padding: 0.5rem 0 1rem; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }
.theme-breadcrumb-cat a { color: inherit; }

body.single-product .theme-product-layout,
body.single-product div.product.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 6rem;
	align-items: start;
	min-width: 0;
	width: 100%;
}
@media (min-width: 1024px) {
	body.single-product .theme-product-layout,
	body.single-product div.product.theme-product-layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
	}
}

body.single-product .theme-product-gallery-col,
body.single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery-mobile { display: block; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery-mobile { display: none; }
	.theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}

.theme-product-thumbnails {
	display: flex; gap: 0.75rem; overflow-x: auto;
	margin-top: 1rem; padding-bottom: 0.25rem;
}
.theme-thumb-btn { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); border-radius: 0.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.theme-thumb-btn img { opacity: 0.6; transition: opacity 0.3s ease; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.06) contrast(1.03) saturate(1.04); }
.theme-thumb-btn.is-active img { opacity: 1; }
.theme-thumb-btn.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); }

.theme-product-main-image,
.theme-product-stack-image {
	position: relative; aspect-ratio: 1/1; overflow: hidden;
	background: var(--color-secondary); border-radius: 0.75rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.theme-product-main-image img,
.theme-product-stack-image img {
	width: 100%; height: 100%; object-fit: cover;
	filter: brightness(1.06) contrast(1.03) saturate(1.04);
	transition: filter 0.3s ease, transform 0.3s ease;
}
.theme-product-main-image img:hover,
.theme-product-stack-image img:hover {
	filter: brightness(1.08) contrast(1.03) saturate(1.04);
	transform: scale(1.02);
}

.theme-product-stack-image.is-primary { width: 100%; }
.theme-product-stack-image.is-secondary {
	width: 72%;
	max-width: 28rem;
}

.theme-product-info { padding-left: 0; }
@media (min-width: 1024px) {
	.theme-product-info { padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
}
.theme-product-category { font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 0; }
.theme-product-lead { font-size: 1rem; line-height: 1.625; color: var(--color-muted-foreground); margin-top: 0; margin-bottom: 2rem; }
.theme-stock-status { font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.theme-stock-out { color: #b91c1c; }

.theme-quantity-block { margin-bottom: 1rem; }
.theme-quantity-label { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 400; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 0; }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 2.75rem; text-align: center; border: none; background: transparent;
	font-size: 0.875rem; padding: 0.5rem 0;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area,
.theme-add-to-cart-area {
	display: flex; flex-direction: column; gap: 1rem;
	margin-bottom: 0;
}
.theme-add-to-cart-wrap { margin-bottom: 0; }
.theme-add-to-cart-wrap .single_add_to_cart_button { width: 100%; }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion-chevron { transition: transform 0.3s ease; }
.theme-accordion.is-open .theme-accordion-chevron { transform: rotate(180deg); }
.theme-accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-smooth); }
.theme-accordion.is-open .theme-accordion-panel { max-height: 2000px; padding-bottom: 1.5rem; }
.theme-shipping-returns-body { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details-list { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.625; }
.theme-product-details-list ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { font-size: 0.9375rem; color: var(--color-muted-foreground); display: flex; align-items: flex-start; line-height: 1.625; }
.theme-product-details-list li::before { content: ''; width: 0.25rem; height: 0.25rem; background: var(--color-foreground); border-radius: 50%; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 0; }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-heading-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-heading-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 768px) { .theme-related-heading-title { font-size: 2.25rem; } }
.theme-related-grid { gap: 1.5rem; }
@media (min-width: 1024px) { .theme-related-grid { gap: 2rem; } }

.theme-archive-section { padding: 3rem 0 5rem; }
.theme-archive-header { text-align: center; margin-bottom: 2.5rem; }
.theme-back-link { display: inline-block; margin-bottom: 1rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-back-link:hover { color: var(--color-foreground); }
.theme-archive-title { font-size: 2rem; }
.theme-archive-pagination { margin-top: 3rem; text-align: center; }
.theme-no-products { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* =========================================================
   19. WOOCOMMERCE 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-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact circular button overrides the global rules above (scoped, after). */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-quick-add.add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
}
.single_add_to_cart_button.loading::after,
.add_to_cart_button.loading::after { display: none !important; }

body.single-product .woocommerce div.product.theme-product-layout {
	display: grid !important;
	float: none !important;
	width: 100% !important;
}

/* Single product page: match Lovable full-width foreground pill CTA */
.single-product .theme-add-to-cart-wrap .single_add_to_cart_button.button,
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button {
	width: 100% !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: 9999px !important;
	min-height: 3.5rem !important;
	padding: 1rem 2.5rem !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
}
.single-product .theme-add-to-cart-wrap .single_add_to_cart_button.button:hover,
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button:hover {
	opacity: 0.9 !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
}
.single-product .theme-add-to-cart-wrap .single_add_to_cart_button.button:disabled,
.single-product .theme-add-to-cart-wrap .single_add_to_cart_button.button.disabled,
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button:disabled,
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button.disabled {
	opacity: 0.6 !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; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body);
	border-radius: 0.5rem;
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	list-style: none;
	background: var(--color-secondary);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
}
.woocommerce-error { border-color: #b91c1c; color: #b91c1c; background: color-mix(in srgb, #b91c1c 8%, var(--color-background)); }

/* Variable product variations table layout */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-size: 0.8125rem; letter-spacing: 0.15em; text-transform: uppercase; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* =========================================================
   20. CHECKOUT / CART / ACCOUNT / THANK YOU
   ========================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main { padding-top: 0; padding-bottom: 4rem; }

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

.theme-page-main .page-title,
body.theme-thankyou-page .page-title { font-size: 2rem; margin: 2.5rem 0 2rem; }
@media (min-width: 768px) { .theme-page-main .page-title { font-size: 2.5rem; } }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; 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: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	font-family: var(--font-body);
	background: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border-radius: var(--card-radius);
	padding: 2rem;
}
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;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.5rem; }

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 h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding-bottom: 1rem; font-size: 1.5rem; }
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
.theme-thankyou-content { padding: 2rem 0 4rem; }
.theme-thankyou-icon { width: 4rem; height: 4rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }

/* =========================================================
   21. 404 / GENERIC PAGES
   ========================================================= */
.theme-404-main { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 4rem 1.5rem; }
.theme-404-inner { text-align: center; }
.theme-404-code { font-size: 3.5rem; margin-bottom: 1rem; }
.theme-404-message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404-link { text-decoration: underline; color: var(--color-primary); }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 85%, black); }
.theme-page-main { padding: 2rem 0 4rem; }
