/* Scrubs & Success — theme stylesheet. Author: The Free Website Guys. */

:root {
	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;
	--radius: 0.85rem;
	--shadow-soft: 0 4px 24px -6px hsl(264 62% 20% / 0.12);
	--shadow-elevated: 0 16px 48px -12px hsl(264 62% 20% / 0.28);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 80px;

	--btn-radius: 999px;
	--btn-height: 52px;
	--btn-padding: 0 2rem;
	--btn-font-size: 11px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--color-button-text: hsl(var(--primary-foreground));
	--color-primary: hsl(var(--primary));
	--color-surface: hsl(var(--card));
	--card-radius: 1.25rem;
	--checkout-gap: 2.5rem;
}

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

html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}
body.theme-no-hero { padding-top: var(--header-height); }

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

.section-heading {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.1;
	color: hsl(var(--foreground));
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-main-img):not(.theme-product-thumb-img):not(.theme-cart-item__image img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-main-img, .theme-product-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
.theme-cart-item__image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

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

.gold-rule { height: 1px; width: 10rem; margin: 2.5rem auto; background: linear-gradient(90deg, transparent, hsl(var(--accent)), transparent); }
.link-underline { position: relative; }
.link-underline::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth); }
.link-underline:hover::after { transform: scaleX(1); }

.dot { opacity: 0.4; margin: 0 0.4rem; }

/* ------------------------------------------------------------------
 * Reveal / scroll animation system (Section 2.1)
 * ---------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	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);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-section .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-section .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-section .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.reveal-section .reveal-item:nth-child(5) { transition-delay: 0.32s; }
.reveal-section .reveal-item:nth-child(6) { transition-delay: 0.4s; }

body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	background: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
	background: hsl(var(--background) / 0.95);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 hsl(var(--border) / 0.5);
}
.site-header__inner {
	padding-block: 0;
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-header__inner {
	border-bottom: none;
}
.site-header.is-solid .site-header__inner,
.site-header.is-scrolled .site-header__inner,
.site-header.is-menu-open .site-header__inner {
	border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.site-nav { display: block; position: relative; }
.site-nav__desktop { display: none; align-items: center; height: 80px; }
@media (min-width: 1024px) {
	:root { --header-height: 112px; }
	.site-nav__desktop { display: flex; height: 112px; }
}
.site-nav__mobile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 80px;
}
@media (min-width: 1024px) { .site-nav__mobile { display: none; } }
.site-nav__mobile-actions { display: flex; align-items: center; gap: 0.75rem; }

.site-nav__side { display: flex; align-items: center; gap: 2rem; flex: 1; min-width: 0; }
.site-nav__side--left { justify-content: flex-start; }
.site-nav__side--right { justify-content: flex-end; }

.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list--left,
.theme-nav-list--right { flex-wrap: nowrap; }
.theme-nav-list a.theme-nav-link,
.theme-nav-list a {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.025em;
	color: hsl(var(--foreground) / 0.85);
	transition: color 0.2s ease;
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-list a { color: hsl(0 0% 100% / 0.95); }
.theme-nav-list a:hover { color: hsl(var(--primary)); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-list a:hover { color: hsl(var(--accent)); }

.site-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.site-logo--desktop { padding: 0 1.5rem; }
.site-logo--mobile { padding: 0; }
.site-logo-img {
	height: var(--logo-height, 3rem);
	width: auto !important;
	max-width: 180px;
	object-fit: contain;
	transition: filter 0.3s ease, height 0.2s ease;
}
@media (min-width: 1024px) {
	.site-logo-img {
		height: var(--logo-height, 3.5rem);
	}
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-img { filter: brightness(0) invert(1); }
.site-logo-text { display: block; line-height: var(--logo-height, 56px); font-family: var(--font-display); }

.site-cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid hsl(var(--foreground) / 0.3);
	color: hsl(var(--foreground));
	transition: border-color 0.2s ease, color 0.2s ease;
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-cart-btn { border-color: hsl(0 0% 100% / 0.4); color: #fff; }
.site-cart-btn:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-cart-btn:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.theme-cart-count {
	position: absolute; top: -6px; right: -6px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px;
	background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
	font-size: 10px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-cart-count {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
}
.theme-cart-count:empty { display: none; }

.site-mobile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0.5rem;
	margin-right: -0.5rem;
	transition: opacity 0.2s ease;
}
.site-mobile-toggle:hover { opacity: 0.6; }
.site-mobile-toggle__icon { display: none; }
.site-mobile-toggle__icon--menu { display: block; }
.site-mobile-toggle[aria-expanded="true"] .site-mobile-toggle__icon--menu { display: none; }
.site-mobile-toggle[aria-expanded="true"] .site-mobile-toggle__icon--close { display: block; }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-mobile-toggle { color: #fff; }

.site-mobile-menu {
	display: none;
	border-top: 1px solid hsl(var(--border));
	padding: 1rem 0 1.5rem;
}
.site-mobile-menu.is-open { display: block; }
.site-mobile-menu ul,
.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-list li { width: 100%; }
.theme-mobile-nav-list a {
	display: block;
	padding: 0.75rem 0;
	border-bottom: 1px solid hsl(var(--border) / 0.6);
	font-family: var(--font-body);
	font-size: 14px;
	text-align: left;
	transition: color 0.2s ease;
}
.theme-mobile-nav-list a:hover { color: hsl(var(--primary)); }
@media (min-width: 1024px) { .site-mobile-menu { display: none !important; } }

/* ------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------- */
.hero-section {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	background: hsl(var(--nopal));
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: calc(-1 * var(--header-height));
	padding-top: var(--header-height);
}
body.theme-no-hero .hero-section { margin-top: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; }
.hero-video.is-loaded { opacity: 1; }
.hero-overlay {
	position: absolute; inset: 0;
	background: hsl(var(--nopal) / 0.15);
}
.hero-overlay::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, hsl(var(--nopal) / 0.2), hsl(var(--nopal) / 0.08), hsl(var(--nopal) / 0.2));
}
.hero-overlay::after {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at center, hsl(var(--nopal)) 0%, transparent 70%);
	opacity: 0.25;
}
.hero-content {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	max-width: 56rem; margin: 0 auto; padding: 6rem 0;
}
.hero-kicker {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 12px; letter-spacing: 0.36em; text-transform: uppercase;
	color: hsl(var(--accent)); font-weight: 600; margin-bottom: 1rem;
}
.hero-kicker svg { color: hsl(var(--accent)); flex-shrink: 0; }
.hero-title {
	color: hsl(var(--primary-foreground));
	line-height: 1.02;
	letter-spacing: -0.025em;
	font-size: clamp(2.25rem, 6.5vw, 5.25rem);
}
.hero-title__accent { display: block; font-style: italic; color: hsl(var(--accent)); }
.hero-subtitle { margin-top: 1.25rem; max-width: 34rem; color: hsl(var(--primary-foreground) / 0.9); font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-actions { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; justify-content: center; width: auto; } }

