/* ==========================================================
   TOETUP — nasal strip storefront
   Dark editorial · Sleep (violet) + Sport (crimson) accents
   ========================================================== */

:root {
  --bg:          #0a0a14;
  --bg-2:        #0f0f1e;
  --bg-3:        #161628;
  --ink:         #f5f1ea;
  --ink-2:       #c9c4bd;
  --ink-3:       #847f79;
  --line:        rgba(245,241,234,.12);
  --line-2:      rgba(245,241,234,.06);

  --sleep:       #a78bfa;   /* violet */
  --sleep-deep:  #5b3fc9;
  --sleep-soft:  #ede8ff;
  --sport:       #ef4444;   /* crimson */
  --sport-deep:  #b91c1c;
  --gold:        #f4c85f;

  --ease:        cubic-bezier(.2,.7,.2,1);
  --shadow-lg:   0 30px 80px -30px rgba(0,0,0,.6), 0 10px 30px -10px rgba(0,0,0,.4);
  --shadow-md:   0 10px 30px -12px rgba(0,0,0,.4);

  --r-sm:        10px;
  --r-md:        18px;
  --r-lg:        28px;
  --r-xl:        44px;

  --f-serif:     "Fraunces", ui-serif, Georgia, serif;
  --f-sans:      "Inter", system-ui, -apple-system, Segoe UI, sans-serif;

  --nav-h:       68px;
  --ann-h:       36px;
  --max:         1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-style: italic; }

h1, h2, h3 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-variation-settings: "opsz" 144, "SOFT" 30; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.8rem); font-variation-settings: "opsz" 96, "SOFT" 20; }
h3 { font-size: 1.4rem; }
h4 { font-family: var(--f-serif); font-size: 1.15rem; font-weight: 500; }
p  { color: var(--ink-2); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ----- SCROLL PROGRESS ----- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--sleep), var(--gold), var(--sport));
  z-index: 1000; transition: width .1s linear;
}

/* ----- ANNOUNCEMENT BAR ----- */
.announcement {
  height: var(--ann-h);
  overflow: hidden;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}
.announcement-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  padding: 10px 0;
  font-size: .78rem; letter-spacing: .05em;
  color: var(--ink-2);
  animation: marquee 32s linear infinite;
  width: max-content;
}
.announcement-track span { padding: 0 24px; }
.announcement-track b { color: var(--gold); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- NAV ----- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,20,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-2);
  transition: background .3s var(--ease), border-color .3s;
}
.nav.scrolled {
  background: rgba(10,10,20,.92);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-serif); font-size: 1.25rem; font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
}
.brand span { color: var(--ink); }
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
  background: transparent;
  padding: 0;
  box-shadow: none;
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(180deg) saturate(1.6) brightness(1.05);
}
.foot-brand .brand-logo { height: 44px; }
@media (max-width: 640px) {
  .brand-logo { height: 28px; padding: 4px 8px; }
}
.nav-links {
  display: flex; gap: 28px; margin-left: auto;
  font-size: .92rem; font-weight: 500;
}
.nav-links a {
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.cart-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}
.cart-btn:hover { background: var(--bg-3); border-color: var(--ink-3); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--gold); color: var(--bg);
  border-radius: 999px;
  font-size: .68rem; font-weight: 700;
  display: grid; place-items: center;
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }

.menu-btn {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 999px;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--ink); transition: .3s var(--ease);
}
.menu-btn span:nth-child(1){ top: 14px; }
.menu-btn span:nth-child(2){ top: 20px; }
.menu-btn span:nth-child(3){ top: 26px; }
.menu-btn.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity: 0; }
.menu-btn.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px;
  font-size: .95rem; font-weight: 600;
  border-radius: 999px;
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 8px 24px -8px rgba(244,200,95,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(244,200,95,.6); }
.btn-red { background: var(--sport); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(239,68,68,.5); }
.btn-red:hover { box-shadow: 0 14px 32px -10px rgba(239,68,68,.6); }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--ink-3); }
.btn-ghost-light {
  color: var(--bg);
  border: 1px solid rgba(10,10,20,.25);
}
.btn-ghost-light:hover { background: rgba(10,10,20,.08); }
.btn-shopee {
  background: #EE4D2D;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(238,77,45,.55);
}
.btn-shopee:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(238,77,45,.65); }
.btn-shopee svg { width: 18px; height: 18px; }
.btn-wide { width: 100%; }

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - var(--ann-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 16s var(--ease) forwards;
  filter: saturate(.92) brightness(.78);
  will-change: transform;
}
@keyframes slowZoom { to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 10% 90%, rgba(10,10,20,.85), transparent 70%),
    linear-gradient(180deg, rgba(10,10,20,.55) 0%, rgba(10,10,20,.3) 35%, rgba(10,10,20,.95) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 48px 28px 120px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold), var(--sleep));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 540px; margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink);
  opacity: .92;
}
.hero p b { color: var(--gold); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { margin-top: 32px; color: var(--ink-2); font-size: .85rem; }
.hero-meta b { color: var(--gold); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 32px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite var(--ease);
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 0; }
  40% { opacity: 1; }
  100% { top: 26px; opacity: 0; }
}

/* ----- VALUE PROPS ----- */
.value {
  padding: 80px 28px;
  border-bottom: 1px solid var(--line-2);
}
.value-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.value-grid li {
  padding: 24px 28px;
  border-left: 1px solid var(--line-2);
}
.value-grid li:first-child { border-left: 0; }
.value-grid svg { width: 36px; height: 36px; color: var(--gold); margin-bottom: 18px; }
.value-grid h3 { font-family: var(--f-sans); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.value-grid p { color: var(--ink-3); font-size: .9rem; }

/* ----- PROBLEM ----- */
.problem { padding: 120px 0; }
.problem h2 em { color: var(--gold); font-style: italic; }
.problem-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-grid > div {
  padding: 28px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.problem-grid > div:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: var(--bg-3);
}
.problem-grid span {
  display: block;
  font-family: var(--f-serif);
  font-size: 2.2rem; color: var(--sleep);
  margin-bottom: 10px;
  font-weight: 300;
}
.problem-grid h4 { margin-bottom: 8px; }
.problem-grid p { font-size: .92rem; color: var(--ink-2); }
.problem-note {
  margin-top: 60px; text-align: center;
  font-family: var(--f-serif); font-size: 1.6rem; font-style: italic;
  color: var(--ink);
}
.problem-note b { color: var(--gold); font-style: normal; font-weight: 500; }

/* ----- SHOWCASE (Sleep / Sport) ----- */
.showcase { padding: 120px 28px; position: relative; overflow: hidden; }
.showcase.sleep {
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(167,139,250,.15), transparent 60%),
    var(--bg);
}
.showcase.sport {
  background:
    radial-gradient(800px 500px at 15% 80%, rgba(239,68,68,.12), transparent 60%),
    var(--bg);
}
.showcase-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-grid.reverse { direction: rtl; }
.showcase-grid.reverse > * { direction: ltr; }

