/*
 * OLYMPUS BURGERS · estilos
 * Colores sacados del menú impreso (PDF): turquesa #00afb4, amarillo #ffdf1e, naranja del sello #f7941d, tinta #231f20.
 * Para cambiar la paleta tocá solo las variables de :root.
 * Diseño pensado primero para celular; los @media (min-width) lo llevan a tablet y escritorio.
 */
:root {
  --turq: #00afb4;
  --turq-d: #007c81;      /* turquesa oscuro: texto sobre blanco */
  --turq-l: #d9f4f5;      /* turquesa claro: fondos suaves */
  --yel: #ffdf1e;
  --orange: #f7941d;
  --ink: #231f20;
  --white: #fff;
  --wa: #0f8a4a;
  --display: 'Cinzel', 'Trajan Pro', Georgia, 'Times New Roman', serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --cartw: 392px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lock, html.lock body { overflow: hidden; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.4; color: var(--ink); background: var(--turq);
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--yel); color: var(--ink); padding: 10px 14px; font-weight: 800; border-radius: 10px; }
.skip:focus { top: 8px; }
.mini { font-size: 13px; opacity: .85; }

/* ---------- Rayos de fondo (sutiles; solo opacity/transform) ---------- */
.bg-bolts { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bolt { position: absolute; width: 86px; opacity: 0; transform: rotate(var(--r)); animation: bolt 11s infinite; }
@keyframes bolt { 0%, 84%, 100% { opacity: 0; } 86% { opacity: .22; } 88% { opacity: .05; } 90% { opacity: .26; } 94% { opacity: 0; } }

.page { position: relative; z-index: 1; padding-bottom: calc(96px + var(--safe-b)); }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 18px 16px 14px; overflow: hidden; }
.hero-in { position: relative; max-width: 640px; margin: 0 auto; }
.hero-logo { width: min(170px, 44vw); height: auto; margin: 0 auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28)); animation: float 5.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-7px) rotate(1.2deg); } }
.wordmark { display: flex; flex-direction: column; align-items: center; margin-top: 10px; line-height: 1; }
.wm-top { font-family: var(--display); font-weight: 900; color: #fff; font-size: clamp(42px, 13vw, 84px); letter-spacing: .03em; text-shadow: 3px 3px 0 rgba(35, 31, 32, .22); }
.wm-bar { background: var(--yel); color: var(--ink); font-family: var(--display); font-weight: 800; letter-spacing: .42em; padding: 4px 4px 4px 18px; font-size: clamp(16px, 4.6vw, 26px); margin-top: 6px; }
.tagline { font-family: var(--display); font-weight: 800; font-size: clamp(17px, 4.8vw, 24px); margin-top: 12px; color: var(--ink); }
.sub { font-weight: 700; margin-top: 4px; max-width: 34em; margin-inline: auto; }
.quote { margin: 12px auto 0; font-size: 15px; max-width: 30em; min-height: 3.2em; font-style: italic; font-weight: 700; background: rgba(255, 255, 255, .92); border-radius: 14px; padding: 10px 14px; transition: opacity .4s, transform .4s; }
.quote cite { font-style: normal; font-family: var(--display); font-weight: 800; color: var(--turq-d); white-space: nowrap; }
.quote.out { opacity: 0; transform: translateY(6px); }
.estado { display: inline-block; margin-top: 12px; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.estado.open { background: var(--wa); }
.sello { position: absolute; right: -2px; top: 6px; width: 98px; height: 98px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, .3); display: grid; place-content: center; text-align: center; transform: rotate(11deg); animation: wobble 4s ease-in-out infinite; }
.sello span { font-family: var(--display); font-weight: 900; font-size: 19px; color: #fff; line-height: 1; text-shadow: 1px 1px 0 rgba(35, 31, 32, .35); }
.sello small { font-weight: 800; font-size: 10.5px; line-height: 1.1; margin-top: 3px; color: var(--ink); }
@keyframes wobble { 50% { transform: rotate(5deg) scale(1.05); } }

/* ---------- Chips de secciones ---------- */
.chips-wrap { position: sticky; top: 0; z-index: 30; background: var(--turq); box-shadow: 0 3px 0 rgba(35, 31, 32, .14); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; max-width: 980px; margin: 0 auto; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; text-decoration: none; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--ink); min-height: 40px; display: grid; place-items: center; transition: transform .15s, background .15s; }
.chips a:active { transform: scale(.95); }
.chips a.on { background: var(--yel); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- Secciones ---------- */
#menu { padding: 8px 16px 0; max-width: 980px; margin: 0 auto; outline: none; }
.sec { scroll-margin-top: 64px; padding-top: 26px; }
.sec-title { display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; box-shadow: 6px 6px 0 var(--yel); padding: 10px 16px; margin: 0 6px 0 0; }
.sec-title h2 { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 6.2vw, 34px); text-transform: uppercase; letter-spacing: .02em; }
.sec-ico { width: 34px; height: 34px; flex: none; }
.sec-ico svg { width: 100%; height: 100%; }
.sec-sub { text-align: center; font-weight: 800; margin: 14px 0 16px; font-size: 15px; }

.grid { display: grid; gap: 14px; }

/* tarjetas de dioses (mobile: horizontales y compactas) */
.card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: 0 5px 0 rgba(35, 31, 32, .22); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px) rotate(-.35deg); box-shadow: 0 10px 0 rgba(35, 31, 32, .2); }
.card:active { transform: scale(.985); }
.card.off { opacity: .6; }
.card-main { display: grid; grid-template-columns: 112px 1fr; gap: 12px; width: 100%; text-align: left; background: none; border: 0; padding: 12px 12px 54px; border-radius: var(--radius); }
.card-media { position: relative; display: block; width: 112px; height: 112px; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff, var(--turq-l)); }
.card-media .ph { width: 100%; height: 100%; object-fit: cover; }
.card-media .god { position: absolute; left: 4px; bottom: 4px; width: 42px; height: 42px; transition: transform .3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.card-media .god-big { position: static; width: 88%; height: 88%; margin: 6%; filter: none; }
.card:hover .god { transform: rotate(-10deg) scale(1.1); }
.chip-ico { position: absolute; right: 4px; top: 4px; width: 28px; height: 28px; background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.chip-ico svg { width: 100%; height: 100%; display: block; }
.tag { position: absolute; left: 4px; top: 4px; background: var(--yel); font-weight: 800; font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 2px solid var(--ink); text-transform: uppercase; }
.tag.inline { position: static; vertical-align: middle; font-family: var(--body); }
.sold { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(35, 31, 32, .66); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-top { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.card h3 { font-family: var(--display); font-weight: 900; font-size: 21px; text-transform: uppercase; line-height: 1.05; }
.price { background: var(--yel); font-weight: 800; padding: 2px 10px; border-radius: 999px; border: 2px solid var(--ink); white-space: nowrap; font-size: 15px; }
.price small { font-weight: 700; font-size: 11px; text-transform: uppercase; }
.ing { font-size: 14px; font-weight: 600; color: #3d3839; }
.frase { font-size: 13px; font-weight: 700; color: var(--turq-d); font-style: italic; }
.add { position: absolute; right: 12px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; background: var(--yel); border: 3px solid var(--ink); border-radius: 12px; font-weight: 800; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.add span[aria-hidden] { font-size: 20px; line-height: 1; margin-top: -2px; }
.add:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.add:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.add:disabled, .add-sm:disabled { opacity: .5; box-shadow: none; cursor: not-allowed; }

/* listas (extras / dips / bebidas) */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px 10px 8px 14px; box-shadow: 0 3px 0 rgba(35, 31, 32, .2); min-height: 56px; }
.row.off { opacity: .55; }
.row-name { flex: 1; font-weight: 800; display: flex; flex-direction: column; }
.row-name small { font-weight: 600; font-size: 12.5px; color: #4a4546; }
.row-price { font-weight: 800; font-family: var(--display); font-size: 17px; }
.add-sm { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 3px solid var(--ink); background: var(--yel); font-size: 24px; font-weight: 800; line-height: 1; box-shadow: 2px 2px 0 var(--ink); transition: transform .12s; }
.add-sm:active { transform: scale(.9); }
.row-tag { font-size: 12px; font-weight: 800; color: var(--turq-d); background: var(--turq-l); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.nuevo { background: var(--orange); color: #fff; font-size: 10.5px; padding: 1px 7px; border-radius: 999px; letter-spacing: .05em; vertical-align: middle; align-self: flex-start; width: fit-content; }

/* aparición al hacer scroll */
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise .55s var(--d, 0ms) cubic-bezier(.2, .8, .3, 1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* ---------- Pie ---------- */
.foot { text-align: center; padding: 40px 16px 16px; display: grid; gap: 6px; justify-items: center; }
.foot img { width: 72px; height: 72px; }
.foot a { color: var(--ink); font-weight: 800; }
.foot-links { display: flex; gap: 18px; }

/* ---------- Carrito ---------- */
.scrim { position: fixed; inset: 0; background: rgba(35, 31, 32, .5); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.cart { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 92dvh; display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .3); transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .3, 1); visibility: hidden; max-width: 640px; margin: 0 auto; }
.cart.open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--turq); border-radius: 22px 22px 0 0; border-bottom: 4px solid var(--yel); }
.cart-head h2 { font-family: var(--display); font-weight: 900; font-size: 22px; color: #fff; display: flex; align-items: center; gap: 10px; text-shadow: 2px 2px 0 rgba(35, 31, 32, .25); }
.x { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; font-size: 22px; line-height: 1; font-weight: 800; }
.bag { position: relative; display: inline-block; width: 38px; height: 38px; }
.bag svg { width: 100%; height: 100%; display: block; }
.count { position: absolute; right: -8px; top: -6px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 800; border-radius: 999px; border: 2px solid #fff; transform: scale(0); transition: transform .2s; text-shadow: none; }
.count.on { transform: scale(1); }
.cart-scroll { overflow-y: auto; padding: 14px 16px; flex: 1; overscroll-behavior: contain; }
.cart-foot { padding: 12px 16px calc(12px + var(--safe-b)); border-top: 2px solid #eee; background: #fff; }
.err { background: #fff3cd; border: 2px solid var(--orange); border-radius: 12px; padding: 8px 12px; font-size: 14px; margin-bottom: 10px; max-height: 26dvh; overflow: auto; }
.err ul { margin: 4px 0 0; padding-left: 18px; }

.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 8px; }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 2px dashed #e3e3e3; }
.line-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--turq); }
.line-name { font-size: 15px; font-weight: 700; }
.line-name b { font-family: var(--display); font-weight: 800; }
.line-sub { font-size: 13px; color: #4a4546; }
.line-warn { font-size: 13px; color: #b3261e; font-weight: 800; }
.line.bad { background: #fff0ef; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-price { font-weight: 800; }
.rm { background: none; border: 0; font-size: 12.5px; text-decoration: underline; color: var(--turq-d); font-weight: 700; padding: 6px 2px; min-height: 32px; }

.step { display: inline-flex; align-items: center; gap: 6px; }
.step button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 22px; line-height: 1; font-weight: 800; padding: 0; transition: transform .1s, background .1s; }
.step button:active { transform: scale(.88); background: var(--yel); }
.step button:disabled { opacity: .35; }
.step output { min-width: 26px; text-align: center; font-weight: 800; font-size: 17px; }
.step.sm button { width: 32px; height: 32px; font-size: 18px; }
.step.big button { width: 46px; height: 46px; }

.f-blk { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.f-blk legend { font-family: var(--display); font-weight: 900; font-size: 17px; padding: 0; margin-bottom: 6px; }
.fld { display: grid; gap: 4px; font-weight: 800; font-size: 14px; }
.fld em, .grp legend em { font-style: normal; font-weight: 600; font-size: 12px; opacity: .7; }
.fld input, .fld select, .nota textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 600; }
.fld input:focus, .fld select:focus, .nota textarea:focus { outline: 3px solid var(--turq); outline-offset: 0; }
.f-row { display: flex; gap: 10px; }
.f-row .grow { flex: 1; min-width: 0; }
.f-row .num { width: 96px; }
.f-sub { display: grid; gap: 10px; }
.seg, .pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label, .pay label { position: relative; }
.seg input, .pay input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span, .pay span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 8px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-size: 13.5px; line-height: 1.2; transition: background .15s, transform .15s; }
.seg input:checked + span, .pay input:checked + span { background: var(--yel); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.seg input:focus-visible + span, .pay input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg b, .pay b { font-family: var(--display); font-size: 16px; }
.off10 { font-style: normal; background: var(--orange); color: #fff; font-weight: 800; font-size: 12px; padding: 1px 8px; border-radius: 999px; margin-top: 2px; }
.transf { background: var(--turq-l); border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.alias { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 2px dashed var(--ink); border-radius: 12px; padding: 8px 10px; }
.alias span { display: flex; flex-direction: column; min-width: 0; }
.alias b { font-size: 18px; word-break: break-all; }
.btn-copy { min-height: 42px; padding: 0 16px; background: var(--ink); color: #fff; border: 0; border-radius: 10px; font-weight: 800; }
.c-totals { margin-top: 16px; display: grid; gap: 4px; padding: 12px 14px; background: #f6f6f6; border-radius: 14px; }
.c-totals div { display: flex; justify-content: space-between; gap: 10px; }
.c-totals .disc { color: var(--wa); font-weight: 800; }
.c-totals .envio b { font-size: 13.5px; }
.c-totals .grand { font-family: var(--display); font-weight: 900; font-size: 22px; border-top: 2px solid #ddd; padding-top: 6px; margin-top: 4px; }

.btn-send { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--wa); color: #fff; font-weight: 800; font-size: 17px; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn-send svg { width: 24px; height: 24px; }
.btn-send:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-send:disabled { opacity: .6; }

/* barra fija del carrito (celular/tablet) */
.cartbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 10px 18px calc(10px + var(--safe-b)); min-height: 66px; background: var(--yel); border: 0; border-top: 3px solid var(--ink); font-weight: 800; font-size: 17px; text-align: left; }
.cartbar .cb-txt { flex: 1; }
.cartbar .cb-total { font-family: var(--display); font-weight: 900; font-size: 20px; }
.cartbar:not(.has) { background: #fff; }

/* ---------- Panel de producto (dialog) ---------- */
dialog#prod { border: 0; padding: 0; background: #fff; color: var(--ink); width: 100%; max-width: 480px; max-height: 94dvh; margin: auto auto 0; border-radius: 22px 22px 0 0; overflow: hidden; }
dialog#prod[open] { animation: sheet .32s cubic-bezier(.2, .8, .3, 1); }
dialog#prod::backdrop { background: rgba(35, 31, 32, .6); }
@keyframes sheet { from { transform: translateY(60px); opacity: 0; } }
.sheet { display: flex; flex-direction: column; max-height: 94dvh; position: relative; }
.sheet .x { position: absolute; right: 12px; top: 12px; z-index: 3; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.sheet-media { position: relative; flex: none; height: min(250px, 38dvh); background: radial-gradient(circle at 50% 45%, #fff, var(--turq-l) 70%, #8fe3e6); }
.sheet-media > img:first-child { width: 100%; height: 100%; object-fit: contain; }
.sheet-media .god { position: absolute; left: 14px; bottom: -18px; width: 76px; height: 76px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
.sheet-media.badge { display: grid; place-items: center; }
.sheet-media.badge .god-big { position: static; width: 150px; height: 150px; filter: none; }
.sheet-body { overflow-y: auto; padding: 22px 16px 8px; flex: 1; overscroll-behavior: contain; }
.sheet-body h2 { font-family: var(--display); font-weight: 900; font-size: 28px; text-transform: uppercase; line-height: 1.05; padding-left: 0; }
.sheet-media:not(.badge) + .sheet-body h2 { padding-left: 74px; }
.sheet-body .ing { margin-top: 6px; }
.grp { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.grp legend { font-family: var(--display); font-weight: 800; font-size: 18px; padding: 0; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cnt { font-family: var(--body); font-size: 13px; font-weight: 800; background: #eee; border-radius: 999px; padding: 1px 10px; }
.cnt.ok { background: var(--turq-l); color: var(--turq-d); }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 2px solid #d9d9d9; border-radius: 14px; cursor: pointer; font-weight: 700; transition: border-color .15s, background .15s; }
.opt input { width: 22px; height: 22px; accent-color: var(--turq-d); flex: none; margin: 0; }
.opt .opt-t { flex: 1; }
.opt .opt-p { font-weight: 800; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--turq-l); }
.opt.off { opacity: .5; }
.opt-q { cursor: default; }
.xrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 8px 12px; border: 2px solid #d9d9d9; border-radius: 14px; transition: border-color .15s, background .15s; }
.xrow.on { border-color: var(--ink); background: var(--turq-l); }
.xrow.off { opacity: .5; }
.xn { font-weight: 800; display: flex; flex-direction: column; }
.xn small { font-weight: 700; color: #4a4546; }
.xs { grid-column: 1 / -1; min-height: 42px; border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; background: #fff; font-weight: 700; }
.nota { display: grid; gap: 6px; margin: 18px 0 8px; font-weight: 800; }
.nota em { font-style: normal; font-weight: 600; font-size: 12px; opacity: .7; }
.nota textarea { resize: vertical; min-height: 64px; }
.sheet-foot { flex: none; display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; padding: 12px 16px calc(12px + var(--safe-b)); border-top: 2px solid #eee; background: #fff; }
.hint { grid-column: 1 / -1; font-size: 13px; font-weight: 800; color: #b3261e; min-height: 0; }
.hint:empty { display: none; }
.btn-add { min-height: 52px; padding: 0 18px; background: var(--yel); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); font-weight: 800; font-size: 17px; transition: transform .12s, box-shadow .12s; }
.btn-add:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-add:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.btn-ghost { min-height: 48px; padding: 0 16px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; font-weight: 800; }

/* ---------- Mini-encuestas ---------- */
.poll-slot { display: flex; justify-content: center; min-height: 2px; }
.poll { position: relative; display: flex; gap: 10px; align-items: center; width: 100%; max-width: 480px; margin: 22px auto 0; padding: 8px 40px 8px 8px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--yel); font-size: 14px; opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .35s, transform .35s; }
.poll-slot.on .poll { opacity: 1; transform: none; }
.poll-god { width: 44px; height: 44px; flex: none; }
.poll-main { display: grid; gap: 6px; min-width: 0; }
.poll-q { font-weight: 800; line-height: 1.2; }
.poll-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.poll-opts button, .poll-add { min-height: 36px; padding: 0 12px; background: var(--turq-l); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 13px; text-align: left; transition: background .12s, transform .12s; }
.poll-opts button:hover { background: var(--yel); }
.poll-opts button:active { transform: scale(.95); }
.poll-add { background: var(--yel); font-weight: 800; justify-self: start; margin-top: 4px; }
.poll-react { font-weight: 700; line-height: 1.25; }
.poll-react.ok::before { content: '✔ '; color: var(--wa); font-weight: 900; }
.poll-react.no::before { content: '✖ '; color: #b3261e; font-weight: 900; }
.poll-x { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border: 0; background: none; font-size: 20px; line-height: 1; border-radius: 50%; opacity: .7; }
.poll-x:hover { opacity: 1; background: #eee; }

/* ---------- Capa de animaciones (nunca bloquea clics) ---------- */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.fx-el { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform, opacity; }
.fx-el svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fx-el i { display: block; width: 100%; height: 100%; }
.fx-flyer img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); background: #fff; }
.fx-dot i, .fx-ring i { border-radius: 50%; }
.fx-conf i { border-radius: 2px; }
.fx-flash { width: 100%; height: 100%; margin: 0; }
.fx-wave svg { height: 100%; }

/* ---------- Toast y ventana de pedido enviado ---------- */
#toast { position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translate(-50%, 20px); z-index: 90; background: var(--ink); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
.win { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; background: rgba(35, 31, 32, .6); opacity: 0; transition: opacity .3s; }
.win[hidden] { display: none; }
.win.on { opacity: 1; }
.win-card { background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--yel); padding: 24px 20px; max-width: 420px; text-align: center; display: grid; gap: 10px; justify-items: center; animation: popin .45s cubic-bezier(.2, 1.3, .4, 1); }
.win-card h2 { font-family: var(--display); font-weight: 900; font-size: 26px; }
.win-btns { display: grid; gap: 8px; width: 100%; margin-top: 6px; }
@keyframes popin { from { transform: scale(.7) rotate(-3deg); opacity: 0; } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .hero { padding-top: 36px; }
  .sello { width: 118px; height: 118px; right: 4%; top: 10px; }
  .sello span { font-size: 25px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card-main { grid-template-columns: 1fr; padding: 12px 12px 58px; }
  .card-media { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .card-media .god { width: 54px; height: 54px; left: 8px; bottom: 8px; }
  .card-media .god-big { width: 62%; height: auto; margin: 8% auto; }
  .card h3 { font-size: 23px; }
  .rows { grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
  dialog#prod { margin: auto; border-radius: 24px; max-height: 90dvh; }
  .sheet { max-height: 90dvh; }
  .sheet-media { height: 230px; }
  .cart { border-radius: 22px 22px 0 0; }
}

/* ---------- Escritorio: carrito siempre visible a la derecha ---------- */
@media (min-width: 1024px) {
  .page { padding-right: var(--cartw); padding-bottom: 40px; }
  .scrim, .cartbar { display: none; }
  .cart { top: 0; left: auto; right: 0; bottom: 0; width: var(--cartw); max-width: none; max-height: none; margin: 0; border-radius: 0; border-left: 4px solid var(--yel); transform: none; visibility: visible; box-shadow: -8px 0 30px rgba(0, 0, 0, .18); }
  .cart-head { border-radius: 0; }
  #cartClose { display: none; }
  #toast { bottom: 28px; left: calc(50% - var(--cartw) / 2); }
  .chips { justify-content: center; }
  .hero-logo { width: 230px; }
  .sello { right: 12%; }
}
@media (min-width: 1500px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  #menu { max-width: 1200px; }
  .chips { max-width: 1200px; }
}

/* ---------- Movimiento reducido: sin animaciones decorativas ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .bg-bolts { display: none; }
  .reveal:not(.in) { opacity: 1; }
}

/* ---------- Detalles de las animaciones ---------- */
.fx-streak i { border-radius: 4px; }
.fx-aura i { border-radius: 50%; }
.fx-wave { overflow: visible; }
.fx-dot i { box-shadow: 0 0 8px 1px rgba(255, 255, 255, .45); }
.fx-glow i { display: block; }
.fx-bolt svg { overflow: visible; }

.aviso-km { font-size: 13.5px; background: #fff7d6; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 10px; margin: 8px 0 4px; }
#btnConsulta { width: 100%; margin: 4px 0; }

dialog#aviso { border: 3px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--yel); padding: 22px 18px; width: min(92vw, 420px); background: #fff; color: var(--ink); text-align: center; margin: auto; }
dialog#aviso::backdrop { background: rgba(35, 31, 32, .6); }
dialog#aviso[open] { animation: popin .35s cubic-bezier(.2, 1.3, .4, 1); }
dialog#aviso h2 { font-family: var(--display); font-weight: 900; font-size: 26px; margin-bottom: 6px; }
.aviso-btns { display: grid; gap: 10px; margin: 14px 0 10px; }
.aviso-btns button { min-height: 52px; line-height: 1.2; padding: 8px 14px; }

.envio-estado { font-size: 13.5px; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 10px; margin: 6px 0; background: #fff; }
.envio-estado.ok { background: #e3f7e9; }
.envio-estado.far { background: #ffe7e2; }
.envio-estado.calc { background: #eef6f7; }
.envio-estado .btn-ghost { min-height: 44px; width: 100%; margin-top: 8px; }
#btnGps { width: 100%; margin: 2px 0 4px; min-height: 44px; }

.falta { display: inline-block; align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #ffe7e2; border: 2px solid #c0392b; color: #7a1f14; font-size: 12.5px; font-weight: 800; }
.aviso-falta { background: #ffe7e2; border: 2px solid #c0392b; color: #5c150d; border-radius: 12px; padding: 8px 10px; margin: 8px 0; font-size: 14px; }
.line-sub.warn { color: #9b2c1f; font-weight: 700; }

.card p, .card-main span { text-wrap: pretty; }