.btn-hero-primary, .btn-hero-outline, .theme-btn-primary, .theme-btn-secondary, .btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: 0.9rem 2rem;
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	font-weight: 600; font-family: var(--font-body);
	transition: all 0.25s ease;
	border: 1px solid transparent;
	white-space: nowrap;
}
.btn-hero-primary { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); letter-spacing: 0.28em; }
.btn-hero-outline { border-color: hsl(var(--primary-foreground) / 0.7); color: hsl(var(--primary-foreground)); letter-spacing: 0.28em; }
.btn-hero-primary:hover { background: hsl(var(--accent) / 0.9); transform: scale(1.03); }
.btn-hero-outline:hover { background: hsl(var(--primary-foreground) / 0.1); transform: scale(1.03); }

.hero-features { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 1.5rem; color: hsl(var(--primary-foreground) / 0.8); font-size: 0.75rem; }
@media (min-width: 768px) { .hero-features { font-size: 0.875rem; } }
.hero-features span { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
.hero-features svg { color: hsl(var(--accent)); flex-shrink: 0; }

.hero-scroll-hint { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding-bottom: 2rem; color: hsl(var(--primary-foreground) / 0.75); font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; animation: ss-bob 2.2s ease-in-out infinite; }
@keyframes ss-bob { 0%, 100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-hint { animation: none; } }

/* ------------------------------------------------------------------
 * Section heading system (per-section scales — Section 2.2)
 * ---------------------------------------------------------------- */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-kicker { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: hsl(var(--primary)); font-weight: 600; margin-bottom: 0.75rem; }
.section-head .section-kicker { display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; }
.section-kicker svg { color: hsl(var(--accent)); flex-shrink: 0; }

.pillars-section, .category-section, .featured-section, .services-section, .shop-section, .faq-section, .journal-section { padding: 4rem 0; }
@media (min-width: 768px) { .pillars-section { padding: 3.5rem 0; } .category-section { padding: 4rem 0 5rem; } .featured-section { padding: 4rem 0 6rem; } .services-section { padding: 5rem 0 7rem; } .shop-section { padding: 4rem 0 6rem; } .faq-section { padding: 5rem 0 7rem; } .journal-section { padding: 5rem 0 7rem; } }

.category-section .section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .category-section .section-heading { font-size: 2.25rem; } }

.featured-section .section-heading { font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .featured-section .section-heading { font-size: 3rem; } }

.about-section .section-heading, .about-quote { font-size: 1.5rem; }
@media (min-width: 768px) { .about-quote { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-quote { font-size: 2.5rem; } }

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

.shop-heading { font-size: 1.875rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

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

.journal-section .section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .journal-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .journal-section .section-heading { font-size: 3.75rem; } }

.cta-band__title { font-size: 2rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }

/* ------------------------------------------------------------------
 * Value pillars
 * ---------------------------------------------------------------- */
.pillars-section { background: hsl(var(--card)); }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-item { display: flex; align-items: flex-start; gap: 1rem; }
.pillar-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 999px; background: hsl(var(--primary) / 0.1); border: 1px solid hsl(var(--primary) / 0.2); display: flex; align-items: center; justify-content: center; color: hsl(var(--primary)); }
.pillar-item h3 { font-size: 1.125rem; margin-bottom: 0.4rem; }
@media (min-width: 768px) { .pillar-item h3 { font-size: 1.25rem; } }
.pillar-item p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* ------------------------------------------------------------------
 * Category tiles
 * ---------------------------------------------------------------- */
.category-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; justify-content: center; padding: 1rem 0; }
@media (min-width: 768px) { .category-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; } }
.category-tile { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.category-tile__icon {
	width: 7rem; height: 7rem; border-radius: 999px;
	background: hsl(var(--secondary) / 0.7); border: 1px solid hsl(var(--border) / 0.6);
	display: flex; align-items: center; justify-content: center;
	color: hsl(var(--primary));
	transition: all 0.5s var(--transition-smooth);
	box-shadow: 0 0 0 2px transparent;
}
.category-tile__icon svg { width: 2.5rem; height: 2.5rem; stroke-width: 1.4; transition: transform 0.5s ease, color 0.5s ease; }
@media (min-width: 640px) { .category-tile__icon { width: 8rem; height: 8rem; } }
@media (min-width: 768px) { .category-tile__icon { width: 10rem; height: 10rem; } .category-tile__icon svg { width: 3.5rem; height: 3.5rem; } }
.category-tile:hover .category-tile__icon { transform: scale(1.05); box-shadow: var(--shadow-elevated), 0 0 0 2px hsl(var(--accent) / 0.7); background: hsl(var(--primary) / 0.1); color: hsl(var(--accent)); }
.category-tile:hover .category-tile__icon svg { transform: scale(1.1); }
.category-tile__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--foreground) / 0.85); text-align: center; }
.category-tile:hover .category-tile__label { color: hsl(var(--primary)); }

/* ------------------------------------------------------------------
 * Story banner
 * ---------------------------------------------------------------- */
.story-banner { position: relative; width: 100%; height: 40vh; min-height: 320px; overflow: hidden; }
@media (min-width: 768px) { .story-banner { height: 55vh; } }
@media (min-width: 1024px) { .story-banner { height: 65vh; } }
.story-banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--transition-smooth); }
.story-banner__slide.is-active { opacity: 1; }
.story-banner__slide::after { content: ''; position: absolute; inset: 0; background: hsl(var(--nopal) / 0.2); }
.story-banner__dots { position: absolute; bottom: 1.5rem; left: 0; right: 0; display: flex; justify-content: center; gap: 0.75rem; z-index: 2; }
.story-banner__dot { width: 10px; height: 10px; border-radius: 999px; background: hsl(var(--primary-foreground) / 0.5); transition: all 0.3s ease; }
.story-banner__dot.is-active { background: hsl(var(--accent)); transform: scale(1.25); }
.story-banner__dot:hover { background: hsl(var(--primary-foreground) / 0.8); }

/* ------------------------------------------------------------------
 * About
 * ---------------------------------------------------------------- */
.about-section { padding: 3.5rem 0 6rem; text-align: center; }
@media (min-width: 768px) { .about-section { padding: 5rem 0 8rem; } }
.about-inner { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .about-inner { padding: 0 3rem; } }
.about-quote { font-family: var(--font-display); line-height: 1.25; color: hsl(var(--foreground)); margin-bottom: 2.5rem; }
.about-quote__accent { font-style: italic; color: hsl(var(--primary)); }
.about-text { color: hsl(var(--foreground) / 0.75); line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .about-text { font-size: 1.125rem; } }
.about-link { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: hsl(var(--foreground)); }

/* ------------------------------------------------------------------
 * Founder
 * ---------------------------------------------------------------- */