.showcase-text h2 em { font-style: italic; }
.showcase.sleep h2 em { color: var(--sleep); }
.showcase.sport h2 em { color: var(--sport); }
.showcase-text p {
  margin-top: 22px; font-size: 1.05rem; max-width: 480px;
}
.check-list { margin-top: 28px; display: grid; gap: 12px; }
.check-list li {
  position: relative; padding-left: 32px;
  color: var(--ink); font-size: .98rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--gold);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l4 4 10-10' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l4 4 10-10' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
}
.showcase.sleep .check-list li::before { background: var(--sleep); }
.showcase.sport .check-list li::before { background: var(--sport); }
.showcase-cta {
  margin-top: 36px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.price-tag {
  font-family: var(--f-serif); font-size: 1.1rem; color: var(--ink-2);
}
.price-tag::before { content: "·"; margin-right: 10px; color: var(--ink-3); }

.showcase-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.showcase-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.showcase-media:hover img { transform: scale(1.04); }
.showcase-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(10,10,20,.85);
  backdrop-filter: blur(10px);
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.showcase-badge b {
  font-family: var(--f-serif); font-size: 2.2rem;
  color: var(--gold); font-weight: 500;
  line-height: 1;
}
.showcase-badge span {
  font-size: .78rem; color: var(--ink-2);
  line-height: 1.3;
}

/* ----- PRODUCTS ----- */
.products { padding: 120px 0; border-top: 1px solid var(--line-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 em { color: var(--gold); font-style: italic; }
.section-head p { margin-top: 20px; font-size: 1.05rem; }

.product-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.pcard {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow-lg);
}
.pcard-media {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #ffffff;
  border-radius: 14px 14px 0 0;
}
.pcard-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  padding: 6px;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.pcard-media img.alt { opacity: 0; }
.pcard:hover .pcard-media img.main { opacity: 0; }
.pcard:hover .pcard-media img.alt { opacity: 1; transform: scale(1.05); }

.pcard-soon {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  display: grid; place-items: center;
  padding: 20px;
}
.pcard-soon svg { width: 100%; height: 100%; max-height: 220px; }

.pcard-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 11px;
  background: var(--gold); color: var(--bg);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; border-radius: 999px;
  z-index: 2;
}
.pcard-badge.soon { background: var(--bg); color: var(--gold); border: 1px solid var(--gold); }
.pcard-badge.sport { background: var(--sport); color: var(--ink); }
.pcard-badge.sleep { background: var(--sleep); color: var(--bg); }
.pcard-badge.bundle { background: var(--ink); color: var(--bg); }

.pcard-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 {
  font-family: var(--f-serif); font-size: 1.3rem; margin-bottom: 6px;
  font-weight: 500;
}
.pcard-sub { color: var(--ink-3); font-size: .85rem; margin-bottom: 14px; }
.pcard-price { margin-top: auto; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.pcard-price .now { font-family: var(--f-serif); font-size: 1.4rem; color: var(--ink); font-weight: 500; }
.pcard-price .was { color: var(--ink-3); text-decoration: line-through; font-size: .95rem; }
.pcard-price .save { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.pcard-btns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 4px;
}
.pcard-buy, .pcard-add {
  padding: 12px 14px;
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  transition: all .25s var(--ease);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
}
.pcard-buy {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 18px -8px rgba(244,200,95,.5);
}
.pcard-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(244,200,95,.65); }
.pcard-add {
  background: var(--bg-3);
  color: var(--ink);
  border: 1px solid var(--line);
  width: 100%;
}
.pcard-add:hover { background: var(--line); border-color: var(--ink-3); }
.pcard-add:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 380px) {
  .pcard-btns { grid-template-columns: 1fr; }
}

/* ----- BUNDLE BANNER ----- */
.bundle-banner {
  padding: 120px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, #f0a94c 100%);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.bundle-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 80% 30%, rgba(255,255,255,.3), transparent 60%);
}
.bundle-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative;
}
.bundle-text .eyebrow { color: var(--bg); border-color: rgba(10,10,20,.25); }
.bundle-text h2 { color: var(--bg); }
.bundle-text p { color: rgba(10,10,20,.78); margin-top: 22px; font-size: 1.05rem; max-width: 460px; }
.bundle-text p b { color: var(--bg); font-weight: 700; }
.bundle-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.bundle-banner .btn-primary { background: var(--bg); color: var(--gold); box-shadow: 0 8px 24px -8px rgba(10,10,20,.4); }
.bundle-banner .btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(10,10,20,.5); }

.bundle-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(10,10,20,.08);
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  padding: 40px;
}
.bundle-media img { max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.3)); }

/* ----- HOW IT WORKS ----- */
.howto { padding: 120px 0; text-align: center; }
.howto h2 em { color: var(--gold); font-style: italic; }
.howto-grid {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--max); padding: 0 28px; margin-left: auto; margin-right: auto;
}
.step {
  padding: 40px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  text-align: left;
  position: relative;
  transition: border-color .3s, background .3s;
}
.step:hover { border-color: var(--gold); background: var(--bg-3); }
.step-num {
  font-family: var(--f-serif);
  font-size: 3.5rem; font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block; margin-bottom: 20px;
}
.step h3 { font-family: var(--f-serif); margin-bottom: 10px; font-weight: 500; }
.step p { color: var(--ink-2); }

