/* =========================================================================
   Kelli Revel Resin -- theme.css
   Colors are emitted as CSS variables by inc/customizer.php (wp_add_inline_style).
   The :root block below provides static fallbacks matching the source design.
   ========================================================================= */

:root {
	--color-background: #faf8f4;
	--color-foreground: #1f1b19;
	--color-primary: #1f5e6b;
	--color-primary-text: #faf8f4;
	--color-secondary: #f1ebe4;
	--color-secondary-text: #1f5e6b;
	--color-accent: #d8a541;
	--color-accent-text: #1f1b19;
	--color-rose: #d8a541;
	--color-marigold: #d8a541;
	--color-gold: #cb994d;
	--color-teal: #1f5e6b;
	--color-indigo: #1f5e6b;
	--color-nopal: #1f5e6b;
	--color-butter: #faf8f4;
	--color-border: #ddcbb0;
	--color-muted: #f1ebe4;
	--color-muted-text: #5b4e48;
	--color-destructive: #ca2b2b;
	--color-destructive-text: #ffffff;
	--color-button-text: #faf8f4;
	--logo-height: 44px;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0;
	--card-radius: 1rem;
	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--header-height: 64px;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   Reset / base
   ========================================================================= */

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { max-width: 100%; overflow-x: clip; }

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

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

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.hero-video):not(.contact-video):not(.about-image):not(.product-cover-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-video, .contact-video, .about-image, .product-cover-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

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

.italic-accent { font-style: italic; color: var(--color-accent); }

/* source design zeroes border-radius on buttons/images/video/rounded-* utility
   classes despite using Tailwind's rounded-full utilities -- replicated exactly. */
.btn-hero-primary, .btn-hero-outline, .btn-outline, .btn-gold-pill,
.theme-cart-btn, .theme-mobile-toggle, .theme-qty-minus, .theme-qty-plus,
.shop-pill, .theme-color-swatch, .single_add_to_cart_button, .add_to_cart_button,
img, video {
	border-radius: 0 !important;
}

/* =========================================================================
   Typography scale per section (Section 2.2)
   ========================================================================= */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--color-accent);
	margin-bottom: 0.75rem;
}
.eyebrow--on-dark { color: var(--color-gold); }
.eyebrow--gold { color: var(--color-gold); }

.hero-title { font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.08; color: #fff; text-align: center; }
.hero-title__line { display: block; }
.hero-title__line--italic { font-style: italic; }

.bestsellers-heading, .services-heading, .custom-orders-heading, .about-heading,
.mission-heading, .shop-heading, .faq-heading, .contact-title {
	font-weight: 400;
}
.bestsellers-heading { font-size: 2rem; line-height: 1.05; }
@media (min-width: 768px) { .bestsellers-heading { font-size: 3rem; } }

.services-heading, .custom-orders-heading { font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 768px) { .services-heading, .custom-orders-heading { font-size: 3rem; } }

.about-heading { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .about-heading { font-size: 3.75rem; } }

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

.shop-heading { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } }

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

.contact-title { font-size: 2.25rem; line-height: 1.02; color: #fff; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }

/* =========================================================================
   Animations (Section 2.1)
   ========================================================================= */

@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes btnpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(169,133,59,0); } 50% { box-shadow: 0 0 18px 4px rgba(169,133,59,0.28); } }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.reveal-fade-up, .reveal-item, .scale-in-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-fade-up.is-visible, .reveal-item.is-visible, .scale-in-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Customizer preview / no-JS fallback: content must never be stuck hidden. */
body.is-customizer .reveal-fade-up,
body.is-customizer .reveal-item,
body.is-customizer .scale-in-item,
.no-observer-support .reveal-fade-up,
.no-observer-support .reveal-item,
.no-observer-support .scale-in-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

.btn-hero-primary.animate-pulse-cta { animation: btnpulse 3s ease-in-out infinite; }

/* =========================================================================
   Buttons
   ========================================================================= */

