/* ============================================================
   MICHELADA EXPRESS — Sistema visual
   Paleta tomada del logo: negro cálido, naranja y ámbar.
   Tipografías locales: Anton (títulos/precios) y Outfit (texto).
   Animaciones solo con transform/opacity para fluir en cualquier
   celular; se reducen si el sistema pide "reducir movimiento".
   ============================================================ */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* tokens (algunos nombres se conservan por el panel admin) */
  --bg: #0c0806;
  --bg-elev: #17100b;
  --bg-card: #1f150d;
  --bg-card-hover: #2a1c11;
  --border: rgba(255, 224, 170, 0.08);
  --border-strong: rgba(255, 224, 170, 0.18);

  --pink: #ff8a1f;
  --pink-2: #ffc21a;
  --cyan: #ffd45c;
  --orange: #ff8a1f;
  --yellow: #ffc21a;
  --green: #39d353;
  --wa: #25d366;
  --ember: #ff4a1c;
  --cream: #fff3dc;

  --text: #fff6e8;
  --muted: #bcaf9f;
  --muted-2: #85776a;

  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-pink: 0 10px 26px rgba(255, 138, 31, 0.35);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.45);

  --f-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --f-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --hh: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease-spring: cubic-bezier(0.2, 1.25, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 138, 31, 0.16), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
a { color: inherit; }
[hidden] { display: none !important; }

.app { max-width: 520px; margin: 0 auto; padding-bottom: calc(120px + var(--safe-b)); position: relative; }

:focus-visible { outline: 3px solid var(--pink-2); outline-offset: 2px; border-radius: 10px; }

/* ---------- Iconos ---------- */
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  --h: 56px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  transition: transform 0.14s var(--ease-spring), box-shadow 0.16s ease, filter 0.16s ease, background 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn .ic { font-size: 1.15em; }
.btn-block { width: 100%; }
.btn-lg { --h: 60px; font-size: 18px; }
.btn-sm { --h: 48px; font-size: 15.5px; padding: 0 16px; }