.howto-stats {
  max-width: var(--max); margin: 80px auto 0;
  padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line-2);
  padding-top: 56px;
}
.howto-stats > div { text-align: center; }
.howto-stats b {
  font-family: var(--f-serif); font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold); display: block; font-weight: 400;
  line-height: 1;
}
.howto-stats span {
  display: block; margin-top: 10px;
  font-size: .8rem; color: var(--ink-3);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ----- COMPARE ----- */
.compare { padding: 120px 0; text-align: center; background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.compare-table {
  max-width: 960px; margin: 64px auto 0;
  padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.compare-col {
  padding: 40px 32px;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  text-align: left;
  transition: transform .4s var(--ease), border-color .3s;
}
.compare-col:hover { transform: translateY(-6px); }
.sleep-col:hover { border-color: var(--sleep); }
.sport-col:hover { border-color: var(--sport); }
.compare-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.compare-head h3 { font-family: var(--f-serif); font-size: 1.4rem; font-weight: 500; }
.compare-head p { font-size: .85rem; color: var(--ink-3); margin-left: auto; }
.dot { width: 12px; height: 12px; border-radius: 999px; background: var(--ink-3); }
.sleep-col .dot { background: var(--sleep); box-shadow: 0 0 16px var(--sleep); }
.sport-col .dot { background: var(--sport); box-shadow: 0 0 16px var(--sport); }
.compare-col ul { display: grid; gap: 14px; }
.compare-col li { padding-left: 26px; position: relative; color: var(--ink-2); }
.compare-col li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--ink-3);
}
.sleep-col li::before { background: var(--sleep); border-color: var(--sleep); }
.sport-col li::before { background: var(--sport); border-color: var(--sport); }
.compare-note { margin-top: 48px; color: var(--ink-2); }
.compare-note a { color: var(--gold); text-decoration: underline; }

/* ----- TESTIMONIALS ----- */
.testimoni { padding: 120px 0; overflow: hidden; }
.testimoni-head { text-align: center; max-width: 680px; margin: 0 auto 64px; padding: 0 28px; }
.testimoni-head h2 em { color: var(--sleep); font-style: italic; }
.testimoni-track {
  display: flex; gap: 24px;
  padding: 0 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding: 28px;
}
.testimoni-track::-webkit-scrollbar { display: none; }
.testimoni-track figure {
  flex: 0 0 380px;
  scroll-snap-align: start;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; margin-bottom: 16px; }
.testimoni-track blockquote {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}
.testimoni-track figcaption { margin-top: 18px; color: var(--ink-3); font-size: .85rem; }
.testimoni-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 32px;
}
.testimoni-dots span {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--line); cursor: pointer;
  transition: background .3s, width .3s;
}
.testimoni-dots span.active { background: var(--gold); width: 24px; }

