/* ==========================================================================
   GLYRA — Design Tokens
   Style: Modern Botanical Luxury (minimalist, editorial, organic)
   Palette: Sage / Ivory / Charcoal / Champagne Gold / Clay Blush
   Type: Poppins (display sans) + Montserrat (body sans)
   ========================================================================== */

:root {
  /* Color tokens */
  --color-bg: #FAF6EF;
  --color-bg-alt: #F1EBDD;
  --color-surface: #FFFFFF;
  --color-dark: #22241F;
  --color-dark-soft: #33362D;
  --color-primary: #5F6E4F;
  --color-primary-dark: #3F4A34;
  --color-primary-light: #A8B594;
  --color-accent: #C39A5B;
  --color-accent-light: #E7D3AC;
  --color-blush: #E7C3B4;
  --color-blush-dark: #C99883;
  --color-text: #26251F;
  --color-text-muted: #6B6A5F;
  --color-text-inverse: #F7F2E7;
  --color-border: rgba(34, 36, 31, 0.1);
  --color-border-light: rgba(34, 36, 31, 0.06);

  /* Typography */
  --font-display: "Poppins", -apple-system, sans-serif;
  --font-body: "Montserrat", -apple-system, sans-serif;

  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --fs-lg: clamp(1.375rem, 1.3rem + 0.35vw, 1.625rem);
  --fs-xl: clamp(1.75rem, 1.6rem + 0.7vw, 2.25rem);
  --fs-2xl: clamp(2.25rem, 1.95rem + 1.4vw, 3.25rem);
  --fs-3xl: clamp(3rem, 2.4rem + 2.8vw, 5rem);
  --fs-4xl: clamp(3.75rem, 2.8rem + 4.5vw, 7rem);

  /* Spacing (8pt rhythm, generous for marketing site) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;
  --space-4xl: 9rem;

  /* Effects */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 12px rgba(34, 36, 31, 0.06);
  --shadow-md: 0 12px 40px rgba(34, 36, 31, 0.08);
  --shadow-lg: 0 30px 80px rgba(34, 36, 31, 0.14);
  --shadow-glow: 0 0 60px rgba(195, 154, 91, 0.25);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.has-lenis { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

/* The hidden attribute must always win, even over classes that set display (e.g. .spotlight-grid) */
[hidden] { display: none !important; }

::selection { background: var(--color-primary); color: var(--color-text-inverse); }

/* Focus visibility (a11y) */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.text-muted { color: var(--color-text-muted); }
.font-display { font-family: var(--font-display); }
.italic { font-style: italic; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 1rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 48px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--color-dark);
  color: var(--color-text-inverse);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--color-primary-dark); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-dark); background: var(--color-dark); color: var(--color-text-inverse); transform: translateY(-2px); }

.btn-ghost {
  padding: 0.5rem 0;
  min-height: auto;
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 1.5px solid var(--color-dark);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--color-primary); border-color: var(--color-primary); gap: var(--space-xs); }
.btn-ghost svg { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease-out); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-sm { padding: 0.7rem 1.25rem; min-height: 40px; font-size: var(--fs-xs); }

/* magnetic wrapper target */
.magnetic { will-change: transform; }

/* ==========================================================================
   Grain overlay (subtle premium texture)
   ========================================================================== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor dot (desktop only, decorative) */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
  z-index: 998;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease, width 250ms var(--ease-out), height 250ms var(--ease-out), background 250ms ease;
  opacity: 0;
}
.cursor-dot.is-active { opacity: 1; }
.cursor-dot.is-hover { width: 44px; height: 44px; background: rgba(195, 154, 91, 0.18); border: 1.5px solid var(--color-accent); }

@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
}
.preloader-mark {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--color-text-inverse);
  letter-spacing: 0.02em;
  overflow: hidden;
}
.preloader-mark img { height: 40px; width: auto; display: block; border-radius: 8px; }
.preloader-bar {
  width: min(220px, 60vw);
  height: 1px;
  background: rgba(247, 242, 231, 0.2);
  position: relative;
  overflow: hidden;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: preload-fill 1.4s var(--ease-in-out) forwards;
}
@keyframes preload-fill { to { transform: scaleX(1); } }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: padding var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.navbar.is-scrolled {
  padding: var(--space-xs) 0;
  background: rgba(250, 246, 239, 0.75);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}
