/* Sweet Drizzle — customer website / digital menu
   Direction: black + logo pink + gold. Minimal, cute in small doses. Fredoka for headings & UI. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; overflow-x: clip; }
body {
  font-family: var(--sd-font-body); font-weight: 400; color: var(--sd-text-dark); background: var(--sd-black);
  line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-family: var(--sd-font-display); font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--sd-pink); color: var(--sd-black); padding: 8px 14px; border-radius: 99px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sd-pink); outline-offset: 3px; border-radius: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--sd-muted-dark); }
.tiny { font-size: 12px; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: var(--sd-radius-pill); border: 1px solid transparent;
  font-family: var(--sd-font-display); font-weight: 500; font-size: 15px; text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2), background .25s, color .25s, border-color .25s;
}
.pill:active { transform: scale(.97); }
.pill-pink { background: var(--sd-pink); color: var(--sd-black); }
.pill-pink:hover { background: var(--sd-pink-soft); }
.pill-line { background: transparent; color: var(--sd-text-dark); border-color: rgba(230,182,90,.45); }
.pill-line:hover { border-color: var(--sd-gold-light); color: var(--sd-gold-light); }
.wide { width: 100%; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 10px 0 auto; z-index: 50; pointer-events: none; }
.nav-inner {
  pointer-events: auto; width: min(1240px, 100% - 20px); margin-inline: auto; height: 62px;
  display: flex; align-items: center; gap: 18px; padding: 0 8px 0 8px; border-radius: 999px;
  background: rgba(14,11,12,.62); border: 1px solid var(--sd-line-dark);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.nav-links { display: none; gap: 2px; margin-left: auto; }
.nav-links a { text-decoration: none; font-family: var(--sd-font-display); font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 99px; color: var(--sd-muted-dark); transition: color .2s; }
.nav-links a:hover { color: var(--sd-pink); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: flex; padding: 3px; border: 1px solid var(--sd-line-dark); border-radius: 99px; }
.lang button { border: 0; background: none; font-family: var(--sd-font-display); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 99px; color: var(--sd-muted-dark); letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--sd-pink); color: var(--sd-black); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sd-line-dark); background: transparent; display: grid; place-items: center; color: var(--sd-text-dark); }
.badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--sd-pink); color: var(--sd-black); font-family: var(--sd-font-display); font-size: 11px; font-weight: 600; display: grid; place-items: center; transform: scale(0); transition: transform .35s cubic-bezier(.2,.9,.3,1.5); }
.badge.show { transform: scale(1); }
.badge.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav .pill { min-height: 44px; padding: 0 18px; }
@media (min-width: 960px) { .nav-links { display: flex; } .nav-actions { margin-left: 8px; } }

/* ---------- HERO ---------- */
.hero { position: relative; height: 430vh; --bg: #0E0B0C; --bg2: #3A2019; --ink: #F6E9EA; --word: #F28B97; --ghost: rgba(246,233,234,.06); }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--ink);
  background: radial-gradient(90% 70% at 50% 46%, var(--bg2) 0%, var(--bg) 70%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .glow { position: absolute; left: 50%; top: 58%; width: 70vmin; height: 24vmin; transform: translate(-50%, 0); border-radius: 50%; background: radial-gradient(closest-side, rgba(230,182,90,.14), transparent); }
.grain { position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-ghost { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-ghost span {
  grid-area: 1 / 1; font-family: var(--sd-font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(120px, 28vw, 440px); line-height: .8; color: var(--ghost); letter-spacing: -.03em;
  opacity: 0; transform: translateY(6%) scale(.97); transition: opacity 1s, transform 1.3s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap; margin-top: 20vh;
}
.hero-ghost span.on { opacity: 1; transform: none; }

.hero-word { position: absolute; left: 0; right: 0; top: 31%; transform: translateY(-50%); text-align: center; pointer-events: none; display: grid; place-items: center; z-index: 1; }
.hero-word .word {
  grid-area: 1 / 1; font-family: var(--sd-font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(56px, min(16vw, 26vh), 260px); line-height: .85; letter-spacing: -.02em; color: var(--word); display: flex; white-space: nowrap;
}
.hero-word .word .ch { display: inline-block; transform: translateY(100%); opacity: 0; transition: transform .8s cubic-bezier(.2,.9,.25,1), opacity .5s; transition-delay: calc(var(--i) * 34ms); }
.hero-word .word.on .ch { transform: none; opacity: 1; }
.hero-word .word.out .ch { transform: translateY(-70%); opacity: 0; transition-delay: calc(var(--i) * 16ms); transition-duration: .45s; }

.hero-product { position: absolute; z-index: 2; left: 50%; top: 58%; width: min(46vw, 640px); height: min(70vh, 700px); transform: translate(-50%, -50%); pointer-events: none; }
.hero-product canvas { opacity: 0; transition: opacity .8s; }
.webgl-ready .hero-product canvas { opacity: 1; }
.hero-fallback { position: absolute; z-index: 2; left: 50%; top: 54%; width: min(40vw, 300px); aspect-ratio: 3 / 4; transform: translate(-50%, -50%); display: none; }
.no-webgl .hero-fallback { display: block; }
.hero-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); opacity: 0; transform: scale(.96); transition: opacity .7s, transform .9s; }
.hero-fallback img.on { opacity: 1; transform: none; }

.hero-top { position: absolute; left: 0; right: 0; top: 86px; z-index: 3; display: flex; justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sd-font-display); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--sd-line-dark); color: var(--sd-gold-light); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sd-pink); }

.hero-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chips { position: absolute; inset: 0; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px;
  background: rgba(14,11,12,.78); color: var(--sd-text-dark); border: 1px solid rgba(230,182,90,.35);
  /* no backdrop blur on chips: 12 blurred layers over a WebGL canvas made scrolling janky */
  font-family: var(--sd-font-display); font-size: 14px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .7s cubic-bezier(.2,.9,.3,1.2);
}
.chip b { font-weight: 600; color: var(--sd-gold-light); }
.chips.on .chip { opacity: 1; transform: none; animation: bob 5s ease-in-out infinite; }
.chips.on .c2 { transition-delay: .12s; animation-delay: -1.6s; }
.chips.on .c3 { transition-delay: .24s; animation-delay: -3.2s; }
@keyframes bob { 50% { translate: 0 -6px; } }
.c1 { left: calc(50% + max(150px, 13vw)); top: 36%; }
.c2 { right: calc(50% + max(160px, 13vw)); top: 54%; }
.c3 { left: calc(50% + max(170px, 14vw)); top: 64%; }

.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 16px 26px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.hero-lines { display: grid; max-width: 420px; }
.hero-lines p { grid-area: 1 / 1; font-size: 16px; font-weight: 300; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s; }
.hero-lines p.on { opacity: .85; transform: none; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-progress { display: flex; align-items: center; gap: 10px; font-family: var(--sd-font-display); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--sd-gold-light); }
.hp-bar { width: 90px; height: 1px; background: rgba(230,182,90,.25); overflow: hidden; }
.hp-bar i { display: block; height: 100%; width: 25%; background: var(--sd-gold-light); transition: width .2s; }
.scroll-hint { display: none; }

/* notifications — subtle */
.notif-stack { position: absolute; z-index: 4; right: 28px; top: 100px; width: 260px; display: none; flex-direction: column; gap: 8px; opacity: .82; }
.notif {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 16px;
  background: rgba(23,18,20,.86); color: var(--sd-text-dark); border: 1px solid var(--sd-line-dark);
  font-size: 12px; line-height: 1.35;
  animation: notifIn .7s cubic-bezier(.2,.9,.3,1.1) both;
}
.notif.leave { animation: notifOut .5s ease forwards; }
.notif .ico { width: 26px; height: 26px; border-radius: 8px; background: var(--sd-black); display: grid; place-items: center; overflow: hidden; }
.notif .ico img { width: 24px; }
.notif b { display: block; font-family: var(--sd-font-display); font-weight: 500; font-size: 12.5px; }
.notif time { font-size: 10.5px; color: var(--sd-muted-dark); align-self: start; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-12px); } }
@keyframes notifOut { to { opacity: 0; transform: translateX(20px); } }

