/* =========================================================================
 * Khloe's Konfections — theme.css
 * ========================================================================= */

:root {
	--color-background: #faf8f5;
	--color-foreground: #141414;
	--color-secondary: #f3eee8;
	--color-muted-foreground: #55606d;
	--color-accent: #c59b30;
	--color-border: #dbd6cc;
	--color-rosa: #daa4b2;
	--color-marigold: #c59b30;
	--color-teal: #824f59;
	--color-lilac: #e5d2d8;

	--color-primary: var(--color-foreground);
	--color-primary-foreground: var(--color-background);
	--color-secondary-foreground: var(--color-foreground);
	--color-accent-foreground: var(--color-foreground);
	--color-nopal: var(--color-foreground);
	--color-card: #ffffff;
	--color-muted: color-mix(in srgb, var(--color-secondary) 80%, var(--color-foreground) 5%);
	--color-button-text: var(--color-background);

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Montserrat', Arial, sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--logo-height: 60px;
	--header-height: 92px;
	--header-height-mobile: 72px;

	--shadow-soft: 0 4px 20px -4px rgba(20, 20, 20, 0.12);
	--shadow-elevated: 0 14px 44px -14px rgba(20, 20, 20, 0.28);
	--shadow-glow: 0 0 60px -14px rgba(197, 155, 48, 0.5);

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0.75rem 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;
}

/* =========================================================================
 * RESET / BASE
 * ========================================================================= */

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .font-display {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.005em;
	margin: 0;
	line-height: 1.05;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
.site-logo, .theme-nav-link, .theme-nav-list a, .theme-footer-nav-link, .service-card__cta, .notfound-page__link, .faq-tab, .faq-item__question, .theme-modal__close, .cart-toggle, .mobile-menu-toggle, .category-tile, label[for] { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: color-mix(in srgb, var(--color-accent) 25%, transparent); }

img:not(.cover-img):not(.hero-video):not(.theme-product-card-img):not(.product-cover-img):not(.product-thumb-img):not(.theme-product-hero-img):not(.theme-product-thumb-img):not(.hero-bg-img):not(.about-media img):not(.manifesto-image-wrap img):not(.final-cta-bg-img):not(.theme-related-product__img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .theme-product-card-img, .product-cover-img, .product-thumb-img, .about-media img, .manifesto-image-wrap img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	min-width: 0;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

/* Prevent flex/grid children from forcing horizontal scroll */
main,
.site-main,
.scroll-reveal-section,
.hero-section,
.shop-section,
.theme-checkout-shell,
.theme-product-layout,
.generic-page,
.theme-modal__panel {
	min-width: 0;
	max-width: 100%;
}

.hero-actions,
.hero-features,
.final-cta-actions,
.final-cta-notes {
	max-width: 100%;
	flex-wrap: wrap;
}

table { max-width: 100%; }

.text-accent { color: var(--color-accent); }
.tone-primary { color: var(--color-primary); }
.tone-accent { color: var(--color-accent); }
.tone-teal { color: var(--color-teal); }
.tone-nopal { color: var(--color-nopal); }
.tone-marigold { color: var(--color-marigold); }
.tone-rosa { color: var(--color-rosa); }
.tone-lilac { color: var(--color-lilac); }

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* =========================================================================
 * BUTTONS
 * ========================================================================= */

.theme-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	min-height: var(--btn-height);
	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.3s var(--transition-smooth);
	border: 1px solid transparent;
	white-space: nowrap;
}
.theme-btn--primary { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.theme-btn--gold { background: var(--color-accent); color: var(--color-accent-foreground); box-shadow: 0 10px 30px -6px color-mix(in srgb, var(--color-accent) 30%, transparent); position: relative; overflow: hidden; }
.theme-btn--gold:hover { background: color-mix(in srgb, var(--color-accent) 90%, transparent); transform: translateY(-2px) scale(1.02); }
.theme-btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.theme-btn--outline:hover { background: var(--color-primary); color: var(--color-primary-foreground); transform: translateY(-2px); }
.theme-btn--outline-light { background: transparent; color: var(--color-background); border-color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.theme-btn--outline-light:hover { background: color-mix(in srgb, var(--color-background) 10%, transparent); }
.theme-btn--outline-accent { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.theme-btn--outline-accent:hover { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn--soft { background: color-mix(in srgb, var(--color-background) 70%, transparent); color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-btn--soft:hover { background: var(--color-background); }
.theme-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-btn--primary, .single_add_to_cart_button, .add_to_cart_button, .btn-hero-primary, .btn-hero-outline { text-transform: none; }
.theme-btn--gold, .theme-btn--outline, .theme-btn--outline-light, .theme-btn--outline-accent, .shop-cat-pill, .category-tile__label, .faq-tab, .about-chip {
	text-transform: uppercase;
}

/* =========================================================================
 * HEADER
 * ========================================================================= */

body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(8px);
	box-shadow: var(--shadow-soft);
	height: var(--header-height-mobile);
	transition: background 0.3s ease;
}
@media (min-width: 768px) { .site-header { height: var(--header-height); } }
body.mobile-nav-open .site-header {
	background: var(--color-background);
	box-shadow: var(--shadow-soft);
}

.site-header__inner { height: 100%; min-width: 0; max-width: 100%; }
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	min-width: 0;
	gap: 0.75rem;
}
.site-nav__col { display: none; align-items: center; gap: 2.5rem; flex: 1; min-width: 0; }
.site-nav__col--left { justify-content: flex-start; }
.site-nav__col--right { justify-content: flex-end; gap: 2.5rem; }
@media (min-width: 1024px) { .site-nav__col { display: flex; } }

.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-link, .theme-nav-list a {
	font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	position: relative; padding-bottom: 4px;
	transition: color 0.3s ease;
}
.theme-nav-link::after, .theme-nav-list a::after {
	content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
	background: var(--color-accent); transform: scaleX(0); transform-origin: right;
	transition: transform 0.3s ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-accent); }
.theme-nav-link:hover::after, .theme-nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-logo { display: none; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 1rem; }
@media (min-width: 1024px) { .site-logo { display: flex; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; max-height: 76px; object-fit: contain; border-radius: 0.5rem; transition: transform 0.5s var(--transition-smooth); }
.site-logo:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { line-height: var(--logo-height); font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }

.cart-toggle {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	transition: border-color 0.3s ease, color 0.3s ease;
}
.cart-toggle:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-cart-count {
	position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 4px;
	background: var(--color-accent); color: var(--color-accent-foreground);
	border-radius: 999px; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-nav__mobile { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 1024px) { .site-nav__mobile { display: none; } }
@media (max-width: 1023px) {
	.site-nav { justify-content: space-between; }
	.site-logo {
		display: flex;
		margin: 0;
		flex: 1;
		min-width: 0;
		justify-content: flex-start;
		max-width: calc(100% - 6.5rem);
	}
	.site-logo-img { height: 48px !important; max-height: 48px !important; }
}
.mobile-menu-toggle {
	padding: 0.5rem;
	margin-right: -0.5rem;
	transition: opacity 0.3s ease;
}
.mobile-menu-toggle:hover { opacity: 0.6; }
.mobile-menu-toggle__icon { display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu-toggle__icon[hidden] { display: none !important; }

.mobile-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	background: var(--color-background);
	border-top: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
	max-height: calc(100dvh - var(--header-height-mobile));
	overflow-x: clip;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
	.mobile-nav { max-height: calc(100dvh - var(--header-height)); }
}
body.mobile-nav-open .mobile-nav { display: block; }
body.mobile-nav-open { overflow: hidden; }

.mobile-nav__inner {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
.mobile-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
}
.mobile-nav-list + .mobile-nav-list { margin-top: 0; }
.mobile-nav-link,
.mobile-nav-list a {
	display: block;
	width: 100%;
	padding: 1rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	text-align: left;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	transition: color 0.3s ease;
}
.mobile-nav-list > li:last-child > .mobile-nav-link,
.mobile-nav-list > li:last-child > a { border-bottom: none; }
.mobile-nav-link:hover,
.mobile-nav-list a:hover { color: var(--color-accent); }

/* Fallback / WP menus that still output desktop list classes inside the mobile panel */
.mobile-nav .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
}
.mobile-nav .theme-nav-list a {
	display: block;
	width: 100%;
	padding: 1rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	font-size: 14px;
	text-align: left;
	position: static;
}
.mobile-nav .theme-nav-list a::after { display: none; }
.mobile-nav .theme-nav-list > li:last-child > a { border-bottom: none; }

body.theme-no-hero .site-header { background: color-mix(in srgb, var(--color-background) 95%, transparent); }

/* =========================================================================
 * HERO
 * ========================================================================= */

.hero-section { position: relative; }
.hero-media { position: relative; width: 100%; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--color-foreground); }
@media (min-width: 768px) { .hero-media { min-height: 100dvh; } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 65%, transparent) 0%, color-mix(in srgb, var(--color-foreground) 40%, transparent) 45%, color-mix(in srgb, var(--color-foreground) 80%, transparent) 100%); }
.hero-content { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 7rem 0.5rem 8rem; }
@media (min-width: 768px) { .hero-content { min-height: 100dvh; padding: 8rem 0 8rem; } }
.hero-content__inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 64rem; padding: 0 0.5rem; }