.btn-primary {
  color: #2b1400;
  background: linear-gradient(180deg, #ffd24d 0%, #ff9a1f 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -4px 0 rgba(150, 62, 0, 0.35),
    0 10px 22px rgba(255, 138, 31, 0.35);
}
.btn-primary:active {
  transform: translateY(3px) scale(0.975);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(150, 62, 0, 0.4),
    0 3px 8px rgba(255, 138, 31, 0.3);
  filter: brightness(0.96);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-ghost:active { transform: scale(0.97); background: rgba(255, 255, 255, 0.12); }
.btn-wa {
  color: #05210f;
  background: linear-gradient(180deg, #5cf08e 0%, #1fbf5b 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -4px 0 rgba(0, 90, 40, 0.35), 0 10px 22px rgba(37, 211, 102, 0.3);
}
.btn-wa:active { transform: translateY(3px) scale(0.975); }
.btn.is-added {
  color: #0f2400;
  background: linear-gradient(180deg, #e2ff8c 0%, #8fdc2b 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), inset 0 -4px 0 rgba(40, 110, 0, 0.35), 0 10px 22px rgba(143, 220, 43, 0.35);
  animation: added-pop 0.5s var(--ease-spring);
}
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }
@keyframes added-pop { 0% { transform: scale(0.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  transition: transform 0.14s var(--ease-spring), background 0.15s;
  flex: none;
}
.icon-btn:active { transform: scale(0.88); background: rgba(255, 255, 255, 0.16); }

/* Contador (stepper) */
.stepper {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  min-height: 48px;
}
.stepper--block { width: 100%; }
.step-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.14s var(--ease-spring), background 0.15s;
}
.step-btn:active { transform: scale(0.84); }
.step-btn--plus { background: linear-gradient(180deg, #ffd24d, #ff9a1f); color: #2b1400; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(150, 62, 0, 0.3); }
.step-btn[disabled] { opacity: 0.35; pointer-events: none; }
.stepper__v { min-width: 34px; text-align: center; font-family: var(--f-display); font-size: 22px; letter-spacing: 0.5px; }
.stepper__v.pop { animation: num-pop 0.32s var(--ease-spring); }
.stepper--sm { min-height: 40px; padding: 3px; }
.stepper--sm .step-btn { width: 32px; height: 32px; }
.stepper--sm .stepper__v { font-size: 19px; min-width: 28px; }
.stepper--lg { min-height: 60px; padding: 5px; }
.stepper--lg .step-btn { width: 48px; height: 48px; }
@keyframes num-pop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }

/* ============================================================
   BIENVENIDA (splash)
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 400;
  background: radial-gradient(90% 55% at 50% 38%, #3a1c08 0%, #0c0806 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}
.splash.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
/* Cobertura total: si la ventana del sistema mide menos que la pantalla al abrir (zona del indicador de inicio / barra de estado), el fondo de la bienvenida se extiende más allá de sus bordes. */
.splash::before, .splash::after { content: ""; position: absolute; left: -2px; right: -2px; height: 240px; background: #0c0806; pointer-events: none; }
.splash::before { bottom: 100%; }
.splash::after { top: 100%; }
.splash__rays {
  position: absolute; width: 150vmax; height: 150vmax; left: 50%; top: 38%;
  margin: -75vmax 0 0 -75vmax; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 194, 26, 0.12) 0 8deg, transparent 8deg 24deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 38%);
  mask-image: radial-gradient(circle, #000 0, transparent 38%);
  animation: spin 40s linear infinite;
}
.splash__mascot {
  position: relative; width: 148px; height: 148px; border-radius: 38px; object-fit: cover;
  border: 3px solid var(--pink-2);
  box-shadow: 0 0 0 8px rgba(255, 194, 26, 0.14), 0 22px 50px rgba(255, 138, 31, 0.45);
  animation: mascot-in 0.8s var(--ease-spring) both, bob 2.4s ease-in-out 0.8s infinite;
}
.splash__name {
  position: relative; font-family: var(--f-display); font-size: 34px; letter-spacing: 1px; text-transform: uppercase; line-height: 1;
  animation: rise 0.6s 0.25s var(--ease-out) both;
}
.splash__name span { color: var(--pink-2); }
.splash__tag { position: relative; color: var(--muted); font-size: 14.5px; max-width: 260px; animation: rise 0.6s 0.4s var(--ease-out) both; }
.splash__bar { position: relative; width: 120px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); overflow: hidden; margin-top: 8px; }
.splash__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--pink), var(--pink-2)); transform-origin: left; animation: fill 1.4s 0.1s ease-out both; }
@keyframes mascot-in { 0% { opacity: 0; transform: scale(0.4) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes rise { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }
@keyframes fill { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   ENCABEZADO
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: calc(var(--hh) + var(--safe-t)); padding: var(--safe-t) 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(12, 8, 6, 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  max-width: 520px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  background: #000 url("../img/avatar.jpg") center / cover no-repeat;
  border: 2px solid var(--pink-2);
  box-shadow: var(--shadow-pink);
}
.brand-text { font-family: var(--f-display); font-size: 19px; line-height: 1; letter-spacing: 0.8px; text-transform: uppercase; white-space: nowrap; }
.brand-text span { color: var(--pink-2); }
.brand-text small { display: block; font-family: var(--f-body); font-weight: 700; font-size: 10px; letter-spacing: 2.4px; color: var(--muted); margin-top: 3px; }

.cart-pill {
  position: relative; height: 46px; min-width: 46px; padding: 0 14px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-strong);
  transition: transform 0.14s var(--ease-spring);
}
.cart-pill:active { transform: scale(0.9); }
.cart-pill .ic { font-size: 22px; }
.cart-badge {
  position: absolute; top: -6px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: linear-gradient(180deg, #ffd24d, #ff8a1f); color: #2b1400;
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  transform: scale(1); transition: transform 0.2s var(--ease-spring);
}
.cart-badge.is-empty { transform: scale(0); }
.bump { animation: bump 0.45s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 14px 18px 8px; overflow: hidden; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill); background: rgba(255, 194, 26, 0.1); border: 1px solid rgba(255, 194, 26, 0.3);
  color: var(--pink-2); font-weight: 700; font-size: 13px; letter-spacing: 0.3px;
}
.hero-eyebrow .ic { font-size: 16px; }

.hero-stage { position: relative; height: 316px; margin: 4px -18px 0; will-change: transform; }
.hero-rays {
  position: absolute; left: 50%; top: 52%; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 170, 40, 0.16) 0 7deg, transparent 7deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 62%);
  mask-image: radial-gradient(circle, #000 0, transparent 62%);
  animation: spin 60s linear infinite;
}
.hero-glow {
  position: absolute; left: 50%; top: 54%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 31, 0.62) 0%, rgba(255, 138, 31, 0.18) 45%, transparent 70%);
  animation: pulse 3.4s ease-in-out infinite;
}
.hero-cup { position: absolute; left: 50%; top: 50%; width: clamp(128px, 38vw, 160px); transform: translate(-50%, -50%); }
.hero-cup__float { animation: float 4.2s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 362 / 640; }
.hero-chip {
  position: absolute; padding: 7px 13px; border-radius: var(--radius-pill);
  background: rgba(30, 18, 8, 0.72); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-weight: 700; font-size: 13px; letter-spacing: 0.2px;
  animation: float 5s ease-in-out infinite;
}
.hero-chip i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.hero-chip--1 { left: 16px; top: 64px; animation-delay: -1s; }
.hero-chip--1 i { background: #b6e03a; }
.hero-chip--2 { right: 14px; top: 112px; animation-delay: -2.4s; }
.hero-chip--2 i { background: #fff3dc; }
.hero-chip--3 { left: 30px; bottom: 54px; animation-delay: -3.2s; }
.hero-chip--3 i { background: #e0301c; }

.paused .hero-rays, .paused .hero-glow, .paused .hero-cup__float, .paused .hero-chip, .paused .drop, .paused .bub { animation-play-state: paused; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.08); opacity: 1; } }

.cup .drop { transform-box: fill-box; transform-origin: 50% 100%; animation: drop 3s ease-in-out infinite; animation-delay: var(--d, 0s); opacity: 0; }
.cup .bub { animation: bub 3.2s ease-in infinite; animation-delay: var(--d, 0s); }
@keyframes drop { 0% { opacity: 0; transform: translateY(18px) scale(0.3); } 25% { opacity: 1; transform: translateY(-2px) scale(1); } 65% { opacity: 1; transform: translateY(-16px) scale(1); } 100% { opacity: 0; transform: translateY(-26px) scale(0.7); } }
@keyframes bub { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 0.8; } 100% { opacity: 0; transform: translateY(-60px); } }