.founder-section { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.founder-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 1fr 1fr; } }
.founder-media { position: relative; min-height: 360px; overflow: hidden; }
@media (min-width: 768px) { .founder-media { min-height: 500px; } }
@media (min-width: 1024px) { .founder-media { min-height: 620px; } }
.founder-photo { opacity: 0; transition: opacity 0.7s var(--transition-smooth); object-position: center 20%; }
.founder-photo.is-active { opacity: 1; }
.founder-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--nopal) / 0.85), hsl(var(--nopal) / 0.2), transparent); pointer-events: none; z-index: 1; }
.founder-media__caption { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; z-index: 2; }
.founder-media__name { font-family: var(--font-display); font-size: 1.5rem; }
@media (min-width: 768px) { .founder-media__name { font-size: 1.875rem; } }
.founder-media__role { color: hsl(var(--accent)); margin-top: 0.25rem; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 600; }
.founder-media__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 40px; height: 40px; border-radius: 999px;
	background: hsl(var(--primary-foreground) / 0.15); color: hsl(var(--primary-foreground));
	display: flex; align-items: center; justify-content: center;
	z-index: 3; transition: background 0.2s ease, opacity 0.2s ease;
	opacity: 0; backdrop-filter: blur(4px);
}
.founder-media:hover .founder-media__arrow,
.founder-media__arrow:focus { opacity: 1; }
.founder-media__arrow--prev { left: 1rem; }
.founder-media__arrow--next { right: 1rem; }
.founder-media__arrow:hover { background: hsl(var(--primary-foreground) / 0.25); }
.founder-media__dots { position: absolute; bottom: 6rem; left: 2rem; right: 2rem; z-index: 2; display: flex; justify-content: center; gap: 0.5rem; }
.founder-media__dot { height: 6px; width: 12px; border-radius: 999px; background: hsl(var(--primary-foreground) / 0.5); transition: all 0.3s ease; }
.founder-media__dot.is-active { width: 28px; background: hsl(var(--accent)); }
.founder-content { display: flex; align-items: center; background: hsl(var(--background)); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .founder-content { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .founder-content { padding: 6rem 5rem; } }
.founder-content__inner { max-width: 36rem; color: hsl(var(--foreground)); }
.founder-content .section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 12px;
	letter-spacing: 0.32em;
	font-weight: 600;
	margin-bottom: 1.25rem;
	color: hsl(var(--primary));
}
.founder-content .section-heading {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2.25rem;
	line-height: 1.25;
	letter-spacing: -0.015em;
	margin-bottom: 1.75rem;
}
@media (min-width: 768px) { .founder-content .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-content .section-heading { font-size: 3.75rem; } }
.founder-quote {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 1.25rem;
	color: hsl(var(--primary));
	line-height: 1.375;
	margin: 0 0 2rem;
}
@media (min-width: 768px) { .founder-quote { font-size: 1.5rem; } }
.founder-content__inner p { color: hsl(var(--foreground) / 0.75); line-height: 1.625; margin-bottom: 1.25rem; font-family: var(--font-body); }
.founder-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; font-size: 0.875rem; }
.founder-links a { display: inline-flex; align-items: center; gap: 0.4rem; color: hsl(var(--foreground) / 0.8); transition: color 0.2s ease; }
.founder-links a:hover { color: hsl(var(--primary)); }

/* ------------------------------------------------------------------
 * Services
 * ---------------------------------------------------------------- */
.services-section { background: hsl(var(--card)); }
.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; text-align: center;
	background: hsl(var(--background)); border-radius: 1rem;
	padding: 2rem; border: 1px solid hsl(var(--border));
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); border-color: hsl(var(--primary) / 0.4); }
.founder-links a svg { color: hsl(var(--accent)); flex-shrink: 0; }

/* Service card accent rotation */
.service-card--primary .service-card__icon,
.service-card--primary .service-card__kicker { color: hsl(var(--primary)); }
.service-card--accent .service-card__icon,
.service-card--accent .service-card__kicker { color: hsl(var(--accent)); }
.service-card--teal .service-card__icon,
.service-card--teal .service-card__kicker { color: hsl(var(--teal)); }
.service-card--rosa .service-card__icon,
.service-card--rosa .service-card__kicker { color: hsl(var(--rosa)); }
.service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
}
.service-card__icon svg { width: 2.5rem; height: 2.5rem; stroke-width: 1.25; }
.service-card__kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.5rem; }
.service-card__title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card__desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; margin-bottom: 1.5rem; }
.service-card__cta { margin-top: auto; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: hsl(var(--primary)); transition: color 0.2s ease; }
.service-card__cta:hover { color: hsl(var(--accent)); }

/* ------------------------------------------------------------------
 * Shop
 * ---------------------------------------------------------------- */
.shop-section .section-head { margin-bottom: 1.5rem; }
.shop-search { position: relative; max-width: 26rem; margin: 0 auto 2rem; }
.shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: hsl(var(--muted-foreground)); }
.shop-search input {
	width: 100%; padding: 0.6rem 0 0.6rem 1.75rem; background: transparent;
	border: none; border-bottom: 1px solid hsl(var(--border)); border-radius: 0;
	color: hsl(var(--foreground)); outline: none;
	transition: border-color 0.2s ease;
}
.shop-search input:focus { border-color: hsl(var(--foreground)); }

.shop-categories { display: flex; overflow-x: auto; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.25rem; justify-content: flex-start; }
@media (min-width: 768px) { .shop-categories { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.shop-cat-btn {
	flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	border-radius: 999px; border: 1px solid hsl(var(--border)); color: hsl(var(--foreground));
	background: transparent; transition: all 0.3s ease;
}
.shop-cat-btn:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.shop-cat-btn.is-active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); transition: color 0.2s ease; }
.shop-price-toggle:hover { color: hsl(var(--foreground)); }
.shop-price-toggle svg { transition: transform 0.3s ease; }
.shop-price-toggle.is-open svg { transform: rotate(180deg); }
.shop-price-panel { width: 100%; max-width: 22rem; padding-top: 0.5rem; }
.shop-price-panel[hidden] { display: none; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); border-radius: 999px; pointer-events: none; }
.range-track-bg { left: 0; right: 0; background: hsl(var(--border)); }
.range-track-fill { background: hsl(var(--primary)); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 999px; background: hsl(var(--primary)); border: 2px solid hsl(var(--background)); box-shadow: 0 1px 4px hsl(var(--foreground) / 0.3); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 999px; background: hsl(var(--primary)); border: 2px solid hsl(var(--background)); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

.shop-note { text-align: center; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--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; } }
.theme-product-grid--3 { grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 768px) { .theme-product-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.theme-shop-item.theme-shop-hidden { display: none; }
.shop-empty-message[hidden] { display: none; }
.shop-empty-message { text-align: center; padding: 4rem 0; color: hsl(var(--muted-foreground)); }
.section-cta { text-align: center; margin-top: 3rem; }
.btn-outline { border: 1px solid hsl(var(--primary)); color: hsl(var(--primary)); background: transparent; }
.btn-outline:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

/* ------------------------------------------------------------------
 * Product cards
 * ---------------------------------------------------------------- */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card-wrap:hover { transform: translateY(-3px); }
.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 1rem; background: hsl(var(--card)); margin-bottom: 1.25rem; }
.theme-product-card__image-link { display: block; position: absolute; inset: 0; z-index: 1; }
.theme-product-card__image-wrapper img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-product-card__badge { position: absolute; top: 1rem; left: 1rem; z-index: 3; padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; background: hsl(var(--marigold)); color: hsl(var(--foreground)); }
.theme-product-card__badge--soldout { left: auto; right: 1rem; background: hsl(var(--foreground)); color: hsl(var(--background)); }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; padding: 0 0.25rem; }
.theme-product-card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: hsl(var(--muted-foreground)); }
.theme-product-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.35; color: hsl(var(--foreground)); transition: color 0.2s ease; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.theme-product-card__title a { color: inherit; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title,
.theme-product-card:hover .theme-product-card__title a { color: hsl(var(--primary)); }
.theme-product-card__price { font-family: var(--font-body); font-size: 1rem; color: hsl(var(--foreground) / 0.85); }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.4rem; }
.theme-product-card__price ins { text-decoration: none; }