.hero-badge {
	display: inline-flex; align-items: center; gap: 0.625rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-background) 30%, transparent);
	background: color-mix(in srgb, var(--color-background) 10%, transparent);
	backdrop-filter: blur(4px);
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
	color: var(--color-background); font-weight: 600; margin-bottom: 2rem;
}
.hero-badge svg { color: var(--color-accent); width: 14px; height: 14px; }

.hero-title {
	color: var(--color-background); text-transform: uppercase; line-height: 0.86; letter-spacing: -0.01em;
	font-size: clamp(3.25rem, 12vw, 9rem);
	font-weight: 600;
}
.text-gradient-gold {
	background: linear-gradient(100deg, var(--color-marigold), var(--color-accent), var(--color-marigold));
	background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: goldPan 7s linear infinite;
}
@keyframes goldPan { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.hero-subtitle { margin-top: 1.75rem; max-width: 36rem; color: color-mix(in srgb, var(--color-background) 85%, transparent); font-size: 1rem; line-height: 1.7; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-bounce { animation: heroBounce 1.6s ease-in-out infinite; }
@keyframes heroBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.hero-features { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.75rem 0.75rem; font-size: 13px; color: color-mix(in srgb, var(--color-background) 75%, transparent); }
@media (min-width: 768px) { .hero-features { font-size: 14px; } }
.hero-features span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-features svg { color: var(--color-accent); width: 16px; height: 16px; }

/* =========================================================================
 * MARQUEE
 * ========================================================================= */

.marquee-section { background: var(--color-primary); color: var(--color-primary-foreground); padding: 1rem 0; overflow: hidden; border-top: 1px solid var(--color-primary); border-bottom: 1px solid var(--color-primary); }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item { display: flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem; }
.marquee-text { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.14em; }
@media (min-width: 768px) { .marquee-text { font-size: 1.875rem; } }
.marquee-item svg { color: var(--color-accent); width: 20px; height: 20px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================================
 * SECTION HEADING BLOCKS (Section 2.2.5 — per-section scoped scales)
 * ========================================================================= */

.section-heading-block { text-align: center; margin-bottom: 3rem; }
@media (max-width: 767px) {
	h2.section-heading {
		margin-bottom: 15px;
	}
}
.section-kicker {
	display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--color-accent); font-weight: 600; margin-bottom: 0.75rem;
}
.section-kicker--center { justify-content: center; width: 100%; }
.section-subtitle { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }

.about-section__heading, .featured-section__heading, .services-section__heading, .faq-section__heading {
	font-size: 2.25rem; text-transform: uppercase; line-height: 0.92; font-weight: 600;
}
@media (min-width: 768px) { .about-section__heading, .featured-section__heading, .services-section__heading, .faq-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .about-section__heading, .featured-section__heading, .services-section__heading, .faq-section__heading { font-size: 4.5rem; } }

.events-section__heading { font-size: 2.25rem; text-transform: uppercase; line-height: 0.92; font-weight: 600; }
@media (min-width: 768px) { .events-section__heading { font-size: 3.75rem; } }

.shop-heading { font-size: 2.25rem; text-transform: uppercase; line-height: 0.92; font-weight: 600; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 4.5rem; } }

.final-cta-section__heading { font-size: 3rem; text-transform: uppercase; line-height: 0.9; font-weight: 600; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .final-cta-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .final-cta-section__heading { font-size: 4.5rem; } }

/* =========================================================================
 * CATEGORIES
 * ========================================================================= */

.categories-section { padding: 4rem 0 5rem; }
.category-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 2.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .category-tiles { flex-wrap: nowrap; gap: 1.5rem; } }