.logo-dot { color: var(--color-accent); }
.logo-img { height: 28px; width: auto; display: block; border-radius: 6px; }
.footer-brand .logo-img { height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-2xs) 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: var(--space-md); }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.icon-btn:hover { background: var(--color-bg-alt); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[data-count]::after {
  content: attr(data-count);
  position: absolute;
  transform: translate(11px, -14px);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: 10px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-in-out);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: var(--space-lg); }
.mobile-nav-links a { font-family: var(--font-display); font-size: var(--fs-2xl); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(5rem, 10vw, 7rem);
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(168, 181, 148, 0.25), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(231, 195, 180, 0.25), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-title {
  font-size: var(--fs-4xl);
  margin: var(--space-md) 0 var(--space-lg);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; }
.hero-desc {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-xl);
}
.hero-actions { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--color-dark);
}
.hero-stat-label { font-size: var(--fs-xs); color: var(--color-text-muted); }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(640px, 70vh);
}
.hero-blob {
  position: absolute;
  inset: 8% 12%;
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
  background: linear-gradient(160deg, var(--color-primary-light), var(--color-primary));
  opacity: 0.35;
  filter: blur(2px);
  animation: blob-morph 12s var(--ease-in-out) infinite alternate;
}
@keyframes blob-morph {
  0% { border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
  50% { border-radius: 45% 55% 60% 40% / 40% 60% 40% 60%; }
  100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
}
.hero-bottle-wrap {
  position: relative;
  z-index: 2;
  width: min(340px, 60vw);
  filter: drop-shadow(0 40px 60px rgba(34, 36, 31, 0.22));
}
.floating-petal {
  position: absolute;
  width: 46px;
  opacity: 0.9;
}
.p1 { top: 6%; left: 4%; animation: float-y 6s ease-in-out infinite; }
.p2 { bottom: 12%; right: 2%; width: 34px; animation: float-y 7s ease-in-out infinite 1s; }
.p3 { top: 45%; right: -4%; width: 28px; animation: float-y 5s ease-in-out infinite 0.5s; }
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--color-text-muted), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--color-accent);
  animation: scroll-drip 2s var(--ease-in-out) infinite;
}
@keyframes scroll-drip {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 100%; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-visual { order: -1; height: 380px; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-section {
  background: var(--color-dark);
  color: var(--color-text-inverse);
  padding: var(--space-lg) 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: var(--space-2xl);
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: rgba(247, 242, 231, 0.85);
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-left: var(--space-2xl);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section headers (shared)
   ========================================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}
.section-title { font-size: var(--fs-3xl); max-width: 14ch; }
.section-sub { max-width: 40ch; color: var(--color-text-muted); }

/* ==========================================================================
   Philosophy / About
   ========================================================================== */
.philosophy { padding: var(--space-4xl) 0; }
.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.philosophy-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--color-bg-alt), var(--color-primary-light) 120%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.philosophy-visual svg { width: 60%; }
.philosophy-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: 240px;
}
.philosophy-badge svg { width: 32px; height: 32px; color: var(--color-primary); flex-shrink: 0; }
.philosophy-badge strong { display: block; font-size: var(--fs-sm); }
.philosophy-badge span { font-size: var(--fs-xs); color: var(--color-text-muted); }

.philosophy-list { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); }
.philosophy-item { display: flex; gap: var(--space-md); }
.philosophy-item .num {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--color-accent);
  flex-shrink: 0;
}
.philosophy-item h4 { font-size: var(--fs-md); margin-bottom: var(--space-3xs); }
.philosophy-item p { color: var(--color-text-muted); font-size: var(--fs-sm); }

@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Product Showcase
   ========================================================================== */