/* ----- FAQ ----- */
.faq { padding: 120px 0; }
.faq-head { max-width: 680px; margin: 0 auto 56px; text-align: center; padding: 0 28px; }
.faq-list { max-width: 860px; margin: 0 auto; padding: 0 28px; }
.faq-list details {
  border-bottom: 1px solid var(--line-2);
  padding: 24px 0;
}
.faq-list details[open] summary { color: var(--gold); }
.faq-list summary {
  font-family: var(--f-serif); font-size: 1.2rem; font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.plus {
  position: relative; width: 20px; height: 20px; flex-shrink: 0;
}
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-list details[open] .plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq-list div { padding-top: 14px; color: var(--ink-2); max-width: 640px; }

/* ----- CTA FINAL ----- */
.cta-final {
  padding: 120px 28px;
  text-align: center;
  background:
    radial-gradient(600px 400px at 50% 0%, rgba(167,139,250,.15), transparent 60%),
    var(--bg-2);
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-final h2 { margin-bottom: 20px; }
.cta-final h2 em { color: var(--gold); font-style: italic; }
.newsletter {
  margin-top: 36px;
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
}
.newsletter input {
  flex: 1 1 300px;
  padding: 15px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .95rem;
  transition: border-color .2s;
}
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter-ok { margin-top: 20px; color: var(--gold); font-size: .95rem; }

/* ----- FOOTER ----- */
.foot {
  padding: 80px 28px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}
.foot-brand p { color: var(--ink-3); margin-top: 16px; max-width: 320px; font-size: .92rem; }
.foot-col h5 {
  font-family: var(--f-sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px;
}
.foot-col a { display: block; color: var(--ink-3); font-size: .92rem; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  max-width: var(--max); margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between;
  color: var(--ink-3); font-size: .82rem;
  flex-wrap: wrap; gap: 12px;
}

/* ----- FLOATING WA ----- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25d366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.6);
  z-index: 90;
  transition: transform .25s var(--ease);
  animation: waPulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,0); }
}

/* ----- STICKY MOBILE CTA ----- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,10,20,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 80;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta span { color: var(--ink-2); font-size: .85rem; }
.sticky-cta b { color: var(--ink); }
.sticky-cta .btn { padding: 12px 20px; font-size: .85rem; }

/* ----- CART DRAWER ----- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,20,.6);
  backdrop-filter: blur(6px);
  z-index: 199;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  z-index: 200;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,.6);
}
.drawer.show { transform: translateX(0); }
.drawer-head {
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line-2);
}
.drawer-head h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.3rem; }
.drawer-close {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s;
}
.drawer-close:hover { background: var(--bg-3); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart p { color: var(--ink-3); margin-bottom: 20px; }
.cart-items { display: none; }
.cart-items.show { display: grid; gap: 18px; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.cart-item img {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: var(--r-sm); background: var(--bg-3);
}
.cart-item-info h4 { font-family: var(--f-serif); font-size: .95rem; font-weight: 500; margin-bottom: 4px; }
.cart-item-info .sub { color: var(--ink-3); font-size: .78rem; margin-bottom: 10px; }
.cart-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden;
}
.cart-qty button {
  width: 26px; height: 26px; color: var(--ink);
  font-size: 1rem; line-height: 1;
  transition: background .2s;
}
.cart-qty button:hover { background: var(--bg-3); }
.cart-qty span { min-width: 24px; text-align: center; font-size: .85rem; font-weight: 600; }
.cart-item-price {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: space-between;
}
.cart-item-price b { font-family: var(--f-serif); font-weight: 500; font-size: .95rem; }
.cart-item-price button { color: var(--ink-3); font-size: .75rem; text-decoration: underline; }
.cart-item-price button:hover { color: var(--sport); }

.drawer-foot {
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2);
  background: var(--bg-3);
}
.drawer-subtotal {
  display: flex; justify-content: space-between;
  font-size: 1rem; margin-bottom: 8px;
}
.drawer-subtotal b { font-family: var(--f-serif); font-size: 1.2rem; color: var(--gold); font-weight: 500; }
.drawer-note { font-size: .78rem; color: var(--ink-3); margin-bottom: 16px; }

/* ----- TOAST ----- */
.toast {
  position: fixed; top: calc(var(--nav-h) + 16px); left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--ink); color: var(--bg);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .88rem;
  opacity: 0; pointer-events: none;
  z-index: 250;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ----- REVEAL ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ----- RESPONSIVE ----- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: calc(var(--nav-h) + var(--ann-h)); left: 0; right: 0;
    background: var(--bg-2);
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 1.05rem;
  }
  .menu-btn { display: block; }
  .cart-btn { margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .nav-inner { gap: 12px; }

  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid li { border-left: 0; border-top: 1px solid var(--line-2); padding: 20px; }
  .value-grid li:nth-child(-n+2) { border-top: 0; }

  .problem-grid { grid-template-columns: repeat(2, 1fr); }

  .showcase-grid, .showcase-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .showcase { padding: 80px 24px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .bundle-inner { grid-template-columns: 1fr; gap: 40px; }
  .bundle-banner { padding: 80px 24px; }

  .howto-grid { grid-template-columns: 1fr; }
  .howto-stats { grid-template-columns: repeat(2, 1fr); }

  .compare-table { grid-template-columns: 1fr; }

  .foot-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .testimoni-track figure { flex: 0 0 88%; }

  .sticky-cta { display: flex; }
  .wa-float { bottom: 80px; }
  body { padding-bottom: 72px; }
}

@media (max-width: 540px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero-content { padding: 28px 20px 100px; }
  .value, .problem, .products, .howto, .compare, .testimoni, .faq, .cta-final { padding-left: 20px; padding-right: 20px; padding-top: 72px; padding-bottom: 72px; }
  .container { padding: 0 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .howto-stats { grid-template-columns: 1fr 1fr; }
  .announcement-track { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-img { animation: none; }
}

/* ============================================================
   TRUST STRIP (under hero)
   ============================================================ */
.trust-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 22px 28px;
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-2); font-size: .88rem;
}
.trust-item svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.trust-item b { color: var(--ink); font-weight: 600; display: block; font-size: .92rem; margin-bottom: 2px; }
.trust-item span { color: var(--ink-3); font-size: .78rem; }
@media (max-width: 820px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .trust-strip { padding: 18px 20px; }
  .trust-item { font-size: .8rem; }
}

/* ============================================================
   CHECKOUT MODAL (Beli via Website)
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,20,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal-backdrop.show { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed; z-index: 301;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  pointer-events: none;
  overflow-y: auto;
}
.modal-card {
  width: min(560px, 100%);
  max-height: min(85vh, 900px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  opacity: 0; transform: translateY(20px) scale(.97);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal.show .modal-card { opacity: 1; transform: translateY(0) scale(1); }

.modal-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.modal-head h3 {
  font-family: var(--f-serif); font-weight: 500; font-size: 1.35rem;
}
.modal-head .step-label { color: var(--ink-3); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.modal-close {
  background: none; border: none; color: var(--ink-2); cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--bg-3); color: var(--ink); }

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}
.modal-foot {
  padding: 18px 28px 22px;
  border-top: 1px solid var(--line-2);
  display: flex; gap: 10px; justify-content: space-between; align-items: center;
  flex-shrink: 0;
  background: var(--bg-2);
}
.modal-foot .total { color: var(--ink-2); font-size: .9rem; }
.modal-foot .total b { color: var(--gold); font-family: var(--f-serif); font-weight: 500; font-size: 1.25rem; margin-left: 8px; }

/* Steps indicator */
.steps {
  display: flex; gap: 8px; margin-bottom: 24px;
}
.steps .dot {
  flex: 1; height: 3px; border-radius: 2px;
  background: var(--line);
  transition: background .3s;
}
.steps .dot.active { background: var(--gold); }
.steps .dot.done { background: var(--gold); opacity: .5; }

/* Form fields */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label {
  font-size: .82rem; color: var(--ink-2); font-weight: 500;
}
.form-row label .req { color: var(--sport); margin-left: 2px; }
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: .95rem;
  padding: 11px 14px;
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-3);
}
.form-row textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form-row input.err, .form-row textarea.err, .form-row select.err { border-color: var(--sport); }
.form-row .hint { color: var(--ink-3); font-size: .75rem; }
.form-row .err-msg { color: var(--sport); font-size: .78rem; margin-top: 2px; }
@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 20px; }
  .modal-head, .modal-foot { padding-left: 20px; padding-right: 20px; }
}

