/* ============================================
   Nusa Botanics — Style System
   Stripe-inspired precision + botanical warmth
   Font: Geist | Accent: #533afd
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg: #FAFAF8;
  --white: #FFFFFF;
  --navy: #061b31;
  --body: #64748d;
  --label: #273951;
  --purple: #533afd;
  --purple-hover: #4434d4;
  --green: #4A7C59;
  --dark: #1c1e54;
  --dark-deep: #061b31;
  --dark-line: #2D3060;
  --dark-text: #B8BFCC;
  --dark-muted: #8890A4;
  --dark-sub: #5A6178;
  --ing-bg: #F5F0E8;
  --trust-bg: #F2F2EF;
  --border: #e5edf5;
  --border-ing: #CBCCC9;
  --shadow-blue: rgba(50, 50, 93, 0.25);
  --shadow-black: rgba(0, 0, 0, 0.1);
  --shadow-card: 0 4px 20px rgba(6, 27, 49, 0.06);
  --font: 'Geist', -apple-system, system-ui, sans-serif;
  --r: 6px;
  --max-w: 1440px;
  --side: 20px;
}

@media (min-width: 769px) {
  :root { --side: 80px; }
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--navy);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font: inherit; color: inherit; cursor: pointer; }

/* Subtle fast reveals — not cinematic, just polished */
.anim { opacity: 0; transform: translateY(20px); }

/* ---------- TYPOGRAPHY ---------- */
.section-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--purple);
  text-transform: uppercase;
}

.section-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -1px;
  color: var(--navy);
  line-height: 1.15;
}

.section-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--body);
}

@media (min-width: 769px) {
  .section-title { font-size: 40px; letter-spacing: -1.5px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 28px;
  border-radius: var(--r);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--purple-hover); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover { background: rgba(6, 27, 49, 0.04); }

.btn--ghost {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn--ghost:hover { background: rgba(83, 58, 253, 0.04); }

.btn--ghost-dark {
  background: transparent;
  color: var(--dark-text);
  border: 1px solid var(--dark-line);
}
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.05); }

.btn--sm { font-size: 13px; padding: 8px 20px; }

/* ---------- LANG SWITCH ---------- */
.lang-switch { display: flex; align-items: center; gap: 8px; }
.lang-switch__btn {
  font-size: 12px;
  font-weight: 400;
  color: var(--body);
  cursor: pointer;
  transition: color 0.2s;
}
.lang-switch__btn.active { color: var(--navy); font-weight: 500; }
.lang-switch__sep { font-size: 12px; color: var(--body); font-weight: 300; }

/* ============================================
   1. NAVBAR
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 var(--side);
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--border); }

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__left {
  display: flex;
  gap: 32px;
}
.nav__left a {
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.2px;
  transition: color 0.2s;
}
.nav__left a:hover { color: var(--purple); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav__icon {
  width: 18px;
  height: 18px;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.nav__icon:hover { color: var(--purple); }
.nav__icon svg { width: 18px; height: 18px; }

.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--navy);
  transition: color 0.2s;
}
.nav__cart:hover { color: var(--purple); }
.nav__cart svg { width: 18px; height: 18px; }
.nav__cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--purple);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav__shop { font-size: 13px; padding: 8px 20px; }

.nav__logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--navy);
  order: 99;
  margin-left: 24px;
}
.nav__logo a { color: inherit; }

.nav__hamburger,
.nav__back {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--navy);
}
.nav__hamburger { gap: 4px; }
.nav__hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav__left, .nav__right .lang-switch, .nav__right .nav__shop { display: none; }
  .nav__hamburger { display: flex; }
  .nav__back { display: flex; }
  .nav__logo { font-size: 18px; flex: 1; text-align: center; order: 0; margin-left: 0; }
  .nav__right { gap: 16px; }
}

/* ============================================
   OVERLAY MENU (mobile)
   ============================================ */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.overlay-menu.open { transform: translateY(0); }

.overlay-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.overlay-menu__logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--navy);
}
.overlay-menu__close {
  font-size: 32px;
  color: var(--body);
  cursor: pointer;
}

.overlay-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.overlay-menu__nav a {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--navy);
  padding: 12px 0;
  transition: color 0.2s;
}
.overlay-menu__nav a:hover { color: var(--purple); }