@media (max-width: 719px) {
  .hero-word { top: 128px; transform: none; }
  .hero-word .word { font-size: clamp(52px, 18vw, 104px); }
  .hero-ghost span { margin-top: 24vh; font-size: 34vw; }
  .hero-top { top: 84px; }
  .eyebrow { font-size: 10.5px; padding: 6px 12px; }
  .hero-product { width: 100%; height: 56vh; top: 57%; }
  .c1 { left: auto; right: 12px; top: 38%; }
  .c2 { right: auto; left: 12px; top: 50%; }
  .c3 { left: auto; right: 16px; top: 61%; }
  .chip { font-size: 12.5px; padding: 6px 12px; }
  .hero-lines p { font-size: 15px; }
  .hero-fallback { top: 53%; width: 56vw; }
}
@media (min-width: 720px) {
  .hero-top { justify-content: flex-start; left: 40px; top: 100px; }
  .hero-bottom { justify-items: start; text-align: left; padding: 0 40px 36px; grid-template-columns: 1fr auto; align-items: end; }
  .hero-lines { max-width: 360px; }
  .hero-ctas { grid-column: 1; justify-content: flex-start; }
  .hero-progress { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .notif-stack { display: flex; }
  .scroll-hint { display: flex; position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 6px; font-family: var(--sd-font-display); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--sd-muted-dark); }
  .scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--sd-gold-light), transparent); animation: hint 2s infinite; transform-origin: top; }
  @keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
}

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 40px; display: grid; gap: 12px; justify-items: center; }
.sec-head.left { text-align: left; justify-items: start; }
.kicker { font-family: var(--sd-font-display); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sd-gold-light); }
.sec-head h2 { font-size: clamp(32px, 5.4vw, 58px); letter-spacing: -.01em; color: var(--sd-text-dark); }
.heart { color: var(--sd-pink); font-size: .6em; vertical-align: .25em; }
.sec-sub { max-width: 520px; font-size: 16px; font-weight: 300; color: var(--sd-muted-dark); }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .9s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* favorites */
.favs { padding-top: 84px; }
.fav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fav {
  display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px;
  background: var(--sd-black-2); border: 1px solid var(--sd-line-dark); border-radius: 22px; transition: border-color .3s, transform .35s;
}
.fav:hover { border-color: rgba(242,139,151,.5); transform: translateY(-2px); }
.fav .thumb { width: 68px; height: 68px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 60%, #2A1F22, #171214); }
.fav .thumb img, .fav .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.fav .thumb img.cut, .card .media img.cut, .cart-item .thumb img.cut { object-fit: contain; padding: 6%; }
.fav h3 { font-size: 16.5px; font-weight: 500; }
.fav p { font-size: 13px; color: var(--sd-muted-dark); }
.fav .price { font-family: var(--sd-font-display); font-weight: 600; color: var(--sd-gold-light); font-size: 15px; }
.fav-r { display: flex; align-items: center; gap: 10px; }
@media (min-width: 760px) { .fav-list { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.add {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(242,139,151,.6); display: grid; place-items: center; flex-shrink: 0; text-decoration: none;
  background: transparent; color: var(--sd-pink); font-size: 20px; line-height: 1; transition: transform .3s cubic-bezier(.2,.9,.3,1.4), background .2s, color .2s;
}
.add:hover { background: var(--sd-pink); color: var(--sd-black); }
.add:active { transform: scale(.9); }

/* menu */
.menu { background: linear-gradient(180deg, var(--sd-black), #120E10 50%, var(--sd-black)); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 16px 14px; margin: 0 -16px 22px; scrollbar-width: none; scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .tabs { justify-content: center; margin-inline: 0; } }
.tab {
  flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--sd-line-dark);
  background: transparent; padding: 6px 16px 6px 6px; border-radius: 99px; font-family: var(--sd-font-display); font-weight: 500; font-size: 14px; color: var(--sd-muted-dark); transition: all .25s;
}
.tab .tdot { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--sd-black-3); }
.tab .tdot img { width: 100%; height: 100%; object-fit: cover; }
.tab[aria-selected="true"] { background: var(--sd-pink); color: var(--sd-black); border-color: var(--sd-pink); }
.cat-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--sd-line-dark); }
.cat-intro h3 { font-size: clamp(24px, 3.6vw, 32px); }
.cat-intro .from { font-size: 14px; color: var(--sd-muted-dark); }
.cat-intro .from b { font-family: var(--sd-font-display); font-weight: 600; color: var(--sd-gold-light); font-size: 24px; }
.cat-note { width: 100%; font-size: 14px; color: var(--sd-muted-dark); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; background: var(--sd-black-2); border: 1px solid var(--sd-line-dark); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s cubic-bezier(.2,.9,.3,1.1), border-color .3s; animation: cardIn .6s cubic-bezier(.2,.9,.3,1) both; animation-delay: calc(var(--i) * 40ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card:hover { border-color: rgba(242,139,151,.45); }
.card .media { aspect-ratio: 1 / 1.05; position: relative; overflow: hidden; background: radial-gradient(70% 60% at 50% 62%, #2A1F22, #171214); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card:hover .media img { transform: scale(1.04); }
.card .media svg { width: 100%; height: 100%; }
.card .badge-t { position: absolute; left: 10px; top: 10px; font-family: var(--sd-font-display); font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: var(--sd-black); color: var(--sd-pink); border: 1px solid rgba(242,139,151,.45); }
.card .body { padding: 12px 14px 14px; display: grid; gap: 4px; flex: 1; }
.card h4 { font-size: 16px; font-weight: 500; }
.card .desc { font-size: 13px; color: var(--sd-muted-dark); line-height: 1.4; font-weight: 300; }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.card .price { font-family: var(--sd-font-display); font-weight: 600; font-size: 16px; color: var(--sd-gold-light); }
.card .add { width: 34px; height: 34px; font-size: 18px; }
.extras { margin-top: 28px; display: grid; gap: 18px; }
.extras h4 { font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--sd-gold-light); letter-spacing: .06em; }
.flavor-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.flavor-cloud span { font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--sd-line-dark); color: var(--sd-muted-dark); }
.extra-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sd-black-2); border: 1px solid var(--sd-line-dark); border-radius: 18px; padding: 8px 8px 8px 16px; }
.extra-row b { color: var(--sd-gold-light); font-family: var(--sd-font-display); font-weight: 600; }
.pc-sizes { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.pc-size { background: var(--sd-black-2); border: 1px solid var(--sd-line-dark); border-radius: 20px; padding: 18px 10px; text-align: center; }
.pc-size strong { display: block; font-family: var(--sd-font-display); font-weight: 600; font-size: 30px; line-height: 1; }
.pc-size span { font-size: 13px; color: var(--sd-muted-dark); }
.pc-size b { display: block; margin-top: 6px; color: var(--sd-gold-light); font-family: var(--sd-font-display); font-weight: 600; font-size: 19px; }
.pc-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 22px; }
.pc-photos img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (min-width: 760px) { .pc-photos { grid-template-columns: repeat(4, 1fr); } }

/* builder — light blush section for contrast with the black tray */
.builder { background: var(--sd-blush); color: var(--sd-cocoa); }
.builder .sec-head h2 { color: var(--sd-cocoa); }
.builder .kicker { color: var(--sd-gold-dark); }
.builder .sec-sub { color: rgba(59,36,34,.7); }
.b-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .b-grid { grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; } .b-stage { position: sticky; top: 90px; } }
.b-stage { position: relative; height: min(64vh, 540px); min-height: 340px; border-radius: 28px; overflow: hidden; background: #FCEBED; border: 1px solid rgba(201,150,63,.35); }
@media (max-width: 899px) { .b-stage { height: 380px; } }
#plateCanvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.plate-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.no-webgl-plate .plate-fallback { display: block; }
.b-stage-tag { position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.7); border: 1px solid rgba(201,150,63,.35); font-family: var(--sd-font-display); font-weight: 500; font-size: 14px; }
.b-stage-tag span:first-child { color: var(--sd-pink-deep); font-weight: 600; }
.b-stage-hint { position: absolute; right: 16px; bottom: 14px; font-size: 12px; color: rgba(59,36,34,.55); }
.b-controls { display: grid; gap: 12px; }
.b-step { border: 1px solid rgba(201,150,63,.3); margin: 0; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.6); }
.b-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 8px; font-family: var(--sd-font-display); font-weight: 500; font-size: 16px; margin-bottom: 12px; padding: 0; }
.b-step legend .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--sd-black); color: var(--sd-gold-light); font-size: 12px; }
.b-step legend .cnt { margin-left: auto; font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 99px; border: 1px solid rgba(201,150,63,.45); color: var(--sd-gold-dark); }
.b-step legend .cnt.full { background: var(--sd-black); color: var(--sd-gold-light); border-color: var(--sd-black); }
.sizes { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size { border: 1px solid rgba(59,36,34,.14); background: #fff; border-radius: 18px; padding: 12px 6px; text-align: center; display: grid; gap: 2px; color: var(--sd-cocoa); transition: all .25s; }
.size strong { font-family: var(--sd-font-display); font-weight: 600; font-size: 26px; line-height: 1; }
.size span { font-size: 11.5px; color: rgba(59,36,34,.6); }
.size b { color: var(--sd-gold-dark); font-family: var(--sd-font-display); font-weight: 600; font-size: 16px; }
.size[aria-pressed="true"] { background: var(--sd-black); color: var(--sd-text-dark); border-color: var(--sd-black); }
.size[aria-pressed="true"] span { color: var(--sd-muted-dark); }
.size[aria-pressed="true"] b { color: var(--sd-gold-light); }
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(59,36,34,.14); background: #fff; border-radius: 99px; padding: 6px 13px 6px 8px; font-size: 14px; color: var(--sd-cocoa); transition: all .2s; }
.opt i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.opt[aria-pressed="true"] { background: var(--sd-black); color: var(--sd-text-dark); border-color: var(--sd-black); }
.opt[aria-pressed="true"]::after { content: "♥"; font-size: 10px; color: var(--sd-pink); margin-left: 2px; }
.opt.dim { opacity: .45; }
.opt.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon-box { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,.6); border: 1px solid rgba(201,150,63,.3); cursor: pointer; transition: all .25s; }
.addon-box b { font-family: var(--sd-font-display); font-weight: 500; }
.addon-box small { display: block; font-size: 12.5px; color: rgba(59,36,34,.6); }
.addon-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201,150,63,.45); color: var(--sd-gold-dark); }
.addon-price { font-family: var(--sd-font-display); font-weight: 600; color: var(--sd-gold-dark); }
.addon input:checked + .addon-box { border-color: var(--sd-pink); background: #fff; box-shadow: 0 0 0 1px var(--sd-pink) inset; }
.addon input:focus-visible + .addon-box { outline: 2px solid var(--sd-pink); outline-offset: 2px; }
.b-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-radius: 24px; background: var(--sd-black); color: var(--sd-text-dark); position: sticky; bottom: 12px; z-index: 5; border: 1px solid var(--sd-line-dark); }
.b-total small { display: block; font-size: 12px; color: var(--sd-muted-dark); }
.b-total strong { font-family: var(--sd-font-display); font-weight: 600; font-size: 28px; line-height: 1; color: var(--sd-gold-light); }
.b-total strong.pop { animation: bump .45s; display: inline-block; }