.category-tile { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; }
@media (min-width: 1024px) { .category-tile { flex: 1; min-width: 0; } }
.category-tile__circle {
	width: 7rem; height: 7rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	transition: all 0.5s var(--transition-smooth); margin-bottom: 1.25rem;
	box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 30%, transparent);
}
@media (min-width: 768px) { .category-tile__circle { width: 9rem; height: 9rem; } }
@media (min-width: 1024px) { .category-tile__circle { width: 7rem; height: 7rem; } }
@media (min-width: 1280px) { .category-tile__circle { width: 8rem; height: 8rem; } }
.category-tile.tone-primary .category-tile__circle { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.category-tile.tone-accent .category-tile__circle { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); }
.category-tile.tone-teal .category-tile__circle { background: color-mix(in srgb, var(--color-teal) 10%, transparent); color: var(--color-teal); }
.category-tile:hover .category-tile__circle { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.category-tile__circle svg { width: 2.75rem; height: 2.75rem; transition: transform 0.5s var(--transition-smooth); }
.category-tile:hover .category-tile__circle svg { transform: translateY(-4px); }
.category-tile__label { font-size: 1rem; letter-spacing: 0.06em; font-weight: 600; }
@media (min-width: 768px) { .category-tile__label { font-size: 1.125rem; } }

/* =========================================================================
 * FEATURED
 * ========================================================================= */

.featured-section { padding: 4rem 0 6rem; }
.featured-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; max-width: 56rem; margin: 0 auto; }
.featured-grid > * { width: 100%; max-width: 24rem; }
.section-cta-center { text-align: center; margin-top: 3.5rem; }

/* =========================================================================
 * ABOUT
 * ========================================================================= */

.about-section { padding: 5rem 0 7rem; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-media { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/5; min-height: 320px; }
@media (min-width: 1024px) { .about-media { aspect-ratio: auto; height: 100%; } }
.about-content { display: flex; flex-direction: column; justify-content: center; }
.about-lead { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.125rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .about-lead { font-size: 1.25rem; } }
.about-body { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .about-body { font-size: 1.125rem; } }
.about-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.about-chip {
	display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.375rem 1rem;
	font-size: 12px; letter-spacing: 0.15em; font-weight: 600;
	border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); color: var(--color-accent);
	background: color-mix(in srgb, var(--color-accent) 5%, transparent);
	transition: all 0.3s ease;
}
.about-chip:hover { background: color-mix(in srgb, var(--color-accent) 15%, transparent); transform: translateY(-2px); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; max-width: 28rem; }
.about-stat__value { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; }
@media (min-width: 768px) { .about-stat__value { font-size: 3rem; } }
.about-stat__label { margin-top: 0.5rem; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); }

/* =========================================================================
 * MANIFESTO
 * ========================================================================= */