.showcase { padding: var(--space-3xl) 0; background: var(--color-bg-alt); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.product-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-slow) var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-card-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 3;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-dark);
  color: var(--color-text-inverse);
}
.product-card-tag.tag-new { background: var(--color-accent); }
.product-card-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  margin-bottom: var(--space-md);
  overflow: hidden;
}
.product-card-visual svg { width: 55%; transition: transform var(--dur-slow) var(--ease-out); }
.product-card:hover .product-card-visual svg { transform: translateY(-8px) scale(1.04); }
.product-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-card:hover .product-card-visual img { transform: scale(1.04); }
.product-card-visual.is-bundle { display: flex; gap: var(--space-2xs); padding: var(--space-sm); }
.product-card-visual.is-bundle img { width: 50%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
/* ---- Product review form ---- */
.reviews-empty { color: var(--color-text-muted); font-size: var(--fs-sm); margin-top: var(--space-sm); }
.review-form-card {
  margin-top: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 560px;
}
.review-form-card h3 { margin-bottom: var(--space-sm); }
.review-stars-label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--space-3xs); }
.review-star-input { display: flex; gap: 4px; }
.review-star-input button {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-border);
  transition: color var(--dur-base), transform var(--dur-base);
  background: none;
}
.review-star-input button:hover { transform: scale(1.15); }
.review-star-input button.is-active { color: var(--color-accent); }
.review-form-card .form-success { display: none; margin-top: var(--space-sm); }
.review-form-card .form-success.is-visible { display: flex; }

/* ---- Site search overlay ---- */
.search-overlay { position: fixed; inset: 0; z-index: 300; display: none; }
.search-overlay.is-open { display: block; }
.search-overlay-backdrop { position: absolute; inset: 0; background: rgba(34, 36, 31, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search-overlay-panel {
  position: relative;
  max-width: 640px;
  margin: clamp(4rem, 12vh, 8rem) auto 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: calc(100% - 2rem);
}
.search-overlay-bar { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-border); }
.search-overlay-bar > svg { width: 20px; height: 20px; color: var(--color-text-muted); flex-shrink: 0; }
.search-overlay-input { flex: 1; border: 0; outline: 0; background: transparent; font-size: var(--fs-md); font-family: inherit; color: var(--color-text); }
.search-overlay-results { max-height: 55vh; overflow-y: auto; padding: var(--space-xs); }
.search-result { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-md); color: inherit; text-decoration: none; transition: background var(--dur-base); }
.search-result:hover { background: var(--color-bg-alt); }
.search-result img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-bg-alt); flex-shrink: 0; }
.search-result span:first-of-type { flex: 1; display: flex; flex-direction: column; }
.search-result em { font-style: normal; font-size: var(--fs-xs); color: var(--color-text-muted); }
.search-result-price { font-weight: 700; font-size: var(--fs-sm); color: var(--color-dark); }
.search-empty { padding: var(--space-lg); text-align: center; color: var(--color-text-muted); font-size: var(--fs-sm); }

.product-card-quick {
  position: absolute;
  right: var(--space-md);
  top: var(--space-md);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-text-inverse);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-70px);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out), background var(--dur-base);
}
.product-card:hover .product-card-quick { transform: translateY(0); opacity: 1; }
.product-card-quick:hover { background: var(--color-primary-dark); }
.product-card-quick svg { width: 18px; height: 18px; }
.product-card-quick.is-added,
.btn.is-added { background: var(--color-primary) !important; color: var(--color-text-inverse) !important; }
.product-card-buy { width: 100%; justify-content: center; margin-top: var(--space-sm); }
.product-card-tag.tag-sale { background: var(--color-blush-dark); color: var(--color-text-inverse); }
.price-compare {
  font-weight: 500;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-left: 4px;
}

/* Discount code row (checkout summary) */
.discount-row { display: flex; gap: var(--space-2xs); margin: var(--space-sm) 0 var(--space-2xs); }
.discount-row input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  background: var(--color-bg);
  text-transform: uppercase;
}
.discount-row input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.discount-msg { font-size: var(--fs-xs); min-height: 1.2em; margin-bottom: var(--space-2xs); }
.discount-msg.is-ok { color: var(--color-primary-dark); }
.discount-msg.is-error { color: #B3554D; }

/* ==========================================================================
   Collections
   ========================================================================== */
.collections { padding: var(--space-3xl) 0; }
.collection-page { min-height: 60vh; padding: var(--space-2xl) 0 var(--space-4xl); }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.collection-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  transition: box-shadow var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.collection-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.collection-card-visual { aspect-ratio: 16 / 8; overflow: hidden; }
.collection-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.collection-card:hover .collection-card-visual img { transform: scale(1.05); }
.collection-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
}
.collection-card-body h3 { font-size: var(--fs-md); }
.collection-card-body span { font-size: var(--fs-sm); color: var(--color-text-muted); white-space: nowrap; }
@media (max-width: 760px) { .collections-grid { grid-template-columns: 1fr; } }
.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-card h3 { font-size: var(--fs-md); margin-bottom: var(--space-3xs); }
.product-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-sm); }
.product-price { font-weight: 700; color: var(--color-dark); }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--color-text-muted); }
.product-rating svg { width: 14px; height: 14px; color: var(--color-accent); }

@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Promo banner (mid-page bundle callout)
   ========================================================================== */
.promo-banner { padding: var(--space-2xl) 0; }
.promo-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: var(--space-2xl);
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary) 65%, var(--color-accent) 145%);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  overflow: hidden;
}
.promo-banner-inner::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  top: -160px; right: -120px;
}
.promo-banner-visual { display: flex; justify-content: center; gap: var(--space-md); position: relative; z-index: 1; }
.promo-banner-visual img { width: 42%; max-width: 190px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); transform: rotate(-4deg); object-fit: cover; aspect-ratio: 1/1; }
.promo-banner-visual img:last-child { transform: rotate(4deg); margin-top: var(--space-lg); }
.promo-banner-copy { position: relative; z-index: 1; color: var(--color-text-inverse); }
.promo-banner-title { font-size: var(--fs-2xl); margin: var(--space-sm) 0; max-width: 14ch; color: var(--color-text-inverse); }
.promo-banner-copy p { color: rgba(247, 242, 231, 0.85); margin-bottom: var(--space-lg); max-width: 40ch; }

@media (max-width: 780px) {
  .promo-banner-inner { grid-template-columns: 1fr; text-align: center; }
  .promo-banner-copy p { margin-inline: auto; }
  .promo-banner-title { margin-inline: auto; }
}

/* ==========================================================================
   Spotlight (featured product with tabs + liquid animation)
   ========================================================================== */
.spotlight { padding: var(--space-4xl) 0; }
.spotlight-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-2xl);
  align-items: center;
}
.spotlight-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 20%, var(--color-bg-alt), var(--color-primary-light) 140%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight-visual svg#liquidBottle { width: 46%; }
.spotlight-duo { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: var(--space-md); width: 80%; height: 80%; }
.spotlight-duo img { width: 48%; height: 88%; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-md); transition: transform var(--dur-slow) var(--ease-out); }
.spotlight-duo img:last-child { height: 100%; }
.spotlight-duo:hover img { transform: translateY(-6px); }
.spotlight-ring {
  position: absolute;
  inset: 8%;
  border: 1px dashed var(--color-border);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spotlight-drop {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--color-accent-light);
  opacity: 0.8;
}

.spotlight-copy .eyebrow { margin-bottom: var(--space-sm); }
.spotlight-title { font-size: var(--fs-2xl); margin-bottom: var(--space-md); }
.spotlight-desc { color: var(--color-text-muted); max-width: 52ch; margin-bottom: var(--space-lg); }

.tab-nav { display: flex; gap: var(--space-lg); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-lg); }
.tab-btn {
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--color-dark);
  transform: scaleX(0);
  transition: transform var(--dur-base) var(--ease-out);
}
.tab-btn.is-active { color: var(--color-dark); }
.tab-btn.is-active::after { transform: scaleX(1); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-in var(--dur-slow) var(--ease-out); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.tab-panel ul { display: grid; gap: var(--space-sm); }
.tab-panel li { display: flex; gap: var(--space-sm); align-items: flex-start; color: var(--color-text-muted); font-size: var(--fs-sm); }
.tab-panel li svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

.spotlight-cta { display: flex; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); flex-wrap: wrap; }
.spotlight-price { font-family: var(--font-display); font-size: var(--fs-xl); }

@media (max-width: 900px) { .spotlight-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Ingredients grid
   ========================================================================== */
.ingredients { padding: var(--space-3xl) 0; background: var(--color-dark); color: var(--color-text-inverse); }
.ingredients .section-sub { color: rgba(247, 242, 231, 0.65); }
.ingredients .eyebrow { color: var(--color-accent-light); }
.ingredients .eyebrow::before { background: var(--color-accent); }
.ing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(247,242,231,0.1); border-radius: var(--radius-lg); overflow: hidden; }
.ing-card {
  background: var(--color-dark-soft);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: background var(--dur-base) var(--ease-out);
}
.ing-card:hover { background: #3d4033; }
.ing-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(195, 154, 91, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.ing-icon svg { width: 26px; height: 26px; color: var(--color-accent-light); }
.ing-card h4 { font-family: var(--font-display); font-size: var(--fs-md); color: var(--color-text-inverse); }
.ing-card p { font-size: var(--fs-sm); color: rgba(247, 242, 231, 0.6); }

@media (max-width: 1080px) { .ing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ing-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding: var(--space-3xl) 0; }
.testi-track-wrap { overflow: hidden; }
.testi-track { display: flex; gap: var(--space-lg); transition: transform var(--dur-slow) var(--ease-in-out); }
.testi-card {
  flex: 0 0 min(560px, 88vw);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}
.testi-stars { display: flex; gap: 4px; margin-bottom: var(--space-md); }
.testi-stars svg { width: 18px; height: 18px; color: var(--color-accent); }
.testi-quote { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.4; margin-bottom: var(--space-lg); }
.testi-author { display: flex; align-items: center; gap: var(--space-md); }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-blush));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--color-dark);
  font-weight: 600;
}
.testi-author strong { display: block; font-size: var(--fs-sm); }
.testi-author span { font-size: var(--fs-xs); color: var(--color-text-muted); }

.testi-controls { display: flex; justify-content: center; gap: var(--space-md); margin-top: var(--space-xl); }
.testi-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base);
}
.testi-arrow:hover { background: var(--color-dark); color: var(--color-text-inverse); transform: scale(1.05); }
.testi-arrow svg { width: 18px; height: 18px; }

/* ==========================================================================
   Gallery (UGC)
   ========================================================================== */
