/* Idilio Bistro · web oficial v4
   Manda Hungry Tiger (Refero): escenario de color con dibujo del mismo tono, producto que flota y se mueve,
   títulos de cartel enormes y anotaciones chiquitas, píldoras, sellos que giran y cierre con el nombre gigante.
   Portada pedida por Magdiel: escenario verde con la pizza y el queso que cae (como el póster de Prístino). */
:root {
  --lima: #cde100;
  --lima-osc: #a9bb00;
  --verde-escena: #6f8f05;
  --negro: #0a0a0a;
  --panel: #111;
  --blanco: #fff;
  --hueso: #f6f6ef;
  --gris: #8d8d86;
  --titulo: "Outfit", Arial, sans-serif;
  --util: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --curva: cubic-bezier(.2, .7, .2, 1);
  --g: 28px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--lima); color: var(--negro); font-family: var(--titulo); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--negro); outline-offset: 3px; }

/* ---------- Letra ---------- */
.anota { margin: 0; font-family: var(--titulo); font-weight: 500; font-size: 13px; line-height: 1.35; letter-spacing: .02em; text-transform: uppercase; }
.anota--clara { color: #d6d6cf; }
.anota--lima { color: var(--lima); }
.capitulo { margin: 0; font-family: var(--titulo); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.016em; font-size: clamp(72px, 9vw, 130px); }
.dividido { margin: 0; font-family: var(--titulo); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; font-size: clamp(40px, 4.5vw, 64px); }

/* Fondos con dibujo de ingredientes del mismo tono y grano */
.portada, .promos, .visita__lima, .hambre { background-color: var(--lima); }
.promos, .visita__lima, .hambre, .carta, .pie { background-image: var(--patron); background-size: 900px 900px; }
.promos, .visita__lima, .hambre { --patron: url(assets/fondo-ingredientes-oscuro.webp); }
.carta, .pie { --patron: url(assets/fondo-ingredientes-lima.webp); }


/* ---------- Píldoras y botones redondos ---------- */
.pil {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--negro); color: var(--lima); text-decoration: none; font-family: var(--util); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: transform .3s var(--curva), background-color .25s, color .25s;
}
.pil:hover { transform: translateY(-2px) scale(1.03); }
.pil svg { width: 17px; height: 17px; fill: currentColor; }
.pil--grande { height: 52px; padding: 0 28px; font-family: var(--titulo); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.pil--negra { background: var(--negro); color: var(--lima); }
.pil--blanca { background: var(--blanco); color: var(--negro); }
.pil--lima { background: var(--lima); color: var(--negro); }
.pil--gris { background: #262626; color: var(--blanco); }
.pil--contorno { background: transparent; color: var(--negro); box-shadow: inset 0 0 0 1.5px var(--negro); cursor: default; }
.pil--contorno:hover { transform: none; }
.pil--ancha { width: 100%; }
.fila { display: flex; gap: 6px; flex-wrap: wrap; }
.redondo { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--negro); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--negro); font-size: 20px; transition: transform .3s var(--curva), background-color .25s; }
.redondo:hover { transform: rotate(-12deg) scale(1.06); background: var(--negro); color: var(--lima); }
.redondo svg { width: 22px; height: 22px; fill: currentColor; }
.redondo--lima { border-color: var(--lima); color: var(--lima); }
.redondo--lima:hover { background: var(--lima); color: var(--negro); }
.redondo:disabled { opacity: .25; cursor: default; transform: none; background: transparent; color: var(--lima); }

/* Sellos dentados que giran */
.sello { position: absolute; display: grid; place-items: center; pointer-events: none; z-index: 4; }
.sello > * { grid-area: 1 / 1; }
.sello svg { width: 100%; height: 100%; fill: var(--negro); animation: gira 15s linear infinite; }
.sello span { font-family: var(--titulo); font-weight: 900; text-transform: uppercase; text-align: center; line-height: .92; color: var(--lima); transform: rotate(-12deg); }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes flota { 50% { transform: translateY(-14px) rotate(2deg); } }

/* Aparecer al entrar a la vista */
[data-aparece] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--curva), transform .9s var(--curva); }
[data-aparece].visible { opacity: 1; transform: none; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--lima); display: grid; place-items: center; transition: opacity .8s var(--curva), visibility .8s; }
.intro > * { grid-area: 1 / 1; }
.intro__ondas { width: min(80vw, 620px); opacity: .18; animation: ondasIntro 1.6s var(--curva) both; }
.intro__logo { width: min(46vw, 300px); animation: logoIntro 1.4s .15s var(--curva) both; }
.intro.fuera { opacity: 0; visibility: hidden; }
@keyframes ondasIntro { from { opacity: 0; transform: scale(.6) rotate(-40deg); } }
@keyframes logoIntro { from { opacity: 0; transform: scale(.85) rotate(-6deg); filter: blur(8px); } }