.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 4;
	padding: 0.75rem 0; border-radius: 999px; text-align: center;
	background: hsl(var(--primary)) !important; color: hsl(var(--primary-foreground)) !important;
	border: 1px solid hsl(var(--primary)) !important;
	font-family: var(--font-body);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600 !important;
	opacity: 0; transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	pointer-events: auto;
}
.theme-product-card__image-wrapper:hover .add_to_cart_button.ajax_add_to_cart,
.theme-product-card:hover .add_to_cart_button.ajax_add_to_cart,
.theme-product-card__image-wrapper:hover .theme-product-card__select-options,
.theme-product-card:hover .theme-product-card__select-options { opacity: 1; transform: translateY(0); }
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover,
.theme-product-card .theme-product-card__select-options:hover { background: hsl(var(--accent)) !important; border-color: hsl(var(--accent)) !important; color: hsl(var(--accent-foreground)) !important; }
.theme-product-card__select-options {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 2;
	display: block;
	text-align: center;
	padding: 0.75rem 0; border-radius: 999px;
	background: hsl(var(--primary)) !important; color: hsl(var(--primary-foreground)) !important;
	border: 1px solid hsl(var(--primary)) !important;
	font-family: var(--font-body);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600 !important;
	opacity: 0; transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	pointer-events: auto;
	text-decoration: none;
}
.theme-product-card.is-soldout .add_to_cart_button.ajax_add_to_cart { display: none; }
.theme-product-card.is-soldout .theme-product-card__image-wrapper img { opacity: 0.6; }

/* ------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------- */
.faq-tabs--desktop, .faq-panels--desktop { display: none !important; }
.faq-content { opacity: 1; visibility: visible; }
.faq-section .section-head { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
	.faq-tabs--desktop {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.65rem;
		margin-bottom: 2.5rem;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.faq-tabs--desktop::-webkit-scrollbar { display: none; }
	.faq-panels--desktop { display: block !important; }
	.faq-mobile { display: none !important; }
}
.faq-mobile { display: block; }
.faq-mobile-group + .faq-mobile-group { margin-top: 2.5rem; }
.faq-mobile-label {
	display: inline-block;
	margin-bottom: 1rem;
	pointer-events: none;
	cursor: default;
}
.faq-mobile-items { border-top: 1px solid hsl(var(--foreground) / 0.15); }
.faq-item__icon--sm { width: 32px; height: 32px; }
.faq-item__q span:first-child { min-width: 0; }
.faq-subtitle { color: hsl(var(--foreground) / 0.75); font-size: 1rem; margin-top: 0.75rem; }
.faq-subtitle a { text-decoration: underline; text-decoration-color: hsl(var(--foreground) / 0.3); }
.faq-subtitle a:hover { text-decoration-color: hsl(var(--foreground)); }
.faq-tabs:not(.faq-tabs--desktop) { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin-bottom: 2rem; }
.faq-tab { padding: 0.6rem 1.25rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; border-radius: 999px; border: 1px solid hsl(var(--border)); background: transparent; color: hsl(var(--foreground)); transition: all 0.25s ease; }
.faq-tab--teal { border-color: hsl(var(--teal)); }
.faq-tab--rosa { border-color: hsl(var(--rosa)); }
.faq-tab--lilac { border-color: hsl(var(--lilac)); }
.faq-tab--nopal { border-color: hsl(var(--nopal)); }
.faq-tab--marigold { border-color: hsl(var(--marigold)); }
.faq-tab--teal.is-active { background: hsl(var(--teal)); color: hsl(var(--background)); border-color: hsl(var(--teal)); }
.faq-tab--rosa.is-active { background: hsl(var(--rosa)); color: hsl(var(--background)); border-color: hsl(var(--rosa)); }
.faq-tab--lilac.is-active { background: hsl(var(--lilac)); color: hsl(var(--foreground)); border-color: hsl(var(--lilac)); }
.faq-tab--nopal.is-active { background: hsl(var(--nopal)); color: hsl(var(--background)); border-color: hsl(var(--nopal)); }
.faq-tab--marigold.is-active { background: hsl(var(--marigold)); color: hsl(var(--foreground)); border-color: hsl(var(--marigold)); }
.faq-tab--teal:not(.is-active):hover { background: hsl(var(--teal) / 0.1); }
.faq-tab--rosa:not(.is-active):hover { background: hsl(var(--rosa) / 0.15); }
.faq-tab--lilac:not(.is-active):hover { background: hsl(var(--lilac) / 0.25); }
.faq-tab--nopal:not(.is-active):hover { background: hsl(var(--nopal) / 0.1); }
.faq-tab--marigold:not(.is-active):hover { background: hsl(var(--marigold) / 0.25); }
.faq-panel { display: none; border-top: 1px solid hsl(var(--foreground) / 0.15); }
.faq-panel.is-active { display: block; animation: ss-fade-in 0.25s ease; }
@keyframes ss-fade-in { from { opacity: 0; } to { opacity: 1; } }
.faq-item { border-bottom: 1px solid hsl(var(--foreground) / 0.15); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__q span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.375; font-weight: 400; }
@media (min-width: 768px) { .faq-item__q span:first-child { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 999px; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.faq-item__icon svg { transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__icon svg { transform: rotate(180deg); }
.faq-item__icon--teal { color: hsl(var(--teal)); }
.faq-item__icon--rosa { color: hsl(var(--rosa)); }
.faq-item__icon--lilac { color: hsl(var(--foreground)); }
.faq-item__icon--nopal { color: hsl(var(--nopal)); }
.faq-item__icon--marigold { color: hsl(var(--foreground)); }
.faq-item.is-open .faq-item__icon--teal { background: hsl(var(--teal)); color: hsl(var(--background)); }
.faq-item.is-open .faq-item__icon--rosa { background: hsl(var(--rosa)); color: hsl(var(--background)); }
.faq-item.is-open .faq-item__icon--lilac { background: hsl(var(--lilac)); color: hsl(var(--foreground)); }
.faq-item.is-open .faq-item__icon--nopal { background: hsl(var(--nopal)); color: hsl(var(--background)); }
.faq-item.is-open .faq-item__icon--marigold { background: hsl(var(--marigold)); color: hsl(var(--foreground)); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1); }
.faq-item__a p { color: hsl(var(--foreground) / 0.75); line-height: 1.625; padding-bottom: 1.5rem; max-width: 48rem; font-family: var(--font-body); font-size: 1rem; }
@media (min-width: 768px) { .faq-item__a p { font-size: 1.0625rem; } }
.faq-item.is-open .faq-item__a { max-height: 40rem; }

/* ------------------------------------------------------------------
 * Blog single
 * ---------------------------------------------------------------- */
.blog-single-hero {
	position: relative;
	width: 100%;
	height: 46vh;
	min-height: 280px;
	overflow: hidden;
}
@media (min-width: 768px) { .blog-single-hero { height: 62vh; } }
.blog-single-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-single-hero__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, hsl(var(--background)) 0%, hsl(var(--background) / 0.4) 45%, hsl(var(--background) / 0.1) 100%);
}
.blog-single-hero__content { position: absolute; inset-inline: 0; bottom: 0; padding-bottom: 2rem; }
@media (min-width: 768px) { .blog-single-hero__content { padding-bottom: 3rem; } }
.blog-single-hero__inner { max-width: 48rem; }
.blog-single-hero__cat {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: hsl(var(--primary));
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.blog-single-hero__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.875rem, 4vw, 3.75rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
}
.blog-single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}
.blog-single-hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.blog-single-hero__meta svg { color: hsl(var(--accent)); }
.blog-single-article { padding: 3rem 0 4rem; }
.blog-single-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: hsl(var(--primary));
	margin-bottom: 2.5rem;
	transition: color 0.2s ease;
}
.blog-single-back:hover { color: hsl(var(--accent)); }
.blog-single-header { max-width: 48rem; margin-bottom: 2rem; }
.blog-single-body {
	max-width: 48rem;
	display: grid;
	gap: 1.5rem;
	font-size: 1rem;
	line-height: 1.7;
	color: hsl(var(--foreground) / 0.8);
}
@media (min-width: 768px) { .blog-single-body { font-size: 1.125rem; } }
.blog-single-body p { margin: 0; }
.blog-single-related {
	margin-top: 5rem;
	padding-top: 3rem;
	border-top: 1px solid hsl(var(--border));
}
.blog-single-related__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	margin-bottom: 2rem;
}
@media (min-width: 768px) { .blog-single-related__title { font-size: 1.875rem; } }
.blog-single-related__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 768px) { .blog-single-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.blog-single-related__card {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	padding: 1.25rem;
	border: 1px solid hsl(var(--border));
	border-radius: 1rem;
	background: hsl(var(--card));
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}
.blog-single-related__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-elevated);
	border-color: hsl(var(--primary) / 0.4);
}
.blog-single-related__thumb {
	width: 6rem;
	height: 6rem;
	border-radius: 0.75rem;
	object-fit: cover;
	flex-shrink: 0;
}
.blog-single-related__cat {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--primary));
	font-weight: 600;
	margin-bottom: 0.5rem;
}
.blog-single-related__name {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.35;
	transition: color 0.2s ease;
}
.blog-single-related__card:hover .blog-single-related__name { color: hsl(var(--primary)); }