.gallery { padding: var(--space-3xl) 0; background: var(--color-bg-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); }
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-primary-light), var(--color-blush));
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:nth-child(2n) { background: linear-gradient(160deg, var(--color-accent-light), var(--color-primary-light)); }
.gallery-item:nth-child(3n) { background: linear-gradient(160deg, var(--color-blush), var(--color-accent-light)); }
.gallery-item svg { width: 32%; opacity: 0.85; }
.gallery-item > img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery-item:hover > img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(34,36,31,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.gallery-overlay svg { width: 22px; height: 22px; color: var(--color-text-inverse); opacity: 1; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (max-width: 1080px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Welcome popup
   ========================================================================== */
.welcome-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.welcome-popup.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-base) var(--ease-out);
}
.welcome-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 36, 31, 0.55);
  backdrop-filter: blur(2px);
}
.welcome-popup-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(920px, 100%);
  max-height: min(600px, 92vh);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.94) translateY(10px);
  transition: transform var(--dur-base) var(--ease-out);
}
.welcome-popup.is-active .welcome-popup-box { transform: scale(1) translateY(0); }
.welcome-popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(247, 242, 231, 0.85);
  color: var(--color-dark);
  transition: background var(--dur-base), transform var(--dur-base);
}
.welcome-popup-close:hover { background: var(--color-text-inverse); transform: rotate(90deg); }
.welcome-popup-close svg { width: 18px; height: 18px; }
.welcome-popup-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--color-bg-alt), var(--color-blush) 140%);
  overflow: hidden;
}
.welcome-popup-visual svg:not(.floating-petal) { width: 60%; max-width: 200px; }
.welcome-popup-visual img { width: 100%; height: 100%; object-fit: cover; }
.welcome-popup-visual .floating-petal { position: absolute; width: 46px; opacity: 0.9; z-index: 2; }
.welcome-popup-visual .p1 { top: 12%; left: 10%; }
.welcome-popup-visual .p3 { bottom: 14%; right: 12%; width: 36px; }
.welcome-popup-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl);
  text-align: left;
}
.welcome-popup-title { font-size: var(--fs-xl); margin: var(--space-sm) 0 var(--space-sm); line-height: 1.15; }
.welcome-popup-desc { color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.welcome-popup-desc strong { color: var(--color-dark); }
.welcome-popup-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.welcome-popup-form input {
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  background: var(--color-bg);
}
.welcome-popup-form input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.welcome-popup-form button { width: 100%; justify-content: center; }
.welcome-popup-success { display: none; align-items: center; gap: var(--space-2xs); color: var(--color-primary-dark); font-size: var(--fs-sm); margin-top: var(--space-sm); }
.welcome-popup-success.is-visible { display: flex; }
.welcome-popup-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.welcome-popup-note { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: var(--space-md); }

@media (max-width: 720px) {
  .welcome-popup-box { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .welcome-popup-visual { min-height: 180px; }
  .welcome-popup-content { padding: var(--space-xl) var(--space-lg); }
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter { padding: var(--space-3xl) 0; }
.newsletter-card {
  position: relative;
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,154,91,0.35), transparent 70%);
  top: -200px; right: -150px;
}
.newsletter-title { font-size: var(--fs-2xl); max-width: 16ch; margin-inline: auto; margin-bottom: var(--space-sm); position: relative; color: var(--color-text-inverse); }
.newsletter-sub { color: rgba(247,242,231,0.7); max-width: 46ch; margin-inline: auto; margin-bottom: var(--space-xl); position: relative; }
.newsletter-form {
  position: relative;
  display: flex;
  max-width: 460px;
  margin-inline: auto;
  background: rgba(247,242,231,0.08);
  border: 1px solid rgba(247,242,231,0.2);
  border-radius: var(--radius-full);
  padding: 6px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.85rem 1.25rem;
  color: var(--color-text-inverse);
  font-size: var(--fs-sm);
}
.newsletter-form input::placeholder { color: rgba(247,242,231,0.5); }
.newsletter-form button {
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: background var(--dur-base) var(--ease-out);
  display: flex; align-items: center; gap: 6px;
}
.newsletter-form button:hover { background: var(--color-accent-light); }
.newsletter-form button svg { width: 18px; height: 18px; flex-shrink: 0; }
.newsletter-note { font-size: var(--fs-xs); color: rgba(247,242,231,0.5); margin-top: var(--space-md); position: relative; }
.form-success { display: none; align-items: center; justify-content: center; gap: var(--space-2xs); color: var(--color-accent-light); font-size: var(--fs-sm); margin-top: var(--space-md); }
.form-success.is-visible { display: flex; }
.form-success svg { width: 18px; height: 18px; }

@media (max-width: 560px) {
  .newsletter-form { flex-direction: column; background: transparent; border: none; gap: var(--space-sm); padding: 0; }
  .newsletter-form input { background: rgba(247,242,231,0.08); border: 1px solid rgba(247,242,231,0.2); border-radius: var(--radius-full); }
  .newsletter-form button { justify-content: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: var(--space-3xl) 0 var(--space-lg); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 0.8fr) 1.2fr; gap: var(--space-xl); margin-bottom: var(--space-2xl); }
.footer-brand p { color: var(--color-text-muted); max-width: 32ch; margin: var(--space-sm) 0 var(--space-lg); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base);
}
.footer-social a:hover { background: var(--color-dark); color: var(--color-text-inverse); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h5 { font-size: var(--fs-sm); margin-bottom: var(--space-md); }
.footer-col ul { display: grid; gap: var(--space-sm); }
.footer-col a { color: var(--color-text-muted); font-size: var(--fs-sm); transition: color var(--dur-base); }
.footer-col a:hover { color: var(--color-dark); }
.footer-col-subscribe p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-md); }
.footer-subscribe-form { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-subscribe-form input {
  width: 100%;
  padding: 0.6rem 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--color-border);
  font-size: var(--fs-sm);
  color: var(--color-text);
  transition: border-color var(--dur-base);
}
.footer-subscribe-form input::placeholder { color: var(--color-text-muted); }
.footer-subscribe-form input:focus-visible { outline: none; border-color: var(--color-dark); }
.footer-subscribe-form button {
  align-self: flex-start;
  margin-top: var(--space-2xs);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 1.5px solid var(--color-dark);
  padding-bottom: 2px;
  transition: color var(--dur-base), border-color var(--dur-base);
}
.footer-subscribe-form button:hover { color: var(--color-primary); border-color: var(--color-primary); }
.footer-subscribe-success { display: none; font-size: var(--fs-xs); color: var(--color-primary-dark); margin-top: var(--space-sm); }
.footer-subscribe-success.is-visible { display: block; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom a { margin-left: var(--space-xs); transition: color var(--dur-base); }
.footer-bottom a:hover { color: var(--color-dark); text-decoration: underline; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col-subscribe { grid-column: 1 / -1; max-width: 420px; }
}

/* ==========================================================================
   Reveal utility (GSAP driven, base state)
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Skip link */
.skip-link {
  position: fixed;
  top: -100px; left: var(--space-md);
  z-index: 1001;
  background: var(--color-dark);
  color: var(--color-text-inverse);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: var(--space-md); }

/* ==========================================================================
   Announcement bar (banner strip, all pages)
   ========================================================================== */
.announce-bar {
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
  overflow: hidden;
  padding: 9px 0;
}
.announce-track {
  display: flex;
  width: max-content;
  gap: var(--space-2xl);
  animation: marquee 22s linear infinite;
}
.announce-track span {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}
.announce-track span::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-left: var(--space-2xl);
}