.hero-title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; text-align: center;
  font-size: clamp(46px, 14.6vw, 70px); line-height: 0.94; letter-spacing: 0.5px; margin-top: 2px;
}
.hero-title span {
  display: block;
  background: linear-gradient(180deg, #ffe27a 0%, #ff8a1f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 14px rgba(255, 138, 31, 0.35));
}
.hero-sub { text-align: center; color: var(--muted); font-size: 16.5px; margin: 14px auto 0; max-width: 340px; }
.hero-ctas { display: grid; gap: 12px; margin-top: 22px; }

.steps { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.steps li {
  list-style: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 7px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); font-weight: 600; font-size: 13.5px; color: var(--muted);
}
.steps b { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; background: var(--pink-2); color: #2b1400; }

.hint-card {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px;
  background: var(--bg-card); border: 1px solid rgba(255, 194, 26, 0.3); border-radius: var(--radius-md);
}
.hint-card .ic-wrap { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 194, 26, 0.14); color: var(--pink-2); display: flex; align-items: center; justify-content: center; flex: none; }
.hint-card p { flex: 1; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.hint-card p b { color: var(--text); display: block; font-size: 14.5px; }
.hint-card .btn { --h: 40px; font-size: 14px; padding: 0 16px; }
.hint-card .x { width: 32px; height: 32px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }

/* ============================================================
   NAVEGACIÓN DE CATEGORÍAS
   ============================================================ */
.catnav {
  position: sticky; top: calc(var(--hh) + var(--safe-t)); z-index: 40;
  display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none;
  background: rgba(12, 8, 6, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.catnav::-webkit-scrollbar { display: none; }
.cat {
  flex: none; height: 44px; padding: 0 18px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--muted);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  transition: all 0.2s ease, transform 0.14s var(--ease-spring);
}
.cat:active { transform: scale(0.94); }
.cat.is-on { color: #2b1400; background: linear-gradient(180deg, #ffd24d, #ff9a1f); border-color: transparent; box-shadow: 0 6px 16px rgba(255, 138, 31, 0.3); }

/* ============================================================
   SECCIONES / TARJETAS
   ============================================================ */
.section { padding: 14px 16px 10px; scroll-margin-top: calc(var(--hh) + 70px); }
.section-head { margin: 8px 2px 14px; }
.section-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 32px; letter-spacing: 0.6px; text-transform: uppercase; line-height: 1; }
.section-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); transition-delay: var(--d, 0ms); }

.price { font-family: var(--f-display); color: var(--pink-2); letter-spacing: 0.4px; line-height: 1; }

/* Paquetes */
.pkg-grid { display: grid; gap: 18px; }
.pkg {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(165deg, #2c1a0c 0%, #170f09 70%);
  border: 1px solid rgba(255, 194, 26, 0.16);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease-spring);
  cursor: pointer;
}
.pkg:active { transform: scale(0.985); }
.pkg__media { position: relative; height: 210px; display: flex; align-items: center; justify-content: center; padding: 18px 20px 6px; }
.pkg__glow { position: absolute; left: 50%; top: 52%; width: 280px; height: 220px; margin: -110px 0 0 -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 31, 0.5), transparent); }
.pkg__img { position: relative; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6)); }
.pkg__qty {
  position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(12, 8, 6, 0.8); border: 1px solid rgba(255, 194, 26, 0.5); color: var(--pink-2); font-weight: 800; font-size: 13px;
  animation: added-pop 0.5s var(--ease-spring);
}
.pkg__body { padding: 4px 18px 18px; }
.pkg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pkg__head h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; letter-spacing: 0.4px; text-transform: uppercase; line-height: 1.05; color: var(--cream); }
.pkg__head .price { font-size: 34px; padding-top: 2px; }
.pkg__body p { color: var(--muted); font-size: 15px; margin: 8px 0 16px; }

/* Pake Tú Elijas */
.mi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mi {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(170deg, #271809, #170f09 75%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease-spring);
  cursor: pointer;
}
.mi:active { transform: scale(0.97); }
.mi__media { position: relative; height: 158px; display: flex; align-items: center; justify-content: center; }
.mi__glow { position: absolute; left: 50%; top: 55%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 31, 0.42), transparent); }
.mi__cup { position: relative; height: 132px; display: flex; justify-content: center; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5)); }
.mi__cup .cup { height: 100%; width: auto; }
.mi__name { padding: 0 14px; font-family: var(--f-display); font-weight: 400; font-size: 20px; letter-spacing: 0.4px; text-transform: uppercase; line-height: 1.05; color: var(--cream); }
.mi__desc { padding: 4px 14px 0; color: var(--muted); font-size: 13.5px; line-height: 1.3; flex: 1; min-height: 36px; }
.mi__foot { padding: 8px 14px 0; }
.mi__foot .price { font-size: 30px; }
.mi__act { padding: 10px 12px 12px; }
.mi__act .btn, .mi__act .stepper { width: 100%; }
.mi__act .btn-sm { padding: 0 10px; }