.btn-hero-primary, .btn-hero-outline, .btn-outline, .btn-gold-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: all 0.2s ease;
	white-space: nowrap;
}
.btn-hero-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-gold) 35%, transparent), 0 0 28px -4px color-mix(in srgb, var(--color-gold) 35%, transparent);
	animation: btnpulse 3s ease-in-out infinite;
}
.btn-hero-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-gold) 50%, transparent), 0 0 28px -2px color-mix(in srgb, var(--color-gold) 40%, transparent); }
.btn-hero-outline {
	background: transparent;
	color: #fff;
	position: relative;
}
.btn-hero-outline::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 6px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.btn-hero-outline:hover::after { transform: scaleX(1); }
.btn-outline {
	background: transparent;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-button-text); }
.btn-gold-pill {
	background: var(--color-gold);
	color: var(--color-primary);
}
.btn-gold-pill:hover { opacity: 0.9; }

.icon-12 { width: 12px; height: 12px; }
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }
.icon-28 { width: 28px; height: 28px; }
.icon-48 { width: 48px; height: 48px; }
.theme-icon { flex-shrink: 0; }

/* =========================================================================
   Announcement bar + Header
   ========================================================================= */

.theme-announcement {
	position: relative;
	background: var(--color-primary);
	color: var(--color-button-text);
}
.theme-announcement__inner { padding: 0.65rem 0; text-align: center; }
.theme-announcement__text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	margin: 0;
}
.theme-announcement__dot { color: var(--color-gold); }
.theme-announcement__dismiss {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	color: currentColor;
	opacity: 0.7;
	padding: 0.25rem;
}
.theme-announcement__dismiss:hover { opacity: 1; }
body.theme-announcement-dismissed .theme-announcement { display: none; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, #ffffff 70%, transparent);
	backdrop-filter: blur(20px) saturate(150%);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	border-bottom: 1px solid color-mix(in srgb, #ffffff 30%, transparent);
	transition: background 0.3s ease, box-shadow 0.3s ease;
	padding: 0.6rem 0;
}
.site-header.is-scrolled, .theme-mobile-nav.is-open ~ .site-header, .site-header.has-mobile-open {
	background: color-mix(in srgb, #ffffff 85%, transparent);
	border-bottom-color: color-mix(in srgb, #ffffff 40%, transparent);
	box-shadow: var(--shadow-soft, 0 6px 24px -8px rgba(31,94,107,0.14));
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 56px; position: relative; }
@media (min-width: 768px) { .site-nav { height: 72px; } }

.site-brand { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height); width: auto !important; display: block; transition: transform 0.3s ease; }
.site-brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text, .site-brand-name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--color-primary);
	letter-spacing: -0.01em;
	display: none;
}
@media (min-width: 640px) { .site-brand-name, .site-logo-text { display: inline; } }

.site-nav__desktop { display: none; }
@media (min-width: 1024px) { .site-nav__desktop { display: flex; align-items: center; gap: 2.5rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; }
.theme-nav-list li a, .theme-nav-link {
	position: relative;
	font-size: 12px;
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: color-mix(in srgb, var(--color-primary) 80%, transparent);
	padding: 0.5rem 0;
	transition: color 0.2s ease;
}
.theme-nav-list li a:hover, .theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-list li a::after, .theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 1px;
	background: var(--color-gold);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}
.theme-nav-list li a:hover::after, .theme-nav-link:hover::after { transform: scaleX(1); }

.site-nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-btn {
	position: relative;
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	color: var(--color-primary);
	transition: all 0.2s ease;
}
.theme-cart-btn:hover { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.theme-cart-count {
	position: absolute;
	top: -4px; right: -4px;
	min-width: 18px; height: 18px;
	padding: 0 4px;
	background: var(--color-rose);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; color: var(--color-primary); }
.theme-mobile-toggle__close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-mobile-toggle__open { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-mobile-toggle__close { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.theme-mobile-nav { display: none; border-top: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent); padding: 1rem 0; }
.theme-mobile-nav.is-open { display: block; animation: fadeIn 0.3s ease; }
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-mobile-nav-list li a, .theme-mobile-nav-link {
	display: block;
	padding: 0.75rem 0.25rem;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--color-primary);
}
.theme-mobile-nav-list li a:hover, .theme-mobile-nav-link:hover { color: var(--color-rose); }

/* =========================================================================
   Hero
   ========================================================================= */

.hero-section { position: relative; background: var(--color-background); }
.hero-video-wrap {
	position: relative;
	width: 100%;
	height: calc(100dvh - 128px);
	min-height: 520px;
	overflow: hidden;
}
@media (min-width: 768px) { .hero-video-wrap { height: calc(100dvh - 120px); } }
.hero-gradient-overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to bottom, rgba(120,70,40,0.35) 0%, rgba(90,50,30,0.45) 50%, rgba(60,35,20,0.55) 100%);
}
.hero-vignette-overlay {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(60,35,20,0.55) 0%, rgba(60,35,20,0.25) 50%, transparent 72%);
}
.hero-content-wrap { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; }
.hero-content { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; }
.hero-cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }

/* =========================================================================
   Marquee
   ========================================================================= */

.theme-marquee {
	overflow: hidden;
	padding: 1rem 0;
	background: var(--color-primary);
	color: var(--color-gold);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
}
.theme-marquee__track {
	display: flex;
	gap: 2.5rem;
	white-space: nowrap;
	animation-name: marqueeScroll;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	width: max-content;
}
.theme-marquee__item { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
.theme-marquee__word { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.32em; font-size: 0.9rem; }
.theme-marquee__sparkle { opacity: 0.5; }

/* =========================================================================
   Sections shared
   ========================================================================= */

.bestsellers-section { background: var(--color-secondary); border-top: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent); padding: 5rem 0 2.5rem; }
.bestsellers-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .bestsellers-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.gold-divider-short { width: 60px; height: 1px; border: 0; background: color-mix(in srgb, var(--color-gold) 50%, transparent); margin: 1rem 0 2rem; }
.bestsellers-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; color: var(--color-primary); align-self: flex-start; }

.services-section { background: var(--color-primary); padding: 5rem 0; }
.services-header, .mission-header, .faq-header, .shop-header { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.services-heading { color: #fff; margin-bottom: 1rem; }
.services-subtext { color: color-mix(in srgb, #ffffff 80%, transparent); font-size: 1.05rem; line-height: 1.6; }
.services-grid, .mission-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid, .mission-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .services-grid, .mission-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.service-card, .mission-pillar {
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}
.service-card:hover, .mission-pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -18px color-mix(in srgb, var(--color-primary) 24%, transparent); border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); }
.mission-pillar { background: color-mix(in srgb, var(--color-butter) 95%, transparent); }
.service-card__icon, .mission-pillar__icon {
	width: 56px; height: 56px; border-radius: 50% !important;
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 1.25rem;
	color: var(--color-gold);
}
.service-card__title, .mission-pillar__title { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--color-primary); }
.service-card__desc, .mission-pillar__desc { font-size: 0.9rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--color-rose); align-self: flex-start; }
.service-card:hover .service-card__link { color: var(--color-primary); }

.custom-orders-section { background: var(--color-background); padding: 5rem 0; }
.custom-orders-card { position: relative; overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent); background: #fff; padding: 2rem; box-shadow: var(--shadow-soft, 0 6px 24px -8px rgba(31,94,107,0.14)); }
@media (min-width: 768px) { .custom-orders-card { padding: 3.5rem; } }
.custom-orders-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .custom-orders-grid { grid-template-columns: 1fr 1fr; } }
.custom-orders-heading { font-size: 2.25rem; margin: 1rem 0; }
@media (min-width: 768px) { .custom-orders-heading { font-size: 3rem; } }
.custom-orders-desc { font-size: 1.05rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 1.5rem; }
.custom-orders-note { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-text); margin-bottom: 2rem; }
.custom-orders-note svg { color: var(--color-gold); }
.custom-orders-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.custom-orders-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.75rem; }
@media (min-width: 768px) { .custom-orders-stats { gap: 1rem; } }
.custom-orders-stat {
	border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
	background: var(--color-background);
	padding: 1.25rem;
	min-height: 110px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.custom-orders-stat__label { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.7rem; color: var(--color-accent); font-weight: 600; }
.custom-orders-stat__value { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-primary); margin-top: 0.75rem; }

