/* ==========================================================================
   LuxMerch Maison — theme.css
   Author: The Free Website Guys
   ========================================================================== */

:root {
	--font-display: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;
	--radius: 0rem;
	--shadow-soft: 0 4px 30px -4px hsl(0 0% 0% / 0.6);
	--shadow-elevated: 0 20px 50px -10px hsl(38 45% 60% / 0.25);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0px;
	--btn-height: 44px;
	--btn-padding: 0 2.5rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.75rem;
	--header-height: 80px;
	--checkout-gap: 2.5rem;
	--card-radius: 0px;
	--section-padding: 2rem;
	--page-gutter: 1.5rem;
}

/* ---------------------------------------------------------------------- */
/* RESET / BASE                                                           */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--color-border); }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	margin: 0;
	line-height: 1.15;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

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

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-inline: var(--page-gutter, 1.5rem);
}
@media (min-width: 1024px) {
	.container-wide { --page-gutter: 2rem; }
}

.scroll-mt-24 { scroll-margin-top: 6rem; }
.italic { font-style: italic; }
.hidden { display: none; }
@media (min-width: 768px) { .md\:block { display: block; } }

.text-gold-shimmer {
	background: linear-gradient(120deg, #a17a45, #ddc388 50%, #a17a45);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.text-primary { color: var(--color-primary); }

/* ---------------------------------------------------------------------- */
/* 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: transform 0.2s var(--transition-smooth), opacity 0.2s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
	white-space: nowrap;
}
.theme-btn:hover { transform: scale(1.03); }
.theme-btn:active { transform: scale(0.97); }
.theme-btn-lg { height: 48px; padding: 0 2.75rem; }
.theme-btn-primary { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-primary:hover { opacity: 0.92; }
.theme-btn-outline { background-color: transparent; color: var(--color-foreground); border: 1px solid var(--color-border); }
.theme-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-btn-secondary-invert { background-color: var(--color-background); color: var(--color-foreground); }
.theme-btn-secondary-invert:hover { background-color: var(--color-foreground); color: var(--color-background); }
.theme-btn-hero-primary { text-transform: none; background-color: var(--color-primary); color: var(--color-primary-foreground); text-transform: uppercase; }
.theme-btn-hero-outline {
	text-transform: uppercase;
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.theme-btn-hero-outline:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.single-product .single_add_to_cart_button,
.theme-contact-submit { text-transform: none; }
.theme-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* ANIMATIONS / MOTION PARITY (Section 2.1)                               */
/* ---------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealScale { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes heroLineUp { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

.hero-title-clip, .hero-subtitle-clip { overflow: hidden; padding-bottom: 0.2em; }
.hero-title-line { opacity: 0; transform: translateY(80px); animation: heroLineUp 1s var(--transition-smooth) forwards; }
.reveal-up-1 { animation-delay: 0.5s; }
.reveal-up-2 { animation-delay: 0.65s; }
.hero-subtitle { opacity: 0; transform: translateY(60px); animation: heroLineUp 1s var(--transition-smooth) forwards; animation-delay: 0.85s; }
.hero-description { opacity: 0; transform: translateY(30px); animation: revealUp 0.8s var(--transition-smooth) forwards; animation-delay: 1.05s; }
.hero-cta-row { opacity: 0; transform: translateY(30px); animation: revealUp 0.7s var(--transition-smooth) forwards; animation-delay: 1.25s; }
.hero-eyebrow-row { opacity: 0; animation: fadeIn 0.8s ease forwards; animation-delay: 0.3s; }

/* Scroll-reveal items: hidden until observed, per-element stagger handled via nth-child delay */
.scroll-reveal-section .reveal-item,
.theme-product-card-wrap.reveal-item {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.scroll-reveal-section .reveal-scale {
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.scroll-reveal-section .reveal-item.is-visible,
.theme-product-card-wrap.reveal-item.is-visible,
.scroll-reveal-section .reveal-scale.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* Customizer preview fallback — never hide content in the editor (Section 2.1.5) */
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item,
body.is-customizer .reveal-scale {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.hero-title-line, .hero-subtitle, .hero-description, .hero-cta-row, .hero-eyebrow-row,
	.scroll-reveal-section .reveal-item, .theme-product-card-wrap.reveal-item, .scroll-reveal-section .reveal-scale {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ---------------------------------------------------------------------- */
/* HEADER                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
body:not(.theme-no-hero) .site-header:not(.is-solid) .site-nav-links a,
body:not(.theme-no-hero) .site-header:not(.is-solid) .theme-nav-link,
body:not(.theme-no-hero) .site-header:not(.is-solid) .cart-toggle-btn,
body:not(.theme-no-hero) .site-header:not(.is-solid) .mobile-menu-toggle {
	color: #fff;
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-nav { height: 5rem; } }
.site-brand { display: flex; align-items: center; }
.site-logo-img { height: var(--logo-height, 44px) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--color-foreground); }
.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
	font-family: var(--font-body);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	position: relative;
	transition: color 0.3s ease;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	display: inline;
}
.theme-nav-link::after {
	content: '';
	position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
	background: var(--color-primary);
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-link:hover { color: var(--color-foreground); }
.theme-nav-link:hover::after { transform: scaleX(1); }

.cart-toggle-btn { position: relative; padding: 0.5rem; color: var(--color-foreground); transition: color 0.3s ease; }
.cart-toggle-btn:hover { color: var(--color-primary); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 20px; height: 20px; padding: 0 3px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 700;
	background: var(--color-primary); color: var(--color-primary-foreground);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { padding: 0.5rem; color: var(--color-foreground); }
.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle.is-active .icon-menu { display: none; }
.mobile-menu-toggle.is-active .icon-close { display: block; }
.desktop-only { display: none; }
.mobile-only { display: inline-flex; }
@media (min-width: 768px) { .desktop-only { display: flex; } .mobile-only { display: none; } }

.mobile-nav-panel { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-nav-panel.is-open { display: block; animation: fadeIn 0.4s ease; }
.mobile-nav-panel ul,
.mobile-nav-panel .theme-nav-list,
.mobile-nav-panel .theme-nav-list-mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
}
.mobile-nav-panel li {
	display: block;
	width: 100%;
}
.mobile-nav-panel .theme-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.5rem 0;
}
.mobile-nav-panel .theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 1rem; }
.theme-nav-list-mobile .theme-nav-link { text-align: left; padding: 0.5rem 0; }

/* ---------------------------------------------------------------------- */
/* HERO                                                                    */
/* ---------------------------------------------------------------------- */
.hero-section {
	position: relative;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--color-background);
	padding-top: 6rem;
	padding-bottom: 3rem;
	overflow: hidden;
}
.hero-bg-wrap { position: absolute; inset: 0; }
.hero-bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.hero-overlay-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.70); pointer-events: none; }
.hero-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, transparent, color-mix(in srgb, var(--color-background) 90%, transparent)); pointer-events: none; }
.hero-content { position: relative; z-index: 10; text-align: center; padding-block: 5rem; }
.hero-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--color-primary); display: block; }
.hero-eyebrow-text { font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; }
.hero-title-line {
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 12vh, 8rem);
	letter-spacing: -0.02em;
	line-height: 0.95;
	color: var(--color-foreground);
}
.hero-title-highlight { font-style: italic; line-height: 1.35; }
.hero-subtitle {
	font-family: var(--font-body);
	font-size: clamp(0.75rem, 2vh, 1.125rem);
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-top: 0.5rem;
}
.hero-description {
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	max-width: 36rem;
	margin: 2rem auto 2.5rem;
	font-size: 1rem;
}
@media (min-width: 768px) { .hero-description { font-size: 1.125rem; } }
.hero-cta-row { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; padding: 0 1rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }

/* ---------------------------------------------------------------------- */
/* SHOP SECTION                                                            */
/* ---------------------------------------------------------------------- */
.shop-section { padding-block: 5rem; }
@media (min-width: 768px) { .shop-section { padding-block: 7rem; } }
.shop-header { text-align: center; margin-bottom: 3.5rem; }
.shop-eyebrow { display: block; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; }
.shop-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 4.5rem; } }

.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 1.5rem; }
.shop-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); pointer-events: none; }
.shop-search-input {
	width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem;
	background: color-mix(in srgb, var(--color-card) 50%, transparent);
	border: 1px solid var(--color-border);
	font-size: 0.875rem;
	transition: border-color 0.3s ease;
}
.shop-search-input:focus { outline: none; border-color: var(--color-primary); }
.shop-search-input::placeholder { color: var(--color-muted-foreground); }

.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; padding: 0 0.25rem; }
.shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; padding: 0 0.25rem; }
.theme-cat-filter {
	padding: 0.6rem 1.25rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	font-weight: 600;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter-toggle {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 600;
	color: var(--color-muted-foreground);
	transition: color 0.3s ease;
}
.shop-price-filter-toggle:hover { color: var(--color-foreground); }
.chevron-icon { transition: transform 0.3s ease; }
.shop-price-filter-toggle.is-open .chevron-icon { transform: rotate(180deg); }
.shop-price-filter-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-filter-panel.is-open { max-height: 200px; opacity: 1; padding: 0.5rem 0; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.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-secondary); }
.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: 18px; height: 18px; border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
}
.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-foreground); }

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

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap.is-filtered-out { display: none !important; }
.theme-product-card { display: flex; flex-direction: column; width: 100%; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1rem;
	padding: 1.5rem;
}
.theme-product-card__image { padding: 1.5rem; transition: transform 0.6s ease; object-fit: contain; position: absolute; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-card__image-hover { position: absolute; inset: 0; background: transparent; transition: background-color 0.5s ease; }
.theme-product-card:hover .theme-product-card__image-hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-card-badge {
	position: absolute; top: 0.5rem; left: 0.5rem;
	padding: 0.4rem 0.75rem;
	font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	background: var(--color-foreground); color: var(--color-background);
	z-index: 2;
}
@media (min-width: 768px) { .theme-card-badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-card__title { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 600; }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

.shop-empty-state { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.shop-show-more-row { text-align: center; margin-top: 2.5rem; }
.shop-show-more-row[hidden], .shop-show-more-row.is-hidden { display: none; }

/* ---------------------------------------------------------------------- */
/* CTA BANNER                                                              */
/* ---------------------------------------------------------------------- */
.cta-banner-section { padding-bottom: 5rem; }
.cta-banner {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 3rem 1.5rem;
	color: var(--color-primary-foreground);
	background: linear-gradient(135deg, #a17a45, var(--color-primary) 50%, #ddc388);
}
@media (min-width: 768px) { .cta-banner { padding: 5rem 3rem; } }
.cta-banner-noise {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 3px 3px;
	pointer-events: none;
}
.cta-banner-title { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 1rem; position: relative; }
@media (min-width: 768px) { .cta-banner-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .cta-banner-title { font-size: 4.5rem; } }
.cta-banner-desc { opacity: 0.9; max-width: 28rem; margin: 0 auto 2rem; font-size: 1.125rem; position: relative; }

/* ---------------------------------------------------------------------- */
/* FAQ SECTION                                                             */
/* ---------------------------------------------------------------------- */
.faq-section { padding-block: 5rem; }
@media (min-width: 768px) { .faq-section { padding-block: 7rem; } }
.faq-header { text-align: center; margin-bottom: 3.5rem; }
.faq-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; }
.faq-eyebrow-line { width: 32px; height: 1px; background: var(--color-primary); display: inline-block; }
.faq-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 0.95; margin-top: 1.25rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 4.5rem; } }
.faq-accordion-wrap { max-width: 48rem; margin: 0 auto; }
.theme-accordion-item { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.125rem;
	padding: 1.5rem 0;
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-accordion-trigger { font-size: 1.25rem; } }
.theme-accordion-trigger:hover { color: var(--color-primary); }
.theme-accordion-chevron { transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.theme-accordion-item.is-open .theme-accordion-chevron { transform: rotate(180deg); }
.theme-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth); }
.theme-accordion-item.is-open .theme-accordion-content { max-height: 400px; }
.theme-accordion-content-inner { padding-bottom: 1.5rem; font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }

/* ---------------------------------------------------------------------- */
/* CONTACT SECTION                                                         */
/* ---------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; }
.contact-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.contact-bg-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 85%, transparent), color-mix(in srgb, var(--color-background) 70%, transparent), color-mix(in srgb, var(--color-background) 95%, transparent)); }
.contact-bg-radial { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, color-mix(in srgb, var(--color-background) 60%, transparent) 100%); }
.contact-content { position: relative; z-index: 10; padding-block: 6rem; }
@media (min-width: 768px) { .contact-content { padding-block: 9rem; } }
.contact-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.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-primary); font-weight: 600; }
.contact-eyebrow-line { width: 32px; height: 1px; background: var(--color-primary); display: inline-block; }
.contact-heading { font-family: var(--font-display); font-size: 3rem; text-transform: uppercase; line-height: 0.9; margin: 1.5rem 0; }
@media (min-width: 768px) { .contact-heading { font-size: 4.5rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 6rem; } }
.contact-description { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1.125rem; max-width: 36rem; margin: 0 auto 3rem; }
.theme-contact-modal-trigger {
	position: relative;
	display: inline-flex; align-items: center; gap: 1rem;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 1.25rem 2.5rem;
	text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; font-size: 0.875rem;
	overflow: hidden;
}
@media (min-width: 768px) { .theme-contact-modal-trigger { padding: 1.5rem 3.5rem; font-size: 1rem; } }
.theme-contact-modal-trigger::before {
	content: ''; position: absolute; inset: 0;
	background: var(--color-foreground);
	transform: translateY(100%);
	transition: transform 0.5s ease-out;
}
.theme-contact-modal-trigger:hover::before { transform: translateY(0); }
.theme-contact-modal-trigger span { position: relative; display: flex; align-items: center; gap: 1rem; transition: color 0.5s ease; }
.theme-contact-modal-trigger:hover span { color: var(--color-background); }

.contact-strip { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, 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) 70%, transparent); }
.contact-strip-link { display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s ease; }
.contact-strip-link svg { color: var(--color-primary); }
.contact-strip-link:hover { color: var(--color-primary); }

/* Contact Modal */
.theme-contact-modal-backdrop {
	position: fixed; inset: 0; z-index: 60;
	background: color-mix(in srgb, var(--color-background) 70%, transparent);
	backdrop-filter: blur(8px);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.theme-contact-modal {
	position: fixed; inset: 0; z-index: 61;
	display: flex; align-items: center; justify-content: center;
	padding: 1rem;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.35s var(--transition-smooth), visibility 0.35s var(--transition-smooth);
}
.theme-contact-modal-backdrop.is-open,
.theme-contact-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.theme-contact-modal-panel {
	position: relative;
	width: 100%; max-width: 36rem; max-height: 90vh; overflow: hidden;
	background: color-mix(in srgb, var(--color-card) 40%, transparent);
	backdrop-filter: blur(24px);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	box-shadow: 0 20px 80px -20px color-mix(in srgb, var(--color-primary) 40%, transparent);
	padding: 2rem;
	transform: scale(0.92) translateY(30px);
	transition: transform 0.45s var(--transition-smooth);
}
@media (min-width: 768px) { .theme-contact-modal-panel { padding: 2.5rem; } }
.theme-contact-modal.is-open .theme-contact-modal-panel { transform: scale(1) translateY(0); }
.theme-contact-modal-glow-1 { position: absolute; top: -5rem; right: -5rem; width: 15rem; height: 15rem; background: color-mix(in srgb, var(--color-primary) 30%, transparent); filter: blur(60px); pointer-events: none; z-index: 0; }
.theme-contact-modal-glow-2 { position: absolute; bottom: -5rem; left: -5rem; width: 15rem; height: 15rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); filter: blur(60px); pointer-events: none; z-index: 0; }
.theme-contact-modal-close {
	position: absolute; top: 1rem; right: 1rem; z-index: 10;
	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); }
#contact-modal-form-state,
#contact-modal-success-state { position: relative; z-index: 1; }
.theme-contact-modal-eyebrow { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; }
.theme-contact-modal-title { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; margin-top: 0.5rem; line-height: 1; position: relative; }
@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-label { font-size: 10px; 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-input {
	width: 100%; padding: 0.75rem 1rem;
	background: color-mix(in srgb, var(--color-background) 40%, transparent);
	backdrop-filter: blur(4px);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	font-size: 0.875rem;
	transition: all 0.3s ease;
}
.theme-contact-input::placeholder { color: var(--color-muted-foreground); }
.theme-contact-input:focus { outline: none; border-color: var(--color-primary); background: color-mix(in srgb, var(--color-background) 60%, transparent); }
.theme-contact-textarea { resize: none; }
.theme-contact-submit { width: 100%; letter-spacing: 0.2em; }
.theme-contact-form.is-submitting { opacity: 0.7; pointer-events: none; }
.theme-contact-success { text-align: center; padding: 2.5rem 0; }
.theme-contact-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-success-title { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-contact-success-text { color: var(--color-muted-foreground); }
.theme-contact-form-error { color: #d92626; font-size: 0.8rem; margin-top: -0.5rem; }

/* ---------------------------------------------------------------------- */
/* ABOUT SECTION                                                           */
/* ---------------------------------------------------------------------- */
.about-section { background: var(--color-card); position: relative; overflow: hidden; }
.about-glow-1 { position: absolute; top: -8rem; right: -5rem; width: 28rem; height: 28rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); filter: blur(80px); pointer-events: none; }
.about-glow-2 { position: absolute; bottom: -8rem; left: -5rem; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-primary) 5%, transparent); filter: blur(80px); pointer-events: none; }
.about-inner { position: relative; padding-block: 4rem; }
@media (min-width: 768px) { .about-inner { padding-block: 6rem; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.about-image-col { display: flex; justify-content: center; }
@media (min-width: 1024px) { .about-image-col { justify-content: flex-start; } }
.about-image-frame-wrap { position: relative; }
.about-image-glow { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 20%, transparent); filter: blur(60px); transform: scale(0.9); }
.about-image-frame { position: relative; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); padding: 0.5rem; overflow: hidden; }
.about-image-frame-wrap .about-image { position: relative; width: 100%; max-width: 28rem; height: 20rem; }
@media (min-width: 768px) { .about-image-frame-wrap .about-image { height: 28rem; } }
.about-image-badge { position: absolute; bottom: -1rem; right: -1rem; background: var(--color-primary); color: var(--color-primary-foreground); padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; }
@media (max-width: 767px) {
	.about-image-badge { bottom: 0.25rem; right: 0.25rem; }
}
.about-eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.about-eyebrow-line { width: 40px; height: 1px; background: var(--color-primary); }
.about-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; }
.about-heading { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }
.about-paragraph { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 42rem; }
@media (min-width: 768px) { .about-paragraph { font-size: 1.125rem; } }
.about-paragraph-1 { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.about-paragraph-2 { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.about-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; padding: 1.25rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.about-stat-label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; }
.about-stat-value { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; margin-top: 0.25rem; color: var(--color-primary); }
@media (min-width: 768px) { .about-stat-value { font-size: 1.5rem; } }
.about-footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 640px) { .about-footer-row { flex-direction: row; align-items: center; } }
.about-tagline { color: var(--color-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.875rem; }

/* ---------------------------------------------------------------------- */
/* FOUNDATION SECTION                                                      */
/* ---------------------------------------------------------------------- */
.foundation-section { background: var(--color-background); position: relative; overflow: hidden; border-top: 1px solid var(--color-border); }
.foundation-glow { position: absolute; top: -5rem; right: 0; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); filter: blur(80px); pointer-events: none; }
.foundation-inner { position: relative; padding-block: 4rem; }
@media (min-width: 768px) { .foundation-inner { padding-block: 6rem; } }
.foundation-header { text-align: center; margin-bottom: 3rem; }
.foundation-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }
.foundation-eyebrow-line { width: 40px; height: 1px; background: var(--color-primary); }
.foundation-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; }
.foundation-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; margin-bottom: 1rem; }
@media (min-width: 768px) { .foundation-heading { font-size: 3.75rem; } }
.foundation-description { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 42rem; margin: 0 auto; }
@media (min-width: 768px) { .foundation-description { font-size: 1.125rem; } }
.foundation-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .foundation-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.foundation-image-frame { position: relative; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); padding: 0.5rem; height: 20rem; overflow: hidden; }
@media (min-width: 768px) { .foundation-image-frame { height: 26rem; } }
.foundation-image-badge { position: absolute; bottom: -1rem; left: -1rem; background: var(--color-primary); color: var(--color-primary-foreground); padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; z-index: 2; }
@media (max-width: 767px) {
	.foundation-image-badge { bottom: 0.25rem; left: 0.25rem; }
}
.foundation-copy-col { display: flex; flex-direction: column; gap: 1.5rem; }
.foundation-mission-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .foundation-mission-title { font-size: 1.875rem; } }
.foundation-mission-text { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; }
.foundation-features-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; }
@media (min-width: 640px) { .foundation-features-grid { grid-template-columns: repeat(3, 1fr); } }
.foundation-feature-card { padding: 1.25rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-card) 50%, transparent); }
.foundation-feature-icon { color: var(--color-primary); display: block; margin-bottom: 0.75rem; }
.foundation-feature-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; margin-bottom: 0.5rem; }
.foundation-feature-text { font-size: 0.75rem; color: var(--color-muted-foreground); line-height: 1.6; }
.foundation-buttons-row { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
@media (min-width: 640px) { .foundation-buttons-row { flex-direction: row; } }
.foundation-gallery-block { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--color-border); }
.foundation-gallery-header { text-align: center; margin-bottom: 2.5rem; }
.foundation-gallery-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; }
.foundation-gallery-title { font-family: var(--font-display); font-size: 1.875rem; }
@media (min-width: 768px) { .foundation-gallery-title { font-size: 2.25rem; } }
.foundation-gallery-text { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.foundation-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .foundation-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.foundation-gallery-item { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); border: 1px solid var(--color-border); overflow: hidden; }
.foundation-gallery-item img { transition: transform 0.5s ease; }
.foundation-gallery-item:hover img { transform: scale(1.05); }
.foundation-donate-box { max-width: 36rem; margin: 0 auto; padding: 2rem; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); background: color-mix(in srgb, var(--color-card) 50%, transparent); text-align: center; }
@media (min-width: 768px) { .foundation-donate-box { padding: 2.5rem; } }
.foundation-donate-icon { color: var(--color-primary); margin: 0 auto 1rem; display: block; }
.foundation-donate-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .foundation-donate-title { font-size: 1.875rem; } }
.foundation-donate-text { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.foundation-donate-amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.foundation-donate-amount-btn { padding: 0.6rem 1.25rem; font-size: 0.875rem; border: 1px solid var(--color-border); font-weight: 600; transition: all 0.2s ease; }
.foundation-donate-amount-btn:hover, .foundation-donate-amount-btn.is-active { border-color: var(--color-primary); color: var(--color-primary); }
.foundation-donate-submit-btn { width: 100%; margin-top: 0.5rem; display: inline-flex; }
.foundation-donate-footer-note { font-size: 10px; color: var(--color-muted-foreground); margin-top: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------------------------------------------------------------------- */
/* FOOTER                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-background); }
.site-footer-inner { padding-block: 3rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-block: 4rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.footer-logo-img { height: 3rem !important; }
.footer-description { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 24rem; line-height: 1.6; }
.footer-tagline { margin-top: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-primary); font-weight: 600; }
.footer-col-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem; color: var(--color-primary); }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-link, .footer-mailto, .footer-tel { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.theme-footer-nav-link:hover, .footer-mailto:hover, .footer-tel:hover { color: var(--color-foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.footer-contact-list a { transition: color 0.3s ease; }
.footer-contact-list a:hover { color: var(--color-foreground); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copyright, .footer-credit { font-size: 0.75rem; color: var(--color-muted-foreground); }
.footer-credit { text-transform: uppercase; letter-spacing: 0.2em; }
.footer-credit a { text-decoration: underline; transition: color 0.3s ease; }
.footer-credit a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------- */
/* CART DRAWER + OVERLAY (Sections 12, 22.5, 31.1, 31.6)                   */
/* ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 91;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s 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 var(--color-border); }
.theme-cart-drawer-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer-close { padding: 0.25rem; transition: opacity 0.2s ease; }
.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-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item-image img { width: 100% !important; height: 100% !important; object-fit: cover; max-width: none; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-remove-btn:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }

/* ---------------------------------------------------------------------- */
/* SHOP DRAWER (parity with source ShopDrawer)                             */
/* ---------------------------------------------------------------------- */
#theme-shop-overlay {
	position: fixed; inset: 0; z-index: 50;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.shop-open #theme-shop-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
#theme-shop-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 51;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	opacity: 0;
	transition: transform 0.4s var(--transition-smooth), opacity 0.3s ease;
}
body.shop-open #theme-shop-drawer {
	transform: translateX(0);
	opacity: 1;
}
.theme-shop-drawer-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.5rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0;
}
.theme-shop-drawer-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.02em; }
.theme-shop-drawer-close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-shop-drawer-close:hover { opacity: 0.6; }
.theme-shop-drawer-body { flex: 1; overflow: auto; }
.theme-shop-drawer-all {
	width: 100%; padding: 1rem 1.5rem; border-bottom: 1px solid var(--color-border);
	text-align: left; font-family: var(--font-body); font-size: 0.875rem;
	text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
	transition: background-color 0.2s ease;
}
.theme-shop-drawer-all:hover { background: var(--color-secondary); }
.theme-shop-drawer-cat { border-bottom: 1px solid var(--color-border); }
.theme-shop-drawer-cat-row { display: flex; align-items: center; }
.theme-shop-drawer-cat-btn {
	flex: 1; padding: 1rem 1.5rem; text-align: left;
	font-family: var(--font-body); font-size: 0.875rem;
	text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
	display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	transition: background-color 0.2s ease;
}
.theme-shop-drawer-cat-btn:hover { background: var(--color-secondary); }
.theme-shop-drawer-cat-count {
	font-size: 10px; color: var(--color-muted-foreground);
	letter-spacing: normal; text-transform: none; font-weight: 400;
}
.theme-shop-drawer-cat-toggle {
	padding: 1rem; transition: background-color 0.2s ease; flex-shrink: 0;
}
.theme-shop-drawer-cat-toggle:hover { background: var(--color-secondary); }
.theme-shop-chevron { transition: transform 0.3s ease; display: block; }
.theme-shop-drawer-cat.is-expanded .theme-shop-chevron { transform: rotate(90deg); }
.theme-shop-drawer-brands {
	background: color-mix(in srgb, var(--color-secondary) 40%, transparent);
	padding: 1rem 1.5rem; animation: fadeIn 0.3s ease;
}
.theme-shop-drawer-brands-label {
	font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
	color: var(--color-muted-foreground); font-weight: 600; margin-bottom: 0.75rem;
}
.theme-shop-drawer-brands-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-shop-drawer-brand-btn {
	font-family: var(--font-body); font-size: 0.875rem; text-align: left;
	transition: color 0.2s ease;
}
.theme-shop-drawer-brand-btn:hover { color: var(--color-primary); }
.theme-shop-drawer-brands-empty {
	font-size: 0.875rem; color: var(--color-muted-foreground);
}
.theme-shop-drawer-footer { border-top: 1px solid var(--color-border); flex-shrink: 0; }
.theme-shop-drawer-foundation {
	width: 100%; padding: 1.25rem 1.5rem; text-align: left;
	font-family: var(--font-body); font-size: 0.875rem;
	text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
	display: flex; align-items: center; justify-content: space-between;
	transition: background-color 0.2s ease;
}
.theme-shop-drawer-foundation:hover { background: var(--color-secondary); }
.theme-shop-drawer-foundation-left { display: flex; align-items: center; gap: 0.75rem; }
.theme-shop-drawer-foundation-left svg { color: var(--color-primary); flex-shrink: 0; }
.theme-shop-foundation-chevron { opacity: 0.6; transition: opacity 0.2s ease, transform 0.2s ease; }
.theme-shop-drawer-foundation:hover .theme-shop-foundation-chevron { opacity: 1; transform: translateX(2px); }
body.shop-open { overflow: hidden; }

