/* ==========================================================================
   The Living Root — theme.css
   ========================================================================== */

:root {
	--color-background: #f8f5f1;
	--color-foreground: #27201b;
	--color-card: #f2ede9;
	--color-primary: #3f571e;
	--color-primary-foreground: #faf7f5;
	--color-secondary: #e8cfbb;
	--color-muted: #e8e2d9;
	--color-muted-foreground: #64584f;
	--color-accent: #cc8519;
	--color-root: #39240e;
	--color-border: #d5cbbe;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Karla', sans-serif;

	--radius: 0.125rem;
	--logo-height: 60px;
	--header-height: 64px;
	--checkout-gap: 2rem;

	--btn-radius: var(--radius);
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--shadow-elevated: 0 20px 60px -12px rgba(57, 36, 14, 0.28);
	--transition-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
	:root { --header-height: 80px; }
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	margin: 0;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.site-logo-img):not(.footer-logo-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	line-height: 1.15;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* Clickable cursor parity */
a,
button,
[role="button"],
[data-cart-open],
[data-cart-close],
[data-faq-tab],
[data-faq-toggle],
[data-mobile-menu-toggle],
[data-section-anchor],
.theme-card-link,
.theme-nav-link,
.theme-footer-nav-link,
.theme-product-thumb,
.theme-btn,
.theme-cart-toggle,
.theme-mobile-toggle,
.theme-cart-qty-btn,
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
select,
summary {
	cursor: pointer;
}
ul { margin: 0; padding: 0; list-style: none; }

.theme-em { color: var(--color-accent); font-style: normal; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.theme-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-eyebrow-rule { display: inline-block; height: 1px; width: 2.5rem; background: var(--color-accent); }
.theme-eyebrow { font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; font-family: var(--font-body); display: block; text-align: center; }

.theme-section-intro { text-align: center; margin-bottom: 3.5rem; }
.theme-section-subtitle { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 36rem; margin: 1.25rem auto 0; font-size: 1rem; line-height: 1.6; }
@media (min-width: 768px) { .theme-section-subtitle { font-size: 1.125rem; } }

.theme-link-underline { position: relative; }
.theme-link-underline::after {
	content: '';
	position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-grain {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(39,32,27,0.035) 1px, transparent 1px);
	background-size: 3px 3px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	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: var(--btn-text-transform);
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}
.theme-btn-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-btn-lg { height: 2.75rem; padding: 0 2rem; }
.theme-btn-block { width: 100%; }

.theme-btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.theme-btn-primary:hover { opacity: 0.9; }

.theme-btn-outline {
	background-color: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
}
.theme-btn-outline:hover { background-color: var(--color-accent); color: var(--color-accent-foreground, var(--color-foreground)); }

.theme-btn-hero-outline {
	background-color: color-mix(in srgb, var(--color-background) 10%, transparent);
	border-color: color-mix(in srgb, var(--color-background) 40%, transparent);
	color: var(--color-background);
	backdrop-filter: blur(4px);
}
.theme-btn-hero-outline:hover { background-color: var(--color-background); color: var(--color-foreground); }

.theme-btn-hero-primary, .theme-btn-hero-outline, .single-product .single_add_to_cart_button {
	text-transform: var(--btn-text-transform);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--color-border);
}

/* Offset fixed header under the WP admin bar */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

.site-nav { display: flex; align-items: center; height: 64px; }
@media (min-width: 1024px) { .site-nav { height: 80px; } }

.site-brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text, .site-brand-text { font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-foreground); line-height: var(--logo-height); }
.site-brand-text { display: none; }
@media (min-width: 640px) { .site-brand-text { display: block; } }

