/* =========================================================
   SORVETERIA MARIA — ESTILO
   ========================================================= */
:root {
  --purple: #5b168f;
  --purple-2: #7a2cc4;
  --purple-ink: #2b0b45;
  --pink: #ff0a84;
  --pink-2: #ff4fa6;
  --pink-soft: #ffe1ef;
  --yellow: #fff205;
  --yellow-2: #ffd21f;
  --cream: #fff9f1;
  --paper: #ffffff;
  --ink: #2b0b45;
  --muted: #7b6890;
  --line: #f0e3f3;
  --wa: #1fae55;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px -20px rgba(91, 22, 143, .35);
  --shadow-sm: 0 6px 18px -8px rgba(91, 22, 143, .3);
  --font-display: 'Fredoka', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --top-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 10px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 0; border-radius: 999px; padding: .8em 1.35em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { font-size: 1.08rem; padding: .95em 1.6em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 10, 132, .8); }
.btn-primary:hover { background: #f0007a; }
.btn-primary:disabled { background: #e8c9dc; box-shadow: none; cursor: not-allowed; }
.btn-yellow { background: var(--yellow); color: var(--purple); box-shadow: 0 10px 26px -10px rgba(255, 242, 5, .7); }
.btn-yellow:hover { background: #fff84d; transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost { background: var(--pink-soft); color: var(--purple); }
.btn-ghost:hover { background: #ffd2e8; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(31, 174, 85, .9); }
.btn-wa:hover { background: #18994a; }
.btn-wa:disabled { background: #b9d9c5; box-shadow: none; cursor: not-allowed; }
.btn.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 10, 132, .55); } 50% { box-shadow: 0 0 0 12px rgba(255, 10, 132, 0); } }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); color: var(--purple); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.icon-btn svg { width: 22px; height: 22px; }
.link-btn { border: 0; background: none; color: var(--pink); font-weight: 800; font-size: .88rem; padding: 4px 2px; }
.link-btn:hover { text-decoration: underline; }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--yellow);
  background: rgba(255, 255, 255, .1); padding: .45em .9em; border-radius: 999px;
}
.eyebrow.dark { color: var(--pink); background: var(--pink-soft); }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--top-h);
  display: flex; align-items: center; gap: 18px; padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(91, 22, 143, .94); color: #fff; backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .5);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--yellow); }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.brand-name b { color: var(--yellow); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: .5em .9em; border-radius: 999px; opacity: .9; }
.nav a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; padding: .45em .8em; border-radius: 999px; background: rgba(255, 255, 255, .12); white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #ffb3c8; }
.status.open i { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.bag-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0;
  background: var(--yellow); color: var(--purple); font-family: var(--font-display); font-weight: 600;
  padding: .55em 1em; border-radius: 999px;
}
.bag-btn svg { width: 20px; height: 20px; }
.bag-count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.bag-btn.bump, .bag-fab.bump { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255, 10, 132, .45), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(255, 242, 5, .14), transparent 60%),
    repeating-radial-gradient(circle at 70% 40%, rgba(255, 255, 255, .035) 0 22px, transparent 22px 46px),
    var(--purple);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 40px) clamp(80px, 10vw, 130px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; margin: 18px 0 18px; }
.hero .hl { color: var(--yellow); display: inline-block; position: relative; }
.hero .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .05em; height: .18em; background: var(--pink); border-radius: 99px; z-index: -1; opacity: .9; }
.hero h1 { position: relative; z-index: 1; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.55; opacity: .92; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.hero-steps li { display: flex; align-items: center; gap: 10px; font-weight: 800; line-height: 1.15; }
.hero-steps small { font-weight: 600; opacity: .75; }
.hero-steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--purple); font-family: var(--font-display); flex: none; }
.hero-art { position: relative; height: 480px; }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 10px 10px 34px; border-radius: 18px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); }
.polaroid img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; }
.p1 { width: 230px; height: 320px; left: 2%; top: 60px; transform: rotate(-9deg); }
.p2 { width: 250px; height: 340px; left: 32%; top: 0; transform: rotate(4deg); z-index: 2; }
.p3 { width: 220px; height: 300px; right: 0; top: 130px; transform: rotate(10deg); }
.hero-logo { position: absolute; width: 130px; height: 130px; border-radius: 50%; object-fit: cover; left: 18%; bottom: 0; z-index: 3; box-shadow: 0 0 0 6px var(--yellow), 0 20px 40px -15px rgba(0, 0, 0, .6); animation: float 5s ease-in-out infinite; }
.sticker { position: absolute; right: 6%; bottom: 10px; z-index: 3; background: var(--yellow); color: var(--purple); font-family: var(--font-display); font-weight: 700; text-align: center; line-height: 1.05; padding: 18px 16px; border-radius: 50%; transform: rotate(-12deg); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--cream); }

/* ---------- seções ---------- */
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; padding: 0 16px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 14px 0 12px; color: var(--purple); }
.section-head p { color: var(--muted); font-size: 1.08rem; line-height: 1.55; }