/* ==========================================================================
   Generic page header (cart / checkout / faqs / privacy)
   ========================================================================== */
.page-header { padding: var(--space-2xl) 0 var(--space-lg); text-align: center; }
.page-header .section-title { margin-inline: auto; }

/* ==========================================================================
   Cart page
   ========================================================================== */
.cart-page { min-height: 60vh; padding-bottom: var(--space-4xl); }
.cart-empty {
  text-align: center;
  padding: var(--space-4xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  color: var(--color-text-muted);
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-2xl);
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: var(--space-md); }
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto auto auto;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-bg-alt); }
.cart-item-info h4 { font-size: var(--fs-md); margin-bottom: var(--space-3xs); }
.cart-item-price { font-size: var(--fs-sm); color: var(--color-text-muted); }
.cart-item-qty { display: flex; align-items: center; gap: var(--space-xs); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 4px 8px; }
.qty-btn { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 16px; transition: background var(--dur-base); }
.qty-btn:hover { background: var(--color-bg-alt); }
.qty-value { min-width: 20px; text-align: center; font-weight: 600; }
.cart-item-total { font-weight: 700; white-space: nowrap; }
.cart-item-remove { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--color-text-muted); transition: background var(--dur-base), color var(--dur-base); }
.cart-item-remove:hover { background: var(--color-bg-alt); color: var(--color-dark); }
.cart-item-remove svg { width: 16px; height: 16px; }

.cart-summary {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 120px;
}
.cart-summary h3 { font-size: var(--fs-md); margin-bottom: var(--space-md); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--color-text-muted); padding: var(--space-2xs) 0; }
.cart-summary-total { font-size: var(--fs-md); font-weight: 700; color: var(--color-dark); border-top: 1px solid var(--color-border); margin-top: var(--space-sm); padding-top: var(--space-sm); }
.cart-summary-note { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: var(--space-sm); text-align: center; }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 64px 1fr; row-gap: var(--space-xs); }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item-qty, .cart-item-total, .cart-item-remove { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   Checkout page
   ========================================================================== */
.checkout-page { min-height: 60vh; padding-bottom: var(--space-4xl); }
.product-page { min-height: 60vh; padding-bottom: var(--space-4xl); }
.product-detail { padding-top: var(--space-xl); }

/* ==========================================================================
   Payment info box (bank transfer instructions)
   ========================================================================== */
.payment-info-box {
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}
.payment-info-box h4 {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}
.payment-info-box h4 svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }
.payment-info-box ol {
  list-style: decimal;
  padding-left: 1.25rem;
  display: grid;
  gap: var(--space-2xs);
  font-size: var(--fs-sm);
  color: var(--color-text);
}
.payment-number {
  background: var(--color-dark);
  color: var(--color-text-inverse);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-page { min-height: 60vh; padding: var(--space-2xl) 0 var(--space-4xl); }
.blog-teaser { padding: var(--space-3xl) 0; }
.page-head { max-width: 60ch; margin-bottom: var(--space-2xl); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-visual { aspect-ratio: 16 / 10; background: var(--color-bg-alt); overflow: hidden; }
.blog-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.blog-card:hover .blog-card-visual img { transform: scale(1.05); }
.blog-card-body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }
.blog-card-category {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.blog-card-body h3 { font-size: var(--fs-md); }
.blog-card-body p { color: var(--color-text-muted); font-size: var(--fs-sm); flex: 1; }
.blog-card-meta { font-size: var(--fs-xs); color: var(--color-text-muted); }
.blog-article { max-width: 720px; margin-inline: auto; }
.blog-article-head { margin-bottom: var(--space-xl); }
.blog-article-title { font-size: var(--fs-2xl); margin: var(--space-sm) 0; }
.blog-article-meta { color: var(--color-text-muted); font-size: var(--fs-sm); }
.blog-article-body h3 { font-size: var(--fs-lg); margin: var(--space-lg) 0 var(--space-xs); }
.blog-article-body p { margin-bottom: var(--space-md); line-height: 1.75; color: var(--color-text); }
.blog-article-footer { display: flex; gap: var(--space-sm); margin-top: var(--space-2xl); flex-wrap: wrap; }
@media (max-width: 1080px) { .blog-grid { grid-template-columns: 1fr; max-width: 480px; } }
.product-reviews { margin-top: var(--space-3xl); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.review-card { max-width: none; }
@media (max-width: 1080px) { .reviews-grid { grid-template-columns: 1fr; } }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-2xl);
  align-items: start;
}
.checkout-fields {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.checkout-fields h3 { font-size: var(--fs-md); margin-bottom: var(--space-lg); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-md); }
.form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-row label { font-size: var(--fs-xs); font-weight: 600; color: var(--color-text-muted); }
.form-row input,
.form-row textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-size: var(--fs-sm);
  font-family: inherit;
  resize: vertical;
}
.form-row input:focus-visible,
.form-row textarea:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.checkout-error { color: #B4483A; font-size: var(--fs-sm); margin-bottom: var(--space-md); min-height: 1.2em; }
.checkout-items { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-border); }
.checkout-item { display: flex; justify-content: space-between; font-size: var(--fs-sm); gap: var(--space-sm); }
.checkout-item-name { color: var(--color-text); }
.checkout-item-qty { color: var(--color-text-muted); }

@media (max-width: 860px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row-group { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Order confirmation page
   ========================================================================== */
.confirmation-page { min-height: 60vh; padding-bottom: var(--space-4xl); }
.confirmation-content { padding-top: var(--space-xl); }
.confirmation-check {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: flex; align-items: center; justify-content: center;
}
.confirmation-check svg { width: 30px; height: 30px; }
.confirmation-item { grid-template-columns: 1fr auto; }
.confirmation-details { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: var(--space-sm); }
.confirmation-details div { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-sm); }
.confirmation-details span { color: var(--color-text-muted); font-size: var(--fs-xs); }

/* ==========================================================================
   Legal pages (privacy policy) + FAQs
   ========================================================================== */
.legal-page { padding-bottom: var(--space-4xl); max-width: 800px; margin-inline: auto; }
.legal-content h3 { font-size: var(--fs-md); margin: var(--space-xl) 0 var(--space-sm); }
.legal-content p { color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.legal-content a { color: var(--color-primary-dark); text-decoration: underline; }
.legal-list { display: flex; flex-direction: column; gap: var(--space-xs); color: var(--color-text-muted); margin-bottom: var(--space-sm); padding-left: 1.2em; }
.legal-list li { list-style: disc; }

.faq-accordion { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-xl); }
.faq-item { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-base);
}
.faq-question svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-primary); transition: transform var(--dur-base) var(--ease-out); }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-answer p { padding: 0 var(--space-lg) var(--space-lg); color: var(--color-text-muted); }
.faq-item.is-open .faq-answer { max-height: 220px; }
