/* Los Locos de 30 — carta online (v3 · 25/11/2026). La ve el cliente en el celu: acá manda la marca.
   Chocolate y amarillo medidos del logo, crema de pan con semillas de sésamo en el fondo (no hay fondos lisos),
   títulos en Archivo ancha, pesada y en itálica como las letras del logo, tarjetas blancas con sombra que se ve. */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-italic.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
:root {
  --choco: #3B0A03; --choco-2: #57190A; --choco-3: #7A2E12;
  --sol: #FCD523; --sol-2: #EEC10E; --sol-3: #FFE66B;
  --crema: #FFF8E7; --crema-2: #FBEDCB; --pan: #F3DFAE;
  --tinta: #24120A; --tinta-2: #6B594C; --tinta-3: #A39384; --linea: #F0E3C6;
  --ok: #178A46; --wa: #1FAA59; --wa-2: #178F4A; --mal: #B3261E;
  --sombra: 0 12px 28px rgba(59, 10, 3, .12), 0 2px 6px rgba(59, 10, 3, .08);
  --sombra-2: 0 18px 44px rgba(59, 10, 3, .22), 0 4px 10px rgba(59, 10, 3, .12);
  --sesamo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23E9D29A' fill-opacity='.5'%3E%3Cellipse cx='22' cy='30' rx='5' ry='2.6' transform='rotate(28 22 30)'/%3E%3Cellipse cx='96' cy='18' rx='5' ry='2.6' transform='rotate(-34 96 18)'/%3E%3Cellipse cx='150' cy='58' rx='5' ry='2.6' transform='rotate(62 150 58)'/%3E%3Cellipse cx='60' cy='84' rx='5' ry='2.6' transform='rotate(-12 60 84)'/%3E%3Cellipse cx='124' cy='118' rx='5' ry='2.6' transform='rotate(40 124 118)'/%3E%3Cellipse cx='28' cy='136' rx='5' ry='2.6' transform='rotate(-52 28 136)'/%3E%3Cellipse cx='84' cy='158' rx='5' ry='2.6' transform='rotate(18 84 158)'/%3E%3Cellipse cx='166' cy='160' rx='5' ry='2.6' transform='rotate(-26 166 160)'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Archivo', system-ui, sans-serif; font-size: 16px; line-height: 1.35; color: var(--tinta); -webkit-font-smoothing: antialiased;
  background: var(--choco) repeating-radial-gradient(circle at 50% 0, rgba(252, 213, 35, 0) 0, rgba(252, 213, 35, 0) 118px, rgba(252, 213, 35, .06) 118px, rgba(252, 213, 35, .06) 120px); background-attachment: fixed; }
