/* ============================================================
   SOPHISTIPLANTS — COMPONENT STYLES
   ============================================================ */

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: all 0.3s var(--ease-standard);
  background: transparent;
}
.nav.scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(237,234,225,0.96);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid rgba(40,72,16,0.12);
  box-shadow: 0 2px 20px rgba(20,40,8,0.1);
}
.nav.dark {
  background: transparent;
}
.nav.dark.scrolled {
  background: rgba(237,234,225,0.96);
}

/* ── Dark nav: white text over the hero ── */
.nav.dark:not(.scrolled) .nav-logo { color: var(--white); }
.nav.dark:not(.scrolled) .nav-link { color: rgba(255,255,255,0.82); }
.nav.dark:not(.scrolled) .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.nav.dark:not(.scrolled) .nav-link.active { color: var(--white); font-weight: 600; }
.nav.dark:not(.scrolled) .nav-search {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.nav.dark:not(.scrolled) .nav-search::placeholder { color: rgba(255,255,255,0.5); }
.nav.dark:not(.scrolled) .nav-search-icon { color: rgba(255,255,255,0.55); }
.nav.dark:not(.scrolled) .nav-cart-btn {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.nav.dark:not(.scrolled) .nav-cart-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}
.nav.dark:not(.scrolled) .nav-menu-btn { color: var(--white); }
.nav.dark:not(.scrolled) .nav-menu-btn:hover { background: rgba(255,255,255,0.12); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-6);
}
.nav-logo {
  display: flex; align-items: center; gap: 0;
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 700; letter-spacing: -0.5px; color: var(--forest);
  text-decoration: none; transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo svg { margin-right: 7px; flex-shrink: 0; }
.nav-logo-icon { font-size: 22px; }
.nav.dark:not(.scrolled) .nav-logo { color: #fff; }
.nav-links {
  display: flex; align-items: center; gap: var(--space-3);
  margin: 0 auto;
}
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: all 0.2s; white-space: nowrap; text-decoration: none;
}
.nav-link:hover { color: var(--forest); background: rgba(45,80,22,0.06); }
.nav-link.active { color: var(--forest); font-weight: 600; }

/* ── NAV DROPDOWNS ─────────────────────────────────────────── */
.nav-item {
  position: relative; display: flex; align-items: center;
  /* Invisible padding-bottom bridges the gap between link and panel —
     the hover zone stays active while the cursor travels to the menu */
  padding-bottom: 16px;
  margin-bottom: -16px;
}
.nav-link.has-drop {
  display: flex; align-items: center; gap: 5px;
}
.nav-link.has-drop::after {
  content: '';
  width: 9px; height: 5px; flex-shrink: 0; opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 5'%3E%3Cpath d='M0 0l4.5 5L9 0z' fill='currentColor'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.22s ease;
}
.nav-item.is-open .nav-link.has-drop::after,
.nav-item:focus-within .nav-link.has-drop::after { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 0px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px; padding: 8px 6px 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(20,40,8,0.14), 0 2px 8px rgba(20,40,8,0.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  /* Fade in instantly on open; delay visibility:hidden by 0.3s on close
     so a slow cursor crossing the gap doesn't collapse the menu */
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0.15s;
  z-index: 500;
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  background: var(--white);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
.nav-item.is-open .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; white-space: nowrap;
  transition: background 0.14s, color 0.14s;
}
.nav-dropdown-item:hover { background: rgba(45,80,22,0.07); color: var(--forest); }
.drop-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.drop-dot.seedling { background: #7A9E6B; }
.drop-dot.cultivar { background: #4A90A4; }
.drop-dot.rare     { background: #7B5EA7; }
.drop-dot.ultra    { background: #C9A84C; }
.drop-dot.divine   { background: #D4A0B0; }
.drop-dot.mythic   { background: var(--mythic-violet); box-shadow: 0 0 5px var(--mythic-violet); animation: mythic-glow 2s ease-in-out infinite; }
.drop-dot.relic    { background: var(--rarity-relic);  box-shadow: 0 0 5px var(--rarity-relic);  animation: relic-glow 2.2s ease-in-out infinite; }

/* Dark hero variant */
.nav.dark:not(.scrolled) .nav-dropdown {
  background: rgba(16,34,8,0.97); border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}
.nav.dark:not(.scrolled) .nav-dropdown::before {
  background: rgba(16,34,8,0.97); border-color: rgba(255,255,255,0.12);
}
.nav.dark:not(.scrolled) .nav-dropdown-item { color: rgba(255,255,255,0.8); }
.nav.dark:not(.scrolled) .nav-dropdown-item:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Mobile: dropdowns are not needed (drawer handles secondary links) */
@media (max-width: 768px) { .nav-dropdown { display: none !important; } }

.nav-actions {
  display: flex; align-items: center; gap: var(--space-2);
}
.nav-search-wrap {
  position: relative; display: flex; align-items: center;
}
.nav-search {
  width: 200px; padding: 9px 14px 9px 36px;
  background: var(--light-gray); border: 1.5px solid transparent;
  border-radius: var(--radius-full); font-size: 14px; color: var(--ink);
  transition: all 0.25s; outline: none;
}
.nav-search:focus {
  width: 260px; background: var(--white); border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.nav-search-icon {
  position: absolute; left: 12px; color: var(--caption); font-size: 15px;
  pointer-events: none;
}
.nav-cart-btn {
  position: relative; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); border: 1.5px solid var(--border);
  background: var(--white); color: var(--forest); font-size: 18px;
  transition: all 0.2s;
}
.nav-cart-btn:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: var(--radius-full);
  background: var(--terracotta); color: var(--white);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.cart-count.bounce { animation: cart-bounce 0.4s var(--ease-spring); }

/* ── Cart nav link pill ── */
.nav-cart-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 16px !important;
  background: var(--sage) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: none !important;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s !important;
  box-shadow: 0 2px 8px rgba(34,160,88,0.22);
  white-space: nowrap;
}
.nav-cart-link:hover {
  background: var(--sage-light) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34,160,88,0.32);
}
.nav-cart-link .nav-cart-link-count {
  position: static;
  background: rgba(255,255,255,0.28);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
}
/* On dark nav (hero pages) keep it readable */
.nav.dark:not(.scrolled) .nav-cart-link {
  background: rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
  box-shadow: none;
}
.nav.dark:not(.scrolled) .nav-cart-link:hover {
  background: rgba(255,255,255,0.26) !important;
}
/* Mobile: hide in nav-links (drawer link used instead) */
@media (max-width: 768px) { .nav-cart-link { display: none !important; } }

/* ── Cart drawer link highlight ── */
.nav-drawer-cart {
  color: var(--sage) !important;
  font-weight: 600 !important;
}
.nav-drawer-cart:hover { background: rgba(34,160,88,0.08) !important; }

.nav-menu-btn {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--forest); font-size: 22px;
  transition: background 0.2s;
}
.nav-menu-btn:hover { background: var(--light-gray); }

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed; top: 0; right: -100%; width: min(380px, 100vw);
  height: 100vh; background: var(--white); z-index: 1100;
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4);
  box-shadow: var(--shadow-xl); transition: right 0.35s var(--ease-spring);
  overflow-y: auto;
}
.nav-drawer.open { right: 0; }
.nav-drawer-close {
  align-self: flex-end; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); border: 1.5px solid var(--border);
  color: var(--muted); font-size: 20px; transition: all 0.2s;
}
.nav-drawer-close:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.nav-drawer-link {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-3); border-radius: var(--radius-md);
  font-size: 18px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border);
  transition: background 0.2s; text-decoration: none;
}
.nav-drawer-link:hover { background: var(--light-gray); }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 1050; opacity: 0; pointer-events: none;
  transition: opacity 0.3s; backdrop-filter: blur(2px);
}
.nav-overlay.show { opacity: 1; pointer-events: all; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 700px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--forest-dark);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    150deg,
    #040A03 0%,
    #080E05 20%,
    #0C1C08 45%,
    #122A0A 68%,
    #080E05 85%,
    #040A03 100%
  );
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 70% 40%, rgba(34,160,88,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(168,108,42,0.08) 0%, transparent 50%);
}
/* ── LINEAR LIGHT EFFECTS ──────────────────────────────────── */