/* Mandadito (home) */
.mand-home {
  display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 194, 26, 0.13), rgba(255, 138, 31, 0.05)), var(--bg-card);
  border: 1.5px dashed rgba(255, 194, 26, 0.5);
}
.mand-ico { width: 58px; height: 58px; border-radius: 18px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 30px; background: linear-gradient(180deg, #ffd24d, #ff9a1f); color: #2b1400; box-shadow: var(--shadow-pink); }
.mand-ico .ic { animation: ride 2.2s ease-in-out infinite; }
@keyframes ride { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(3px); } }
.mand-home h3 { font-family: var(--f-display); font-weight: 400; font-size: 22px; letter-spacing: 0.4px; text-transform: uppercase; line-height: 1.05; }
.mand-home p { color: var(--muted); font-size: 14.5px; margin: 5px 0 12px; line-height: 1.35; }
.mand-home p b { color: var(--pink-2); }
.mand-home .btn { --h: 46px; font-size: 15px; padding: 0 18px; }

/* Tarjeta de marca (pie) */
.brandcard { margin: 26px 16px 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(255, 194, 26, 0.3); box-shadow: 0 18px 40px rgba(255, 138, 31, 0.18); }
.brandcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.brandcard__txt { padding: 14px 18px 16px; background: var(--bg-card); text-align: center; color: var(--muted); font-size: 14px; }
.brandcard__txt b { color: var(--text); display: block; font-size: 15px; }
.brandcard__txt a { color: var(--pink-2); font-weight: 700; text-decoration: none; }

/* ============================================================
   BARRA DE CARRITO + WHATSAPP FLOTANTE
   ============================================================ */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; pointer-events: none;
  padding: 0 14px calc(14px + var(--safe-b));
  transform: translateY(130%); transition: transform 0.5s var(--ease-spring);
}
.cart-bar.visible { transform: translateY(0); }
.cart-bar__btn {
  pointer-events: auto; width: 100%; max-width: 492px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 10px; border-radius: var(--radius-pill); text-align: left;
  background: rgba(24, 14, 7, 0.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 194, 26, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 5px rgba(255, 138, 31, 0.1);
  transition: transform 0.14s var(--ease-spring);
}
.cart-bar__btn:active { transform: scale(0.97); }
.cart-bar__icon { position: relative; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: linear-gradient(180deg, #ffd24d, #ff9a1f); color: #2b1400; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5); }
.cart-bar__icon .ic { font-size: 25px; }
.cart-bar__icon b { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--bg); color: var(--pink-2); border: 1.5px solid var(--pink-2); font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.cart-bar__txt { flex: 1; min-width: 0; line-height: 1.1; }
.cart-bar__txt small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.cart-bar__txt strong { font-family: var(--f-display); font-weight: 400; font-size: 27px; letter-spacing: 0.5px; color: var(--cream); }
.cart-bar__cta { height: 52px; padding: 0 18px 0 22px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 16px; color: #2b1400; background: linear-gradient(180deg, #ffd24d, #ff9a1f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(150, 62, 0, 0.3); }

.fab-whatsapp {
  position: fixed; right: 16px; bottom: calc(22px + var(--safe-b)); z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #05210f; background: linear-gradient(180deg, #5cf08e, #1fbf5b);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -4px 0 rgba(0, 90, 40, 0.3), 0 12px 26px rgba(37, 211, 102, 0.4);
  transition: bottom 0.5s var(--ease-spring), transform 0.14s var(--ease-spring);
}
.fab-whatsapp .ic { font-size: 30px; }
.fab-whatsapp:active { transform: scale(0.9); }
.has-cart .fab-whatsapp { bottom: calc(104px + var(--safe-b)); }
@media (min-width: 560px) { .fab-whatsapp { right: calc(50% - 244px); } }

.fly-dot {
  position: fixed; left: 0; top: 0; z-index: 500; width: 30px; height: 30px; border-radius: 50%; pointer-events: none;
  background: linear-gradient(180deg, #ffe27a, #ff8a1f); color: #2b1400; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.35), 0 8px 18px rgba(255, 138, 31, 0.6);
}
.fly-dot .ic { font-size: 16px; stroke-width: 3; }

/* ============================================================
   HOJAS (sheets)
   ============================================================ */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(6, 3, 1, 0.66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; margin: 0 auto; z-index: 110; max-width: 520px; width: 100%;
  max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, #211409 0%, #130c07 100%);
  border: 1px solid var(--border-strong); border-bottom: 0; border-radius: 32px 32px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(104%); transition: transform 0.46s var(--ease-out);
  visibility: hidden;
}
.sheet.open { transform: translateY(0); visibility: visible; }
.sheet:focus { outline: none; }
.sheet.measuring { transform: none !important; transition: none !important; visibility: hidden !important; }
.sheet:not(.open) { transition: transform 0.38s var(--ease-out), visibility 0s 0.38s; }
.sheet--tall { height: 92vh; height: 92dvh; }
.sheet-grab { flex: none; height: 28px; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: grab; position: relative; z-index: 3; }
.sheet-grab::before { content: ""; width: 44px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, 0.28); }
.sheet-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 4px 16px 14px 20px; border-bottom: 1px solid var(--border); }
.sheet-head h2 { flex: 1; font-family: var(--f-display); font-weight: 400; font-size: 27px; letter-spacing: 0.6px; text-transform: uppercase; line-height: 1; }
.chip { padding: 5px 12px; border-radius: var(--radius-pill); background: rgba(255, 194, 26, 0.14); color: var(--pink-2); font-weight: 700; font-size: 13.5px; }
.sheet-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 18px 24px; }
.sheet-bar {
  flex: none; display: flex; gap: 12px; align-items: center; padding: 14px 16px calc(14px + var(--safe-b));
  background: rgba(14, 9, 5, 0.94); border-top: 1px solid var(--border-strong);
}
.sheet-bar .btn { flex: 1; min-width: 0; }
.sheet-x { position: absolute; top: 12px; right: 14px; z-index: 5; background: rgba(12, 8, 6, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Detalle de producto / armador */
.sheet--product .sheet-scroll { padding: 0 0 20px; }
.det-hero { position: relative; height: 270px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.det-glow { position: absolute; left: 50%; top: 56%; width: 340px; height: 260px; margin: -130px 0 0 -170px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 31, 0.62), transparent); }
.det-visual { position: relative; height: 218px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.6)); }
.det-visual .cup { height: 100%; width: auto; overflow: visible; }
.det-visual .det-img { max-height: 100%; width: auto; max-width: 86vw; object-fit: contain; }
.det-visual.is-hidden { visibility: hidden; }
.sheet.open .det-visual.land { animation: land 0.5s var(--ease-spring); }
.det-visual.wiggle { animation: wiggle 0.5s var(--ease-spring); }
@keyframes land { 0% { transform: scale(0.96); } 100% { transform: scale(1); } }
@keyframes wiggle { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(-4deg) scale(1.05); } 65% { transform: rotate(3deg) scale(1.03); } 100% { transform: rotate(0) scale(1); } }