.site-nav-desktop { display: none; margin-left: auto; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-list-items { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list-items li { list-style: none; }
.theme-nav-link, .theme-nav-list-items a {
	font-size: 0.75rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.3s ease;
	position: relative;
}
.theme-nav-link:hover, .theme-nav-list-items a:hover { color: var(--color-foreground); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
@media (min-width: 1024px) { .site-nav-actions { margin-left: 2rem; } }

.theme-cart-toggle { position: relative; padding: 0.5rem; color: var(--color-foreground); }
.theme-cart-toggle:hover { color: var(--color-accent); }
.theme-cart-toggle svg { display: block; }
.theme-cart-toggle .theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 700;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: flex; padding: 0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: block; }

.site-nav-mobile { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-nav-mobile.is-open { display: block; }
@media (min-width: 1024px) { .site-nav-mobile { display: none !important; } }
.theme-nav-list-mobile,
.theme-nav-list-items-mobile,
.site-nav-mobile .theme-nav-list,
.site-nav-mobile .theme-nav-list-items {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
.theme-nav-list-items-mobile a,
.theme-nav-list-mobile a,
.site-nav-mobile .theme-nav-link,
.site-nav-mobile .theme-nav-list-items a {
	text-align: left;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-weight: 600;
	padding: 0.5rem 0;
	display: block;
	width: 100%;
}
.theme-nav-list-items-mobile a:hover,
.theme-nav-list-mobile a:hover,
.site-nav-mobile .theme-nav-link:hover,
.site-nav-mobile .theme-nav-list-items a:hover {
	color: var(--color-accent);
}

body.theme-no-hero .site-main,
body.theme-no-hero .theme-single-product-main,
body.theme-no-hero .theme-shop-archive-main,
body.theme-no-hero .theme-page-main,
body.theme-no-hero .theme-404-main {
	padding-top: 6rem;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main,
	body.theme-no-hero .theme-single-product-main,
	body.theme-no-hero .theme-shop-archive-main,
	body.theme-no-hero .theme-page-main,
	body.theme-no-hero .theme-404-main {
		padding-top: 7rem;
	}
}

/* ==========================================================================
   Animations (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); } }

.reveal-item, .reveal-fade, .reveal-slide-up, .reveal-scale {
	opacity: 0;
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item { transform: translateY(40px); }
.reveal-fade { transform: none; }
.reveal-slide-up { transform: translateY(60px); transition-duration: 1s; }
.reveal-scale { transform: scale(0.96); }

.reveal-item.is-visible, .reveal-fade.is-visible, .reveal-slide-up.is-visible, .reveal-scale.is-visible {
	opacity: 1;
	transform: none;
	transition-delay: var(--reveal-delay, 0s);
}

/* Hero titles must animate on load (above the fold) — match Lovable entrance */
.theme-hero .reveal-fade,
.theme-hero .reveal-slide-up {
	animation: theme-hero-reveal 1s var(--transition-smooth) forwards;
	animation-delay: var(--reveal-delay, 0s);
}
.theme-hero .reveal-fade { transform: none; }
.theme-hero .reveal-slide-up { transform: translateY(60px); }
@keyframes theme-hero-reveal {
	to { opacity: 1; transform: none; }
}

body.is-customizer .reveal-item,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-slide-up,
body.is-customizer .reveal-scale,
body.is-customizer .theme-hero .reveal-fade,
body.is-customizer .theme-hero .reveal-slide-up {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-fade, .reveal-slide-up, .reveal-scale { transition: none; opacity: 1; transform: none; }
	.theme-hero .reveal-fade, .theme-hero .reveal-slide-up { animation: none; opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

.theme-mobile-toggle, .theme-cart-toggle, .theme-nav-link { transition: color 0.3s ease; }

/* ==========================================================================
   Hero
   ========================================================================== */

.theme-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-background);
}
.theme-hero__media { position: absolute; inset: 0; }
.theme-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.theme-hero__scrim { position: absolute; inset: 0; }
.theme-hero__scrim--dark { background-color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-hero__scrim--gradient { background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--color-foreground) 30%, transparent), color-mix(in srgb, var(--color-foreground) 80%, transparent)); }
.theme-hero__grain { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(39,32,27,0.035) 1px, transparent 1px); background-size: 3px 3px; }

.theme-hero__content { position: relative; z-index: 10; text-align: center; padding-top: 3.5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-hero__content { padding-top: 5rem; padding-bottom: 5rem; } }

.theme-hero__eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-hero__rule { display: none; height: 1px; width: 2.5rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); }
@media (min-width: 640px) { .theme-hero__rule { display: block; } }
.theme-hero__eyebrow { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-secondary); font-weight: 600; white-space: nowrap; }
@media (min-width: 640px) { .theme-hero__eyebrow { font-size: 0.75rem; letter-spacing: 0.35em; } }