/* gallery */
.gallery { background: var(--sd-black); overflow: hidden; }
.g-grid { display: grid; gap: 44px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.g-grid > *, .b-grid > *, .pets-grid > *, .perks-grid > * { min-width: 0; }
@media (min-width: 900px) { .g-grid { grid-template-columns: auto minmax(0, 1fr); gap: 72px; } }
.phone { position: relative; width: min(270px, 70vw); aspect-ratio: 9 / 19.2; margin-inline: auto; border-radius: 44px; padding: 9px; background: #050404; box-shadow: 0 0 0 1px rgba(230,182,90,.5), 0 40px 80px rgba(0,0,0,.5); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #000; }
.phone-notch { position: absolute; z-index: 2; top: 17px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 20px; background: #000; }
.phone-ui { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 26px; display: flex; justify-content: space-between; font-family: var(--sd-font-display); font-size: 12px; font-weight: 500; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.phone-ui .live { background: var(--sd-pink); color: var(--sd-black); padding: 1px 8px; border-radius: 6px; text-shadow: none; letter-spacing: .08em; }
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 12px; margin-top: 28px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { margin: 0; flex: 0 0 min(200px, 46vw); scroll-snap-align: start; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; position: relative; border: 1px solid var(--sd-line-dark); }
.strip figure:nth-child(even) { transform: translateY(16px); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.strip figure:hover img { transform: scale(1.05); }
.strip figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--sd-font-display); font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: rgba(14,11,12,.7); color: var(--sd-text-dark); border: 1px solid var(--sd-line-dark); }

/* pets */
.pets { background: linear-gradient(180deg, var(--sd-black), #150F11); }
.pets-grid { display: grid; gap: 30px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .pets-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.pets-video video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px; border: 1px solid rgba(230,182,90,.4); }
.pets-copy { display: grid; gap: 12px; }
.pets-copy h2 { font-size: clamp(32px, 5.4vw, 54px); }
.pets-copy .paw { font-size: .6em; vertical-align: .2em; }
.pets-copy p:last-child { font-size: 16.5px; font-weight: 300; color: var(--sd-muted-dark); max-width: 440px; }

/* perks */
.perks { background: #150F11; }
.perks-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .perks-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.perk { display: grid; gap: 22px; padding: 28px; border-radius: 28px; text-decoration: none; position: relative; overflow: hidden; border: 1px solid var(--sd-line-dark); background: var(--sd-black-2); transition: transform .45s cubic-bezier(.2,.9,.3,1.1), border-color .3s; }
.perk:hover { transform: translateY(-3px); border-color: rgba(242,139,151,.45); }
.perk h3 { font-size: clamp(24px, 3.2vw, 32px); margin: 8px 0; }
.perk p { color: var(--sd-muted-dark); font-weight: 300; }
.perk-loyal { background: radial-gradient(120% 90% at 100% 0%, rgba(242,139,151,.16), transparent 60%), var(--sd-black-2); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 320px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(230,182,90,.4); display: grid; place-items: center; font-style: normal; }
.stamps i.on { border: 1px solid rgba(242,139,151,.6); background: rgba(242,139,151,.1); }
.stamps i.on::before { content: "♥"; color: var(--sd-pink); font-size: 18px; }
.stamps i.gift { border: 1px solid var(--sd-gold-light); }
.stamps i.gift::before { content: "★"; color: var(--sd-gold-light); font-size: 16px; }
.perk-link { font-family: var(--sd-font-display); font-weight: 500; display: inline-flex; gap: 6px; margin-top: 10px; color: var(--sd-pink); }
.perk-nfc { grid-template-columns: 1fr; }
@media (min-width: 560px) { .perk-nfc { grid-template-columns: 160px 1fr; align-items: center; } }
.nfc-art { position: relative; height: 170px; display: grid; place-items: center; }
.nfc-card { width: 112px; height: 150px; border-radius: 16px; background: var(--sd-black); border: 1px solid rgba(230,182,90,.55); display: grid; place-items: center; align-content: center; gap: 8px; transform: rotate(-8deg); box-shadow: 0 20px 40px rgba(0,0,0,.45); animation: tilt 5s ease-in-out infinite; }
.nfc-card img { width: 72px; }
.nfc-card span { font-family: var(--sd-font-display); font-size: 10px; font-weight: 600; letter-spacing: .3em; color: var(--sd-gold-light); }
@keyframes tilt { 50% { transform: rotate(-4deg) translateY(-5px); } }
.nfc-waves { position: absolute; right: 22px; top: 16px; }
.nfc-waves i { position: absolute; width: 26px; height: 26px; border: 1.5px solid var(--sd-pink); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(45deg); animation: wave 1.8s infinite; opacity: 0; }
.nfc-waves i:nth-child(2) { width: 40px; height: 40px; margin: -7px; animation-delay: .25s; }
.nfc-waves i:nth-child(3) { width: 54px; height: 54px; margin: -14px; animation-delay: .5s; }
@keyframes wave { 30% { opacity: 1; } 100% { opacity: 0; } }

/* footer */
.foot { background: var(--sd-black); padding: 64px 0 28px; border-top: 1px solid var(--sd-line-dark); }
.foot-grid { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; color: var(--sd-muted-dark); font-weight: 300; }
.foot-brand img { width: 96px; height: 96px; object-fit: contain; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.foot h4 { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sd-gold-light); margin-bottom: 8px; }
.foot p { font-size: 15px; }
.foot .ig { font-family: var(--sd-font-display); font-weight: 500; color: var(--sd-pink); text-decoration: none; }
.foot-time { font-family: var(--sd-font-display); font-weight: 600; font-size: 20px !important; color: var(--sd-pink); }
.foot-link { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--sd-gold-light); text-decoration: none; border-bottom: 1px solid var(--sd-line-dark); }
.foot-link:hover { color: var(--sd-pink); border-color: var(--sd-pink); }
.socials { display: grid; gap: 10px; }
.social { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  color: var(--sd-text-dark); border: 1px solid var(--sd-line-dark); transition: background .25s, border-color .25s, transform .25s; }
.social svg { width: 22px; height: 22px; flex: none; color: var(--sd-pink); }
.social span { display: flex; flex-direction: column; line-height: 1.15; font-size: 13px; color: var(--sd-muted-dark); }
.social b { font-family: var(--sd-font-display); font-weight: 600; font-size: 15px; color: var(--sd-text-dark); }
.social:hover { background: var(--sd-pink); border-color: var(--sd-pink); transform: translateY(-2px); }
.social:hover svg, .social:hover span, .social:hover b { color: var(--sd-black); }
.foot-legal { text-align: center; font-size: 12.5px; color: var(--sd-muted-dark); margin-top: 44px; padding: 0 16px; }

/* cart */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.scrim.show { opacity: 1; }
.cart {
  position: fixed; z-index: 61; top: 10px; right: 10px; bottom: 10px; width: min(400px, calc(100% - 20px)); border-radius: 28px;
  background: rgba(23,18,20,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--sd-line-dark);
  display: flex; flex-direction: column; transform: translateX(110%); transition: transform .5s cubic-bezier(.2,.9,.25,1);
}
.cart.open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 10px; }
.cart-head h3 { font-size: 24px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sd-line-dark); background: transparent; color: var(--sd-text-dark); }
.cart-list { list-style: none; margin: 0; padding: 6px 16px; overflow-y: auto; flex: 1; display: grid; align-content: start; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; background: var(--sd-black-3); border-radius: 18px; padding: 8px 10px 8px 8px; animation: cardIn .4s both; }
.cart-item .thumb { width: 54px; height: 54px; border-radius: 12px; overflow: hidden; background: #171214; }
.cart-item .thumb img, .cart-item .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.cart-item h5 { margin: 0; font-family: var(--sd-font-display); font-size: 15px; font-weight: 500; }
.cart-item small { display: block; font-size: 12px; color: var(--sd-muted-dark); line-height: 1.3; }
.cart-item small b { color: var(--sd-gold-light); font-weight: 500; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--sd-line-dark); background: transparent; }
.qty span { min-width: 16px; text-align: center; font-family: var(--sd-font-display); font-weight: 500; }
.cart-empty { flex: 1; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; color: var(--sd-muted-dark); }
.cart-empty[hidden] { display: none; }
.empty-heart { font-size: 40px; color: var(--sd-pink); }
.cart-foot { padding: 16px 20px 20px; display: grid; gap: 12px; border-top: 1px solid var(--sd-line-dark); }
.pickup { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.pickup select { font: inherit; border: 1px solid var(--sd-line-dark); border-radius: 12px; padding: 6px 10px; background: var(--sd-black); color: var(--sd-text-dark); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--sd-font-display); font-weight: 500; }
.cart-total strong { font-size: 28px; font-weight: 600; color: var(--sd-gold-light); }

/* toasts */
.toast-zone { position: fixed; z-index: 80; top: 84px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; width: min(420px, calc(100% - 24px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 20px; width: max-content; max-width: 100%;
  background: rgba(23,18,20,.78); border: 1px solid var(--sd-line-dark); color: var(--sd-text-dark);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 18px 40px rgba(0,0,0,.4); animation: notifIn .6s cubic-bezier(.2,.9,.3,1.2) both; font-size: 14px;
}
.toast b { font-family: var(--sd-font-display); font-weight: 500; }
.toast.big { padding: 14px 22px 14px 14px; }
.toast.big b { font-size: 17px; }
.toast .t-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; border: 1px solid rgba(242,139,151,.6); color: var(--sd-pink); flex-shrink: 0; }
.toast.big .t-ico { background: var(--sd-pink); color: var(--sd-black); border-color: var(--sd-pink); font-weight: 700; }
.toast small { display: block; color: var(--sd-muted-dark); font-size: 12.5px; }
.toast.leave { animation: notifOut .45s forwards; }

/* particles — small doses */
.fx { position: fixed; z-index: 90; left: 0; top: 0; pointer-events: none; will-change: transform, opacity; }
.fx-spark { width: 8px; height: 8px; background: var(--c); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.fx-heart { font-size: 16px; color: var(--sd-pink); line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* very short viewports (landscape phones, tiny panes): keep the hero composition readable */
@media (max-height: 560px) {
  .hero-sticky { min-height: 560px; }
  .notif-stack, .scroll-hint { display: none; }
}

/* ---------- QA round: anchors, sold out, pickup form, demo tags, lightbox ---------- */
section[id], [id="top"] { scroll-margin-top: 88px; }
.sold-tag { display: inline-block; font-family: var(--sd-font-display); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; border-radius: 99px; background: var(--sd-black); color: var(--sd-pink); border: 1px solid rgba(242,139,151,.6); }
.card .media .sold-tag { position: absolute; left: 10px; top: 10px; }
.card.is-sold .media img, .card.is-sold .media svg, .fav.is-sold .thumb > * { filter: grayscale(.85); opacity: .5; }
.card.is-sold h4, .fav.is-sold h3 { color: var(--sd-muted-dark); }
.add[aria-disabled="true"] { opacity: .35; cursor: not-allowed; border-style: dashed; }
.add[aria-disabled="true"]:hover { background: transparent; color: var(--sd-pink); }
.extra-row.is-sold > span { color: var(--sd-muted-dark); }
.pc-size.is-sold { opacity: .55; }
.pc-size .sold-tag { margin-top: 6px; }
.size:disabled, .size.is-sold { opacity: .45; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(59,36,34,.35); }
.opt:disabled, .opt.is-sold { opacity: .45; cursor: not-allowed; }
.opt.is-sold small { font-size: 11px; color: var(--sd-pink-deep); }
.addon.is-sold .addon-box { opacity: .5; cursor: not-allowed; }
.addon.is-sold .addon-price { color: var(--sd-pink-deep); font-size: 13px; }
#bAdd:disabled, #checkout:disabled { opacity: .45; cursor: not-allowed; }
.cart-item.is-sold { box-shadow: inset 0 0 0 1px rgba(242,139,151,.55); }
.cart-item.is-sold .thumb { opacity: .5; filter: grayscale(.8); }
.cart-item .sold-tag { margin: 2px 0; }
.rm { font: 500 12px var(--sd-font-display); padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(242,139,151,.6); background: transparent; color: var(--sd-pink); width: auto !important; height: auto !important; }
.pickup-fields { display: grid; gap: 8px; }
.field { display: grid; gap: 4px; font-size: 13px; color: var(--sd-muted-dark); }
.field input { font: 400 15px var(--sd-font-body); color: var(--sd-text-dark); background: var(--sd-black); border: 1px solid var(--sd-line-dark); border-radius: 12px; padding: 9px 12px; }
.field input:focus { outline: none; border-color: var(--sd-pink); }
.field input[aria-invalid="true"] { border-color: var(--sd-pink-deep); }
.cart-err { font-size: 13px; color: var(--sd-pink-soft); background: rgba(224,100,120,.12); border: 1px solid rgba(224,100,120,.4); border-radius: 12px; padding: 8px 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cart-err[hidden] { display: none; }
.demo-tag { font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sd-black); background: var(--sd-gold-light); border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
/* gallery thumbs are buttons now */
.strip-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.strip-open:focus-visible { outline: 2px solid var(--sd-pink); outline-offset: -4px; border-radius: 22px; }
.strip figcaption { pointer-events: none; }
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(8,6,7,.92); }
.lb-fig { position: relative; margin: 0; max-width: min(92vw, 720px); max-height: 86vh; display: grid; gap: 10px; justify-items: center; touch-action: pan-y; }
.lb-fig img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 18px; border: 1px solid var(--sd-line-dark); user-select: none; -webkit-user-drag: none; }
.lb-fig figcaption { font-family: var(--sd-font-display); color: var(--sd-text-dark); font-size: 15px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--sd-line-dark); background: rgba(14,11,12,.8); color: var(--sd-text-dark); font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { border-color: var(--sd-pink); color: var(--sd-pink); }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; font-size: 18px; }
.lb-count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-family: var(--sd-font-display); font-size: 12px; letter-spacing: .12em; color: var(--sd-gold-light); }
body.lb-open { overflow: hidden; }
.chip.is-sold { opacity: .7; } .chip.is-sold b { color: var(--sd-pink); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }

/* celular: sin zoom de iPhone al escribir (>=16px) y botones del tamaño de un dedo (>=40px) */
@media (max-width: 760px), (pointer: coarse) {
  .field input, .pickup select { font-size: 16px; }
  .qty button { width: 40px; height: 40px; }
  .lang button { padding: 10px 12px; min-height: 40px; }
  .foot-link { display: inline-block; padding: 10px 0; }
}