.det-body { padding: 4px 20px 0; }
.det-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.det-title h2 { font-family: var(--f-display); font-weight: 400; font-size: 32px; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.02; color: var(--cream); }
.det-title .price { font-size: 38px; }
.det-desc { color: var(--muted); font-size: 16px; margin-top: 8px; }

.det-sec { margin-top: 22px; }
.det-sec h4 { font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.ingr { display: flex; flex-wrap: wrap; gap: 8px; }
.ingr li { list-style: none; padding: 9px 15px; border-radius: var(--radius-pill); background: rgba(255, 194, 26, 0.1); border: 1px solid rgba(255, 194, 26, 0.28); font-weight: 700; font-size: 15px; }

fieldset.opt { border: 0; margin-top: 24px; min-width: 0; }
fieldset.opt legend { font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; padding: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 14px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05); border: 2px solid var(--border-strong); font-weight: 800; font-size: 17px;
  transition: transform 0.16s var(--ease-spring), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.tile:active { transform: scale(0.95); }
.tile__vis { height: 66px; display: flex; align-items: center; }
.tile__vis .cup { height: 100%; width: auto; }
.tile__check { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--pink-2); color: #2b1400; transform: scale(0); transition: transform 0.25s var(--ease-spring); }
.tile__check .ic { font-size: 15px; stroke-width: 3.2; }
.tile.is-on { border-color: var(--pink-2); background: rgba(255, 194, 26, 0.12); box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.12), 0 10px 22px rgba(255, 138, 31, 0.2); }
.tile.is-on .tile__check { transform: scale(1); }

.build { display: grid; gap: 10px; }
.build li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); }
.build li.pop { animation: row-pop 0.45s var(--ease-spring); }
@keyframes row-pop { 0% { transform: scale(0.96); background: rgba(255, 194, 26, 0.25); } 100% { transform: scale(1); } }
.build .row__vis { width: 46px; height: 52px; display: flex; align-items: center; justify-content: center; flex: none; }
.build .row__vis .cup { height: 100%; width: auto; }
.build .row__txt { flex: 1; min-width: 0; line-height: 1.15; }
.build .row__txt b { display: block; font-size: 17px; }
.build .row__txt small { color: var(--muted); font-size: 13.5px; }
.build .row__n { font-family: var(--f-display); font-size: 24px; color: var(--pink-2); letter-spacing: 0.5px; }

.sheet--product .sheet-bar .stepper { flex: none; }
.btn-add { justify-content: center; }
.btn-add b { font-family: var(--f-display); font-weight: 400; font-size: 1.25em; letter-spacing: 0.5px; }