/* ---------------------------------------------------------------------- */
/* WOOCOMMERCE CORE OVERRIDES (Section 14)                                 */
/* ---------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: var(--color-card);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 0;
	padding: 1rem 1.5rem;
	font-family: var(--font-body);
	list-style: none;
}
.woocommerce-error { border-color: #d92626; }

.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: none !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; }

.theme-stock-badge { display: inline-block; padding: 0.35rem 0.75rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.theme-out-of-stock { background: var(--color-foreground); color: var(--color-background); }

/* Single Product Page (Section 11.13) */
.single-product-main { padding-top: 6rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 7rem; } }
.back-to-shop-row { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.back-to-shop-link:hover { color: var(--color-foreground); }
.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
	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-main-image-wrap { position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; padding: 2rem; }
.theme-product-main-image-wrap img { padding: 2rem; }
.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; background: var(--color-secondary); border: 2px solid transparent; opacity: 0.6; padding: 0.5rem; transition: all 0.2s ease; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb img { position: relative; object-fit: contain; padding: 0.5rem; }
.theme-product-cats { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-cats a { color: inherit; }
.product-title { font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 600; color: var(--color-primary); }
.theme-product-price .woocommerce-Price-amount { color: inherit; }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper, .theme-quantity-wrapper-outer .theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: 44px; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; background: transparent; border: none; height: 44px; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { font-size: 0.875rem; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.theme-details-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); margin-top: 0.45rem; margin-right: 0.75rem; flex-shrink: 0; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; margin-bottom: 1rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 0.875rem; font-family: var(--font-body);
	border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
	transition: all 0.2s ease; cursor: pointer;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attr-pill.is-selected {
	background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary);
}
.theme-qty-minus svg, .theme-qty-plus svg,
.theme-cart-qty-btn svg { display: block; pointer-events: none; }

.related-products-section { padding-top: 5rem; border-top: 1px solid var(--color-border); }
.related-products-title { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-title { font-size: 1.5rem; } }

/* Shop archive */
.shop-archive-main { padding-top: 6rem; }
.theme-empty-state { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------- */
/* CHECKOUT BLOCK OVERRIDES (Section 13)                                   */
/* ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main.generic-page-main {
	padding-top: 6rem;
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main.generic-page-main {
		padding-top: 7rem;
	}
}
body.woocommerce-checkout .page-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title { font-size: 2.25rem; }
}
body.woocommerce-checkout .entry-content {
	max-width: 100%;
	overflow-x: hidden;
}
body.woocommerce-checkout .wc-block-checkout {
	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 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .woocommerce form-row input.input-text,
body.woocommerce-checkout .woocommerce form-row select,
body.woocommerce-checkout .woocommerce form-row textarea,
body.woocommerce-checkout .woocommerce-input-wrapper input,
body.woocommerce-checkout .woocommerce-input-wrapper select,
body.woocommerce-checkout .select2-container .select2-selection--single,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control .components-button,
body.woocommerce-checkout .wc-block-components-combobox-control button,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select-control,
body.woocommerce-checkout .wc-block-components-select__select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: var(--color-foreground) !important;
	background: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0 !important;
	padding: revert;
	height: auto;
	box-shadow: none !important;
}
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-textarea textarea:focus,
body.woocommerce-checkout .woocommerce form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce form-row select:focus,
body.woocommerce-checkout .woocommerce form-row textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-combobox-control .components-button:focus,
body.woocommerce-checkout .wc-block-components-combobox-control button:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select-control:focus,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
	outline: none !important;
	border-color: var(--color-border) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .woocommerce form-row input.input-text::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
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: none !important;
	font-weight: 600 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0;
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

/* ---------------------------------------------------------------------- */
/* THANK YOU PAGE (Section 22.8)                                          */
/* ---------------------------------------------------------------------- */
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-top: 2rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border: none; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); }
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 address {
	max-width: 480px;
	overflow-wrap: break-word;
	border: 1px solid var(--color-border);
	padding: 1rem;
}
@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; }
}

/* ---------------------------------------------------------------------- */
/* CART / ACCOUNT PAGES WIDTH PARITY (Section 13.7)                        */
/* ---------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; }

/* ---------------------------------------------------------------------- */
/* GENERIC PAGE / 404                                                      */
/* ---------------------------------------------------------------------- */
.generic-page-main { padding-top: 6rem; padding-bottom: 4rem; }
.generic-page-main .page-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1.5rem; }
.not-found-main { padding-top: 8rem; padding-bottom: 6rem; }
.not-found-title { font-family: var(--font-display); font-size: 4rem; margin-bottom: 1rem; }
.not-found-text { color: var(--color-muted-foreground); margin-bottom: 2rem; font-size: 1.25rem; }

/* Home hero must sit under fixed header without extra top padding */
body.theme-no-hero .site-main { padding-top: var(--header-height, 80px); }

/* Customizer media control admin styling */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
