:root {
  --bg: #f7f5ee;
  --surface: #ffffff;
  --surface-alt: #efecdf;
  --ink: #112217;
  --ink-muted: #516156;
  --lime: #c8f135;
  --amber: #e2872c;
  --coral: #ff5d38;
  --forest: #163322;
  --border: rgba(17, 34, 23, 0.12);
  --shadow-lg: 0 24px 60px rgba(17, 34, 23, 0.12);
  --shadow-sm: 0 8px 24px rgba(17, 34, 23, 0.06);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-display: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "Space Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--forest);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  overflow: hidden;
  padding: 9px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 24px;
  animation: marquee 24s linear infinite;
}

.announcement-bar:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Floating Pill Navbar */
.navbar-wrap {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 24px;
  margin-top: 14px;
}

.navbar {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px 12px 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--ink);
}

.ref-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink-muted);
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--coral);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ghost {
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background: var(--surface-alt);
  transform: translateY(-1px);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s, background 0.2s;
}

.cart-btn:hover {
  transform: translateY(-1px);
  background: var(--forest);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* Hero Section */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ink);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.highlight-word {
  display: inline-block;
  background: linear-gradient(120deg, var(--lime) 0%, #e7ff87 100%);
  padding: 2px 14px 6px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  margin-top: 8px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 12px 28px rgba(17, 34, 23, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--forest);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.2s, background 0.2s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--surface-alt);
}

.play-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 0.65rem;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.trust-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.trust-stat span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.divider-v {
  width: 1px;
  height: 34px;
  background: var(--border);
}

/* Interactive Hero Stage */
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.stage-glow {
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.55) 0%, rgba(247, 245, 238, 0) 70%);
  filter: blur(36px);
  z-index: 0;
  transition: background 0.45s ease;
}

.stage-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease-out;
}

.stage-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.stage-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lime);
  border: 1px solid var(--ink);
}

.stage-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 4;
  background: #f7f5ee;
}

.stage-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.stage-card:hover .stage-image-wrap img {
  transform: scale(1.04);
}

.stage-floating-note {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  max-width: 290px;
}

.note-emoji {
  font-size: 1.4rem;
}

.stage-floating-note strong {
  display: block;
  font-size: 0.92rem;
}

.stage-floating-note small {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero-switcher {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.switcher-pill.active {
  background: var(--ink);
  color: #fff;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-lime {
  background: var(--lime);
}
.dot-amber {
  background: var(--amber);
}
.dot-coral {
  background: var(--coral);
}

/* Kinetic Band */
.kinetic-band {
  background: var(--lime);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.kinetic-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  animation: marquee 20s linear infinite;
}

.kinetic-track .star {
  color: var(--coral);
}

/* Sections */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.section-sub {
  color: var(--ink-muted);
  max-width: 340px;
}

/* Purchase Toggle & Goal Filters */
.purchase-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px;
}

.toggle-btn {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.toggle-btn.active {
  background: var(--ink);
  color: var(--lime);
}

.goal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Product Grid & 3D Flip Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  perspective: 1200px;
  min-height: 540px;
}

.product-card.hidden-card {
  display: none;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.card-back {
  transform: rotateY(180deg);
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  justify-content: space-between;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--ink);
}

.tag-lime {
  background: var(--lime);
}
.tag-amber {
  background: #ffd399;
}
.tag-coral {
  background: #ffb2a0;
}

.flip-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink);
}