/* Carrito */
.ci { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); transition: opacity 0.22s ease, transform 0.22s ease; }
.ci.is-leaving { opacity: 0; transform: translateX(40px); }
.ci__thumb { width: 66px; height: 74px; flex: none; border-radius: var(--radius-md); background: radial-gradient(closest-side, rgba(255, 138, 31, 0.35), rgba(255, 255, 255, 0.04)); display: flex; align-items: center; justify-content: center; padding: 6px; }
.ci__thumb img, .ci__thumb .cup { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.ci__main { flex: 1; min-width: 0; }
.ci__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ci__top h4 { font-family: var(--f-display); font-weight: 400; font-size: 19px; letter-spacing: 0.3px; text-transform: uppercase; line-height: 1.1; }
.ci__price { font-family: var(--f-display); font-weight: 400; font-size: 21px; color: var(--pink-2); letter-spacing: 0.4px; }
.ci__opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ci__opts span { padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ci__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.ci__unit { color: var(--muted-2); font-size: 13px; }

.cart-empty { text-align: center; padding: 26px 10px 18px; }
.cart-empty img { width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 40px; object-fit: cover; border: 3px solid var(--pink-2); box-shadow: 0 0 0 8px rgba(255, 194, 26, 0.12), 0 18px 40px rgba(255, 138, 31, 0.35); animation: bob 2.6s ease-in-out infinite; }
.cart-empty h3 { font-family: var(--f-display); font-weight: 400; font-size: 30px; letter-spacing: 0.5px; text-transform: uppercase; }
.cart-empty p { color: var(--muted); margin: 6px auto 22px; max-width: 270px; }

.mand { margin-top: 18px; border-radius: var(--radius-lg); border: 1.5px solid var(--border-strong); background: rgba(255, 255, 255, 0.04); padding: 14px; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.mand.on { border-color: rgba(255, 194, 26, 0.7); background: rgba(255, 194, 26, 0.09); }
.mand.flash { animation: mand-flash 1.2s ease; }
@keyframes mand-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 6px rgba(255, 194, 26, 0.35); } }
.mand__row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.mand__ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 194, 26, 0.16); color: var(--pink-2); display: flex; align-items: center; justify-content: center; flex: none; font-size: 24px; }
.mand.on .mand__ico { background: linear-gradient(180deg, #ffd24d, #ff9a1f); color: #2b1400; }
.mand__txt { flex: 1; line-height: 1.2; }
.mand__txt b { font-size: 17px; display: block; }
.mand__txt b em { font-style: normal; color: var(--pink-2); margin-left: 6px; }
.mand__txt small { color: var(--muted); font-size: 13.5px; }
.switch { width: 56px; height: 34px; border-radius: 17px; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--border-strong); position: relative; flex: none; transition: background 0.25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.3s var(--ease-spring); }
.switch.on { background: linear-gradient(180deg, #ffd24d, #ff9a1f); border-color: transparent; }
.switch.on::after { transform: translateX(22px); }
.reveal-box { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out); }
.reveal-box > div { overflow: hidden; }
.reveal-box.open { grid-template-rows: 1fr; }
.reveal-box textarea { margin-top: 12px; }

.summary { margin-top: 18px; padding: 16px; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255, 255, 255, 0.015) 6px 12px), var(--bg-card); border: 1.5px dashed var(--border-strong); font-variant-numeric: tabular-nums; }
.sum__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; color: var(--muted); font-size: 16px; }
.sum__row span { display: inline-flex; align-items: center; gap: 8px; }
.sum__row small { color: var(--muted-2); font-size: 13px; }
.sum__row b { color: var(--text); font-weight: 700; }
.sum__row--mand { color: var(--pink-2); animation: rise 0.4s var(--ease-out); }
.sum__row--mand b { color: var(--pink-2); }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 14px; border-top: 1.5px dashed var(--border-strong); }
.sum__total span { font-weight: 800; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.sum__total b { font-family: var(--f-display); font-weight: 400; font-size: 44px; letter-spacing: 0.5px; color: var(--cream); line-height: 1; }

/* Formularios */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 7px; }
.field label small { font-weight: 500; color: var(--muted-2); }
.field input, .field textarea {
  width: 100%; background: rgba(255, 255, 255, 0.06); border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 15px 16px; color: var(--text); font: inherit; font-size: 16px; /* 16px evita el zoom de iOS */
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: none; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink-2); background: rgba(255, 194, 26, 0.07); box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.14); }
.field.invalid input, .field.invalid textarea { border-color: #ff6a4a; }
.field.invalid { animation: shake 0.4s; }
.field .err { display: none; color: #ff8a6a; font-size: 13.5px; margin-top: 5px; font-weight: 600; }
.field.invalid .err { display: block; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.mini-order { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 18px; border-radius: var(--radius-md); background: rgba(255, 194, 26, 0.09); border: 1px solid rgba(255, 194, 26, 0.3); text-align: left; }
.mini-order span { flex: 1; font-weight: 600; font-size: 15px; }
.mini-order b { font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--pink-2); letter-spacing: 0.4px; }
.mini-order em { font-style: normal; color: var(--muted); font-size: 13.5px; text-decoration: underline; }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-chip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px 14px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.05); border: 2px solid var(--border-strong); font-weight: 800; font-size: 16px; transition: transform 0.16s var(--ease-spring), border-color 0.2s, background 0.2s; }
.pay-chip:active { transform: scale(0.95); }
.pay-chip .ic { font-size: 28px; color: var(--muted); }
.pay-chip .pref { position: absolute; top: -10px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--pink-2); color: #2b1400; font-size: 11px; letter-spacing: 0.8px; font-weight: 800; }
.pay-chip.is-on { border-color: var(--pink-2); background: rgba(255, 194, 26, 0.12); box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.12); }
.pay-chip.is-on .ic { color: var(--pink-2); }