.overlay-menu__lang {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding: 24px 0;
}
.overlay-menu__lang-btn {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  padding: 8px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  cursor: pointer;
}
.overlay-menu__lang-btn.active {
  color: var(--purple);
  border-color: var(--purple);
  background: rgba(83, 58, 253, 0.04);
}

.overlay-menu__foot {
  font-size: 12px;
  color: var(--body);
  padding-bottom: env(safe-area-inset-bottom);
}

/* ============================================
   2. HERO
   ============================================ */
.hero {
  background: var(--bg);
  padding-top: 72px;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 40px var(--side);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--purple);
}

.hero__headline { margin: 16px 0 20px; }
.hero__headline-line {
  display: block;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--navy);
}

.hero__desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.5;
  max-width: 440px;
}

.hero__btns {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; }
}

.hero__image {
  overflow: hidden;
  background: var(--ing-bg);
  order: -1;
  margin: -40px -20px 0;
  border-radius: 0;
  height: 320px;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 680px;
    padding: 0 var(--side);
    gap: 0;
  }
  .hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
  }
  .hero__headline-line { font-size: 56px; letter-spacing: -2px; }
  .hero__image {
    padding: 40px;
    border-radius: 0;
    aspect-ratio: auto;
    background: none;
    order: 0;
    margin: 0;
    height: auto;
  }
  .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
}

/* ============================================
   3. INGREDIENTS
   ============================================ */
.ingredients {
  padding: 60px 0;
  background: var(--ing-bg);
  overflow: hidden;
}

.ingredients__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

.ingredients__header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.ingredients__carousel {
  display: flex;
  align-items: center;
}

.ingredients__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}
.ingredients__track::-webkit-scrollbar { display: none; }

.ing-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  scroll-snap-align: start;
}

.ing-card__img {
  height: 140px;
  overflow: hidden;
  background: var(--ing-bg);
}
.ing-card__img img { width: 100%; height: 100%; object-fit: cover; }

.ing-card__info { padding: 16px; }

.ing-card__name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.ing-card__eng {
  font-size: 13px;
  color: var(--green);
  display: block;
  margin-top: 2px;
}
.ing-card__benefit {
  font-size: 13px;
  color: var(--body);
  margin-top: 6px;
  line-height: 1.4;
}

@media (min-width: 769px) {
  .ingredients__track { overflow: visible; }
  .ing-card { flex: 1; width: auto; min-width: 0; }
  .ingredients { padding: 60px 0; }
}

/* ============================================
   4. PRODUCTS
   ============================================ */
.products {
  padding: 60px 0;
  background: var(--bg);
  overflow: hidden;
}

.products__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

.products__header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.prod-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.prod-card:hover {
  box-shadow: 0 30px 45px -30px var(--shadow-blue), 0 18px 36px -18px var(--shadow-black);
  transform: translateY(-2px);
}

.prod-card__img {
  height: 240px;
  overflow: hidden;
  background: var(--ing-bg);
}
.prod-card__img img { width: 100%; height: 100%; object-fit: cover; }

.prod-card__info { padding: 20px; display: flex; flex-direction: column; gap: 6px; }

.prod-card__cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.5px;
}
.prod-card__name {
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.prod-card__desc { font-size: 13px; color: var(--body); }

.prod-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.prod-card__price {
  font-size: 18px;
  font-weight: 400;
  color: var(--purple);
}

@media (min-width: 769px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .prod-card__img { height: 300px; }
}

/* ============================================
   5. SOURCING (DARK)
   ============================================ */
.sourcing {
  background: var(--dark);
  overflow: hidden;
}

.sourcing__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--side);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.sourcing__image {
  border-radius: var(--r);
  overflow: hidden;
  background: #2a2c6e;
}
.sourcing__image img { width: 100%; height: 100%; object-fit: cover; }

.sourcing__title {
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.sourcing__desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark-text);
  line-height: 1.7;
}

.sourcing__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sourcing__origins {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}

.sourcing__origin {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--dark-text);
}
.sourcing__origin svg { color: var(--purple); flex-shrink: 0; }

.sourcing__divider {
  height: 1px;
  background: var(--dark-line);
}

@media (min-width: 769px) {
  .sourcing__inner {
    grid-template-columns: 560px 1fr;
    gap: 64px;
    padding: 80px var(--side);
  }
  .sourcing__image { height: 440px; }
  .sourcing__title { font-size: 42px; }
}

