/* ============ SLIMEDROP design system ============ */
:root {
  --ink: #33295C;
  --ink-soft: #6A628F;
  --cream: #FFF7EC;
  --cream-2: #FFF1DF;
  --white: #FFFFFF;
  --pink: #FF6FB5;
  --pink-deep: #F04A9C;
  --pink-soft: #FFD9EC;
  --mint: #3FD9B6;
  --mint-soft: #CFF6EC;
  --lilac: #A98BFF;
  --lilac-soft: #E9E1FF;
  --yellow: #FFC93F;
  --yellow-soft: #FFEDBF;
  --blue: #5BC5FF;
  --blue-soft: #D9F1FF;
  --orange: #FF9E57;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(51, 41, 92, 0.16);
  --font-display: "Baloo 2", "Nunito", sans-serif;
  --font-body: "Nunito", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .display { font-family: var(--font-display); line-height: 1.05; }

.wrap { width: min(1120px, 92vw); margin: 0 auto; }
section { padding: 72px 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  padding: 14px 28px; border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--pink); color: #fff;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  user-select: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); background: var(--pink-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn.mint { background: var(--mint); color: var(--ink); }
.btn.mint:hover { background: #2fc9a6; }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.yellow:hover { background: #f5ba22; }
.btn.ghost { background: var(--white); color: var(--ink); }
.btn.ghost:hover { background: var(--pink-soft); }
.btn.big { font-size: 1.25rem; padding: 18px 38px; }
.btn.small { font-size: .92rem; padding: 9px 20px; box-shadow: 0 4px 0 var(--ink); }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ---------- pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 7px 16px; box-shadow: var(--shadow);
}
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }

/* ---------- section headers ---------- */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-kick {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .85rem; color: var(--pink-deep);
}
.sec-title { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; margin-top: 8px; }
.sec-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 560px; margin: 12px auto 0; font-weight: 600; }
.squiggle { display: block; margin: 14px auto 0; }

/* ---------- sticker cards ---------- */
.card {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 7px 0 rgba(51,41,92,.14);
}

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 999; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .5s ease, visibility .5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
#preloader .blob { width: 92px; animation: plBounce 1.1s ease-in-out infinite; }
#preloader .word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: .04em;
}
#preloader .word em { font-style: normal; color: var(--pink-deep); }
#preloader .bar { width: 150px; height: 10px; border: 2.5px solid var(--ink); border-radius: 99px; overflow: hidden; background: #fff; }
#preloader .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--lilac), var(--mint)); animation: plFill 1.4s ease forwards; }
@keyframes plBounce { 0%,100% { transform: translateY(0) scale(1,1); } 50% { transform: translateY(-16px) scale(.94,1.06); } }
@keyframes plFill { to { width: 100%; } }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,247,236,.92); backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 44px; transition: transform .3s; }
.logo:hover img { transform: rotate(-10deg) scale(1.08); }
.logo .word { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; }
.logo .word em { font-style: normal; color: var(--pink-deep); }
nav.links { display: flex; align-items: center; gap: 26px; font-weight: 800; font-size: .98rem; }
nav.links a:not(.btn) { position: relative; padding: 4px 0; }
nav.links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 4px; width: 0;
  background: var(--pink); border-radius: 4px; transition: width .25s;
}
nav.links a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: none; width: 44px; height: 44px; }
.burger span { display: block; height: 4px; background: var(--ink); border-radius: 4px; margin: 7px 4px; transition: .3s; }
#drawer {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); z-index: 200;
  background: var(--pink-soft); border-left: 3px solid var(--ink);
  transform: translateX(105%); transition: transform .35s cubic-bezier(.6,-.1,.3,1.2);
  display: flex; flex-direction: column; padding: 26px; gap: 8px;
}
#drawer.open { transform: translateX(0); }
#drawer a { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; padding: 12px 8px; border-bottom: 2px dashed rgba(51,41,92,.2); }
#drawer .close { align-self: flex-end; font-size: 2rem; background: none; border: none; color: var(--ink); }
#overlay { position: fixed; inset: 0; background: rgba(51,41,92,.35); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }
#overlay.show { opacity: 1; visibility: visible; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 10px 0; border-bottom: 3px solid var(--ink); }
.marquee .track { display: flex; gap: 42px; white-space: nowrap; animation: scroll 22s linear infinite; width: max-content; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.marquee .star { color: var(--yellow); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); font-weight: 800; margin: 18px 0 16px; }
.hero h1 .hl { color: var(--pink-deep); position: relative; display: inline-block; }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); font-weight: 600; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap; font-weight: 800; font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-img { position: relative; }
.hero-img .main {
  border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 10px 0 rgba(51,41,92,.15);
  transform: rotate(1.5deg); transition: transform .4s;
}
.hero-img:hover .main { transform: rotate(0) scale(1.015); }
.float-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .85; animation: floaty 6s ease-in-out infinite; z-index: -1; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.sticker {
  position: absolute; background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; padding: 10px 18px; font-size: 1rem;
  box-shadow: 0 5px 0 var(--ink); transform: rotate(-8deg);
  animation: floaty 5s ease-in-out infinite;
}

