/* =========================================================================
   Hearth & Harvest — theme.css
   Theme by The Free Website Guys.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. ROOT TOKENS (color vars are injected inline by PHP — Section 22.9)
   ------------------------------------------------------------------------- */
:root {
	--color-background: #f6f4ee;
	--color-foreground: #212c26;
	--color-primary: #2a7455;
	--color-primary-foreground: #faf8f5;
	--color-accent: #e0a43e;
	--color-accent-foreground: #18251f;
	--color-ivory: #faf8f4;
	--color-linen: #f0ece5;
	--color-bone: #eae5dc;
	--color-muted-foreground: #54635c;
	--color-destructive: #ab2b2b;
	--color-border: color-mix(in srgb, var(--color-foreground) 10%, transparent);

	--font-display: 'Gilda Display', 'Times New Roman', serif;
	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;

	--radius: 0.625rem;
	--shadow-soft: 0 4px 18px -8px rgb(33 44 38 / 0.10);
	--shadow-elevated: 0 16px 48px -16px rgb(33 44 38 / 0.22);

	--logo-height: 64px;
	--header-height: 80px;

	--btn-radius: 999px;
	--btn-height: 2.75rem;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
}

/* -------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; border-color: var(--color-border); }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	margin: 0;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: 'ss01', 'cv11';
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.005em;
	margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
.btn,
.shop-filter-pill,
.theme-nav-link,
.theme-card-link,
.site-footer__social-btn,
.theme-footer-link,
.theme-footer-category-link,
.theme-footer-contact-link,
.theme-attr-pill,
.testimonials__nav-btn,
.testimonials__dots button,
[role="button"],
summary {
	cursor: pointer;
}
button:disabled,
.btn:disabled,
.btn.disabled,
a[aria-disabled="true"] {
	cursor: not-allowed;
}

img:not(.cover-img):not(.hero-video):not(.precta-video):not(.theme-cart-item__thumb) {
	max-width: 100%;
	height: auto;
	display: block;
}

.cover-img,
.hero-video,
.precta-video,
.theme-product-main-img,
.theme-product-thumb-img,
.theme-product-card__image-wrapper img,
.theme-cart-item__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

.container-wide {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 2.25rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.eyebrow {
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 500;
	margin-bottom: 1rem;
}
.eyebrow--sm { font-size: 12px; letter-spacing: 0.32em; color: color-mix(in srgb, var(--color-primary) 80%, transparent); margin-bottom: 0.75rem; }

/* -------------------------------------------------------------------------
   3. SCROLL REVEAL (Section 2.1) — with Customizer-preview fallback
   ------------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

/* Never leave content invisible in the Customizer preview iframe. */
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	height: 2.75rem;
	padding: 0 1.5rem;
	text-transform: none;
}
.btn svg { pointer-events: none; width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:disabled, .btn.disabled { pointer-events: none; opacity: 0.6; }

.btn-default { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.btn-default:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); }

.btn-outline { background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.btn-outline:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }

.btn-secondary { background: var(--color-bone); color: var(--color-foreground); border-color: var(--color-bone); }

.btn-glass { background: rgb(255 255 255 / 0.10); color: #fff; border-color: rgb(255 255 255 / 0.40); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / 0.20); }

.btn-amber { background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.btn-amber:hover { background: color-mix(in srgb, var(--color-accent) 90%, black); }

.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }

.btn-link { background: transparent; border-color: transparent; color: var(--color-primary); text-underline-offset: 4px; }
.btn-link:hover { text-decoration: underline; }

.btn-destructive { background: var(--color-destructive); color: #fff; border-color: var(--color-destructive); }

.btn-sm { height: 2.25rem; padding: 0 1rem; }
.btn-lg { height: 3rem; padding: 0 1.75rem; }
.btn-icon { height: 2.5rem; width: 2.5rem; padding: 0; border-radius: 999px; }

/* =========================================================================
   5. HEADER
   ========================================================================= */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.5s ease, border-color 0.5s ease;
}
/* Keep the fixed header below the WordPress admin bar when logged in. */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
body.admin-bar { --admin-bar-offset: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-offset: 46px; }
}
body:not(.admin-bar) { --admin-bar-offset: 0px; }
section[id] { scroll-margin-top: calc(var(--header-height) + var(--admin-bar-offset, 0px)); }
.site-header.is-solid,
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
}
@media (min-width: 1024px) {
	.site-header__inner {
		height: 7rem;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
	}
}