/* ------------------------------------------------------------------
 * Journal
 * ---------------------------------------------------------------- */
.journal-subtitle { max-width: 40rem; margin: 0.75rem auto 0; color: hsl(var(--foreground) / 0.75); font-size: 1rem; }
@media (min-width: 768px) { .journal-subtitle { font-size: 1.125rem; } }
.journal-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.journal-card { display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.journal-card:hover { box-shadow: var(--shadow-elevated); border-color: hsl(var(--primary) / 0.4); transform: translateY(-6px); }
.journal-card__image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.journal-card__image img { transition: transform 0.5s ease; }
.journal-card:hover .journal-card__image img { transform: scale(1.05); }
.journal-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem; }
.journal-card__meta { display: flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.journal-card__cat { color: hsl(var(--primary)); }
.journal-card__body h3 { font-size: 1.25rem; line-height: 1.35; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .journal-card__body h3 { font-size: 1.5rem; } }
.journal-card__body p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; margin-bottom: 1.5rem; }
.journal-card__time { display: inline-flex; align-items: center; gap: 0.35rem; color: hsl(var(--muted-foreground)); text-transform: none; letter-spacing: normal; font-size: 12px; }
.journal-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.journal-card__read { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: hsl(var(--primary)); transition: color 0.2s ease, gap 0.2s ease; }
.journal-card:hover .journal-card__read { color: hsl(var(--accent)); gap: 0.5rem; }
.journal-card__date { font-size: 12px; color: hsl(var(--muted-foreground)); }

.journal-card h3 a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.journal-card h3 a:hover { color: hsl(var(--primary)); }
.journal-card__read { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: hsl(var(--primary)); text-decoration: none; }
.journal-card__read:hover { color: hsl(var(--accent)); }
.journal-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.journal-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.journal-card:hover .journal-card__image img { transform: scale(1.05); }

/* ------------------------------------------------------------------
 * Testimonials
 * ---------------------------------------------------------------- */