/* ============================================
   6. RITUAL
   ============================================ */
.ritual {
  padding: 60px 0;
  background: var(--bg);
  overflow: hidden;
}

.ritual__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ritual__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.ritual__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

/* Mobile: reversed row — image always on top */
@media (max-width: 768px) {
  .ritual__row--reverse .ritual__img { order: -1; }
}

.ritual__img {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ing-bg);
  height: 280px;
}
.ritual__img img { width: 100%; height: 100%; object-fit: cover; }

.ritual__text h3 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin-bottom: 12px;
}
.ritual__text p {
  font-size: 15px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.7;
}

@media (min-width: 769px) {
  .ritual__inner { gap: 64px; }
  .ritual__row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .ritual__img { height: 360px; }
  .ritual__text h3 { font-size: 28px; }
}

/* ============================================
   7. TRUST STRIP
   ============================================ */
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px var(--side);
  background: var(--trust-bg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #9CA3AF;
  text-align: center;
}
.trust__sep { color: #D1D5DB; font-weight: 300; }

@media (max-width: 768px) {
  .trust__sep { display: none; }
  .trust { gap: 10px 20px; padding: 24px var(--side); }
}

@media (min-width: 769px) {
  .trust { gap: 48px; padding: 24px var(--side); flex-wrap: nowrap; }
}

/* ============================================
   8. CTA (DARK)
   ============================================ */
.cta {
  background: var(--dark);
  overflow: hidden;
}

.cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--side);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.cta__image {
  border-radius: var(--r);
  overflow: hidden;
  background: #2a2c6e;
}
.cta__image img { width: 100%; height: 100%; object-fit: cover; }

.cta__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta__title {
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.cta__desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark-text);
  line-height: 1.7;
}

.cta__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.cta__price-main {
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
}
.cta__price-note { font-size: 14px; font-weight: 300; color: var(--dark-muted); }

.cta__btns { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .cta__btns { flex-direction: column; }
  .cta__btns .btn { width: 100%; }
}

@media (min-width: 769px) {
  .cta__inner {
    grid-template-columns: 480px 1fr;
    gap: 64px;
    padding: 80px var(--side);
  }
  .cta__image { height: 360px; }
  .cta__title { font-size: 42px; }
}

/* ============================================
   9. FOOTER
   ============================================ */
.footer {
  background: var(--dark-deep);
  color: var(--dark-sub);
}

.footer__main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--side);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer__logo {
  display: block;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__tagline { font-size: 14px; font-weight: 300; color: var(--dark-muted); }
.footer__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-sub);
  line-height: 1.6;
  max-width: 260px;
  margin-top: 12px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-muted);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.footer__col a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--dark-sub);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }

@media (min-width: 769px) {
  .footer__main { grid-template-columns: 280px 1fr; gap: 64px; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}

.footer__divider {
  height: 1px;
  background: #1A2040;
  margin: 0 var(--side);
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--side);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a { transition: color 0.2s; }
.footer__legal a:hover { color: var(--dark-text); }

.footer__bottom { text-align: center; align-items: center; }
.footer__legal { justify-content: center; }

@media (min-width: 769px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer__legal { justify-content: flex-end; }
}

.footer__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px var(--side);
  font-size: 11px;
  font-weight: 300;
  color: #4A5068;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer__payments {
    flex-direction: row;
    justify-content: center;
  }
  .footer__payments > span:first-child {
    width: 100%;
    text-align: center;
  }
  .footer__pay-sep { display: none; }
}
.footer__pay-sep { color: var(--dark-line); }
.footer__pay-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--dark-muted);
  padding: 5px 12px;
  border: 1px solid var(--dark-line);
  border-radius: 4px;
}

.footer__accent {
  height: 4px;
  background: var(--purple);
}

/* ============================================
   MOBILE STICKY BOTTOM BAR
   ============================================ */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 -4px 16px rgba(50, 50, 93, 0.12);
  padding: 12px 20px calc(28px + env(safe-area-inset-bottom));
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .sticky-bar { display: flex; }
  body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

.sticky-bar__btn { width: 100%; }

.sticky-bar__note {
  font-size: 11px;
  font-weight: 300;
  color: #9CA3AF;
  text-align: center;
}