.card-back .flip-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.card-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--bg);
  margin-bottom: 16px;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-img-box img {
  transform: scale(1.05);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.rating {
  font-weight: 700;
  font-size: 0.85rem;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-now {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.price-old {
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.add-btn {
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  transition: transform 0.2s, background 0.2s;
}

.add-btn:hover {
  transform: translateY(-1px);
  background: var(--coral);
}

.card-back .add-btn {
  background: var(--lime);
  color: var(--ink);
}

.full-w {
  width: 100%;
}

.card-back h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 18px;
}

.facts-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
  font-size: 0.9rem;
}

.facts-list strong {
  font-family: var(--font-mono);
  color: var(--lime);
}

.facts-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

/* 24H Ritual Timeline */
.ritual-shell {
  background: var(--forest);
  color: #fff;
  border-radius: 34px;
  padding: 48px;
}

.ritual-header .mono-tag {
  color: var(--lime);
}

.ritual-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  margin-top: 8px;
  margin-bottom: 28px;
}

.ritual-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.ritual-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
  transition: all 0.2s;
}

.ritual-tab.active {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.time-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.ritual-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 32px;
}

.ritual-kicker {
  font-family: var(--font-mono);
  color: var(--lime);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.ritual-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  margin: 12px 0 14px;
}

.ritual-copy p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 26px;
}

.ritual-metrics {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.ritual-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lime);
}

.ritual-metrics span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.ritual-visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.5;
}

.ritual-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ingredient Lab */
.lab-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.lab-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lab-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}

.lab-pill small {
  font-family: var(--font-mono);
  color: var(--ink-muted);
}

.lab-pill.active,
.lab-pill:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateX(4px);
}

.lab-pill.active small,
.lab-pill:hover small {
  color: var(--lime);
}

.lab-dossier {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 26px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.dossier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bio-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--lime);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--ink);
}

.lab-dossier h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 18px 0 12px;
}

.lab-dossier p {
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.dossier-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bar-row span {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.bar-track {
  height: 10px;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.featured-review {
  background: var(--lime);
  border-color: var(--ink);
}

.review-stars {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.review-card p {
  font-size: 1rem;
  font-weight: 500;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.av-1 {
  background: var(--forest);
}
.av-2 {
  background: var(--ink);
}
.av-3 {
  background: var(--coral);
}

.reviewer strong {
  display: block;
  font-size: 0.92rem;
}

.reviewer small {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Footer */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 64px 24px 32px;
  margin-top: 40px;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.newsletter-form {
  max-width: 440px;
  width: 100%;
}

.newsletter-form .mono-tag {
  color: var(--lime);
  display: block;
  margin-bottom: 12px;
}

.input-row {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px;
}

.input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 10px 16px;
  font: inherit;
}

.input-row button {
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
}

.newsletter-msg {
  display: block;
  margin-top: 8px;
  color: var(--lime);
  min-height: 18px;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Cart Drawer */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 34, 23, 0.52);
  backdrop-filter: blur(4px);
  z-index: 90;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  z-index: 100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
}

.shipping-progress {
  background: var(--surface);
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 18px;
  font-size: 0.86rem;
}

.progress-track {
  height: 8px;
  background: var(--surface-alt);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--forest);
  transition: width 0.3s ease;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info strong {
  display: block;
  font-size: 0.94rem;
}

.cart-item-info small {
  color: var(--ink-muted);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-controls button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-alt);
  font-weight: 700;
}

.drawer-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.demo-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 10px;
}

/* Modal */
.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 110;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 10px 0 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-opt {
  text-align: left;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  font-weight: 600;
  transition: all 0.2s;
}

.quiz-opt:hover {
  border-color: var(--ink);
  background: var(--lime);
}

.quiz-result {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg);
  border: 1.5px solid var(--ink);
}

.quiz-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.quiz-result p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 120;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links,
  .btn-ghost {
    display: none;
  }

  .hero-grid,
  .ritual-panel,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .stage-floating-note {
    left: 12px;
    bottom: 14px;
  }

  .ritual-shell {
    padding: 28px 20px;
  }
}

@media (max-width: 520px) {
  .navbar-wrap {
    padding: 0 12px;
  }

  .navbar {
    padding: 10px 12px 10px 16px;
    gap: 8px;
  }

  .ref-pill {
    display: none;
  }

  .cart-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
}