.site-header__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	color: #fff;
	transition: background-color 0.2s ease, color 0.2s ease;
	order: 1;
}
.site-header.is-solid .site-header__menu-toggle,
.site-header.is-scrolled .site-header__menu-toggle { color: var(--color-foreground); }
.site-header__menu-toggle:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.site-header.is-solid .site-header__menu-toggle:hover,
.site-header.is-scrolled .site-header__menu-toggle:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__brand { display: flex; align-items: center; flex-shrink: 0; order: 2; gap: 0.5rem; }
@media (min-width: 1024px) { .site-header__brand { order: 1; justify-self: start; } }

.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; max-height: 4rem; }
@media (min-width: 1024px) { .site-logo-img { max-height: 4rem; } }
.site-header:not(.is-solid):not(.is-scrolled) .site-logo-img {
	filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgb(0 0 0 / 0.35));
}
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--color-foreground); }
.site-header:not(.is-solid):not(.is-scrolled) .site-logo-text { color: #fff; }

.site-header__nav { display: none; order: 3; }
@media (min-width: 1024px) { .site-header__nav { display: flex; order: 2; justify-self: center; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
.theme-nav-list a,
.theme-nav-link {
	position: relative;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: color 0.3s ease;
}
.site-header:not(.is-solid):not(.is-scrolled) .theme-nav-list a,
.site-header:not(.is-solid):not(.is-scrolled) .theme-nav-link { color: rgb(255 255 255 / 0.85); }
.theme-nav-list a:hover, .theme-nav-link:hover { color: var(--color-primary); }
.site-header:not(.is-solid):not(.is-scrolled) .theme-nav-list a:hover,
.site-header:not(.is-solid):not(.is-scrolled) .theme-nav-link:hover { color: #fff; }
.theme-nav-list .current-menu-item > a,
.theme-nav-link.is-active { color: var(--color-primary); }
.site-header:not(.is-solid):not(.is-scrolled) .theme-nav-list .current-menu-item > a,
.site-header:not(.is-solid):not(.is-scrolled) .theme-nav-link.is-active { color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; justify-self: end; order: 3; }
.site-header__cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	color: var(--color-foreground);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.site-header:not(.is-solid):not(.is-scrolled) .site-header__cart-btn { color: #fff; }
.site-header__cart-btn:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.site-header:not(.is-solid):not(.is-scrolled) .site-header__cart-btn:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.site-header__cart-btn .theme-cart-count {
	position: absolute;
	top: -0.125rem;
	right: -0.125rem;
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	font-size: 12px;
	font-weight: 500;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-panel {
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(20px);
}
@media (min-width: 1024px) { .site-header__mobile-panel { display: none !important; } }
.site-header__mobile-panel[hidden] { display: none; }
.site-header__mobile-inner { padding: 1rem 1.25rem; }
.theme-mobile-nav-list { display: flex; flex-direction: column; }
.theme-mobile-nav-list a,
.theme-mobile-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-mobile-nav-list li:last-child a,
.theme-mobile-nav-list li:last-child .theme-mobile-nav-link { border-bottom: none; }

/* =========================================================================
   6. HERO
   ========================================================================= */
.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
body.theme-no-hero .hero-section { display: none; }
.hero-video { z-index: 0; }
.hero-scrim-radial {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(at center, color-mix(in srgb, #0d1a14 45%, transparent) 0%, color-mix(in srgb, #0c1712 70%, transparent) 70%, color-mix(in srgb, #0a1511 82%, transparent) 100%);
}
.hero-scrim-dark { position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, #0c1712 40%, transparent); }
.hero-content { position: relative; z-index: 10; text-align: center; color: #fff; padding-top: 10rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero-content { padding-top: 13rem; padding-bottom: 8rem; } }

.hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.375rem 1rem; border-radius: 999px;
	background: rgb(255 255 255 / 0.10); border: 1px solid rgb(255 255 255 / 0.25);
	backdrop-filter: blur(8px);
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.hero-badge__icon { color: var(--color-accent); }

.hero-title {
	font-family: var(--font-display);
	color: #fff;
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 auto;
	max-width: 64rem;
	filter: drop-shadow(0 2px 30px rgb(0 0 0 / 0.55));
	font-size: clamp(2rem, 5.4vw, 4.2rem);
}
.hero-title em { font-style: normal; color: var(--color-accent); }

.hero-subtitle {
	margin: 1.75rem auto 0;
	max-width: 42rem;
	font-size: 14px;
	color: rgb(255 255 255 / 0.8);
	line-height: 1.7;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 15px; } }

.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; gap: 1rem; } }

/* =========================================================================
   7. ABOUT
   ========================================================================= */
.about-section { background: var(--color-linen); padding: 6rem 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-blob { position: absolute; pointer-events: none; border-radius: 999px; filter: blur(64px); }
.about-blob--1 { top: -6rem; left: -6rem; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.about-blob--2 { bottom: -8rem; right: -6rem; width: 28rem; height: 28rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.about-section__inner { position: relative; }

.about-intro { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-section__heading { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; color: var(--color-foreground); }
.about-section__heading :is(span) { color: var(--color-primary); }

.about-quote {
	margin: 3.5rem auto 0; max-width: 48rem; text-align: center;
	font-family: var(--font-display); font-style: italic;
	font-size: 1.5rem; line-height: 1.35; color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
@media (min-width: 768px) { .about-quote { font-size: 1.75rem; } }
.about-quote__rule { display: block; width: 2.5rem; height: 1px; margin: 1.5rem auto; background: color-mix(in srgb, var(--color-accent) 70%, transparent); }

.about-columns { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .about-columns { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.about-columns__left { height: 100%; display: flex; flex-direction: column; }
.about-columns__heading { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; color: var(--color-foreground); margin-top: 0.75rem; }
.about-image-wrap { margin-top: 2rem; flex: 1; min-height: 260px; position: relative; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-elevated); }
.about-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 15%, transparent), transparent 60%); pointer-events: none; }
.about-columns__right { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 768px) { .about-columns__right { font-size: 16px; } }

.about-stats {
	margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	padding-top: 2.5rem; max-width: 64rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .about-stats { gap: 2.5rem; } }
.about-stats__item { text-align: center; }
@media (min-width: 768px) { .about-stats__item { text-align: left; } }
.about-stats__value { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
@media (min-width: 768px) { .about-stats__value { font-size: 1.875rem; } }
.about-stats__label { margin-top: 0.25rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* =========================================================================
   8. SHOP SECTION + PRODUCT CARDS + ARCHIVE
   ========================================================================= */
.shop-section, .theme-archive-container { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section, .theme-archive-container { padding: 8rem 0; } }

.shop-section__header {
	display: flex; flex-direction: column; gap: 1.5rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 1024px) { .shop-section__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .shop-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section__heading { font-size: 3.2rem; } }
.shop-section__subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 36rem; }
@media (min-width: 768px) { .shop-section__subtitle { font-size: 15px; } }

.shop-search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-search { width: 20rem; } }
.shop-search__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.shop-search__input {
	width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem; border-radius: 999px;
	background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	font-size: 14px;
}
.shop-search__input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-search__input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

.shop-filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.shop-filter-pill {
	padding: 0 1.25rem; height: 2.5rem; border-radius: 999px; font-size: 14px; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background: transparent; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.shop-filter-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-filter-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-empty-text { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	align-items: stretch;
	gap: 1.5rem 2rem;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap.is-extra-slot { display: none; }
.theme-product-card-wrap.is-visible-slot { display: block; }
.theme-product-card-wrap.is-filtered-out { display: none !important; }

.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.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-product-card__hover-actions,
.theme-product-card .theme-product-card__hover-actions * ,
.theme-product-card .theme-product-card__badge { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1; background: var(--color-linen);
	border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem;
}
.theme-product-card__image-wrapper img { transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-product-card__scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 40%, transparent), transparent 60%);
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }

.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 11px; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 999px;
}

.theme-product-card__hover-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 3;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transform: translateY(0.5rem);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.theme-product-card:hover .theme-product-card__hover-actions { opacity: 1; transform: translateY(0); }

.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart {
	flex: 1; display: inline-flex !important; align-items: center; justify-content: center; gap: 0.5rem;
	height: 2.5rem; border-radius: 999px !important;
	background: color-mix(in srgb, var(--color-background) 95%, transparent) !important;
	backdrop-filter: blur(8px);
	color: var(--color-foreground) !important;
	font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
	box-shadow: var(--shadow-soft);
	border: none !important;
	min-height: unset !important;
	padding: 0 !important;
}
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart:hover {
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
}
.theme-product-card__quick-view {
	width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(8px);
	color: var(--color-foreground); box-shadow: var(--shadow-soft);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-product-card__quick-view:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__info { flex: 1; padding: 0 0.125rem; display: flex; flex-direction: column; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); margin-bottom: 0.375rem; }
.theme-product-card__title { font-size: 1.15rem; line-height: 1.35; color: var(--color-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__scent { margin-top: 0.25rem; font-size: 12.5px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.5; }
.theme-product-card__price { margin-top: 0.5rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.375rem; }

.shop-view-more-wrap { margin-top: 3rem; display: flex; justify-content: center; }

.theme-archive-header { margin-bottom: 2.5rem; }
.theme-archive-header .page-title { font-size: 2.5rem; color: var(--color-foreground); }
.theme-archive-grid { margin-bottom: 3rem; }
.woocommerce-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.woocommerce-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.woocommerce-pagination .page-numbers.current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* Add to cart button global override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact button — overrides the global rules above (scoped after). */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
}

/* Hide WooCommerce's injected "View cart" link (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !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 {
	max-width: 1400px; margin: 1.5rem auto; padding: 1rem 1.5rem; border-radius: var(--radius);
	background: var(--color-linen); color: var(--color-foreground); font-size: 14px;
	list-style: none; display: flex; align-items: center; gap: 0.75rem;
}
.woocommerce-error { background: color-mix(in srgb, var(--color-destructive) 12%, var(--color-background)); color: var(--color-destructive); }

/* =========================================================================
   9. MARQUEE
   ========================================================================= */
.marquee-section { background: var(--color-primary); padding: 1.5rem 0; overflow: hidden; }
@media (min-width: 768px) { .marquee-section { padding: 1.75rem 0; } }
.marquee-track { display: flex; animation: theme-marquee 35s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
@media (min-width: 768px) { .marquee-group { gap: 3rem; padding-right: 3rem; } }
.marquee-item { display: inline-flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.marquee-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--color-primary-foreground); }
.marquee-text { font-family: var(--font-display); color: var(--color-primary-foreground); font-size: 1.125rem; white-space: nowrap; }
@media (min-width: 768px) { .marquee-text { font-size: 1.25rem; } }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =========================================================================
   10. SERVICES
   ========================================================================= */
.services-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-intro { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
.services-section__heading em { font-style: normal; color: var(--color-primary); }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.2rem; } }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.services-card {
	position: relative; overflow: hidden; border-radius: 1rem; cursor: pointer;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	aspect-ratio: 4 / 5;
}
.services-card__image { transition: transform 0.7s ease-out; }
.services-card:hover .services-card__image { transform: scale(1.05); }
.services-card__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: opacity 0.5s ease;
}
.services-card:hover .services-card__scrim {
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 95%, transparent), color-mix(in srgb, var(--color-foreground) 70%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 10%, transparent));
}
.services-card__content { position: absolute; inset: 0; padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; color: var(--color-ivory); }
@media (min-width: 768px) { .services-card__content { padding: 2rem; } }
.services-card__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem;
	border-radius: 999px; background: color-mix(in srgb, var(--color-ivory) 15%, transparent); backdrop-filter: blur(4px);
	margin-bottom: 1.25rem; transition: transform 0.3s ease-out;
}
.services-card:hover .services-card__icon { transform: rotate(20deg); }
.services-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .services-card__title { font-size: 1.65rem; } }
.services-card__body-wrap { overflow: hidden; max-height: 0; opacity: 0; transform: translateY(0.5rem); transition: max-height 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.services-card:hover .services-card__body-wrap { max-height: 10rem; opacity: 1; transform: translateY(0); }
.services-card__body { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-ivory) 85%, transparent); }

/* =========================================================================
   11. FAQ + TESTIMONIALS
   ========================================================================= */
.faq-section { background: var(--color-background); padding: 6rem 0; overflow-x: clip; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__inner { display: flex; flex-direction: column; gap: 5rem; min-width: 0; }
@media (min-width: 768px) { .faq-section__inner { gap: 6rem; } }

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; min-width: 0; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
/* Match Lovable: col-span only from lg — span 12 on a 1-col grid creates 12 implicit columns and overflows */
.faq-side { min-width: 0; }
@media (min-width: 1024px) { .faq-side { grid-column: span 4; } }
.faq-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-side__subtitle { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 24rem; line-height: 1.7; }
@media (min-width: 768px) { .faq-side__subtitle { font-size: 15px; } }

.faq-side-card { display: none; margin-top: 2.5rem; }
@media (min-width: 1024px) { .faq-side-card { display: block; } }
.faq-side-card__inner {
	position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: var(--color-linen); padding: 1.75rem;
}
.faq-side-card__blob { position: absolute; top: -2.5rem; right: -2.5rem; width: 8rem; height: 8rem; border-radius: 999px; background: color-mix(in srgb, var(--color-accent) 15%, transparent); filter: blur(32px); }
.faq-side-card__icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
	border-radius: 999px; background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); margin-bottom: 1.25rem;
}
.faq-side-card__title { position: relative; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.5rem; }
.faq-side-card__body { position: relative; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }

.faq-list-wrap { min-width: 0; }
@media (min-width: 1024px) { .faq-list-wrap { grid-column: span 8; } }
.faq-list { min-width: 0; max-width: 100%; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); min-width: 0; }
.faq-item__question { width: 100%; max-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__q-text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; color: var(--color-foreground); min-width: 0; flex: 1; overflow-wrap: anywhere; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; color: var(--color-primary); position: relative; width: 20px; height: 20px; }
.faq-item__icon-plus, .faq-item__icon-minus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s ease; }
.faq-item__icon-minus { opacity: 0; }
.faq-item.is-open .faq-item__icon-plus { opacity: 0; }
.faq-item.is-open .faq-item__icon-minus { opacity: 1; }
.faq-item__answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.is-open .faq-item__answer-wrap { grid-template-rows: 1fr; }
.faq-item__answer-inner { overflow: hidden; min-width: 0; }
.faq-item__answer { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 42rem; overflow-wrap: anywhere; }
@media (min-width: 768px) { .faq-item__answer { font-size: 15px; } }

