/* Ronda · estilos compartidos. Pensado para usarse a las 3 de la mañana: oscuro, contraste alto,
   letras grandes y botones que se aciertan con una mano. */

@font-face { font-family: 'Inter'; src: url('/static/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Grotesk'; src: url('/static/fonts/grotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #09060f;
  --bg-2: #0f0a18;
  --surface: #160f22;
  --surface-2: #1f1630;
  --surface-3: #2a1f40;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f7f4ff;
  --muted: #b3a9cc;
  --faint: #7d7299;
  --accent: #ff2e88;
  --accent-ink: #fff;
  --accent-soft: rgba(255, 46, 136, .16);
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, .15);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, .14);
  --bad: #fb7185;
  --bad-soft: rgba(251, 113, 133, .14);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, .14);
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Grotesk', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 17px/1.45 var(--font);
  -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh;
}
a { color: var(--cyan); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .88rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 660px; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 1rem;
  cursor: pointer; text-decoration: none; transition: transform .08s, background .15s, opacity .15s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); box-shadow: 0 8px 28px var(--accent-soft); }
.btn.ok { background: var(--ok); border-color: transparent; color: #04261a; }
.btn.bad { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn.ghost { background: transparent; }
.btn.wa { background: #25d366; border-color: transparent; color: #05301a; }
.btn.block { width: 100%; }
.btn.lg { min-height: 64px; font-size: 1.15rem; }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn.icon { width: 52px; padding: 0; }
.btn.icon.sm { width: 40px; }

/* ---------- formularios ---------- */
label.f { display: block; margin-bottom: 14px; }
label.f > span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.in, select.in, textarea.in {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font-size: 1.05rem;
}
textarea.in { min-height: 90px; resize: vertical; }
.in:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap-row { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; min-height: 48px; }
.switch input { width: 52px; height: 30px; appearance: none; border-radius: 99px; background: var(--surface-3); position: relative; cursor: pointer; flex: none; transition: background .15s; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(22px); }

/* ---------- tarjetas y chips ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.card + .card { margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: .82rem; font-weight: 700; background: var(--surface-3); color: var(--muted); white-space: nowrap; }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.accent { background: var(--accent-soft); color: var(--accent); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.notice { border-radius: var(--r-sm); padding: 14px 16px; margin: 0 0 14px; font-weight: 600; }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice.info { background: var(--info-soft); color: var(--info); }

.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { display: grid; place-items: center; min-height: 60vh; }

.toasts { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--surface-3); border: 1px solid var(--line-2); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; transition: opacity .4s, transform .4s; }
.toast.ok { border-color: var(--ok); }
.toast.bad { border-color: var(--bad); }
.toast.out { opacity: 0; transform: translateY(8px); }

/* ---------- hoja inferior / modal ---------- */
.sheet-back { position: fixed; inset: 0; background: rgba(4, 2, 8, .72); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { background: var(--bg-2); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 26px 26px 0 0; width: 100%; max-width: 620px; max-height: 92vh; max-height: 92dvh; overflow: auto; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .2s ease-out; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { margin: 0; font-size: 1.5rem; }
@media (min-width: 720px) {
  .sheet-back { align-items: center; }
  .sheet { border-radius: 26px; border-bottom: 1px solid var(--line-2); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }

/* =========================================================
   CLIENTE
   ========================================================= */
.c-top { position: sticky; top: 0; z-index: 20; background: linear-gradient(var(--bg) 70%, transparent); padding: 14px 0 6px; }
.c-brand { display: flex; align-items: center; gap: 12px; }
.c-brand .logo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--violet)); font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #fff; flex: none; }
.c-brand h1 { font-size: 1.35rem; margin: 0; }
.c-brand p { margin: 0; font-size: .85rem; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; cursor: pointer; }
.chip.on { background: var(--text); color: var(--bg); border-color: transparent; }

.happy { margin: 8px 0 4px; border-radius: var(--r); padding: 14px 16px; background: linear-gradient(110deg, var(--accent), var(--violet)); color: #fff; font-weight: 800; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.happy b { font-size: 1.4rem; }
.ronda-bar { margin: 8px 0; border-radius: var(--r); padding: 14px 16px; background: var(--surface-2); border: 1px dashed var(--cyan); }

.cat-title { font-size: 1.15rem; margin: 22px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font); font-weight: 800; }
.prod { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.prod .emo { width: 58px; height: 58px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; font-size: 2rem; flex: none; }
.prod .info { flex: 1; min-width: 0; }
.prod .name { font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.prod .desc { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.prod .price { font-weight: 800; color: var(--text); margin-top: 4px; font-size: 1.02rem; }
.prod .price s { color: var(--faint); font-weight: 500; margin-left: 6px; font-size: .88rem; }
.prod.off { opacity: .45; }
.qty { display: flex; align-items: center; gap: 4px; flex: none; }
.qty .n { min-width: 30px; text-align: center; font-weight: 800; font-size: 1.2rem; }
.qty .btn { width: 46px; min-height: 46px; padding: 0; font-size: 1.5rem; }
.add { width: 52px; min-height: 52px; padding: 0; font-size: 1.7rem; }

.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.cart-bar .btn { width: 100%; max-width: 620px; margin: 0 auto; display: flex; justify-content: space-between; min-height: 64px; font-size: 1.1rem; }
.cart-bar .count { background: rgba(0, 0, 0, .25); border-radius: 99px; padding: 2px 12px; }
.spacer-bottom { height: 120px; }

.pay-opts { display: grid; gap: 10px; margin-bottom: 14px; }
.pay-opt { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 2px solid var(--line-2); background: var(--surface); cursor: pointer; }
.pay-opt input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.pay-opt.on { border-color: var(--accent); background: var(--accent-soft); }
.pay-opt b { display: block; font-size: 1.05rem; }
.pay-opt .ico { font-size: 1.7rem; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.total-row { display: flex; justify-content: space-between; font-size: 1.35rem; font-weight: 800; padding: 14px 0 4px; }

/* estado del pedido */
.st-hero { text-align: center; padding: 26px 18px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); margin: 10px 0 14px; }
.st-hero .big-ico { font-size: 3.4rem; line-height: 1; margin-bottom: 10px; }
.st-hero h2 { font-size: 1.7rem; }
.code-label { font-size: .8rem; letter-spacing: .2em; color: var(--muted); font-weight: 800; text-transform: uppercase; margin-top: 10px; }
.code { font-family: var(--display); font-size: clamp(3.4rem, 18vw, 5.5rem); font-weight: 700; letter-spacing: .12em; line-height: 1; margin: 6px 0; }
.st-hero.listo { background: var(--ok); color: #03251a; border: 0; animation: pulse 1.2s ease-in-out infinite; }
.st-hero.listo .code-label, .st-hero.listo .muted { color: #064e3b; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(52, 211, 153, .25); } }
.steps { display: flex; justify-content: space-between; gap: 6px; margin: 16px 0 0; }
.steps span { flex: 1; height: 6px; border-radius: 9px; background: var(--surface-3); }
.steps span.done { background: var(--accent); }
.st-hero.listo .steps span.done { background: #03251a; }

.bank { display: grid; gap: 2px; }
.bank .item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank .item:last-child { border-bottom: 0; }
.bank .k { color: var(--muted); font-size: .85rem; font-weight: 600; }
.bank .v { font-weight: 800; font-size: 1.12rem; word-break: break-all; }
.bank .item.hl .v { font-size: 1.4rem; color: var(--accent); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 800; }

/* =========================================================
   PANEL
   ========================================================= */
.p-top { position: sticky; top: 0; z-index: 20; background: rgba(9, 6, 15, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.p-top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.p-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.p-brand .logo { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--violet)); display: grid; place-items: center; font-family: var(--display); color: #fff; }
.p-brand small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.p-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 10px; }
.p-nav::-webkit-scrollbar { display: none; }
.p-nav a { flex: none; padding: 10px 16px; border-radius: 99px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; border: 1px solid transparent; position: relative; }
.p-nav a.on { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }
.p-nav a .badge { position: absolute; top: 2px; right: 2px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .72rem; display: grid; place-items: center; padding: 0 5px; }
.p-main { padding-top: 18px; padding-bottom: 60px; }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.p-head h1 { margin: 0; font-size: 1.6rem; }
.toggles { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.tg { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: .88rem; cursor: pointer; }
.tg .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.tg.on .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.tg.off-bad .dot { background: var(--bad); }

.kds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .kds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .kds { grid-template-columns: 1fr; } }
.col-title { display: flex; align-items: center; justify-content: space-between; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin: 0 4px 10px; }
.ticket { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--r); padding: 14px; margin-bottom: 12px; }
.ticket.listo { border-left-color: var(--ok); }
.ticket.pend { border-left-color: var(--warn); }
.ticket.rev { border-left-color: var(--info); }
.ticket.late { box-shadow: 0 0 0 2px var(--bad) inset; }
.ticket .t-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ticket .t-code { font-family: var(--display); font-size: 2.1rem; font-weight: 700; letter-spacing: .08em; }
.ticket .t-who { font-weight: 700; }
.ticket .t-time { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket ul { list-style: none; padding: 0; margin: 10px 0; }
.ticket li { padding: 5px 0; font-size: 1.08rem; display: flex; gap: 10px; }
.ticket li b { min-width: 34px; color: var(--accent); }
.ticket .t-note { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 8px 10px; font-weight: 600; margin-bottom: 10px; }
.ticket .t-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ticket .t-actions .btn { flex: 1; }
.empty { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 26px 16px; text-align: center; color: var(--faint); font-weight: 600; }

.receipt-thumb { width: 100%; max-height: 220px; object-fit: contain; background: #000; border-radius: 12px; cursor: zoom-in; margin: 8px 0; }
.receipt-full { max-height: 80vh; margin: 0 auto; border-radius: 12px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.kpi .k { color: var(--muted); font-size: .85rem; font-weight: 700; }
.kpi .v { font-family: var(--display); font-size: 1.7rem; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .s { color: var(--faint); font-size: .8rem; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.bar-row .track { height: 14px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar-row .fill { height: 100%; background: var(--accent); border-radius: 99px; min-width: 2px; }
.bar-row .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .num { font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.hours { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 10px; }
.hours .h { flex: 1; max-width: 64px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.hours .h i { display: block; width: 100%; background: var(--accent); border-radius: 6px 6px 2px 2px; min-height: 2px; }
.hours .h span { font-size: .7rem; color: var(--faint); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

table.t { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.t th { text-align: left; color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: 10px 8px; border-bottom: 1px solid var(--line-2); }
table.t td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t-scroll { overflow-x: auto; }

.menu-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-row .emo { font-size: 1.6rem; width: 40px; text-align: center; }
.menu-row:last-child { border-bottom: 0; }

.code-input { font-family: var(--display); font-size: 3rem; text-align: center; letter-spacing: .3em; text-transform: uppercase; min-height: 90px; }
.login-box { max-width: 420px; margin: 8vh auto 0; }
.secret { background: var(--bg); border: 1px dashed var(--accent); border-radius: 12px; padding: 14px; font-size: 1.3rem; text-align: center; font-weight: 800; letter-spacing: .05em; }

/* póster para imprimir el QR */
.poster { background: #fff; color: #111; border-radius: 22px; padding: 34px; text-align: center; max-width: 520px; margin: 0 auto; }
.poster h2 { font-size: 2.2rem; color: #111; }
.poster img { width: 100%; max-width: 380px; margin: 14px auto; }
.poster .url { font-weight: 700; color: #444; word-break: break-all; }
@media print {
  body { background: #fff; }
  .p-top, .no-print, .toasts { display: none !important; }
  .p-main { padding: 0; }
  .poster { box-shadow: none; max-width: none; }
}

/* =========================================================
   LANDING
   ========================================================= */
.l-nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.l-hero { padding: 48px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .l-hero { grid-template-columns: 1fr; padding-top: 24px; } }
.l-hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.l-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--violet) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.l-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.phone { justify-self: center; width: min(320px, 86vw); aspect-ratio: 9 / 18.5; border-radius: 42px; border: 10px solid #221a33; background: var(--bg-2); box-shadow: var(--shadow), 0 0 80px rgba(255, 46, 136, .18); padding: 18px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.phone .mini { background: var(--surface); border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; }
.phone .mini span:first-child { font-size: 1.4rem; }
.phone .mini .p { margin-left: auto; color: var(--muted); }
.phone .ready { margin-top: auto; background: var(--ok); color: #03251a; border-radius: 18px; padding: 16px; text-align: center; font-weight: 800; }
.phone .ready .code { font-size: 2.6rem; margin: 4px 0 0; }
.l-sec { padding: 46px 0; border-top: 1px solid var(--line); }
.l-sec h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 760px) { .l-steps { grid-template-columns: 1fr; } }
.l-step .n { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.l-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 900px) { .l-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .l-feats { grid-template-columns: 1fr; } }
.l-feat .ico { font-size: 1.8rem; margin-bottom: 6px; }
.l-feat h3 { font-size: 1.15rem; }
.l-feat p { color: var(--muted); margin: 0; font-size: .95rem; }
.l-foot { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* producto con presentaciones (lata, botella, vaso…) */
.prod.has-opts { display: block; }
.prod-head { display: flex; align-items: center; gap: 14px; }
.opts { margin-top: 10px; border-top: 1px solid var(--line); }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 72px; border-bottom: 1px solid var(--line); }
.opt:last-child { border-bottom: 0; padding-bottom: 0; }
.opt.off { opacity: .45; }
.opt-name { font-weight: 700; }
.opt .price { font-size: .95rem; color: var(--muted); margin-top: 0; }
.opt .price s { color: var(--faint); margin-left: 6px; font-size: .85rem; }
@media (max-width: 420px) { .opt { padding-left: 8px; } }
/* panel: editor de presentaciones */
.opt-edit { display: grid; grid-template-columns: 1fr 130px 100px auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.opt-edit .in { min-height: 44px; padding: 8px 10px; font-size: .95rem; }
@media (max-width: 560px) { .opt-edit { grid-template-columns: 1fr 1fr; } }
.no-price { color: var(--warn); font-weight: 700; }

/* ---------- temáticas por fecha ---------- */
.season-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: .8rem; font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--violet)); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); white-space: nowrap; }
.season-deco { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.season-deco span { position: absolute; bottom: -60px; opacity: .14; animation: float-up linear infinite; }
@keyframes float-up { from { transform: translateY(0) rotate(0); } to { transform: translateY(-115vh) rotate(25deg); } }
body > main, body > header, body > .wrap, body > footer { position: relative; z-index: 1; }
html[data-season] body { background: radial-gradient(900px 500px at 50% -10%, var(--accent-soft), transparent 70%), var(--bg); background-attachment: fixed; }
html[data-season="halloween"] { --bg: #07040a; --surface: #140c1c; --surface-2: #1e1229; }
html[data-season="navidad"] { --bg: #070a08; --surface: #101814; --surface-2: #17221c; }
html[data-season="anio-nuevo"] { --bg: #0a0906; --surface: #17140c; --surface-2: #211c10; }
html[data-season="anio-nuevo"] .btn.primary, html[data-season="amistad"] .btn.primary,
html[data-season="primavera"] .btn.primary { color: #121018; }

/* ---------- planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 24px; }
.plan.hl { border: 2px solid var(--accent); box-shadow: 0 20px 60px var(--accent-soft); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--accent-ink); }
.plan h3 { font-size: 1.4rem; margin: 0; }
.plan .amount { font-family: var(--display); font-size: 2.1rem; font-weight: 700; margin: 12px 0 0; }
.plan .per { color: var(--muted); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .96rem; }
.plan li::before { content: '✓'; color: var(--ok); font-weight: 800; }
.limits { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- logo e ícono del local ---------- */
.logo-img { width: 36px; height: 36px; border-radius: 11px; object-fit: contain; background: var(--surface-2); flex: none; }
.c-brand .logo-img { width: 48px; height: 48px; border-radius: 14px; }
.brand-slot { margin-bottom: 8px; }
.brand-prev { max-width: 100%; height: 110px; object-fit: contain; background: var(--bg); border: 1px dashed var(--line-2); border-radius: 14px; padding: 8px; display: block; }
.brand-prev.sq { width: 110px; }
.empty-prev { display: grid; place-items: center; color: var(--faint); font-size: .85rem; min-width: 160px; }
.poster-logo { max-height: 110px; width: auto; margin: 0 auto 10px; object-fit: contain; }

/* ---------- efectivo en la barra ---------- */
.cash-box { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px; margin: -4px 0 14px; }
.cash-box .chip { min-height: 40px; padding: 0 14px; font-size: .92rem; }
.ticket .t-cash { background: var(--ok-soft); color: var(--ok); border-radius: 10px; padding: 8px 10px; font-weight: 700; margin-top: 8px; }

/* ---------- seguridad ---------- */
.ticket .t-alert { background: var(--bad-soft); color: var(--bad); border-radius: 10px; padding: 8px 10px; font-weight: 700; margin-top: 8px; font-size: .92rem; }