.testimonials-section { background: hsl(var(--card)); padding: 4rem 0; }
@media (min-width: 768px) { .testimonials-section { padding: 6rem 0; } }
.testimonials-heading { text-align: center; font-size: 1.875rem; margin-bottom: 2.5rem; line-height: 1.05; }
@media (min-width: 768px) { .testimonials-heading { font-size: 3rem; margin-bottom: 3.5rem; } }
.testimonials-stage { position: relative; max-width: 72rem; margin: 0 auto; }
.testimonials-deco { position: absolute; pointer-events: none; }
.testimonials-deco--circles { top: -2.5rem; left: -2.5rem; width: 5rem; height: 5rem; color: hsl(var(--marigold)); opacity: 0.4; display: none; }
.testimonials-deco--star { bottom: -2.5rem; right: -2.5rem; width: 7rem; height: 7rem; color: hsl(var(--primary)); opacity: 0.2; display: none; }
@media (min-width: 640px) { .testimonials-deco--circles, .testimonials-deco--star { display: block; } }
@media (min-width: 768px) { .testimonials-deco--circles { top: -3.5rem; left: -3.5rem; width: 7rem; height: 7rem; } .testimonials-deco--star { bottom: -3.5rem; right: -3.5rem; width: 9rem; height: 9rem; } }
.testimonials-deco svg { width: 100%; height: 100%; }
.testimonials-viewport { overflow: hidden; }
.testimonials-track { display: flex; will-change: transform; }
.testimonial-slide { flex-shrink: 0; padding: 0 0.5rem; }
.testimonial-card {
	position: relative; background: hsl(var(--background)); border: 2px solid hsl(var(--primary) / 0.1);
	border-radius: 1.5rem; padding: 2rem; box-shadow: 0 20px 50px -12px hsl(var(--primary) / 0.08);
	height: 100%; overflow: hidden;
}
@media (min-width: 768px) { .testimonial-card { padding: 2.5rem; } }
.testimonial-card__bite { position: absolute; top: -1px; right: -1px; width: 5rem; height: 5rem; overflow: hidden; border-top-right-radius: 1.5rem; pointer-events: none; color: hsl(var(--card)); }
.testimonial-card__bite svg { position: absolute; top: -2.5rem; right: -2.5rem; width: 6rem; height: 6rem; fill: currentColor; }
.testimonial-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.testimonial-card__stars { display: flex; gap: 0.15rem; color: hsl(var(--marigold)); }
.testimonial-card__quote-icon { color: hsl(var(--primary) / 0.3); line-height: 0; }
.testimonial-card blockquote { font-family: var(--font-display); color: hsl(var(--primary)); font-size: 1.125rem; line-height: 1.375; margin-bottom: 2rem; }
@media (min-width: 768px) { .testimonial-card blockquote { font-size: 1.25rem; } }
.testimonial-quote__lead { font-weight: 900; font-style: italic; }
.testimonial-quote__rest { font-weight: 400; }
.testimonial-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.testimonial-card__name { font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: hsl(var(--primary)); }
@media (min-width: 768px) { .testimonial-card__name { font-size: 0.875rem; } }
.testimonial-card__role { font-size: 12px; color: hsl(var(--primary) / 0.6); margin-top: 0.25rem; }
@media (min-width: 768px) { .testimonial-card__role { font-size: 0.875rem; } }
.testimonial-card__spark { color: hsl(var(--primary) / 0.25); flex-shrink: 0; }
.testimonial-card__crumbs { position: absolute; bottom: 1rem; left: 25%; display: flex; align-items: center; gap: 0.5rem; pointer-events: none; }
.testimonial-card__crumbs span:nth-child(1) { width: 4px; height: 4px; border-radius: 999px; background: hsl(var(--marigold)); }
.testimonial-card__crumbs span:nth-child(2) { width: 6px; height: 6px; border-radius: 999px; background: hsl(var(--primary) / 0.2); transform: translateY(4px); }
.testimonial-card__crumbs span:nth-child(3) { width: 4px; height: 4px; border-radius: 999px; background: hsl(var(--primary) / 0.4); margin-left: 0.75rem; }
.testimonials-controls { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 3rem; }
.testimonials-arrow { width: 48px; height: 48px; border-radius: 999px; border: 1px solid hsl(var(--primary) / 0.3); color: hsl(var(--primary)); display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.testimonials-arrow:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.testimonials-dots { display: flex; align-items: center; gap: 0.75rem; }
.testimonials-dots button { width: 10px; height: 10px; border-radius: 999px; background: hsl(var(--marigold) / 0.3); transition: all 0.2s ease; }
.testimonials-dots button.is-active { background: hsl(var(--primary)); box-shadow: 0 1px 2px hsl(var(--primary) / 0.2); }

/* ------------------------------------------------------------------
 * Final CTA + newsletter
 * ---------------------------------------------------------------- */
.cta-band { position: relative; min-height: 85vh; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6rem 1rem; overflow: hidden; }
.cta-band__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 0.7s ease; }
.cta-band__video.is-loaded { opacity: 1; }
.cta-band__overlay { position: absolute; inset: 0; background: hsl(var(--nopal) / 0.55); z-index: 2; }
.cta-band__panel {
	position: relative; z-index: 2; width: 100%; max-width: 56rem; border-radius: 2rem; overflow: hidden;
	box-shadow: var(--shadow-elevated); backdrop-filter: blur(8px);
	background: linear-gradient(135deg, hsl(var(--background) / 0.97) 0%, hsl(var(--card) / 0.92) 55%, hsl(var(--accent) / 0.35) 100%);
	padding: 3.5rem 2rem; text-align: center;
}
@media (min-width: 768px) { .cta-band__panel { padding: 5rem 4rem; } }
.cta-band__eyebrow { font-family: var(--font-display); font-style: italic; color: hsl(var(--primary)); font-size: 1.125rem; margin-bottom: 1rem; }
.cta-band__title { color: hsl(var(--foreground)); line-height: 1.05; margin-bottom: 1.5rem; }
.cta-band__title-accent { font-style: italic; color: hsl(var(--primary)); }
.cta-band__actions .theme-btn-primary,
.cta-band__actions .theme-btn-secondary { text-transform: none; letter-spacing: normal; font-size: 0.875rem; font-weight: 500; }
.cta-band__social a { display: inline-flex; align-items: center; gap: 0.35rem; }
.cta-band__social-dot { opacity: 0.3; }
.cta-band__subtitle { color: hsl(var(--foreground) / 0.75); max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.6; }
@media (min-width: 768px) { .cta-band__subtitle { font-size: 1.125rem; } }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; justify-content: center; } }
.theme-btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-soft); }
.theme-btn-primary:hover { background: hsl(var(--primary) / 0.9); transform: scale(1.03); }
.theme-btn-secondary { background: hsl(var(--background) / 0.8); color: hsl(var(--foreground)); border: 1px solid hsl(var(--foreground) / 0.15); }
.theme-btn-secondary:hover { background: hsl(var(--background)); }
.cta-band__social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1.25rem; font-size: 0.8rem; color: hsl(var(--foreground) / 0.65); }
.cta-band__social a:hover { color: hsl(var(--primary)); }

.newsletter-section { padding: 0; }
.newsletter-panel {
	width: 100%; min-height: 66vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 3rem 1.5rem; text-align: center;
	background: linear-gradient(135deg, hsl(var(--primary) / 0.97) 0%, hsl(var(--primary) / 0.92) 55%, hsl(var(--accent) / 0.35) 100%);
}
.newsletter-title { color: hsl(var(--primary-foreground)); font-size: 1.75rem; line-height: 1.1; margin-bottom: 1rem; }
@media (min-width: 768px) { .newsletter-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .newsletter-title { font-size: 3rem; } }
.newsletter-subtitle { color: hsl(var(--primary-foreground) / 0.85); max-width: 34rem; margin: 0 auto 2rem; line-height: 1.6; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 34rem; width: 100%; margin: 0 auto; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-panel .section-kicker { color: hsl(var(--primary-foreground) / 0.8); }
.newsletter-form__field { position: relative; flex: 1; }
.newsletter-form__field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: hsl(var(--primary) / 0.6); pointer-events: none; }
.newsletter-form input { flex: 1; border-radius: 999px; background: hsl(var(--background)); color: hsl(var(--foreground)); padding: 1rem 1.25rem 1rem 2.75rem; border: none; outline: none; width: 100%; }
.newsletter-form input:focus { box-shadow: 0 0 0 2px hsl(var(--accent)); }
.newsletter-form button { border-radius: 999px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); padding: 1rem 2rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.newsletter-form button:hover { transform: scale(1.03); }
.newsletter-form button:disabled { opacity: 0.7; cursor: wait; }
.newsletter-success { display: inline-flex; align-items: center; gap: 0.75rem; border-radius: 999px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); padding: 1rem 1.75rem; font-weight: 600; font-size: 0.875rem; }
.newsletter-success[hidden] { display: none; }
.newsletter-embed { width: 100%; max-width: 34rem; margin: 0 auto; }
.newsletter-embed iframe { max-width: 100%; }