/* Mouse-driven spotlight layer on dark hero */
.hero-spotlight {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(
    700px circle at var(--hx, 65%) var(--hy, 40%),
    rgba(72,200,124,0.10) 0%,
    rgba(34,160,88,0.04) 40%,
    transparent 65%
  );
  transition: background 0.08s linear;
}

/* Subtle dot-grid texture on dark sections (Linear signature) */
.dot-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 85%);
}

/* Film-grain noise on dark sections */
.grain-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Spotlight for dark non-hero sections */
.section-spotlight {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(
    900px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(110,164,80,0.09) 0%,
    rgba(40,72,16,0.04) 45%,
    transparent 65%
  );
}

/* Rarity tier cards: mouse-driven inner glow */
.rarity-tier-card {
  position: relative; overflow: hidden;
}
.rarity-tier-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--rx, 50%) var(--ry, 50%),
    rgba(255,255,255,0.08) 0%, transparent 60%
  );
  pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity 0.25s;
}
.rarity-tier-card:hover::after { opacity: 1; }

/* ── END LINEAR LIGHT EFFECTS ──────────────────────────────── */

.hero-plant-visual {
  position: absolute; right: -5%; top: 0; bottom: 0;
  width: 55%; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-plant-svg {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}
.hero-plant-illustration {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(162,200,122,0.18) 0%, transparent 65%),
    radial-gradient(ellipse at center, rgba(196,150,42,0.06) 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center;
}
.hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-6) var(--space-12);
  max-width: 680px;
  animation: hero-text-in 1s var(--ease-out) both;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--sage-light); font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: var(--space-6);
  animation: hero-text-in 0.8s var(--ease-out) 0.1s both;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-light); animation: pulse-leaf 2s ease-in-out infinite; }