/* ---------- montador ---------- */
.builder { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px); }
.game {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 420px;
  height: clamp(620px, calc(100dvh - var(--top-h) - 40px), 860px);
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.stage {
  position: relative; overflow: hidden; touch-action: pan-y;
  background:
    radial-gradient(circle at 50% 38%, #fffdf4 0, #fff3c9 34%, #ffd6ea 78%, #ffc4e1 100%);
}
.stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(255, 10, 132, .16) 2px, transparent 2.5px), radial-gradient(rgba(91, 22, 143, .1) 2px, transparent 2.5px);
  background-size: 44px 44px, 44px 44px; background-position: 0 0, 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent 30%, #000 85%);
  mask-image: radial-gradient(circle at 50% 45%, transparent 30%, #000 85%);
}
#stage3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hud { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none; }
.hud > * { pointer-events: auto; }
.steps { list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; background: rgba(255, 255, 255, .82); border-radius: 999px; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.steps li { display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; font-weight: 800; font-size: .85rem; color: var(--muted); transition: background .25s, color .25s; user-select: none; }
.steps li b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-family: var(--font-display); font-size: .85rem; transition: background .25s, color .25s; }
.steps li.done { color: var(--purple); cursor: pointer; }
.steps li.done b { background: var(--yellow); color: var(--purple); }
.steps li.active { background: var(--purple); color: #fff; }
.steps li.active b { background: var(--pink); color: #fff; }
.icon-btn .off { display: none; }
.icon-btn[aria-pressed="false"] .on { display: none; }
.icon-btn[aria-pressed="false"] .off { display: block; }

.meters { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.meter { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .88); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.meter small { font-weight: 800; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.meter strong { font-family: var(--font-display); color: var(--purple); }
.dots { display: flex; gap: 5px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--line); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .06); transition: background .3s, transform .3s; }
.dots i.on { transform: scale(1.08); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), 0 0 0 2px #fff; }
.meter.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.cup-labels { position: absolute; inset: 0; pointer-events: none; }
.cup-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, 6px); pointer-events: auto;
  border: 0; background: #fff; color: var(--purple); border-radius: 14px; padding: 5px 11px 6px; text-align: center;
  box-shadow: var(--shadow-sm); font-family: var(--font-display); line-height: 1.05; transition: background .2s, color .2s, opacity .2s;
  white-space: nowrap; will-change: transform;
}
.cup-label b { display: block; font-size: 1.02rem; font-weight: 700; }
.cup-label small { font-family: var(--font-body); font-weight: 800; font-size: .74rem; color: var(--pink); }
.cup-label.sel { background: var(--purple); color: #fff; }
.cup-label.sel small { color: var(--yellow); }

.stage-hint, .drop-hint {
  position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none;
  font-weight: 800; font-size: .88rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  transition: opacity .3s, transform .3s;
}
.stage-hint { bottom: 16px; background: rgba(43, 11, 69, .78); color: #fff; }
.stage-hint.hide { opacity: 0; }
.drop-hint { top: 76px; background: var(--pink); color: #fff; opacity: 0; transform: translate(-50%, -8px); box-shadow: 0 10px 24px -10px rgba(255, 10, 132, .9); }
.drop-hint.show { opacity: 1; transform: translate(-50%, 0); }

.loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font-weight: 800; color: var(--purple); background: radial-gradient(circle, #fffdf4, #ffd6ea); transition: opacity .5s; z-index: 5; }
.loader.done { opacity: 0; pointer-events: none; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--pink-soft); border-top-color: var(--pink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* copo 2D (quando o 3D não está disponível) */
.fallback-cup { position: absolute; inset: 0; display: grid; place-items: center; }
.fb-wrap { display: grid; justify-items: center; }
.fb-scoops { display: flex; flex-wrap: wrap-reverse; justify-content: center; width: 170px; margin-bottom: -26px; position: relative; z-index: 1; }
.fb-scoops i { width: 78px; height: 78px; border-radius: 50%; margin: -12px -6px; box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .08), inset 6px 8px 0 rgba(255, 255, 255, .35); }
.fb-cup { width: 150px; height: 150px; background: linear-gradient(var(--pink-2), var(--pink)); clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%); display: grid; place-items: center; color: var(--yellow); font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; border-top: 8px solid var(--yellow); }
.fb-note { margin-top: 18px; font-size: .85rem; color: var(--muted); font-weight: 700; text-align: center; max-width: 260px; }

/* painel */
.panel { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); background: var(--paper); }
.panel-body { flex: 1; overflow-y: auto; padding: 24px 22px 18px; overscroll-behavior: contain; }
.pstep h3 { font-size: 1.45rem; color: var(--purple); }
.pstep-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.muted { color: var(--muted); margin: 6px 0 16px; font-size: .95rem; line-height: 1.45; }
.panel-foot { display: flex; align-items: center; gap: 10px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.price { margin-right: auto; display: grid; line-height: 1.1; }
.price small { color: var(--muted); font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.price strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--purple); }
.price strong.tick { animation: bump .4s; }

.sizes { display: grid; gap: 10px; }
.size {
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; text-align: left;
  border: 2px solid var(--line); background: #fff; border-radius: 18px; padding: 12px 16px 12px 12px;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.size:hover { border-color: #f6c3dd; transform: translateY(-1px); }
.size.sel { border-color: var(--pink); background: #fff5fa; box-shadow: 0 10px 24px -14px rgba(255, 10, 132, .7); }
.size-ico { display: grid; place-items: end center; height: 50px; }
.size-ico i { display: block; background: linear-gradient(var(--pink-2), var(--pink)); clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%); border-top: 4px solid var(--yellow); }
.size b { font-family: var(--font-display); font-size: 1.2rem; color: var(--purple); display: block; }
.size small { color: var(--muted); font-weight: 700; font-size: .84rem; }
.size .val { font-family: var(--font-display); font-weight: 700; color: var(--pink); font-size: 1.1rem; }

.chosen { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 4px; border-radius: 999px; background: var(--pink-soft); font-weight: 800; font-size: .82rem; color: var(--purple); animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.chip i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.chip button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; color: var(--pink); font-weight: 800; line-height: 1; display: grid; place-items: center; padding: 0; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.palette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.group-title { font-family: var(--font-display); font-weight: 600; color: var(--purple); font-size: 1rem; margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.group-title::after { content: ''; flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.group-title:first-child { margin-top: 0; }
.card {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 6px 10px;
  border: 2px solid var(--line); border-radius: 18px; background: #fff; text-align: center;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab;
  transition: border-color .2s, transform .15s, box-shadow .2s, opacity .2s;
}
.card:hover { border-color: #f6c3dd; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card:active { cursor: grabbing; }
.card .thumb { width: 72px; height: 72px; display: grid; place-items: center; pointer-events: none; }
.card .thumb img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(91, 22, 143, .18)); }
.card .ball { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .1), inset 5px 6px 0 rgba(255, 255, 255, .4); }
.card .name { font-weight: 800; font-size: .82rem; line-height: 1.15; color: var(--ink); }
.card .tag { font-size: .7rem; font-weight: 800; color: var(--pink); }
.card.sel { border-color: var(--pink); background: #fff5fa; }
.card.sel::after { content: '✓'; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.card.dim { opacity: .45; }
.card.lifting { transform: scale(.94); }

.drag-ghost { position: fixed; left: 0; top: 0; width: 96px; height: 96px; pointer-events: none; z-index: 100; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(91, 22, 143, .35)); will-change: transform; }
.drag-ghost.round { border-radius: 50%; }

.review { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin: 14px 0 18px; }
.review-shot { aspect-ratio: 1; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #fffdf4, #ffd6ea); overflow: hidden; }
.review-shot img { width: 100%; height: 100%; object-fit: cover; }
.review-info h4 { font-family: var(--font-display); font-size: 1.25rem; color: var(--purple); margin: 0 0 8px; }
.review-info dl { margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.review-info dt { font-weight: 800; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.review-info dd { margin: 0; font-weight: 700; line-height: 1.35; }
.breakdown { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .85rem; display: grid; gap: 3px; color: var(--muted); font-weight: 700; }
.breakdown div { display: flex; justify-content: space-between; gap: 8px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 800; font-size: .88rem; color: var(--purple); }
.field small { color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 10, 132, .12); }
.field.invalid input { border-color: #e5484d; }
.qty-row { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--purple); }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--pink-soft); border-radius: 999px; padding: 4px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--pink); font-size: 1.2rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.qty output { min-width: 30px; text-align: center; font-family: var(--font-display); font-size: 1.1rem; }
.qty.sm button { width: 28px; height: 28px; font-size: 1rem; }
.qty.sm output { min-width: 22px; font-size: .95rem; }

/* ---------- momentos ---------- */
.moments { padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 40px); background: #fff; }
.gallery { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:nth-child(odd) { transform: translateY(18px); }
.center { text-align: center; margin-top: 46px; }

/* ---------- visite ---------- */
.visit { padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 40px); }
.visit-card {
  max-width: 1100px; margin: 0 auto; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); color: #fff;
  background: radial-gradient(700px 400px at 100% 0, rgba(255, 10, 132, .5), transparent 60%), var(--purple);
  box-shadow: var(--shadow);
}
.visit-brand { display: flex; gap: 24px; align-items: center; margin-bottom: 30px; }
.visit-brand img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--yellow); flex: none; }
.visit-brand h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--yellow); margin-bottom: 8px; }
.visit-brand p { opacity: .9; line-height: 1.5; max-width: 38em; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.info { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .1); text-decoration: none; transition: background .2s; }
a.info:hover { background: rgba(255, 255, 255, .18); }
.info svg { width: 26px; height: 26px; color: var(--yellow); flex: none; margin-top: 2px; }
.info small { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; opacity: .7; margin-bottom: 3px; }
.info b { font-weight: 700; line-height: 1.4; }
.footer { text-align: center; padding: 26px 16px 40px; color: var(--muted); font-size: .88rem; font-weight: 700; }

/* ---------- sacola ---------- */
.scrim { position: fixed; inset: 0; background: rgba(43, 11, 69, .45); z-index: 60; backdrop-filter: blur(2px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); z-index: 70; background: var(--cream);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .38s cubic-bezier(.2, .9, .25, 1);
  box-shadow: -20px 0 60px -20px rgba(43, 11, 69, .4);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--purple); color: #fff; }
.drawer-head h2 { font-size: 1.5rem; }
.drawer-head .icon-btn { background: rgba(255, 255, 255, .15); color: #fff; box-shadow: none; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; overscroll-behavior: contain; }
.bag-items { display: grid; gap: 12px; }
.bag-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow-sm); animation: pop .35s ease; }
.bag-item img { width: 76px; height: 76px; border-radius: 14px; background: radial-gradient(circle, #fffdf4, #ffd6ea); object-fit: cover; }
.bag-item h4 { margin: 2px 0 4px; font-family: var(--font-display); color: var(--purple); font-size: 1.05rem; }
.bag-item p { font-size: .82rem; color: var(--muted); font-weight: 700; line-height: 1.35; }
.bag-item .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.bag-item .row strong { font-family: var(--font-display); color: var(--pink); }
.bag-item .rm { border: 0; background: none; color: var(--muted); font-weight: 800; font-size: .8rem; padding: 4px; }
.bag-item .rm:hover { color: #e5484d; }
.bag-empty { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 40px 10px; color: var(--muted); }
.bag-empty img { border-radius: 50%; box-shadow: 0 0 0 4px var(--yellow); }
.checkout { margin-top: 24px; }
.checkout h3 { font-size: 1.25rem; color: var(--purple); margin-bottom: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg3 { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 8px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-weight: 800; color: var(--purple); cursor: pointer; transition: all .2s; }
.seg input:checked + span { border-color: var(--pink); background: #fff5fa; color: var(--pink); }
.seg input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.seg.invalid span { border-color: #f4a3a6; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.totals { margin: 0 0 12px; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; font-weight: 700; color: var(--muted); }
.totals dd { margin: 0; }
.totals .grand { color: var(--purple); font-family: var(--font-display); font-size: 1.3rem; margin-top: 4px; }
.fine { text-align: center; font-size: .78rem; color: var(--muted); font-weight: 700; margin-top: 8px; }
.closed-note { background: #fff4d6; color: #7a5600; border-radius: 14px; padding: 10px 12px; font-size: .84rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }

.bag-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(255, 10, 132, .9); }
.bag-fab svg { width: 26px; height: 26px; }
.bag-fab span { position: absolute; top: -2px; right: -2px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--yellow); color: var(--purple); font-weight: 800; font-size: .8rem; display: grid; place-items: center; padding: 0 6px; }

/* ---------- modais e toast ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(43, 11, 69, .5); backdrop-filter: blur(3px); animation: fade .25s; }
.modal-card { width: min(400px, 100%); background: #fff; border-radius: 28px; padding: 26px 22px 22px; text-align: center; box-shadow: var(--shadow); animation: pop .4s cubic-bezier(.3, 1.5, .5, 1); }
.modal-card img { width: 150px; height: 150px; margin: -6px auto 8px; border-radius: 24px; background: radial-gradient(circle, #fffdf4, #ffd6ea); }
.modal-card h3 { color: var(--purple); font-size: 1.6rem; margin-bottom: 8px; }
.modal-card p { color: var(--muted); line-height: 1.5; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.modal-actions .btn { white-space: normal; padding-inline: .8em; }
.big-check { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: var(--wa); color: #fff; font-size: 2.2rem; display: grid; place-items: center; font-weight: 800; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 20px);
  background: var(--purple-ink); color: #fff; padding: 12px 18px; border-radius: 16px; font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.spark { position: fixed; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index: 95; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .game { grid-template-columns: minmax(0, 1fr) 370px; }
  .palette { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .status { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
  .p1 { width: 170px; height: 240px; }
  .p2 { width: 190px; height: 260px; }
  .p3 { width: 160px; height: 230px; top: 100px; }
  .hero-logo { width: 100px; height: 100px; }
  .builder { padding: 40px 0 0; }
  .builder .section-head { margin-bottom: 20px; }
  .game {
    grid-template-columns: 1fr; grid-template-rows: minmax(280px, 52%) minmax(0, 1fr);
    height: calc(100dvh - var(--top-h)); border-radius: 0; box-shadow: none;
  }
  .panel { border-left: 0; border-top: 1px solid var(--line); border-radius: 26px 26px 0 0; margin-top: -24px; position: relative; z-index: 2; box-shadow: 0 -12px 30px -18px rgba(91, 22, 143, .35); }
  .panel-body { padding: 18px 16px 12px; }
  .pstep h3 { font-size: 1.25rem; }
  .muted { margin: 4px 0 12px; font-size: .88rem; }
  .palette { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .card { padding: 8px 4px; border-radius: 16px; }
  .card .thumb, .card .thumb img { width: 58px; height: 58px; }
  .card .name { font-size: .74rem; }
  .meters { bottom: 34px; left: 12px; }
  .stage-hint { bottom: 36px; }
  .hud { top: 12px; left: 12px; right: 12px; }
  .steps li span { display: none; }
  .steps li { padding: 4px; }
  .steps li.active span { display: inline; }
  .steps li.active { padding-right: 12px; }
  .sizes { grid-template-columns: 1fr; gap: 8px; }
  .size { padding: 8px 14px 8px 8px; grid-template-columns: 44px 1fr auto; }
  .size-ico { height: 40px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
  .review { grid-template-columns: 120px 1fr; }
}
@media (max-width: 560px) {
  :root { --top-h: 60px; }
  .topbar { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { display: none; }
  .bag-label { display: none; }
  .hero-steps { flex-direction: column; }
  .hero-cta .btn { flex: 1; }
  .hero-art { height: 300px; }
  .p1 { width: 140px; height: 200px; left: 0; top: 40px; }
  .p2 { width: 160px; height: 220px; left: 28%; }
  .p3 { width: 135px; height: 190px; top: 90px; }
  .sticker { padding: 14px 12px; font-size: .85rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .visit-brand { flex-direction: column; text-align: center; }
  .price strong { font-size: 1.3rem; }
  .panel-foot .btn { padding: .75em 1.05em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.game { scroll-margin-top: calc(var(--top-h) + 20px); }
@media (max-width: 900px) { .game { scroll-margin-top: var(--top-h); } }
@media (max-width: 900px) {
  .stage-hint { bottom: auto; top: 64px; font-size: .8rem; }
  .drop-hint { top: 64px; }
}
@media (max-width: 900px) {
  .stage[data-step="1"] .stage-hint { top: auto; bottom: 36px; }
}

/* ===== App da Maria: promoção do picolé e campos novos ===== */
.app-promo { display: flex; align-items: center; gap: 12px; margin: 18px 0 24px; width: 100%; max-width: 460px; padding: 12px 14px; border: 0; border-radius: 18px; background: #fff; color: var(--purple-ink); font: inherit; text-align: left; box-shadow: var(--shadow-sm); cursor: pointer; }
.app-promo[hidden] { display: none; }
.app-promo.on { cursor: default; background: var(--yellow); }
.app-promo-ico { font-size: 28px; line-height: 1; }
.app-promo b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--purple); }
.app-promo small { display: block; font-weight: 700; color: var(--muted); }
.app-promo.on small { color: var(--purple-ink); }
.app-promo > span:nth-child(2) { flex: 1; }
.app-promo-cta { background: var(--pink); color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 999px; }
.picole-box { background: var(--yellow); border-radius: 18px; padding: 12px 14px; margin-bottom: 14px; }
.picole-box p { margin: 0 0 10px; color: var(--purple-ink); font-weight: 700; }
.picole-box .seg.invalid { outline: 2px solid #e5484d; border-radius: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: -2px 0 14px; font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--purple); flex: none; }

/* ===== Botão de localização na entrega ===== */
.loc-btn { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 14px; padding: 12px 14px; border: 2px dashed var(--purple-2); border-radius: 18px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.loc-btn b { display: block; color: var(--purple); font-weight: 800; }
.loc-btn small { display: block; color: var(--muted); font-weight: 700; font-size: .82rem; }
.loc-btn .loc-ico { font-size: 24px; }
.loc-btn.busy { opacity: .7; }
.loc-btn.ok { border-style: solid; border-color: var(--wa); background: #eafaf0; }
.loc-btn.ok b { color: #13803e; }

/* ===== Acompanhamento do pedido ===== */
.track { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(43, 11, 69, .55); backdrop-filter: blur(4px); animation: fade .25s; overflow-y: auto; }
.track[hidden] { display: none; }
.track-card { width: min(430px, 100%); background: #fff; border-radius: 28px; padding: 18px 18px 16px; box-shadow: var(--shadow); animation: pop .4s cubic-bezier(.3, 1.5, .5, 1); }
.track-top { display: flex; align-items: center; gap: 12px; }
.track-top img { width: 52px; height: 52px; border-radius: 50%; }
.track-top div { flex: 1; }
.track-top small { display: block; color: var(--muted); font-weight: 700; font-size: .8rem; }
.track-top b { font-family: var(--font-display); font-size: 1.5rem; color: var(--purple); letter-spacing: .5px; }
.track-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--pink-soft); color: var(--purple); font-size: 1rem; cursor: pointer; }
.track-hero { text-align: center; padding: 14px 6px 6px; }
.track-emoji { font-size: 58px; line-height: 1; animation: balanca-t 1.6s ease-in-out infinite alternate; }
@keyframes balanca-t { from { transform: rotate(-6deg) scale(1); } to { transform: rotate(6deg) scale(1.06); } }
.track-hero h3 { color: var(--purple); font-size: 1.5rem; margin: 10px 0 6px; }
.track-hero p { color: var(--muted); line-height: 1.45; margin: 0; }
.track-steps { list-style: none; margin: 16px 0 12px; padding: 0; display: grid; gap: 0; }
.track-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 4px 8px 0; color: #b9aec4; font-weight: 700; }
.track-steps li span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #f3eef7; font-size: 18px; filter: grayscale(1); opacity: .6; position: relative; z-index: 1; }
.track-steps li:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 44px; width: 3px; height: calc(100% - 34px); background: #eee6f4; border-radius: 3px; }
.track-steps li.feito { color: var(--ink); }
.track-steps li.feito span { background: #e3f7ea; filter: none; opacity: 1; }
.track-steps li.feito:not(:last-child)::after { background: var(--wa); }
.track-steps li.agora { color: var(--purple); }
.track-steps li.agora span { background: var(--yellow); filter: none; opacity: 1; box-shadow: 0 0 0 0 rgba(255, 210, 31, .7); animation: pulso-t 1.6s infinite; }
@keyframes pulso-t { 70% { box-shadow: 0 0 0 12px rgba(255, 210, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 31, 0); } }
.track.cancelado .track-steps li { opacity: .45; }
.track-brinde { background: var(--yellow); color: var(--purple-ink); border-radius: 16px; padding: 10px 12px; font-weight: 700; margin-bottom: 12px; text-align: center; }
.track-acoes { display: grid; gap: 8px; }
.track-acoes .btn { width: 100%; justify-content: center; text-align: center; white-space: normal; }
.track-acoes [hidden] { display: none !important; }
.track-fine { text-align: center; color: var(--muted); font-size: .8rem; font-weight: 700; margin: 10px 0 0; }

/* ===== Área de entrega ===== */
.loc-btn.fora { border-color: #e5484d; background: #fff0f0; }
.loc-btn.fora b { color: #c62f35; }
#feeRow.fora dd { color: #c62f35; font-weight: 800; }

/* ===== Barra "Continuar" sempre visível no celular enquanto monta o copo ===== */
@media (max-width: 900px) {
  body.montando .panel-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; box-shadow: 0 -10px 26px -14px rgba(91, 22, 143, .45); animation: sobe-barra .25s ease-out; }
  body.montando .panel-body { padding-bottom: 96px; }
  body.montando .bag-fab { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@keyframes sobe-barra { from { transform: translateY(100%); } }

/* ===== Sabores e complementos em carrossel (quadro fixo que desliza) ===== */
.grupo-abas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding: 2px; }
.grupo-abas::-webkit-scrollbar { display: none; }
.grupo-aba { flex: none; border: 2px solid var(--line); background: #fff; color: var(--purple); font: inherit; font-weight: 800; font-size: .9rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.grupo-aba span { font-size: .72rem; opacity: .55; margin-left: 6px; }
.grupo-aba.ativa { background: var(--purple); border-color: var(--purple); color: #fff; }
.grupo-aba.ativa span { opacity: .8; }
.palette[hidden], .car-nav[hidden] { display: none !important; }
.car-nav { display: none; }
@media (max-width: 900px) {
  .palette.carrossel {
    display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
    grid-template-columns: none; grid-auto-columns: calc((100% - 24px) / 4.4);
    gap: 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 4px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .palette.carrossel::-webkit-scrollbar { display: none; }
  .palette.carrossel .card { scroll-snap-align: start; }
  .palette.carrossel.uma-linha { grid-template-rows: auto; }
  .game > *, .panel, #panelBody { min-width: 0; }
  .car-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
  .car-nav.so-uma { display: none; }
  .car-seta { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pink-soft); color: var(--purple); font-size: 1.35rem; font-weight: 800; line-height: 1; display: grid; place-items: center; cursor: pointer; }
  .car-seta:disabled { opacity: .3; }
  .car-pontos { display: flex; gap: 6px; align-items: center; }
  .car-pontos i { width: 7px; height: 7px; border-radius: 4px; background: #e6d6ee; transition: width .2s, background .2s; }
  .car-pontos i.on { width: 20px; background: var(--pink); }
}

/* ===== Acompanhamento como página própria + faixa fixa de pedido em andamento ===== */
.track { place-items: start center; padding: 0; background: var(--cream); backdrop-filter: none; z-index: 95; }
.track-card { width: min(520px, 100%); min-height: 100%; margin: 0 auto; border-radius: 0; box-shadow: none; padding: 18px 18px calc(28px + env(safe-area-inset-bottom)); animation: fade .3s; }
@media (min-width: 560px) { .track { padding: 28px 16px; } .track-card { min-height: 0; border-radius: 28px; box-shadow: var(--shadow); } }
.track-vivo { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; color: var(--wa); background: #e3f7ea; padding: 6px 10px; border-radius: 999px; }
.track-vivo[hidden] { display: none; }
.track-vivo i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: pisca-tb 1.4s infinite; }
.track-barra { position: sticky; top: var(--top-h); z-index: 39; width: 100%; display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-align: left; font: inherit;
  padding: 10px max(16px, env(safe-area-inset-left)); background: var(--yellow); color: var(--purple-ink); box-shadow: 0 6px 16px -10px rgba(43, 11, 69, .45); }
.track-barra[hidden] { display: none; }
.track-barra .tb-ponto { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 10, 132, .6); animation: pulso-tb 1.6s infinite; }
.track-barra .tb-txt { flex: 1; min-width: 0; }
.track-barra b { display: block; font-size: .92rem; }
.track-barra small { display: block; font-weight: 700; font-size: .82rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-barra .tb-ir { flex: none; background: var(--purple); color: #fff; font-weight: 800; font-size: .82rem; padding: 8px 12px; border-radius: 999px; }
.track-barra.fim { background: var(--pink-soft); }
.track-barra.fim .tb-ponto { background: var(--wa); animation: none; }
@keyframes pulso-tb { 70% { box-shadow: 0 0 0 9px rgba(255, 10, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 10, 132, 0); } }
@keyframes pisca-tb { 50% { opacity: .25; } }

/* avisos no celular do cliente */
.track-avisos { background: #f6f0fa; border-radius: 18px; padding: 12px; margin: 0 0 12px; text-align: center; }
.track-avisos[hidden], .track-avisos [hidden] { display: none !important; }
.track-avisos .btn { width: 100%; justify-content: center; }
.track-avisos p { margin: 8px 2px 0; color: var(--muted); font-size: .86rem; font-weight: 700; line-height: 1.4; }
.track-avisos.ok { background: #e3f7ea; }
.track-avisos.ok p { margin: 0; color: #17803f; }

/* ---------- pote real: tampa, embalagem e voo até a sacola ---------- */
#stage3d { transition: opacity .25s ease; }
#stage3d.packed { opacity: 0; }
.fly-pot { position: fixed; left: 0; top: 0; z-index: 96; pointer-events: none; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(43, 11, 69, .35)); will-change: transform; }
.seal-note { margin-top: 10px; font-size: .84rem; font-weight: 800; color: var(--purple); background: #f3eafb; border-radius: 12px; padding: 8px 10px; }
.size-ico i { background: linear-gradient(90deg, #5a2a8a, #7a44b0 55%, #5a2a8a); clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%); border-top: 5px solid #f4f0ea; position: relative; }
.size-ico i::after { content: ''; position: absolute; left: 50%; top: 52%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #fff205 0 55%, #ff0a84 56% 64%, #fff 65%); }
.fb-cup { background: radial-gradient(circle at 50% 52%, #fff205 0 22%, #ff0a84 23% 26%, #fff 27% 31%, transparent 32%), linear-gradient(90deg, #5a2a8a, #7a44b0 55%, #5a2a8a); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); border-top: 10px solid #f4f0ea; color: transparent; }
@media (max-width: 900px) {
  .stage[data-step="1"] .stage-hint { display: none; }
}

/* =========================================================
   ENTREGA: açaí, milkshake, picolés e funções novas
   ========================================================= */
.atalho-mais { display: inline-block; margin: -18px 0 26px; color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px dashed rgba(255, 255, 255, .55); padding-bottom: 2px; }
.atalho-mais:hover { border-bottom-style: solid; }

/* sabor ou complemento que acabou (desligado no painel) */
.card.off { opacity: .42; filter: grayscale(.7); cursor: not-allowed; }
.card.off .tag { color: #b3261e; }
.card .tag.grupo { color: var(--purple-2); }

/* me surpreenda */
.surpresa { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 14px; border: 2px dashed #f6b7d6; border-radius: 18px; background: #fff7fb; color: var(--purple); font: inherit; text-align: left; cursor: pointer; transition: transform .15s, border-color .2s; }
.surpresa:hover { border-color: var(--pink); transform: translateY(-1px); }
.surpresa > span:first-child { font-size: 1.7rem; }
.surpresa b { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.surpresa small { color: var(--muted); font-weight: 700; }
.surpresa:disabled { opacity: .6; cursor: progress; }

/* pedir de novo */
.repetir { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 720px; margin: -14px auto 22px; padding: 12px 14px; border: 0; border-radius: 18px; background: var(--yellow); color: var(--purple-ink); font: inherit; text-align: left; box-shadow: var(--shadow-sm); cursor: pointer; }
.repetir[hidden] { display: none; }
.repetir-ico { font-size: 1.5rem; }
.repetir > span:nth-child(2) { flex: 1; min-width: 0; }
.repetir b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.repetir small { display: block; font-weight: 700; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repetir-cta { background: var(--purple); color: #fff; font-weight: 800; font-size: .88rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }

/* milkshake e picolés */
.mais { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px); background: linear-gradient(180deg, var(--cream), #fff0f7); }
.mais-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; align-items: start; }
.mais-card { background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.mais-topo { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.mais-topo h3 { color: var(--purple); font-size: 1.6rem; margin-bottom: 4px; }
.mais-card h4 { margin: 14px 0 8px; font-size: .86rem; font-weight: 800; color: var(--purple); text-transform: uppercase; letter-spacing: .04em; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcao { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 9px 12px; font: inherit; font-weight: 800; color: var(--purple); cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all .18s; }
.opcao small { color: var(--pink); font-weight: 800; }
.opcao i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.opcao:hover { border-color: #f6c3dd; }
.opcao.sel { border-color: var(--pink); background: #fff5fa; color: var(--pink); }
.opcao.off { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.mais-rodape { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--line); }
.mais-rodape .btn { flex: 1; max-width: 260px; }

/* copo de milkshake desenhado */
.ms-copo { position: relative; width: 62px; height: 84px; flex: none; }
.ms-copo::before { content: ""; position: absolute; left: 6px; right: 6px; bottom: 0; height: 60px; background: rgba(255, 255, 255, .35); border: 3px solid #e9d8f2; border-top: 0; border-radius: 4px 4px 14px 14px; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); z-index: 2; pointer-events: none; }
.ms-liquido { position: absolute; left: 9px; right: 9px; bottom: 3px; height: 54px; background: #b9814f; border-radius: 2px 2px 12px 12px; clip-path: polygon(0 0, 100% 0, 87% 100%, 13% 100%); transition: background .35s; }
.ms-chantilly { position: absolute; left: 8px; right: 8px; bottom: 54px; height: 18px; background: radial-gradient(circle at 25% 80%, #fff 9px, transparent 10px), radial-gradient(circle at 55% 45%, #fff 10px, transparent 11px), radial-gradient(circle at 80% 85%, #fff 8px, transparent 9px); z-index: 3; }
.ms-canudo { position: absolute; left: 36px; bottom: 40px; width: 7px; height: 46px; background: repeating-linear-gradient(180deg, var(--pink) 0 6px, #fff 6px 12px); border-radius: 4px; transform: rotate(14deg); transform-origin: bottom; z-index: 1; }
.ms-copo.pulo { animation: pop .4s cubic-bezier(.3, 1.5, .5, 1); }

/* picolés */
.pic-ico { width: 62px; height: 84px; flex: none; position: relative; }
.pic-ico i { position: absolute; left: 14px; top: 0; width: 34px; height: 58px; border-radius: 16px 16px 8px 8px; background: linear-gradient(160deg, #ff8fb3, #ff4fa6); box-shadow: inset -5px 0 0 rgba(0, 0, 0, .08); }
.pic-ico::after { content: ""; position: absolute; left: 27px; top: 54px; width: 8px; height: 28px; background: #e8c48f; border-radius: 0 0 4px 4px; }
.pic-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pic-item { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 14px; padding: 7px 8px 7px 10px; transition: border-color .18s, background .18s; }
.pic-item.tem { border-color: var(--pink); background: #fff5fa; }
.pic-item.off { opacity: .4; }
.pic-item .palito { width: 14px; height: 24px; border-radius: 7px 7px 3px 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex: none; position: relative; margin-bottom: 8px; }
.pic-item .palito::after { content: ""; position: absolute; left: 5px; top: 22px; width: 4px; height: 9px; background: #e8c48f; border-radius: 0 0 2px 2px; }
.pic-item .nm { flex: 1; min-width: 0; font-weight: 800; color: var(--purple); font-size: .92rem; line-height: 1.15; }
.pic-item .nm small { display: block; color: #b3261e; font-weight: 800; font-size: .72rem; }
.pic-item .qty button { width: 28px; height: 28px; font-size: 1rem; }
.pic-item .qty output { min-width: 20px; font-size: 1rem; }
.pic-total small { display: block; color: var(--muted); font-weight: 800; font-size: .82rem; }
.pic-total strong { font-family: var(--font-display); color: var(--pink); font-size: 1.4rem; }

/* sacola: itens sem foto */
.bag-item .bag-emoji { width: 76px; height: 76px; border-radius: 14px; background: radial-gradient(circle, #fffdf4, #ffd6ea); display: grid; place-items: center; font-size: 2.4rem; }

/* brinde: vários sabores */
.seg.seg-solta { display: flex; flex-wrap: wrap; }
.seg.seg-solta span { padding: 8px 12px; font-size: .9rem; }

/* aniversário: dia e mês */
.niver { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.niver select { width: 100%; padding: 12px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--ink); }
.niver select:focus { outline: none; border-color: var(--pink); }

.compartilhar { margin-top: 14px; font-size: .95rem; }
.compartilhar[hidden] { display: none; }

@media (max-width: 900px) {
  .mais-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .pic-grade { grid-template-columns: 1fr; }
  .mais-card { padding: 18px 14px; }
  .mais-rodape .btn { max-width: none; }
}
