/* P di Prego · base, mostrador, sabores, desafíos, torneo, club y pedido */
:root {
  --ink: #141414; --negro: #0c0c0c; --lima: #A8D83A; --lima-o: #7DA61F; --lima-c: #E4F5BE; --crema: #F8F1E6; --crema-o: #E6D8BF; --papel: #FFFDF8;
  --choco: #5A2F1B; --rosa: #FFB3C6; --rojo: #D7263D; --mango: #FFB32B; --pist: #B9D38A; --mut: #6E665A; --line: rgba(20, 20, 20, .12);
  --fd: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --fs: 'DM Serif Display', 'Times New Roman', Times, serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { font: 500 14px/1.45 var(--fd); color: var(--ink); background: var(--negro); overflow: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
code { font: 800 13px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .04em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
em { font: italic 400 1.06em/1 var(--fs); text-transform: none; letter-spacing: 0; font-stretch: 100%; }

#app { position: relative; width: 100%; max-width: 480px; height: 100dvh; margin: 0 auto; overflow: clip; background: var(--crema); isolation: isolate; container-type: inline-size; }
#view { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: calc(104px + var(--sab)); scrollbar-width: none; overscroll-behavior: contain; outline: 0; }
#app.con-pill #view { padding-bottom: calc(168px + var(--sab)); }
#view::-webkit-scrollbar, .rail::-webkit-scrollbar, .chips::-webkit-scrollbar, .sh::-webkit-scrollbar, .ap::-webkit-scrollbar, #fiesta::-webkit-scrollbar { display: none; }
#view.vin > * { animation: sube .5s var(--out) both; }
#view.vin > *:nth-child(2) { animation-delay: .04s; } #view.vin > *:nth-child(3) { animation-delay: .08s; } #view.vin > *:nth-child(n+4) { animation-delay: .12s; }
@keyframes sube { from { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 50% { opacity: .35; } }
.bo, .cono, .pote { display: block; overflow: visible; }
.pe { display: block; }

/* ───── botones ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 99px; font: 800 14.5px/1 var(--fd); letter-spacing: -.01em; white-space: nowrap; transition: transform .16s var(--out), box-shadow .16s; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 12.5px; }
.btn.gr { width: 100%; height: 56px; font-size: 15.5px; }
.btn-k { background: var(--ink); color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .34); }
.btn-l { background: var(--lima); color: var(--ink); box-shadow: 0 5px 0 var(--lima-o); }
.btn-w { background: #fff; color: var(--ink); box-shadow: 0 5px 0 rgba(20, 20, 20, .2); }
.btn-a { background: var(--ink); color: var(--bg); box-shadow: 0 5px 0 var(--sh); }
.btn.sm { box-shadow: 0 3px 0 rgba(0, 0, 0, .28); } .btn-l.sm { box-shadow: 0 3px 0 var(--lima-o); } .btn-w.sm { box-shadow: 0 3px 0 rgba(20, 20, 20, .2); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn.demo { width: 100%; height: 44px; font-size: 12.5px; background: none; box-shadow: inset 0 0 0 2px var(--line); color: var(--mut); }
.lnk { font: 800 12.5px/1 var(--fd); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; padding: 6px 0; }

/* ───── mostrador: toldo, saludo y vitrina ───── */
.tol { position: relative; z-index: 3; --w: calc(100cqw / 15); background: var(--negro); padding-top: calc(8px + var(--sat)); filter: drop-shadow(0 6px 0 rgba(20, 20, 20, .14)); }
.tol-t { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 14px; color: #fff; }
.tol-t small { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1px 6px; font: 800 12px/1.1 var(--fd); }
.tol-t small span { grid-column: 2; font-weight: 500; font-size: 10.5px; opacity: .65; }
.tol-t small i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lima); animation: pulse 1.8s infinite; }
.tol-t small.closed i { background: #FFB020; animation: none; }
.sel { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px 0 5px; border-radius: 99px; background: rgba(255, 255, 255, .14); font: 800 13px var(--fd); font-variant-numeric: tabular-nums; }
.sel span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lima); }
.sel .pe { width: 14px; }
.tol-a { position: relative; height: 46px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 var(--w), var(--lima) var(--w) calc(var(--w) * 2)); box-shadow: inset 0 7px 0 rgba(0, 0, 0, .3); }
.tol-a::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - .5px); height: calc(var(--w) / 2);
  background: radial-gradient(circle at calc(var(--w) / 2) 0, var(--ink) calc(var(--w) / 2 - .7px), transparent calc(var(--w) / 2)) 0 0 / calc(var(--w) * 2) 100% repeat-x,
    radial-gradient(circle at calc(var(--w) / 2) 0, var(--lima) calc(var(--w) / 2 - .7px), transparent calc(var(--w) / 2)) var(--w) 0 / calc(var(--w) * 2) 100% repeat-x; }
.tol-l { position: absolute; left: 50%; top: calc(22px + var(--sat)); width: 98px; height: 98px; margin-left: -49px; border-radius: 50%; box-shadow: 0 0 0 4px var(--lima), 0 0 0 7.5px var(--ink), 0 9px 0 7.5px rgba(0, 0, 0, .22); transform-origin: 50% -30px; animation: cuelga 1.5s .1s var(--out) both; }
.tol-l .lg { display: block; width: 100%; height: 100%; }
#app.espera .tol-l, #app.espera .tb { animation-play-state: paused; }
@keyframes cuelga { 0% { transform: rotate(11deg); } 30% { transform: rotate(-7deg); } 55% { transform: rotate(4deg); } 78% { transform: rotate(-1.5deg); } 100% { transform: none; } }
.aro { display: block; flex: none; width: 54px; height: 54px; padding: 3px; border-radius: 50%; background: var(--lima); }
.aro .lg { display: block; width: 100%; height: 100%; }
.hola { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 25px 18px 0; }
.hi { font: italic 400 27px/1 var(--fs); }
.hola small { display: inline-flex; align-items: center; gap: 5px; padding-bottom: 3px; font: 700 11px/1 var(--fd); color: var(--mut); white-space: nowrap; }
.hola small svg { width: 14px; height: 14px; }
.vit { position: relative; margin: 10px 12px 0; background: var(--papel); border: 3.5px solid var(--ink); border-radius: 30px; box-shadow: 0 7px 0 var(--ink); overflow: hidden; }
.vit.ojo { animation: ojo .8s var(--spring); }
@keyframes ojo { 35% { transform: scale(1.025); } }
.vit-h { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 16px 0; }
.vit-h h2 { font: 900 24px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; }
.desliza { display: inline-flex; align-items: center; gap: 6px; font: 800 11px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; }
.desliza svg { width: 15px; height: 15px; animation: empuja 1.2s var(--out) infinite; }
@keyframes empuja { 50% { transform: translateX(5px); } }
.vit .chips { margin: 9px 0 0; padding: 0 14px 10px; }
.cub { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 22.3%; gap: 4px 0; padding: 12px 6px 8px; overflow-x: auto; scrollbar-width: none; border-block: 3.5px solid var(--ink); scroll-snap-type: x proximity; cursor: grab; user-select: none; -webkit-user-select: none;
  background: linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, .55) 30% 37%, transparent 37% 43%, rgba(255, 255, 255, .4) 43% 46%, transparent 46%), #D3E0E5; }