/* ---------- drop banner / countdown ---------- */
.drop-banner {
  background: var(--lilac-soft); border-block: 3px solid var(--ink); padding: 46px 0;
}
.drop-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.drop-in h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.drop-in .sub { color: var(--ink-soft); font-weight: 700; margin-top: 6px; }
.countdown { display: flex; gap: 12px; }
.cd-box {
  background: var(--white); border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 5px 0 rgba(51,41,92,.15); padding: 10px 0; width: 76px; text-align: center;
}
.cd-box b { font-family: var(--font-display); font-size: 1.9rem; display: block; line-height: 1; }
.cd-box small { font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 30px 26px; text-align: center; transition: transform .3s; }
.step:hover { transform: translateY(-8px) rotate(-1deg); }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 4px 0 rgba(51,41,92,.15);
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-weight: 600; line-height: 1.55; }

/* ---------- flavors ---------- */
.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.flavor-card { overflow: hidden; transition: transform .3s, box-shadow .3s; position: relative; }
.flavor-card:hover { transform: translateY(-8px) rotate(1deg); box-shadow: 0 12px 0 rgba(51,41,92,.18); }
.flavor-card img { aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--ink); }
.flavor-card .fc-body { padding: 18px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flavor-card h3 { font-size: 1.22rem; }
.flavor-card .scent { color: var(--ink-soft); font-weight: 700; font-size: .88rem; }
.flavor-card .swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ink); flex: none; }

/* ---------- toppings strip ---------- */
.top-strip { background: var(--blue-soft); border-block: 3px solid var(--ink); }
.top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.top-grid img { border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 rgba(51,41,92,.15); transform: rotate(-1.5deg); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  font-weight: 800; font-size: .92rem; background: var(--white); border: 2.5px solid var(--ink);
  border-radius: 999px; padding: 8px 16px; box-shadow: 0 3px 0 rgba(51,41,92,.15);
}
.chip.gold { background: var(--yellow); }

/* ---------- mystery ---------- */
.mystery { background: var(--ink); color: var(--cream); }
.mystery .sec-kick { color: var(--yellow); }
.mystery .sec-sub { color: rgba(255,247,236,.75); }
.mystery-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.mystery-img { position: relative; }
.mystery-img img { border: 3px solid var(--yellow); border-radius: 26px; box-shadow: 0 10px 0 rgba(255,201,63,.25); transform: rotate(-2deg); }
.tier { background: rgba(255,255,255,.06); border: 2.5px solid rgba(255,247,236,.25); border-radius: 18px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; transition: .25s; }
.tier:hover { border-color: var(--yellow); background: rgba(255,201,63,.08); transform: translateX(6px); }
.tier h4 { font-size: 1.15rem; }
.tier p { color: rgba(255,247,236,.65); font-weight: 600; font-size: .92rem; margin-top: 3px; }
.tier .price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--yellow); }
.soon-tag { display: inline-block; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 6px 16px; margin-bottom: 14px; }

/* ---------- parents ---------- */
.parents-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.parents-grid img { border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 rgba(51,41,92,.15); transform: rotate(1.5deg); }
.check-list { list-style: none; margin-top: 22px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 700; margin-bottom: 15px; line-height: 1.45; }
.check-list .ck {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint);
  border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .85rem; margin-top: -1px;
}
.notice {
  margin-top: 20px; background: var(--yellow-soft); border: 2.5px dashed var(--ink);
  border-radius: 16px; padding: 14px 18px; font-weight: 800; font-size: .95rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink);
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .ico {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--pink-soft);
  border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; transition: transform .3s, background .3s;
}
.faq-item.open .ico { transform: rotate(45deg); background: var(--pink); color: #fff; }
.faq-a { max-height: 0; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--ink-soft); font-weight: 600; line-height: 1.6; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--cream); padding: 54px 0 34px; border-top: 3px solid var(--ink); }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-grid .logo .word { color: var(--cream); }
footer .tag { color: rgba(255,247,236,.6); font-weight: 600; margin-top: 10px; max-width: 260px; }
footer h5 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 12px; color: var(--yellow); }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: rgba(255,247,236,.8); font-weight: 600; transition: color .2s; }
footer a:hover { color: var(--pink); }
.foot-base { border-top: 1px solid rgba(255,247,236,.15); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: rgba(255,247,236,.5); font-weight: 600; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ============ BUILDER PAGE ============ */
.builder-main { padding: 34px 0 90px; }
.stepper { display: flex; justify-content: center; gap: 6px; margin: 8px 0 34px; flex-wrap: wrap; }
.stp {
  display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; padding: 9px 18px; border-radius: 999px; border: 2.5px solid transparent;
  color: var(--ink-soft); transition: .25s;
}
.stp .n {
  width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--ink-soft);
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.stp.active { background: var(--white); border-color: var(--ink); color: var(--ink); box-shadow: 0 4px 0 rgba(51,41,92,.14); }
.stp.active .n { background: var(--pink); border-color: var(--ink); color: #fff; }
.stp.done .n { background: var(--mint); border-color: var(--ink); color: var(--ink); }
.stp-arrow { color: var(--ink-soft); align-self: center; font-weight: 900; }

.builder-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: start; }

/* cup stage */
.cup-stage { position: sticky; top: 96px; text-align: center; }
.cup-stage .stage-card { padding: 26px 20px 24px; background: linear-gradient(180deg, #fff, var(--cream-2)); overflow: hidden; position: relative; }
#cupSvg { width: min(300px, 72vw); margin: 0 auto; display: block; overflow: visible; }
.cup-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-top: 12px; min-height: 1.5em; }
.cup-sub { color: var(--ink-soft); font-weight: 700; font-size: .92rem; min-height: 1.3em; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 5px; margin-top: 14px;
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink); padding: 8px 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  transition: transform .15s;
}
.price-tag.pop { animation: pop .35s ease; }
.sub-line { margin-top: 8px; font-weight: 800; font-size: .82rem; color: var(--ink-soft); min-height: 1.1em; }
@keyframes pop { 40% { transform: scale(1.18) rotate(-2deg); } }
@keyframes squishy { 0%,100% { transform: scale(1,1); } 50% { transform: scale(1.02,.98); } }
#cupSvg { animation: squishy 3.2s ease-in-out infinite; transform-origin: 50% 88%; }
#swirlGroup { transition: transform .45s cubic-bezier(.5,1.4,.4,1); }
@keyframes dropIn {
  0% { transform: translateY(-110px) scale(.6); opacity: 0; }
  60% { transform: translateY(8px) scale(1.1); opacity: 1; }
  80% { transform: translateY(-4px) scale(.96); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.tp-anim { animation: dropIn .55s cubic-bezier(.5,1.6,.4,1) both; }

/* panels */
.panel { display: none; }
.panel.active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.panel h2 { font-size: 1.7rem; margin-bottom: 6px; }
.panel .p-sub { color: var(--ink-soft); font-weight: 700; margin-bottom: 22px; }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt {
  position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 18px;
  box-shadow: 0 5px 0 rgba(51,41,92,.13); padding: 16px; cursor: pointer; text-align: left;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.opt:hover { transform: translateY(-4px); box-shadow: 0 8px 0 rgba(51,41,92,.16); }
.opt.sel { background: var(--pink-soft); box-shadow: 0 5px 0 var(--pink-deep); border-color: var(--ink); }
.opt.sel::after {
  content: "✓"; position: absolute; top: -12px; right: -10px; width: 30px; height: 30px;
  background: var(--mint); border: 2.5px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem;
}
.opt h4 { font-family: var(--font-display); font-size: 1.08rem; }
.opt .meta { color: var(--ink-soft); font-weight: 700; font-size: .85rem; margin-top: 3px; }
.opt .oz { font-size: .8rem; }
.opt .price-s { font-family: var(--font-display); font-weight: 800; color: var(--pink-deep); margin-top: 8px; font-size: 1.15rem; }

.flavor-opt { display: flex; align-items: center; gap: 13px; }
.flavor-opt .dotc { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink); flex: none; }

.top-opt { display: flex; align-items: center; gap: 12px; }
.top-opt .t-ico { width: 44px; height: 44px; flex: none; }
.top-opt .badge {
  position: absolute; top: -11px; left: 14px; background: var(--yellow); border: 2px solid var(--ink);
  border-radius: 999px; font-size: .66rem; font-weight: 900; letter-spacing: .05em; padding: 2px 9px; text-transform: uppercase;
}
.free-note {
  background: var(--mint-soft); border: 2.5px dashed var(--ink); border-radius: 14px;
  padding: 11px 16px; font-weight: 800; font-size: .92rem; margin-bottom: 18px;
}

.panel-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* box / cart */
.box-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.box-item { padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.box-item .bi-dot { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink); flex: none; margin-top: 2px; }
.box-item h4 { font-family: var(--font-display); font-size: 1.05rem; }
.box-item .bi-tops { color: var(--ink-soft); font-weight: 600; font-size: .88rem; margin-top: 3px; line-height: 1.45; }
.box-item .bi-price { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.box-item .rm { background: none; border: none; color: var(--pink-deep); font-weight: 900; font-size: .82rem; margin-top: 6px; padding: 0; }
/* box color picker */
.box-pick .opt { padding: 10px; text-align: center; }
.box-pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); }
.box-pick h4 { margin-top: 8px; font-size: 1rem; }

/* mystery squishy add-on */
.addon-card { display: flex; gap: 16px; padding: 14px 16px; margin-bottom: 20px; align-items: center; background: var(--lilac-soft); }
.addon-card img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; border: 2.5px solid var(--ink); flex: none; }
.addon-card h4 { font-family: var(--font-display); font-size: 1.1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.addon-card .ad-price { background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 900; padding: 2px 10px; }
.addon-card p { color: var(--ink-soft); font-weight: 600; font-size: .86rem; margin-top: 3px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--white);
  font-size: 1.2rem; font-weight: 900; color: var(--ink); box-shadow: 0 3px 0 var(--ink); line-height: 1;
}
.qty-btn:active { transform: translateY(2px); box-shadow: none; }
.qty-n { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; min-width: 22px; text-align: center; }
.qty-hint { color: var(--ink-soft); font-weight: 700; font-size: .78rem; }

.totals { padding: 18px 20px; }
.totals .row { display: flex; justify-content: space-between; font-weight: 700; padding: 5px 0; color: var(--ink-soft); }
.totals .row.deal { color: var(--pink-deep); }
.totals .row.grand { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); border-top: 2.5px dashed rgba(51,41,92,.25); margin-top: 8px; padding-top: 12px; }
.free-progress { margin-top: 12px; }
.free-progress .fp-txt { font-weight: 800; font-size: .85rem; margin-bottom: 6px; }
.fp-bar { height: 12px; border: 2.5px solid var(--ink); border-radius: 99px; background: #fff; overflow: hidden; }
.fp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--blue)); transition: width .5s ease; }

/* checkout form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .88rem; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2.5px solid var(--ink); border-radius: 13px; padding: 12px 14px;
  outline: none; transition: box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px var(--pink-soft); }
.field .err-msg { color: var(--pink-deep); font-size: .78rem; font-weight: 800; display: none; }
.field.error input, .field.error select { border-color: var(--pink-deep); }
.field.error .err-msg { display: block; }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; grid-column: 1 / -1; }
.pay-opt { padding: 16px; cursor: pointer; position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 rgba(51,41,92,.13); transition: .2s; }
.pay-opt.sel { background: var(--mint-soft); box-shadow: 0 5px 0 var(--mint); }
.pay-opt.sel::after { content: "✓"; position: absolute; top: -12px; right: -10px; width: 30px; height: 30px; background: var(--mint); border: 2.5px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; }
.pay-opt h4 { font-family: var(--font-display); font-size: 1.05rem; }
.pay-opt p { color: var(--ink-soft); font-weight: 600; font-size: .85rem; margin-top: 4px; line-height: 1.4; }
.pay-opt .bonus { display: inline-block; margin-top: 7px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; font-size: .7rem; font-weight: 900; padding: 2px 10px; text-transform: uppercase; letter-spacing: .04em; }

/* success overlay */
#successOv {
  position: fixed; inset: 0; z-index: 300; background: rgba(51,41,92,.5);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
#successOv.show { display: flex; }
.success-card { max-width: 440px; width: 100%; text-align: center; padding: 40px 30px 34px; background: var(--cream); animation: fadeUp .45s ease; }
.success-card img { width: 90px; margin: 0 auto 14px; animation: plBounce 1.4s ease-in-out infinite; }
.success-card h2 { font-size: 1.8rem; margin-bottom: 8px; }
.success-card p { color: var(--ink-soft); font-weight: 700; line-height: 1.55; margin-bottom: 8px; }
.success-card .code { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; background: var(--yellow-soft); border: 2.5px dashed var(--ink); border-radius: 12px; padding: 8px 14px; display: inline-block; margin: 8px 0 16px; }

/* confetti */
.confetti-bit { position: fixed; width: 11px; height: 11px; z-index: 400; pointer-events: none; border: 2px solid var(--ink); }

/* mini cart button */
#boxFab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: none; align-items: center; gap: 9px;
}
#boxFab.show { display: inline-flex; }
#boxFab .cnt { background: #fff; color: var(--ink); border-radius: 999px; min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; border: 2px solid var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .top-grid, .mystery-grid, .parents-grid, .builder-grid { grid-template-columns: 1fr; }
  .builder-grid { gap: 20px; }
  /* compact sticky cup preview on mobile so the cup reacts while you pick */
  .cup-stage { position: sticky; top: 80px; z-index: 60; }
  .cup-stage .stage-card { display: flex; align-items: center; gap: 6px; padding: 10px 14px; text-align: left; }
  #cupSvg { width: 96px; flex: none; margin: 0; }
  .cup-stage .stage-meta { flex: 1; min-width: 0; }
  .cup-name { font-size: 1.02rem; margin-top: 0; min-height: 0; }
  .cup-sub { font-size: .78rem; min-height: 0; }
  .price-tag { margin-top: 8px; font-size: 1.15rem; padding: 4px 16px; box-shadow: 0 3px 0 var(--ink); }
  .steps { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
  .burger { display: block; }
  .hero { padding-top: 40px; }
  .hero-img { order: -1; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .flavor-grid, .opt-grid, .form-grid, .pay-opts { grid-template-columns: 1fr; }
  .cd-box { width: 64px; }
  .cd-box b { font-size: 1.5rem; }
  .drop-in { justify-content: center; text-align: center; }
  .btn.big { font-size: 1.05rem; padding: 15px 28px; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .panel-nav { flex-direction: column-reverse; }
  .panel-nav .btn { width: 100%; }
  body { padding-bottom: 0; }
}

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