.done { text-align: center; padding: 22px 6px 6px; position: relative; }
.done img { width: 138px; height: 138px; margin: 0 auto 16px; border-radius: 38px; object-fit: cover; border: 3px solid var(--pink-2); box-shadow: 0 0 0 8px rgba(255, 194, 26, 0.12), 0 18px 40px rgba(255, 138, 31, 0.4); animation: mascot-in 0.7s var(--ease-spring) both; }
.done h3 { font-family: var(--f-display); font-weight: 400; font-size: 36px; text-transform: uppercase; letter-spacing: 0.6px; }
.done p { color: var(--muted); margin: 8px auto 20px; max-width: 290px; }
.done .sum-chip { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: var(--radius-pill); background: rgba(255, 194, 26, 0.1); border: 1px solid rgba(255, 194, 26, 0.3); font-weight: 700; margin-bottom: 20px; }
.done .sum-chip b { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--pink-2); }
.done .btn + .btn { margin-top: 10px; }
.confetti { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; top: 0; width: 9px; height: 14px; border-radius: 3px; opacity: 0; animation: confetti 1.6s ease-out forwards; animation-delay: var(--d); left: var(--x); background: var(--c); }
@keyframes confetti { 0% { opacity: 1; transform: translateY(40px) rotate(0); } 100% { opacity: 0; transform: translateY(240px) translateX(var(--dx)) rotate(540deg); } }

/* Toast */
.toast { position: fixed; left: 50%; top: calc(var(--hh) + var(--safe-t) + 12px); z-index: 600; transform: translate(-50%, -24px); max-width: calc(100% - 32px); padding: 13px 20px; border-radius: var(--radius-pill); background: #2a1a0c; border: 1px solid rgba(255, 194, 26, 0.5); color: var(--text); font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: all 0.3s var(--ease-spring); box-shadow: var(--shadow-card); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Compatibilidad con el panel admin (admin/index.html)
   ============================================================ */
.container { max-width: 640px; margin: 0 auto; padding: 0 18px; }
.section-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin: 24px 0 10px; }

