/* ===== MACÍAS BURGER ===== */
:root {
  --noche: #0f1729;
  --noche-2: #16213a;
  --noche-3: #1e2c4a;
  --tinta: #070b14;
  --crema: #fff4e3;
  --texto: #e9edf6;
  --suave: #9eabc6;
  --naranja: #f4a054;
  --fuego: #ff7a2f;
  --rojo: #e0444c;
  --verde: #5bc25e;
  --amarillo: #f6c531;
  --linea: rgba(255, 255, 255, .1);
  --radio: 22px;
  --sombra-dura: 4px 4px 0 var(--tinta);
  --f-display: 'Lilita One', 'Arial Black', sans-serif;
  --f-marca: 'Permanent Marker', 'Comic Sans MS', cursive;
  --f-texto: 'Outfit', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0; font-family: var(--f-texto); color: var(--texto); background: var(--noche);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* textura de grafiti muy sutil */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 40c20-20 40 20 60 0M150 30l10 25 25-5M210 90c-10 20 20 30 10 50M40 160l15-20 15 20 15-20M120 200c20 0 20-25 40-25M200 220l20-10M30 230c10-10 25 0 30-10M110 110l8 18 18-8-8-18z'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; text-decoration: none;
  font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .02em; padding: .8em 1.5em; border-radius: 999px;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinta) !important; }
.btn-fuego { background: var(--naranja); color: var(--tinta); box-shadow: var(--sombra-dura); }
.btn-fuego:hover { background: #ffb26b; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--tinta); }
.btn-fuego:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-blanco { background: #fff; color: var(--tinta); box-shadow: var(--sombra-dura); }
.btn-borde { background: transparent; color: var(--texto); border: 2px solid var(--linea); }
.btn-borde:hover { border-color: var(--naranja); color: var(--naranja); }

/* ---------- Aviso + cabecera ---------- */
.aviso { background: var(--amarillo); color: var(--tinta); text-align: center; font-weight: 700; padding: .5em 1em; font-size: .95rem; }
.cabecera {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(15, 23, 41, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linea);
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca span { font-family: var(--f-display); font-size: 1.45rem; color: var(--naranja); letter-spacing: .01em; }
.marca b { color: #fff; font-weight: 400; margin-left: .2em; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; color: var(--suave); font-size: .98rem; }
.menu a:hover { color: #fff; }
.estado-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; padding: 6px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--linea); white-space: nowrap;
}
.estado-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--suave); }
.estado-chip.abierto i { background: var(--verde); box-shadow: 0 0 0 0 rgba(91, 194, 94, .7); animation: latido 1.8s infinite; }
.estado-chip.cerrado i { background: var(--rojo); }
@keyframes latido { 70% { box-shadow: 0 0 0 9px rgba(91, 194, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 194, 94, 0); } }
.btn-carro {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--naranja); color: var(--tinta); box-shadow: 3px 3px 0 var(--tinta);
}
.btn-carro-n {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px;
  background: var(--rojo); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--noche);
}
.btn-carro-n.cero { display: none; }
.btn-carro.salta { animation: salto .5s; }
@keyframes salto { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.92); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
  padding: clamp(36px, 7vw, 90px) clamp(16px, 5vw, 72px) clamp(40px, 6vw, 70px); min-height: min(88vh, 820px); overflow: hidden;
  background: radial-gradient(1000px 600px at 75% 55%, #24365c 0%, transparent 60%), linear-gradient(180deg, var(--noche) 0%, #121c33 100%);
}
.hero-garabatos { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-garabatos .g { position: absolute; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.g1 { width: 120px; top: 9%; left: 46%; stroke: var(--naranja); transform: rotate(-8deg); }
.g2 { width: 46px; top: 90%; left: 3%; stroke: var(--amarillo); transform: rotate(12deg); }
.g3 { width: 90px; bottom: 9%; left: 40%; stroke: var(--verde); }
.g4 { width: 52px; top: 16%; right: 6%; stroke: var(--rojo); }
.g5 { width: 34px; top: 5%; left: 2%; stroke: var(--naranja); opacity: .5 !important; }
.hero-texto { position: relative; z-index: 2; }
.hero-pre { font-family: var(--f-marca); color: var(--amarillo); font-size: 1.25rem; margin: 0 0 .4em; transform: rotate(-2deg); display: inline-block; }
.hero-titulo {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .93; color: #fff;
  text-shadow: 5px 5px 0 var(--tinta); letter-spacing: .005em;
}
.marcador { color: var(--naranja); display: inline-block; position: relative; }
.marcador::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14C60 4 140 4 296 10' stroke='%23e0444c' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--suave); max-width: 34em; margin: 1.3em 0 1.6em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-cta .btn { font-size: 1.3rem; padding: .85em 1.8em; }
.cuenta-atras { font-weight: 700; font-size: .95rem; color: var(--crema); background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .25); padding: .55em 1em; border-radius: 14px; }
.cuenta-atras b { color: var(--amarillo); }
.hero-foto { position: relative; justify-self: center; width: min(560px, 100%); aspect-ratio: 1; }
.hero-halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(244, 160, 84, .32), transparent 65%); filter: blur(10px); }
.hero-foto img {
  position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 52%, #000 56%, transparent 71%); mask-image: radial-gradient(circle at 50% 52%, #000 56%, transparent 71%);
  animation: flota 6s ease-in-out infinite;
}
@keyframes flota { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.hero-corona { position: absolute; width: 30%; top: -1%; left: 36%; fill: none; stroke: var(--amarillo); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; transform: rotate(-6deg); }
.pegatina { position: absolute; width: 30%; right: -2%; bottom: 8%; aspect-ratio: 1; display: grid; place-items: center; }
.pegatina svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 18s linear infinite; }
.pegatina::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: var(--verde); box-shadow: 4px 4px 0 var(--tinta); }
.pegatina text { font-family: var(--f-display); font-size: 17.5px; fill: var(--tinta); letter-spacing: 1.5px; }
.pegatina span { position: relative; font-size: 2.6rem; }
@keyframes gira { to { transform: rotate(360deg); } }
.hero-nota { position: absolute; left: 2%; bottom: 6%; font-family: var(--f-marca); font-size: 1.1rem; color: var(--crema); transform: rotate(-5deg); margin: 0; }
.hero-nota em { color: var(--naranja); font-style: normal; }