.theme-hero__title-wrap { max-width: 56rem; margin: 0 auto; position: relative; z-index: 2; }
.theme-hero__title-mask { overflow: hidden; }
.theme-hero__title {
	font-family: var(--font-display);
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.08;
	color: var(--color-background);
	font-weight: 600;
	margin: 0;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .theme-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 3.75rem; } }
.theme-hero__title--accent { font-style: italic; color: var(--color-accent); }

.theme-hero__subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	max-width: 36rem; margin: 1.5rem auto 2rem; font-size: 0.875rem; line-height: 1.7;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1rem; } }

.theme-hero__ctas { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: center; }
@media (min-width: 640px) { .theme-hero__ctas { flex-direction: row; } }
.theme-hero__ctas .theme-btn { font-size: 0.6875rem; }
@media (min-width: 768px) { .theme-hero__ctas .theme-btn { font-size: 0.75rem; } }

.theme-hero__badges {
	margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 1.5rem;
	font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600;
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
}
@media (min-width: 768px) { .theme-hero__badges { margin-top: 2.5rem; } }
.theme-hero__badges span { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-hero__badges svg { width: 1rem; height: 1rem; color: var(--color-secondary); }

/* ==========================================================================
   About / Story
   ========================================================================== */

.theme-about { position: relative; overflow: hidden; background-color: var(--color-card); scroll-margin-top: 6rem; }
.theme-about__blob { position: absolute; pointer-events: none; filter: blur(64px); border-radius: 999px; }
.theme-about__blob--1 { top: -8rem; right: -5rem; width: 28rem; height: 28rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.theme-about__blob--2 { bottom: -8rem; left: -5rem; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.theme-about__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-about__inner { padding-top: 7rem; padding-bottom: 7rem; } }

.theme-about__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-about__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.theme-about__media { position: relative; aspect-ratio: 1 / 1; }
@media (min-width: 1024px) { .theme-about__media { aspect-ratio: auto; height: 100%; } }
.theme-about__media-glow { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 20%, transparent); filter: blur(64px); transform: scale(0.9); }
.theme-about__media-frame { position: relative; height: 100%; width: 100%; overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent); background: var(--color-background); }
.theme-about__media-badge {
	position: absolute; bottom: -1rem; right: -1rem;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.5rem 1rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em;
}
@media (max-width: 1023px) {
	.theme-about__media-badge { bottom: 0; right: 0; }
}

.theme-about__p { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 1.5rem; max-width: 40rem; }
@media (min-width: 768px) { .theme-about__p:not(.theme-about__p--muted) { font-size: 1.125rem; } }
.theme-about__p--muted { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 0.9375rem; }

.theme-about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
.theme-about__stat-label { font-size: 0.625rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; }
.theme-about__stat-value { font-family: var(--font-display); font-size: 1rem; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
@media (min-width: 768px) { .theme-about__stat-value { font-size: 1.25rem; } }

/* Section-scoped heading scales (Section 2.2.5) */
.section-heading { line-height: 1.05; margin-bottom: 1.5rem; }
.about-section { font-size: 2.25rem; }
@media (min-width: 768px) { .about-section { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section { font-size: 3.75rem; } }

.shop-heading, .offerings-section { font-size: 2.25rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } .offerings-section { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 4.5rem; } .offerings-section { font-size: 3.75rem; } }

.founder-section { font-size: 1.875rem; }
@media (min-width: 768px) { .founder-section { font-size: 3rem; } }

.faq-section { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-section { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-section { font-size: 3.75rem; } }

.contact-title { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }

/* ==========================================================================
   Shop grid / product cards
   ========================================================================== */

.theme-shop { padding-top: 5rem; padding-bottom: 5rem; scroll-margin-top: 6rem; }
@media (min-width: 768px) { .theme-shop { padding-top: 7rem; padding-bottom: 7rem; } }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid.theme-product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid:not(.theme-product-grid--3) { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }

.theme-product-card-wrap { 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__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: var(--color-secondary);
	overflow: hidden;
	border: 1px solid var(--color-border);
	margin-bottom: 1.25rem;
}
.theme-product-card__image,
.theme-product-card__image-wrapper img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.7s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image,
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }

.theme-card-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1;
	padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	background: var(--color-foreground); color: var(--color-background);
}

.theme-card-arrow {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 1;
	width: 2.5rem; height: 2.5rem;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
	opacity: 0; transform: translateY(0.5rem);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.theme-card-arrow svg { color: var(--color-primary); }
.theme-product-card:hover .theme-card-arrow { opacity: 1; transform: translateY(0); }

.theme-product-card__info { flex: 1; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; transition: color 0.3s ease; margin-bottom: 0.375rem; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__tagline { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-muted-foreground); margin-bottom: 0.375rem; }
.theme-product-card__price { font-size: 0.875rem; color: var(--color-primary); font-weight: 600; padding-top: 0.25rem; }
.theme-product-card__price .amount, .theme-product-card__price ins { text-decoration: none; }

.theme-shop-empty { text-align: center; padding: 3rem 0; color: var(--color-muted-foreground); }

/* ==========================================================================
   Services
   ========================================================================== */

.theme-services { position: relative; overflow: hidden; background-color: var(--color-card); scroll-margin-top: 6rem; }
.theme-services__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-services__inner { padding-top: 6rem; padding-bottom: 6rem; } }

.theme-services__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-services__grid { grid-template-columns: repeat(4, 1fr); } }

.theme-service-card {
	background: var(--color-background); border: 1px solid var(--color-border);
	padding: 1.5rem; display: flex; flex-direction: column; text-align: left;
	transition: border-color 0.3s ease;
}
.theme-service-card:hover { border-color: var(--color-accent); }
@media (min-width: 768px) { .theme-service-card { padding: 2rem; } }
.theme-service-card__icon { width: 2.25rem; height: 2.25rem; color: var(--color-primary); margin-bottom: 1.25rem; transition: color 0.3s ease; }
.theme-service-card:hover .theme-service-card__icon { color: var(--color-accent); }
.theme-service-card__title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
@media (min-width: 768px) { .theme-service-card__title { font-size: 1.5rem; } }
.theme-service-card__body { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; }

/* ==========================================================================
   Founder
   ========================================================================== */

.theme-founder { padding-top: 5rem; padding-bottom: 5rem; scroll-margin-top: 6rem; background-color: var(--color-root); }
@media (min-width: 768px) { .theme-founder { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-founder__panel { position: relative; background: var(--color-card); border: 1px solid var(--color-border); padding: 1.5rem; overflow: hidden; }
@media (min-width: 640px) { .theme-founder__panel { padding: 2.5rem; } }
@media (min-width: 768px) { .theme-founder__panel { padding: 3.5rem; } }
@media (min-width: 1024px) { .theme-founder__panel { padding: 4rem; } }
.theme-founder__blob { position: absolute; pointer-events: none; filter: blur(64px); border-radius: 999px; }
.theme-founder__blob--1 { top: -8rem; right: -5rem; width: 28rem; height: 28rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.theme-founder__blob--2 { bottom: -8rem; left: -5rem; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); }

.theme-founder__grid { position: relative; display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .theme-founder__grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }

.theme-founder__media { position: relative; }
.theme-founder__img { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1; box-shadow: var(--shadow-elevated); }
.theme-founder__caption {
	position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
	padding: 0.75rem 1rem;
	background: color-mix(in srgb, var(--color-background) 92%, transparent);
	backdrop-filter: blur(4px);
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
}
.theme-founder__name { font-family: var(--font-display); font-size: 1rem; line-height: 1.2; text-transform: uppercase; font-weight: 600; }
@media (min-width: 768px) { .theme-founder__name { font-size: 1.125rem; } }
.theme-founder__role { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--color-muted-foreground); margin-top: 0.25rem; }

.theme-founder__quote { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 1.5rem; max-width: 36rem; font-style: italic; }
@media (min-width: 768px) { .theme-founder__quote { font-size: 1.125rem; } }
.theme-founder__paragraph { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; margin-bottom: 2rem; max-width: 36rem; }
.theme-founder__ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-founder__ctas { flex-direction: row; } }

/* ==========================================================================
   FAQ
   ========================================================================== */

.theme-faq { position: relative; overflow: hidden; background-color: var(--color-card); scroll-margin-top: 6rem; }
.theme-faq__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-faq__inner { padding-top: 7rem; padding-bottom: 7rem; } }

.theme-faq__wrap { max-width: 48rem; margin: 0 auto; }
.theme-faq__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-faq__tabs { gap: 0.75rem; } }
.theme-faq__tab {
	padding: 0.625rem 1rem; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
	background: var(--color-background); color: var(--color-foreground); border: 1px solid var(--color-border);
	transition: all 0.3s ease;
}
@media (min-width: 768px) { .theme-faq__tab { padding: 0.75rem 1.25rem; font-size: 0.75rem; } }
.theme-faq__tab:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-faq__tab.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-faq__panel { display: none; }
.theme-faq__panel.is-active { display: block; }
.theme-faq__panel-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.theme-faq__list { border-top: 1px solid var(--color-border); }
.theme-faq__item { border-bottom: 1px solid var(--color-border); }
.theme-faq__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem 0; }
.theme-faq__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; transition: color 0.3s ease; text-transform: none; letter-spacing: normal; font-weight: 600; }
@media (min-width: 768px) { .theme-faq__question span:first-child { font-size: 1.25rem; } }
.theme-faq__question:hover span:first-child { color: var(--color-accent); }
.theme-faq__icon { margin-top: 0.25rem; flex-shrink: 0; color: var(--color-accent); position: relative; width: 1.25rem; height: 1.25rem; }
.theme-faq__icon-plus, .theme-faq__icon-minus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s ease; }
.theme-faq__icon-minus { opacity: 0; }
.theme-faq__item.is-open .theme-faq__icon-plus { opacity: 0; }
.theme-faq__item.is-open .theme-faq__icon-minus { opacity: 1; }

.theme-faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.theme-faq__item.is-open .theme-faq__answer { max-height: 40em; }
.theme-faq__answer p { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .theme-faq__answer p { font-size: 1rem; } }

.theme-faq__disclaimer { max-width: 48rem; margin: 3.5rem auto 0; border: 1px solid var(--color-border); background: var(--color-background); padding: 1.5rem; }
@media (min-width: 768px) { .theme-faq__disclaimer { padding: 2rem; } }
.theme-faq__disclaimer h3 { font-size: 1.25rem; margin-bottom: 0.75rem; text-transform: none; letter-spacing: normal; }
.theme-faq__disclaimer p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; }

/* ==========================================================================
   Contact
   ========================================================================== */

.theme-contact { position: relative; overflow: hidden; scroll-margin-top: 6rem; }
.theme-contact__scrim { position: absolute; inset: 0; }
.theme-contact__scrim--root { background: color-mix(in srgb, var(--color-root) 75%, transparent); }
.theme-contact__scrim--gradient { background: linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 10%, transparent), transparent, color-mix(in srgb, var(--color-primary) 10%, transparent)); }
.theme-contact__grain { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(39,32,27,0.035) 1px, transparent 1px); background-size: 3px 3px; }

.theme-contact__inner { position: relative; z-index: 10; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .theme-contact__inner { padding-top: 8rem; padding-bottom: 8rem; } }

.theme-contact__card {
	max-width: 48rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-card) 95%, transparent);
	backdrop-filter: blur(4px);
	border: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
	box-shadow: var(--shadow-elevated);
	padding: 2.5rem 1.5rem; border-radius: 2px;
}
@media (min-width: 768px) { .theme-contact__card { padding: 4rem; } }

.theme-contact__eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.theme-contact__subtitle { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.125rem; max-width: 36rem; margin: 1.5rem auto 3rem; }