.manifesto-section { background: var(--color-secondary); padding: 5rem 0 7rem; }
.manifesto-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .manifesto-grid { grid-template-columns: 0.85fr 1fr; gap: 5rem; } }
.manifesto-media { position: relative; order: 1; }
.manifesto-content { order: 2; }
@media (min-width: 1024px) { .manifesto-media { order: 2; } .manifesto-content { order: 1; } }
.manifesto-image-wrap { position: relative; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); aspect-ratio: 4/5; }
.manifesto-image-wrap img { transition: transform 1.2s var(--transition-smooth); }
.manifesto-media:hover .manifesto-image-wrap img { transform: scale(1.05); }
.manifesto-badge {
	position: absolute; bottom: -1.5rem; left: 1rem; border-radius: 1rem; background: var(--color-background);
	border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); padding: 1rem 1.5rem;
	display: flex; align-items: center; gap: 0.75rem;
}
@media (min-width: 640px) { .manifesto-badge { left: auto; right: 1.5rem; } }
.manifesto-badge__icon { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.manifesto-badge__name { display: block; font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; line-height: 1; }
.manifesto-badge__label { display: block; margin-top: 0.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.manifesto-paragraph { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .manifesto-paragraph { font-size: 1.125rem; } }
.manifesto-quote {
	font-size: 1.25rem; font-style: italic; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	border-left: 2px solid var(--color-accent); padding-left: 1.5rem; margin-bottom: 2.25rem; line-height: 1.6;
}
@media (min-width: 768px) { .manifesto-quote { font-size: 1.5rem; } }
.manifesto-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .manifesto-actions { flex-direction: row; } }

/* =========================================================================
 * SERVICES
 * ========================================================================= */

.services-section { padding: 5rem 0 7rem; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.service-card {
	display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 1rem;
	background: var(--color-card); border: 1px solid var(--color-border); padding: 2.5rem 2rem;
	transition: all 0.5s ease-out;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.service-card.tone-primary:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.service-card.tone-accent:hover { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); }
.service-card.tone-teal:hover { border-color: color-mix(in srgb, var(--color-teal) 50%, transparent); }
.service-card.tone-nopal:hover { border-color: color-mix(in srgb, var(--color-nopal) 50%, transparent); }
.service-card.tone-marigold:hover { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.service-card.tone-rosa:hover { border-color: color-mix(in srgb, var(--color-rosa) 50%, transparent); }

.service-card__icon {
	margin-bottom: 1.5rem; display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center;
	border-radius: 1rem; transition: all 0.5s ease;
}
.service-card.tone-primary .service-card__icon { background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); }
.service-card.tone-accent .service-card__icon { background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.service-card.tone-teal .service-card__icon { background: color-mix(in srgb, var(--color-teal) 15%, transparent); color: var(--color-teal); }
.service-card.tone-nopal .service-card__icon { background: color-mix(in srgb, var(--color-nopal) 15%, transparent); color: var(--color-nopal); }
.service-card.tone-marigold .service-card__icon { background: color-mix(in srgb, var(--color-marigold) 15%, transparent); color: var(--color-marigold); }
.service-card.tone-rosa .service-card__icon { background: color-mix(in srgb, var(--color-rosa) 15%, transparent); color: var(--color-rosa); }
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(3deg); }

.service-card__kicker { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.service-card.tone-primary .service-card__kicker, .service-card.tone-primary .service-card__cta { color: var(--color-primary); }
.service-card.tone-accent .service-card__kicker, .service-card.tone-accent .service-card__cta { color: var(--color-accent); }
.service-card.tone-teal .service-card__kicker, .service-card.tone-teal .service-card__cta { color: var(--color-teal); }
.service-card.tone-nopal .service-card__kicker, .service-card.tone-nopal .service-card__cta { color: var(--color-nopal); }
.service-card.tone-marigold .service-card__kicker, .service-card.tone-marigold .service-card__cta { color: var(--color-marigold); }
.service-card.tone-rosa .service-card__kicker, .service-card.tone-rosa .service-card__cta { color: var(--color-rosa); }

.service-card__title { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 1rem; line-height: 1.2; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; } }
.service-card__desc { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; max-width: 17rem; margin-bottom: 2rem; flex-grow: 1; }
.service-card__cta { display: inline-flex; align-items: center; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-top: auto; }
.service-card__cta:hover { opacity: 0.8; }
.service-card__cta svg { margin-left: 0.25rem; width: 1rem; height: 1rem; transition: transform 0.3s ease; }
.service-card__cta:hover svg { transform: translateX(4px); }

/* =========================================================================
 * EVENTS BANNER
 * ========================================================================= */

.events-section { background: var(--color-primary); color: var(--color-primary-foreground); padding: 4rem 0; }
@media (min-width: 768px) { .events-section { padding: 5rem 0; } }
.events-section__inner { text-align: center; }
.events-content { max-width: 42rem; margin: 0 auto; }
.events-content > svg { color: var(--color-accent); display: block; margin: 0 auto 1.25rem; width: 2rem; height: 2rem; }
.events-section .section-kicker--center { color: var(--color-accent); margin-bottom: 0.75rem; }
.events-paragraph { font-size: 1rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); margin: 0 0 2rem; line-height: 1.6; }
@media (min-width: 768px) { .events-paragraph { font-size: 1.125rem; } }
/* Match Lovable events CTA: px-7 py-3, compact single-line pill (~44px tall) */
.events-section .events-cta.theme-btn--outline-accent {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 0;
	padding: 0.75rem 1.75rem;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1;
	white-space: nowrap;
}
.events-section .events-cta .btn-text { display: inline; }
.events-section .events-cta svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* =========================================================================
 * SHOP
 * ========================================================================= */

.shop-section { background: var(--color-secondary); padding: 4rem 0 6rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-muted-foreground); }
.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-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); transition: border-color 0.3s ease;
}
.shop-search input:focus { outline: none; border-color: var(--color-foreground); }
.shop-search input::placeholder { color: var(--color-muted-foreground); }

.shop-category-pills-outer {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 1rem;
	max-width: 100%;
	min-width: 0;
}
@media (min-width: 768px) {
	.shop-category-pills-outer {
		display: block;
	}
}
.shop-category-pills-nav {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-muted-foreground);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.shop-category-pills-nav:hover:not(:disabled) {
	border-color: var(--color-accent);
	color: var(--color-accent);
}
.shop-category-pills-nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
.shop-category-pills-nav[hidden] {
	display: none !important;
}
@media (min-width: 768px) {
	.shop-category-pills-nav { display: none !important; }
}
.shop-category-pills {
	display: flex;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	gap: 0.5rem;
	padding-bottom: 0.25rem;
	scrollbar-width: none;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}
.shop-category-pills::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
	.shop-category-pills {
		flex: none;
		flex-wrap: wrap;
		justify-content: center;
		overflow: visible;
	}
}
@media (max-width: 767px) {
	.shop-category-pills-outer::before,
	.shop-category-pills-outer::after {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0.25rem;
		width: 1.25rem;
		pointer-events: none;
		z-index: 1;
		transition: opacity 0.3s ease;
	}
	.shop-category-pills-outer::before {
		left: 2.15rem;
		background: linear-gradient(to right, var(--color-secondary), transparent);
	}
	.shop-category-pills-outer::after {
		right: 2.15rem;
		background: linear-gradient(to left, var(--color-secondary), transparent);
	}
	.shop-category-pills-outer.is-at-start::before { opacity: 0; }
	.shop-category-pills-outer.is-at-end::after { opacity: 0; }
}
.shop-cat-pill {
	flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; font-weight: 600;
	border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.shop-cat-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.shop-cat-pill.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-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.shop-price-toggle:hover { color: var(--color-foreground); }
.shop-price-toggle svg { transition: transform 0.3s ease; }
.shop-price-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.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: 10rem; opacity: 1; padding: 0.5rem 0; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* Dual-handle price range slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-accent); }
.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: 16px; height: 16px; border-radius: 50%;
	background: var(--color-background); border: 2px solid var(--color-accent); cursor: pointer; box-shadow: var(--shadow-soft);
}
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-accent); cursor: pointer; }
.range-input::-webkit-slider-runnable-track, .range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-helper-text { text-align: center; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.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 { gap: 2.5rem; } }

.shop-see-more-wrap { text-align: center; margin-top: 3rem; }
.shop-empty-state { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* =========================================================================
 * PRODUCT CARD (Section 31.9 / 31.13)
 * ========================================================================= */

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .theme-card-add-btn { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1; background: var(--color-card); border-radius: 1rem; overflow: hidden; margin-bottom: 1.25rem;
}
.theme-product-card:hover .theme-product-card__image-wrapper .theme-product-card-img { transform: scale(1.04); }
.theme-product-card-img { transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1); }