/* Order summary box */
.order-summary {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}
.order-summary h4 {
  font-family: var(--f-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 12px;
}
.order-summary ul { display: flex; flex-direction: column; gap: 8px; }
.order-summary li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .88rem; color: var(--ink-2);
}
.order-summary li b { color: var(--ink); font-weight: 500; }
.order-summary .row-total {
  display: flex; justify-content: space-between;
  padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line-2);
  color: var(--ink); font-weight: 500;
}
.order-summary .row-total b { color: var(--gold); font-family: var(--f-serif); font-size: 1.1rem; font-weight: 500; }

/* Payment methods */
.pay-list { display: flex; flex-direction: column; gap: 10px; }
.pay-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.pay-item:hover { border-color: var(--ink-3); }
.pay-item input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; }
.pay-item.selected { border-color: var(--gold); background: rgba(244,200,95,.06); }
.pay-item .pay-info { flex: 1; }
.pay-item b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; margin-bottom: 2px; }
.pay-item span { color: var(--ink-3); font-size: .8rem; }
.pay-logo {
  width: 44px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border-radius: 6px;
  font-size: .72rem; font-weight: 700; color: var(--ink); letter-spacing: .02em;
}

/* Success / payment instructions */
.success-block { text-align: center; padding: 10px 0 20px; }
.success-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: rgba(244,200,95,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.success-icon svg { width: 32px; height: 32px; }
.success-block h3 { font-family: var(--f-serif); font-size: 1.6rem; margin-bottom: 8px; font-weight: 500; }
.success-block > p { color: var(--ink-2); font-size: .95rem; max-width: 400px; margin: 0 auto; }
.order-id {
  display: inline-block; margin-top: 14px;
  padding: 8px 16px;
  background: var(--bg); border: 1px dashed var(--line);
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  color: var(--gold); font-size: .9rem; letter-spacing: .04em;
}

.pay-instruct {
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 20px;
}
.pay-instruct h4 {
  font-family: var(--f-sans); font-size: .85rem; font-weight: 600;
  color: var(--gold); margin-bottom: 12px;
  letter-spacing: .05em; text-transform: uppercase;
}
.pay-instruct .bank-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line-2);
  font-size: .9rem;
}
.pay-instruct .bank-row:last-child { border-bottom: 0; }
.pay-instruct .bank-row span { color: var(--ink-3); }
.pay-instruct .bank-row b { color: var(--ink); font-family: ui-monospace, monospace; }
.pay-instruct .amount b { color: var(--gold); font-family: var(--f-serif); font-weight: 500; font-size: 1.1rem; }
.copy-btn {
  background: var(--bg-3); border: 1px solid var(--line); color: var(--ink);
  padding: 4px 10px; border-radius: 6px; font-size: .75rem; cursor: pointer;
  margin-left: 10px;
}
.copy-btn:hover { background: var(--line); }
.pay-instruct .note {
  margin-top: 14px; color: var(--ink-3); font-size: .8rem; line-height: 1.5;
}