/* PDP variant: price left + button right */
.sticky-bar--pdp {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.sticky-bar__price-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sticky-bar__price-label {
  font-size: 12px;
  font-weight: 300;
  color: var(--body);
}
.sticky-bar__price-val {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}

.sticky-bar__cart-btn { flex: 1; }

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}
.search-overlay.open {
  visibility: visible;
  pointer-events: auto;
}

.search-overlay::before {
  content: '';
  position: absolute;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(6, 27, 49, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-overlay.open::before { opacity: 1; }

.search-overlay__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 132px auto 0;
  padding: 0 var(--side);
  display: flex;
  flex-direction: column;
  gap: 40px;
  transform: translateY(-16px);
  opacity: 0;
  transition: all 0.3s ease;
}
.search-overlay.open .search-overlay__inner {
  transform: translateY(0);
  opacity: 1;
}

.search-overlay__field {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--r);
  padding: 0 20px;
  height: 56px;
}

.search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  color: var(--navy);
  background: transparent;
}
.search-overlay__input::placeholder { color: #9CA3AF; }

.search-overlay__close {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-overlay__section { display: flex; flex-direction: column; gap: 16px; }

.search-overlay__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

.search-overlay__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-overlay__pill {
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.2s;
}
.search-overlay__pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.search-overlay__results { display: flex; flex-direction: column; }

.search-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.search-result:hover { color: var(--white); }

.search-result__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.8;
}

.search-result__info { flex: 1; }
.search-result__name {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
}
.search-result__price {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   LOGIN MODAL
   ============================================ */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.login-modal.open {
  visibility: visible;
  pointer-events: auto;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 27, 49, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.login-modal.open .login-modal__backdrop { opacity: 1; }

.login-modal__card {
  position: relative;
  display: flex;
  width: 860px;
  max-width: 95vw;
  height: 560px;
  max-height: 90vh;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(50, 50, 93, 0.25);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.login-modal.open .login-modal__card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.login-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5F5F2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.login-modal__close:hover { background: #E8E8E4; }

.login-modal__image {
  width: 360px;
  flex-shrink: 0;
  overflow: hidden;
}
.login-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-modal__form {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  overflow-y: auto;
}

.login-modal__header h2 {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.login-modal__header p {
  font-size: 14px;
  font-weight: 300;
  color: var(--body);
  margin-top: 8px;
}

.login-modal__fields { display: flex; flex-direction: column; gap: 16px; }

.login-modal__group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--label);
  margin-bottom: 6px;
}

.login-modal__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.login-modal__label-row label { margin-bottom: 0; }
.login-modal__forgot {
  font-size: 12px;
  color: var(--purple);
  font-weight: 400;
}

.login-modal__group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.login-modal__group input:focus { border-color: var(--purple); }
.login-modal__group input::placeholder { color: #9CA3AF; }

.login-modal__submit { width: 100%; }

.login-modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-modal__divider span {
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}
.login-modal__divider p {
  font-size: 12px;
  font-weight: 300;
  color: #9CA3AF;
  white-space: nowrap;
}

.login-modal__social {
  display: flex;
  gap: 12px;
}
.login-modal__social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  border: 1px solid #D1D5DB;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s;
}
.login-modal__social-btn:hover { background: #F9F9F7; }

.login-modal__signup {
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  color: var(--body);
}
.login-modal__signup a {
  color: var(--purple);
  font-weight: 500;
  margin-left: 4px;
}

/* Login mobile: hide image */
@media (max-width: 768px) {
  .login-modal__image { display: none; }
  .login-modal__card { height: auto; max-height: 95vh; }
}

/* ============================================
   MOBILE FULL-BLEED IMAGES (app-native feel)
   ============================================ */
@media (max-width: 768px) {
  /* Sourcing image */
  .sourcing__image {
    border-radius: 0;
    margin: -60px -20px 0;
    width: calc(100% + 40px);
  }

  /* Ritual images */
  .ritual__img {
    border-radius: 0;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }

  /* CTA image */
  .cta__image {
    border-radius: 0;
    margin: -60px -20px 0;
    width: calc(100% + 40px);
  }

  /* Ingredient cards - full width horizontal scroll */
  .ingredients__track {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .anim { opacity: 1; transform: none; }
}