.theme-badge { position: absolute; top: 1rem; z-index: 3; padding: 0.25rem 0.75rem; border-radius: 0.375rem; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
.theme-badge--soldout { right: 1rem; background: var(--color-foreground); color: var(--color-background); }

.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart {
	position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3;
	padding: 0.75rem 1rem; border-radius: 999px; background: var(--color-teal) !important; color: var(--color-background) !important;
	border: 1px solid var(--color-teal) !important; font-size: 11px !important; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600 !important;
	opacity: 0; transform: translateY(0.5rem); transition: all 0.3s ease; min-height: unset !important; height: auto !important;
}
.theme-product-card:hover .theme-card-add-btn.add_to_cart_button { opacity: 1; transform: translateY(0); }
.theme-card-add-btn.add_to_cart_button:hover { background: var(--color-background) !important; color: var(--color-teal) !important; }

.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; flex-grow: 1; }
.theme-product-card__category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-size: 1rem; font-weight: 500; line-height: 1.35; color: var(--color-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }
.theme-product-card__price ins { text-decoration: none; }

/* =========================================================================
 * FAQ
 * ========================================================================= */

.faq-section {
	background: var(--color-background);
	padding: 5rem 0;
}
@media (min-width: 768px) {
	.faq-section { padding: 7rem 0; }
}
.faq-section__intro {
	max-width: 42rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}
@media (min-width: 768px) {
	.faq-section__intro { margin-bottom: 3.5rem; }
}
.faq-section .section-kicker {
	color: var(--color-accent);
	letter-spacing: 0.32em;
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.faq-section__heading { margin-bottom: 1.25rem; }
.faq-email-line {
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	font-size: 1rem;
	font-family: var(--font-body);
	line-height: 1.6;
}
@media (min-width: 768px) { .faq-email-line { font-size: 1.125rem; } }
.faq-email-line a {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	text-underline-offset: 4px;
	transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
.faq-email-line a:hover {
	color: var(--color-accent);
	text-decoration-color: var(--color-accent);
}

.faq-tabs {
	display: none;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-bottom: 2.5rem;
	justify-content: center;
}
@media (min-width: 768px) { .faq-tabs { display: flex; } }
.faq-tab {
	flex-shrink: 0;
	border-radius: 999px;
	border: 1px solid;
	padding: 0.625rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	font-weight: 600;
	font-family: var(--font-body);
	text-transform: uppercase;
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.faq-tab:hover { transform: translateY(-2px); }
.faq-tab.tone-nopal { border-color: var(--color-nopal); }
.faq-tab.tone-nopal:not(.is-active):hover { background: color-mix(in srgb, var(--color-nopal) 20%, transparent); }
.faq-tab.tone-nopal.is-active { background: var(--color-nopal); color: var(--color-background); border-color: var(--color-nopal); }
.faq-tab.tone-marigold { border-color: var(--color-marigold); }
.faq-tab.tone-marigold:not(.is-active):hover { background: color-mix(in srgb, var(--color-marigold) 20%, transparent); }
.faq-tab.tone-marigold.is-active { background: var(--color-marigold); color: var(--color-foreground); border-color: var(--color-marigold); }
.faq-tab.tone-teal { border-color: var(--color-teal); }
.faq-tab.tone-teal:not(.is-active):hover { background: color-mix(in srgb, var(--color-teal) 20%, transparent); }
.faq-tab.tone-teal.is-active { background: var(--color-teal); color: var(--color-background); border-color: var(--color-teal); }
.faq-tab.tone-lilac { border-color: var(--color-lilac); }
.faq-tab.tone-lilac:not(.is-active):hover { background: color-mix(in srgb, var(--color-lilac) 20%, transparent); }
.faq-tab.tone-lilac.is-active { background: var(--color-lilac); color: var(--color-foreground); border-color: var(--color-lilac); }
.faq-tab.tone-rosa { border-color: var(--color-rosa); }
.faq-tab.tone-rosa:not(.is-active):hover { background: color-mix(in srgb, var(--color-rosa) 20%, transparent); }
.faq-tab.tone-rosa.is-active { background: var(--color-rosa); color: var(--color-background); border-color: var(--color-rosa); }

.faq-panels { display: none; }
@media (min-width: 768px) { .faq-panels { display: block; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); } }
.faq-panel[hidden] { display: none; }

.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.25rem 0;
	text-align: center;
}
@media (min-width: 768px) {
	.faq-panels .faq-item__question { padding: 1.5rem 0; }
}
.faq-panels .faq-item__question { text-align: center; }
.faq-item__question span:first-child {
	flex: 1;
	font-family: var(--font-display);
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	line-height: 1.375;
	text-align: center;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.5rem; } }
.faq-item__question:hover span:first-child { color: var(--color-accent); }
.faq-item__toggle { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.faq-item__toggle svg { transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__toggle svg { transform: rotate(180deg); }
.faq-panel.tone-nopal .faq-item__toggle { border-color: var(--color-nopal); color: var(--color-nopal); }
.faq-panel.tone-nopal .faq-item.is-open .faq-item__toggle { background: var(--color-nopal); color: var(--color-background); }
.faq-panel.tone-marigold .faq-item__toggle { border-color: var(--color-marigold); color: var(--color-marigold); }
.faq-panel.tone-marigold .faq-item.is-open .faq-item__toggle { background: var(--color-marigold); color: var(--color-foreground); }
.faq-panel.tone-teal .faq-item__toggle { border-color: var(--color-teal); color: var(--color-teal); }
.faq-panel.tone-teal .faq-item.is-open .faq-item__toggle { background: var(--color-teal); color: var(--color-background); }
.faq-panel.tone-lilac .faq-item__toggle { border-color: var(--color-lilac); color: var(--color-lilac); }
.faq-panel.tone-lilac .faq-item.is-open .faq-item__toggle { background: var(--color-lilac); color: var(--color-foreground); }
.faq-panel.tone-rosa .faq-item__toggle { border-color: var(--color-rosa); color: var(--color-rosa); }
.faq-panel.tone-rosa .faq-item.is-open .faq-item__toggle { background: var(--color-rosa); color: var(--color-background); }

.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease; opacity: 0; }
.faq-item.is-open .faq-item__answer { opacity: 1; }
.faq-item__answer p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; padding-bottom: 1.5rem; max-width: 48rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .faq-item__answer p { font-size: 17px; } }

.faq-mobile { display: block; text-align: center; }
@media (min-width: 768px) { .faq-mobile { display: none; } }
.faq-mobile-cat { margin-bottom: 2.5rem; }
.faq-mobile-cat__title { display: inline-block; border-radius: 999px; border: 1px solid; padding: 0.625rem 1.25rem; font-size: 12px; letter-spacing: 0.22em; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; }
.faq-mobile-cat .faq-item__question span:first-child { font-size: 1.125rem; }

/* =========================================================================
 * FINAL CTA
 * ========================================================================= */

.final-cta-section {
	position: relative;
	overflow: hidden;
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6rem 1rem;
}
@media (min-width: 768px) {
	.final-cta-section { padding: 8rem 1rem; }
}
.final-cta-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}
.final-cta-bg-img,
.final-cta-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 1;
	filter: none;
}
.final-cta-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		color-mix(in srgb, var(--color-foreground) 65%, transparent),
		color-mix(in srgb, var(--color-foreground) 45%, transparent),
		color-mix(in srgb, var(--color-foreground) 75%, transparent)
	);
}
.final-cta-panel { position: relative; z-index: 10; width: 100%; max-width: 56rem; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); backdrop-filter: blur(6px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-background) 96%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 92%, transparent) 55%, color-mix(in srgb, var(--color-accent) 28%, transparent) 100%);
}
.final-cta-panel__inner { padding: 3.5rem 2rem; text-align: center; }
@media (min-width: 768px) { .final-cta-panel__inner { padding: 5rem 4rem; } }
.final-cta-paragraph { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .final-cta-paragraph { font-size: 1.125rem; } }
.final-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .final-cta-actions { flex-direction: row; } }
.final-cta-actions .theme-btn { font-size: 14px; text-transform: none; letter-spacing: normal; }
.final-cta-notes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.final-cta-notes span { display: inline-flex; align-items: center; gap: 0.375rem; }
.final-cta-notes__sep { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }

/* =========================================================================
 * FOOTER
 * ========================================================================= */

.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.site-footer__inner {
	padding-top: 4rem;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	.site-footer__inner {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.site-footer__top { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__logo .site-logo-img {
	height: 6rem !important;
	max-height: none !important;
	width: auto !important;
	border-radius: 0.75rem;
	object-fit: contain;
	transition: transform 0.5s var(--transition-smooth);
}
@media (min-width: 768px) {
	.site-footer__logo .site-logo-img {
		height: 8rem !important;
	}
}
.site-footer__logo:hover .site-logo-img { transform: scale(1.04); }
.site-footer__intro { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__intro { text-align: right; } }
.site-footer__tagline { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
@media (min-width: 768px) { .site-footer__tagline { font-size: 1.875rem; } }
.site-footer__desc { margin-top: 0.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.site-footer__contact-line { margin-top: 0.5rem; font-size: 14px; }
.site-footer__contact-line a { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s ease; }
.site-footer__contact-line a:hover { color: var(--color-accent); }
@media (min-width: 640px) { .site-footer__contact-line { justify-content: flex-end; display: flex; } }

.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.site-footer__col-title { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin-bottom: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__col-title svg { color: var(--color-accent); }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a, .theme-footer-nav-list button {
	font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); text-align: left; transition: all 0.3s ease; display: block;
}
.theme-footer-nav-list a:hover, .theme-footer-nav-list button:hover { color: var(--color-accent); transform: translateX(4px); }

.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__bottom-tagline { font-size: 13px; color: var(--color-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; }
.site-footer__copyright { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.site-footer__copyright a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.3s ease; }
.site-footer__copyright a:hover { color: var(--color-accent); }
.site-footer__sep { margin: 0 0.5rem; color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }

/* =========================================================================
 * SINGLE PRODUCT PAGE — ProductDetail.tsx parity
 * ========================================================================= */

body.single-product .single-product-main.single-product-page {
	padding-top: calc(var(--header-height-mobile) + 1.5rem) !important;
	padding-bottom: 6rem;
}
@media (min-width: 768px) {
	body.single-product .single-product-main.single-product-page {
		padding-top: calc(var(--header-height) + 2rem) !important;
	}
}

.single-product-breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.single-product-breadcrumb a { transition: color 0.3s ease; }
.single-product-breadcrumb a:hover { color: var(--color-foreground); }
.single-product-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product-breadcrumb .current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; padding: 1rem 0 6rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }

.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-hero-img {
	position: static !important;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}
.theme-product-main-image-wrap:hover .theme-product-hero-img { transform: scale(1.03); }

.theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails { gap: 0.75rem; } }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-secondary); border: 1px solid transparent; transition: border-color 0.3s ease; padding: 0; }
.theme-product-thumb.is-active { border-color: var(--color-foreground); }
.theme-product-thumb:hover:not(.is-active) { border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-product-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; position: static !important; }

.theme-product-info { position: static; }
@media (min-width: 1024px) {
	.theme-product-gallery {
		position: sticky;
		top: calc(var(--header-height) + 1.25rem);
		align-self: start;
	}
	.theme-product-info { padding-left: 1rem; }
}
body.admin-bar.single-product .theme-product-gallery {
	top: calc(var(--header-height-mobile) + 46px + 1rem);
}
@media (min-width: 783px) {
	body.admin-bar.single-product .theme-product-gallery {
		top: calc(var(--header-height) + 32px + 1.25rem);
	}
}
.product-category-label { display: block; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.1;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
	text-transform: none;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.product-price { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--color-foreground); font-family: var(--font-body); }
.product-lead { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; font-family: var(--font-body); }
.stock.out-of-stock { color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 8%, transparent); display: inline-block; padding: 0.25rem 0.75rem; border-radius: 0.375rem; font-size: 13px; margin-bottom: 1.5rem; }

.theme-product-field-label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	margin: 0 0 0.75rem;
}
.theme-product-variation-row { margin-bottom: 1.5rem; }
.theme-product-qty-block { margin-bottom: 1rem; }

.theme-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: 0;
}
.theme-qty-stepper .theme-qty-minus,
.theme-qty-stepper .theme-qty-plus {
	padding: 0.5rem 0.75rem;
	transition: background 0.3s ease;
	line-height: 1;
}
.theme-qty-stepper .theme-qty-minus:hover,
.theme-qty-stepper .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-display {
	padding: 0.5rem 1rem;
	min-width: 44px;
	text-align: center;
	font-family: var(--font-body);
	font-size: 14px;
}

.single-product-main .theme-product-atc-btn,
.single-product-main button.theme-product-atc-btn.single_add_to_cart_button {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 1rem 1.5rem !important;
	min-height: 0 !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	transition: background 0.3s ease, opacity 0.3s ease !important;
	margin-top: 0.25rem;
}
.single-product-main .theme-product-atc-btn:hover:not(:disabled) {
	background: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	opacity: 1 !important;
}
.single-product-main .theme-product-atc-btn:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.product-features-intro { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 1rem; white-space: pre-line; }
.product-details-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.625;
}
.product-details-list li::before {
	content: '';
	flex-shrink: 0;
	width: 4px;
	height: 4px;
	margin-top: 0.55rem;
	border-radius: 50%;
	background: var(--color-foreground);
}

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.65rem 1rem; transition: background 0.3s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; font-size: 14px; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.single-product-page .theme-variation-select-wrap { position: relative; }
.single-product-page .theme-variable-product-form select[name^="attribute_"]:not(.theme-attr-select-hidden) {
	display: block;
	width: 100%;
	max-width: 100%;
	font-family: var(--font-body);
	font-size: 14px;
	padding: 0.65rem 2.5rem 0.65rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background: var(--color-background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355606d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
	appearance: none;
	color: var(--color-foreground);
}
.single-product-page .variations tbody td.value { position: relative; }
.theme-variation-pills,
.theme-attr-pills { display: flex; flex-wrap: wrap; margin-top: 0.5rem; }
.theme-attr-pills--color { gap: 0.75rem; }
.theme-attr-pills--license { gap: 0.5rem; }
.theme-variation-pill,
.theme-attr-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
	font-family: var(--font-body);
	background: transparent;
	color: var(--color-foreground);
}
.theme-attr-pill-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-variation-pill:hover:not(:disabled),
.theme-attr-pill:hover:not(:disabled) { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill--color.is-selected {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
	color: var(--color-foreground);
}
.theme-attr-pill--license.is-selected,
.theme-variation-pill.is-selected.theme-attr-pill--license {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-variation-pill:disabled,
.theme-attr-pill:disabled { opacity: 0.45; cursor: not-allowed; }
.theme-product-variation-row { margin-bottom: 1.5rem; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block; width: 100%;
}
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; font-family: var(--font-body); font-style: normal; text-transform: uppercase; font-size: 13px; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }
.single-product .variations tbody tr:last-child td.value { padding-bottom: 0; }
.single-product .variations { width: 100%; margin-bottom: 0.5rem; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

.product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.product-accordion { border-bottom: 1px solid var(--color-border); }
.product-accordion__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.product-accordion__toggle span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.product-accordion__toggle svg { transition: transform 0.3s ease; }
.product-accordion.is-open .product-accordion__toggle svg { transform: rotate(180deg); }
.product-accordion__content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.product-accordion.is-open .product-accordion__content { max-height: 60rem; padding-bottom: 1.5rem; }
.product-accordion__content p { color: var(--color-muted-foreground); font-size: 15px; line-height: 1.7; margin-bottom: 1em; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-products-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-title { font-size: 2.25rem; } }

.theme-related-products-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.theme-related-product { display: block; color: inherit; }
.theme-related-product__media {
	aspect-ratio: 1 / 1;
	background: var(--color-card);
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.theme-related-product__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.theme-related-product:hover .theme-related-product__img { transform: scale(1.03); }
.theme-related-product__cat { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.375rem; }
.theme-related-product__title { font-family: var(--font-display); font-size: 1rem; line-height: 1.35; font-weight: 500; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-related-product__title { font-size: 1.125rem; } }
.theme-related-product:hover .theme-related-product__title { color: var(--color-primary); }
.theme-related-product__price { margin-top: 0.375rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

.single-product-main .woocommerce-product-gallery,
.single-product-main .product_meta,
.single-product-main .woocommerce-tabs,
.single-product-main .woocommerce-breadcrumb { display: none !important; }

/* =========================================================================
 * WOOCOMMERCE ADD-TO-CART BUTTON STYLE OVERRIDE (Section 11.4.1 / 11.4.2)
 * ========================================================================= */

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: 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-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 (scoped after them) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-card-add-btn {
	min-height: unset !important;
	padding: 0.75rem 1rem !important;
	border-radius: 999px !important;
}

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* =========================================================================
 * WOOCOMMERCE NOTICES (Section 14.1)
 * ========================================================================= */

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem;
	border: 1px solid var(--color-border); background: var(--color-secondary); color: var(--color-foreground); list-style: none;
}
.woocommerce-error { border-color: #c0392b; background: color-mix(in srgb, #c0392b 8%, transparent); }

/* =========================================================================
 * SHOP ARCHIVE
 * ========================================================================= */

.shop-archive-page { padding: 7rem 0 6rem; }
.shop-archive-page .page-title { font-size: 2.25rem; text-transform: uppercase; margin-bottom: 2rem; text-align: center; }
.shop-archive-grid { margin-bottom: 3rem; }
.woocommerce-pagination { text-align: center; margin-top: 2rem; }
.woocommerce-pagination ul { display: inline-flex; gap: 0.5rem; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--color-border); }
.woocommerce-pagination .current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* =========================================================================
 * SIDE CART DRAWER (Section 12 / 31.6)
 * ========================================================================= */

#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 95; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
	visibility: hidden;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); visibility: visible; }
#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__header h2 { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.3s 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 p { 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; border-radius: 0.5rem; }
.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 { font-size: 14px; font-weight: 500; display: block; margin-bottom: 0.25rem; transition: opacity 0.3s ease; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-muted-foreground); }
.theme-cart-item__meta,
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.25rem; list-style: none; padding: 0; }
.theme-cart-item__meta li { margin-top: 0.15rem; }
.theme-cart-item__meta .meta-label { font-weight: 600; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.3s ease; width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* =========================================================================
 * CONTACT MODAL (Section 9)
 * ========================================================================= */

.theme-modal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-modal.is-open { display: flex; }
.theme-modal__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 45%, transparent); backdrop-filter: blur(2px); }
.theme-modal__panel {
	position: relative; z-index: 1; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated); padding: 2rem;
	transform: scale(0.96) translateY(8px); opacity: 0; transition: all 0.25s var(--transition-smooth);
}
.theme-modal.is-open .theme-modal__panel { transform: scale(1) translateY(0); opacity: 1; }
.theme-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.25rem; opacity: 0.6; transition: opacity 0.3s ease; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.75rem; padding-right: 1.5rem; }
@media (min-width: 640px) { .theme-modal__title { font-size: 1.875rem; } }
.theme-modal__desc { color: var(--color-muted-foreground); font-size: 14px; line-height: 1.6; margin-bottom: 1.25rem; }
.theme-modal__contact-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__contact-links a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s ease; }
.theme-modal__contact-links a:hover { color: var(--color-accent); }