.hero-title {
  color: var(--white); margin-bottom: var(--space-6);
  font-weight: 700;
  animation: hero-text-in 0.9s var(--ease-out) 0.2s both;
}
.hero-title em { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--gold-light); }
.hero-subtitle {
  color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1.6;
  max-width: 520px; margin-bottom: var(--space-10);
  animation: hero-text-in 1s var(--ease-out) 0.35s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  animation: hero-text-in 1s var(--ease-out) 0.5s both;
}
.hero-scroll {
  position: absolute; bottom: var(--space-8); left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  animation: hero-text-in 1s var(--ease-out) 0.8s both;
  cursor: pointer;
}
.hero-scroll-icon { font-size: 24px; animation: pulse-leaf 2s ease-in-out infinite; }
.hero-stats {
  position: absolute; bottom: var(--space-8); right: var(--space-8); z-index: 2;
  display: flex; gap: var(--space-8);
  animation: hero-text-in 1s var(--ease-out) 0.7s both;
}
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 28px; font-weight: 300; color: var(--white); letter-spacing: -1px; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; }

/* ── RARITY TICKER ─────────────────────────────────────────── */
.rarity-ticker {
  background: linear-gradient(90deg, #040A03 0%, #0C1C08 30%, #122A0A 60%, #0C1C08 80%, #040A03 100%);
  padding: 14px 0;
  overflow: hidden; white-space: nowrap;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.rarity-ticker-inner {
  display: inline-flex; gap: 0;
  animation: ticker 30s linear infinite;
}
.rarity-ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: 0 var(--space-8); cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
  transition: color 0.2s; text-decoration: none;
}
.ticker-item:hover { color: var(--white); }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ticker-dot.seedling  { background: var(--rarity-seedling); }
.ticker-dot.cultivar  { background: var(--rarity-cultivar); }
.ticker-dot.rare      { background: var(--rarity-rare); }
.ticker-dot.ultra     { background: var(--rarity-ultra); box-shadow: 0 0 8px var(--rarity-ultra); }
.ticker-dot.divine    { background: var(--rarity-divine); box-shadow: 0 0 8px var(--rarity-divine); }
.ticker-dot.mythic    { background: var(--mythic-violet); box-shadow: 0 0 8px var(--mythic-violet); animation: mythic-glow 2s infinite; }
.ticker-dot.relic     { background: var(--rarity-relic);  box-shadow: 0 0 10px var(--rarity-relic); animation: relic-glow 2.2s ease-in-out infinite; }

/* ── Preview nav pill ── */
.nav-preview-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 99px;
  border: 1.5px solid rgba(45,80,22,.28);
  background: rgba(45,80,22,.07);
  color: var(--forest); font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: all .2s; flex-shrink: 0;
}
.nav-preview-pill:hover { background: rgba(45,80,22,.15); border-color: rgba(45,80,22,.5); transform: none; }
.nav.dark:not(.scrolled) .nav-preview-pill {
  color: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
}
.nav.dark:not(.scrolled) .nav-preview-pill:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .nav-preview-pill { display: none; } }

/* ── PRODUCT CARD ──────────────────────────────────────────── */
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(12,14,10,0.09);
  transition: box-shadow 0.38s var(--ease-standard),
              transform 0.38s var(--ease-standard),
              border-color 0.38s var(--ease-standard);
  display: flex; flex-direction: column;
  cursor: pointer;
  text-decoration: none; color: inherit;
}
.product-card:hover {
  box-shadow: var(--shadow-glow), inset 0 0 0 1px rgba(34,160,88,0.18);
  transform: translateY(-9px);
  border-color: rgba(34,160,88,0.30);
}
/* Linear-style cursor-tracking light illumination */
.product-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none; z-index: 4;
  background: radial-gradient(
    320px circle at var(--cx, 50%) var(--cy, -60px),
    rgba(72,200,124,0.14) 0%,
    rgba(34,160,88,0.05) 40%,
    transparent 65%
  );
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover::after { opacity: 1; }
.product-card-image {
  position: relative; aspect-ratio: 1;
  background: var(--light-gray); overflow: hidden;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-standard);
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; background: var(--light-gray);
  transition: transform 0.5s var(--ease-standard);
}
.product-card:hover .product-card-img-placeholder { transform: scale(1.06); }
.product-card-badge {
  position: absolute; top: var(--space-3); left: var(--space-3);
}
.product-card-wish {
  position: absolute; top: var(--space-3); right: var(--space-3);
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; cursor: pointer; transition: all 0.2s;
  opacity: 0;
}
.product-card:hover .product-card-wish { opacity: 1; }
.product-card-wish.active, .product-card-wish:hover { opacity: 1; background: var(--white); }
.product-card-wish.active { color: var(--terracotta); }
.product-card-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; gap: var(--space-2); }
.product-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.25; letter-spacing: 0.1px; }
.product-card-botanical { font-size: 13px; color: var(--caption); font-style: italic; }
.product-card-meta { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-top: auto; padding-top: var(--space-3); }
.product-card-difficulty { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--sage); font-weight: 600; }
.product-card-price { font-size: 18px; font-weight: 700; color: var(--forest); margin-left: auto; }
.product-card-footer { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border); display: flex; gap: var(--space-2); }
.product-card-footer .btn { flex: 1; font-size: 13px; padding: 10px 12px; }