/* Drawer dual buttons */
.drawer-foot .checkout-options {
  display: flex; flex-direction: column; gap: 8px;
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: rgba(244,200,95,.08); }

/* Exit-intent popup */
.popup-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,20,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 320;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.popup-backdrop.show { opacity: 1; pointer-events: auto; }
.popup {
  position: fixed; z-index: 321;
  top: 50%; left: 50%;
  transform: translate(-50%, -45%) scale(.96);
  width: min(480px, calc(100vw - 32px));
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.popup.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.popup-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; color: var(--ink-3);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 16px;
}
.popup-close:hover { color: var(--ink); background: var(--bg-3); }
.popup-eyebrow {
  color: var(--gold); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; display: block;
  margin-bottom: 12px;
}
.popup h3 {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  line-height: 1.15; margin-bottom: 14px;
}
.popup h3 em { color: var(--gold); font-style: italic; }
.popup p { color: var(--ink-2); font-size: .95rem; margin-bottom: 22px; line-height: 1.5; }
.popup form { display: flex; flex-direction: column; gap: 10px; }
.popup input {
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink); padding: 14px 18px; border-radius: 999px;
  font-family: var(--f-sans); font-size: .95rem;
}
.popup input:focus { outline: none; border-color: var(--gold); }
.popup .popup-small { margin-top: 18px; font-size: .8rem; color: var(--ink-3); text-align: center; }
.popup .popup-small b { color: var(--gold); }
.popup .popup-small a { color: var(--ink-3); text-decoration: underline; }

/* Upsell card in cart drawer */
.upsell {
  margin: 18px 24px 8px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(244,200,95,.1), rgba(167,139,250,.06));
  border: 1px dashed var(--gold);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
}
.upsell img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--bg-3); }
.upsell-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.upsell-info { flex: 1; min-width: 0; }
.upsell-info b { display: block; color: var(--ink); font-size: .88rem; font-weight: 600; margin-bottom: 3px; line-height: 1.3; }
.upsell-info span { color: var(--ink-3); font-size: .78rem; line-height: 1.4; }
.upsell-add {
  background: var(--gold); color: var(--bg); border: none;
  padding: 8px 12px; border-radius: 999px;
  font-weight: 600; font-size: .78rem; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.upsell-add:hover { transform: translateY(-1px); }