.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea, .theme-form-field select {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 0.375rem; font-size: 1rem; transition: box-shadow 0.3s ease;
}
.theme-form-field input:focus, .theme-form-field textarea:focus, .theme-form-field select:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);
}
.theme-form-field textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-actions .theme-btn { text-transform: none; letter-spacing: normal; }

.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success__icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-success h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-contact-success p { font-size: 14px; color: var(--color-muted-foreground); }

/* =========================================================================
 * GENERIC PAGE / 404
 * ========================================================================= */

.generic-page { padding: 7rem 0 6rem; min-height: 60vh; }
.page-title { font-size: 2rem; text-transform: uppercase; margin-bottom: 1.5rem; }
.notfound-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.notfound-page__inner { text-align: center; }
.notfound-page__code { font-size: 3rem; margin-bottom: 0.75rem; }
.notfound-page__text { color: var(--color-muted-foreground); font-size: 1.25rem; margin-bottom: 1rem; }
.notfound-page__link { color: var(--color-primary); text-decoration: underline; }
.notfound-page__link:hover { opacity: 0.85; }

/* =========================================================================
 * WOOCOMMERCE CHECKOUT BLOCK (Section 13)
 * ========================================================================= */

body.woocommerce-checkout .theme-checkout-main {
	padding-top: 0;
	min-height: 60vh;
}

body.woocommerce-checkout .theme-checkout-shell {
	width: 100%;
	max-width: none;
	padding-block: calc(var(--header-height-mobile) + 0.5rem) 4rem;
	padding-inline: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .theme-checkout-shell {
		padding-block: calc(var(--header-height) + 0.5rem) 4rem;
		padding-inline: 2rem;
	}
}

.theme-checkout-header {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	margin-bottom: 0;
}
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 14px;
	color: var(--color-muted-foreground);
	transition: color 0.3s ease;
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.theme-checkout-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 700;
	text-transform: none;
}
@media (min-width: 768px) {
	.theme-checkout-title { font-size: 2.25rem; }
}
.theme-checkout-intro {
	margin: 0.75rem 0 0;
	font-size: 14px;
	color: var(--color-muted-foreground);
	line-height: 1.6;
}

body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
}

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	min-width: 0;
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);
	border-color: var(--color-accent);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-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;
	border: none !important;
	transition: opacity 0.2s ease !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-cart-items,
.entry-content .wc-block-checkout .wc-block-cart-items { font-family: var(--font-body); }

body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background: var(--color-background);
	font-family: var(--font-body);
}

/* =========================================================================
 * CART / ACCOUNT / THANK-YOU PAGE WIDTH PARITY (Section 13.7)
 * ========================================================================= */

body.woocommerce-cart .generic-page,
body.woocommerce-account .generic-page,
body.theme-thankyou-page .generic-page {
	padding-top: calc(var(--header-height-mobile) + 1.5rem);
}
@media (min-width: 768px) {
	body.woocommerce-cart .generic-page,
	body.woocommerce-account .generic-page,
	body.theme-thankyou-page .generic-page { padding-top: calc(var(--header-height) + 2rem); }
}

/* =========================================================================
 * THANK YOU PAGE (Section 22.8)
 * ========================================================================= */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; padding: 0 0 1rem 0; display: block;
}
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.5rem; background: var(--color-secondary); border-radius: var(--card-radius); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order-details table { border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7; }

/* =========================================================================
 * SCROLL REVEAL SYSTEM (Section 2.1)
 * ========================================================================= */

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.reveal-fade { opacity: 0; transition: opacity 1.1s cubic-bezier(0.25, 0.4, 0.25, 1); }
.reveal-fade.is-visible { opacity: 1; }

.reveal-image-wrap { position: relative; overflow: hidden; }
.reveal-image-wrap img { transition: opacity 0.7s ease-out, filter 0.7s ease-out; opacity: 0; filter: blur(8px); }
.reveal-image-wrap img.is-loaded { opacity: 1; filter: blur(0); }
.reveal-image-wrap.reveal-item { transform: none; }

.shimmer-loading {
	background: linear-gradient(90deg, var(--color-muted) 0%, var(--color-secondary) 50%, var(--color-muted) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Customizer preview fallback — reveal content must never stay hidden while editing */
body.is-customizer .reveal-item,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-image-wrap img {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

/* No-JS / IntersectionObserver-unavailable fallback */
html.no-js .reveal-item,
html.no-js .reveal-fade,
html.no-js .reveal-image-wrap img {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-fade, .reveal-image-wrap img {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
	}
	.marquee-track, .text-gradient-gold, .hero-bounce, .gold-sheen::after {
		animation: none !important;
	}
	* { scroll-behavior: auto !important; }
}

/* =========================================================================
 * MOBILE / SMALL SCREEN TWEAKS
 * ========================================================================= */

@media (max-width: 639px) {
	.theme-product-card__title { font-size: 0.95rem; }
	.final-cta-panel__inner { padding: 3rem 1.5rem; }
}