body.con-hoja { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { display: block; }
#carta { position: relative; max-width: 520px; min-height: 100vh; margin: 0 auto; padding-bottom: 104px; background: var(--crema) var(--sesamo); box-shadow: 0 0 80px rgba(0, 0, 0, .55); overflow-x: clip; }

.cinta { background: var(--sol); color: var(--choco); font-size: 12.5px; font-weight: 800; text-align: center; padding: 5px 10px; position: relative; z-index: 3; }

/* ---------- cabecera ---------- */
.hero { position: relative; color: #fff; padding: 26px 20px 62px; overflow: hidden;
  background: radial-gradient(120% 90% at 12% 18%, #7A2E12 0, rgba(122, 46, 18, 0) 55%), var(--choco); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 72px 50%, rgba(252, 213, 35, 0) 0, rgba(252, 213, 35, 0) 70px, rgba(252, 213, 35, .1) 70px, rgba(252, 213, 35, .1) 71.5px); }
.hero::after { content: ''; position: absolute; left: -40px; top: -30px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 213, 35, .34), rgba(252, 213, 35, 0) 68%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.hero .logo { width: 104px; height: 104px; flex: none; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); animation: entra-logo .7s cubic-bezier(.2, 1.3, .4, 1) both; }
.hero .sobre { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .74); letter-spacing: .2px; }
.hero h1 { font-size: 35px; line-height: .95; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.8px; margin: 5px 0 11px; text-shadow: 0 3px 0 rgba(0, 0, 0, .28); }
.hero h1 em { color: var(--sol); font-style: italic; white-space: nowrap; }
.estado { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 27px; padding: 0 11px 0 9px; border-radius: 99px; font-weight: 800; font-size: 13px; }
.pill i { width: 9px; height: 9px; border-radius: 50%; }
.pill.abierta { background: #E7F7EC; color: #0E6B34; }
.pill.abierta i { background: #1FAA59; box-shadow: 0 0 0 0 rgba(31, 170, 89, .6); animation: late 1.8s infinite; }
.pill.cerrada { background: rgba(255, 255, 255, .14); color: #fff; }
.pill.cerrada i { background: var(--sol); }
.onda { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; z-index: 1; }
.onda path { fill: var(--crema); }
.hero.chico { padding: 20px 20px 54px; }
.hero.chico .logo { width: 76px; height: 76px; }
.hero.chico h1 { font-size: 31px; margin-bottom: 0; }

/* ---------- los tres pasos (tarjeta que se monta sobre la cabecera) ---------- */
.pasos { position: relative; z-index: 2; margin: -30px 16px 0; padding: 13px 8px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--sombra); animation: sube .55s .08s both; }
.pasos > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 4px; position: relative; }
.pasos > div + div::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--linea); }
.pasos b { width: 28px; height: 28px; border-radius: 50%; background: var(--sol); color: var(--choco); font-weight: 900; font-stretch: 110%; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 -3px 0 rgba(59, 10, 3, .16); }
.pasos span { font-size: 11.5px; line-height: 1.25; color: var(--tinta-2); }
.pasos strong { display: block; font-size: 14px; font-weight: 800; color: var(--tinta); }
.vuelve { display: flex; align-items: center; gap: 10px; margin: 14px 16px 0; padding: 12px 14px; background: var(--choco); color: #fff; border-radius: 14px; text-decoration: none; font-size: 14px; box-shadow: var(--sombra); }
.vuelve i { width: 10px; height: 10px; border-radius: 50%; background: var(--sol); flex: none; animation: late-sol 1.6s infinite; }
.vuelve span { flex: 1; }
.vuelve em { font-style: normal; font-weight: 800; color: var(--sol); white-space: nowrap; }

/* ---------- secciones ---------- */
.cats { position: sticky; top: 0; z-index: 4; margin-top: 16px; background: rgba(255, 248, 231, .93); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.cats-in { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.cats-in::-webkit-scrollbar { display: none; }
.cats button { flex: none; height: 38px; padding: 0 16px; border-radius: 99px; background: #fff; border: 1.5px solid var(--linea); font-weight: 700; font-size: 14.5px; color: var(--tinta-2); white-space: nowrap; transition: background .15s, color .15s, transform .15s; }
.cats button.on { background: var(--choco); border-color: var(--choco); color: var(--sol); box-shadow: 0 6px 14px rgba(59, 10, 3, .22); }
.cats button:active { transform: scale(.96); }
.sec { padding: 22px 16px 2px; scroll-margin-top: 62px; }
.sec h2 { font-size: 27px; font-weight: 900; font-style: italic; font-stretch: 122%; letter-spacing: -.6px; color: var(--choco); margin-bottom: 14px; line-height: 1; }
.sec h2 span { background: linear-gradient(transparent 62%, var(--sol) 62%, var(--sol) 94%, transparent 94%); padding: 0 6px 0 2px; }

/* ---------- productos ---------- */
.prod { position: relative; display: grid; grid-template-columns: 1fr 116px; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px 12px 14px 16px; margin-bottom: 14px; background: #fff; border-radius: 20px; box-shadow: var(--sombra); transition: transform .16s, box-shadow .16s; animation: sube .5s both; animation-delay: calc(min(var(--i, 0), 8) * 55ms + .12s); }
.prod:active { transform: scale(.985); box-shadow: 0 5px 14px rgba(59, 10, 3, .12); }
.prod h3 { font-size: 18px; font-weight: 800; font-stretch: 104%; letter-spacing: -.2px; line-height: 1.12; }
.prod p { font-size: 13.5px; color: var(--tinta-2); margin-top: 5px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod .pie { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; }
.precio { font-size: 20px; font-weight: 900; font-stretch: 108%; color: var(--choco); font-variant-numeric: tabular-nums; }
.arma { font-size: 11.5px; font-weight: 700; color: var(--choco-3); }
.prod .ft { position: relative; width: 116px; height: 116px; }
.prod .ft img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; background: var(--crema-2); box-shadow: 0 6px 14px rgba(59, 10, 3, .16); }
.prod.sinft { grid-template-columns: 1fr 52px; padding: 14px 14px 14px 16px; }
.prod.sinft::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 5px; border-radius: 0 5px 5px 0; background: var(--sol); }
.ft0 { display: flex; align-items: center; justify-content: flex-end; }
.ft0 .sumar { position: static; border-color: var(--crema); }
.tag.fija { position: static; white-space: nowrap; margin-left: -70px; }
.sumar { position: absolute; right: -6px; bottom: -8px; width: 42px; height: 42px; border-radius: 50%; background: var(--sol); color: var(--choco); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(59, 10, 3, .28); }
.sumar svg { width: 20px; height: 20px; }
.tag { position: absolute; left: 8px; top: 8px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; background: var(--choco); color: #fff; }
.prod.agotado .ft img { filter: grayscale(1) contrast(.9); opacity: .6; }
.prod.agotado h3, .prod.agotado .precio { color: var(--tinta-3); }
.prod.grande { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: visible; }
.prod.grande .ft { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.prod.grande .ft img { border-radius: 20px 20px 0 0; box-shadow: none; }
.prod.grande .tx { padding: 14px 64px 16px 16px; }
.prod.grande h3 { font-size: 22px; font-weight: 900; font-style: italic; font-stretch: 118%; letter-spacing: -.4px; }
.prod.grande .sumar { right: 14px; bottom: -24px; width: 52px; height: 52px; }
.prod.grande .sumar svg { width: 24px; height: 24px; }
.vacio { margin: 30px 16px; padding: 26px; text-align: center; background: #fff; border-radius: 18px; box-shadow: var(--sombra); color: var(--tinta-2); }

/* ---------- pie ---------- */
.pie-pag { margin-top: 30px; padding: 46px 20px 34px; text-align: center; color: rgba(255, 255, 255, .78); font-size: 13.5px; line-height: 1.6; position: relative;
  background: var(--choco) repeating-radial-gradient(circle at 50% 0, rgba(252, 213, 35, 0) 0, rgba(252, 213, 35, 0) 58px, rgba(252, 213, 35, .08) 58px, rgba(252, 213, 35, .08) 59.5px); border-radius: 28px 28px 0 0; margin-bottom: -104px; padding-bottom: 130px; }
.pie-pag img { width: 84px; height: 84px; margin: -88px auto 8px; display: block; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
.pie-pag .lema { font-size: 20px; font-weight: 900; font-style: italic; font-stretch: 122%; color: var(--sol); margin-bottom: 4px; }
.pie-pag a { color: #fff; font-weight: 700; }
.pie-pag .chico { font-size: 12.5px; color: rgba(255, 255, 255, .58); margin-top: 6px; }

/* ---------- barra del pedido (flota abajo) ---------- */
.barra { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: min(488px, calc(100% - 28px)); transform: translate(-50%, 160%); transition: transform .32s cubic-bezier(.2, 1.1, .3, 1); z-index: 8; }
.barra.hay { transform: translate(-50%, 0); }
.barra.salto button { animation: salto .45s; }
.barra button { width: 100%; height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 20px 0 12px; border-radius: 20px; background: var(--choco); color: #fff; border: 1.5px solid rgba(252, 213, 35, .45); box-shadow: var(--sombra-2), inset 0 -4px 0 rgba(0, 0, 0, .28); }
.barra .cuenta { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 99px; background: var(--sol); color: var(--choco); font-weight: 900; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.barra .tx { flex: 1; text-align: left; font-weight: 800; font-size: 16.5px; }
.barra b { color: var(--sol); font-weight: 900; font-stretch: 110%; font-size: 19px; font-variant-numeric: tabular-nums; }
#tostada { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); max-width: min(440px, calc(100% - 40px)); background: var(--tinta); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 30; text-align: center; }
#tostada.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- hojas ---------- */
#hoja .velo { position: fixed; inset: 0; background: rgba(36, 14, 6, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; z-index: 20; }
#hoja .panel { position: fixed; left: 50%; bottom: 0; width: min(520px, 100%); max-height: 94vh; overflow-y: auto; overscroll-behavior: contain; background: var(--crema) var(--sesamo); border-radius: 26px 26px 0 0; transform: translate(-50%, 104%); transition: transform .3s cubic-bezier(.2, .9, .3, 1); z-index: 21; box-shadow: 0 -20px 50px rgba(0, 0, 0, .35); }
#hoja.on .velo { opacity: 1; }
#hoja.on .panel { transform: translate(-50%, 0); }
.cerrar { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--choco); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); z-index: 2; }
.cerrar svg { width: 20px; height: 20px; }
.cerrar.en-linea { position: static; box-shadow: var(--sombra); flex: none; }
.p-foto { aspect-ratio: 16 / 11; background: var(--crema-2); }
.p-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px 26px 0 0; display: block; }
.p-cuerpo.sinft { padding-top: 24px; }
.p-cuerpo.sinft h2 { padding-right: 52px; }
.p-cuerpo { padding: 18px 18px 6px; }
.p-cuerpo h2 { font-size: 27px; font-weight: 900; font-style: italic; font-stretch: 120%; letter-spacing: -.5px; color: var(--choco); line-height: 1.02; }
.desc { color: var(--tinta-2); font-size: 15px; margin-top: 6px; }
.p-precio { font-size: 24px; font-weight: 900; font-stretch: 108%; color: var(--choco); margin-top: 8px; }
.grupo { margin-top: 18px; }
h4 { font-size: 14px; font-weight: 800; color: var(--tinta); margin-bottom: 9px; }
.extra { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; margin-bottom: 8px; background: #fff; border-radius: 14px; border: 1.5px solid var(--linea); cursor: pointer; transition: border-color .15s, background .15s; }
.extra input { position: absolute; opacity: 0; pointer-events: none; }
.extra .caja { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--pan); display: flex; align-items: center; justify-content: center; color: transparent; flex: none; transition: background .15s, border-color .15s; }
.extra .caja svg { width: 17px; height: 17px; }
.extra .n { flex: 1; font-weight: 700; }
.extra b { font-weight: 800; color: var(--choco-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.extra input:checked ~ .caja { background: var(--sol); border-color: var(--sol-2); color: var(--choco); }
.extra input:checked ~ .n { color: var(--choco); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 15px; border-radius: 99px; background: #fff; border: 1.5px solid var(--linea); font-weight: 700; font-size: 14.5px; transition: background .15s, color .15s; }
.chip::first-letter { text-transform: uppercase; }
.chip.fuera { background: var(--choco); border-color: var(--choco); color: rgba(255, 255, 255, .7); text-decoration: line-through; text-decoration-color: var(--sol); text-decoration-thickness: 2px; }
.chip.fuera::before { content: 'sin'; text-decoration: none; display: inline-block; color: var(--sol); font-weight: 800; margin-right: 5px; }
.chip.fuera::first-letter { text-transform: none; }
input[type=text], input[type=tel] { width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--linea); background: #fff; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus { border-color: var(--choco); box-shadow: 0 0 0 4px rgba(252, 213, 35, .5); }
input::placeholder { color: var(--tinta-3); }
.p-pie { position: sticky; bottom: 0; display: flex; gap: 12px; padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px)); margin-top: 16px; background: linear-gradient(rgba(255, 248, 231, 0), var(--crema) 26%); }
.cant { display: flex; align-items: center; height: 56px; background: #fff; border-radius: 16px; border: 1.5px solid var(--linea); box-shadow: var(--sombra); flex: none; }
.cant button { width: 46px; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--choco); }
.cant button svg { width: 18px; height: 18px; }
.cant span { min-width: 24px; text-align: center; font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; }
.cant.chica { height: 40px; border-radius: 12px; box-shadow: none; }
.cant.chica button { width: 34px; }
.cant.chica button svg { width: 14px; height: 14px; }
.cant.chica span { font-size: 15.5px; min-width: 18px; }
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 22px; flex: 1; border-radius: 16px; background: var(--sol); color: var(--choco); font-weight: 900; font-stretch: 104%; font-size: 17px; text-decoration: none; box-shadow: 0 10px 22px rgba(238, 193, 14, .45), inset 0 -4px 0 rgba(59, 10, 3, .16); transition: transform .12s, filter .12s; }
.boton b { font-variant-numeric: tabular-nums; }
.boton:active { transform: translateY(2px) scale(.99); filter: brightness(.96); }
.boton.ancho { width: 100%; }
.boton.wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px rgba(31, 170, 89, .38), inset 0 -4px 0 rgba(0, 0, 0, .16); }
.boton.wa svg { width: 24px; height: 24px; flex: none; }
.boton.claro { background: #fff; box-shadow: var(--sombra); margin-top: 10px; }
.boton.espera { opacity: .7; pointer-events: none; }
.boton:disabled { opacity: .6; }

/* ---------- el pedido ---------- */
#ped-in { padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
.ped-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ped-cab h2 { font-size: 28px; font-weight: 900; font-style: italic; font-stretch: 122%; letter-spacing: -.6px; color: var(--choco); }
.reng { background: #fff; border-radius: 18px; box-shadow: var(--sombra); padding: 4px 14px; }
.reng li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.reng li + li { border-top: 1px solid var(--linea); }
.reng .qn { flex: 1; min-width: 0; }
.reng .qn b { display: block; font-weight: 800; font-size: 15.5px; line-height: 1.2; }
.reng .qn small { display: block; font-size: 12.5px; color: var(--tinta-2); margin-top: 2px; line-height: 1.3; }
.reng .pr { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seguir { display: flex; align-items: center; gap: 6px; margin: 12px 2px 0; font-weight: 800; font-size: 14.5px; color: var(--choco-3); }
.seguir svg { width: 15px; height: 15px; }
#ped-in h4 { margin: 22px 0 9px; font-size: 15px; }
.entrega { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.entrega button { text-align: left; padding: 13px 13px 12px; border-radius: 16px; background: #fff; border: 2px solid var(--linea); display: flex; flex-direction: column; gap: 3px; transition: border-color .15s, box-shadow .15s; }
.entrega button svg { width: 26px; height: 26px; color: var(--choco-3); margin-bottom: 4px; }
.entrega button b { font-weight: 800; font-size: 15px; line-height: 1.15; }
.entrega button small { font-size: 12.5px; color: var(--tinta-2); line-height: 1.25; }
.entrega button.on { border-color: var(--choco); box-shadow: 0 0 0 4px rgba(252, 213, 35, .55), var(--sombra); }
.entrega button.on svg { color: var(--choco); }
.entrega button:disabled { opacity: .55; }
.campos label { display: block; font-size: 13.5px; font-weight: 700; color: var(--tinta-2); margin-bottom: 11px; }
.campos label span { font-weight: 500; }
.campos input { margin-top: 5px; }
.cuenta-fin { margin-top: 8px; padding: 12px 16px; background: #fff; border-radius: 16px; box-shadow: var(--sombra); }
.cuenta-fin > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.cuenta-fin .tot { margin-top: 5px; padding-top: 10px; border-top: 1px dashed var(--pan); color: var(--tinta); font-weight: 800; align-items: baseline; }
.cuenta-fin .tot b { font-size: 26px; font-weight: 900; font-stretch: 110%; color: var(--choco); }
.nota-caja { display: flex; gap: 10px; margin: 14px 0; padding: 13px 14px; background: var(--crema-2); border-radius: 14px; font-size: 13.5px; line-height: 1.4; color: var(--choco-2); }
.nota-caja svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.nota-caja.cerrada { display: block; background: var(--choco); color: rgba(255, 255, 255, .85); margin-top: 18px; }
.nota-caja.cerrada b { color: var(--sol); display: block; margin-bottom: 2px; }
.error { color: var(--mal); font-weight: 700; font-size: 14px; min-height: 4px; margin-bottom: 8px; }
.error:empty { margin: 0; }

/* ---------- cómo va mi pedido ---------- */
.e-cuerpo { padding: 0 16px 20px; margin-top: -26px; position: relative; z-index: 2; }
.e-tarj { background: #fff; border-radius: 22px; box-shadow: var(--sombra-2); padding: 20px 18px; animation: sube .5s both; }
.e-sobre { font-size: 12.5px; font-weight: 800; color: var(--choco-3); letter-spacing: .2px; margin-bottom: 6px; }
.e-tarj h2 { font-size: 23px; font-weight: 900; font-stretch: 106%; letter-spacing: -.4px; line-height: 1.12; color: var(--choco); }
.e-tarj h2 b { background: linear-gradient(transparent 58%, var(--sol) 58%, var(--sol) 94%, transparent 94%); padding: 0 3px; white-space: nowrap; }
.alias { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; padding: 13px 12px 13px 15px; background: var(--crema); border: 1.5px dashed var(--pan); border-radius: 16px; }
.alias > div { flex: 1; min-width: 0; }
.alias small { display: block; font-size: 12px; font-weight: 700; color: var(--tinta-2); }
.alias b { display: block; font-size: 19px; font-weight: 900; color: var(--choco); word-break: break-all; line-height: 1.2; }
.alias span { font-size: 12.5px; color: var(--tinta-2); }
.alias.sin span { font-size: 13.5px; }
.alias button { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 13px; border-radius: 12px; background: var(--choco); color: var(--sol); font-weight: 800; font-size: 14px; }
.alias button svg { width: 18px; height: 18px; }
.alias button.ok { background: var(--ok); color: #fff; }
.e-chico { font-size: 13.5px; color: var(--tinta-2); margin-top: 12px; line-height: 1.42; }
.e-tarj.numero { text-align: center; background: var(--choco); color: #fff; overflow: hidden; position: relative; }
.e-tarj.numero::before { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 54%, rgba(252, 213, 35, 0) 0, rgba(252, 213, 35, 0) 62px, rgba(252, 213, 35, .1) 62px, rgba(252, 213, 35, .1) 63.5px); pointer-events: none; }
.e-tarj.numero > * { position: relative; }
.e-tarj.numero .e-sobre { color: var(--sol); }
.e-tarj.numero .e-chico { color: rgba(255, 255, 255, .8); }
.e-tarj.numero h2 { color: #fff; }
.nro small { display: block; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.nro b { display: block; font-size: 116px; line-height: 1; font-weight: 900; font-style: italic; font-stretch: 125%; color: var(--sol); letter-spacing: -4px; text-shadow: 0 6px 0 rgba(0, 0, 0, .3); margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.e-tarj.listo { background: var(--sol); color: var(--choco); animation: sube .5s both, festejo 1.4s .3s 2; }
.e-tarj.listo::before { background: repeating-radial-gradient(circle at 50% 54%, rgba(59, 10, 3, 0) 0, rgba(59, 10, 3, 0) 62px, rgba(59, 10, 3, .08) 62px, rgba(59, 10, 3, .08) 63.5px); }
.e-tarj.listo .e-sobre, .e-tarj.listo .nro small, .e-tarj.listo .e-chico, .e-tarj.listo h2 { color: var(--choco); }
.e-tarj.listo .nro b { color: #fff; -webkit-text-stroke: 3px var(--choco); text-shadow: 0 6px 0 rgba(59, 10, 3, .35); }
.e-tarj.fin .boton { margin-top: 16px; }
.e-tarj.fin.mal h2 { color: var(--mal); }
.linea { margin: 18px 4px 4px; padding: 0 4px; }
.linea li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.linea li:last-child { padding-bottom: 4px; }
.linea li::before { content: ''; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--pan); }
.linea li:last-child::before { display: none; }
.linea li.hecho::before { background: var(--choco); }
.linea i { width: 30px; height: 30px; border-radius: 50%; background: var(--crema-2); border: 2px solid var(--pan); flex: none; display: flex; align-items: center; justify-content: center; color: var(--sol); position: relative; z-index: 1; }
.linea i svg { width: 16px; height: 16px; }
.linea li.hecho i { background: var(--choco); border-color: var(--choco); }
.linea li.activo i { background: var(--sol); border-color: var(--choco); animation: late-sol 1.6s infinite; }
.linea b { display: block; font-weight: 800; font-size: 15.5px; color: var(--tinta-3); line-height: 1.25; }
.linea span { display: block; font-size: 13px; color: var(--tinta-3); }
.linea li.hecho b, .linea li.activo b { color: var(--tinta); }
.linea li.activo span { color: var(--choco-3); font-weight: 700; }
.linea li.hecho span { color: var(--tinta-2); }
.detalle { margin-top: 14px; background: #fff; border-radius: 18px; box-shadow: var(--sombra); padding: 0 16px; }
.detalle summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-weight: 800; cursor: pointer; list-style: none; }
.detalle summary::-webkit-details-marker { display: none; }
.detalle summary b { color: var(--choco); font-variant-numeric: tabular-nums; }
.detalle li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linea); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.detalle li small { display: block; font-size: 12.5px; color: var(--tinta-2); }
.volver { display: block; text-align: center; margin-top: 18px; font-weight: 800; color: var(--choco-3); }

/* ---------- cargando y avisos ---------- */
.cargando, .aviso-total { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; color: var(--tinta-2); margin-bottom: -104px; }
.giro { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--pan); border-top-color: var(--choco); animation: gira .8s linear infinite; }
.aviso-total img { width: 110px; height: 110px; }
.aviso-total h1 { font-size: 24px; font-weight: 900; font-style: italic; font-stretch: 118%; color: var(--choco); }
.aviso-total .boton { flex: none; margin-top: 6px; }

@keyframes sube { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes entra-logo { from { opacity: 0; transform: scale(.6) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes late { 0% { box-shadow: 0 0 0 0 rgba(31, 170, 89, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31, 170, 89, 0); } }
@keyframes late-sol { 0% { box-shadow: 0 0 0 0 rgba(252, 213, 35, .75); } 70%, 100% { box-shadow: 0 0 0 11px rgba(252, 213, 35, 0); } }
@keyframes salto { 0%, 100% { transform: none; } 35% { transform: translateY(-9px) scale(1.02); } 70% { transform: translateY(2px); } }
@keyframes festejo { 0%, 100% { transform: none; } 50% { transform: scale(1.025) rotate(-.6deg); } }
@keyframes gira { to { transform: rotate(360deg); } }
.quieto .prod, .quieto .pasos, .quieto .hero .logo { animation: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 360px) { .hero h1 { font-size: 30px; } .hero .logo { width: 88px; height: 88px; } .prod { grid-template-columns: 1fr 100px; } .prod .ft { width: 100px; height: 100px; } }
@media (min-width: 560px) { #carta { margin: 22px auto; border-radius: 30px; min-height: calc(100vh - 44px); overflow: clip; } .cats { top: 0; } }

/* v4: cómo paga (en el pedido) y los pasos del pago (en "cómo va mi pedido") */
.pagos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pagos button { text-align: left; padding: 13px 13px 12px; border-radius: 16px; background: #fff; border: 2px solid var(--linea); display: flex; flex-direction: column; gap: 3px; transition: border-color .15s, box-shadow .15s; }
.pagos button svg { width: 26px; height: 26px; color: var(--choco-3); margin-bottom: 4px; }
.pagos button b { font-weight: 800; font-size: 15px; line-height: 1.15; }
.pagos button small { font-size: 12.5px; color: var(--tinta-2); line-height: 1.25; }
.pagos button.on { border-color: var(--choco); box-shadow: 0 0 0 4px rgba(252, 213, 35, .55), var(--sombra); }
.pagos button.on svg { color: var(--choco); }
.pagos button:disabled { opacity: .55; }
.pasos-pago { list-style: none; margin: 16px 0 0; }
.pasos-pago > li { display: flex; gap: 12px; padding: 14px 0; border-top: 1.5px solid var(--linea); }
.pasos-pago > li:last-child { padding-bottom: 2px; }
.pasos-pago > li > b { width: 28px; height: 28px; border-radius: 50%; background: var(--choco); color: var(--sol); display: flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 900; flex: none; }
.pasos-pago > li > div { flex: 1; min-width: 0; }
.pasos-pago strong { display: block; font-size: 16px; font-weight: 800; color: var(--choco); line-height: 1.7; }
.pasos-pago p { font-size: 13.5px; color: var(--tinta-2); line-height: 1.42; }
.pasos-pago .alias { margin: 8px 0 0; }
.pasos-pago .boton { margin-top: 12px; }
.pasos-pago .falta-wa { margin-top: 6px; padding: 12px 14px; border-radius: 14px; background: var(--crema-2); color: var(--choco-2); }
.alias.cod b { font-size: 30px; font-stretch: 106%; letter-spacing: .5px; }

/* ---------- v7 (27/11/2026): efectivo = se prepara cuando lo pagás; "tu pedido está en 15 minutos" ---------- */
.aviso-ef { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; padding: 14px 15px; background: var(--choco); color: #fff; border-radius: 16px; }
.aviso-ef svg { width: 26px; height: 26px; flex: none; color: var(--sol); margin-top: 1px; }
.aviso-ef b { display: block; font-size: 17px; font-weight: 900; line-height: 1.2; color: var(--sol); }
.aviso-ef span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.e-tarj.pago.ef { border: 2px solid var(--choco); }
.e-tarj.pago.ef h2 { font-size: 25px; }
.e-monto { margin-top: 10px; font-size: 16px; color: var(--tinta); }
.e-monto b { font-weight: 900; color: var(--choco); }
.e-listo { margin: 4px 0 14px; font-size: 20px; font-weight: 700; line-height: 1.2; color: #fff; }
.e-listo b { font-size: 30px; font-weight: 900; font-stretch: 106%; color: var(--sol); }
.e-listo span { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
@media (max-width: 380px) {
  .e-tarj.pago.ef h2 { font-size: 22px; }
  .e-listo b { font-size: 26px; }
}
/* v9: cuántas carnes: contador − 3 + (las que pidan). El número grande, al lado cómo se llama y cuánto suma */
h4 small { font-weight: 700; color: var(--tinta-2); font-size: 12.5px; margin-left: 4px; }
.suma { display: flex; align-items: stretch; height: 74px; background: #fff; border: 1.5px solid var(--linea); border-radius: 16px; overflow: hidden; }
.suma > button { flex: none; width: 68px; display: flex; align-items: center; justify-content: center; color: var(--choco); transition: opacity .15s, background .15s; }
.suma > button:first-child { border-right: 1.5px solid var(--linea); }
.suma > button:last-child { background: var(--sol); }
.suma > button:last-child:active { background: var(--sol-3); }
.suma > button svg { width: 22px; height: 22px; }
.suma > button:disabled { opacity: .28; }
.cuanta { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 0 8px; }
.cuanta b { font-size: 36px; font-weight: 900; font-stretch: 112%; line-height: 1; color: var(--choco); font-variant-numeric: tabular-nums; }
.cuanta div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cuanta span { font-size: 15px; font-weight: 800; color: var(--tinta); line-height: 1.15; }
.cuanta small { font-size: 13px; font-weight: 800; color: var(--choco-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 360px) { .suma > button { width: 58px; } .cuanta b { font-size: 31px; } .cuanta span { font-size: 14px; } }