/* ------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.site-footer__inner { padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.site-footer__top { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid hsl(var(--border)); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__logo img,
.site-footer__logo-img {
	height: 2.5rem;
	max-height: 2.5rem;
	width: auto;
	max-width: 9rem;
	object-fit: contain;
}
@media (min-width: 768px) {
	.site-footer__logo img,
	.site-footer__logo-img {
		height: 3.5rem;
		max-height: 3.5rem;
		max-width: 10rem;
	}
}
.site-footer__intro { max-width: 34rem; font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); line-height: 1.6; }
@media (min-width: 640px) { .site-footer__intro { text-align: right; } }
.site-footer__intro a:hover { color: hsl(var(--foreground)); }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.footer-col h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a, .footer-col span { font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); transition: color 0.2s ease; }
.footer-col a:hover { color: hsl(var(--primary)); }
.footer-col--connect li svg { color: hsl(var(--accent)); flex-shrink: 0; }
.footer-col--connect a,
.footer-col--connect span { display: inline-flex; align-items: flex-start; gap: 0.5rem; }
.footer-col--connect li { display: flex; align-items: flex-start; gap: 0.5rem; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--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; } }
.footer-quote { font-family: var(--font-display); font-style: italic; color: hsl(var(--primary)); font-size: 12px; }
.footer-legal { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
@media (min-width: 640px) { .footer-legal { align-items: flex-end; } }
.footer-legal p { font-size: 12px; color: hsl(var(--muted-foreground)); }
.footer-legal a { text-decoration: underline; text-decoration-color: hsl(var(--muted-foreground) / 0.5); }

/* ------------------------------------------------------------------
 * Contact modal
 * ---------------------------------------------------------------- */
#theme-contact-overlay { position: fixed; inset: 0; background: hsl(var(--foreground) / 0.4); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal { position: fixed; inset: 0; z-index: 201; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
body.contact-open #theme-contact-modal { opacity: 1; pointer-events: auto; }
.theme-contact-modal__panel {
	position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: hsl(var(--background)); border-radius: 1.25rem; padding: 2rem;
	transform: translateY(12px) scale(0.98); transition: transform 0.25s ease;
	box-shadow: var(--shadow-elevated);
}
body.contact-open .theme-contact-modal__panel { transform: translateY(0) scale(1); }
.theme-contact-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; color: hsl(var(--muted-foreground)); }
.theme-contact-modal__close:hover { color: hsl(var(--foreground)); }
#theme-contact-modal h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__subtitle { color: hsl(var(--muted-foreground)); font-size: 0.9rem; margin-bottom: 1.25rem; }
.theme-contact-modal__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.theme-contact-modal__meta a:hover { color: hsl(var(--foreground)); }
.theme-form-row { margin-bottom: 1rem; }
.theme-form-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.theme-form-row label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; }
.theme-form-row input, .theme-form-row select, .theme-form-row textarea {
	width: 100%; padding: 0.65rem 0.75rem; background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: 6px; outline: none; transition: box-shadow 0.2s ease;
}
.theme-form-row input:focus, .theme-form-row select:focus, .theme-form-row textarea:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / 0.4); }
.theme-form-row textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-error { color: hsl(0 65% 45%); font-size: 0.85rem; margin-top: 0.75rem; }
.theme-form-error[hidden] { display: none; }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success[hidden] { display: none; }
.theme-contact-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { color: hsl(var(--muted-foreground)); font-size: 0.9rem; }

/* ------------------------------------------------------------------
 * Side cart drawer + overlay (Sections 12, 22.5, 31.6)
 * ---------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: hsl(var(--foreground) / 0.25); z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 26rem;
	background: hsl(var(--background)); z-index: 301; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid hsl(var(--border)); }
.theme-cart-drawer__header h2 { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; color: hsl(var(--foreground)); }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: hsl(var(--muted-foreground)); }
.theme-cart-drawer__empty p { color: hsl(var(--muted-foreground)); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: hsl(var(--secondary)); overflow: hidden; flex-shrink: 0; border-radius: 6px; position: relative; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-top: 0.15rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.15rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-item__controls button[data-cart-qty-update] { padding: 0.25rem; border-radius: 4px; }
.theme-cart-item__controls button[data-cart-qty-update]:hover { background: hsl(var(--secondary)); }
.theme-cart-item__controls span { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.theme-cart-item__remove:hover { color: hsl(var(--foreground)); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid hsl(var(--border)); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__shipnote { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.theme-cart-drawer__checkout { width: 100%; text-align: center; padding: 0.9rem; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: 0.875rem; font-weight: 500; }
.theme-cart-drawer__checkout:hover { background: hsl(var(--primary) / 0.9); }
.theme-cart-drawer__empty-btn { width: 100%; text-align: center; padding: 0.65rem; border-radius: 999px; border: 1px solid hsl(var(--border)); font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.theme-cart-drawer__empty-btn:hover { background: hsl(var(--secondary)); }
.theme-cart-drawer__continue { border: 1px solid hsl(var(--border)); border-radius: 999px; padding: 0.65rem 1.5rem; font-size: 0.85rem; }
.theme-cart-drawer__continue:hover { background: hsl(var(--secondary)); }

/* Hide WooCommerce's own "View cart" link after AJAX add (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; }

/* ------------------------------------------------------------------
 * Add to cart button overrides (Section 11.4.1)
 * ---------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-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;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.loading::after,
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.single-product .single_add_to_cart_button, .single-product .add_to_cart_button { text-transform: none !important; }

/* ------------------------------------------------------------------
 * WooCommerce notices (scoped — 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: 8px; padding: 1rem 1.25rem;
	background: hsl(var(--card)); border: 1px solid hsl(var(--border)); margin-bottom: 1.5rem; list-style: none;
}
.woocommerce-error { border-color: hsl(0 65% 45% / 0.4); color: hsl(0 65% 35%); }

/* ------------------------------------------------------------------
 * Single product page (Section 11)
 * ---------------------------------------------------------------- */
.single-product .site-main { padding: 2rem 0 6rem; }
.product-breadcrumb { padding: 1rem 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.product-breadcrumb a:hover { color: hsl(var(--foreground)); }
.product-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; align-items: start; padding-bottom: 6rem; padding-top: 1rem; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info {
		position: sticky;
		top: 7rem;
		align-self: start;
		padding-left: 1rem;
	}
}

.theme-product-gallery__main { aspect-ratio: 1/1; background: hsl(var(--secondary)); border-radius: 1rem; overflow: hidden; position: relative; }
#product-main-img { object-fit: cover; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; border-radius: 8px; background: hsl(var(--secondary)); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb.is-active::after { content: ''; position: absolute; inset: 0; border: 2px solid hsl(var(--foreground)); border-radius: 8px; }