/* ── CARE ICON BADGES ──────────────────────────────────────── */
.care-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--radius-sm);
  background: var(--light-gray); font-size: 12px; font-weight: 500; color: var(--muted);
}

/* ── GAME CARDS ────────────────────────────────────────────── */
.game-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6); text-align: center;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  cursor: pointer; transition: all 0.3s var(--ease-standard);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
  text-decoration: none; color: inherit;
}
.game-card:hover {
  border-color: var(--sage); box-shadow: var(--shadow-md);
  transform: perspective(600px) rotateY(3deg) rotateX(-2deg) translateY(-4px);
}
.game-card-icon {
  width: 72px; height: 72px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; background: var(--light-gray);
  transition: transform 0.3s var(--ease-spring);
}
.game-card:hover .game-card-icon { transform: scale(1.1) rotate(5deg); }
.game-card-title { font-size: 17px; font-weight: 700; color: var(--forest); }
.game-card-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.game-card-reward {
  padding: 6px 14px; border-radius: var(--radius-full);
  background: rgba(45,80,22,0.08); color: var(--forest);
  font-size: 13px; font-weight: 700;
}
.game-card-difficulty { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; color: var(--muted); }
.difficulty-dot { width: 8px; height: 8px; border-radius: 50%; }
.difficulty-easy   { background: var(--sage); }
.difficulty-medium { background: var(--gold); }
.difficulty-hard   { background: var(--terracotta); }
.difficulty-wild   { background: var(--rarity-rare); }

/* ── FILTER CHIPS ──────────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: var(--space-3);
  flex-wrap: wrap; padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
}
.filter-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 8px 16px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.filter-chip:hover { border-color: var(--forest); color: var(--forest); }
.filter-chip.active { background: var(--forest); color: var(--white); border-color: var(--forest); }
.filter-chip .chip-icon { font-size: 14px; }
.filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.25); font-size: 10px; font-weight: 700;
}

/* ── SECTION DIVIDERS ──────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  color: var(--moss); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: var(--space-4);
}
.section-eyebrow::before { content: '🌿'; font-size: 13px; letter-spacing: 0; }
.section-eyebrow::after  { content: ''; width: 32px; height: 1px; background: linear-gradient(90deg, var(--sage), transparent); }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(170deg, #0d1d07 0%, #162808 40%, #0a1504 100%);
  color: rgba(255,255,255,0.65);
  padding: var(--space-20) 0 var(--space-8);
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(110,164,80,0.15);
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 10%, rgba(110,164,80,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12); margin-bottom: var(--space-16);
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-top: var(--space-4); }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: var(--space-5); }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); padding: 4px 0; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-8);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 16px;
  transition: all 0.2s; text-decoration: none;
}
.footer-social a:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.footer-newsletter { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-newsletter input {
  flex: 1; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); border-radius: var(--radius-full);
  padding: 10px 16px; font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter input:focus { border-color: var(--sage); }
.footer-newsletter .btn { padding: 10px 18px; font-size: 13px; }

/* ── CARE GUIDE CARDS ──────────────────────────────────────── */
.care-module {
  background: var(--white); border-radius: var(--radius-lg);
  padding: var(--space-8); box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border); text-align: center;
  transition: all 0.3s var(--ease-standard); cursor: pointer;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
}
.care-module:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--sage); }
.care-module-icon {
  width: 80px; height: 80px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; background: var(--light-gray);
}
.care-module-title { font-size: 18px; font-weight: 600; color: var(--forest); }
.care-module-desc { font-size: 14px; color: var(--muted); }