/* ---------- Barra ---------- */
.barra { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--g); transition: background-color .4s, height .4s var(--curva); }
.barra.solida { background: rgba(205,225,0,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 70px; }
.barra__izq { display: flex; gap: 4px; }
.barra__izq .pil { height: 40px; }
.barra__logo { justify-self: center; }
.barra__logo img { width: 62px; transition: transform .5s var(--curva); }
.barra__logo:hover img { transform: rotate(-12deg) scale(1.08); }
.barra__der { justify-self: end; display: flex; gap: 4px; align-items: center; }
.barra__der .pil { height: 40px; }
.pil--estado { background: var(--blanco); color: var(--negro); cursor: default; }
.pil--estado:hover { transform: none; }
.pil--estado i { width: 8px; height: 8px; border-radius: 50%; background: #1d9e2f; box-shadow: 0 0 0 3px rgba(29,158,47,.2); }
.pil--estado.cerrado i { background: #d8342b; box-shadow: 0 0 0 3px rgba(216,52,43,.2); }
#abrirCarrito b { min-width: 22px; height: 22px; border-radius: 11px; background: var(--lima); color: var(--negro); display: grid; place-items: center; font-size: 13px; }
#abrirCarrito.salta { animation: salta .5s var(--curva); }
@keyframes salta { 40% { transform: scale(1.15) rotate(-6deg); } }
.barra__regla { position: absolute; left: var(--g); right: var(--g); bottom: 0; }

/* ---------- Portada ---------- */
.portada { position: relative; height: 100svh; min-height: 720px; overflow: hidden; background: #c3d600; isolation: isolate; }
/* Escena por capas (dirección: Cards Against Humanity en Refero, objetos grandes regados en ángulos que se salen de la orilla; luz suave al centro de Recess) */
.escena { position: absolute; inset: 0; z-index: 0; perspective: 1400px; }
/* Fondo de color con luz de estudio: foco suave detrás de la pizza, luz de arriba y orillas más hondas */
.escena__luz { position: absolute; inset: 0; background:
  radial-gradient(ellipse 40% 34% at 50% 66%, rgba(255,255,232,.92), rgba(242,252,130,.42) 46%, transparent 76%),
  radial-gradient(ellipse 70% 46% at 50% 6%, rgba(238,250,96,.6), transparent 72%),
  radial-gradient(ellipse 125% 95% at 50% 56%, #d9ed16 0%, #c9dd00 40%, #aabd00 76%, #8a9b00 100%); }
/* Grano fino de foto: quita el escalonado del degradado y le da textura de impresión */
.escena__grano { position: absolute; inset: 0; opacity: .28; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.escena__logo { position: absolute; left: 50%; top: 56%; width: min(92vh, 78vw); aspect-ratio: 1; translate: -50% -50%; will-change: transform; }
.escena__logo img { width: 100%; height: 100%; object-fit: contain; opacity: .11; mix-blend-mode: multiply; }
/* Sombra de contacto: la pizza del centro se asienta en la luz */
.pz--idilio::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(58,70,0,.55), rgba(58,70,0,.18) 60%, transparent); filter: blur(8px); }
.pz.pz--idilio img { position: relative; filter: drop-shadow(18px 30px 26px rgba(52,62,0,.38)) drop-shadow(3px 6px 6px rgba(52,62,0,.3)) saturate(1.06) contrast(1.04); }
/* Estampa de envío gratis: disco negro con el texto girando, centro lima con la moto, y orilla recortada como calcomanía */
.estampa { position: absolute; z-index: 4; right: 10%; top: 30%; width: clamp(160px, 13vw, 214px); aspect-ratio: 1; border-radius: 50%; background: var(--negro);
  box-shadow: 0 0 0 5px var(--blanco), 0 18px 34px rgba(40,50,0,.38); transform: rotate(-10deg); animation: estampaVaiven 6s ease-in-out infinite; }
@keyframes estampaVaiven { 50% { transform: rotate(-4deg) translateY(-6px); } }
.estampa__aro { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 22s linear infinite; }
.estampa__aro text { font-family: var(--util); font-weight: 700; font-size: 19px; letter-spacing: .06em; fill: var(--blanco); }
.estampa__centro { position: absolute; inset: 24%; border-radius: 50%; background: var(--lima); display: grid; place-items: center; align-content: center; gap: 0; }
.estampa__centro img { width: 70%; height: auto; margin-top: 4%; }
.estampa__centro b { font-family: var(--titulo); font-weight: 900; font-size: clamp(13px, 1.1vw, 18px); text-transform: uppercase; letter-spacing: -.01em; line-height: 1; margin-top: -2%; }
.pz { position: absolute; animation: pzEntra 1.6s var(--d, 0s) cubic-bezier(.16,1,.3,1) both paused; }
.portada.lista .pz { animation-play-state: running; }
@keyframes pzEntra { from { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(.6); } }
.pz img { display: block; width: 100%; height: auto; will-change: transform; filter: drop-shadow(28px 38px 34px rgba(48,58,0,.42)) drop-shadow(6px 10px 8px rgba(48,58,0,.25)); }
.pz--4quesos { width: clamp(240px, 26vw, 460px); left: -6%; top: 6%; }
.pz--pepperoni { width: clamp(240px, 25vw, 440px); right: -7%; top: 13%; }
.pz--4quesos img, .pz--pepperoni img { filter: blur(3px) brightness(.93) drop-shadow(20px 28px 26px rgba(48,58,0,.35)); }
.pz--hawaiana { width: clamp(260px, 27vw, 480px); left: -5%; bottom: -6%; }
.pz--mexicana { width: clamp(260px, 28vw, 500px); right: -6%; bottom: -4%; }
.pz--idilio { width: clamp(380px, 44vw, 800px); left: 50%; bottom: -7%; margin-left: calc(clamp(380px, 44vw, 800px) / -2); }
.pz--rebA { width: clamp(110px, 11vw, 200px); left: 19%; top: 47%; }
.pz--rebB { width: clamp(110px, 10vw, 190px); right: 19%; top: 44%; }
.portada__arriba { position: relative; z-index: 3; padding: 104px var(--g) 0; text-align: center; }
.portada__nombre { margin: 10px 0 14px; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; line-height: .8; letter-spacing: -.035em; font-size: clamp(64px, 11.6vw, 220px); color: var(--negro); white-space: nowrap; }
.portada__nombre .letra { display: inline-block; opacity: 0; transform: translateY(60%) rotate(8deg); animation: letra .9s var(--curva) forwards; }
@keyframes letra { to { opacity: 1; transform: none; } }
.portada__desc { margin: 14px 0 0; font-family: var(--titulo); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .9; font-size: clamp(30px, 4vw, 64px); }
.portada__pie { position: absolute; z-index: 4; left: var(--g); right: var(--g); bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.portada__apoyo { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.portada__dato { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; border-radius: 999px; background: var(--negro); color: var(--blanco); font-family: var(--util); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.portada__dato img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.portada__dato b { color: var(--lima); font-weight: 700; }
.portada__botones .pil { box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.portada__iconos { display: flex; gap: 6px; }
.portada__iconos .redondo { background: var(--lima); border-color: var(--lima); }
.portada__iconos .redondo:hover { background: var(--negro); color: var(--lima); }
.flota { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 22px 26px rgba(0,0,0,.35)); will-change: transform; }
.flota--a { width: clamp(80px, 8vw, 140px); left: 6%; top: 42%; }
.flota--b { width: clamp(70px, 7vw, 120px); right: 7%; top: 30%; }
.flota--c { width: clamp(46px, 4vw, 70px); left: 22%; top: 28%; filter: blur(2px) drop-shadow(0 10px 16px rgba(0,0,0,.3)); }
.flota--d { width: clamp(90px, 9vw, 160px); right: 3%; bottom: 18%; }
.sello--portada { width: 132px; height: 132px; right: 16%; top: 25%; }
.sello--portada span { font-size: 22px; }

/* ---------- La carta (dirección: Shopify Supply en Refero: galería negra de productos con foto grande, nombre y precio debajo;
   palabra gigante de fondo y etiquetas chicas). Todo con la letra y los colores de su portada para que sea parte de su página. ---------- */
.carta { position: relative; background-color: var(--lima); padding: 110px var(--g) 100px; --patron: url(assets/fondo-ingredientes-oscuro.webp); }
.carta__cab { position: relative; max-width: 1320px; margin: 0 auto 34px; text-align: center; isolation: isolate; }
.carta__fantasma { position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -54%); font-family: var(--titulo); font-weight: 900; font-size: clamp(140px, 26vw, 420px); line-height: .8; letter-spacing: -.05em; color: rgba(0,0,0,.07); white-space: nowrap; pointer-events: none; }
.carta__ojo { margin: 0; font-family: var(--util); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.carta__titulo { margin: 6px 0 0; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: .82; font-size: clamp(76px, 11vw, 190px); color: var(--negro); }
.carta__datos { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.carta__datos li { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--negro); color: var(--blanco); font-size: 14px; }
.carta__datos b { color: var(--lima); font-family: var(--util); font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.carta__datos a { color: inherit; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.carta__datos a:hover { text-decoration: underline; }
.buscar { position: relative; display: block; width: min(520px, 100%); margin: 18px auto 0; }
.buscar svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--negro); stroke-width: 2.4; stroke-linecap: round; pointer-events: none; }
.buscar input { width: 100%; height: 54px; border-radius: 999px; border: 2px solid var(--negro); background: rgba(255,255,255,.55); color: var(--negro); padding: 0 22px 0 52px; font: inherit; font-size: 16px; }
.buscar input::placeholder { color: rgba(0,0,0,.55); }
.buscar input:focus { outline: none; background: var(--blanco); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tablero { max-width: 1320px; margin: 0 auto; background: var(--negro); color: var(--blanco); border-radius: 34px; padding: 0 0 44px; box-shadow: 0 50px 90px rgba(40,50,0,.28); }
.categorias { position: sticky; top: 74px; z-index: 6; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: safe center; gap: 6px; padding: 14px 30px; background: rgba(10,10,10,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 34px 34px 0 0; border-bottom: 1px solid #222; }
.categorias::-webkit-scrollbar { display: none; }
.categorias button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 15px 0 5px; border-radius: 999px; border: 1px solid #2a2a2a; background: #141414; color: var(--blanco); font-family: var(--util); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: all .25s var(--curva); }
.categorias button img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.categorias button:hover { border-color: var(--lima); color: var(--lima); }
.categorias button[aria-pressed="true"] { background: var(--lima); border-color: var(--lima); color: var(--negro); }
.columnas-carta { padding: 0 30px; }
.grupo { display: none; padding-top: 34px; }
.grupo.activo, .tablero.buscando .grupo { display: block; }
.tablero.buscando .grupo[hidden] { display: none; }
.grupo__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding: 0 4px; }
.grupo__cab h3 { margin: 0; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(40px, 4.6vw, 70px); line-height: .86; color: var(--lima); }
.grupo__cab p { margin: 8px 0 0; color: #a6a69f; font-size: 15px; max-width: 560px; }
.grupo__cab .cuenta { font-family: var(--util); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #8d8d86; white-space: nowrap; }
/* Galería: foto grande arriba (sus fotos ya traen el lima de la marca), nombre, descripción y precio debajo */
.lista-platos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; }
.grupo.entra .plato { animation: entraPlato .5s var(--curva) both; }
@keyframes entraPlato { from { opacity: 0; transform: translateY(16px); } }
.plato { position: relative; display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.plato.oculto { display: none; }
.plato__fotobox { order: -1; position: relative; }
.plato__foto { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #1a1a1a; }
.plato__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--curva); }
.plato:hover .plato__foto img { transform: scale(1.06); }
.mas { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--negro); color: var(--lima); font-size: 26px; font-weight: 600; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,0,0,.3); transition: transform .3s var(--curva), background-color .2s, color .2s; }
.mas:hover { transform: rotate(90deg) scale(1.08); background: var(--lima); color: var(--negro); }
.plato__texto { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 0 4px; }
.plato__nombre { margin: 0; font-family: var(--titulo); font-weight: 800; font-size: 18px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.etiqueta { align-self: flex-start; display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 999px; background: var(--blanco); color: var(--negro); font-family: var(--util); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.plato__desc { margin: 0; color: #b4b4ad; font-size: 14px; line-height: 1.4; }  /* completa, sin cortar (Erick, 1 dic) */
.plato__precio { margin-top: 2px; font-family: var(--titulo); font-weight: 800; font-size: 19px; color: var(--lima); }
.tallas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 4px; }
.plato__texto { flex: 1; }  .plato__texto > .tallas, .plato__texto > .plato__precio { margin-top: auto; }  /* precios parejos al fondo aunque la descripción sea larga */
.talla { box-sizing: border-box; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; height: 46px; padding: 0 2px; border-radius: 14px; border: 1px solid #2c2c2c; background: #151515; color: var(--blanco); cursor: pointer; font-family: var(--util); font-weight: 700; font-size: 15px; line-height: 1; transition: all .2s var(--curva); }
.talla small { font-size: 10px; letter-spacing: .08em; color: #8d8d86; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; }
.talla:hover { background: var(--lima); border-color: var(--lima); color: var(--negro); transform: translateY(-2px); }
.talla:hover small { color: rgba(0,0,0,.6); }
.plato.pulso .plato__foto { animation: pulso .6s var(--curva); }
@keyframes pulso { 30% { box-shadow: 0 0 0 4px var(--lima); } }
.mini-mas { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--negro); color: var(--lima); font-size: 14px; vertical-align: -3px; }
.tablero__nada { color: #a2a29b; text-align: center; padding: 40px 0; margin: 0; }
.aviso-agregado { position: fixed; z-index: 55; left: 50%; bottom: 24px; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--negro); color: var(--blanco); box-shadow: 0 16px 40px rgba(0,0,0,.35); font-family: var(--titulo); font-weight: 700; font-size: 14px; text-transform: uppercase; transition: transform .45s var(--curva); max-width: calc(100% - 28px); }
.aviso-agregado.visible { transform: translate(-50%, 0); }
.aviso-agregado span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1180px) { .lista-platos { grid-template-columns: repeat(3, 1fr); } }
.modo-qr .talla { pointer-events: none; }

/* ---------- Promo del día ---------- */
/* Promo del día en escenario negro: la cifra gigante en lima de orilla a orilla, los productos encima, cintas que corren y cuenta regresiva */
.promos { position: relative; overflow: hidden; padding: 200px var(--g) 210px; text-align: center; background-color: var(--negro); background-image: none; color: var(--blanco); }
.cinta { position: absolute; z-index: 1; left: -10%; width: 120%; height: 64px; display: flex; align-items: center; overflow: hidden; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.cinta--a { top: 70px; background: var(--lima); color: var(--negro); transform: rotate(-3deg); }
.cinta--b { bottom: 70px; background: var(--blanco); color: var(--negro); transform: rotate(2.5deg); }
.cinta__pista { display: flex; flex: none; white-space: nowrap; animation: cintaCorre 26s linear infinite; }
.cinta--b .cinta__pista { animation-direction: reverse; animation-duration: 30s; }
.cinta__pista span { padding-right: 26px; font-family: var(--titulo); font-weight: 900; font-size: 30px; letter-spacing: -.01em; text-transform: uppercase; }
.cinta__pista span::after { content: "✦"; margin-left: 26px; }
@keyframes cintaCorre { to { transform: translateX(-50%); } }
.oferta { position: relative; z-index: 2; max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.oferta__dia { margin: 0; display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--blanco); color: var(--negro); font-family: var(--util); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.oferta__dia span { color: var(--negro); }
.oferta__dia span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: #e3342b; vertical-align: 1px; animation: latido 1.4s ease-in-out infinite; }
@keyframes latido { 50% { opacity: .25; } }
.oferta__dia i { width: 6px; height: 6px; border-radius: 50%; background: #999; }
.oferta__escena { position: relative; width: 100%; margin-top: 18px; padding-bottom: clamp(70px, 9vw, 150px); }
.oferta__grande { position: relative; z-index: 1; margin: 0 -6vw; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; letter-spacing: -.07em; line-height: .76; font-size: clamp(250px, 42vw, 720px); color: var(--lima); white-space: nowrap; scale: calc(1 + var(--p, 0) * -.05); }
.oferta__prod { position: absolute; z-index: 3; bottom: 0; margin: 0; width: clamp(300px, 40vw, 680px); transition: transform 1.2s cubic-bezier(.16,1,.3,1), opacity .8s; }
.oferta__prod img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgba(0,0,0,.6)); animation: ofertaFlota 6s ease-in-out infinite; }
.oferta__prod--a { left: -3%; translate: calc(var(--p, 0) * -70px) 0; rotate: -8deg; }
.oferta__prod--b { right: -3%; translate: calc(var(--p, 0) * 70px) 0; rotate: 8deg; }
.oferta__prod--b img { animation-delay: -3s; }
@keyframes ofertaFlota { 50% { transform: translateY(-14px) rotate(2deg); } }
.oferta:not(.visible) .oferta__prod--a { transform: translateX(-50vw) rotate(-40deg) scale(.7); opacity: 0; }
.oferta:not(.visible) .oferta__prod--b { transform: translateX(50vw) rotate(40deg) scale(.7); opacity: 0; }
.oferta__tag { position: absolute; left: 30%; top: 4%; display: inline-flex; align-items: center; height: 54px; padding: 0 24px; border-radius: 999px; background: var(--blanco); color: var(--negro); font-family: var(--titulo); font-weight: 900; font-size: 22px; text-transform: uppercase; transform: rotate(-6deg); box-shadow: 0 14px 28px rgba(0,0,0,.4); }
.oferta__sello { position: absolute; right: 24%; top: -14%; width: clamp(150px, 15vw, 240px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; padding: 16px; background: var(--lima); color: var(--negro); font-family: var(--titulo); font-weight: 900; font-size: clamp(30px, 3.3vw, 52px); line-height: .88; text-transform: uppercase; text-align: center; letter-spacing: -.03em; transform: rotate(12deg); box-shadow: 0 0 0 8px var(--negro), 0 0 0 12px var(--lima), 0 24px 40px rgba(0,0,0,.5); transition: transform .9s cubic-bezier(.34,1.56,.64,1) .6s; animation: selloLate 2.4s ease-in-out 2s infinite; }
@keyframes selloLate { 0%, 70%, 100% { scale: 1; } 80% { scale: 1.1; } 90% { scale: .97; } }
.oferta:not(.visible) .oferta__sello { transform: rotate(-40deg) scale(0); }
.oferta__que { position: relative; z-index: 4; margin: 0; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; font-size: clamp(60px, 8vw, 140px); color: var(--blanco); }
.oferta__detalle { margin: 20px 0 0; max-width: 600px; font-size: 20px; line-height: 1.4; color: #d8d8d0; }
.oferta__chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.oferta__chips li { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--lima); color: var(--blanco); font-family: var(--util); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; }
.oferta__chips b { color: var(--lima); font-family: var(--titulo); font-weight: 900; font-size: 26px; letter-spacing: -.01em; }
.oferta__reloj { margin: 22px 0 0; font-family: var(--util); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: #bdbdb5; }
.oferta__reloj b { display: inline-block; margin-left: 8px; padding: 6px 14px; border-radius: 10px; background: #1b1b1b; color: var(--lima); font-family: var(--titulo); font-weight: 800; font-size: 24px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.oferta__boton { margin-top: 26px; height: 62px; padding: 0 40px; font-size: 17px; }
/* La semana: piezas recortadas que flotan, sin recuadros; la de hoy en lima */
.columnas { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1320px; margin: 150px auto 0; text-align: center; color: var(--blanco); }
.dia-promo { display: flex; flex-direction: column; align-items: center; gap: 10px; transition-delay: calc(var(--i, 0) * .15s); }
.dia-promo__piezas { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1.3; margin-bottom: 10px; }
.dia-promo__piezas img { position: absolute; height: auto; filter: drop-shadow(0 30px 28px rgba(0,0,0,.65)); transition: scale .6s var(--curva), rotate .6s var(--curva); }
.dia-promo__a { left: 0; top: 6%; width: 70%; animation: flotaDia 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.4s); }
.dia-promo__b { right: 0; bottom: 0; width: 60%; animation: flotaDia 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.4s - 3s); }
@keyframes flotaDia { 50% { transform: translateY(-14px) rotate(3deg); } }
.dia-promo:hover .dia-promo__a { scale: 1.07; rotate: -6deg; }
.dia-promo:hover .dia-promo__b { scale: 1.07; rotate: 6deg; }
.dia-promo__sello { position: absolute; z-index: 2; right: 2%; top: 0; width: 84px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--blanco); color: var(--negro); font-family: var(--titulo); font-weight: 900; font-size: 26px; letter-spacing: -.03em; text-transform: uppercase; rotate: 10deg; box-shadow: 0 14px 26px rgba(0,0,0,.45); transition: rotate .5s var(--curva), scale .5s var(--curva); }
.dia-promo:hover .dia-promo__sello { rotate: -6deg; scale: 1.1; }
.dia-promo.hoy .dia-promo__sello { background: var(--lima); box-shadow: 0 0 0 5px var(--negro), 0 0 0 8px var(--lima), 0 14px 26px rgba(0,0,0,.45); animation: selloLate 2.4s ease-in-out infinite; }
.dia-promo__dia { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-family: var(--util); font-weight: 700; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: #a9a9a1; }
.dia-promo__dia b { height: 26px; padding: 0 10px; border-radius: 999px; background: var(--lima); color: var(--negro); display: inline-flex; align-items: center; font-size: 14px; letter-spacing: .06em; }
.dia-promo h3 { margin: 0; font-family: var(--titulo); font-weight: 900; font-size: clamp(30px, 2.8vw, 42px); line-height: .92; text-transform: uppercase; letter-spacing: -.02em; }
.dia-promo.hoy h3 { color: var(--lima); }
.dia-promo__d { margin: 0; max-width: 320px; font-size: 16px; line-height: 1.4; color: #bdbdb5; }
.dia-promo__ir { margin-top: 8px; height: 46px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--lima); background: transparent; color: var(--lima); font-family: var(--titulo); font-weight: 800; font-size: 15px; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s, transform .25s var(--curva); }
.dia-promo__ir:hover { background: var(--lima); color: var(--negro); transform: translateY(-2px); }
.medalla { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--lima); display: grid; place-items: center; padding: 9px; flex: none; }
.medalla img { width: 100%; height: 100%; object-fit: contain; }
.flota--e { width: clamp(80px, 8vw, 140px); left: 5%; top: 9%; }
.flota--f { width: clamp(80px, 8vw, 130px); right: 6%; top: 12%; }
.flota--g { width: clamp(60px, 6vw, 100px); right: 22%; top: 34%; }

/* ---------- Te la llevamos / visítanos ---------- */
.visita { display: grid; grid-template-columns: 1fr 1fr; min-height: 900px; background: var(--negro); }
.visita__lima { position: relative; overflow: hidden; padding: 70px var(--g) var(--g); display: flex; flex-direction: column; gap: 18px; }
.visita__ojo { margin: 0; font-family: var(--util); font-weight: 700; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; }
.visita__escena { position: relative; flex: 1; min-height: 300px; display: grid; place-items: center; }
.visita__caja { width: min(560px, 92%); height: auto; filter: drop-shadow(26px 36px 30px rgba(40,50,0,.45)); animation: ofertaFlota 7s ease-in-out infinite; }
.estampa.estampa--envio { left: auto; right: 0; top: 0; width: clamp(130px, 11vw, 170px); }
.visita__titulo { margin: 0; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .85; font-size: clamp(64px, 8vw, 130px); }
.sello--negro { width: 170px; height: 170px; right: 12%; top: 46%; }
.sello--negro span { font-size: 28px; }
.visita__datos { display: flex; flex-direction: column; gap: 18px; }
.datos { display: flex; flex-wrap: wrap; gap: 6px; }
.visita__mapa { position: relative; display: flex; flex-direction: column; gap: 26px; padding: 60px var(--g) var(--g); color: var(--blanco); }
.mapa { position: relative; flex: 1; min-height: 420px; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 6px var(--lima), 0 30px 60px rgba(0,0,0,.5); background: #1c1c1c; }
.mapa iframe { position: absolute; top: -150px; left: -60px; width: calc(100% + 120px); height: calc(100% + 300px); border: 0; pointer-events: none; filter: grayscale(1) contrast(1.08) brightness(1.04); }
.mapa__tinte { position: absolute; inset: 0; background: var(--lima); mix-blend-mode: multiply; opacity: .55; pointer-events: none; }
.mapa__pin { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -92px 0 0 -39px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: var(--negro); box-shadow: 0 0 0 5px var(--lima), 0 14px 24px rgba(0,0,0,.45); display: grid; place-items: center; animation: pinSalta 2.6s ease-in-out infinite; }
.mapa__pin img { width: 70%; transform: rotate(45deg); }
@keyframes pinSalta { 50% { translate: 0 -10px; } }
.mapa__aqui { position: absolute; left: 50%; top: 50%; margin: 6px 0 0; translate: -50% 0; height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--negro); color: var(--lima); font-family: var(--util); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.mapa__rebanada { position: absolute; right: -18px; bottom: -22px; width: clamp(110px, 11vw, 170px); rotate: -18deg; filter: drop-shadow(0 18px 20px rgba(0,0,0,.5)); animation: ofertaFlota 6s ease-in-out infinite; }
.visita__mapa .visita__texto { position: relative; left: auto; right: auto; bottom: auto; }
.visita__col { margin: -6px 0 0; color: #bdbdb5; font-size: 16px; }
.visita__texto .dividido { color: var(--lima); }
.iconos-fila { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.iconos-fila li { display: flex; align-items: center; gap: 14px; }
.iconos-fila li:nth-child(2) { padding-left: 34px; }
.iconos-fila li:nth-child(3) { padding-left: 68px; }

/* ---------- ¿Ya te dio hambre? ---------- */
.hambre { position: relative; height: 175vh; }
.hambre__escena { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hambre__escena > * { grid-area: 1 / 1; }
.hambre__titulo { align-self: start; margin: 14vh 0 0; text-align: center; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; line-height: .85; letter-spacing: -.035em; font-size: clamp(64px, 9vw, 150px); z-index: 3; }
.explota { position: relative; z-index: 2; width: min(50vh, 500px); aspect-ratio: 1; margin-top: 22vh; }
.trozo, .chispa { position: absolute; will-change: transform; }
.trozo { inset: 0; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 24px 28px rgba(0,0,0,.35)); }
.explota__entera { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 24px 28px rgba(0,0,0,.35)); }
.chispa { width: 17%; left: 41.5%; top: 41.5%; opacity: 0; filter: drop-shadow(0 12px 16px rgba(0,0,0,.3)); }
.hambre__acciones { align-self: end; margin-bottom: 8vh; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* ---------- Cierre con el nombre gigante ---------- */
.pie { background-color: var(--negro); color: var(--blanco); padding: 24px var(--g) 0; overflow: hidden; }
.pie__nombre { margin: 0; font-family: var(--titulo); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: 1; font-size: clamp(60px, 13.2vw, 260px); color: var(--lima); white-space: nowrap; text-align: center; }
.pie__fila { display: flex; justify-content: space-between; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.pie__menus { display: flex; gap: 60px; }
.pie__menus div, .pie__contacto { display: flex; flex-direction: column; gap: 4px; }
.pie__menus .anota, .pie__contacto .anota { margin-bottom: 8px; }
.pie a { text-decoration: none; font-family: var(--util); font-weight: 500; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.pie__menus a:hover, .pie__contacto > a:hover { color: var(--lima); }
.pie__redes { display: flex; gap: 6px; margin-top: 12px; }
.pie__redes svg { width: 20px; height: 20px; fill: currentColor; }
.pie__base { margin-top: 70px; border-top: 1px solid #262626; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 22px; font-family: var(--util); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); flex-wrap: wrap; }
.pie__base a { display: flex; align-items: center; gap: 8px; }
.pie__base img { height: 14px; width: auto; }

/* ---------- Botón flotante (celular) ---------- */
.flotante { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 45; height: 58px; border: 0; border-radius: 999px; background: var(--negro); color: var(--lima); display: none; align-items: center; justify-content: space-between; padding: 0 24px; font-family: var(--titulo); font-weight: 800; font-size: 16px; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.35); transform: translateY(140%); transition: transform .4s var(--curva); }
.flotante.visible { transform: none; }

/* ---------- Ventana del platillo ---------- */
.velo { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.platillo { position: fixed; z-index: 70; inset: 0; margin: auto; width: min(540px, calc(100% - 24px)); max-height: calc(100svh - 40px); padding: 0; border: 0; border-radius: 18px; background: var(--panel); color: var(--blanco); overflow: hidden; display: none; flex-direction: column; }
.platillo[open] { display: flex; animation: abre .4s var(--curva); }
@keyframes abre { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.platillo::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }
.platillo__foto { margin: 0; height: min(240px, 28svh); flex: none; background: var(--negro); }
.platillo__foto img { width: 100%; height: 100%; object-fit: cover; }
.platillo__cuerpo { padding: 22px 24px 6px; overflow-y: auto; }
.platillo__cuerpo .anota { margin-bottom: 8px; }
.platillo h3 { margin: 0; font-family: var(--titulo); font-weight: 900; font-size: 38px; line-height: .92; text-transform: uppercase; letter-spacing: -.02em; }
.platillo__desc { color: #a9a9a2; margin: 10px 0 0; }
fieldset { border: 0; margin: 20px 0 0; padding: 0; }
legend { padding: 0; margin-bottom: 10px; font-family: var(--util); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--gris); }
.pildoras { display: flex; flex-wrap: wrap; gap: 6px; }
.pildoras label { position: relative; cursor: pointer; }
.pildoras input { position: absolute; opacity: 0; pointer-events: none; }
.pildoras span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #3a3a36; font-family: var(--util); font-weight: 600; font-size: 16px; letter-spacing: .02em; transition: all .2s var(--curva); }
.pildoras span small { font-size: 14px; color: var(--gris); }
.pildoras input:checked + span { background: var(--lima); color: var(--negro); box-shadow: none; }
.pildoras input:checked + span small { color: rgba(0,0,0,.6); }
.pildoras input:focus-visible + span { outline: 2px solid var(--lima); outline-offset: 2px; }
.campo { display: block; margin-top: 16px; }
.campo > span { display: block; margin-bottom: 8px; font-family: var(--util); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; color: var(--gris); }
.campo input { width: 100%; height: 50px; border-radius: 999px; border: 1.5px solid #333; background: var(--negro); color: var(--blanco); padding: 0 18px; font: inherit; }
.campo input:focus { outline: none; border-color: var(--lima); }
.campo--nota { margin-bottom: 18px; }
.platillo__pie { display: flex; gap: 10px; padding: 14px 24px 20px; border-top: 1px solid #262626; flex: none; }
.contador { display: flex; align-items: center; gap: 4px; background: var(--negro); border-radius: 999px; padding: 4px; }
.contador button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #222; cursor: pointer; font-size: 20px; }
.contador b { min-width: 26px; text-align: center; font-family: var(--util); font-size: 19px; }
.cerrar { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.75); color: var(--blanco); font-size: 22px; line-height: 1; }

/* ---------- Carrito ---------- */
.carrito { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%); background: var(--panel); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s var(--curva); }
.carrito.abierto { transform: none; }
.carrito { color: var(--blanco); }
.carrito__cab { position: relative; padding: 24px 24px 16px; border-bottom: 1px solid #262626; }
.carrito__cab h3 { margin: 0; font-family: var(--titulo); font-weight: 900; font-size: 40px; text-transform: uppercase; letter-spacing: -.02em; color: var(--lima); }
.carrito__paso { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.carrito__vacio { text-align: center; padding: 50px 0; color: var(--gris); }
.lineas { list-style: none; margin: 0; padding: 0; }
.linea { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid #262626; }
.linea h4 { margin: 0; font-family: var(--titulo); font-weight: 800; font-size: 18px; text-transform: uppercase; }
.linea p { margin: 0; color: var(--gris); font-size: 14px; }
.linea__precio { font-family: var(--util); font-weight: 700; font-size: 19px; text-align: right; }
.linea .contador { grid-column: 1; justify-self: start; margin-top: 8px; }
.linea .contador button { width: 32px; height: 32px; }
.promo-nota { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--negro); color: var(--lima); font-size: 14px; }
.promo-nota:empty { display: none; }
.desglose { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #3a3a3a; font-size: 15px; color: #cfcfc7; }
.desglose div { display: flex; justify-content: space-between; gap: 12px; }
.desglose .ahorro { color: var(--lima); font-weight: 700; }
.carrito__pie { padding: 16px 24px 22px; border-top: 1px solid #262626; display: grid; gap: 8px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { font-family: var(--titulo); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.total b { font-family: var(--titulo); font-weight: 900; font-size: 30px; }
.volver { background: none; border: 0; color: var(--gris); cursor: pointer; padding: 8px; font-family: var(--util); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.segmento { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--negro); padding: 4px; border-radius: 999px; margin-top: 14px; }
.segmento label { position: relative; cursor: pointer; }
.segmento input { position: absolute; opacity: 0; }
.segmento span { display: grid; place-items: center; height: 44px; border-radius: 999px; font-family: var(--titulo); font-weight: 800; font-size: 14px; text-transform: uppercase; }
.segmento input:checked + span { background: var(--lima); color: var(--negro); }
.aviso { color: var(--gris); margin: 10px 0 0; font-size: 14px; }
.aviso:empty { display: none; }
#ubicar { margin-top: 16px; }
.pago { margin-top: 24px; }
.error { color: #ff6961; margin: 14px 0 0; font-size: 15px; }
.error:empty { display: none; }

/* Modo carta (QR de las mesas): solo ver */
.modo-qr .mas, .modo-qr #abrirCarrito, .modo-qr .flotante, .modo-qr [data-abrir].pil, .modo-qr [data-carrito] { display: none !important; }

/* ---------- Tableta ---------- */
@media (max-width: 1080px) {
  .barra__izq .pil:not(:first-child), .pil--estado { display: none; }
  .visita { grid-template-columns: 1fr; }
  .visita__lima { min-height: 720px; }
  .visita__mapa { padding-top: 44px; }
  .mapa { min-height: 340px; }
  .columnas { grid-template-columns: 1fr; gap: 70px; margin-top: 110px; }
}
/* ---------- Celular ---------- */
@media (max-width: 720px) {
  .carta { padding: 80px 8px 64px; }
  .carta__cab { margin-bottom: 22px; padding: 0 8px; }
  .carta__ojo { font-size: 13px; letter-spacing: .08em; }
  .carta__titulo { font-size: 23vw; }
  .carta__datos { gap: 6px; margin-top: 18px; }
  .carta__datos li { height: 34px; padding: 0 12px; font-size: 12.5px; }
  .carta__datos b { font-size: 13px; }
  .carta__datos li:last-child { display: none; }
  .buscar input { height: 50px; font-size: 15px; }
  .tablero { border-radius: 26px; padding-bottom: 24px; }
  .categorias { top: 62px; justify-content: flex-start; padding: 10px 12px; border-radius: 26px 26px 0 0; }
  .columnas-carta { padding: 0 12px; }
  .grupo { padding-top: 22px; }
  .grupo__cab { flex-direction: column; align-items: flex-start; gap: 4px; }
  .lista-platos { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .plato { gap: 9px; }
  .plato__foto { border-radius: 16px; }
  .mas { width: 38px; height: 38px; font-size: 22px; right: 7px; bottom: 7px; }
  .plato__texto { padding: 0 2px; gap: 5px; }
  .plato__nombre { font-size: 15px; }
  .plato__desc { font-size: 12.5px; }
  .plato__precio { font-size: 17px; }
  .tallas { gap: 3px; }
  .talla { height: 40px; border-radius: 10px; font-size: 12.5px; }
  .talla small { font-size: 8.5px; letter-spacing: .04em; margin-bottom: 3px; }
  :root { --g: 16px; }
  .barra { height: 66px; }
  .barra__logo img { width: 48px; }
  #abrirCarrito span { display: none; }
  .portada { min-height: 660px; }
  .pz--4quesos { width: 46vw; left: -16%; top: 21%; }
  .pz--pepperoni { width: 44vw; right: -16%; top: 26%; }
  .pz--hawaiana { width: 54vw; left: -20%; bottom: 17%; }
  .pz--mexicana { width: 56vw; right: -22%; bottom: 14%; }
  .pz--idilio { width: 112vw; bottom: 15%; margin-left: -56vw; }
  .pz--rebA { width: 26vw; left: 2%; top: 42%; }
  .pz--rebB { width: 24vw; right: 3%; top: 38%; }
  .escena__logo { top: 58%; }
  .portada .flota--b { display: none; }
  .portada__arriba { padding-top: 84px; }
  .portada__nombre { font-size: 13.4vw; letter-spacing: -.04em; }
  .portada__desc { font-size: 26px; }
  .portada__apoyo { width: 100%; align-items: stretch; }
  .portada__dato { font-size: 12px; letter-spacing: .03em; padding-right: 14px; }
  .portada__dato img { width: 32px; height: 32px; }
  .portada__botones { display: grid; grid-template-columns: 1fr 1fr; }
  .portada__botones .pil { height: 50px; padding: 0 10px; justify-content: center; }
  .portada__iconos { display: none; }
  .portada__pie { bottom: 14px; }
  .flota--a { width: 64px; top: 34%; left: 2%; } .flota--b { width: 60px; top: 30%; right: 2%; } .flota--c, .flota--d { display: none; }
  .estampa { width: 112px; right: auto; left: 5%; top: 44%; box-shadow: 0 0 0 4px var(--blanco), 0 12px 24px rgba(40,50,0,.35); }
  .estampa__aro text { font-size: 20px; }
  .estampa__centro b { font-size: 11px; }
  .promos { padding: 130px 12px 140px; }
  .cinta { height: 46px; }
  .cinta--a { top: 40px; } .cinta--b { bottom: 40px; }
  .cinta__pista span { font-size: 21px; padding-right: 18px; }
  .cinta__pista span::after { margin-left: 18px; }
  .oferta__dia { height: 38px; font-size: 13px; padding: 0 14px; gap: 8px; }
  .oferta__escena { margin-top: 18px; padding-bottom: 170px; }
  .oferta__grande { font-size: 52vw; margin: 0 -10vw; }
  .oferta__prod { width: 54vw; bottom: 0; }
  .oferta__prod--a { left: 0; translate: none; } .oferta__prod--b { right: 0; translate: none; }
  .oferta__tag { height: 34px; font-size: 13px; padding: 0 12px; left: 10%; top: -6%; }
  .oferta__sello { width: 92px; font-size: 18px; right: 10%; top: -34%; padding: 8px; box-shadow: 0 0 0 5px var(--negro), 0 0 0 8px var(--lima), 0 12px 24px rgba(0,0,0,.4); }
  .oferta__que { font-size: 15vw; }
  .oferta__detalle { font-size: 16px; padding: 0 8px; }
  .oferta__chips { gap: 6px; }
  .oferta__chips li { height: 42px; font-size: 12.5px; padding: 0 12px; gap: 6px; }
  .oferta__chips b { font-size: 19px; }
  .oferta__reloj { font-size: 13px; }
  .oferta__reloj b { font-size: 19px; }
  .oferta__boton { width: 100%; max-width: 340px; }
  .visita__lima { min-height: 0; padding: 50px 16px 40px; gap: 14px; }
  .visita__ojo { font-size: 13px; letter-spacing: .08em; }
  .visita__escena { min-height: 0; margin: 4px 0 6px; }
  .visita__caja { width: 88%; }
  .estampa.estampa--envio { left: auto; right: -2%; top: -8%; width: 104px; }
  .hambre { height: 150vh; }
  .pie__base { margin-top: 34px !important; }
  .pie__fila { margin-top: 26px; gap: 28px; }
  .iconos-fila li:nth-child(n) { padding-left: 0; }
  .hambre__titulo { margin-top: 13vh; }
  .explota { width: 84vw; margin-top: 10vh; }
  .pie__menus { gap: 30px; flex-wrap: wrap; }
  .pie__base { margin-top: 60px; }
  .pie__base { padding-bottom: 90px; }
  .flotante { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-aparece] { opacity: 1; transform: none; }
}

/* Tarjetas de Rappi y DiDi Food (pizza y sushi), con el color y logo de cada app */
.apps { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.apps__ojo { margin: 0; font-family: var(--titulo); font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; color: var(--negro); }
.apps__rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); transition: transform .35s var(--curva); }
.app-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.app-card--rappi { background: #ff441f; color: #fff; }
.app-card--didi { background: #fff; color: #2d2d2d; }
.app-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); pointer-events: none; }
.app-card--didi::after { background: rgba(255,100,0,.08); }
.app-card__logo { height: 40px; width: auto; align-self: flex-start; }
.app-card--didi .app-card__logo { height: 34px; }
.app-card__txt { margin: 0 0 4px; font-family: var(--util); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.app-card__botones { display: flex; flex-direction: column; gap: 8px; }
.app-btn { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px 0 74px; border-radius: 999px; background: var(--negro); color: var(--blanco); text-decoration: none; font-family: var(--titulo); font-weight: 900; font-size: 18px; text-transform: uppercase; transition: background .25s, color .25s; }
.app-btn img { position: absolute; left: -6px; top: 50%; width: 76px; height: 76px; object-fit: contain; transform: translateY(-50%) rotate(-8deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); transition: transform .45s var(--curva); }
.app-btn span { flex: 1; }
.app-btn__flecha { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--lima); color: var(--negro); transition: transform .3s var(--curva); }
.app-btn:hover { background: #151515; color: var(--lima); }
.app-btn:hover img { transform: translateY(-50%) rotate(14deg) scale(1.08); }
.app-btn:hover .app-btn__flecha { transform: translateX(4px); }
@media (max-width: 640px) {
  .apps__rejilla { grid-template-columns: 1fr; }
  .app-card { padding: 18px 16px 16px; border-radius: 24px; }
}