.about-section { background: var(--color-background); padding: 5rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
@media (min-width: 1024px) { .about-image-wrap { aspect-ratio: 3/2; } }
.about-image-shade { position: absolute; inset: 0; pointer-events: none; }
.about-image-shade--right { background: linear-gradient(to right, rgba(14,11,8,0.15) 0%, transparent 30%); }
.about-image-shade--bottom { background: linear-gradient(to top, rgba(14,11,8,0.25) 0%, transparent 40%); }
.about-copy { display: flex; flex-direction: column; justify-content: center; }
.about-paragraph { font-size: 1rem; line-height: 1.7; color: var(--color-foreground); margin-bottom: 1.25rem; }
.about-paragraph--lg { font-size: 1.125rem; color: var(--color-foreground); }
.about-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.24em; font-weight: 600; color: var(--color-primary); margin-top: 0.5rem; }
.about-cta:hover { color: var(--color-accent); }
.about-cta__label { position: relative; }
.about-cta__label::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 0.25s ease; }
.about-cta:hover .about-cta__label::after { transform: scaleX(1); }

.mission-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 4rem 0 6rem; }
@media (min-width: 768px) { .mission-section { padding: 5rem 0 7rem; } }
.mission-overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(24,58,74,0.6), rgba(31,95,107,0.5), rgba(24,58,74,0.65)); }
.mission-content { position: relative; z-index: 1; }
.mission-heading, .mission-desc { color: var(--color-butter); }
.mission-desc { font-size: 1.05rem; line-height: 1.6; opacity: 0.9; }

/* =========================================================================
   Shop
   ========================================================================= */

.shop-section { background: var(--color-butter); padding: 5rem 0 4rem; }
@media (min-width: 768px) { .shop-section { padding: 7rem 0 6rem; } }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-text); }
.shop-search-input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	font-size: 1rem;
	color: var(--color-foreground);
}
.shop-search-input:focus { outline: none; border-color: var(--color-accent); }
.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-pill {
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-weight: 600;
	border: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	background: #fff;
	color: var(--color-primary);
	transition: all 0.3s ease;
}
.shop-pill:hover { border-color: var(--color-primary); }
.shop-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

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

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

.theme-shop-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-text); }
.theme-shop-showmore { text-align: center; margin-top: 3rem; }

/* =========================================================================
   Product grid / card
   ========================================================================= */

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid.theme-product-grid--4, .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 767px) { .theme-product-grid.theme-product-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; width: 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__cta, .theme-product-card__cta.add_to_cart_button { position: relative; z-index: 3; pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1/1;
	overflow: hidden;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
	margin-bottom: 1.25rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); box-shadow: 0 12px 24px -12px rgba(0,0,0,0.15); }
