/* ===== ¡Ajá! Pide · app del cliente ===== */
:root{
  --y:#FFC928;--y2:#ffd65c;--yt:#ffc92819;--bg:#151019;--s1:#241D2B;--s2:#2f2738;--s3:#3a3044;
  --w:#fff;--g:#AAA3B2;--ok:#35C982;--okt:#35c9821f;--bad:#ff6b6b;--badt:#ff6b6b1f;--line:#ffffff12;
  --rad:18px;--navh:66px;--safe:env(safe-area-inset-bottom,0px)
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{background:var(--bg)}
body{background:var(--bg);color:var(--w);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.4;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.con-nav{padding-bottom:calc(var(--navh) + var(--safe) + 24px)}
body.con-cta{padding-bottom:calc(110px + var(--safe))}
button,input,textarea,select{font:inherit;color:inherit}
button{border:0;background:none;cursor:pointer}
a{color:inherit;text-decoration:none}
img{display:block}
svg{flex:none}
input,textarea{width:100%;background:var(--s2);border:1.5px solid transparent;border-radius:14px;padding:13px 14px;font-size:16px;outline:none;transition:border-color .15s}
input::placeholder,textarea::placeholder{color:#8a8296}
input:focus,textarea:focus{border-color:var(--y)}
input[type=search]::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
textarea{resize:none;min-height:64px}
:focus-visible{outline:2px solid var(--y);outline-offset:2px}
.muted{color:var(--g)}
.price{font-weight:700;color:var(--y)}
.pg{max-width:1120px;margin:0 auto}
.pg.narrow{max-width:640px}
.px{padding-left:16px;padding-right:16px}

/* marca */
.marca{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:21px;letter-spacing:-.03em}
.bub{position:relative;display:inline-block;background:var(--y);color:var(--bg);border-radius:14px;padding:5px 10px 6px;font-weight:900;font-size:18px;line-height:1;transform:rotate(-4deg)}
.bub:after{content:"";position:absolute;left:10px;bottom:-7px;border:8px solid transparent;border-top-color:var(--y);border-bottom:0;border-left-width:3px}

/* barra superior */
.top{display:flex;align-items:center;gap:10px;padding:14px 16px 10px;position:sticky;top:0;z-index:20;background:linear-gradient(var(--bg) 75%,#15101900)}
.top .der{margin-left:auto;display:flex;gap:8px}
.top h1{font-size:18px;font-weight:700}
.ib{width:44px;height:44px;border-radius:14px;background:var(--s1);display:grid;place-items:center;position:relative;color:var(--w)}
.ib:hover{background:var(--s2)}
.ib .n{position:absolute;top:-4px;right:-4px;background:var(--y);color:var(--bg);font-size:11px;font-weight:800;min-width:19px;height:19px;border-radius:10px;display:grid;place-items:center;padding:0 5px}

/* aviso para instalar */
.inst{display:flex;align-items:center;margin:10px 16px 0;border-radius:14px;background:var(--yt);border:1px solid #ffc92844}
.inst a{flex:1;display:flex;align-items:center;gap:10px;padding:11px 12px;font-size:13.5px;color:#fff}
.inst a b{color:var(--y)}
.inst button{width:40px;height:40px;display:grid;place-items:center;color:var(--g)}

/* selector de pueblo */
.ciudades{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:6px;margin:12px 16px 0;background:var(--s1);padding:5px;border-radius:16px}
.ciudades button{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 8px;border-radius:12px;font-weight:700;font-size:15px;color:var(--g)}
.ciudades button.on{background:var(--y);color:var(--bg)}
.pg > .ciudades + p{padding:0 16px;color:var(--g);font-size:14px}

/* inicio */
.ubic{display:flex;align-items:center;gap:10px;margin:2px 16px 0;padding:10px 12px;border-radius:14px;background:var(--s1);width:calc(100% - 32px);text-align:left}
.ubic .ic{width:34px;height:34px;border-radius:10px;background:var(--yt);color:var(--y);display:grid;place-items:center}
.ubic small{display:block;font-size:11.5px;color:var(--g);font-weight:500}
.ubic b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ubic > div{flex:1;min-width:0}
.saludo{padding:20px 16px 4px}
.saludo h2{font-size:28px;line-height:1.08;font-weight:800;letter-spacing:-.03em}
.saludo h2 em{font-style:normal;color:var(--y)}
.saludo p{color:var(--g);font-size:14px;margin-top:6px;display:flex;align-items:center;gap:6px}
.dot{width:8px;height:8px;border-radius:50%;background:var(--ok);display:inline-block;flex:none}
.dot.off{background:var(--bad)}
.buscar{position:relative;margin:14px 16px 4px}
.buscar svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--g)}
.buscar input{padding-left:44px;padding-right:44px;background:var(--s1);height:50px}
.buscar .lim{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:var(--g)}
.cats{display:flex;gap:6px;overflow-x:auto;padding:14px 16px 6px;scrollbar-width:none}
.cats::-webkit-scrollbar,.tabs::-webkit-scrollbar{display:none}
.cat{flex:none;width:84px;text-align:center;line-height:1.2;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--g)}
.cat i{width:60px;height:60px;border-radius:20px;background:var(--s1);display:grid;place-items:center;font-size:28px;font-style:normal;border:2px solid transparent;transition:.15s}
.cat.on{color:var(--w)}
.cat.on i{border-color:var(--y);background:var(--yt)}
.sh{display:flex;align-items:baseline;justify-content:space-between;padding:22px 16px 10px}
.sh h3{font-size:19px;font-weight:700;letter-spacing:-.02em}
.sh a,.sh button{font-size:13.5px;color:var(--y);font-weight:600}
.rgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px}

/* tarjeta de restaurante */
.rw{position:relative}
.rcard{display:block;border-radius:var(--rad);background:var(--s1);overflow:hidden;transition:transform .15s}
.rcard:active{transform:scale(.985)}
.rcard .ph{position:relative;aspect-ratio:4/3;background:var(--s2)}
.rcard .ph img{width:100%;height:100%;object-fit:cover}
.rcard .ph .emo{height:100%;display:grid;place-items:center;font-size:44px}
.rcard.off .ph img{filter:grayscale(.85) brightness(.55)}
.rcard .ph .cerr{position:absolute;inset:0;display:grid;place-items:center;font-weight:700;font-size:12.5px}
.rcard .ph .cerr span{background:#000a;padding:7px 12px;border-radius:20px}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:5px 10px;border-radius:20px;background:var(--okt);color:var(--ok)}
.badge.off{background:var(--badt);color:var(--bad)}
.rcard .ph .badge{position:absolute;left:8px;top:8px;font-size:11px;padding:4px 8px;background:#151019d9;backdrop-filter:blur(6px)}
.rcard .bd{display:flex;flex-direction:column;gap:6px;padding:0 12px 12px}
.lg{border-radius:50%;object-fit:cover;background:#fff;flex:none}
.logo-ini{display:grid;place-items:center;background:var(--y)!important;color:var(--bg);font-weight:800}
.rcard .lg{width:44px;height:44px;font-size:14px;margin-top:-22px;border:3px solid var(--s1);align-self:flex-start;position:relative}
.rcard .bd > div{min-width:0;flex:1}
.rcard b{display:block;font-size:15px;line-height:1.25;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcard .tp{display:block;font-size:12.5px;color:var(--g);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcard .mt{display:flex;gap:10px;margin-top:5px;font-size:12px;color:var(--g);flex-wrap:wrap}
.rcard .mt span{display:inline-flex;align-items:center;gap:4px}
.fav{position:absolute;right:8px;top:8px;width:34px;height:34px;border-radius:50%;background:#151019d9;backdrop-filter:blur(6px);display:grid;place-items:center;color:var(--w);z-index:2}
.fav.on{color:var(--y)}
.fav.on svg{fill:var(--y)}

/* promociones */
.pgrid{display:grid;grid-template-columns:1fr;gap:12px;padding:0 16px}
.promo{position:relative;display:block;width:100%;aspect-ratio:16/9;max-height:240px;border-radius:20px;overflow:hidden;text-align:left;background:linear-gradient(135deg,#3a2a12,#241D2B)}
.promo .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.promo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#151019f2 0%,#151019b8 50%,#15101920 100%)}
.promo .in{position:absolute;inset:0;z-index:1;padding:14px 16px;display:flex;flex-direction:column;align-items:flex-start}
.tag{display:inline-block;background:var(--y);color:var(--bg);font-weight:800;font-size:11.5px;padding:4px 10px;border-radius:20px;letter-spacing:.02em}
.promo h4{font-size:21px;font-weight:800;line-height:1.12;margin-top:10px;max-width:68%;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.promo .pz{margin-top:6px;display:flex;align-items:baseline;gap:8px}
.promo .pz b{color:var(--y);font-size:19px;font-weight:800}
.promo .pz s{color:var(--g);font-size:14px}
.promo .rs{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:12.5px;width:100%}
.promo .rs .lg{width:26px;height:26px;font-size:9px}
.promo .rs .n{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.promo .rs .v{margin-left:auto;color:var(--g);white-space:nowrap}
.sheet .tag{margin-bottom:10px}

/* resultados de platos */
.platos{display:grid;grid-template-columns:1fr;gap:8px;padding:0 16px}
.plato{display:flex;gap:12px;align-items:center;padding:10px;border-radius:16px;background:var(--s1);text-align:left;width:100%}
.plato img,.plato .e{width:58px;height:58px;border-radius:12px;object-fit:cover;flex:none;background:var(--s2);display:grid;place-items:center;font-size:26px}
.plato > div{flex:1;min-width:0}
.plato b{display:block;font-size:14.5px;font-weight:600}
.plato small{display:block;color:var(--g);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.vacio{text-align:center;padding:48px 24px;color:var(--g)}
.vacio .e{font-size:42px;margin-bottom:10px}
.vacio b{display:block;color:var(--w);font-size:17px;margin-bottom:4px}
.vacio .btn{max-width:260px;margin:18px auto 0}
.cargando{padding:80px 20px;text-align:center;color:var(--g)}
.esq{background:linear-gradient(90deg,var(--s1),var(--s2),var(--s1));background-size:200% 100%;animation:esq 1.2s infinite;border-radius:var(--rad)}
@keyframes esq{to{background-position:-200% 0}}

/* chips */
.chips{display:flex;gap:8px;overflow-x:auto;padding:0 16px 12px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;padding:9px 15px;border-radius:30px;background:var(--s1);font-weight:600;font-size:13.5px;white-space:nowrap;color:var(--g)}
.chip.on{background:var(--y);color:var(--bg)}

/* restaurante */
.rhero{position:relative;height:clamp(190px,34vw,300px);background:var(--s2);overflow:hidden}
.rhero img{width:100%;height:100%;object-fit:cover}
.rhero:after{content:"";position:absolute;inset:0;background:linear-gradient(#15101966,#15101900 35%,#15101900 55%,var(--bg));pointer-events:none}
.rhero .emo{height:100%;display:grid;place-items:center;font-size:72px}
.rhero .acc{position:absolute;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;z-index:2}
.rhero .ib{background:#151019cc;backdrop-filter:blur(6px)}
.rinfo{position:relative;z-index:2;margin:-44px 16px 0;padding:16px;border-radius:22px;background:var(--s1)}
.rinfo .h{display:flex;gap:14px;align-items:center}
.rinfo .lg{width:68px;height:68px;margin-top:-46px;border:4px solid var(--s1);font-size:22px}
.rinfo h1{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.rinfo .tp{color:var(--g);font-size:13.5px}
.meta{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:12px}
.meta span{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;color:var(--g);background:var(--s2);padding:6px 10px;border-radius:20px}
.meta span.ok{color:var(--ok);background:var(--okt)}
.meta span.off{color:var(--bad);background:var(--badt)}
.aviso-cerr{margin:12px 16px 0;padding:12px 14px;border-radius:14px;background:var(--badt);color:#ffb3b3;font-size:13.5px;display:flex;gap:10px;align-items:flex-start}
.mbus{margin:14px 16px 0;position:relative}
.mbus svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--g)}
.mbus input{padding:11px 14px 11px 40px;font-size:15px;background:var(--s1)}
.tabs{position:sticky;top:0;z-index:15;background:var(--bg);display:flex;gap:8px;overflow-x:auto;padding:12px 16px;border-bottom:1px solid var(--line);scrollbar-width:none}
.tabs .chip{padding:8px 14px}
.sec{padding:22px 16px 10px;font-size:18px;font-weight:700;letter-spacing:-.02em;scroll-margin-top:70px}
.sec small{color:var(--g);font-weight:500;font-size:13px;margin-left:6px}
.items{display:grid;grid-template-columns:1fr;gap:10px;padding:0 16px}
.item{display:flex;gap:12px;padding:12px 12px 12px 14px;border-radius:var(--rad);background:var(--s1);text-align:left;align-items:stretch;width:100%;transition:background .15s}
.item:hover{background:var(--s2)}
.item .tx{flex:1;min-width:0;display:flex;flex-direction:column}
.item b{font-size:15px;font-weight:600;line-height:1.25}
.item p{color:var(--g);font-size:12.5px;line-height:1.35;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item .price{margin-top:auto;padding-top:6px;font-size:15px}
.item .ft{position:relative;width:96px;height:96px;flex:none;align-self:center}
.item .ft img{width:100%;height:100%;border-radius:14px;object-fit:cover;background:var(--s2)}
.item .add{width:34px;height:34px;border-radius:11px;background:var(--y);color:var(--bg);display:grid;place-items:center;font-weight:800;font-size:15px;flex:none;align-self:center}
.item .ft .add{position:absolute;right:-4px;bottom:-4px;border:3px solid var(--s1)}
.item.agot{opacity:.5}

/* barra del carrito */
.cbar{position:fixed;left:50%;transform:translateX(-50%);width:calc(100% - 24px);max-width:536px;bottom:calc(14px + var(--safe));background:var(--y);color:var(--bg);border-radius:18px;padding:12px 14px 12px 12px;display:flex;align-items:center;gap:12px;font-weight:700;box-shadow:0 10px 30px #00000066;z-index:25;font-size:15.5px}
body.con-nav .cbar{bottom:calc(var(--navh) + var(--safe) + 10px)}
.cbar .n{background:var(--bg);color:var(--y);border-radius:10px;min-width:32px;height:32px;display:grid;place-items:center;font-size:14px;padding:0 8px}
.cbar .t{margin-left:auto}

/* navegación inferior */
.nav{position:fixed;left:0;right:0;bottom:0;z-index:24;background:#151019f2;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding-bottom:var(--safe)}
.nav .in{max-width:560px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);height:var(--navh)}
.nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11.5px;font-weight:600;color:var(--g);position:relative}
.nav a.on{color:var(--y)}
.nav a.on:before{content:"";position:absolute;top:0;width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--y)}
.nav a .n{position:absolute;top:7px;left:calc(50% + 6px);background:var(--y);color:var(--bg);font-size:10px;font-weight:800;min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;padding:0 4px}

/* botones */
.btn{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;background:var(--y);color:var(--bg);border-radius:16px;padding:15px;font-weight:700;font-size:16px;min-height:52px;transition:filter .15s}
.btn:hover{filter:brightness(1.05)}
.btn.sec{background:var(--s2);color:var(--w)}
.btn.lin{background:transparent;border:1.5px solid var(--s3);color:var(--w)}
.btn.wa{background:transparent;border:1.5px solid #35c98266;color:var(--ok)}
.btn.peq{min-height:42px;padding:10px 14px;font-size:14px;border-radius:12px;width:auto}
.btn:disabled{opacity:.45;cursor:not-allowed;filter:none}

/* hojas */
.ov{position:fixed;inset:0;background:#000000b3;z-index:40;display:none}
.ov.on{display:block;animation:fade .2s}
@keyframes fade{from{opacity:0}}
.sheet{position:absolute;left:50%;transform:translateX(-50%);width:100%;max-width:560px;bottom:0;background:var(--s1);border-radius:26px 26px 0 0;max-height:92vh;display:flex;flex-direction:column;animation:up .3s cubic-bezier(.2,.9,.3,1);overflow:hidden}
@keyframes up{from{transform:translate(-50%,100%)}}
.sheet .sc{overflow-y:auto;flex:1;overscroll-behavior:contain}
.sheet .himg{width:100%;aspect-ratio:16/10;object-fit:cover;max-height:280px}
.sheet .x{position:absolute;right:12px;top:12px;width:40px;height:40px;border-radius:50%;background:#151019cc;display:grid;place-items:center;z-index:2}
.sheet .in{padding:18px 18px 8px}
.sheet .in.sinimg{padding-top:60px}
.sheet h3{font-size:22px;font-weight:800;line-height:1.15;letter-spacing:-.02em}
.sheet .ds{color:var(--g);margin-top:6px;font-size:14px}
.sheet .pr{font-size:19px;margin-top:8px}
.sheet .pie{display:flex;gap:10px;align-items:center;padding:12px 18px calc(14px + var(--safe));border-top:1px solid var(--line);background:var(--s1)}
.sheet .pie .btn{flex:1}
.grp{margin-top:18px}
.grp h4{font-size:13px;font-weight:700;color:var(--g);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;display:flex;justify-content:space-between}
.grp h4 small{text-transform:none;letter-spacing:0;font-weight:500}
.opt{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:var(--s2);margin-bottom:6px;width:100%;text-align:left;font-size:14.5px;font-weight:500;border:1.5px solid transparent}
.opt .bx{width:22px;height:22px;border-radius:7px;border:2px solid #6b6077;display:grid;place-items:center;flex:none;color:var(--bg)}
.opt.on{border-color:var(--y);background:var(--yt)}
.opt.on .bx{background:var(--y);border-color:var(--y)}
.opt > span{margin-left:auto;color:var(--y);font-weight:600;white-space:nowrap}
.step{display:flex;align-items:center;background:var(--s2);border-radius:14px;height:52px}
.step button{width:44px;height:100%;display:grid;place-items:center;font-size:20px;font-weight:700}
.step b{min-width:26px;text-align:center;font-size:17px}
.step.mini{height:36px;border-radius:11px}
.step.mini button{width:34px;font-size:17px}
.step.mini b{min-width:20px;font-size:14.5px}

/* tarjetas genéricas */
.card{margin:12px 16px;border-radius:20px;background:var(--s1);padding:16px}
.card > h3{font-size:16px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.card > h3 .sub{margin-left:auto;font-size:13px;color:var(--y);font-weight:600}
label.lb{display:block;font-size:13px;font-weight:600;color:var(--g);margin:14px 0 6px}
label.lb:first-of-type{margin-top:0}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:var(--s2);padding:4px;border-radius:14px}
.seg button{border-radius:11px;padding:11px 6px;font-size:14px;font-weight:600;color:var(--g)}
.seg button.on{background:var(--y);color:var(--bg)}
.dirs{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.dirs button{font-size:12.5px;padding:7px 11px;border-radius:20px;background:var(--s2);color:var(--g);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pago{display:flex;gap:12px;align-items:center;width:100%;text-align:left;padding:13px;border-radius:14px;background:var(--s2);margin-bottom:8px;border:1.5px solid transparent}
.pago .e{font-size:22px;width:28px;text-align:center}
.pago b{display:block;font-size:15px;font-weight:600}
.pago small{display:block;font-size:12.5px;color:var(--g)}
.pago .rd{margin-left:auto;width:22px;height:22px;border-radius:50%;border:2px solid #6b6077;flex:none}
.pago.on{border-color:var(--y);background:var(--yt)}
.pago.on .rd{border:6px solid var(--y)}
.pago:disabled{opacity:.45}
.nota{font-size:13px;color:var(--g);margin-top:10px;line-height:1.45}

/* carrito */
.gr{margin:12px 16px;border-radius:20px;background:var(--s1);overflow:hidden}
.gr .gh{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.gr .gh .lg{width:36px;height:36px;font-size:12px}
.gr .gh b{font-weight:700;flex:1;min-width:0}
.gr .gh a{font-size:13px;color:var(--y);font-weight:600;white-space:nowrap}
.ln{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);align-items:center}
.ln:last-child{border-bottom:0}
.ln .tx{flex:1;min-width:0}
.ln .tx b{display:block;font-weight:600;font-size:14.5px}
.ln small{display:block;color:var(--g);font-size:12.5px;margin-top:2px}
.ln .der{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.ln .der .price{font-size:14.5px}
.res .fila{display:flex;justify-content:space-between;color:var(--g);font-size:14px;margin:6px 0}
.res .fila.sub{font-size:12.5px;padding-left:10px}
.res .fila.t{color:var(--w);font-size:19px;font-weight:800;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.alerta{margin:12px 16px;padding:12px 14px;border-radius:14px;background:var(--badt);color:#ffb3b3;font-size:14px;font-weight:500}
.ctafix{position:fixed;left:0;right:0;bottom:0;z-index:24;background:#151019f2;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:12px 16px calc(12px + var(--safe))}
.ctafix .btn{max-width:608px;margin:0 auto}

/* seguimiento */
.okhd{text-align:center;padding:10px 16px 6px}
.okhd .ck{width:64px;height:64px;border-radius:50%;background:var(--okt);color:var(--ok);display:grid;place-items:center;margin:0 auto 12px}
.okhd h2{font-size:24px;font-weight:800;letter-spacing:-.02em}
.okhd p{color:var(--g);font-size:13.5px;margin-top:4px}
.ped{margin:14px 16px;border-radius:22px;background:var(--s1);padding:16px}
.ped .gh{display:flex;align-items:center;gap:12px}
.ped .gh .lg{width:44px;height:44px;font-size:14px}
.ped .gh b{display:block;font-weight:700}
.ped .gh small{color:var(--g);font-size:12.5px}
.ped .msg{margin-top:16px;font-size:17px;font-weight:700}
.ped .msg small{display:block;font-size:13.5px;font-weight:400;color:var(--g);margin-top:3px}
.linea{display:grid;grid-template-columns:repeat(4,1fr);margin:16px 0 4px;position:relative}
.linea div{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;color:var(--g);text-align:center;position:relative;font-weight:500}
.linea div:before{content:"";position:absolute;top:13px;right:50%;width:100%;height:3px;background:var(--s3);z-index:0}
.linea div:first-child:before{display:none}
.linea div.ok:before{background:var(--y)}
.linea i{width:28px;height:28px;border-radius:50%;background:var(--s3);display:grid;place-items:center;font-style:normal;font-size:13px;position:relative;z-index:1}
.linea div.ok i{background:var(--y);color:var(--bg)}
.linea div.ok{color:var(--w)}
.linea div.act i{box-shadow:0 0 0 5px #ffc92833;animation:pulso 1.6s infinite}
@keyframes pulso{50%{box-shadow:0 0 0 9px #ffc92811}}
.cancel{margin-top:14px;padding:12px;border-radius:14px;background:var(--badt);color:#ffb3b3;font-size:14px}
.pagar{margin-top:14px;background:var(--yt);border:1.5px solid #ffc92855;border-radius:16px;padding:14px}
.pagar .num{font-size:24px;font-weight:800;letter-spacing:.03em;margin:4px 0}
.pagar .cta{display:flex;gap:8px;margin-top:12px}
.pagar .cta > *{flex:1}
.estpago{margin-top:14px;padding:11px 14px;border-radius:14px;font-weight:600;font-size:14px;display:flex;gap:8px;align-items:center}
.estpago.ok{background:var(--okt);color:var(--ok)}
.estpago.esp{background:var(--yt);color:var(--y)}
.estpago.ef{background:var(--s2);color:var(--g);font-weight:500}
.detalle{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.detalle summary{cursor:pointer;color:var(--g);font-size:13.5px;font-weight:600;list-style:none;display:flex;justify-content:space-between}
.detalle summary::-webkit-details-marker{display:none}
.detalle li{list-style:none;font-size:13.5px;padding:5px 0;display:flex;justify-content:space-between;gap:10px}

/* pedidos */
.hist{display:flex;gap:12px;align-items:center;margin:10px 16px;padding:14px;border-radius:18px;background:var(--s1);text-align:left;width:calc(100% - 32px)}
.hist .ic{width:44px;height:44px;border-radius:14px;background:var(--s2);display:grid;place-items:center;font-size:20px;flex:none}
.hist > div{flex:1;min-width:0}
.hist b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hist small{color:var(--g);font-size:12.5px}
.hist .est{font-size:11.5px;font-weight:600;padding:4px 9px;border-radius:12px;background:var(--s2);color:var(--g);white-space:nowrap}
.hist .est.ok{background:var(--okt);color:var(--ok)}
.hist .est.y{background:var(--yt);color:var(--y)}
.hist .est.off{background:var(--badt);color:var(--bad)}
.tit{padding:8px 16px 4px;font-size:26px;font-weight:800;letter-spacing:-.03em}
.tit + p{padding:0 16px;color:var(--g);font-size:14px}

/* perfil */
.yo{display:flex;align-items:center;gap:14px;margin:8px 16px 4px}
.yo .av{width:60px;height:60px;border-radius:50%;background:var(--y);color:var(--bg);display:grid;place-items:center;font-size:22px;font-weight:800;flex:none}
.yo b{display:block;font-size:19px;font-weight:700}
.dl{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.dl:last-of-type{border-bottom:0}
.dl .tx{flex:1;min-width:0;font-size:14.5px}
.dl .tx small{display:block;color:var(--y);font-size:12px;font-weight:600}
.dl button{color:var(--g);font-size:13px;font-weight:600;padding:6px 8px;border-radius:8px}
.dl button.u{color:var(--y)}
.add2{display:flex;gap:8px;margin-top:12px}
.add2 input{flex:1}
.favl{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.favl:last-child{border-bottom:0}
.favl .lg{width:42px;height:42px;font-size:13px}
.favl > div{flex:1;min-width:0}
.favl b{display:block;font-weight:600}
.faq details{border-bottom:1px solid var(--line);padding:12px 0}
.faq details:last-child{border-bottom:0}
.faq summary{cursor:pointer;font-weight:600;font-size:14.5px;list-style:none;display:flex;justify-content:space-between;gap:10px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";color:var(--y);font-size:18px;line-height:1}
.faq details[open] summary:after{content:"–"}
.faq p{color:var(--g);font-size:14px;margin-top:8px;line-height:1.5}
.pie-app{text-align:center;color:#6f6779;font-size:12.5px;padding:24px 16px 8px}

.toast{position:fixed;left:50%;bottom:calc(var(--navh) + 30px + var(--safe));transform:translate(-50%,20px);background:var(--w);color:var(--bg);font-weight:600;padding:12px 18px;border-radius:14px;opacity:0;transition:.25s;z-index:99;max-width:90vw;text-align:center;pointer-events:none;box-shadow:0 8px 24px #0006}
.toast.on{opacity:1;transform:translate(-50%,0)}
.toast.mal{background:var(--bad);color:#fff}

/* tabletas y computadores */
@media (min-width:700px){
  .rgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .platos{grid-template-columns:repeat(2,1fr)}
  .items{grid-template-columns:repeat(2,1fr)}
  .saludo h2{font-size:34px}
}
@media (min-width:1000px){
  .rgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pgrid{grid-template-columns:repeat(3,minmax(0,1fr));padding-left:24px;padding-right:24px}
  .platos{grid-template-columns:repeat(3,1fr)}
  .ciudades{margin-left:24px;margin-right:24px;max-width:520px}
  .top,.ubic,.saludo,.buscar,.cats,.sh,.rgrid,.platos,.chips{padding-left:24px;padding-right:24px}
  .ubic{margin-left:24px;margin-right:24px;width:auto;max-width:420px;padding:10px 12px}
  .buscar{margin-left:24px;margin-right:24px;max-width:640px;padding:0}
  .rhero{height:320px;border-radius:0 0 28px 28px}
  .pg.r .rinfo,.pg.r .mbus,.pg.r .aviso-cerr{margin-left:24px;margin-right:24px}
  .pg.r .tabs,.pg.r .sec,.pg.r .items,.pg.r .sh{padding-left:24px;padding-right:24px}
  .sheet{top:50%;bottom:auto;transform:translate(-50%,-50%);border-radius:26px;max-height:88vh;animation:pop .22s ease-out}
  @keyframes pop{from{transform:translate(-50%,-46%);opacity:0}}
  .sheet .pie{padding-bottom:14px}
}
@media (hover:hover){.rcard:hover{transform:translateY(-2px)}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ===== Burger Fest ===== */
.fxb{display:block;position:relative;overflow:hidden;margin:14px 16px 4px;border-radius:22px;padding:16px 16px 14px;min-height:190px;color:var(--bg);background:linear-gradient(135deg,#ff5a3c,#ff8a2b 55%,#ffc928)}
.fxpill{display:inline-block;background:var(--bg);color:var(--y);font-weight:800;font-size:11px;padding:5px 10px;border-radius:99px;letter-spacing:.06em}
.fxb h3{font-weight:900;font-size:24px;line-height:1.02;margin:10px 0 4px;max-width:62%;text-transform:uppercase;letter-spacing:-.01em}
.fxsub{font-weight:900;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.fxmsg{font-weight:700;font-size:13.5px;margin-top:6px;max-width:58%;min-height:19px;transition:opacity .25s}
.fxmsg.out{opacity:0}
.fxpr{display:inline-block;margin-top:9px;background:#fff;border-radius:12px;padding:5px 10px;font-weight:900;font-size:18px;line-height:1.1}
.fxpr small{display:block;font-size:10px;font-weight:700;color:#6b5f73}
.fxcd{display:flex;gap:5px;margin-top:9px;max-width:200px}
.fxcd div{flex:1;background:var(--bg);border-radius:9px;text-align:center;padding:4px 0}
.fxcd b{display:block;color:var(--y);font-size:15px;line-height:1.15;font-variant-numeric:tabular-nums}
.fxcd small{font-size:8.5px;color:var(--g);font-weight:700;text-transform:uppercase}
.fxvt{margin-top:8px;display:inline-block;background:#fff;border-radius:99px;padding:4px 10px;font-weight:800;font-size:12px}
.fxemo{position:absolute;right:-18px;bottom:-22px;font-size:132px;line-height:1;filter:drop-shadow(0 8px 18px #0005);transform:rotate(-10deg);pointer-events:none}
.fxver{position:absolute;right:14px;top:14px;background:#15101933;color:var(--bg);font-weight:800;font-size:12.5px;padding:5px 10px;border-radius:99px}
.fxsp{margin:12px 16px 0}
.fxsp.big{margin:18px 16px 0}
.fxcar{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:2.4/1;background:var(--s1)}
.fxsp.big .fxcar{aspect-ratio:2/1}
.fxsi{position:absolute;inset:0;opacity:0;transition:opacity .5s;pointer-events:none}
.fxsi.on{opacity:1;pointer-events:auto}
.fxsl,.fxsl img{display:block;width:100%;height:100%;object-fit:cover}
.fxst{position:absolute;top:8px;left:8px;background:#000b;color:#fff;font-size:10px;font-weight:800;padding:3px 8px;border-radius:6px;letter-spacing:.03em}
.fxdots{display:flex;gap:5px;justify-content:center;margin-top:8px}
.fxdots i{width:6px;height:6px;border-radius:9px;background:#ffffff30;transition:.3s}
.fxdots i.on{background:var(--y);width:16px}
.fxtag{display:inline-block;background:#ff5a3c22;color:#ffb3a3;border:1px solid #ff5a3c55;border-radius:99px;padding:3px 9px;font-size:11.5px;font-weight:700;margin-bottom:6px}
.fxrest{display:flex;gap:12px;align-items:center;margin:14px 16px 0;padding:13px 14px;border-radius:16px;text-align:left;width:calc(100% - 32px);color:var(--bg);background:linear-gradient(135deg,#ff5a3c,#ffc928);font-size:13.5px;font-weight:600;line-height:1.35}
.fxrest > span{font-size:30px}
.fxrest b{display:block;font-size:15px;font-weight:800}
/* página */
.fx .fxhero{position:relative;overflow:hidden;margin:0 0 4px;padding:14px 18px 22px;min-height:260px;color:var(--bg);background:linear-gradient(160deg,#ff5a3c,#ff8a2b 50%,#ffc928);border-radius:0 0 28px 28px}
.fx .fxhero .ib{background:#15101944;color:var(--bg);margin-bottom:14px}
.fx .fxhero h1{font-weight:900;font-size:32px;line-height:1;margin:10px 0 4px;text-transform:uppercase;max-width:78%;letter-spacing:-.01em}
.fx .fxhero p{font-weight:700;font-size:14px;margin-top:8px;max-width:58%;position:relative;z-index:1}
.fx .fxhero .fxemo{font-size:150px;right:-30px;bottom:-34px}
.fxcd2{display:flex;gap:8px;margin:16px 16px 6px}
.fxcd2 div{flex:1;background:var(--s1);border-radius:14px;text-align:center;padding:10px 0}
.fxcd2 b{font-size:24px;font-weight:800;color:var(--y);display:block;line-height:1.1;font-variant-numeric:tabular-nums}
.fxcd2 small{font-size:11px;color:var(--g)}
.fxcdl{text-align:center;font-size:13px;color:var(--g);margin:0 16px 4px}
.fxof{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 16px 0;background:var(--y);color:var(--bg);border-radius:18px;padding:14px 16px}
.fxof b{font-size:30px;font-weight:900;line-height:1}
.fxof span{font-weight:800;font-size:13.5px;line-height:1.25;text-align:right}
.fxof small{display:block;font-size:11.5px;font-weight:600;opacity:.75}
.fxpasos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 16px 0}
.fxpasos div{background:var(--s1);border-radius:14px;padding:11px 6px;text-align:center;font-size:12px;font-weight:700;line-height:1.25}
.fxpasos i{font-style:normal;font-size:23px;display:block;margin-bottom:4px}
.fxsec{font-size:17px;font-weight:800;margin:22px 16px 10px}
.fxnota{color:var(--g);font-size:13px;margin:-4px 16px 10px;line-height:1.4}
.fxsecreto{margin:16px 16px 0;background:linear-gradient(135deg,var(--s2),var(--s1));border:1px solid #ffc92855;border-radius:18px;padding:16px;text-align:center}
.fxsecreto .lk{font-size:30px}
.fxsecreto b{font-size:17px;display:block;margin:2px 0}
.fxsecreto small{color:var(--g);font-size:12.5px;display:block;line-height:1.4}
.fxsecreto .tot{margin-top:10px;display:inline-block;background:var(--bg);border-radius:99px;padding:7px 14px;font-weight:800;font-size:13.5px}
.fxsecreto em{font-style:normal;color:var(--y)}
.fxpas{margin:14px 16px 0;background:var(--s1);border:1px solid #ffc92844;border-radius:18px;padding:14px}
.fxpas > b{font-size:15px}
.fxsellos{display:flex;gap:8px;margin:10px 0 8px}
.fxsellos i{flex:1;max-width:58px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:20px;font-weight:800;color:var(--g);background:var(--bg);border:2px dashed #ffffff30}
.fxsellos i.ok{background:var(--y);border:none;color:var(--bg)}
.fxpas small{color:var(--g);font-size:12.5px;line-height:1.4;display:block}
.fxpas small b{color:#fff}
.fxbur{display:flex;align-items:center;gap:12px;margin:0 16px 10px;background:var(--s1);border-radius:16px;padding:10px}
.fxbur img,.fxbur .fxbe{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none;background:var(--s2);display:grid;place-items:center;font-size:30px}
.fxbur .tx{flex:1;min-width:0}
.fxbur .tx b{display:block;font-size:14.5px}
.fxbur .tx small{display:block;color:var(--g);font-size:12px;margin:1px 0 3px}
.fxbur .price small{font-weight:500;font-size:11px}
.fxok{color:var(--ok);font-weight:800;font-size:13px;white-space:nowrap}
.fxesp{color:var(--g);font-weight:700;font-size:12px;text-align:right;max-width:84px;line-height:1.2}
.fxpart{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;margin:0 16px}
.fxpart a{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12px;font-weight:600;color:var(--g)}
.fxpart img,.fxpart .lg{width:58px;height:58px;border-radius:16px}
.fxprem{display:grid;gap:8px;margin:0 16px}
.fxprem div{background:var(--s1);border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.4;font-weight:600}
.fxlug{display:flex;gap:12px;margin:16px 16px 0;border:1.5px dashed var(--y);border-radius:16px;padding:13px 14px;font-size:13.5px;line-height:1.45;color:var(--g)}
.fxlug > div > b:first-child{display:block;color:var(--y);font-size:15px}
.fxlug .y{color:#fff}
.fxapoyo{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:10px;margin:0 16px}
.fxapoyo img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;background:#fff}
.fxgan{margin:16px 16px 0;text-align:center;background:radial-gradient(circle at 50% 0,#ffc92840,transparent 70%),var(--s1);border:1px solid #ffc92877;border-radius:20px;padding:18px 14px}
.fxgan .cop{font-size:52px;line-height:1}
.fxgan small{display:block;color:var(--y);font-weight:800;letter-spacing:.05em;text-transform:uppercase;font-size:12px;margin:6px 0 10px}
.fxgan .w{display:flex;align-items:center;justify-content:center;gap:12px;text-align:left;margin-top:8px}
.fxgan .w img,.fxgan .w .lg{width:56px;height:56px;border-radius:14px}
.fxgan .w b{display:block;font-size:20px}
.fxgan .w span{color:var(--g);font-size:13px}
.fxtab{margin:0 16px;display:grid;gap:8px}
.fxtab .fila{display:flex;align-items:center;gap:10px;background:var(--s1);border-radius:14px;padding:9px 12px}
.fxtab .n{font-weight:900;color:var(--y);width:18px}
.fxtab img,.fxtab .lg{width:38px;height:38px;border-radius:10px}
.fxtab .nm{flex:1;font-weight:700;font-size:14px}
.fxtab .nm i{display:block;height:6px;border-radius:9px;background:var(--bg);margin-top:5px;overflow:hidden}
.fxtab .nm u{display:block;height:100%;background:var(--y)}
@media (min-width:700px){.fxcar,.fxsp.big .fxcar{aspect-ratio:auto;height:230px}.fxb{min-height:200px}.fxb h3{font-size:28px}.fxemo{font-size:150px}}

.fxfoto{position:absolute;right:-34px;bottom:-30px;width:184px;height:184px;border-radius:50%;overflow:hidden;border:6px solid var(--bg);box-shadow:0 10px 28px #0006;background:var(--s1);pointer-events:none}
.fxfoto img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s}
.fxfoto img.on{opacity:1}
.fxfoto.hero{width:220px;height:220px;right:-44px;bottom:-40px}
.fxb .fxpr,.fxb .fxcd,.fxb .fxvt,.fxb h3,.fxb .fxmsg,.fxb .fxsub{position:relative;z-index:1}
@media (min-width:700px){.fxfoto{width:210px;height:210px;right:30px;bottom:-20px}}

/* Encabezado del festival con foto grande (estilo póster) */
.fx .fxhero.conf{color:#fff;background:#c2410c;min-height:400px;padding-bottom:26px}
.fxhbg{position:absolute;top:0;right:0;bottom:0;width:72%;z-index:0}
.fxhbg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .7s;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 38%);mask-image:linear-gradient(90deg,transparent 0%,#000 38%)}
.fxhbg img.on{opacity:1}
.fx .fxhero.conf:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#d9480f 0%,#e8590cf2 30%,#f76707b3 48%,#f7670700 72%),linear-gradient(0deg,#15101966 0%,#15101900 35%)}
.fx .fxhero .tx{position:relative;z-index:2}
.fx .fxhero .ib{position:relative;z-index:2}
.fx .fxhero.conf .ib{background:#0006;color:#fff}
.fx .fxhero.conf h1{color:#fff;text-shadow:0 2px 14px #0005;max-width:72%;font-size:36px}
.fx .fxhero h1 em{font-style:normal;color:var(--y)}
.fx .fxhero.conf .fxsub{color:#fff;opacity:.95;margin-top:6px}
.fx .fxhero .fxsub i{font-style:normal;color:var(--y)}
.fx .fxhero.conf p{color:#fff;text-shadow:0 1px 8px #0006;font-weight:600;font-size:15px;max-width:60%}
.fx .fxhero .fxmsg{display:flex;align-items:center;gap:6px;font-weight:700!important}
.fx .fxhero .fxmsg .pin{color:var(--y);display:inline-flex;flex:none}
.fx .fxhero.conf .fxpill{box-shadow:0 4px 14px #0004}
.fxof{position:relative}
.fxof .bi{font-style:normal;font-size:30px;padding-right:12px;border-right:1.5px solid #15101933}
@media (min-width:700px){.fx .fxhero.conf{min-height:420px}.fxhbg{width:62%}}
.fxof{gap:10px}.fxof b{font-size:28px;white-space:nowrap}.fxof span{flex:1;font-size:13px}.fxof .bi{font-size:26px;padding-right:10px}

/* Banner del inicio con la foto grande (mismo estilo del encabezado del festival) */
.fxb.conf{color:#fff;background:#c2410c;min-height:250px}
.fxb.conf .fxhbg{width:66%}
.fxb.conf:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#d9480f 0%,#e8590cf0 34%,#f76707a6 56%,#f7670700 80%),linear-gradient(0deg,#15101955 0%,#15101900 40%)}
.fxb > *:not(.fxhbg):not(.fxemo):not(.fxfoto):not(.fxver){position:relative;z-index:2}
.fxb .fxver{position:absolute;z-index:3}
.fxb.conf h3{text-shadow:0 2px 12px #0005}
.fxb h3 em{font-style:normal;color:var(--y)}
.fxb.conf h3 em{color:var(--y)}
.fxb:not(.conf) h3 em{color:inherit}
.fxb .fxsub i{font-style:normal;color:var(--y)}
.fxb.conf .fxmsg{text-shadow:0 1px 8px #0006}
.fxb.conf .fxver{background:#0005;color:#fff}
.fxb.conf .fxpr,.fxb.conf .fxvt{color:var(--bg)}
.fxcd{max-width:206px}
@media (min-width:700px){.fxb.conf .fxhbg{width:min(48%,520px)}.fx .fxhero.conf .fxhbg{width:min(55%,560px)}}