/* ── ACCORDION ─────────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) 0; font-size: 16px; font-weight: 600; color: var(--ink);
  cursor: pointer; background: none; border: none; text-align: left;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--forest); }
.accordion-trigger .chevron {
  width: 24px; height: 24px; flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}
.accordion-trigger.open .chevron { transform: rotate(180deg); }
.accordion-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  font-size: 15px; color: var(--muted); line-height: 1.7;
}
.accordion-content.open { max-height: 800px; }
.accordion-content-inner { padding: 0 0 var(--space-5); }

/* ── PRODUCT PAGE SPECIFICS ───────────────────────────────── */
.product-gallery {
  display: grid; grid-template-columns: 80px 1fr;
  gap: var(--space-4); height: 580px;
}
.product-thumbs { display: flex; flex-direction: column; gap: var(--space-3); overflow-y: auto; }
.product-thumb {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  overflow: hidden; flex-shrink: 0; transition: border-color 0.2s;
}
.product-thumb.active { border-color: var(--forest); }
.product-thumb-inner {
  width: 100%; height: 100%; background: var(--light-gray);
  display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.product-main-image {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--light-gray); position: relative; cursor: zoom-in;
}
.product-main-inner {
  width: 100%; height: 100%; background: var(--light-gray);
  display: flex; align-items: center; justify-content: center; font-size: 160px;
  transition: transform 0.4s var(--ease-standard);
}
.product-main-image:hover .product-main-inner { transform: scale(1.03); }
.product-zoom-hint {
  position: absolute; bottom: var(--space-4); right: var(--space-4);
  background: rgba(0,0,0,0.5); color: white; padding: 4px 10px;
  border-radius: var(--radius-full); font-size: 11px; pointer-events: none;
}
.product-info { display: flex; flex-direction: column; gap: var(--space-5); }
.product-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.product-price-wrap { display: flex; align-items: baseline; gap: var(--space-3); }
.product-price { font-size: 36px; font-weight: 300; color: var(--forest); letter-spacing: -1px; }
.product-price-note { font-size: 13px; color: var(--muted); }
.product-size-selector { display: flex; gap: var(--space-2); }
.size-btn {
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.2s; color: var(--muted);
}
.size-btn:hover { border-color: var(--forest); color: var(--forest); }
.size-btn.active { background: var(--forest); color: var(--white); border-color: var(--forest); }
.product-care-quick {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3);
  padding: var(--space-5); background: var(--light-gray); border-radius: var(--radius-md);
}
.care-quick-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); text-align: center; }
.care-quick-icon { font-size: 24px; }
.care-quick-label { font-size: 11px; color: var(--muted); font-weight: 500; }
.care-quick-value { font-size: 12px; color: var(--ink); font-weight: 600; }

/* ── OFFERS / GAME SECTION ─────────────────────────────────── */
.offers-hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, #1a2e0a 50%, #2d1f3d 100%);
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-20);
  text-align: center; position: relative; overflow: hidden;
}
.offers-hero h1 { color: var(--white); }
.offers-hero p { color: rgba(255,255,255,0.6); max-width: 520px; margin: var(--space-4) auto; }
.play-meter {
  display: inline-flex; align-items: center; gap: var(--space-4);
  background: rgba(255,255,255,0.1); border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5); margin-top: var(--space-6);
}
.play-meter-label { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.play-meter-dots { display: flex; gap: var(--space-2); }
.meter-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.2); transition: background 0.3s;
}
.meter-dot.used { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.meter-dot.active { background: var(--sage); box-shadow: 0 0 8px var(--sage); }

/* Spin Wheel */
.wheel-container { position: relative; width: 320px; height: 320px; margin: 0 auto; }
.wheel-canvas { border-radius: 50%; box-shadow: 0 8px 48px rgba(0,0,0,0.25); }
.wheel-pointer {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-top: 28px solid var(--terracotta);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.wheel-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}

/* Memory Match */
.memory-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3);
  max-width: 440px; margin: 0 auto;
}
.memory-card {
  aspect-ratio: 1; border-radius: var(--radius-md);
  perspective: 600px; cursor: pointer;
}
.memory-card-inner {
  width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.4s var(--ease-standard);
  position: relative;
}
.memory-card.flipped .memory-card-inner { transform: rotateY(180deg); }
.memory-card.matched .memory-card-inner { transform: rotateY(180deg); }
.memory-card-front, .memory-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
}
.memory-card-front {
  background: var(--forest); font-size: 28px; color: var(--sage-light);
}
.memory-card-back {
  background: var(--white); font-size: 40px;
  transform: rotateY(180deg);
}
.memory-card.matched .memory-card-back {
  background: rgba(122,158,107,0.15); border-color: var(--sage);
}

/* Quiz */
.quiz-wrap { max-width: 620px; margin: 0 auto; }
.quiz-progress { height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; margin-bottom: var(--space-8); overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--sage); border-radius: 2px; transition: width 0.5s var(--ease-out); }
.quiz-question { font-size: 22px; font-weight: 400; color: var(--white); margin-bottom: var(--space-6); line-height: 1.4; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.quiz-option {
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.15);
  font-size: 15px; color: rgba(255,255,255,0.85); cursor: pointer;
  transition: all 0.2s; text-align: left;
}
.quiz-option:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }
.quiz-option.correct { background: rgba(122,158,107,0.3); border-color: var(--sage); color: var(--white); }
.quiz-option.wrong   { background: rgba(196,113,74,0.3); border-color: var(--terracotta); color: var(--white); }
.quiz-option.disabled { pointer-events: none; opacity: 0.5; }