.testimonials { min-width: 0; max-width: 100%; }
.testimonials__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.testimonials__heading { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; color: var(--color-foreground); min-width: 0; }
@media (min-width: 768px) { .testimonials__heading { font-size: 2.25rem; } }
.testimonials__nav { display: none; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .testimonials__nav { display: flex; } }
.testimonials__nav-btn {
	width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, color 0.2s ease;
}
.testimonials__nav-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

.testimonials__viewport { overflow: hidden; margin: 0 -0.75rem; max-width: calc(100% + 1.5rem); touch-action: pan-y pinch-zoom; }
.testimonials__track { display: flex; touch-action: pan-y; scroll-behavior: smooth; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonials__slide { flex: 0 0 100%; min-width: 0; padding: 0 0.75rem; scroll-snap-align: start; box-sizing: border-box; }
@media (min-width: 768px) { .testimonials__slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .testimonials__slide { flex: 0 0 25%; } }

.testimonial-card { height: 100%; background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; }
.testimonial-card__stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; color: var(--color-accent); }
.testimonial-card__star { fill: currentColor; }
.testimonial-card__text { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); flex: 1; }
.testimonial-card__footer { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.testimonial-card__name { font-size: 14px; font-weight: 500; color: var(--color-foreground); }
.testimonial-card__city { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.testimonials__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testimonials__dots button { height: 6px; width: 6px; border-radius: 999px; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); transition: width 0.2s ease, background-color 0.2s ease; }
.testimonials__dots button:hover { background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.testimonials__dots button.is-active { width: 2rem; background: var(--color-primary); }

/* =========================================================================
   12. PRE-CONTACT CTA
   ========================================================================= */
.precta-section { position: relative; overflow: hidden; }
.precta-scrim-dark { position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, #0c1712 45%, transparent); }
.precta-content { position: relative; z-index: 10; padding-top: 7rem; padding-bottom: 10rem; text-align: center; color: #fff; }
@media (min-width: 768px) { .precta-content { padding-top: 10rem; padding-bottom: 10rem; } }
.precta-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); font-weight: 500; margin-bottom: 1.5rem; }
.precta-eyebrow__rule { height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-accent) 80%, transparent); }
.precta-title { font-family: var(--font-display); color: #fff; line-height: 1.05; letter-spacing: -0.01em; margin: 0 auto; max-width: 56rem; filter: drop-shadow(0 2px 30px rgb(0 0 0 / 0.55)); font-size: clamp(2rem, 5.4vw, 4rem); }
.precta-title em { font-style: normal; color: var(--color-accent); }
.precta-subtitle { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; color: rgb(255 255 255 / 0.8); line-height: 1.7; }
.precta-actions { margin-top: 2.5rem; }

/* =========================================================================
   13. CONTACT
   ========================================================================= */
.contact-section { background: var(--color-linen); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 4rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.contact-info { display: flex; flex-direction: column; height: 100%; }
.contact-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
.contact-section__heading em { font-style: normal; color: var(--color-primary); }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 3.4rem; } }
.contact-info__subtitle { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 28rem; }