/* ---------- Cinta ---------- */
.cinta { background: var(--naranja); color: var(--tinta); overflow: hidden; border-block: 3px solid var(--tinta); transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 3; }
.cinta-pista { display: flex; width: max-content; animation: cinta 38s linear infinite; }
.cinta-pista span { font-family: var(--f-display); font-size: 1.5rem; padding: .35em .8em; white-space: nowrap; }
.cinta-pista span:nth-child(even) { color: #fff; -webkit-text-stroke: 1.5px var(--tinta); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Títulos de sección ---------- */
.seccion-cab { text-align: center; margin-bottom: 28px; }
.garabato-titulo { font-family: var(--f-marca); color: var(--amarillo); font-size: 1.4rem; margin: 0; transform: rotate(-2deg); }
.titulo-grande {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 8vw, 5.6rem); color: var(--naranja);
  text-shadow: 5px 5px 0 var(--tinta); letter-spacing: .01em;
}
.seccion-bajada { color: var(--suave); max-width: 36em; margin: .8em auto 0; }

/* ---------- Carta ---------- */
.carta { padding: clamp(60px, 9vw, 110px) clamp(16px, 4vw, 56px) 70px; max-width: 1320px; margin: 0 auto; }
.cat-tabs {
  position: sticky; top: 72px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 4px; margin: 0 -4px 22px; background: linear-gradient(var(--noche) 70%, transparent);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a {
  flex: none; text-decoration: none; font-weight: 700; padding: .5em 1.1em; border-radius: 999px; border: 2px solid var(--linea); color: var(--suave); font-size: .95rem;
}
.cat-tabs a.activa { background: #fff; color: var(--tinta); border-color: #fff; }
.cat { margin-bottom: 64px; }
.cat-cab { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 20px; }
.cat-cab h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; text-shadow: 3px 3px 0 var(--tinta); }
.cat-cab p { margin: 0; font-family: var(--f-marca); color: var(--suave); font-size: 1.05rem; }
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.prod {
  position: relative; display: flex; flex-direction: column; text-align: left; border: 0; padding: 0; color: inherit;
  background: linear-gradient(180deg, #1b2846 0%, var(--noche-2) 100%); border-radius: var(--radio); overflow: hidden;
  box-shadow: 0 0 0 1px var(--linea); transition: transform .25s, box-shadow .25s;
}
.prod:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 0 0 2px var(--c, var(--naranja)), 0 20px 40px rgba(0, 0, 0, .45); }
.prod-foto { position: relative; aspect-ratio: 1 / .86; overflow: hidden; background: #121b30; }
.prod-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #121b30 0%, transparent 22%, transparent 70%, rgba(22, 33, 58, .95) 100%); }
.prod:hover .prod-foto img { transform: scale(1.06); }
.prod-etiqueta { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--amarillo); color: var(--tinta); font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: .35em .8em; border-radius: 8px; transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--tinta); }
.prod-info { padding: 4px 20px 20px; margin-top: -40px; position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; }
.prod-nombre { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; color: var(--c, var(--naranja)); text-shadow: 3px 3px 0 var(--tinta); text-transform: uppercase; line-height: 1; }
.prod-frase { font-family: var(--f-marca); font-size: 1rem; color: var(--crema); margin: .4em 0 .6em; opacity: .92; }
.prod-desc { color: var(--suave); font-size: .92rem; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-pie { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.precio { font-family: var(--f-display); font-size: 1.55rem; color: #fff; }
.prod-mas { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--naranja); color: var(--tinta); font-size: 1.7rem; font-weight: 800; box-shadow: 3px 3px 0 var(--tinta); line-height: 1; }
/* La burger sale del recuadro al pasar el mouse */
.prod-pop { display: none; }
@media (hover: hover) and (min-width: 561px) {
  .prod.con-pop { overflow: visible; }
  .prod.con-pop .prod-foto { border-radius: var(--radio) var(--radio) 0 0; background: radial-gradient(circle at 50% 60%, rgba(244, 160, 84, 0), transparent 60%), #121b30; transition: background .4s; }
  .prod.con-pop:hover { z-index: 6; }
  .prod.con-pop:hover .prod-foto { background: radial-gradient(circle at 50% 62%, rgba(244, 160, 84, .35), transparent 62%), #0d1424; }
  .prod.con-pop .prod-foto img { transition: transform .5s, opacity .35s, filter .35s; }
  .prod.con-pop:hover .prod-foto img { transform: scale(.96); opacity: .12; filter: blur(3px); }
  .prod-pop {
    display: block; position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 1 / .86; object-fit: cover; z-index: 3; pointer-events: none;
    opacity: 0; transform-origin: 50% 72%; transform: scale(1);
    transition: transform .55s cubic-bezier(.2, 1.5, .4, 1), opacity .2s, filter .4s;
  }
  .prod.con-pop:hover .prod-pop { opacity: 1; transform: scale(1.32) translateY(-9%) rotate(-3deg); filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(244, 160, 84, .25)); }
  .prod.con-pop:hover { transform: translateY(-4px); }
}
.prod.agotado { filter: grayscale(.9); opacity: .6; pointer-events: none; }
.prod.agotado .prod-mas { display: none; }
.sello-agotado { font-family: var(--f-marca); color: var(--rojo); font-size: 1.1rem; transform: rotate(-6deg); }
.picante { font-size: .9em; }

.lista-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mini {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--linea);
  background: rgba(255, 255, 255, .03); color: inherit; text-align: left; transition: border-color .2s, background .2s;
}
.mini:hover { border-color: var(--naranja); background: rgba(244, 160, 84, .06); }
.mini-txt { flex: 1; }
.mini-txt b { display: block; font-size: 1.05rem; }
.mini-txt small { color: var(--suave); }
.mini .precio { font-size: 1.15rem; }
.mini .prod-mas { width: 36px; height: 36px; font-size: 1.3rem; }
.alergenos-nota { color: var(--suave); font-size: .9rem; text-align: center; }
.cargando { text-align: center; color: var(--suave); font-family: var(--f-marca); font-size: 1.3rem; }

/* ---------- Wally ---------- */
.wally { position: relative; padding: clamp(60px, 9vw, 110px) 16px; overflow: hidden; background: #fff; }
.wally-rayas { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, #e3262f 0 34px, #fff 34px 68px); opacity: .95; }
.wally-caja {
  position: relative; max-width: 720px; margin: 0 auto; background: var(--noche); border-radius: 30px; padding: clamp(28px, 5vw, 52px);
  text-align: center; box-shadow: 10px 10px 0 var(--tinta); border: 3px solid var(--tinta); transform: rotate(-1deg);
}
.wally-alerta { display: inline-block; margin: 0; background: var(--rojo); color: #fff; font-weight: 800; padding: .35em .9em; border-radius: 8px; transform: rotate(2deg); letter-spacing: .03em; }
.wally-titulo { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.6rem); color: #fff; margin: .3em 0 .2em; text-shadow: 4px 4px 0 var(--tinta); }
.wally-titulo span { color: var(--rojo); }
.wally-texto { color: var(--suave); margin: 0 auto 1.4em; max-width: 34em; }
.wally-texto b { color: #fff; }
.wally-pista { background: var(--crema); color: var(--tinta); border-radius: 18px; padding: 20px 22px; margin-bottom: 24px; text-align: left; position: relative; }
.wally-pista::before { content: "PISTA"; position: absolute; top: -12px; right: 18px; background: var(--amarillo); font-weight: 800; font-size: .75rem; letter-spacing: .12em; padding: .3em .8em; border-radius: 6px; border: 2px solid var(--tinta); }
.wally-semana { margin: 0 0 .3em; font-weight: 800; color: var(--rojo); text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; }
.wally-pista-texto { font-family: var(--f-marca); font-size: 1.3rem; line-height: 1.35; margin: 0 0 .8em; }
.wally-contador { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .92rem; flex-wrap: wrap; }
.wally-contador i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed var(--tinta); font-style: normal; font-size: 1rem; }
.wally-contador i.ok { background: var(--rojo); border: 2px solid var(--tinta); color: #fff; }

/* ---------- Macilovers ---------- */
.macilovers { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1180px; margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(16px, 4vw, 56px); }
.macilovers .seccion-cab, .ml-texto { text-align: left; }
.ml-texto .seccion-bajada { margin-left: 0; }
.ml-form { margin-top: 26px; }
.ml-form label { font-weight: 700; display: block; margin-bottom: 8px; }
.ml-fila { display: flex; gap: 10px; }
.ml-fila input { flex: 1; min-width: 0; }
input, select, textarea {
  font: inherit; color: var(--texto); background: rgba(255, 255, 255, .06); border: 2px solid var(--linea); border-radius: 14px; padding: .75em 1em; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--naranja); }
select option { background: var(--noche-2); }
.ml-res { min-height: 1.5em; font-weight: 600; color: var(--crema); }
.ml-tarjeta {
  background: linear-gradient(135deg, var(--naranja), #f08a3a); color: var(--tinta); border-radius: 26px; padding: 26px; box-shadow: 10px 10px 0 var(--tinta);
  border: 3px solid var(--tinta); transform: rotate(2deg); max-width: 460px; justify-self: center; width: 100%;
}
.ml-tarjeta-cab { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .06em; margin-bottom: 18px; }
.ml-sellos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ml-sellos span { aspect-ratio: 1; border-radius: 50%; border: 3px dashed rgba(7, 11, 20, .45); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.1rem; color: rgba(7, 11, 20, .45); }
.ml-sellos span.ok { border: 3px solid var(--tinta); background: #fff; color: var(--tinta); font-size: 1.6rem; animation: sello .4s backwards; }
.ml-sellos span.premio { border-style: solid; border-color: var(--tinta); background: var(--tinta); color: var(--amarillo); font-size: 1.5rem; }
@keyframes sello { from { transform: scale(1.8) rotate(-30deg); opacity: 0; } }
.ml-premio { margin: 18px 0 0; font-weight: 800; text-align: center; font-size: 1.05rem; }

/* ---------- Dónde ---------- */
.donde { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 56px) clamp(70px, 9vw, 110px); align-items: center; }
.donde-dir { font-size: 1.2rem; margin: 18px 0; }
.donde-dir span { color: var(--suave); }
.horarios { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 2px; max-width: 420px; }
.horarios li { display: flex; justify-content: space-between; padding: .55em .9em; border-radius: 10px; }
.horarios li.hoy { background: rgba(244, 160, 84, .14); color: var(--naranja); font-weight: 800; }
.horarios li.cerrado span:last-child { color: var(--suave); }
.donde-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.donde-envio { color: var(--suave); font-size: .95rem; margin-top: 20px; }
.donde-mapa { border-radius: 26px; overflow: hidden; border: 3px solid var(--tinta); box-shadow: 10px 10px 0 var(--tinta); aspect-ratio: 4 / 3.4; background: var(--noche-2); }
.donde-mapa iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }

/* ---------- Pie ---------- */
.pie { text-align: center; padding: 60px 16px 110px; border-top: 1px solid var(--linea); background: var(--tinta); }
.pie img { margin: 0 auto 10px; }
.pie-lema { font-family: var(--f-display); font-size: 2rem; margin: 0; color: #fff; }
.pie-lema span { color: var(--naranja); }
.pie-datos, .pie-links { color: var(--suave); font-size: .92rem; margin: .5em 0; }
.pie-links a { text-decoration: none; }
.pie-links a:hover { color: #fff; }

/* ---------- Barra flotante ---------- */
.barra-pedido {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 12px;
  border: 3px solid var(--tinta); background: var(--naranja); color: var(--tinta); border-radius: 20px; padding: 14px 18px; font-weight: 800; font-size: 1.05rem;
  box-shadow: 5px 5px 0 var(--tinta); max-width: 560px; margin: 0 auto; animation: sube .35s;
}
.barra-pedido b { margin-left: auto; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.bp-n { background: var(--tinta); color: var(--naranja); border-radius: 10px; min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 6px; }
@keyframes sube { from { transform: translateY(120%); } }

/* ---------- Modal producto ---------- */
.modal {
  border: 0; padding: 0; border-radius: 28px; width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 24px); background: var(--noche-2); color: var(--texto);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--linea); overflow: hidden; display: flex; flex-direction: column;
}
.modal:not([open]) { display: none; }
.modal::backdrop { background: rgba(4, 7, 14, .78); backdrop-filter: blur(4px); }
.modal[open] { animation: aparece .25s ease-out; }
@keyframes aparece { from { transform: translateY(30px) scale(.97); opacity: 0; } }
.modal-cerrar-f { position: absolute; top: 12px; right: 12px; z-index: 5; margin: 0; }
.modal-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(7, 11, 20, .7); color: #fff; font-size: 1.05rem; }
.mp-foto { flex: none; height: 270px; background: #121b30; position: relative; overflow: hidden; }
.mp-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.mp-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #121b30 0%, transparent 25%, transparent 65%, var(--noche-2) 100%); }
.mp-foto.sin-foto { height: 70px; }
.mp-cuerpo { padding: 0 24px 16px; overflow-y: auto; margin-top: -30px; position: relative; z-index: 2; }
.mp-frase { font-family: var(--f-marca); color: var(--crema); margin: 0 0 .2em; }
.mp-nombre { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; text-transform: uppercase; color: var(--c, var(--naranja)); text-shadow: 3px 3px 0 var(--tinta); }
.mp-desc { color: var(--suave); margin: .7em 0; }
.mp-alergenos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mp-alergenos span { font-size: .76rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--suave); }
.mp-bloque { margin-bottom: 16px; }
.mp-sub { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--suave); margin: 0 0 8px; }
.mp-menu { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--linea); cursor: pointer; transition: border-color .2s, background .2s; }
.mp-menu:has(input:checked) { border-color: var(--naranja); background: rgba(244, 160, 84, .1); }
.mp-menu input, .mp-extras input { width: 22px; height: 22px; accent-color: var(--naranja); flex: none; }
.mp-menu-caja { flex: 1; }
.mp-menu-caja b { display: block; font-size: 1.05rem; }
.mp-menu-caja small { color: var(--suave); }
.mp-menu-precio { font-weight: 800; color: var(--naranja); }
.mp-bebida { margin-top: 10px; }
.mp-bebida label { font-size: .9rem; color: var(--suave); display: block; margin-bottom: 4px; }
.mp-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mp-extras label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linea); cursor: pointer; font-size: .93rem; }
.mp-extras label:has(input:checked) { border-color: var(--naranja); background: rgba(244, 160, 84, .08); }
.mp-extras small { margin-left: auto; color: var(--suave); white-space: nowrap; }
.variantes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.variantes label { padding: .5em 1em; border-radius: 999px; border: 2px solid var(--linea); cursor: pointer; font-weight: 600; }
.variantes input { position: absolute; opacity: 0; }
.variantes label:has(input:checked) { background: #fff; color: var(--tinta); border-color: #fff; }
.mp-pie { flex: none; display: flex; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: var(--noche-2); }
.mp-add { flex: 1; font-size: 1.1rem; }
.cant { display: flex; align-items: center; border: 2px solid var(--linea); border-radius: 999px; }
.cant button { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 1.4rem; }
.cant output { min-width: 26px; text-align: center; font-weight: 800; }

/* ---------- Cajón del pedido ---------- */
.cajon { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.cajon.abierto { visibility: visible; }
.cajon-fondo { position: absolute; inset: 0; background: rgba(4, 7, 14, .7); opacity: 0; transition: opacity .3s; }
.cajon.abierto .cajon-fondo { opacity: 1; }
.cajon-caja {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(470px, 100%); background: var(--noche-2); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
}
.cajon.abierto .cajon-caja { transform: none; }
.cajon-cab { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--linea); }
.cajon-cab h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; color: var(--naranja); }
.cajon-cuerpo { flex: 1; overflow-y: auto; padding: 18px 20px; }
.cajon-pie { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); }
.vacio { text-align: center; padding: 50px 10px; color: var(--suave); }
.vacio b { display: block; font-family: var(--f-marca); font-size: 1.5rem; color: var(--crema); margin-bottom: .4em; }
.linea { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--linea); }
.linea img { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; flex: none; background: #121b30; }
.linea-txt { flex: 1; min-width: 0; }
.linea-txt b { display: block; }
.linea-txt small { display: block; color: var(--suave); font-size: .86rem; line-height: 1.35; }
.linea-der { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.linea .cant button { width: 32px; height: 32px; font-size: 1.1rem; }
.totales { display: grid; gap: 4px; margin-bottom: 14px; }
.totales div { display: flex; justify-content: space-between; color: var(--suave); }
.totales .total { color: #fff; font-family: var(--f-display); font-size: 1.6rem; margin-top: 4px; }
.cajon-pie .btn { width: 100%; }
.falta-envio { font-size: .88rem; color: var(--amarillo); margin: 0 0 10px; }

/* Checkout */
.paso { margin-bottom: 22px; }
.paso > p { margin: 0 0 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--suave); }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opciones.tres { grid-template-columns: repeat(3, 1fr); }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; }
.opcion span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--linea); cursor: pointer; font-weight: 700; height: 100%; }
.opcion small { font-weight: 500; color: var(--suave); font-size: .82rem; }
.opcion input:checked + span { border-color: var(--naranja); background: rgba(244, 160, 84, .1); }
.opcion input:focus-visible + span { outline: 3px solid var(--amarillo); }
.campo { margin-bottom: 12px; }
.campo label { display: block; font-size: .9rem; color: var(--suave); margin-bottom: 4px; font-weight: 600; }
.fila2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.canje { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(91, 194, 94, .12); border: 2px solid var(--verde); margin-bottom: 18px; cursor: pointer; }
.canje input { width: 22px; height: 22px; accent-color: var(--verde); }
.error { color: #ff8a8f; font-weight: 700; margin: 0 0 10px; }
.volver { background: none; border: 0; color: var(--suave); text-decoration: underline; padding: 8px 0 0; width: 100%; }

/* Seguimiento */
.modal-seg { width: min(480px, calc(100% - 24px)); }
.seg { padding: 34px 26px 28px; text-align: center; overflow-y: auto; }
.seg-num { font-family: var(--f-display); font-size: 1rem; color: var(--suave); letter-spacing: .1em; }
.seg-titulo { font-family: var(--f-display); font-weight: 400; font-size: 2.3rem; color: var(--naranja); margin: .2em 0 .3em; text-shadow: 3px 3px 0 var(--tinta); }
.seg-emoji { font-size: 4rem; line-height: 1; margin: 6px 0 4px; animation: flota 2.5s ease-in-out infinite; }
.seg p { color: var(--suave); margin: .4em 0; }
.pasos { display: flex; justify-content: space-between; margin: 26px 0 18px; position: relative; text-align: center; }
.pasos::before { content: ""; position: absolute; top: 15px; left: 10%; right: 10%; height: 4px; background: var(--linea); border-radius: 2px; }
.pasos div { position: relative; flex: 1; font-size: .78rem; color: var(--suave); font-weight: 700; }
.pasos i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: var(--noche-3); border: 3px solid var(--noche-2); font-style: normal; }
.pasos .hecho i { background: var(--verde); color: var(--tinta); }
.pasos .ahora i { background: var(--naranja); color: var(--tinta); box-shadow: 0 0 0 6px rgba(244, 160, 84, .25); }
.pasos .hecho, .pasos .ahora { color: #fff; }
.seg-items { font-size: .92rem; background: rgba(255, 255, 255, .04); border-radius: 14px; padding: 10px 14px; text-align: left; }
.seg .btn { margin-top: 16px; }

/* Tostada */
.tostada { position: fixed; left: 50%; bottom: 100px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; background: #fff; color: var(--tinta); font-weight: 800; padding: 12px 20px; border-radius: 14px; box-shadow: 4px 4px 0 var(--tinta); transition: .3s; pointer-events: none; white-space: nowrap; }
.tostada.ver { opacity: 1; transform: translate(-50%, 0); }

/* Firma COMMIT */
.firma-commit {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 16px; border-radius: 999px; background: #000; color: #fff;
  text-decoration: none; font-size: .82rem; border: 1px solid rgba(255, 255, 255, .2);
}
.firma-commit img { width: 25px; height: auto; margin: 0; filter: invert(1); }
.firma-commit b { letter-spacing: .06em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .menu { display: none; }
  .estado-chip { margin-left: auto; }
  .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 30px; }
  .hero-texto { order: 2; }
  .hero-foto { order: 1; width: min(400px, 88%); }
  .hero-cta { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .g1 { left: 66%; top: 4%; } .g3 { left: 70%; bottom: 3%; }
  .macilovers, .donde { grid-template-columns: 1fr; }
  .ml-tarjeta { order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cabecera { gap: 10px; padding: 10px 16px; }
  .marca span { font-size: 1.2rem; }
  .marca img { width: 38px; height: 38px; }
  .estado-chip { font-size: .74rem; padding: 5px 9px; }
  .estado-chip span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
  .cat-tabs { top: 62px; }
  .grilla { grid-template-columns: 1fr; gap: 18px; }
  .prod { flex-direction: row; min-height: 150px; }
  .prod-foto { width: 42%; aspect-ratio: auto; flex: none; }
  .prod-foto::after { background: linear-gradient(90deg, transparent 60%, rgba(22, 33, 58, .95) 100%); }
  .prod-info { margin-top: 0; padding: 16px 16px 14px 6px; }
  .prod-nombre { font-size: 1.55rem; }
  .prod-frase { font-size: .9rem; }
  .prod-desc { display: none; }
  .prod-etiqueta { top: 8px; left: 8px; font-size: .66rem; }
  .precio { font-size: 1.3rem; }
  .prod-mas { width: 40px; height: 40px; font-size: 1.4rem; }
  .mp-extras { grid-template-columns: 1fr; }
  .opciones.tres { grid-template-columns: 1fr 1fr 1fr; }
  .opcion span { padding: 10px; font-size: .92rem; }
  .ml-fila { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Vuelo al carrito ---------- */
.vuelo { position: fixed; z-index: 200; pointer-events: none; will-change: transform; object-fit: contain; }
.vuelo.sin-fondo { filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); }
.vuelo.con-fondo { object-fit: cover; border-radius: 50%; border: 4px solid var(--naranja); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.vuelo.sin-foto { display: grid; place-items: center; font-size: 5rem; border-radius: 50%; background: var(--naranja); box-shadow: 4px 4px 0 var(--tinta); }
.chispa {
  position: fixed; z-index: 201; pointer-events: none; transform: translate(-50%, -50%);
  font-family: var(--f-display); font-size: 1.4rem; color: var(--amarillo); text-shadow: 2px 2px 0 var(--tinta);
  animation: chispa .9s ease-out forwards;
}
@keyframes chispa { from { opacity: 1; transform: translate(-50%, -50%) scale(.6); } 40% { transform: translate(-50%, -160%) scale(1.25); } to { opacity: 0; transform: translate(-50%, -230%) scale(1); } }
.barra-pedido.salta .bp-n { animation: salto .5s; }
.linea-agotada img, .linea-agotada .linea-txt b { opacity: .45; text-decoration: line-through; }
.tag-agotado { display: inline-block; font-style: normal; font-size: .75rem; font-weight: 800; color: #fff; background: var(--rojo); border-radius: 6px; padding: 1px 7px; margin: 2px 0; }