/* Scratch Card */
.scratch-card-wrap { position: relative; width: 300px; height: 200px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.scratch-reveal-layer {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--forest), var(--earth));
  z-index: 1; pointer-events: none;
}
.scratch-canvas { position: absolute; inset: 0; z-index: 2; border-radius: var(--radius-lg); cursor: crosshair; }
.scratch-hint {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.scratch-hint span {
  background: rgba(0,0,0,0.6); color: white; padding: 8px 16px;
  border-radius: var(--radius-full); font-size: 13px; font-weight: 600;
  letter-spacing: 1px;
}
.scratch-result {
  padding: var(--space-5); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
}
.scratch-percent { font-size: 64px; font-weight: 200; color: var(--white); letter-spacing: -4px; line-height: 1; }
.scratch-off-label { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

/* Result Modal */
.result-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.result-modal-overlay.show { opacity: 1; pointer-events: all; }
.result-modal {
  background: var(--white); border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10); text-align: center;
  max-width: 480px; width: 90%; box-shadow: var(--shadow-xl);
  transform: scale(0.85) translateY(20px); transition: transform 0.4s var(--ease-spring);
  position: relative; overflow: hidden;
}
.result-modal-overlay.show .result-modal { transform: scale(1) translateY(0); }
.result-discount { font-size: 80px; font-weight: 200; color: var(--forest); letter-spacing: -4px; line-height: 1; }
.result-code-block {
  background: var(--light-gray); border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5); margin: var(--space-6) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
}
.result-code { font-size: 18px; font-weight: 700; color: var(--forest); letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.result-expiry { font-size: 13px; color: var(--muted); }

/* ── CHECKOUT ──────────────────────────────────────────────── */
.checkout-steps {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.checkout-step {
  display: flex; align-items: center; gap: var(--space-3);
}
.checkout-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--muted);
  transition: all 0.3s;
}
.checkout-step.active .checkout-step-num { background: var(--forest); color: var(--white); border-color: var(--forest); }
.checkout-step.done .checkout-step-num { background: var(--sage); color: var(--white); border-color: var(--sage); }
.checkout-step-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.checkout-step.active .checkout-step-label { color: var(--forest); }
.checkout-step-connector { flex: 1; height: 1px; background: var(--border); }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: var(--space-10); align-items: start; }
.checkout-form-section { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); }
.checkout-form-section h3 { margin-bottom: var(--space-6); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.order-summary { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--nav-height) + var(--space-4)); }
.order-item { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.order-item-img { width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
.order-totals { padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.order-total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.order-total-row.total { font-size: 18px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--border); padding-top: var(--space-3); }
.order-total-row.discount { color: var(--terracotta); }
.payment-methods { display: flex; gap: var(--space-3); margin-bottom: var(--space-5); }
.payment-method {
  flex: 1; padding: var(--space-4); border-radius: var(--radius-md);
  border: 1.5px solid var(--border); background: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.2s;
}
.payment-method:hover { border-color: var(--forest); color: var(--forest); }
.payment-method.active { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ── TRUST BADGES ──────────────────────────────────────────── */
.trust-strip {
  display: flex; align-items: center; justify-content: center; gap: var(--space-8);
  padding: var(--space-6) 0; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; color: var(--muted); }
.trust-item-icon { font-size: 20px; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: var(--space-8); box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
}
.testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: var(--space-4); }
.testimonial-text { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: var(--space-5); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.testimonial-plant { font-size: 12px; color: var(--sage); }

/* ============================================================
   TRIDOSHA GUIDE
   ============================================================ */

/* ── DOSHA BADGES ──────────────────────────────────────────── */
.dosha-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; cursor: help;
}
.dosha-vata  { background: rgba(74,144,164,0.12);  color: #2c7a8e; border: 1px solid rgba(74,144,164,0.35); }
.dosha-pitta { background: rgba(192,80,64,0.10);   color: #9a3020; border: 1px solid rgba(192,80,64,0.30); }
.dosha-kapha { background: rgba(122,158,107,0.12); color: #3a6e2c; border: 1px solid rgba(122,158,107,0.35); }

@keyframes vata-glow  { 0%,100% { box-shadow: 0 0 6px rgba(74,144,164,0.3); }  50% { box-shadow: 0 0 14px rgba(74,144,164,0.6); } }
@keyframes pitta-glow { 0%,100% { box-shadow: 0 0 6px rgba(192,80,64,0.3); }  50% { box-shadow: 0 0 14px rgba(192,80,64,0.6); } }
@keyframes kapha-glow { 0%,100% { box-shadow: 0 0 6px rgba(122,158,107,0.3);} 50% { box-shadow: 0 0 14px rgba(122,158,107,0.6); } }

/* ── DIFFICULTY BADGE ──────────────────────────────────────── */
.difficulty-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: 0.4px;
  background: var(--light-gray); color: var(--muted); border: 1px solid var(--border);
}
.difficulty-beginner     { background: rgba(122,158,107,0.10); color: #3a6e2c; border-color: rgba(122,158,107,0.3); }
.difficulty-intermediate { background: rgba(168,108,42,0.10);  color: #7a4a10; border-color: rgba(168,108,42,0.3); }
.difficulty-advanced     { background: rgba(96,64,160,0.10);   color: #3a1e80; border-color: rgba(96,64,160,0.3); }

/* ── TRIDOSHA PLANT CARD ───────────────────────────────────── */
.tridosha-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1.5px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease-standard), transform 0.35s var(--ease-standard), border-color 0.35s;
}
.tridosha-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(34,160,88,0.25); }

.tridosha-card-image {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--light-gray);
}
.tridosha-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-standard);
}
.tridosha-card:hover .tridosha-card-image img { transform: scale(1.04); }
.tridosha-card-rarity { position: absolute; top: 12px; left: 12px; }

.tridosha-card-body { padding: 24px; }
.tridosha-card-name { font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tridosha-card-botanical { font-size: 13px; color: var(--caption); font-style: italic; margin-bottom: 14px; }
.tridosha-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tridosha-card-rationale {
  font-family: var(--font-display); font-size: 15px; font-style: italic;
  color: var(--muted); line-height: 1.7; margin-bottom: 20px;
  padding-left: 12px; border-left: 2px solid var(--sage);
}

/* ── CARE BUTTONS ──────────────────────────────────────────── */
.care-btn-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 0;
}
.care-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); background: var(--white);
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.4px; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s var(--ease-standard);
  min-height: 64px;
}
.care-btn:hover { border-color: var(--forest); color: var(--forest); background: rgba(12,28,8,0.04); transform: translateY(-1px); }
.care-btn.active { background: var(--forest); color: var(--white); border-color: var(--forest); box-shadow: var(--shadow-sm); }
.care-btn-icon { font-size: 22px; line-height: 1; }
.care-btn-label { font-size: 10px; }