.theme-contact__meta { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-contact__meta a, .theme-contact__meta span { display: flex; align-items: center; gap: 0.5rem; }
.theme-contact__meta a:hover { color: var(--color-accent); }
.theme-contact__meta svg { width: 1rem; height: 1rem; color: var(--color-primary); flex-shrink: 0; }

/* Contact modal */
.theme-contact-modal-overlay, .theme-contact-modal { display: none; }
body.contact-modal-open .theme-contact-modal-overlay,
body.contact-modal-open .theme-contact-modal {
	display: flex;
}
.theme-contact-modal-overlay {
	position: fixed; inset: 0; z-index: 60;
	background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	backdrop-filter: blur(8px);
	animation: theme-fade-in 0.3s ease;
}
.theme-contact-modal {
	position: fixed; inset: 0; z-index: 61;
	align-items: center; justify-content: center; padding: 1rem;
}
.theme-contact-modal__box {
	position: relative; width: 100%; max-width: 36rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
	padding: 2rem; animation: theme-slide-up 0.4s var(--transition-smooth);
}
@media (min-width: 768px) { .theme-contact-modal__box { padding: 2.5rem; } }
.theme-contact-modal__close {
	position: absolute; top: 1rem; right: 1rem; z-index: 5;
	width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	transition: all 0.2s ease;
}
.theme-contact-modal__close:hover { color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }

.theme-contact-modal__eyebrow { font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.theme-contact-modal__title { font-size: 1.875rem; margin-top: 0.5rem; line-height: 1; }
@media (min-width: 768px) { .theme-contact-modal__title { font-size: 2.25rem; } }

.theme-contact-form { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 600; margin-bottom: 0.5rem; display: block; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-contact-form input, .theme-contact-form textarea {
	width: 100%; padding: 0.75rem 1rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 0.875rem; font-family: var(--font-body); color: var(--color-foreground);
	transition: border-color 0.3s ease;
}
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: var(--color-muted-foreground); }
.theme-contact-form input:focus, .theme-contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-form textarea { resize: none; }
.theme-contact-form__error { color: #b12525; font-size: 0.8125rem; }

.theme-contact-modal__success { text-align: center; padding: 2.5rem 0; }
.theme-contact-modal__success-icon { width: 4rem; height: 4rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.theme-contact-modal__success-icon svg { width: 2rem; height: 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid var(--color-border); background-color: var(--color-primary); color: var(--color-primary-foreground); }
.site-footer .container-wide { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer .container-wide { padding-top: 5rem; padding-bottom: 5rem; } }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

.footer-brand { display: inline-flex; align-items: center; }
/* Match Lovable: h-28 (7rem) / md:h-36 (9rem) */
.footer-logo-img {
	height: 7rem !important;
	width: auto !important;
	max-width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.25));
}
@media (min-width: 768px) {
	.footer-logo-img { height: 9rem !important; }
}
.footer-description { margin-top: 1.25rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); max-width: 24rem; line-height: 1.7; }
.footer-shipping { margin-top: 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-secondary); font-weight: 600; }
.footer-location { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); }
.footer-location svg { width: 1rem; height: 1rem; color: var(--color-secondary); }

.footer-col-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem; color: var(--color-secondary); }
.theme-footer-nav-list, .theme-footer-nav-list-items { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a, .theme-footer-nav-list-items a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); transition: color 0.3s ease; }
.theme-footer-nav-list a:hover, .theme-footer-nav-list-items a:hover { color: var(--color-primary-foreground); }

.footer-contact-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); margin-bottom: 0.75rem; }
.footer-contact-list li:last-child { align-items: flex-start; }
.footer-contact-list svg { width: 1rem; height: 1rem; color: var(--color-secondary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { word-break: break-all; }
.footer-contact-list a:hover { color: var(--color-primary-foreground); }

.footer-fda { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-primary-foreground) 20%, transparent); font-size: 0.75rem; color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent); line-height: 1.7; }
.footer-bottom { margin-top: 1.5rem; display: flex; justify-content: center; }
.footer-copyright { font-size: 0.75rem; color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent); }

/* ==========================================================================
   Side cart drawer
   ========================================================================== */

#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-background) 60%, transparent); backdrop-filter: blur(4px); display: none; }
body.cart-open #theme-cart-overlay { display: block; animation: theme-fade-in 0.3s ease; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-card); z-index: 91; box-shadow: var(--shadow-elevated);
	display: none; flex-direction: column;
	border-left: 1px solid var(--color-border);
	transform: translateX(100%);
	transition: transform 0.3s var(--transition-smooth);
}
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
body.cart-open #theme-cart-drawer { display: flex; 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.5rem; }
.theme-cart-drawer__close { padding: 0.25rem; }
.theme-cart-drawer__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 svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.theme-cart-drawer__items { flex: 1; overflow-y: 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;
	display: block;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	background: var(--color-secondary);
	overflow: hidden;
	border: 1px solid var(--color-border);
}
.theme-cart-item__image img,
.theme-cart-item__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center center;
}
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { color: var(--color-accent); }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-primary); margin-top: 0.125rem; font-weight: 600; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-remove:hover { color: #b12525; }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 600; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   WooCommerce — add to cart button overrides (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;
}
.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-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ==========================================================================
   Single product page (Section 11 / 11.13)
   ========================================================================== */