.contact-info__list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info__link { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.2s ease; }
.contact-info__link:hover { color: var(--color-primary); }
.contact-info__icon {
	width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 999px; background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease;
}
.contact-info__link:hover .contact-info__icon { border-color: var(--color-primary); }
.contact-info__link-text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.contact-info__label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-info__value { font-size: 15px; font-weight: 500; overflow-wrap: break-word; word-break: break-word; }

.contact-quote-card {
	margin-top: auto; padding-top: 2.5rem;
}
.contact-quote-card { display: flex; }
.contact-quote-card > * + * { margin-left: 1.25rem; }
.contact-quote-card {
	position: relative; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: color-mix(in srgb, var(--color-background) 60%, transparent);
	padding: 1.5rem; align-items: center; gap: 1.25rem; display: flex;
}
@media (min-width: 768px) { .contact-quote-card { padding: 1.75rem; } }
.contact-quote-card__logo { width: 5rem; height: 5rem; border-radius: 0.75rem; object-fit: contain; flex-shrink: 0; background: color-mix(in srgb, var(--color-foreground) 4%, transparent); padding: 0.5rem; }
@media (min-width: 768px) { .contact-quote-card__logo { width: 6rem; height: 6rem; } }
.contact-quote-card__quote { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.125rem; line-height: 1.35; }
@media (min-width: 768px) { .contact-quote-card__quote { font-size: 1.25rem; } }
.contact-quote-card__note { margin-top: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); letter-spacing: 0.01em; }