.theme-product-info .posted_in { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: hsl(var(--muted-foreground)); font-family: var(--font-body); }
.theme-product-info .posted_in a { text-decoration: underline; }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; letter-spacing: -0.015em; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info .price { font-size: 1.25rem; margin-bottom: 1.5rem; display: block; font-family: var(--font-body); color: hsl(var(--foreground)); }
.theme-product-lead { color: hsl(var(--muted-foreground)); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); font-size: 1rem; }
.theme-quantity-block { margin-bottom: 1rem; }
.theme-quantity-label {
	display: block;
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem;
}
.theme-add-to-cart-area--stacked {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin-top: 0.5rem;
	margin-bottom: 2.5rem;
}
.theme-btn-product-cart,
.single-product .theme-add-to-cart-area--stacked .single_add_to_cart_button {
	width: 100%;
	padding: 1rem 1.5rem !important;
	border-radius: 999px !important;
	background: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border: none !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	text-align: center;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}
.theme-btn-product-cart:hover,
.single-product .theme-add-to-cart-area--stacked .single_add_to_cart_button:hover:not(:disabled) {
	background: hsl(var(--primary) / 0.9) !important;
}
.theme-product-info .price del { opacity: 0.5; margin-right: 0.5rem; }
.stock-indicator { display: inline-block; margin-bottom: 1.5rem; font-size: 0.85rem; font-weight: 500; }
.stock-indicator.out-of-stock { color: hsl(0 65% 45%); }
.stock-indicator.in-stock { color: hsl(var(--teal)); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid hsl(var(--border)); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.9rem; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: hsl(var(--secondary)); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; margin-bottom: 2.5rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-accordion { border-top: 1px solid hsl(var(--border)); }
.theme-accordion-item { border-bottom: 1px solid hsl(var(--border)); }
.theme-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion-trigger svg { transition: transform 0.2s ease; }
.theme-accordion-item.is-open .theme-accordion-trigger svg { transform: rotate(180deg); }
.theme-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.theme-accordion-item.is-open .theme-accordion-content { max-height: 60rem; }
.theme-accordion-content-inner { padding-bottom: 1.5rem; font-size: 0.95rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.theme-accordion-content-inner ul { margin-top: 1rem; }
.theme-accordion-content-inner li { display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.theme-accordion-content-inner li::before { content: ''; width: 4px; height: 4px; border-radius: 999px; background: hsl(var(--foreground)); margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.related-products-section { padding: 5rem 0; border-top: 1px solid hsl(var(--border)); }
.related-products-section .section-head { margin-bottom: 3rem; }
.related-products-section .section-kicker-italic { font-family: var(--font-display); font-style: italic; color: hsl(var(--muted-foreground)); display: block; margin-bottom: 0.5rem; }

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

/* Variable product variation pills */
.theme-attribute-group { margin-bottom: 1.5rem; }
.theme-attribute-label {
	display: block;
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem;
}
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid hsl(var(--border));
	border-radius: 999px;
	background: transparent;
	color: hsl(var(--foreground));
	transition: all 0.2s ease;
}
.theme-attr-pill:hover { border-color: hsl(var(--foreground) / 0.6); }
.theme-attr-pill.is-selected {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}
.theme-attribute-select-hidden,
.theme-attr-select-hidden { display: none !important; }
.theme-variations-source {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variations-source select { display: block; }
.single_variation_wrap { margin-top: 1rem; display: block !important; visibility: visible !important; }
.single-product .woocommerce-variation.single_variation:empty { display: none !important; }
.single-product .woocommerce-variation-add-to-cart {
	display: flex !important;
	flex-direction: column;
	visibility: visible !important;
	opacity: 1 !important;
	min-height: 0;
}
.single-product form.variations_form .woocommerce-variation-add-to-cart[style] {
	display: flex !important;
}
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:not(:disabled) {
	opacity: 1;
}
.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ------------------------------------------------------------------
 * Shop archive
 * ---------------------------------------------------------------- */
.archive-shop-header { padding: 3rem 0 2rem; text-align: center; }
.archive-shop-header h1 { font-size: 2rem; }
.woocommerce-no-products-found { text-align: center; padding: 4rem 0; color: hsl(var(--muted-foreground)); }

/* ------------------------------------------------------------------
 * Checkout (WooCommerce Checkout Block — Section 13)
 * ---------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-size: 2rem;
	padding: 2rem 0 1rem;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

/* Single 2-column grid — flatten wrappers so only ONE grid exists */
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .woocommerce {
	width: 100%;
	max-width: none;
}

@media (min-width: 768px) {
	/* Flatten outer block wrappers so their children join a single grid */
	body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .wp-block-woocommerce-checkout {
		display: contents !important;
	}

	/* THE one 2-column grid */
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: var(--checkout-gap) !important;
		align-items: start;
		width: 100% !important;
		max-width: none !important;
	}

	/* Full-width rows above the 2 columns */
	body.woocommerce-checkout .wc-block-checkout > .with-scroll-to-top__scroll-point,
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices__snackbar {
		grid-column: 1 / -1;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-main.wc-block-checkout__main {
		grid-column: 1;
		grid-row: auto;
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		grid-template-columns: none !important;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar {
		grid-column: 2;
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		align-self: start;
		position: sticky;
		top: calc(var(--header-height) + 1rem);
		grid-template-columns: none !important;
	}

	/* Kill nested grids inside either column */
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-form,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__form,
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__billing-fields,
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__shipping-fields,
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__contact-fields,
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__actions,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary,
	body.woocommerce-checkout .wc-block-checkout__main [class*="wc-block-components-sidebar-layout"],
	body.woocommerce-checkout .wc-block-checkout__sidebar [class*="wc-block-components-sidebar-layout"] {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		grid-template-columns: none !important;
		grid-template-rows: none !important;
		gap: 0 !important;
	}

	body.woocommerce-checkout .wc-block-checkout__main > *,
	body.woocommerce-checkout .wc-block-checkout__sidebar > * {
		width: 100% !important;
		max-width: none !important;
	}

	/* WC duplicates order summary inside the main column — keep sidebar only */
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper,
	body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block {
		display: none !important;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-surface);
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-order-summary__content {
	display: block !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
		display: none;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout textarea {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	color: hsl(var(--foreground)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 0.375rem !important;
	background-color: hsl(var(--background)) !important;
	width: 100% !important;
	max-width: none !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus {
	outline: none !important;
	box-shadow: 0 0 0 1px hsl(var(--primary)) !important;
	border-color: hsl(var(--primary)) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder,
body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder {
	color: hsl(var(--muted-foreground)) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	font-weight: 600 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 8px; font-family: var(--font-body);
}
.woocommerce-cart .wc-block-cart, .woocommerce-account .woocommerce-MyAccount-content { font-family: var(--font-body); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 0.5rem; }
.woocommerce-account .woocommerce-MyAccount-navigation a { color: hsl(var(--foreground) / 0.75); }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { color: hsl(var(--primary)); }

/* ------------------------------------------------------------------
 * Thank-you page (Section 22.8)
 * ---------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding: 3rem 0 6rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; background: hsl(var(--card)); border-radius: var(--card-radius); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; 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 hsl(var(--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; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; border: 1px solid hsl(var(--border)); border-radius: var(--card-radius); padding: 1.5rem; font-style: normal; }

/* ------------------------------------------------------------------
 * 404
 * ---------------------------------------------------------------- */
.notfound-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.notfound-page h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.notfound-page p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.notfound-page a { color: hsl(var(--primary)); text-decoration: underline; }
