/* Comanda · kiosco */
html, body { height: 100%; }
body.kiosk { overflow: hidden; background: var(--bg); user-select: none; -webkit-user-select: none; }
.muted { color: var(--muted); }
.block { width: 100%; }
.grow { flex: 1; }
.screen { position: fixed; inset: 0; display: none; flex-direction: column; }
.screen.active { display: flex; animation: scrIn .28s ease; }
@keyframes scrIn { from { opacity: 0; transform: translateY(8px); } }
body:not([data-screen="attract"]) .demo-bar { display: none; }

/* Idioma */
.lang-sw { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); gap: 2px; }
.lang-sw button { min-width: 48px; height: 40px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--muted); }
.lang-sw button.on { background: var(--ink); color: #fff; }
.lang-sw.on-dark { position: absolute; top: 22px; right: 22px; z-index: 3; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.lang-sw.on-dark button { color: rgba(255,255,255,.85); }
.lang-sw.on-dark button.on { background: #fff; color: var(--brand-600); }

/* 1 · Reposo */
.s-attract { background: radial-gradient(120% 90% at 50% 0%, #FF8A50 0%, #F2542D 45%, #B9341A 100%); color: #fff; overflow: hidden; }
.attract-bg .fl { position: absolute; left: var(--x); top: var(--y); font-size: clamp(56px, 9vw, 110px); opacity: .9; filter: drop-shadow(0 18px 24px rgba(80,20,0,.35)); animation: float 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
.attract-hit { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 24px; }
.store-badge { width: 112px; height: 112px; border-radius: 34px; background: #fff; display: grid; place-items: center; font-size: 64px; box-shadow: 0 20px 50px rgba(90,20,0,.35); margin-bottom: 18px; }
.store-name { font-weight: 800; font-size: 22px; letter-spacing: .01em; opacity: .95; margin-bottom: 18px; }
.attract-hit h1 { margin: 0; font-size: clamp(48px, 7.4vw, 96px); line-height: 1; letter-spacing: -.035em; font-weight: 900; text-shadow: 0 6px 30px rgba(90,20,0,.3); }
.attract-hit p { margin: 16px 0 34px; font-size: clamp(18px, 2.2vw, 26px); opacity: .95; font-weight: 500; }
.tap-pulse { position: relative; width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 44px; box-shadow: 0 10px 30px rgba(90,20,0,.3); }
.tap-pulse::before, .tap-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255,255,255,.8); animation: ring 2s ease-out infinite; }
.tap-pulse::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.attract-foot { position: relative; z-index: 2; text-align: center; padding: 0 0 26px; font-size: 15px; font-weight: 600; opacity: .85; display: flex; gap: 10px; justify-content: center; }

/* Cabecera */
.k-top { flex: none; display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
.k-top.plain { background: transparent; border-bottom: 0; }
.k-icon-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 16px; }
.k-icon-btn:active { transform: scale(.97); }
.k-store { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 19px; min-width: 0; }
.k-store b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-store .emoji { font-size: 26px; }
.mode-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-weight: 800; font-size: 15px; white-space: nowrap; }
.mode-pill .emoji { font-size: 20px; }

/* 2 · Modo */
.s-mode { background: linear-gradient(180deg, #FFF3EC 0%, var(--bg) 60%); }
.mode-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 28px 60px; }
.mode-wrap h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.03em; margin: 0 0 36px; text-align: center; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: min(860px, 100%); }
.mode-card { background: #fff; border-radius: var(--r-xl); padding: 40px 24px 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: var(--sh-2); border: 2px solid transparent; transition: transform .1s, border-color .15s; }
.mode-card:hover { border-color: var(--brand-100); }
.mode-card:active { transform: scale(.98); border-color: var(--brand); }
.mode-ill { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-size: 84px; background: radial-gradient(circle at 35% 30%, #FFE7DC, #FFD2BF); margin-bottom: 10px; }
.mode-card b { font-size: 26px; letter-spacing: -.02em; }
.mode-card small { font-size: 16px; color: var(--muted); }

/* 3 · Carta */
.s-menu { background: var(--bg); }
.k-body { flex: 1; display: grid; grid-template-columns: 170px 1fr 340px; min-height: 0; }
.k-cats { overflow-y: auto; padding: 14px 10px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 18px; color: var(--ink-2); font-weight: 700; font-size: 15px; text-align: center; transition: background .15s; }
.cat-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 34px; background: hsl(var(--h) 90% 95%); }
.cat.on { background: var(--brand-50); color: var(--brand-600); }
.cat.on .cat-ic { background: #fff; box-shadow: 0 4px 12px rgba(242,84,45,.2); }
.k-main { overflow-y: auto; padding: 22px 24px 120px; min-width: 0; -webkit-overflow-scrolling: touch; }
.k-main-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.k-main-head h2 { margin: 0; font-size: 32px; letter-spacing: -.03em; }
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-1); border: 1.5px solid #F0EAE3; transition: transform .1s, box-shadow .15s; }
.pcard:active { transform: scale(.98); }
.pcard:hover { box-shadow: var(--sh-2); }
.pimg { position: relative; height: 128px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, hsl(var(--h) 100% 92%), hsl(var(--h) 85% 84%)); }
.pimg > .emoji { font-size: 74px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.18)); transform: rotate(-6deg); transition: transform .2s; }
.pcard:hover .pimg > .emoji { transform: rotate(0) scale(1.05); }
.ptag { position: absolute; left: 10px; top: 10px; }
.pin { position: absolute; right: 10px; top: 10px; min-width: 30px; height: 30px; border-radius: 15px; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; padding: 0 8px; box-shadow: 0 3px 8px rgba(242,84,45,.4); }
.psold { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.65); font-weight: 900; font-size: 18px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.pcard.sold { opacity: .75; cursor: not-allowed; }
.pbody { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; flex: 1; }
.pname { font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.pdesc { font-size: 13px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.pfoot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.pprice { font-weight: 800; font-size: 18px; }
.padd { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 600; line-height: 1; box-shadow: 0 4px 10px rgba(242,84,45,.35); }

/* Carrito lateral */
.k-cart { display: flex; flex-direction: column; background: #fff; border-left: 1px solid var(--line); min-height: 0; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.cart-head h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.cart-head.bump { animation: bump .35s ease; }
.cart-list { flex: 1; overflow-y: auto; padding: 4px 14px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 20px; color: var(--muted); }
.cart-empty .emoji { font-size: 54px; opacity: .6; margin-bottom: 6px; }
.cart-empty b { color: var(--ink-2); font-size: 17px; }
.cart-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.tot { display: flex; justify-content: space-between; align-items: baseline; }
.tot span { font-weight: 700; color: var(--ink-2); font-size: 17px; }
.tot b { font-size: 28px; letter-spacing: -.02em; }
.cline { display: flex; gap: 12px; padding: 12px 6px; border-bottom: 1px solid #F3EEE8; }
.cline:last-child { border-bottom: 0; }
.cl-emoji { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--brand-50); display: grid; place-items: center; font-size: 28px; }
.cl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; position: relative; }
.cl-main > b { font-size: 16px; line-height: 1.25; padding-right: 4px; }
.cl-main small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.cl-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cl-price { font-weight: 800; font-size: 16px; }
.cl-edit { position: absolute; right: 0; top: 0; font-size: 14px; font-weight: 700; color: var(--brand-600); padding: 4px 8px; border-radius: 8px; background: var(--brand-50); }
.stepper { display: inline-flex; align-items: center; background: #F5F0EA; border-radius: 999px; padding: 3px; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 22px; font-weight: 700; box-shadow: var(--sh-1); line-height: 1; }
.stepper span { min-width: 34px; text-align: center; font-weight: 800; font-size: 17px; }
.stepper.sm button { width: 36px; height: 36px; font-size: 20px; }
.stepper.lg button { width: 54px; height: 54px; font-size: 26px; }
.stepper.lg span { min-width: 44px; font-size: 21px; }

.k-cartbar { display: none; }
@keyframes bump { 30% { transform: scale(1.06); } }

/* Ficha de producto */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }
.sheet[hidden] { display: none; }
.sheet-back { position: absolute; inset: 0; background: rgba(28,25,23,.5); opacity: 0; transition: opacity .2s; backdrop-filter: blur(2px); }
.sheet.open .sheet-back { opacity: 1; }
.sheet-card { position: relative; width: min(920px, calc(100vw - 48px)); height: min(700px, calc(100vh - 48px)); background: #fff; border-radius: 30px; box-shadow: var(--sh-3); display: grid; grid-template-columns: 330px 1fr; grid-template-rows: auto 1fr auto; overflow: hidden; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .2s; }
.sheet.open .sheet-card { transform: none; opacity: 1; }
.sheet-x { position: absolute; right: 16px; top: 16px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: #fff; font-size: 30px; line-height: 1; box-shadow: var(--sh-2); color: var(--ink-2); }
.sh-hero { grid-row: 1 / 3; grid-column: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, hsl(var(--h) 100% 92%), hsl(var(--h) 85% 82%)); }
.sh-hero .emoji { font-size: 150px; filter: drop-shadow(0 18px 18px rgba(0,0,0,.2)); transform: rotate(-8deg); }
.sh-info { grid-column: 2; padding: 28px 80px 8px 28px; }
.sh-info h3 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.sh-info p { margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.sh-base { font-size: 20px; }
.sh-opts { grid-column: 2; overflow-y: auto; padding: 4px 28px 20px; }
.sh-noopt { padding: 20px 0; }
.sh-foot { grid-column: 1 / 3; display: flex; gap: 16px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); background: #fff; }
.og { border: 0; margin: 0 0 18px; padding: 0; }
.og legend { display: flex; justify-content: space-between; width: 100%; align-items: baseline; font-weight: 800; font-size: 18px; margin-bottom: 10px; padding: 0; }
.og legend small { font-size: 13px; font-weight: 700; color: var(--muted); background: #F5F0EA; padding: 3px 10px; border-radius: 999px; }
.og legend small.req { color: var(--brand-600); background: var(--brand-50); }
.og-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; border-radius: 16px; border: 2px solid var(--line); background: #fff; text-align: left; font-weight: 700; font-size: 16px; transition: border-color .12s, background .12s; }
.opt span { flex: 1; line-height: 1.2; }
.opt em { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.opt .mark { width: 24px; height: 24px; flex: none; border: 2px solid #CFC6BC; border-radius: 50%; position: relative; transition: all .12s; }
.opt.check .mark { border-radius: 7px; }
.opt.on { border-color: var(--brand); background: var(--brand-50); }
.opt.on em { color: var(--brand-600); }
.opt.on .mark { border-color: var(--brand); background: var(--brand); }
.opt.on .mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.og-remove .opt.on { border-color: var(--ink); background: #F5F0EA; }
.og-remove .opt.on .mark { background: var(--ink); border-color: var(--ink); }
.og-remove .opt.on span { text-decoration: line-through; text-decoration-thickness: 2px; }

/* 4 · Resumen */
.s-review { background: var(--bg); }
.review-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 420px; gap: 24px; padding: 4px 24px 24px; }
.rv-left { overflow-y: auto; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.rv-list { background: #fff; border-radius: 24px; padding: 6px 18px; box-shadow: var(--sh-1); }
.rv-list .cline { padding: 16px 4px; }
.rv-list .cl-emoji { width: 58px; height: 58px; font-size: 34px; }
.rv-list .cl-main > b { font-size: 18px; padding-right: 80px; }
.upsell { background: linear-gradient(135deg, #EAF6FF, #F3EEFF); border-radius: 24px; padding: 18px; display: grid; gap: 12px; }
.up-tx b { font-size: 18px; display: block; }
.up-tx small { color: var(--muted); font-size: 14px; }
.up-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.up-opt { background: #fff; border-radius: 16px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; box-shadow: var(--sh-1); text-align: center; }
.up-opt .emoji { font-size: 34px; }
.up-opt b { color: var(--brand-600); }
.rv-right { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.rv-mode { display: flex; align-items: center; gap: 10px; background: var(--brand-50); border-radius: 16px; padding: 12px 14px; font-size: 17px; }
.rv-mode .emoji { font-size: 24px; }
.rv-mode b { flex: 1; }
.link { color: var(--brand-600); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 800; font-size: 16px; }
.field input { height: 56px; border-radius: 16px; border: 2px solid var(--line); padding: 0 16px; font-size: 18px; outline: none; background: #FDFBF8; user-select: text; -webkit-user-select: text; }
.field input:focus { border-color: var(--brand); background: #fff; }
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.paytile { border: 2px solid var(--line); border-radius: 18px; padding: 14px 12px; display: flex; flex-direction: column; gap: 3px; text-align: left; transition: all .12s; }
.paytile .emoji { font-size: 30px; margin-bottom: 4px; }
.paytile b { font-size: 16px; }
.paytile small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.paytile.on { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(242,84,45,.12); }
.rv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); }
.rv-total span { font-weight: 800; font-size: 19px; }
.rv-total b { font-size: 36px; letter-spacing: -.03em; }

/* 5 · Pago */
.s-paying { background: linear-gradient(180deg, #1F1B18, #2C2521); color: #fff; }
.pay-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 14px; }
.pay-wrap h2 { font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -.02em; margin: 18px 0 4px; max-width: 760px; }
.pay-wrap .muted { color: #B9AEA4; margin: 0; }
.terminal { position: relative; width: 190px; height: 280px; border-radius: 30px; background: linear-gradient(160deg, #3A3430, #151210); box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.term-screen { background: linear-gradient(180deg, #DDF7EA, #B8EBD2); color: #0E3B26; border-radius: 14px; height: 92px; display: flex; flex-direction: column; justify-content: center; align-items: center; font-weight: 900; font-size: 26px; }
.term-screen small { font-size: 10px; font-weight: 700; opacity: .7; }
.term-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.term-keys i { height: 22px; border-radius: 7px; background: #4A433E; }
.waves { position: absolute; right: -66px; top: 34px; width: 60px; height: 90px; }
.waves span { position: absolute; left: 0; top: 50%; width: 60px; height: 60px; margin-top: -30px; border: 4px solid #6EE7B7; border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(45deg); opacity: 0; animation: wave 1.6s ease-out infinite; }
.waves span:nth-child(2) { animation-delay: .3s; }
.waves span:nth-child(3) { animation-delay: .6s; }
@keyframes wave { 0% { opacity: 0; transform: rotate(45deg) scale(.4); } 40% { opacity: 1; } 100% { opacity: 0; transform: rotate(45deg) scale(1.2); } }
.card-fly { position: absolute; right: -150px; top: 70px; width: 120px; height: 78px; border-radius: 12px; background: linear-gradient(135deg, #FF8A50, #F2542D 60%, #9D2A12); box-shadow: 0 12px 24px rgba(0,0,0,.4); transform: rotate(-14deg); animation: cardIn 2.2s ease-in-out infinite; }
.card-chip { position: absolute; left: 14px; top: 22px; width: 24px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, #F7E7A1, #C9A54A); }
@keyframes cardIn { 0%,100% { transform: translateX(30px) rotate(-14deg); } 50% { transform: translateX(-10px) rotate(-8deg); } }
.s-paying.approved .term-screen { background: linear-gradient(180deg, #34D399, #10B981); color: #fff; }
.s-paying.approved .card-fly, .s-paying.approved .waves { display: none; }
.pay-progress { width: min(420px, 80vw); height: 8px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.pay-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FF8A50, #F2542D); border-radius: 99px; }
.pay-actions { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.s-paying .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* 6 · Confirmación */
.s-done { background: radial-gradient(120% 80% at 50% 0%, #E9F9F0, var(--bg) 60%); overflow-y: auto; }
.done-wrap { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 24px; text-align: center; width: min(900px, 100%); }
.done-check svg { width: 84px; height: 84px; }
.done-check circle { fill: var(--ok); }
.done-check path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .15s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-wrap h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
.done-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.num-card { background: var(--ink); color: #fff; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.num-card small { font-size: 16px; opacity: .75; font-weight: 600; }
.num-card b { font-size: clamp(76px, 10vw, 112px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.num-card span { font-weight: 700; opacity: .85; }
.buzz-card { background: #fff; border-radius: 28px; padding: 22px; display: flex; align-items: center; gap: 18px; text-align: left; box-shadow: var(--sh-2); }
.buzz-card b { font-size: 24px; letter-spacing: -.02em; display: block; margin-bottom: 4px; }
.buzz-card small { font-size: 15px; color: var(--muted); line-height: 1.4; }
.buzz-card .big { font-size: 64px; }
.buzzer-ill { position: relative; flex: none; width: 96px; height: 96px; animation: buzz 1.4s ease-in-out infinite; }
.bz-body { width: 96px; height: 96px; border-radius: 26px; background: linear-gradient(160deg, #2B2B2B, #0E0E0E); display: grid; place-items: center; box-shadow: inset 0 0 0 5px #F2542D, 0 10px 20px rgba(0,0,0,.25); }
.bz-body span { color: #FFB199; font-weight: 900; font-size: 40px; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(255,120,80,.6); }
.buzzer-ill i { position: absolute; top: 50%; width: 14px; height: 40px; margin-top: -20px; border: 3px solid var(--brand); border-radius: 50%; opacity: .6; }
.buzzer-ill i:nth-of-type(1) { left: -16px; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.buzzer-ill i:nth-of-type(2) { right: -16px; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
@keyframes buzz { 0%,60%,100% { transform: rotate(0); } 65% { transform: rotate(-6deg); } 70% { transform: rotate(6deg); } 75% { transform: rotate(-4deg); } 80% { transform: rotate(4deg); } }
.cash-note, .loyal-note { display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; border-radius: 20px; padding: 16px 18px; }
.cash-note { background: var(--warn-50); border: 2px solid #F5D58A; }
.cash-note .emoji { font-size: 34px; }
.cash-note b { display: block; font-size: 19px; color: #7A4E00; }
.cash-note small { font-size: 15px; color: #7A5A1E; }
.loyal-note { background: #FFF8DB; font-weight: 700; justify-content: center; }

/* Aviso de inactividad */
.idle-card { position: relative; background: #fff; border-radius: 30px; padding: 30px 30px 26px; width: min(520px, calc(100vw - 40px)); text-align: center; box-shadow: var(--sh-3); transform: scale(.96); opacity: 0; transition: all .2s; }
.sheet.open .idle-card { transform: none; opacity: 1; }
.idle-card h3 { margin: 12px 0 6px; font-size: 30px; letter-spacing: -.02em; }
.idle-card p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.idle-ring { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.idle-ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.idle-ring circle { fill: none; stroke-width: 10; }
.idle-ring .trk { stroke: #F3EEE8; }
.idle-ring .prg { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.idle-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; }
.idle-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.idle-actions .btn { padding: 0 12px; font-size: 17px; }

/* ---------- Tablet pequeña (1024×768) ---------- */
@media (max-width: 1100px) {
  .k-body { grid-template-columns: 136px 1fr 310px; }
  .cat { font-size: 14px; padding: 12px 4px; }
  .cat-ic { width: 52px; height: 52px; font-size: 30px; }
  .k-main { padding: 18px 18px 110px; }
  .k-grid { grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 14px; }
  .pimg { height: 116px; }
  .review-body { grid-template-columns: 1fr 380px; }
  .sheet-card { grid-template-columns: 280px 1fr; }
  .sh-hero .emoji { font-size: 124px; }
}
@media (max-height: 790px) and (min-width: 700px) {
  .k-top { height: 68px; }
  .rv-right { gap: 14px; padding: 18px; }
  .paytile { padding: 10px 12px; }
  .rv-total b { font-size: 30px; }
  .btn-xl { min-height: 66px; font-size: 21px; }
  .done-wrap { gap: 12px; }
  .num-card b { font-size: 84px; }
}

/* ---------- Tablet vertical / ventana estrecha ---------- */
@media (max-width: 900px) and (min-width: 700px) {
  .k-body { grid-template-columns: 116px 1fr 280px; }
  .cat-tx { font-size: 13px; }
  .k-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .review-body { grid-template-columns: 1fr; overflow-y: auto; }
  .rv-left { overflow: visible; }
  .rv-right { overflow: visible; }
  .sheet-card { grid-template-columns: 1fr; grid-template-rows: 200px auto 1fr auto; }
  .sh-hero { grid-row: 1; grid-column: 1; }
  .sh-info, .sh-opts { grid-column: 1; }
  .sh-foot { grid-column: 1; }
}

/* ---------- Móvil (390×844) ---------- */
@media (max-width: 699px) {
  .k-top { height: 62px; padding: 0 12px; gap: 8px; }
  .k-icon-btn { height: 44px; padding: 0 12px; font-size: 0; gap: 0; }
  .k-icon-btn span { display: none; }
  .k-store { font-size: 16px; }
  .k-store .emoji { font-size: 22px; }
  .mode-pill { height: 40px; padding: 0 10px; font-size: 0; gap: 0; }
  .mode-pill .emoji { font-size: 20px; }
  .lang-sw button { min-width: 38px; height: 34px; font-size: 13px; }
  .lang-sw.on-dark { top: 14px; right: 14px; }
  .s-review .k-store, .s-mode .k-store { font-size: 17px; }

  .attract-bg .fl { font-size: 54px; }
  .store-badge { width: 92px; height: 92px; font-size: 52px; border-radius: 28px; }

  .mode-wrap { padding: 10px 18px 40px; justify-content: flex-start; padding-top: 6vh; }
  .mode-wrap h2 { margin-bottom: 22px; }
  .mode-grid { grid-template-columns: 1fr; gap: 14px; }
  .mode-card { flex-direction: row; padding: 18px; text-align: left; gap: 16px; }
  .mode-card .mode-ill { width: 84px; height: 84px; font-size: 48px; margin: 0; flex: none; }
  .mode-card b { font-size: 21px; display: block; }
  .mode-card { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 16px; row-gap: 2px; }
  .mode-card .mode-ill { grid-row: 1 / 3; }
  .mode-card b { align-self: end; }
  .mode-card small { align-self: start; font-size: 15px; }

  .k-body { display: flex; flex-direction: column; }
  .k-cats { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); gap: 8px; flex: none; scrollbar-width: none; }
  .k-cats::-webkit-scrollbar { display: none; }
  .cat { flex-direction: row; flex: none; padding: 6px 14px 6px 6px; border-radius: 999px; background: #F5F0EA; gap: 8px; font-size: 15px; }
  .cat-ic { width: 38px; height: 38px; font-size: 22px; border-radius: 50%; }
  .cat.on { background: var(--ink); color: #fff; }
  .cat.on .cat-ic { box-shadow: none; }
  .k-main { flex: 1; padding: 16px 14px 110px; }
  .k-main-head h2 { font-size: 26px; }
  .k-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pimg { height: 104px; }
  .pimg > .emoji { font-size: 60px; }
  .pbody { padding: 10px 12px 12px; }
  .pname { font-size: 15.5px; }
  .pdesc { font-size: 12.5px; min-height: 33px; }
  .pprice { font-size: 16.5px; }
  .padd { width: 36px; height: 36px; font-size: 24px; }
  .ptag .chip { font-size: 11px; padding: 3px 8px; }
  .k-cart { display: none; }
  .k-cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px 0 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 18px; box-shadow: 0 12px 28px rgba(242,84,45,.45); transform: translateY(140%); transition: transform .25s ease; }
  .k-cartbar.show { transform: none; }
  .k-cartbar.bump { animation: bump .35s ease; }
  .cb-count { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 900; }
  .cb-tx { flex: 1; text-align: left; font-weight: 700; }

  .sheet { place-items: end stretch; }
  .sheet-card { width: 100vw; height: calc(100vh - 28px); height: calc(100dvh - 28px); border-radius: 26px 26px 0 0; grid-template-columns: 1fr; grid-template-rows: 170px auto 1fr auto; transform: translateY(40px); }
  .sh-hero { grid-row: 1; grid-column: 1; }
  .sh-hero .emoji { font-size: 104px; }
  .sh-info { grid-column: 1; padding: 16px 18px 4px; }
  .sh-info h3 { font-size: 25px; }
  .sh-info p { font-size: 15px; margin-bottom: 4px; }
  .sh-opts { grid-column: 1; padding: 6px 18px 16px; }
  .sh-foot { grid-column: 1; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
  .sh-foot .btn { font-size: 17px; padding: 0 14px; min-height: 58px; }
  .stepper.lg button { width: 46px; height: 46px; }
  .stepper.lg span { min-width: 32px; }
  .og-opts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .opt { min-height: 54px; padding: 8px 10px; font-size: 15px; gap: 8px; flex-wrap: wrap; }
  .opt .mark { width: 22px; height: 22px; }
  .opt.on .mark::after { left: 6px; top: 2px; }
  .og legend { font-size: 17px; }

  .review-body { display: block; overflow-y: auto; padding: 0 14px 24px; }
  .rv-left { overflow: visible; margin-bottom: 14px; }
  .rv-list { padding: 4px 14px; }
  .rv-list .cl-emoji { width: 48px; height: 48px; font-size: 28px; }
  .rv-list .cl-main > b { font-size: 16px; padding-right: 66px; }
  .rv-right { overflow: visible; padding: 18px; }
  .rv-total b { font-size: 30px; }
  .btn-xl { min-height: 64px; font-size: 20px; }
  .up-opt { font-size: 13px; }

  .terminal { width: 150px; height: 222px; padding: 14px; gap: 10px; border-radius: 24px; }
  .term-screen { height: 72px; font-size: 21px; }
  .term-keys i { height: 16px; }
  .card-fly { width: 92px; height: 60px; right: -112px; top: 60px; }
  .waves { right: -54px; }
  .pay-actions .btn { min-height: 56px; font-size: 17px; padding: 0 20px; }

  .done-wrap { padding: 22px 16px; gap: 12px; }
  .done-check svg { width: 66px; height: 66px; }
  .done-grid { grid-template-columns: 1fr; gap: 12px; }
  .num-card { padding: 16px; border-radius: 24px; }
  .num-card b { font-size: 84px; }
  .buzz-card { padding: 16px; gap: 14px; border-radius: 24px; }
  .buzzer-ill, .bz-body { width: 72px; height: 72px; }
  .bz-body { border-radius: 20px; }
  .bz-body span { font-size: 30px; }
  .buzz-card b { font-size: 20px; }
  .idle-actions { grid-template-columns: 1fr; }
}

.screen-ill { flex: none; width: 112px; height: 80px; border-radius: 14px; background: #0B0F1A; border: 5px solid #2B3245; display: grid; place-items: center; box-shadow: 0 10px 20px rgba(0,0,0,.2); position: relative; }
.screen-ill::after { content: ""; position: absolute; bottom: -14px; left: 50%; width: 30px; height: 9px; margin-left: -15px; background: #2B3245; border-radius: 0 0 6px 6px; }
.screen-ill span { background: #10B981; color: #fff; font-weight: 900; font-size: 24px; padding: 4px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; animation: glowS 1.6s ease-in-out infinite; }
@keyframes glowS { 50% { box-shadow: 0 0 0 5px rgba(16,185,129,.3); } }
.bz-note { background: #fff; border: 1.5px solid var(--line); font-weight: 500; justify-content: flex-start; font-size: 15px; color: var(--ink-2); }
.bz-note .emoji { font-size: 26px; }
@media (max-width: 699px) { .screen-ill { width: 88px; height: 64px; } .screen-ill span { font-size: 19px; } }

.kiosk .demo-bar { top: 14px; left: 14px; right: auto; bottom: auto; }
@media (max-width: 699px) { .kiosk .demo-bar { top: auto; bottom: 12px; left: 12px; } .attract-foot { padding-bottom: 76px; } }

/* ===== 19 nov b · alérgenos, modificadores con mínimos/máximos, menú y bloqueo ===== */
.alg { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #FFF6E0; border: 1.5px solid #F3E2B5; flex: none; font-size: 14px; line-height: 1; }
.alg .emoji { font-size: 14px; }
.alg svg { width: 17px; height: 17px; }
.alg.hit { background: var(--bad-50); border-color: var(--bad); box-shadow: 0 0 0 2px rgba(220,38,38,.15); }
.alg.more { font-size: 11px; font-weight: 800; color: var(--ink-2); background: #F5F0EA; border-color: #E7E1DA; }
.pal { display: flex; flex-wrap: wrap; gap: 4px; min-height: 26px; align-items: center; }
.pal small { font-size: 12px; color: var(--muted); }
.pcard.al-hit { border-color: var(--bad); box-shadow: 0 0 0 2px rgba(220,38,38,.12); }
.pwarn { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 800; border-radius: 10px; padding: 5px 8px; line-height: 1.2; text-align: center; }
.plock { position: absolute; right: 10px; bottom: 10px; background: rgba(28,25,23,.82); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 4px 9px; }
.pcard.al-hit .plock { bottom: auto; top: 10px; }
.chip-combo { background: #4C2A85; color: #fff; }
.k-main-head { flex-wrap: wrap; }
.al-bar { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.al-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 15px; box-shadow: var(--sh-1); }
.al-pill.on { background: var(--bad-50); border-color: var(--bad); color: #8f1717; }
.al-pill b { font-weight: 800; }
.al-row { display: inline-flex; gap: 3px; }
.al-x { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); font-size: 24px; line-height: 1; color: var(--ink-2); }
.al-foot { margin: 18px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.grid-empty { grid-column: 1 / -1; padding: 30px 0; text-align: center; }

/* filtro */
.al-sheet .al-card { position: relative; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 30px; box-shadow: var(--sh-3); padding: 28px 28px 22px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .2s; }
.al-sheet.open .al-card { transform: none; opacity: 1; }
.al-card h3 { margin: 0 60px 4px 0; font-size: 28px; letter-spacing: -.02em; }
.al-card > p.muted { margin: 0 0 16px; }
.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.al-opt { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 12px; border-radius: 16px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; text-align: left; }
.al-opt span:not(.alg):not(.emoji) { flex: 1; line-height: 1.15; }
.al-opt .alg { width: 32px; height: 32px; }
.al-opt .alg .emoji { font-size: 18px; }
.al-opt .alg svg { width: 21px; height: 21px; }
.al-opt .mark { width: 22px; height: 22px; flex: none; border: 2px solid #CFC6BC; border-radius: 7px; position: relative; }
.al-opt.on { border-color: var(--bad); background: var(--bad-50); }
.al-opt.on .mark { background: var(--bad); border-color: var(--bad); }
.al-opt.on .mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #F5F0EA; border-radius: 16px; padding: 5px; margin: 16px 0 10px; }
.seg2 button { min-height: 48px; border-radius: 12px; font-weight: 800; font-size: 15px; color: var(--ink-2); }
.seg2 button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.al-note, .sh-alnote { font-size: 13px; color: #6b5a1e; background: #FFF6E0; border-radius: 12px; padding: 10px 12px; line-height: 1.4; margin: 6px 0 14px; }
.sh-alnote { margin: 4px 0 0; }
.al-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }

/* ficha */
.sh-al { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.sh-al > small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 2px; }
.sh-al-list { display: flex; flex-wrap: wrap; gap: 5px; }
.al-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 2px; border-radius: 999px; background: #FFFBF0; border: 1px solid #F3E2B5; font-size: 13px; font-weight: 700; }
.al-chip .alg { width: 22px; height: 22px; border: 0; }
.al-chip .alg .emoji { font-size: 13px; }
.al-chip.hit { background: var(--bad-50); border-color: var(--bad); color: #8f1717; }
.sh-warn { margin-top: 8px; background: var(--bad-50); color: #8f1717; border: 1.5px solid var(--bad); border-radius: 12px; padding: 7px 10px; font-size: 14px; font-weight: 700; }
.sh-lock { margin-top: 8px; background: #F5F0EA; border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.og legend small.ok { color: var(--ok); background: var(--ok-50); }
.og legend small.miss { color: #fff; background: var(--bad); }
.og-miss { background: var(--bad-50); border-radius: 18px; padding: 10px; margin-left: -10px; margin-right: -10px; animation: shake .35s ease; }
.og-miss .opt { border-color: #F3B4B4; }
.og-upsell { background: linear-gradient(135deg, #F3EEFF, #EAF6FF); border-radius: 18px; padding: 12px; margin-left: -12px; margin-right: -12px; }
.og-menu legend { color: #4C2A85; }
.opt.dim { opacity: .45; }
.opt .o-al { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.opt .o-al .alg { width: 20px; height: 20px; }
.opt .o-al .alg .emoji { font-size: 11px; }
.opt .o-al .alg svg { width: 13px; height: 13px; }
.opt.o-hit { border-style: dashed; border-color: var(--bad); }
.opt em.free { color: var(--ok); }
.og-extra .opt.on { border-color: var(--ok); background: var(--ok-50); }
.og-extra .opt.on .mark { background: var(--ok); border-color: var(--ok); }
.og-extra .opt.on em { color: var(--ok); }
.og-msg { margin: 6px 2px 0; font-size: 13px; font-weight: 700; color: var(--bad); }
.btn.incomplete { background: #A8A29E; box-shadow: none; }
.btn.shake, .shake { animation: shake .35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* carrito: modificadores */
.cl-mx { display: flex; flex-wrap: wrap; gap: 3px 6px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.mx-rem { color: #B42318; font-weight: 800; }
.mx-add { color: var(--ok); font-weight: 700; }
.mx-menu { color: #4C2A85; font-weight: 700; }
.mx-head { background: #4C2A85; color: #fff; border-radius: 6px; padding: 0 6px; font-size: 11.5px; letter-spacing: .04em; }
.cl-warn { color: var(--bad) !important; font-weight: 700; }

@media (max-width: 699px) {
  .al-bar { margin-left: 0; width: 100%; }
  .al-pill { min-height: 42px; font-size: 14px; padding: 4px 12px; flex: 1; justify-content: flex-start; flex-wrap: wrap; }
  .pwarn { font-size: 11px; left: 6px; right: 6px; bottom: 6px; }
  .alg { width: 22px; height: 22px; }
  .alg .emoji { font-size: 12px; }
  .alg svg { width: 14px; height: 14px; }
  .al-sheet { place-items: end stretch; }
  .al-sheet .al-card { width: 100vw; border-radius: 26px 26px 0 0; max-height: calc(100dvh - 28px); padding: 22px 16px 16px; }
  .al-card h3 { font-size: 23px; }
  .al-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .al-opt { min-height: 50px; font-size: 14px; padding: 6px 8px; gap: 7px; }
  .al-opt .alg { width: 28px; height: 28px; }
  .seg2 button { font-size: 13.5px; }
  .sheet-card { display: flex; flex-direction: column; overflow-y: auto; }
  .sh-hero { flex: none; height: 150px; }
  .sh-opts { overflow: visible; flex: none; }
  .sh-foot { position: sticky; bottom: 0; margin-top: auto; z-index: 2; }
}
.sh-foot .btn.grow { white-space: normal; line-height: 1.15; min-width: 0; text-align: center; }
.btn-primary.incomplete:hover { background: #8f8984; }
@media (min-width: 700px) { .al-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.btn-price { font-size: 15px; font-weight: 700; opacity: .85; margin-left: 6px; white-space: nowrap; }
.btn-price::before { content: "· "; }
.og-upsell .og-opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); }
.opt > span { min-width: 0; overflow-wrap: break-word; }
.opt > span > em { display: block; margin-top: 2px; font-size: 13.5px; }
@media (max-width: 699px) { .og-upsell .og-opts { grid-template-columns: 1fr; } }
.og legend small.up { color: #fff; background: #4C2A85; }
.bt-short { display: none; }
@media (max-width: 699px) { .bt-long { display: none; } .bt-short { display: inline; } }
.al-actions .btn { min-width: 0; }
@media (max-width: 699px) { .al-actions .btn { padding: 0 12px; font-size: 17px; min-height: 56px; } }

/* 21 nov d · servicio en mesa */
.mode-card.on { border-color: var(--brand); box-shadow: var(--sh-2), 0 0 0 3px var(--brand-100); }
.s-serve { background: linear-gradient(180deg, #FFF3EC 0%, var(--bg) 60%); }
.serve-sub { margin: -8px 0 22px; font-size: 17px; color: var(--ink-2); text-align: center; max-width: 640px; }
.serve-wrap { justify-content: flex-start; overflow: auto; padding-top: 8px; padding-bottom: 28px; }
.serve-wrap h2 { margin-bottom: 0; font-size: clamp(26px, 3.6vw, 42px); }
.stand-box { width: min(420px, 100%); margin: 22px auto 0; display: grid; gap: 10px; justify-items: stretch; }
.stand-label { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: center; }
.stand-disp { height: 84px; border-radius: 20px; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: 48px; font-weight: 900; letter-spacing: .06em; font-variant-numeric: tabular-nums; box-shadow: var(--sh-1); }
.stand-disp.bad { border-color: #C2410C; background: #FFF7ED; color: #9A3412; }
.stand-hint { margin: 0; text-align: center; font-size: 14px; color: var(--muted); font-weight: 600; }
.stand-disp.bad + .stand-hint { color: #9A3412; }
.stand-kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kb-key { height: 64px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); font-size: 26px; font-weight: 800; box-shadow: var(--sh-1); }
.kb-key:active { transform: scale(.97); background: var(--brand-50); }
.kb-key.wide { font-size: 15px; }
.stand-ill { flex: none; width: 88px; height: 88px; border-radius: 16px; background: #1C222C; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 32px; font-variant-numeric: tabular-nums; box-shadow: var(--sh-2); }
.buzz-card.mesa { background: #FFF7ED; border: 1.5px solid #FDBA74; }

@media (max-width: 699px) {
  .stand-disp { height: 68px; font-size: 36px; }
  .kb-key { height: 54px; font-size: 22px; }
  .serve-sub { font-size: 15px; margin-bottom: 16px; }
}

.s-serve.has-keypad .serve-sub { display: none; }
.s-serve.has-keypad .serve-wrap h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; }
.s-serve.has-keypad .mode-grid { gap: 12px; width: min(720px, 100%); }
.s-serve.has-keypad .mode-card { padding: 10px 14px 12px; flex-direction: row; text-align: left; gap: 12px; align-items: center; }
.s-serve.has-keypad .mode-ill { width: 56px; height: 56px; font-size: 32px; margin: 0; flex: none; }
.s-serve.has-keypad .mode-card b { font-size: 18px; }
.s-serve.has-keypad .mode-card small { font-size: 13px; }
.s-serve.has-keypad .stand-disp { height: 64px; font-size: 36px; }
.s-serve.has-keypad .stand-box { margin-top: 12px; gap: 8px; }
.s-serve.has-keypad .kb-key { height: 52px; font-size: 22px; }
.s-serve.has-keypad .btn-xl { height: 52px; font-size: 18px; }