.contact-form {
	background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%;
	box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form__fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.theme-input, .theme-select, .theme-textarea {
	width: 100%; height: 3rem; padding: 0 1rem; background: var(--color-background);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: 0.375rem;
	font-size: 14px; transition: border-color 0.2s ease;
}
.theme-textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.theme-input::placeholder, .theme-textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-input:focus, .theme-select:focus, .theme-textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-form__select-wrap { position: relative; }
.theme-select { appearance: none; padding-right: 2.5rem; }
.contact-form__select-icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-form__submit-wrap { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-form__submit { width: 100%; }
.contact-form__note { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); text-align: center; }
.contact-form.is-submitting { opacity: 0.7; pointer-events: none; }

/* =========================================================================
   14. FOOTER
   ========================================================================= */
.site-footer { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }

.site-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-logo-img--footer { height: 4rem !important; }
@media (min-width: 1024px) { .site-logo-img--footer { height: 5rem !important; } }
.site-footer__tagline { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 20rem; }
.site-footer__italic { margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 20rem; }
.site-footer__social { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.site-footer__social-btn {
	width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: inline-flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__social-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.site-footer__social-btn svg {
	width: 1rem;
	height: 1rem;
	display: block;
	flex-shrink: 0;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.site-footer__heading { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); margin-bottom: 1rem; }
.site-footer__link-list { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; width: 100%; }
.site-footer__link-list li { margin: 0; padding: 0; }
.site-footer__link-list button,
.theme-footer-link, .theme-footer-category-link {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); text-align: left; transition: color 0.2s ease;
}
.site-footer__link-list button:hover,
.theme-footer-link:hover, .theme-footer-category-link:hover { color: var(--color-primary); }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 14px; }
.theme-footer-contact-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); transition: color 0.2s ease; overflow-wrap: break-word; word-break: break-word; }
.theme-footer-contact-link:hover { color: var(--color-primary); }
.theme-footer-contact-link svg { margin-top: 0.125rem; flex-shrink: 0; }
.theme-footer-contact-static { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }

.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__copy, .site-footer__credit { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s ease; }
.site-footer__credit a:hover { color: var(--color-primary); }

/* =========================================================================
   15. SIDE CART
   ========================================================================= */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-ivory); z-index: 91; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 999px; transition: background-color 0.2s ease; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 14px; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-bone); border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; display: block; position: relative; }
.theme-cart-item__image .theme-cart-item__thumb {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
}
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s ease; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.125rem; }
.theme-cart-item__price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.125rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-bone); }
.theme-cart-item__qty { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-destructive); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* =========================================================================
   16. SINGLE PRODUCT (Section 11.13 — responsive rules)
   ========================================================================= */
.theme-single-product { padding-top: 6rem; background: var(--color-ivory); }
@media (min-width: 1024px) { .theme-single-product { padding-top: 7rem; } }

.theme-back-to-shop { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin: 1.5rem 0 0; transition: color 0.2s ease; }
.theme-back-to-shop:hover { color: var(--color-primary); }

.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-breadcrumb a, .theme-breadcrumb .posted_in a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover, .theme-breadcrumb .posted_in a:hover { color: var(--color-primary); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }
.theme-breadcrumb .posted_in { display: inline; }
.theme-breadcrumb .posted_in a { color: inherit; }

.theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	padding-bottom: 5rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-gallery {
		position: sticky;
		top: calc(7rem + var(--admin-bar-offset, 0px));
		align-self: start;
	}
}
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; width: 100%; background: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; background: var(--color-linen); border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s ease; }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-product-thumb.is-active { border-color: var(--color-primary); }

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info__category { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.theme-product-info__category a { color: inherit; }
.product-title.theme-product-info__title {
	font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__price .woocommerce-Price-amount { font-weight: 500; }
.theme-product-info__stock { font-size: 13px; font-weight: 500; margin-bottom: 1rem; display: inline-block; }
.theme-product-info__stock.is-out-of-stock { color: var(--color-destructive); }
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p { margin-bottom: 1rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 44px; min-width: 44px; text-align: center; font-size: 14px; font-weight: 500; background: transparent; border: none; padding: 0.625rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-inner-spin-button, .theme-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__details-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-info__details-list ul { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-info__details-list li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details-list li::before { content: ''; width: 4px; height: 4px; background: var(--color-primary); border-radius: 999px; margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.theme-product-info__promise-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__promise-item { text-align: center; }
.theme-product-info__promise-item svg { margin: 0 auto 0.5rem; color: var(--color-primary); }
.theme-product-info__promise-item p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.related-products-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.related-products-heading { font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .related-products-heading { font-size: 2.25rem; } }
.related-products-view-all { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; }
@media (min-width: 640px) { .related-products-view-all { display: inline-flex; } }
.related-products-view-all:hover { color: var(--color-primary); }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Variable product attribute table (Section 11.5.1) */
.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: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; font-size: 13px; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.theme-attr-pill:hover { border-color: var(--color-primary); }
.theme-attr-pill.is-selected { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.single_variation_wrap { margin-top: 0.5rem; }

/* -----------------------------------------------------------------------
   TEXT-TRANSFORM / DISPLAY-FONT OVERRIDES (Section 2.2 item 4)
   ---------------------------------------------------------------------*/
.btn-hero-primary, .btn-hero-outline,
.single-product .single_add_to_cart_button,
.shop-filter-pill,
.hero-badge { text-transform: none; }
.product-title, .theme-product-info__title { font-family: var(--font-body); }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* =========================================================================
   17. CHECKOUT / CART / MY ACCOUNT / THANK YOU (Sections 13, 13.7, 22.8)
   ========================================================================= */
.theme-page-container { padding-top: 6rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .theme-page-container { padding-top: 7rem; } }
.page-title { font-family: var(--font-display); font-size: 2.5rem; color: var(--color-foreground); margin-bottom: 2rem; }

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); color: var(--color-foreground); }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select { width: 100% !important; max-width: none !important; border-color: color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: 0.375rem; }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-textarea textarea { border-color: color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: 0.375rem; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-linen);
	border-radius: var(--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: 999px !important; text-transform: none !important; font-weight: 500 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* Cart & My Account width/alignment parity (Section 13.7) */
body.woocommerce-cart .theme-page-container,
body.woocommerce-account .theme-page-container,
body.theme-thankyou-page .theme-page-container { max-width: 1400px; }
body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce-MyAccount-content { max-width: 100%; }

/* Thank-you page (Section 22.8) */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.75rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 1.5rem; margin: 0 0 2rem; background: var(--color-linen); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-weight: 600; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: var(--radius); padding: 1.25rem; font-style: normal; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* =========================================================================
   18. 404
   ========================================================================= */
.theme-404-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-bone); }
.theme-404-content { text-align: center; }
.theme-404-title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { opacity: 0.9; }