/* ── CARE PANEL ────────────────────────────────────────────── */
.care-panels-wrap { margin-top: 0; }
.care-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  border-radius: var(--radius-md);
  /* visibility controlled by max-height alone — no hidden attribute needed */
}
.care-panel.open { margin-top: 12px; max-height: 800px; }
.care-panel-inner {
  background: var(--cream); border-radius: var(--radius-md);
  border: 1.5px solid var(--border); padding: 20px;
}
.care-panel-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.care-panel-icon { font-size: 22px; }
.care-panel-title { font-size: 16px; font-weight: 700; color: var(--ink); flex: 1; }
.care-panel-close {
  width: 28px; height: 28px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 13px; color: var(--muted); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.care-panel-close:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.care-panel-objective {
  font-size: 14px; font-weight: 500; color: var(--forest);
  background: rgba(34,160,88,0.08); border-radius: var(--radius-sm);
  padding: 10px 14px; margin-bottom: 16px; border-left: 3px solid var(--sage);
}
.care-panel-section { margin-bottom: 14px; }
.care-panel-section:last-child { margin-bottom: 0; }
.care-panel-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.care-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.care-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink); line-height: 1.55; }
.step-num {
  width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: var(--white);
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.care-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.care-list li { font-size: 13px; color: var(--ink); line-height: 1.5; padding-left: 16px; position: relative; }
.care-list li::before { content: '•'; position: absolute; left: 0; color: var(--terracotta); font-weight: 700; }
.care-panel-mistakes .care-panel-section-label { color: #9a3020; }
.care-panel-tip { background: rgba(168,108,42,0.06); border-radius: var(--radius-sm); padding: 12px; }
.care-panel-tip .care-panel-section-label { color: var(--gold); }
.care-panel-tip p { font-size: 13px; color: var(--ink); line-height: 1.6; }
.care-panel-troubleshoot p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── MIND MAP ──────────────────────────────────────────────── */
.mindmap-wrap {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1.5px solid var(--border); padding: 24px;
  box-shadow: var(--shadow-sm); margin-bottom: 48px;
}
.mindmap-wrap h2 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.mindmap-wrap p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
#mindMapSvg { width: 100%; display: block; cursor: default; min-height: 200px; }
.mindmap-node { cursor: pointer; transition: opacity 0.25s; }
.mindmap-node:hover circle { filter: brightness(1.12); }
.mindmap-node[aria-pressed="true"] circle { stroke-width: 3 !important; }

/* ── FILTER CHIPS ROW ──────────────────────────────────────── */
.td-filter-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--border); margin-top: 12px;
}
.td-filter-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--caption); margin-right: 4px; }
.td-filter-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 12px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.td-filter-chip:hover { border-color: var(--forest); color: var(--forest); }
.td-filter-chip.active { background: var(--forest); color: var(--white); border-color: var(--forest); }
#tdResetFilters {
  margin-left: auto; font-size: 12px; color: var(--caption);
  background: none; border: none; cursor: pointer; padding: 4px 8px;
  border-radius: var(--radius-sm); transition: color 0.2s;
}
#tdResetFilters:hover { color: var(--forest); }