.theme-badge {
	position: absolute; top: 1rem; right: 1rem; z-index: 3;
	padding: 0.4rem 0.9rem;
	font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
	background: var(--color-primary); color: var(--color-button-text);
}
.theme-product-card__info { display: flex; flex-direction: column; flex: 1; padding: 0 0.25rem; }
.theme-product-card__title { font-size: 1.25rem; line-height: 1.25; color: var(--color-primary); transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-rose); }
.theme-product-card__category { margin: 0.5rem 0 1rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--color-gold); }
.theme-product-card__price { margin: 0 0 0.75rem; font-size: 14px; font-weight: 600; color: var(--color-foreground); }
.theme-product-card__cta {
	margin-top: auto;
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	background: #fff;
	color: var(--color-primary);
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.theme-product-card__cta:hover { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.theme-product-card__cta--disabled, .theme-product-card__cta.disabled {
	margin-top: auto;
	width: 100%;
	padding: 0.75rem 1rem;
	text-align: center;
	font-size: 13px;
	opacity: 0.6;
	background: var(--color-muted);
	color: var(--color-muted-text);
}

/* =========================================================================
   FAQ
   ========================================================================= */

.faq-section { background: var(--color-secondary); border-top: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent); padding: 5rem 0; }
.faq-inner { max-width: 48rem; margin: 0 auto; }
.faq-desc { font-size: 1.05rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent); }
.faq-item__question {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem;
	padding: 1.25rem 0;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--color-primary);
}
.faq-item__question:hover { color: var(--color-accent); }
.faq-item__icon {
	flex-shrink: 0; width: 36px; height: 36px;
	border: 1px solid color-mix(in srgb, var(--color-gold) 50%, transparent);
	border-radius: 50% !important;
	display: flex; align-items: center; justify-content: center;
	color: var(--color-primary);
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.faq-item__answer p { padding-bottom: 1.5rem; padding-right: 3rem; font-size: 1rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.faq-item.is-open .faq-item__answer { max-height: 400px; }
.faq-footer-cta { text-align: center; margin-top: 3rem; }

/* =========================================================================
   Contact section
   ========================================================================= */

.contact-section { position: relative; background: var(--color-primary); overflow: hidden; }
.contact-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 55%, transparent) 0%, color-mix(in srgb, var(--color-primary) 45%, transparent) 50%, color-mix(in srgb, var(--color-primary) 60%, transparent) 100%); }
.contact-content { position: relative; padding: 5rem 0; }
@media (min-width: 768px) { .contact-content { padding: 7rem 0; } }
.contact-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .contact-inner { max-width: 56rem; } }
.contact-desc { color: color-mix(in srgb, var(--color-button-text) 85%, transparent); font-size: 1.1rem; margin: 1.25rem 0 2.5rem; }
.contact-newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 26rem; margin: 0 auto; }
@media (min-width: 640px) { .contact-newsletter-form { flex-direction: row; align-items: stretch; } }
.contact-newsletter-input {
	flex: 1;
	background: color-mix(in srgb, var(--color-button-text) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	color: var(--color-button-text);
	padding: 0.75rem 1.25rem;
	font-size: 0.9rem;
}
.contact-newsletter-input::placeholder { color: color-mix(in srgb, var(--color-button-text) 50%, transparent); }
.contact-newsletter-input:focus { outline: none; border-color: var(--color-gold); }
.contact-links { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; color: color-mix(in srgb, var(--color-button-text) 90%, transparent); font-size: 0.9rem; }
.contact-links a, .contact-message-link { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; }
.contact-links a:hover, .contact-message-link:hover { color: var(--color-gold); }
.contact-message-link { font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; font-weight: 600; }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer { background: var(--color-primary); color: #fff; }
.site-footer__inner { padding: 2.5rem 0 1.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding: 3rem 0 2rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3rem; } }
.site-footer__logo { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1.25rem; }
.site-footer__logo img { height: 40px; width: auto; opacity: 0.95; }
.site-footer__name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.site-footer__desc { font-size: 0.9rem; color: color-mix(in srgb, #ffffff 80%, transparent); line-height: 1.6; }
.site-footer__col-title { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.75rem; color: var(--color-gold); margin-bottom: 1.25rem; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__links a { font-size: 0.9rem; color: color-mix(in srgb, #ffffff 80%, transparent); }
.site-footer__links a:hover { color: #fff; }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, #ffffff 85%, transparent); }
.site-footer__contact a:hover { color: #fff; }
.site-footer__address { display: flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, #ffffff 85%, transparent); }
.site-footer__bottom { padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__copy, .site-footer__built { font-size: 12px; color: color-mix(in srgb, #ffffff 60%, transparent); }
.site-footer__built a:hover { color: #fff; }

/* =========================================================================
   Cart drawer + overlay
   ========================================================================= */

#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60;
	background: color-mix(in srgb, var(--color-primary) 30%, transparent);
	backdrop-filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: #fff;
	z-index: 61;
	box-shadow: -24px 0 48px -18px rgba(31,94,107,0.24);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent); }
.theme-cart-drawer__title { font-size: 1.25rem; color: var(--color-primary); }
.theme-cart-drawer__close { color: var(--color-primary); 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; gap: 1rem; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 80px; height: 96px; flex-shrink: 0; background: var(--color-secondary); border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent); overflow: hidden; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { display: block; font-size: 0.9rem; font-weight: 500; color: var(--color-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__name:hover { color: var(--color-rose); }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-text); margin-top: 0.15rem; }
.theme-cart-item__meta { font-size: 0.75rem; color: var(--color-muted-text); margin-top: 0.35rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; color: var(--color-primary); }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 24px; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-text); }
.theme-cart-item__remove:hover { color: var(--color-rose); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; background: #fff; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.9rem; }
.theme-cart-drawer__subtotal-value { font-weight: 600; color: var(--color-primary); }
.theme-cart-drawer__shipping { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-muted-text); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty.btn-outline { width: 100%; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart. */
.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; }

/* =========================================================================
   Contact modal
   ========================================================================= */

.theme-modal { position: fixed; inset: 0; z-index: 80; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); animation: fadeIn 0.2s ease; }
.theme-modal__panel {
	position: relative;
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	margin: 5vh auto;
	background: var(--color-background);
	padding: 1.75rem;
	box-shadow: var(--shadow-elevated, 0 24px 48px -18px rgba(31,94,107,0.24));
	animation: fadeInUp 0.25s var(--transition-smooth);
}
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; padding: 0.35rem; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__desc { color: var(--color-muted-text); font-size: 0.9rem; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; font-size: 0.9rem; color: var(--color-muted-text); }
.theme-modal__contact-row a { display: inline-flex; align-items: center; gap: 0.4rem; }
.theme-modal__contact-row a:hover { color: var(--color-accent); }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 56px; height: 56px; border-radius: 50% !important; background: var(--color-primary); color: var(--color-button-text); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__form { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-field input, .theme-field textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	font-size: 1rem;
	font-family: var(--font-body);
	color: var(--color-foreground);
}
.theme-field input:focus, .theme-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); border-color: var(--color-accent); }
.theme-field textarea { resize: none; }
.theme-modal__form-footer { display: flex; justify-content: flex-end; }

/* =========================================================================
   Single product page
   ========================================================================= */

.single-product-main { padding-top: 1.5rem; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-text); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 4rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; justify-content: center; }
.theme-product-thumb { position: relative; width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; }
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-subtitle { font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 0.75rem; }
.product-title { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 2.5rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 1024px) { .product-title { font-size: 3rem; } }
.theme-product-price { margin-top: 0.75rem; font-size: 1.1rem; color: var(--color-foreground); }
.theme-stock-indicator--out { margin-top: 0.5rem; color: var(--color-destructive); font-size: 0.9rem; font-weight: 600; }
.theme-product-description { margin-top: 1.5rem; font-size: 0.95rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); overflow-wrap: break-word; word-break: break-word; }

.theme-field-label { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 0.75rem; color: var(--color-foreground); }
.theme-color-swatches { margin-top: 2rem; }
.theme-color-swatches__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-color-swatch {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	transition: all 0.2s ease;
}
.theme-color-swatch:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-color-swatch.is-selected { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-color-swatch__dot { width: 12px; height: 12px; border-radius: 50% !important; border: 1px solid var(--color-border); }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 1rem; color: var(--color-foreground); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-qty-input {
	width: 44px;
	text-align: center;
	border: none;
	background: transparent;
	font-family: var(--font-body);
	font-size: 0.9rem;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-details { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.theme-product-details__list { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-details__list li { display: flex; align-items: flex-start; }
.theme-product-details__list li::before { content: ''; width: 4px; height: 4px; border-radius: 50% !important; background: var(--color-foreground); margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-products__heading { text-align: center; margin-bottom: 3rem; }
.theme-related-products__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-text); margin-bottom: 0.25rem; }
.theme-related-products__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__title { font-size: 2.25rem; } }

/* Add-to-cart button style 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,
button.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: 0 !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: 13px !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	flex: 1 1 auto;
	min-width: 160px;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button -- overrides global rules for the card variant. */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0.75rem 1rem !important;
	border-radius: 0 !important;
	font-size: 13px !important;
	flex: none;
	min-width: 0;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* =========================================================================
   Shop archive
   ========================================================================= */

.shop-archive-main { padding: 3rem 0 5rem; }
.theme-shop-archive__header { text-align: center; margin-bottom: 3rem; }

/* =========================================================================
   WooCommerce checkout block (Section 13)
   ========================================================================= */

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2.5rem; padding-bottom: 4rem; }

.page-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; color: var(--color-primary); }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }

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__main-and-sidebar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

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,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	background: #fff;
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-accent); }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 13px;
}
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; }

/* =========================================================================
   Thank-you page
   ========================================================================= */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details { margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); padding: 0 0 1rem 0; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* =========================================================================
   404
   ========================================================================= */

.theme-404-main { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404 { text-align: center; padding: 3rem 1.5rem; }
.theme-404__title { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.1rem; color: var(--color-muted-text); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