/* Promos del Sr. y Combo (tarjetas con imagen promocional) */
.promo-row { display: flex; flex-direction: column; gap: 14px; }
.promo { display: flex; align-items: stretch; width: 100%; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(165deg, #2c1a0c 0%, #170f09 70%); border: 1px solid rgba(255, 194, 26, 0.16); box-shadow: var(--shadow-card); }
.promo[data-open] { cursor: pointer; }
.promo__media { position: relative; flex: none; width: 42%; max-width: 190px; align-self: flex-start; }
.promo__act { margin-top: 2px; }
.promo__img { display: block; width: 100%; height: auto; aspect-ratio: 560 / 995; background: #170f09; }
.promo__body { flex: 1; min-width: 0; padding: 16px 14px 16px 14px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.promo__head { display: flex; flex-direction: column; gap: 8px; }
.promo__head h3 { font-family: var(--f-display); font-weight: 400; font-size: 24px; letter-spacing: 0.4px; text-transform: uppercase; line-height: 1.08; color: var(--cream); overflow-wrap: anywhere; }
.promo__head .price { font-size: 36px; }
.promo__body p { color: var(--muted); font-size: 15px; line-height: 1.4; }

.sum__total .sum__val { display: inline-flex; align-items: baseline; gap: 2px; letter-spacing: 0; text-transform: none; }
.sum__total .sum__val em { font-style: normal; font-family: var(--f-display); font-size: 30px; color: var(--pink-2); }
.sum__note { margin-top: 8px; color: var(--pink-2); font-size: 14px; line-height: 1.4; font-weight: 600; }

/* ---------- aviso de estado ---------- */
.status-banner { margin: 14px 16px 0; padding: 12px 16px; border-radius: var(--radius-lg, 16px); background: rgba(255, 194, 26, 0.1); border: 1px solid rgba(255, 194, 26, 0.35); color: var(--text); font-size: 14px; line-height: 1.4; text-align: center; font-weight: 600; }
.status-banner.is-test { background: rgba(255, 138, 31, 0.12); border-color: rgba(255, 138, 31, 0.45); }

/* ---------- agotado ---------- */
.is-soldout { position: relative; }
.is-soldout > * { opacity: 0.5; }
.is-soldout::after { content: "Agotado"; position: absolute; top: 12px; right: 12px; z-index: 3; padding: 5px 11px; border-radius: 999px; background: #1a0f08; color: var(--yellow); border: 1px solid rgba(255, 194, 26, 0.5); font-size: 12px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; }

/* ---------- pie de página ---------- */
.site-footer { margin: 26px 16px 0; padding: 22px 0 calc(110px + env(safe-area-inset-bottom, 0px)); text-align: center; color: var(--muted); font-size: 13px; border-top: 1px solid rgba(255, 246, 232, 0.08); }
.site-footer .flags { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 16px; perspective: 120px; }
.site-footer .flag { display: block; width: 38px; height: auto; aspect-ratio: 3 / 2; border-radius: 2px; background: none; border: 0; box-shadow: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); transform-origin: 0 50%; animation: flag-wave 6s ease-in-out infinite; will-change: transform; }
.site-footer .flag--ec { animation-delay: -3s; }
@keyframes flag-wave { 0%, 100% { transform: rotateY(0deg) skewY(0deg); } 25% { transform: rotateY(-7deg) skewY(-1.2deg); } 75% { transform: rotateY(5deg) skewY(1.2deg); } }
@media (min-width: 600px) { .site-footer .flag { width: 40px; } }
@media (prefers-reduced-motion: reduce) { .site-footer .flag { animation: none; will-change: auto; } }
.site-footer .social { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; }
.site-footer .social a { color: var(--yellow); font-weight: 700; text-decoration: none; padding: 6px 4px; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-bottom: 12px; }
.site-footer .legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 7px 2px; }
.site-footer .copy { font-size: 12.5px; }

/* ---------- pedido registrado ---------- */
.done .folio { display: inline-block; margin-top: 6px; padding: 6px 14px; border-radius: 999px; border: 1px dashed rgba(255, 194, 26, 0.6); font-size: 14px; color: var(--muted); }
.done .folio b { color: var(--yellow); letter-spacing: 1px; }
.done .done__note { font-size: 13px; margin: 0 auto 16px; }
.done .bank { display: grid; gap: 3px; margin: 0 auto 18px; max-width: 320px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 246, 232, 0.05); border: 1px solid rgba(255, 246, 232, 0.14); text-align: left; font-size: 14px; }
.done .bank small { color: var(--muted); margin-top: 6px; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }

.site-footer [hidden], .status-banner[hidden], .brandcard__txt [hidden] { display: none !important; }

/* ---------- ubicación ---------- */
.geo { margin-bottom: 14px; }
.geo__hint { margin: 8px 2px 0; font-size: 12.5px; color: var(--muted); }
.geo__ok { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(111, 211, 111, 0.12); border: 1px solid rgba(111, 211, 111, 0.5); font-weight: 700; }
.geo__ok button { background: none; border: 0; color: var(--yellow); font-weight: 700; text-decoration: underline; min-height: 36px; padding: 0 6px; }

/* ---------- letrero del personaje (abierto / cerrado) ---------- */
/* Personaje a la izquierda y tarjeta oscura con borde dorado a la derecha. Alto fijo para que nada de abajo se mueva. */
.mascot-sign { --ms-accent: #ffc21a; --ms-ink: #fff6e8; --ms-line: rgba(255,194,26,.7); position: relative; display: block; width: calc(100% - 32px); max-width: 480px; height: 108px; margin: 6px auto 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mascot-sign[hidden] { display: none; }
.mascot-sign.is-closed { --ms-accent: #fff6e8; --ms-line: rgba(255,194,26,.4); }
.ms-fig { position: absolute; left: 0; bottom: 0; height: 104px; width: auto; aspect-ratio: 226 / 336; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ms-cloud { position: absolute; left: 80px; right: 0; top: 12px; height: 84px; box-sizing: border-box; border-radius: 16px; background: linear-gradient(160deg, #1d130b, #0c0806); border: 1px solid var(--ms-line); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
/* Punto de estado: verde que palpita = abierto, rojo fijo = cerrado. Posición fija para que no se mueva al cambiar de frase. */
.ms-dot { position: absolute; z-index: 2; top: 9px; left: 11px; width: 9px; height: 9px; border-radius: 50%; background: #8a7b6a; }
.mascot-sign.is-open .ms-dot { background: #2ecb5a; animation: ms-dot-pulse 2s ease-out infinite; }
.mascot-sign.is-closed .ms-dot { background: #e0301e; }
@keyframes ms-dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,203,90,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(46,203,90,0); } }
@media (prefers-reduced-motion: reduce) { .mascot-sign.is-open .ms-dot { animation: none; } }
.ms-body { position: absolute; z-index: 1; inset: 8px 24px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.ms-txt { text-wrap: balance; width: 100%; max-height: 100%; line-height: 1.1; color: var(--ms-ink); opacity: 1; transition: opacity .45s ease; }
.ms-txt.is-out { opacity: 0; }
.ms-txt b { display: block; font: 400 17px/1.05 var(--f-display, "Anton"), Impact, sans-serif; text-transform: uppercase; letter-spacing: .3px; color: var(--ms-accent); }
.ms-txt small { display: block; margin-top: 4px; font: 600 11.5px/1.15 var(--f-body, "Outfit"), sans-serif; color: var(--ms-ink); opacity: .85; }
/* solo para lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 359px) { .ms-cloud { left: 74px; } .ms-body { inset: 8px 18px 8px 22px; } .ms-dot { left: 9px; top: 8px; } }
@media (min-width: 420px) { .ms-txt b { font-size: 19px; } .ms-txt small { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .ms-txt { transition: none; } }

/* ---------- horario de atención ---------- */
.hours-card { margin: 22px 16px 0; padding: 16px 18px; border-radius: 20px; background: var(--bg-card); border: 1px solid rgba(255, 194, 26, .25); }
.hours-card h2 { font: 400 22px var(--f-display, "Anton"), sans-serif; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 8px; }
.hours-card ul { list-style: none; margin: 0; padding: 0; }
.hours-card li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 246, 232, .12); font-size: 15px; color: var(--muted); }
.hours-card li:last-child { border-bottom: 0; }
.hours-card li b { color: var(--text); font-weight: 700; text-align: right; }
.hours-card li.is-today span { color: var(--yellow); font-weight: 800; }
.hours-note { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