/* ── TRIDOSHA HERO ─────────────────────────────────────────── */
.td-hero {
  background: linear-gradient(160deg, #060e04 0%, #0c1c08 50%, #0a1403 100%);
  padding: 120px 0 64px; position: relative; overflow: hidden;
}
.td-hero-dosha-orbs { position: absolute; inset: 0; pointer-events: none; }
.td-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.18;
}
.td-orb-vata  { width: 300px; height: 300px; background: #4A90A4; top: -80px; left: -80px; }
.td-orb-pitta { width: 250px; height: 250px; background: #C05040; top: 10%; right: 5%; }
.td-orb-kapha { width: 280px; height: 280px; background: #7A9E6B; bottom: -60px; left: 35%; }
.td-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--sage-light); margin-bottom: 16px;
}
.td-hero h1 { color: var(--white); margin-bottom: 16px; }
.td-hero h1 em { color: var(--sage-light); font-style: italic; }
.td-hero-sub { color: rgba(255,255,255,0.6); font-size: 17px; line-height: 1.7; max-width: 560px; margin-bottom: 32px; }
.td-dosha-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.td-dosha-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.07);
  transition: all 0.2s;
}
.td-dosha-pill:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.td-dosha-pill.vata  { border-color: rgba(74,144,164,0.4);  background: rgba(74,144,164,0.12); }
.td-dosha-pill.pitta { border-color: rgba(192,80,64,0.4);   background: rgba(192,80,64,0.12); }
.td-dosha-pill.kapha { border-color: rgba(122,158,107,0.4); background: rgba(122,158,107,0.12); }

/* ── DOSHA EXPLAINER CARDS ─────────────────────────────────── */
.dosha-explainer {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 64px;
}
.dosha-card {
  border-radius: var(--radius-xl); padding: 28px 24px;
  border: 1.5px solid var(--border); background: var(--white);
  box-shadow: var(--shadow-xs);
}
.dosha-card-vata  { border-top: 3px solid #4A90A4; }
.dosha-card-pitta { border-top: 3px solid #C05040; }
.dosha-card-kapha { border-top: 3px solid #7A9E6B; }
.dosha-card-icon  { font-size: 36px; margin-bottom: 12px; }
.dosha-card-name  { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.dosha-card-vata  .dosha-card-name { color: #2c7a8e; }
.dosha-card-pitta .dosha-card-name { color: #9a3020; }
.dosha-card-kapha .dosha-card-name { color: #3a6e2c; }
.dosha-card-title { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.dosha-card-desc  { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.dosha-card-traits { display: flex; flex-wrap: wrap; gap: 6px; }
.dosha-trait {
  font-size: 11px; padding: 3px 10px; border-radius: var(--radius-full);
  font-weight: 600; background: var(--light-gray); color: var(--muted);
}

/* ── EMPTY STATE ───────────────────────────────────────────── */
#emptyState {
  display: none; text-align: center; padding: 64px 24px; color: var(--muted);
  grid-column: 1 / -1;
}
#emptyState .empty-icon { font-size: 48px; margin-bottom: 12px; }
#emptyState p { font-size: 15px; }

/* ── TRIDOSHA GRID ─────────────────────────────────────────── */
#tridoshaGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #tridoshaGrid { grid-template-columns: repeat(2, 1fr); }
  .dosha-explainer { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #tridoshaGrid { grid-template-columns: 1fr; }
  .dosha-explainer { grid-template-columns: 1fr; }
  .care-btn-grid { grid-template-columns: repeat(3, 1fr); }
  .td-hero { padding: 100px 0 48px; }
  .mindmap-wrap { padding: 16px; }
  #mindMapSvg { display: none; }
  .td-filter-row { display: flex; }
}

/* ── CONFETTI ──────────────────────────────────────────────── */
.confetti-piece {
  position: fixed; top: -10px; width: 10px; height: 10px;
  border-radius: 2px; z-index: 9998; pointer-events: none;
  animation: confetti-fall var(--fall-dur, 3s) var(--fall-delay, 0s) ease-in forwards;
}

/* ── RESPONSIVE COMPONENTS ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .product-gallery { grid-template-columns: 1fr; height: auto; }
  .product-thumbs { flex-direction: row; overflow-x: auto; }
  .product-thumb { width: 72px; height: 72px; }
  .product-main-image { height: 440px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-search { display: none; }
  .hero-stats { display: none; }
  .hero-content { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .memory-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
  .quiz-options { grid-template-columns: 1fr; }
  .wheel-container { width: 260px; height: 260px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-plant-visual { width: 100%; opacity: 0.15; }
  .product-care-quick { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .trust-strip { gap: var(--space-5); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