.cub.drag { cursor: grabbing; scroll-snap-type: none; }
.cub::-webkit-scrollbar, .est::-webkit-scrollbar { display: none; }
.tb { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 4px; scroll-snap-align: start; animation: pop .45s var(--spring) both; animation-delay: calc(var(--i) * 32ms); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.7); } }
.tb .cu { display: block; width: 100%; max-width: 94px; overflow: visible; transition: transform .25s var(--spring); }
.tb:active .cu { transform: scale(.92); }
.tb b { display: grid; place-items: center; min-height: 25px; padding: 0 5px; border-radius: 8px; font: 700 10.5px/1.12 var(--fd); text-align: center; text-wrap: balance; transition: background .2s, color .2s; }
.tb .cu-h { opacity: 0; transition: opacity .2s; }
.tb.on .cu-h { opacity: .24; }
.tb.on .cu { transform: rotate(-8deg); }
.tb.on b { background: var(--ink); color: var(--lima); }
.tb .copa { left: 4%; top: -2px; }
.tb .tic { right: 4%; top: -2px; background: var(--lima); color: var(--ink); box-shadow: 0 0 0 2.5px var(--ink); }
.tb.on .tic { scale: 1; }
.vuela { position: absolute; z-index: 80; width: 60px; pointer-events: none; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .25)); }
.ban { display: grid; grid-template-columns: 30% 1fr; gap: 8px 12px; align-items: center; padding: 8px 14px 14px; background: var(--lima); }
.ban > .btn { height: 50px; }
.ban-p { color: var(--ink); }
.ban-p .pote { width: 100%; }
.ban-p.no { animation: no .4s; }
.pote.nuevo .ult { animation: pum .5s var(--spring); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pum { from { transform: translateY(-34px) scale(.6); } 60% { transform: scale(1.14, .86); } }
@keyframes no { 25% { translate: -5px 0; } 50% { translate: 5px 0; } 75% { translate: -3px 0; } }
.ban-i { min-width: 0; }
.ban .opt { display: flex; gap: 6px; margin: 0; }
.ban .opt button { flex: 1; display: grid; place-items: center; height: 32px; padding: 0; border-radius: 99px; background: rgba(20, 20, 20, .12); box-shadow: none; font: 800 12px/1 var(--fd); white-space: nowrap; }
.ban .opt button.on { background: var(--ink); color: #fff; }
.ban-n { display: block; margin-top: 9px; font: 900 14px/1.1 var(--fd); font-stretch: 112%; text-transform: uppercase; }
.g-d { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px; margin-top: 8px; }
.g-d small { flex-basis: 100%; font: 800 9.5px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; }
.g-d.ok small::after { content: " · cumplido"; }
.g-d span { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 99px; border: 2px dashed rgba(20, 20, 20, .5); font: 800 11px/1 var(--fd); white-space: nowrap; }
.g-d span svg { width: 12px; height: 12px; }
.g-d span.on { border: 2px solid var(--ink); background: var(--ink); color: var(--lima); }
.g-d i { font: 900 13px/1 var(--fd); font-style: normal; }
.g-t { display: flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 10.5px/1.25 var(--fd); }
.g-t svg { width: 14px; height: 14px; flex: none; }
.ban > .btn { grid-column: 1 / -1; }

/* lanzamiento, torneo y estantería del inicio */
.nv { position: relative; background: var(--pist); border: 3.5px solid var(--ink); border-radius: 28px; box-shadow: 0 7px 0 var(--ink); padding: 22px 40% 18px 18px; margin-top: 14px; }
.nv-e { position: absolute; left: -8px; top: -30px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--lima); border: 3.5px solid var(--ink); font: 900 10.5px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; rotate: -14deg; }
.nv h3 { margin-top: 18px; font: 900 21px/.98 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.015em; }
.nv h3 em { display: block; margin-top: 2px; font-size: 1.14em; color: #3B4A12; }
.nv p { margin: 8px 0 12px; font: 500 12px/1.38 var(--fd); }
.nv-b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nv-f { position: absolute; right: -20px; top: -30px; width: 50%; max-width: none; rotate: -10deg; filter: drop-shadow(0 12px 8px rgba(0, 0, 0, .3)); pointer-events: none; }
.tn { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px 6px; width: 100%; background: var(--negro); color: #fff; border-radius: 28px; padding: 18px 16px 16px; box-shadow: 0 7px 0 rgba(0, 0, 0, .28); text-align: center; }
.tn-a { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tn-a .bo { width: 78px; }
.tn .bo path:first-child, .hd4 .bo path:first-child { stroke: #fff; }
.tn-a b { font: 800 12px/1.15 var(--fd); }
.tn-a i { font: 900 20px/1 var(--fd); font-style: normal; color: var(--lima); font-variant-numeric: tabular-nums; }
.tn-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lima); color: var(--ink); font: 900 14px/1 var(--fd); font-stretch: 125%; rotate: -8deg; box-shadow: 0 4px 0 var(--lima-o); }
.tn-t { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 7px; margin-top: 12px; padding-top: 14px; border-top: 2px dashed rgba(255, 255, 255, .22); }
.tn-t small { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9px; border-radius: 99px; background: var(--lima); color: var(--ink); font: 800 10.5px/1 var(--fd); letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.tn-t small i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.6s infinite; }
.tn-t > b { font: 900 23px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.015em; }
.tn-t > b em { color: var(--lima); }
.tn-t > span { max-width: 280px; font: 500 12px/1.4 var(--fd); opacity: .75; }
.est { display: flex; margin: 0 -18px; padding: 14px 18px 8px; overflow-x: auto; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.est.drag { cursor: grabbing; }
.pl { position: relative; flex: 0 0 134px; display: flex; flex-direction: column; align-items: center; padding: 0 8px; cursor: pointer; }
.pl::before { content: ""; position: absolute; left: 0; right: 0; top: 103px; height: 10px; background: var(--ink); }
.pl:first-child::before { border-radius: 5px 0 0 5px; } .pl:last-child::before { border-radius: 0 5px 5px 0; }
.pl-f { position: relative; z-index: 1; width: 108px; height: 108px; border-radius: 50%; overflow: hidden; border: 3.5px solid var(--ink); background: var(--crema-o); transition: transform .2s var(--spring); }
.pl:active .pl-f { transform: scale(.94); }
.pl-f img { width: 100%; height: 100%; object-fit: cover; }
.etq { position: absolute; right: 0; top: -8px; z-index: 2; padding: 5px 8px 5px 15px; background: var(--lima); border: 2.5px solid var(--ink); border-radius: 5px 10px 10px 5px; font: 900 11.5px/1 var(--fd); font-variant-numeric: tabular-nums; rotate: 8deg; }
.etq::before { content: ""; position: absolute; left: 5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--ink); }
.pl b { display: grid; place-items: center; margin-top: 16px; min-height: 30px; font: 800 12px/1.2 var(--fd); text-align: center; }
.pl .mas { margin-top: 6px; }

/* ───── secciones ───── */
.sec { padding: 26px 18px 0; }
.st { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.st h3, .menu h3 { font: 900 21px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
.st button { font: 800 12px/1 var(--fd); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.st-s { font: 700 11.5px/1.2 var(--fd); color: var(--mut); text-align: right; }
.card { display: block; width: 100%; background: var(--papel); border-radius: 24px; box-shadow: 0 5px 0 var(--crema-o); padding: 16px; }
.pie { padding: 26px 24px 0; font: 500 11px/1.5 var(--fd); color: var(--mut); text-align: center; }
.pie .copa { display: inline-grid; vertical-align: -5px; margin-right: 4px; position: static; }
.nota { margin-top: 12px; font: 500 11.5px/1.45 var(--fd); color: var(--mut); }
.pips { display: flex; gap: 6px; margin-top: 10px; }
.pips i { width: 30px; height: 10px; border-radius: 99px; background: rgba(20, 20, 20, .16); }
.pips i.on { background: var(--ink); }

/* tarjeta de desafíos en el inicio */
.dh { position: relative; display: flex; gap: 6px; align-items: flex-end; background: var(--lima); border: 3.5px solid var(--ink); border-radius: 28px; padding: 16px 16px 16px 4px; box-shadow: 0 7px 0 var(--ink); overflow: hidden; }
.dh::before { content: ""; position: absolute; inset: 0; background: var(--trama-n) 0 0 / 130px; opacity: .06; transform: rotate(8deg) scale(1.5); }
.dh-c { position: relative; flex: 0 0 31%; color: var(--ink); }
.dh-c .cono { width: 100%; }
.dh-t { position: relative; flex: 1; min-width: 0; }
.dh-t small, .hd3 small, .hd4 small { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9px; border-radius: 99px; background: var(--ink); color: #fff; font: 800 10.5px/1 var(--fd); letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dh-t small i, .hd3 small i, .hd4 small i { width: 7px; height: 7px; border-radius: 50%; background: var(--lima); animation: pulse 1.6s infinite; }
.dh-t h3 { margin-top: 12px; font: 900 23px/.96 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.015em; }
.dh-t h3 em { display: block; font-size: 1.1em; }
.dh-t p { margin: 10px 0 14px; font: 500 12.5px/1.4 var(--fd); }
.hueco { opacity: .4; }

/* cupón del torneo */
.tk { position: relative; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 22px; padding: 14px 16px 14px 14px; box-shadow: 0 5px 0 rgba(0, 0, 0, .25); overflow: hidden; }
.tk-p { flex: none; display: grid; place-items: center; align-content: center; width: 82px; height: 82px; border-radius: 50%; background: var(--lima); color: var(--ink); rotate: -8deg; box-shadow: 0 4px 0 var(--lima-o); }
.tk-p b { font: 900 25px/1 var(--fd); letter-spacing: -.04em; }
.tk-p small { font: 800 8px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.tk-t { flex: 1; min-width: 0; padding-right: 34px; }
.tk-t small { font: 800 10px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--lima); }
.tk-t b { display: block; margin: 5px 0 4px; font: 800 15px/1.15 var(--fd); }
.tk-t span { display: block; font: 500 11.5px/1.4 var(--fd); opacity: .75; }
.tk > .bo { position: absolute; right: -16px; top: -12px; width: 74px; rotate: 14deg; }

/* lo de siempre */
.ls { display: flex; align-items: center; gap: 12px; }
.ls-b { flex: none; display: flex; }
.ls-b .bo { width: 40px; margin-left: -16px; } .ls-b .bo:first-child { margin-left: 0; }
.ls-t { flex: 1; min-width: 0; }
.ls-t b { display: block; font: 800 13px/1.25 var(--fd); }
.ls-t small { display: block; margin-top: 4px; font: 500 11.5px/1 var(--fd); color: var(--mut); }

/* familias */
.fams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fam { position: relative; display: flex; align-items: center; gap: 10px; background: var(--papel); border-radius: 20px; padding: 12px 12px 12px 10px; box-shadow: 0 4px 0 var(--crema-o); }
.fam span { flex: none; display: flex; }
.fam .bo { width: 34px; } .fam .bo + .bo { margin-left: -18px; margin-top: 8px; }
.fam b { flex: 1; font: 800 12.5px/1.15 var(--fd); }
.fam small { font: 800 11px/1 var(--fd); color: var(--mut); }
.fam:active, .sb:active, .px:active, .acc:active { transform: translateY(3px); }

/* tarjeta de sellos */
.ts { text-align: left; }
.ts-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.ts-h b { font: 900 15px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; }
.ts-h small { font: 800 12px/1 var(--fd); color: var(--mut); font-variant-numeric: tabular-nums; }
.sg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.sg i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(20, 20, 20, .22); font: 800 11px/1 var(--fd); font-style: normal; color: rgba(20, 20, 20, .35); }
.sg i.on { border: 0; background: var(--ink); rotate: -8deg; }
.sg i.on:nth-child(even) { rotate: 6deg; }
.sg i .pe { width: 48%; }
.sg i.fin { border-color: var(--lima-o); background: var(--lima-c); color: var(--ink); }
.sg i.fin.on { background: var(--lima); }
.ts p { margin-top: 12px; font: 500 12px/1.4 var(--fd); color: var(--mut); }

/* local */
.loc { background: var(--ink); color: #fff; border-radius: 26px; padding: 18px; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.loc .aro { width: 60px; height: 60px; margin-bottom: 14px; }
.loc li { display: flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--fd); margin-bottom: 8px; }
.loc li svg { width: 17px; height: 17px; flex: none; color: var(--lima); }
.loc .row { display: flex; gap: 10px; margin-top: 16px; }
.loc .btn-k { background: var(--lima); color: var(--ink); box-shadow: 0 3px 0 var(--lima-o); }

/* ───── cabeceras interiores ───── */
.hd2 { position: sticky; top: 0; z-index: 10; background: var(--crema); padding: calc(18px + var(--sat)) 18px 0; }
.hd2 h1, .hd3 h1, .hd4 h1 { font: 900 30px/.96 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; }
.hd2-r { display: flex; align-items: center; gap: 12px; }
.hd2-r h1 { font-size: 25px; }
.hd2.solo { position: relative; display: flex; align-items: center; gap: 12px; padding-bottom: 4px; }
.volver { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.volver svg { width: 19px; height: 19px; }
.chips { display: flex; gap: 8px; margin: 14px -18px 0; padding: 0 18px 12px; overflow-x: auto; scrollbar-width: none; }
.chips button { flex: none; height: 36px; padding: 0 15px; border-radius: 99px; background: var(--papel); box-shadow: inset 0 0 0 2px var(--line); font: 800 12.5px/1 var(--fd); white-space: nowrap; transition: background .2s, color .2s; }
.chips button.on { background: var(--ink); color: #fff; box-shadow: none; }

/* ───── sabores y delicias ───── */
.menu { padding: 22px 18px 0; }
.menu > p { margin: 6px 0 14px; font: 500 12.5px/1.4 var(--fd); color: var(--mut); }
.lst { display: flex; flex-direction: column; gap: 10px; }
.rowi { display: flex; align-items: center; gap: 12px; background: var(--papel); border-radius: 20px; padding: 10px 12px 10px 10px; box-shadow: 0 4px 0 var(--crema-o); cursor: pointer; }
.row-f { flex: none; width: 74px; height: 74px; border-radius: 15px; overflow: hidden; background: var(--crema-o); }
.row-f img { width: 100%; height: 100%; object-fit: cover; }
.row-b { flex: none; display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 15px; background: var(--lima-c); }
.row-b .bo { width: 34px; margin-left: -16px; } .row-b .bo:first-child { margin-left: 0; }
.row-t { flex: 1; min-width: 0; }
.row-t b { display: block; font: 800 14.5px/1.2 var(--fd); }
.row-t u { display: inline-block; margin-left: 7px; padding: 3px 7px; border-radius: 99px; background: var(--lima); font: 800 9px/1 var(--fd); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; vertical-align: 2px; }
.row-t em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; font: 500 11.5px/1.35 var(--fd); color: var(--mut); }
.row-t small { display: block; margin-top: 5px; font: 900 14px/1 var(--fd); font-variant-numeric: tabular-nums; }
.mas, .quitar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lima); box-shadow: 0 3px 0 var(--lima-o); }
.mas svg, .quitar svg { width: 18px; height: 18px; }
.mas:active { transform: translateY(3px); box-shadow: none; }
.quitar { background: none; box-shadow: inset 0 0 0 2px var(--line); color: var(--mut); width: 34px; height: 34px; }
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.sb { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; background: var(--papel); border-radius: 18px; padding: 12px 6px 11px; box-shadow: 0 4px 0 var(--crema-o); transition: transform .14s var(--out), background .2s, box-shadow .2s; }
.sb .bo { width: 56px; transition: transform .3s var(--spring); }
.sb b { font: 700 11px/1.15 var(--fd); text-align: center; text-wrap: balance; }
.copa { position: absolute; left: 7px; top: 7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--lima); }
.copa svg { width: 13px; height: 13px; }
.tic { position: absolute; right: 7px; top: 7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; scale: 0; transition: scale .25s var(--spring); }
.tic svg { width: 13px; height: 13px; }
.sb.on { background: var(--lima); box-shadow: 0 4px 0 var(--lima-o); }
.sb.on .tic { scale: 1; }
.sb.on .bo { transform: scale(1.12) rotate(-6deg); }

/* ───── desafíos: el cucurucho gigante ───── */
.dz-h { padding: calc(22px + var(--sat)) 20px 0; text-align: center; }
.cd, .dz-h small { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 10px; border-radius: 99px; background: var(--ink); color: #fff; font: 800 10.5px/1 var(--fd); letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cd i { width: 7px; height: 7px; border-radius: 50%; background: var(--lima); animation: pulse 1.6s infinite; }
.dz-h h1 { margin-top: 14px; font: 900 31px/.96 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; }
.dz-h h1 em { display: block; font-size: 1.1em; }
.dz-h p { max-width: 300px; margin: 10px auto 0; font: 500 12.5px/1.42 var(--fd); color: var(--mut); }
.dz-n { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 99px; background: var(--lima); border: 3px solid var(--ink); font: 900 13px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; rotate: -3deg; }
.dz { position: relative; display: flex; flex-direction: column; align-items: center; padding: 20px 14px 0; }
.sc { position: relative; z-index: calc(6 - var(--i)); width: 90%; margin-top: -30px; padding: 26px 32px 54px; text-align: center; animation: apila .62s calc((3 - var(--i)) * .1s) both; }
.sc:first-child { margin-top: 0; }
.sc:nth-child(odd) { translate: -9px 0; rotate: -1.3deg; } .sc:nth-child(even) { translate: 10px 0; rotate: 1.5deg; }
.sc-bg, .cn-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; }
.sc-f { fill: var(--c); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.sc-s { fill: #000; opacity: .1; }
.sc-l { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; opacity: .72; }
.sc.pend .sc-f { fill: color-mix(in srgb, var(--c) 26%, #FFFDF8); stroke-dasharray: 9 9; stroke-linecap: round; }
.sc.pend .sc-s { opacity: .04; }
.sc-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--c); font: 900 19px/1 var(--fd); }
.sc-n svg { width: 22px; height: 22px; }
.sc h4 { margin-top: 10px; font: 900 18px/1.05 var(--fd); font-stretch: 108%; letter-spacing: -.015em; text-wrap: balance; }
.sc p { max-width: 250px; margin: 7px auto 0; font: 500 12.5px/1.38 var(--fd); }
.sc-b { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 12px; }
.mas-s { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--ink); color: #fff; font: 800 11px/1 var(--fd); white-space: nowrap; }
.hecho { padding: 6px 10px; border: 3px solid var(--ink); border-radius: 8px; font: 900 12px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; rotate: -6deg; }
.cn { position: relative; z-index: 1; width: 78%; min-height: 340px; margin-top: -26px; padding: 62px 19% 0; text-align: center; animation: apila .62s both; }
.cn small { font: 800 10px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; }
.cn h4 { margin-top: 7px; font: 900 19px/1 var(--fd); font-stretch: 108%; text-transform: uppercase; letter-spacing: -.015em; text-wrap: balance; }
.cn p { margin: 7px 0 11px; font: 500 12px/1.35 var(--fd); }
.cand { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 10px; border-radius: 99px; background: rgba(20, 20, 20, .16); font: 800 12px/1 var(--fd); }
.cand svg { width: 15px; height: 15px; }
@keyframes apila { 0% { opacity: 0; transform: translateY(-110px) scale(.94, 1.08); } 12% { opacity: 1; } 62% { transform: translateY(0) scale(1.05, .92); } 82% { transform: translateY(-4px) scale(.98, 1.03); } 100% { transform: none; } }
.prox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.px { position: relative; display: grid; place-items: center; padding: 14px 8px 12px; border-radius: 22px; background: var(--papel); box-shadow: 0 5px 0 var(--crema-o); transition: transform .14s; }
.px svg { width: 100%; max-width: 86px; overflow: visible; }
.px b { position: absolute; left: 50%; top: 46%; translate: -50% -50%; font: 900 26px/1 var(--fd); }
.px.no { animation: no .4s; }
.como h4 { font: 900 15px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; margin-bottom: 12px; }
.como li, .suma li, .fi-l li { display: flex; align-items: center; gap: 12px; font: 500 12.5px/1.35 var(--fd); margin-top: 9px; }
.fi-l li { margin-top: 8px; } .fi-l li > b { width: 32px; height: 32px; font-size: 12px; }
.como li b, .suma li b, .fi-l li > b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lima); font: 900 13px/1 var(--fd); }

/* ───── torneo ───── */
.hd4 { position: relative; background: var(--negro); color: #fff; padding: calc(20px + var(--sat)) 20px 28px; border-radius: 0 0 36px 36px; overflow: hidden; }
.hd4-w { position: absolute; right: -40px; top: -10px; width: 220px; opacity: .08; rotate: 14deg; }
.hd4 small { background: var(--lima); color: var(--ink); } .hd4 small i { background: var(--ink); }
.hd4 h1 { margin-top: 14px; } .hd4 h1 em { color: var(--lima); }
.hd4 p { margin-top: 10px; font: 500 12.5px/1.4 var(--fd); opacity: .7; }
.regla { display: flex; align-items: center; gap: 14px; background: var(--lima); border-radius: 26px; padding: 16px; box-shadow: 0 6px 0 var(--lima-o); }
.regla-p { flex: none; display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%; background: var(--ink); color: var(--lima); rotate: -8deg; }
.regla-p b { font: 900 29px/1 var(--fd); letter-spacing: -.04em; }
.regla-p small { margin-top: 3px; font: 800 7.5px/1.15 var(--fd); letter-spacing: .06em; text-transform: uppercase; text-align: center; color: #fff; }
.regla h4 { font: 900 17px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
.regla p { margin-top: 7px; font: 500 12.5px/1.4 var(--fd); }
.vss { display: flex; flex-direction: column; gap: 12px; }
.vs { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 6px 4px; background: var(--papel); border-radius: 24px; padding: 14px 12px 12px; box-shadow: 0 5px 0 var(--crema-o); }
.vs.mio { box-shadow: 0 5px 0 var(--lima-o), inset 0 0 0 3px var(--lima); }
.vs-s { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 4px; }
.vs-s .bo { width: 70px; transition: transform .3s var(--spring); }
.vs-s:active .bo { transform: scale(.92); }
.vs-s b { font: 800 12.5px/1.15 var(--fd); text-align: center; text-wrap: balance; }
.vs-s u { padding: 4px 8px; border-radius: 99px; background: var(--ink); color: var(--lima); font: 800 9px/1 var(--fd); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.vs-x { align-self: center; display: grid; place-items: center; width: 36px; height: 36px; margin-top: 14px; border-radius: 50%; background: var(--ink); color: #fff; font: 900 11px/1 var(--fd); font-stretch: 125%; }
.vs-b { grid-column: 1 / -1; display: flex; gap: 3px; height: 14px; margin-top: 4px; }
.vs-b i { height: 100%; border-radius: 99px; border: 2px solid var(--ink); }
.vs-p { grid-column: 1 / -1; display: flex; justify-content: space-between; font: 900 13px/1 var(--fd); font-variant-numeric: tabular-nums; }
.ll { display: flex; flex-direction: column; gap: 14px; }
.ll-r small { display: block; margin-bottom: 8px; font: 800 10px/1 var(--fd); letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }
.ll-r.hoy small { color: var(--ink); }
.ll-c { display: flex; flex-wrap: wrap; gap: 8px; }
.ll-x { display: flex; padding: 4px 6px; border-radius: 99px; background: var(--crema); }
.ll-r.hoy .ll-x { background: var(--lima-c); }
.ll-x i { display: grid; place-items: center; width: 30px; height: 28px; font: 900 13px/1 var(--fd); font-style: normal; color: rgba(20, 20, 20, .3); }
.ll-x i + i { margin-left: -4px; }
.ll-x .bo { width: 30px; }
.ll-x i.out { opacity: .28; filter: grayscale(1); }
.ll-x i.yo { filter: drop-shadow(0 0 0 var(--ink)); scale: 1.18; }
.ll-x.camp { background: var(--ink); } .ll-x.camp i { color: var(--lima); width: 34px; } .ll-x.camp svg { width: 18px; height: 18px; }

/* ───── club ───── */
.cred { position: relative; display: flex; align-items: stretch; gap: 14px; background: var(--negro); color: #fff; border-radius: 28px; padding: 18px; box-shadow: 0 7px 0 rgba(0, 0, 0, .28); overflow: hidden; }
.cred::before { content: ""; position: absolute; inset: 0; background: var(--trama-b) 0 0 / 130px; opacity: .07; transform: rotate(-8deg) scale(1.5); }
.cred-l { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cred-l .lg { width: 58px; border-radius: 50%; box-shadow: 0 0 0 3px var(--lima); }
.cred-l small { display: block; font: 800 10px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--lima); }
.cred-l b { display: block; margin: 5px 0 4px; font: 900 24px/1 var(--fd); font-stretch: 112%; letter-spacing: -.02em; }
.cred-l p { font: 500 11.5px/1.4 var(--fd); opacity: .7; }
.cred-q { position: relative; flex: none; align-self: center; width: 118px; height: 118px; padding: 9px; border-radius: 18px; background: #fff; }
.cred-q svg { display: block; width: 100%; height: 100%; }
.vales { display: flex; flex-direction: column; gap: 10px; }
.vale { display: flex; align-items: center; gap: 12px; background: var(--lima); border-radius: 20px; padding: 13px 14px; box-shadow: 0 4px 0 var(--lima-o); }
.vale > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--lima); }
.vale > span svg { width: 19px; height: 19px; }
.vale div { flex: 1; min-width: 0; }
.vale b { display: block; font: 800 14px/1.15 var(--fd); }
.vale small { display: block; margin-top: 3px; font: 500 11px/1.25 var(--fd); opacity: .75; }
.vale code { flex: none; padding: 7px 9px; border-radius: 10px; background: rgba(20, 20, 20, .12); font-size: 11px; }
.vacio p { font: 500 12.5px/1.45 var(--fd); color: var(--mut); }
.vacio.gr { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 24px; color: var(--ink); }
.vacio.gr .pote { width: 150px; }
.vacio.gr h4 { margin-top: 10px; font: 900 19px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; }
.vacio.gr p { margin: 8px 0 16px; }
.inv { display: flex; align-items: center; gap: 12px; background: var(--rosa); border-radius: 26px; padding: 16px; box-shadow: 0 6px 0 #E58BA3; }
.inv > div { flex: 1; min-width: 0; }
.inv small { font: 800 10px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; }
.inv h4 { margin: 7px 0 5px; font: 800 15px/1.2 var(--fd); }
.inv p { font: 500 12px/1.4 var(--fd); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 14px 10px 16px; text-align: center; color: var(--ink); transition: transform .14s; }
.acc .cono { height: 92px; width: auto; }
.acc-b { display: grid; place-items: center; height: 92px; } .acc-b .bo { width: 78px; }
.acc b { font: 900 14px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; }
.acc small { font: 500 11px/1.2 var(--fd); color: var(--mut); }

/* ───── pedido ───── */
.rowi.it { cursor: default; }
.qty { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 99px; background: var(--crema); }
.qty button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--papel); box-shadow: 0 2px 0 var(--crema-o); }
.qty svg { width: 15px; height: 15px; }
.qty b { min-width: 24px; text-align: center; font: 900 14px/1 var(--fd); font-variant-numeric: tabular-nums; }
.suma { background: var(--lima-c); border-radius: 24px; padding: 16px; box-shadow: 0 5px 0 #C5DE92; }
.suma h4, .cnd h4 { font: 900 15px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
.suma li { opacity: .5; } .suma li.on { opacity: 1; }
.suma li b { background: rgba(20, 20, 20, .12); } .suma li.on b { background: var(--ink); color: var(--lima); }
.suma li .lnk { margin-left: 6px; }
.suma > p { margin-top: 12px; padding-top: 12px; border-top: 2px dashed rgba(20, 20, 20, .16); font: 800 13px/1.3 var(--fd); }
.cnd h4 { display: flex; align-items: center; gap: 8px; } .cnd h4 svg { width: 19px; height: 19px; }
.cnd p { margin: 8px 0 0; font: 500 12.5px/1.4 var(--fd); color: var(--mut); } .cnd p b { color: var(--ink); }
.cnd .btn { margin-top: 12px; }
.cnd-o { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.cnd-o button { flex: 1 0 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 18px; background: var(--crema); box-shadow: inset 0 0 0 2px transparent; transition: background .2s; }
.cnd-o .bo { width: 46px; }
.cnd-o b { font: 800 11px/1.15 var(--fd); text-align: center; }
.cnd-o small { font: 500 9.5px/1.15 var(--fd); color: var(--mut); text-align: center; }
.cnd-o button.on { background: var(--lima); box-shadow: inset 0 0 0 3px var(--ink); }
.cnd-o button.on small { color: var(--ink); }
.tot { margin-bottom: 16px; }
.tot div { display: flex; align-items: baseline; justify-content: space-between; font: 500 13.5px/1 var(--fd); padding: 6px 0; font-variant-numeric: tabular-nums; }
.tot div b { font-weight: 800; }
.tot .desc { color: #3B6B00; font-weight: 800; }
.tot .fin { margin-top: 6px; padding-top: 14px; border-top: 2px dashed var(--line); font: 900 16px/1 var(--fd); text-transform: uppercase; }
.tot .fin b { font: 900 25px/1 var(--fd); letter-spacing: -.03em; }
.tot p { display: flex; align-items: center; gap: 7px; margin-top: 12px; font: 500 11.5px/1.3 var(--fd); color: var(--mut); }
.tot p svg { width: 15px; height: 15px; flex: none; }

/* ───── hojas ───── */
.shw { position: absolute; inset: 0; z-index: 60; }
.bk { position: absolute; inset: 0; background: rgba(12, 12, 12, .55); opacity: 0; transition: opacity .3s; }
.sh { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; overflow-y: auto; scrollbar-width: none; background: var(--crema); border-radius: 32px 32px 0 0; padding: 26px 20px calc(24px + var(--sab)); transform: translateY(104%); transition: transform .42s var(--out); }
.shw.open .bk { opacity: 1; } .shw.open .sh { transform: none; }
.sh-x { position: absolute; right: 14px; top: 14px; z-index: 5; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; }
.sh-x svg { width: 17px; height: 17px; }
.sh h3 { font: 900 25px/1 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; padding-right: 46px; }
.sh.alta { height: 92%; display: flex; flex-direction: column; padding: 24px 0 0; overflow: hidden; }
.ap { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 0 18px 18px; }
.opt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.opt button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px; border-radius: 18px; background: var(--papel); box-shadow: 0 4px 0 var(--crema-o); transition: background .2s, box-shadow .2s; }
.opt b { font: 900 15px/1 var(--fd); } .opt small { font: 700 11.5px/1 var(--fd); color: var(--mut); font-variant-numeric: tabular-nums; }
.opt button.on { background: var(--ink); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .3); } .opt button.on small { color: var(--lima); }
.ap-top { display: flex; align-items: center; gap: 12px; margin-top: 14px; background: var(--lima); border-radius: 24px; padding: 12px 14px 12px 8px; box-shadow: 0 5px 0 var(--lima-o); }
#ap-pote { flex: 0 0 38%; color: var(--ink); }
#ap-pote .pote { width: 100%; }
.pote.nuevo .cb { animation: pum .45s var(--spring); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pum { from { transform: translateY(-30px) scale(.6); opacity: 0; } }
.ap-i { flex: 1; min-width: 0; }
.ap-i > b { display: block; font: 900 15px/1.1 var(--fd); font-stretch: 112%; text-transform: uppercase; }
.g-d { margin-top: 10px; }
.g-d small { font: 800 9.5px/1 var(--fd); letter-spacing: .07em; text-transform: uppercase; }
.g-d div { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 6px; }
.g-d span { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 99px; border: 2px dashed rgba(20, 20, 20, .45); font: 800 11px/1 var(--fd); white-space: nowrap; }
.g-d span svg { width: 12px; height: 12px; }
.g-d span.on { border: 2px solid var(--ink); background: var(--ink); color: var(--lima); }
.g-d i { font: 900 13px/1 var(--fd); font-style: normal; }
.g-t { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; font: 500 11px/1.3 var(--fd); }
.g-t svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.ap .chips { position: sticky; top: 0; z-index: 4; background: var(--crema); margin-top: 6px; padding-top: 10px; }
.ap-pie { flex: none; padding: 12px 18px calc(16px + var(--sab)); background: var(--crema); box-shadow: 0 -10px 16px -10px rgba(20, 20, 20, .18); }
.pd-f { width: calc(100% + 40px); max-width: none; margin: -26px -20px 18px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px 32px 0 0; }
.pd p { margin-top: 8px; font: 500 13.5px/1.45 var(--fd); color: var(--mut); }
.pd-d { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--lima-c); color: var(--ink) !important; font-size: 12.5px !important; font-weight: 700 !important; }
.pd-d svg { width: 16px; height: 16px; flex: none; }
.pd-b { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.pd-b .btn { flex: 1; } .pd-b .qty { background: var(--papel); }
.iv { display: flex; flex-direction: column; gap: 14px; }
.iv-b { display: flex; } .iv-b .bo { width: 74px; } .iv-b .bo + .bo { margin-left: -24px; margin-top: 12px; }
.iv p { font: 500 13.5px/1.45 var(--fd); color: var(--mut); }
.iv-c { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 20px; background: var(--papel); box-shadow: inset 0 0 0 2px var(--line); }
.iv-c code { font-size: 19px; }
.iv-n { font-size: 12px !important; text-align: center; }
.ci small { font: 800 10.5px/1 var(--fd); letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }
.ci h3 { margin-top: 8px; }
.ci-l { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.ci-l div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 20px; background: var(--papel); box-shadow: 0 4px 0 var(--crema-o); text-align: center; }
.ci-l .bo { width: 56px; }
.ci-l b { font: 800 12.5px/1.15 var(--fd); } .ci-l small { font: 500 10px/1.25 var(--fd); letter-spacing: 0; text-transform: none; }
.ci-l div.yo { background: var(--lima); box-shadow: 0 4px 0 var(--lima-o); } .ci-l div.yo small { color: var(--ink); }
.ci-r { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: var(--papel); margin-bottom: 16px; }
.ci-r p { font: 600 13px/1.4 var(--fd); }
.ci-r.ok { background: var(--ink); color: #fff; }
.ci-r b { flex: none; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--lima); color: var(--ink); font: 900 21px/1 var(--fd); letter-spacing: -.04em; rotate: -8deg; }

/* ───── pedido confirmado ───── */
#fiesta { position: absolute; inset: 0; z-index: 70; overflow-y: auto; scrollbar-width: none; background: var(--lima); animation: abre .5s var(--out) both; }
#fiesta::before { content: ""; position: absolute; inset: 0; background: var(--trama-n) 0 0 / 150px; opacity: .05; pointer-events: none; }
@keyframes abre { from { clip-path: circle(0 at 50% 86%); } to { clip-path: circle(150% at 50% 86%); } }
.fi-in { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: calc(24px + var(--sat)) 22px 0; }
.fi-in > small { align-self: flex-start; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--ink); color: #fff; font: 800 11px/1 var(--fd); letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.fi-in h2 { margin-top: 12px; font: 900 32px/.94 var(--fd); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.025em; }
.fi-in h2 em { display: block; font-size: 1.1em; }
.fi-p { margin-top: 10px; font: 600 13px/1.3 var(--fd); }
.fi-c { display: flex; align-items: flex-end; gap: 8px; margin: 2px 0 4px; color: var(--ink); }
.fi-c .cono { flex: 0 0 38%; width: 38%; }
.fi-n { padding-bottom: 34px; }
.fi-n b { display: block; font: 900 46px/1 var(--fd); font-stretch: 112%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fi-n span { display: block; margin-top: 4px; font: 800 12px/1.2 var(--fd); letter-spacing: .05em; text-transform: uppercase; }
.fi-l { background: var(--papel); border-radius: 24px; padding: 4px 16px 14px; margin-bottom: 8px; box-shadow: 0 6px 0 var(--lima-o); }
.fi-l li { animation: sube .5s var(--out) both; animation-delay: calc(.5s + var(--i) * .12s); font-size: 13px; }
.fi-l li > b { background: var(--ink); color: var(--lima); }
.fi-l li span b { font-weight: 800; }
.fi-l .bo { flex: none; width: 34px; }
.fi-b { position: sticky; bottom: 0; z-index: 3; margin: auto -22px 0; padding: 26px 22px calc(18px + var(--sab)); display: flex; flex-direction: column; align-items: center; gap: 10px; background: linear-gradient(rgba(168, 216, 58, 0), var(--lima) 30%); }
.fi-conf { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fi-conf i { position: absolute; left: calc(var(--x) * 1%); top: -20px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); animation: cae-c 1.5s calc(.15s + var(--d) * 1s) cubic-bezier(.3, .2, .6, 1) both; }
@keyframes cae-c { to { transform: translateY(105vh) rotate(calc(var(--r) * 1deg)); } }

/* la bocha que cae sobre el cucurucho */
.cae { transform-box: fill-box; transform-origin: 50% 100%; animation: cae .62s calc(.25s + var(--i) * .16s) both; }
@keyframes cae {
  0% { transform: translateY(-460px) scale(.92, 1.1); opacity: 0; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  8% { opacity: 1; }
  58% { transform: translateY(0) scale(1.16, .8); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  78% { transform: translateY(-6px) scale(.95, 1.07); }
  100% { transform: none; }
}

/* ───── barra, pedido flotante, aviso ───── */
#nav { position: absolute; left: 50%; bottom: calc(12px + var(--sab)); z-index: 40; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 99px; background: var(--negro); transform: translateX(-50%); box-shadow: 0 6px 0 rgba(0, 0, 0, .3), 0 18px 30px -12px rgba(0, 0, 0, .55); }
#nav button { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; height: 54px; min-width: 58px; padding: 0 17px; border-radius: 99px; color: rgba(255, 255, 255, .62); font: 800 13px/1 var(--fd); transition: background .25s, color .25s, padding .25s; }
#nav button svg { width: 23px; height: 23px; flex: none; }
#nav button .cono { width: auto; height: 40px; margin: -4px 0 0; }
#nav button span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .3s var(--out), opacity .2s, margin .3s; }
#nav button.on { background: var(--lima); color: var(--ink); padding: 0 18px 0 14px; }
#nav button.on span { max-width: 110px; margin-left: 8px; opacity: 1; }
#nav button u { position: absolute; right: 2px; top: -5px; display: grid; place-items: center; min-width: 28px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: var(--ink); font: 900 10.5px/1 var(--fd); text-decoration: none; font-variant-numeric: tabular-nums; box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
#nav button.nd:not(.on) .cono { filter: drop-shadow(0 0 0 #fff); }
#nav .nd .cono path:first-child, #nav .nd .cono rect { stroke: #fff; }
#nav .nd.on .cono path:first-child, #nav .nd.on .cono rect { stroke: var(--ink); }
#pill { position: absolute; left: 18px; right: 18px; bottom: calc(90px + var(--sab)); z-index: 39; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 8px; border-radius: 99px; background: var(--lima); color: var(--ink); box-shadow: 0 5px 0 var(--lima-o), 0 14px 22px -10px rgba(0, 0, 0, .5); font: 800 14px/1 var(--fd); }
#pill .pl-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--lima); font: 900 14px/1 var(--fd); font-variant-numeric: tabular-nums; }
#pill b { flex: 1; font-weight: 800; }
#pill .pl-t { font: 900 15px/1 var(--fd); font-variant-numeric: tabular-nums; }
#pill svg { width: 17px; height: 17px; }
#pill.pum { animation: salta .45s var(--spring); }
@keyframes salta { 0% { transform: scale(.9) translateY(10px); } }
#toast { position: absolute; left: 50%; top: calc(16px + var(--sat)); z-index: 90; max-width: 86%; padding: 12px 18px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 12.5px/1.2 var(--fd); text-align: center; transform: translate(-50%, -80px); opacity: 0; transition: transform .35s var(--spring), opacity .25s; pointer-events: none; box-shadow: 0 0 0 3px var(--lima); }
#toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ───── entrada ───── */
#intro { position: absolute; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--lima); clip-path: circle(150% at 50% 40%); transition: clip-path .6s cubic-bezier(.7, 0, .3, 1); overflow: hidden; }
#intro::before { content: ""; position: absolute; inset: 0; background: var(--trama-n) 0 0 / 150px; opacity: .06; transform: rotate(-8deg) scale(1.5); }
.in-s { position: relative; height: min(84dvh, 700px); overflow: visible; }
#intro .cae { animation-duration: .6s; animation-delay: calc(.12s + var(--i) * .15s); }
#intro.fuera { clip-path: circle(0 at 50% 30%); }

/* pantallas angostas */
@container (max-width: 359px) {
  .tol-l { width: 86px; height: 86px; margin-left: -43px; top: calc(26px + var(--sat)); }
  .vit-h h2 { font-size: 21px; } .hi { font-size: 23px; }
  .ban { grid-template-columns: 30% 1fr; padding: 10px 10px 14px; }
  .ban .opt button { font-size: 11px; }
  .nv { padding-right: 36%; } .nv h3 { font-size: 18px; }
  .sc { padding: 24px 24px 50px; } .sc h4 { font-size: 16px; }
  .cn { width: 88%; padding-left: 21%; padding-right: 21%; } .cn h4 { font-size: 16px; }
  .inv { flex-direction: column; align-items: flex-start; }
  .cred-q { width: 96px; height: 96px; }
  #nav button { min-width: 50px; padding: 0 13px; } #nav button.on { padding: 0 14px 0 11px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }
