/* ==========================================================================
   WM Fusión — estilos
   Paleta tomada del logo (rosado y amarillo) y de su carta (chocolate oscuro).
   ========================================================================== */

:root {
  --choco: #2a1712;
  --choco-2: #3a2019;
  --choco-3: #5a342a;
  --rosa: #ec5fa6;
  --rosa-f: #cc2d94;
  --rosa-c: #fde3ef;
  --rosa-cc: #fff2f8;
  --amarillo: #ffe11a;
  --amarillo-f: #f5c800;
  --amarillo-c: #fff7c9;
  --crema: #fff8f1;
  --fondo-arriba: #ffd3e8;   /* rosado del logo, suave */
  --fondo-abajo: #fff0a3;    /* amarillo del logo, suave */
  --blanco: #ffffff;
  --tinta: #2a1712;
  --tinta-2: #6e544c;
  --linea: #f1dfd6;
  --wa: #25d366;
  --wa-f: #138a48;
  --ok: #2f9e5b;
  --error: #c62f3a;

  --f-display: 'Lilita One', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Pacifico', 'Brush Script MT', cursive;

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --sombra: 0 14px 34px -16px rgba(42, 23, 18, .45);
  --sombra-s: 0 6px 18px -10px rgba(42, 23, 18, .4);
  --top-h: 62px;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 120px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta);
  /* Degradado de toda la página, como el logo: rosado arriba, amarillo abajo */
  background: linear-gradient(180deg, var(--fondo-arriba) 0%, #ffe3d8 45%, var(--fondo-abajo) 100%) var(--fondo-abajo);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amarillo); padding: 8px 14px; border-radius: 99px; font-weight: 800; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 5.5vw, 3.1rem); letter-spacing: .5px; }
h2 em, .hero-title em { font-family: var(--f-script); font-style: normal; font-weight: 400; color: var(--rosa); letter-spacing: 0; }
.eyebrow { margin: 0 0 6px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; color: var(--rosa-f); }
.lead { max-width: 620px; color: var(--tinta-2); margin: 10px 0 0; }
.muted { color: var(--tinta-2); margin: 4px 0 14px; font-size: .95rem; }

.section { padding: 72px 0; position: relative; }
.section-head { margin-bottom: 26px; }

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 99px; padding: 13px 22px; min-height: 48px;
  font-weight: 900; font-size: 1rem; text-decoration: none; line-height: 1.1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rosa-f); color: var(--amarillo); box-shadow: 0 6px 0 -1px #8f1563; }
.btn-primary:hover { background: #d83a9f; }
.btn-ghost { background: transparent; color: var(--blanco); border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--amarillo); color: var(--amarillo); }
.btn-outline { background: var(--blanco); color: var(--tinta); border: 2px solid var(--choco); }
.btn-outline:hover { background: var(--amarillo-c); }
.btn-wa { background: var(--wa); color: #08361d; box-shadow: 0 6px 0 -1px var(--wa-f); }
.btn-wa:hover { background: #33de74; }
.btn-dark { background: var(--choco); color: var(--amarillo); }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(42,23,18,.08); font-size: 1.15rem; font-weight: 900; color: var(--tinta);
}
.icon-btn:hover { background: rgba(42,23,18,.15); }

.chip {
  border: 2px solid var(--linea); background: var(--blanco); color: var(--tinta);
  border-radius: 99px; padding: 8px 14px; font-weight: 800; font-size: .9rem; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--rosa); }
.chip.is-on { background: var(--choco); border-color: var(--choco); color: var(--amarillo); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------- Barra superior ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--top-h);
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: rgba(42, 23, 18, .94); color: var(--blanco);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .5px; white-space: nowrap; }
.brand-name em { font-family: var(--f-script); font-style: normal; color: var(--rosa); font-size: 1.1rem; }
.topnav { display: none; gap: 4px; }
.topnav a { text-decoration: none; font-weight: 800; padding: 8px 12px; border-radius: 99px; color: rgba(255,255,255,.85); }
.topnav a:hover { background: rgba(255,255,255,.08); color: var(--amarillo); }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800;
  padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.08); white-space: nowrap;
}
.status-pill .short { display: none; }
.status-pill i { width: 9px; height: 9px; border-radius: 50%; background: #9a8a85; flex: none; }
.status-pill.is-open i { background: #3fe07f; box-shadow: 0 0 0 0 rgba(63,224,127,.7); animation: pulse 2s infinite; }
.status-pill.is-closed i { background: var(--rosa); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63,224,127,0); } 100% { box-shadow: 0 0 0 0 rgba(63,224,127,0); } }
.cart-top {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--amarillo); display: grid; place-items: center; flex: none;
}
.cart-top svg { width: 24px; height: 24px; fill: var(--choco); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 99px; background: var(--rosa-f); color: var(--blanco); font-size: .72rem;
  display: grid; place-items: center; border: 2px solid var(--choco);
}
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; z-index: 2; color: var(--blanco);
  background:
    radial-gradient(600px 380px at 85% 20%, rgba(236, 95, 166, .35), transparent 70%),
    radial-gradient(520px 340px at 10% 90%, rgba(255, 225, 26, .18), transparent 70%),
    var(--choco);
  padding: 36px 0 40px;
}
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; display: grid; gap: 28px; }
.hero-kicker { display: inline-block; margin: 0 0 12px; background: var(--amarillo); color: var(--choco); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 5px 12px; border-radius: 99px; transform: rotate(-2deg); }
.hero-title { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(3.4rem, 13vw, 6.4rem); letter-spacing: 1px; line-height: .95; }
.hero-title em { font-size: .8em; margin-left: .05em; }
.hero-lema { display: block; margin-top: 10px; font-family: var(--f-body); font-weight: 900; font-size: clamp(1.25rem, 4.4vw, 1.75rem); line-height: 1.25; }
.hero-lema mark { padding: 0 .25em; border-radius: 8px; }
.m-dulce { background: var(--rosa); color: var(--blanco); }
.m-salado { background: var(--amarillo); color: var(--choco); }
.hero-text { color: rgba(255,255,255,.82); max-width: 520px; margin: 16px 0 22px; font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-weight: 700; color: rgba(255,255,255,.9); }
.hero-facts b { display: inline-block; width: 26px; }

.hero-art { position: relative; height: 330px; max-width: 460px; width: 100%; margin: 0 auto; }
.hero-plate { position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid var(--choco); box-shadow: 0 0 0 4px var(--rosa), var(--sombra); }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-plate-a { width: 74%; aspect-ratio: 1; right: 0; top: 0; box-shadow: 0 0 0 4px var(--amarillo), 0 30px 60px -20px rgba(0,0,0,.7); animation: floaty 6s ease-in-out infinite; }
.hero-plate-b { width: 46%; aspect-ratio: 1; left: 0; bottom: 0; animation: floaty 6s ease-in-out -3s infinite; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(2deg); } }
.hero-logo { position: absolute; width: 92px; height: 92px; left: 6%; top: 4%; transform: rotate(-10deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.sticker {
  position: absolute; font-family: var(--f-display); text-align: center; line-height: 1;
  display: grid; place-items: center; color: var(--choco);
}
.sticker-a {
  width: 112px; height: 112px; right: -4px; bottom: 14px; background: var(--amarillo); font-size: 1rem;
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 79% 22%, 95% 25%, 88% 40%, 100% 50%, 88% 60%, 95% 75%, 79% 78%, 77% 94%, 61% 88%, 50% 100%, 39% 88%, 23% 94%, 21% 78%, 5% 75%, 12% 60%, 0 50%, 12% 40%, 5% 25%, 21% 22%, 23% 6%, 39% 12%);
  transform: rotate(8deg);
}
.sticker-a b { font-size: 1.35rem; color: var(--rosa-f); font-weight: 400; }
.sticker-b { left: 40%; top: 46%; background: var(--rosa); color: var(--blanco); padding: 10px 14px; border-radius: 16px; transform: rotate(-8deg); font-size: 1rem; box-shadow: var(--sombra-s); }

.drip { position: absolute; left: 0; bottom: -58px; width: 100%; height: 60px; fill: var(--choco); pointer-events: none; }

/* ---------------- Promos ---------------- */
.promos { padding-top: 104px; }
.promo-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; margin: 0 -2px; scrollbar-width: thin; }
.promo {
  scroll-snap-align: start; border-radius: var(--r-xl); overflow: hidden; position: relative;
  display: flex; flex-direction: column; min-height: 380px; box-shadow: var(--sombra);
  background: var(--choco); color: var(--blanco); text-align: left; border: 0; padding: 0;
}
.promo:nth-child(3n+2) { background: var(--rosa); }
.promo:nth-child(3n+3) { background: var(--amarillo); color: var(--choco); }
.promo-art { height: 190px; position: relative; }
.promo-art .arte { position: absolute; inset: 0; }
.promo-art .arte span { --arte-size: 6rem; }
.promo-art img { width: 100%; height: 100%; object-fit: cover; }
.promo-burst {
  position: absolute; right: 12px; top: 12px; width: 96px; height: 96px; display: grid; place-items: center; text-align: center;
  background: var(--blanco); color: var(--choco); font-family: var(--f-display); font-size: 1.05rem; line-height: 1;
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 79% 22%, 95% 25%, 88% 40%, 100% 50%, 88% 60%, 95% 75%, 79% 78%, 77% 94%, 61% 88%, 50% 100%, 39% 88%, 23% 94%, 21% 78%, 5% 75%, 12% 60%, 0 50%, 12% 40%, 5% 25%, 21% 22%, 23% 6%, 39% 12%);
  transform: rotate(10deg);
}
.promo-burst small { display: block; font-size: .62rem; font-family: var(--f-body); font-weight: 900; text-transform: uppercase; }
.promo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-body h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; letter-spacing: .3px; }
.promo-body p { margin: 0; font-size: .92rem; opacity: .9; }
.promo-tiers { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.promo-tiers span { background: rgba(255,255,255,.14); border-radius: 99px; padding: 4px 10px; font-weight: 800; font-size: .8rem; }
.promo:nth-child(3n+3) .promo-tiers span { background: rgba(42,23,18,.1); }
.promo-body .btn { margin-top: auto; align-self: flex-start; }
.promo:nth-child(3n+2) .btn-primary { background: var(--choco); color: var(--amarillo); box-shadow: 0 6px 0 -1px #120906; }
.promo:nth-child(3n+3) .btn-primary { background: var(--choco); color: var(--amarillo); box-shadow: 0 6px 0 -1px #120906; }

.avisos { display: grid; gap: 14px; margin-top: 10px; }
.aviso {
  display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--blanco);
  border: 2px dashed var(--rosa); align-items: center;
}
.aviso h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.aviso p { margin: 4px 0 0; color: var(--tinta-2); font-size: .95rem; }
.countdown { display: flex; gap: 8px; }
.countdown div { background: var(--choco); color: var(--amarillo); border-radius: 12px; padding: 8px 10px; min-width: 58px; text-align: center; }
.countdown b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.countdown small { font-size: .66rem; font-weight: 800; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------------- Arte para platos sin foto ---------------- */
.arte {
  display: grid; place-items: center; overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.55), transparent 58%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.28) 0 9deg, transparent 9deg 18deg),
    var(--arte-bg, var(--amarillo));
}
.arte::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: radial-gradient(var(--arte-dot, #2a1712) 2px, transparent 2.5px);
  background-size: 16px 16px;
}
.arte span { position: relative; font-size: var(--arte-size, 3.4rem); filter: drop-shadow(0 8px 10px rgba(42,23,18,.35)); transform: rotate(-8deg); }
.arte-huerfana { --arte-bg: #ffd11a; }
.arte-chucky { --arte-bg: #ec5fa6; --arte-dot: #fff; }
.arte-salchipapa { --arte-bg: #ffb21a; }
.arte-perro { --arte-bg: #ffe11a; }
.arte-asado { --arte-bg: #f08a4b; }
.arte-helado { --arte-bg: #fbc4de; }
.arte-papas { --arte-bg: #ffd84a; }
.arte-bollo { --arte-bg: #f3e6c4; }
.arte-malteada { --arte-bg: #f7a8cc; }
.arte-cerveza { --arte-bg: #ffe9a8; }
.arte-agua { --arte-bg: #c9ecf5; }

/* ---------------- Menú ---------------- */
.menu { padding-top: 40px; }
.menu-tools {
  position: sticky; top: var(--top-h); z-index: 30; padding: 10px 0 10px;
  background: rgba(255, 246, 240, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.menu-tools.is-stuck { border-color: var(--linea); box-shadow: 0 10px 20px -18px rgba(42,23,18,.6); }
.cat-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 8px; }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar .chip { flex: none; }
.menu-search { display: grid; gap: 8px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); fill: var(--tinta-2); pointer-events: none; }
.search input {
  width: 100%; height: 46px; border-radius: 99px; border: 2px solid var(--linea); background: var(--blanco);
  padding: 0 16px 0 42px; font-weight: 700; outline: none;
}
.search input:focus { border-color: var(--rosa); }
.search-sm input { height: 42px; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { padding: 6px 12px; font-size: .82rem; flex: none; }

.cat-section { padding-top: 26px; }
.cat-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.cat-title h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; letter-spacing: .4px; }
.cat-title span { font-size: 1.6rem; }
.cat-note { margin: 0 0 12px; color: var(--tinta-2); font-weight: 700; font-size: .9rem; }
.sub-title { font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; color: var(--rosa-f); margin: 18px 0 8px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }

.card-p {
  display: grid; grid-template-columns: 112px 1fr; gap: 0; background: var(--blanco); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--linea); text-align: left; padding: 0; width: 100%;
  transition: transform .18s ease, box-shadow .18s ease; position: relative; min-height: 132px;
}
.card-p:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.card-p .card-img { display: block; position: relative; background: var(--rosa-c); }
.card-p .card-img img, .card-p .card-img .arte { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-p .card-img .arte span { --arte-size: 3.2rem; }
.card-body { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-name { display: block; margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.18rem; letter-spacing: .2px; line-height: 1.15; }
.card-desc { margin: 0; color: var(--tinta-2); font-size: .86rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 900; font-size: 1.05rem; }
.price small { font-weight: 700; color: var(--tinta-2); font-size: .75rem; margin-right: 3px; }
.add-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--rosa-f); color: var(--amarillo); font-size: 1.5rem; font-weight: 900; line-height: 1;
}
.card-p:hover .add-btn { background: var(--choco); }
.badge {
  position: absolute; left: 6px; top: 6px; z-index: 2; background: var(--amarillo); color: var(--choco);
  font-weight: 900; font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; padding: 4px 8px; border-radius: 99px;
  box-shadow: 0 3px 8px -3px rgba(0,0,0,.4); max-width: calc(100% - 12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.in-cart {
  position: absolute; left: 6px; bottom: 6px; z-index: 2; background: var(--choco); color: var(--amarillo);
  font-weight: 900; font-size: .72rem; padding: 3px 8px; border-radius: 99px;
}
.menu-empty { text-align: center; font-weight: 800; color: var(--tinta-2); padding: 40px 0; }

/* ---------------- Antojo ---------------- */
.antojo {
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(236,95,166,.3), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(255,225,26,.15), transparent 70%),
    var(--choco);
  color: var(--blanco); margin-top: 60px;
}
.antojo .eyebrow { color: var(--amarillo); }
.antojo-inner { display: grid; gap: 28px; align-items: center; }
.antojo-copy p { color: rgba(255,255,255,.8); }
.antojo-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.antojo .chip { background: transparent; color: var(--blanco); border-color: rgba(255,255,255,.25); }
.antojo .chip.is-on { background: var(--amarillo); border-color: var(--amarillo); color: var(--choco); }
.antojo-card {
  background: var(--blanco); color: var(--tinta); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 0 0 5px var(--rosa), 0 30px 60px -24px rgba(0,0,0,.8); max-width: 420px; margin: 0 auto;
  transform: rotate(-1.5deg);
}
.antojo-img { aspect-ratio: 4 / 3; background: var(--rosa-c); display: grid; place-items: center; position: relative; overflow: hidden; }
.antojo-img > span { font-family: var(--f-display); font-size: 6rem; color: var(--rosa); }
.antojo-img img, .antojo-img .arte { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.antojo-img.spinning img, .antojo-img.spinning .arte { filter: blur(1.5px) saturate(1.3); }
.antojo-info { padding: 18px 20px 20px; }
.antojo-info h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.antojo-info p { margin: 6px 0 0; color: var(--tinta-2); font-size: .92rem; }
.antojo-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.antojo-actions strong { font-size: 1.3rem; font-weight: 900; }
.antojo-card.reveal { animation: reveal .55s cubic-bezier(.2,1.6,.4,1); }
@keyframes reveal { 0% { transform: rotate(-1.5deg) scale(.92); } 100% { transform: rotate(-1.5deg) scale(1); } }

/* ---------------- Domicilios ---------------- */
.zones { display: grid; gap: 18px; }
.zones-side { display: grid; gap: 10px; align-content: start; }
.geo-msg { margin: 0; font-weight: 700; font-size: .9rem; color: var(--tinta-2); min-height: 0; }
.geo-msg:empty { display: none; }
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.zone {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  border: 2px solid var(--linea); background: var(--blanco); text-align: left; font-weight: 800;
}
.zone:hover { border-color: var(--rosa); }
.zone.is-on { border-color: var(--choco); background: var(--amarillo-c); }
.zone .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.zone .zname { flex: 1; }
.zone .zfee { background: var(--choco); color: var(--amarillo); border-radius: 99px; padding: 3px 10px; font-size: .85rem; }
.zone-note { margin: 4px 0 0; font-size: .88rem; color: var(--tinta-2); }
.zones-map { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 3px solid var(--choco); min-height: 340px; background: #eadfd6; }
#map { position: absolute; inset: 0; }
.map-legend {
  position: absolute; left: 10px; bottom: 10px; z-index: 500; background: rgba(255,255,255,.95); border-radius: 14px;
  padding: 8px 10px; font-size: .78rem; font-weight: 800; display: grid; gap: 3px; box-shadow: var(--sombra-s);
}
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-weight: 800; color: var(--tinta-2); }
.wm-pin { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--amarillo); box-shadow: 0 6px 14px rgba(0,0,0,.45); overflow: hidden; background: #000; }
.wm-pin img { width: 100%; height: 100%; }
.leaflet-popup-content { font-family: var(--f-body); font-weight: 700; }
.leaflet-popup-content b { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; }

/* ---------------- Eventos ---------------- */
.eventos { background: rgba(255, 255, 255, .28); }
.event-grid { display: grid; gap: 18px; }
.card { background: var(--blanco); border-radius: var(--r-xl); padding: 22px 20px; box-shadow: var(--sombra-s); }
.card h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; }

/* ---------------- Formularios ---------------- */
.form { display: grid; gap: 4px; align-content: start; }
.field { display: grid; gap: 6px; margin: 0 0 12px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 900; font-size: .88rem; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid var(--linea); border-radius: 14px; background: var(--blanco);
  padding: 11px 13px; min-height: 48px; font-weight: 700; outline: none;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rosa); }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field .err { color: var(--error); font-size: .8rem; font-weight: 800; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { font-size: .8rem; color: var(--tinta-2); font-weight: 600; margin: -4px 0 0; }

.stepper { display: inline-flex; align-items: center; background: var(--crema); border: 2px solid var(--linea); border-radius: 99px; height: 48px; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.4rem; font-weight: 900; border-radius: 50%; }
.stepper button:hover { background: var(--rosa-c); }
.stepper output { min-width: 34px; text-align: center; font-weight: 900; font-size: 1.1rem; }
.stepper.sm { height: 36px; }
.stepper.sm button { width: 34px; height: 32px; font-size: 1.1rem; }
.stepper.sm output { min-width: 24px; font-size: .95rem; }

/* ---------------- Visítanos ---------------- */
.visit-grid { display: grid; gap: 22px; }
.address { font-weight: 800; font-size: 1.1rem; margin: 12px 0 16px; }
.address small { display: block; color: var(--tinta-2); font-weight: 700; font-size: .92rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-title { font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; color: var(--rosa-f); margin: 26px 0 10px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.hours td { padding: 8px 10px; border-bottom: 1px solid var(--linea); font-weight: 700; }
.hours td:last-child { text-align: right; }
.hours tr.today td { background: var(--amarillo-c); font-weight: 900; }
.hours tr.today td:first-child { border-radius: 10px 0 0 10px; }
.hours tr.today td:last-child { border-radius: 0 10px 10px 0; }
.amenities { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amenities li { background: var(--blanco); border: 2px solid var(--linea); border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: .88rem; }
.visit-map { border-radius: var(--r-xl); overflow: hidden; border: 3px solid var(--choco); min-height: 320px; background: #eadfd6; }
.visit-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------------- Pie ---------------- */
.footer { position: relative; background: var(--choco); color: rgba(255,255,255,.85); padding: 96px 0 120px; margin-top: 40px; }
.drip-top { top: -1px; bottom: auto; fill: var(--fondo-abajo); }
.footer-inner { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { margin: 0; min-width: 230px; }
.footer-brand img { width: 72px; height: 72px; }
.footer-brand b { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; color: var(--blanco); }
.script { font-family: var(--f-script); color: var(--rosa); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; padding: 10px 14px; border-radius: 99px; background: rgba(255,255,255,.08); }
.footer-links a:hover { background: var(--amarillo); color: var(--choco); }
.footer-note { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; }
.footer-credit { margin: 0; font-size: .85rem; }
.footer-credit a { color: var(--amarillo); font-weight: 800; }

/* ---------------- Carrito flotante ---------------- */
.cart-fab {
  position: fixed; z-index: 45; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px;
  border: 0; border-radius: 99px; padding: 10px 12px 10px 10px; background: var(--rosa-f); color: var(--amarillo);
  box-shadow: 0 16px 34px -12px rgba(42,23,18,.7), 0 0 0 3px var(--choco); font-weight: 900;
  animation: fabIn .35s cubic-bezier(.2,1.4,.4,1);
}
@keyframes fabIn { from { transform: translate(-50%, 120%); } }
.cart-fab-count { width: 36px; height: 36px; border-radius: 50%; background: var(--choco); display: grid; place-items: center; }
.cart-fab-label { flex: 1; text-align: left; font-size: 1.02rem; }
.cart-fab-total { font-size: 1.05rem; }

/* ---------------- Hoja de producto ---------------- */
dialog { padding: 0; border: 0; color: var(--tinta); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(26, 12, 9, .62); backdrop-filter: blur(3px); }
.sheet {
  width: 100%; margin: auto auto 0; border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--crema);
  max-height: 94dvh; overflow: hidden; display: none; flex-direction: column;
}
.sheet[open] { display: flex; animation: sheetUp .32s cubic-bezier(.2,1,.3,1); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet-close-form { position: absolute; right: 12px; top: 12px; z-index: 3; margin: 0; }
.sheet-close { background: rgba(255,255,255,.92); box-shadow: var(--sombra-s); }
.sheet-body { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.ps-hero { position: relative; aspect-ratio: 16 / 10; background: var(--rosa-c); }
.ps-hero img, .ps-hero .arte { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-hero .arte span { --arte-size: 6rem; }
.ps-main { padding: 18px 18px 8px; }
.ps-main h2 { font-size: 2rem; }
.ps-price { font-weight: 900; font-size: 1.25rem; color: var(--rosa-f); margin: 4px 0 8px; }
.ps-desc { margin: 0; color: var(--tinta-2); }
.ps-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ps-tags span { font-size: .75rem; font-weight: 900; background: var(--amarillo-c); padding: 4px 9px; border-radius: 99px; }
.ps-group { padding: 14px 18px; border-top: 1px solid var(--linea); }
.ps-group h3 { font-size: 1rem; font-weight: 900; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.ps-group h3 small { font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--tinta-2); background: var(--blanco); border: 1px solid var(--linea); border-radius: 99px; padding: 2px 8px; }
.opt-list { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--blanco);
  border: 2px solid var(--linea); font-weight: 800; cursor: pointer;
}
.opt:hover { border-color: var(--rosa); }
.opt input { width: 20px; height: 20px; accent-color: var(--rosa-f); flex: none; margin: 0; }
.opt .opt-name { flex: 1; }
.opt .opt-price { color: var(--tinta-2); font-size: .9rem; }
.opt:has(input:checked) { border-color: var(--choco); background: var(--amarillo-c); }
.quitar { display: flex; flex-wrap: wrap; gap: 8px; }
.quitar button { border: 2px dashed var(--linea); background: var(--blanco); border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: .86rem; }
.quitar button[aria-pressed="true"] { border-style: solid; border-color: var(--error); color: var(--error); text-decoration: line-through; background: #fff1f1; }
.ps-notes textarea { width: 100%; border: 2px solid var(--linea); border-radius: 14px; padding: 10px 12px; min-height: 64px; resize: vertical; background: var(--blanco); font-weight: 700; outline: none; }
.ps-notes textarea:focus { border-color: var(--rosa); }
.pairing { margin: 4px 18px 16px; padding: 12px 14px; border-radius: 16px; background: var(--choco); color: var(--blanco); display: flex; align-items: center; gap: 12px; }
.pairing img, .pairing .arte { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.pairing .arte span { --arte-size: 1.8rem; }
.pairing p { margin: 0; flex: 1; font-size: .88rem; line-height: 1.3; }
.pairing p b { color: var(--amarillo); }
.pairing .btn { flex: none; }
.ps-share { display: flex; gap: 8px; padding: 0 18px 18px; }
.sheet-foot { display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--blanco); border-top: 1px solid var(--linea); }

/* ---------------- Carrito / pedido ---------------- */
.drawer {
  width: 100%; height: 100dvh; margin: 0; background: var(--crema); display: none; flex-direction: column;
}
.drawer[open] { display: flex; animation: sheetUp .3s cubic-bezier(.2,1,.3,1); }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--blanco); border-bottom: 1px solid var(--linea); }
.drawer-head h2 { flex: 1; font-size: 1.6rem; }
.drawer-head form { margin: 0; }
.steps { display: flex; list-style: none; margin: 0; padding: 10px 14px; gap: 6px; background: var(--blanco); border-bottom: 1px solid var(--linea); counter-reset: s; }
.steps li { flex: 1; text-align: center; font-size: .74rem; font-weight: 900; color: var(--tinta-2); position: relative; padding-top: 30px; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--linea); color: var(--tinta-2);
}
.steps li.is-on { color: var(--tinta); }
.steps li.is-on::before { background: var(--rosa-f); color: var(--amarillo); }
.steps li.is-done::before { content: "✓"; background: var(--choco); color: var(--amarillo); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 14px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--blanco); border-top: 1px solid var(--linea); display: grid; gap: 10px; }
.totals { display: grid; gap: 3px; font-weight: 700; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .grand { font-weight: 900; font-size: 1.2rem; padding-top: 4px; }
.totals .muted-row { color: var(--tinta-2); font-size: .85rem; }

.line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px; background: var(--blanco); border-radius: 18px; border: 1px solid var(--linea); margin-bottom: 10px; }
.line-img { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; position: relative; background: var(--rosa-c); }
.line-img img, .line-img .arte { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line-img .arte span { --arte-size: 1.8rem; }
.line h4 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.1rem; }
.line ul { margin: 3px 0 0; padding: 0; list-style: none; font-size: .82rem; color: var(--tinta-2); font-weight: 700; }
.line-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.line-actions { display: flex; align-items: center; gap: 6px; }
.link-btn { border: 0; background: none; padding: 4px 6px; font-weight: 800; color: var(--rosa-f); font-size: .85rem; text-decoration: underline; }

.upsell { margin: 16px 0 6px; }
.upsell h3 { font-size: .95rem; font-weight: 900; margin-bottom: 8px; }
.upsell-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.upsell-item { flex: none; display: flex; align-items: center; gap: 8px; background: var(--blanco); border: 2px solid var(--linea); border-radius: 99px; padding: 4px 12px 4px 4px; font-weight: 800; font-size: .85rem; }
.upsell-item:hover { border-color: var(--rosa); }
.upsell-item img, .upsell-item .arte { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.upsell-item .arte span { --arte-size: 1rem; }

.empty-cart { text-align: center; padding: 40px 10px; }
.empty-cart .big { font-size: 4rem; }
.empty-cart h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; margin: 6px 0; }
.empty-cart p { color: var(--tinta-2); }
.last-order { margin-top: 18px; background: var(--blanco); border: 2px dashed var(--rosa); border-radius: 18px; padding: 14px; text-align: left; }
.last-order p { margin: 4px 0 10px; font-size: .88rem; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--blanco); border: 2px solid var(--linea); border-radius: 18px; padding: 5px; margin-bottom: 16px; }
.seg button { border: 0; background: transparent; border-radius: 13px; padding: 10px 4px; font-weight: 900; font-size: .88rem; line-height: 1.2; }
.seg button span { display: block; font-size: 1.3rem; }
.seg button[aria-pressed="true"] { background: var(--choco); color: var(--amarillo); }

.block { background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px; padding: 14px 14px 4px; margin-bottom: 14px; }
.block > h3 { font-size: 1rem; font-weight: 900; margin-bottom: 10px; }
.notice { border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: .88rem; margin-bottom: 12px; background: var(--amarillo-c); border: 1px solid #f1df8b; }
.notice.pink { background: var(--rosa-cc); border-color: #f6c2da; }
.zone-select { display: flex; gap: 8px; align-items: stretch; }
.zone-select select { flex: 1; }
.zone-select .btn { min-height: 48px; padding: 0 14px; }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.pay {
  display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px; border-radius: 16px;
  border: 2px solid var(--linea); background: var(--blanco); font-weight: 900; font-size: .9rem; line-height: 1.15; min-height: 64px;
}
.pay small { display: block; font-weight: 700; color: var(--tinta-2); font-size: .72rem; margin-top: 2px; }
.pay .pay-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; font-weight: 900; font-size: 1.1rem; color: #fff; }
.pay[aria-pressed="true"] { border-color: var(--choco); background: var(--amarillo-c); box-shadow: inset 0 0 0 1px var(--choco); }
.pay-detail { background: var(--blanco); border: 2px solid var(--choco); border-radius: 16px; padding: 12px 14px; margin-bottom: 14px; }
.pay-detail p { margin: 0 0 8px; font-size: .9rem; }
.pay-detail .copy-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: var(--crema); border-radius: 12px; margin-bottom: 8px; font-weight: 900; }
.pay-detail .copy-row span small { display: block; font-weight: 700; font-size: .72rem; color: var(--tinta-2); }
.pay-detail img.qr { width: 180px; margin: 6px auto 10px; border-radius: 12px; border: 1px solid var(--linea); }
.cash-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.cash-quick .chip { padding: 6px 12px; font-size: .85rem; }

.summary { background: var(--blanco); border-radius: 18px; border: 1px solid var(--linea); padding: 14px; margin-bottom: 14px; }
.summary h3 { font-size: 1rem; font-weight: 900; margin-bottom: 6px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .9rem; }
.summary dt { font-weight: 900; color: var(--tinta-2); }
.summary dd { margin: 0; font-weight: 700; }
.wa-preview { white-space: pre-wrap; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .78rem; line-height: 1.45; background: #e7f7ec; border: 1px solid #bfe8cd; border-radius: 16px; padding: 12px; max-height: 260px; overflow: auto; margin: 0; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.split b { font-size: 1.05rem; }
.done { text-align: center; padding: 30px 6px; }
.done .big { font-size: 4.2rem; }
.done h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; margin: 6px 0; }
.done p { color: var(--tinta-2); }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 30px); z-index: 2000; opacity: 0; pointer-events: none;
  background: var(--choco); color: var(--amarillo); padding: 12px 18px; border-radius: 99px; font-weight: 900;
  box-shadow: var(--sombra); transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Escritorio ---------------- */
@media (max-width: 480px) {
  .status-pill .long { display: none; }
  .status-pill .short { display: inline; }
  .menu-tools.is-stuck .filters { display: none; }
  .menu-tools .search input { height: 42px; }
}
@media (min-width: 640px) {
  .promo-rail { grid-auto-columns: minmax(300px, 360px); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .aviso { grid-template-columns: 1fr auto; }
  .card-p { grid-template-columns: 132px 1fr; }
}
@media (min-width: 900px) {
  .topnav { display: flex; }
  .brand { margin-right: 0; }
  .topnav { margin-right: auto; margin-left: 20px; }
  .hero { padding: 70px 0 70px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero-art { height: 460px; max-width: 520px; }
  .hero-logo { width: 120px; height: 120px; }
  .sticker-a { width: 132px; height: 132px; font-size: 1.15rem; }
  .menu-search { grid-template-columns: minmax(260px, 340px) 1fr; align-items: center; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .antojo-inner { grid-template-columns: 1fr 1fr; }
  .zones { grid-template-columns: 340px 1fr; }
  .zones-map { min-height: 470px; }
  .zone-list { max-height: 330px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .visit-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
  .visit-map, .visit-map iframe { min-height: 100%; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
  .footer-note, .footer-credit { grid-column: 1 / -1; }
  .sheet { width: 560px; margin: auto; border-radius: var(--r-xl); max-height: 90dvh; }
  .drawer { width: 460px; margin: 0 0 0 auto; height: 100dvh; }
  .cart-fab { left: auto; right: 24px; transform: none; width: auto; min-width: 320px; }
  @keyframes fabIn { from { transform: translateY(120%); } }
  .toast { bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