.theme-single-product-main { padding-bottom: 5rem; }
.theme-back-to-shop-row { padding: 1.5rem 0; }
.theme-back-to-shop { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-back-to-shop:hover { color: var(--color-accent); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; border: 1px solid var(--color-border); margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid var(--color-border); opacity: 0.6; transition: all 0.2s ease; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; border-color: var(--color-primary); }

.theme-product-info__category { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; pointer-events: none; }
.theme-product-info__title { font-size: 2.25rem; margin-top: 0.75rem; margin-bottom: 0.75rem; line-height: 1.15; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 3.75rem; } }
.product-title { font-family: var(--font-body); font-weight: 600; }
.theme-product-info__tagline { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.3em; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1.25rem; }
.theme-product-info__price { font-size: 1.875rem; margin-bottom: 2rem; color: var(--color-primary); font-weight: 600; }
.theme-product-info__stock { margin-bottom: 1.5rem; font-size: 0.875rem; font-weight: 600; }
.theme-product-info__stock.is-out-of-stock { color: #b12525; }
.theme-product-info__description { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p { margin-bottom: 1rem; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; padding: 0.75rem 0; text-align: center; border: none; background: transparent; font-family: var(--font-body); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-info__details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-info__details-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; text-transform: none; letter-spacing: normal; }
.theme-product-info__details-heading svg { width: 1rem; height: 1rem; color: var(--color-accent); }
.theme-product-info__details-list { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details-list ul { list-style: none; margin: 0; padding: 0; }
.theme-product-info__details-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.625rem; }
.theme-product-info__details-list li::before { content: ''; width: 0.375rem; height: 0.375rem; background: var(--color-accent); margin-top: 0.5rem; flex-shrink: 0; }

.theme-product-info__disclaimer { margin-top: 2rem; font-size: 0.75rem; color: var(--color-muted-foreground); line-height: 1.7; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* ==========================================================================
   Shop archive
   ========================================================================== */

.theme-shop-archive-main { padding-bottom: 5rem; }
.theme-shop-archive { padding-top: 2rem; }
.theme-shop-archive__header { text-align: center; margin-bottom: 3rem; }
.theme-shop-archive__title { font-size: 2.25rem; }
@media (min-width: 768px) { .theme-shop-archive__title { font-size: 3rem; } }

/* ==========================================================================
   404
   ========================================================================== */

.theme-404-main { min-height: 60vh; display: flex; align-items: center; }
.theme-404-content { text-align: center; padding: 5rem 0; }
.theme-404-title { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404-text { color: var(--color-muted-foreground); margin-bottom: 2rem; font-size: 1.125rem; }

/* ==========================================================================
   Generic page template
   ========================================================================== */

.theme-page-main { padding-bottom: 5rem; }
.page-title { font-size: 2.5rem; margin: 2rem 0; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
.entry-content { line-height: 1.7; }
.entry-content p { margin-bottom: 1.25rem; font-family: var(--font-body); text-transform: none; }

/* ==========================================================================
   WooCommerce notices (Section 14.1)
   ========================================================================== */

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem;
	border-left: 4px solid var(--color-primary); background: var(--color-card); list-style: none;
}
.woocommerce-error { border-left-color: #b12525; }

/* ==========================================================================
   Checkout Block (Section 13)
   ========================================================================== */

body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

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,
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
	border-color: var(--color-primary);
	outline: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: var(--btn-text-transform) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	font-weight: var(--btn-font-weight) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: var(--radius); font-family: var(--font-body); }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { font-family: var(--font-display); text-transform: none; letter-spacing: normal; }

/* ==========================================================================
   Cart, account, thank-you page width/alignment parity (Section 13.7)
   ========================================================================== */

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
	padding-top: var(--header-height, 80px);
}

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-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.75rem; padding: 0 0 1rem 0; text-transform: none; letter-spacing: normal; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; font-style: normal; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }
