/* CARRITO */
.cart-btn { margin-left: 12px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--amber); border: 2px solid var(--amber); font: 700 0.95rem var(--body); transition: transform .25s var(--ease), background .25s, color .25s; }
.cart-btn.has { background: var(--amber); color: #1a1005; }
.cart-btn.bump { transform: scale(1.12); }
.cart-count { min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; background: var(--amber); color: #1a1005; font-size: .8rem; }
.cart-btn.has .cart-count { background: #1a1005; color: var(--amber); }
.nav .wrap > nav { margin-left: auto; }
.burger { margin-left: 8px; }
.pc { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.add { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--amber); background: transparent; color: var(--amber);
  font: 700 1.3rem/1 var(--body); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.add:hover { background: var(--amber); color: #1a1005; }
.add:active { transform: scale(.9); }
.add.done { background: var(--amber); color: #1a1005; }
th.r, td.price { width: auto; }
td.price { white-space: nowrap; }

.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer-back { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg-2); border-left: 2px solid var(--amber);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-back { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-panel h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.drawer-x { background: none; border: 0; color: var(--text); font-size: 2rem; line-height: 1; cursor: pointer; width: 44px; height: 44px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-empty { color: var(--muted); padding: 24px 0; }
.drawer-panel footer { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer-panel footer .btn { justify-content: center; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line small { display: block; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--amber); background: none; color: var(--amber); font-size: 1.2rem; cursor: pointer; }
.sum { display: flex; justify-content: space-between; font-size: 1.1rem; }

/* PEDIDO */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h2 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; margin-bottom: 14px; }
.stack { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field .lab { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid #5a4a38; background: #0d0a08; color: var(--text); font: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; }
.field-err { color: #ff8a65; font-size: .9rem; }
.field-err:empty { display: none; }
.hint { color: var(--muted); font-size: .9rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button { padding: 16px; border-radius: 12px; border: 2px solid var(--line); background: #0d0a08; color: var(--text); font: 700 1rem var(--body); cursor: pointer; transition: border-color .2s, background .2s; }
.seg button[aria-pressed="true"] { border-color: var(--amber); background: rgba(249, 197, 51, .12); color: var(--amber); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--amber); }
.opt:has(input:checked) { border-color: var(--amber); }
.opt.off { opacity: .55; cursor: not-allowed; }
.opt small { display: block; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary .tot { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; padding-top: 16px; }
.summary .tot strong { color: var(--amber); }
.summary .subr { display: flex; justify-content: space-between; color: var(--muted); padding-top: 10px; }
.summary .btn { width: 100%; justify-content: center; margin-top: 20px; }
.summary .btn:disabled { opacity: .5; cursor: not-allowed; }
.infobox { padding: 14px 16px; border-radius: 10px; background: #0d0a08; border: 1px dashed #5a4a38; color: var(--muted); font-size: .95rem; }
[hidden] { display: none !important; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* PANEL DEL GERENTE */
.admin-bar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.admin-bar .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
.admin-bar .logo { margin-right: auto; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 .95rem var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--amber); color: #1a1005; border-color: var(--amber); }
.board { display: grid; gap: 18px; padding: 24px 0 64px; align-items: start; }
.board.cols3 { grid-template-columns: repeat(3, 1fr); }
.board.cols1 { grid-template-columns: minmax(0, 560px); }
.col h2 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.col h2 span { background: var(--amber); color: #1a1005; border-radius: 99px; padding: 0 10px; font: 700 .85rem var(--body); }
.empty { color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); }
.ocard { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; display: grid; gap: 8px; }
.ocard header { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; }
.ocard small { color: var(--muted); }
.ocard ul { list-style: none; display: grid; gap: 2px; padding: 8px 0; border-block: 1px solid var(--line); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 3px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700; border: 1px solid var(--line); color: var(--muted); }
.tag.deliv { color: #1a1005; background: var(--amber); border-color: var(--amber); }
.tag.pick { color: var(--amber); border-color: var(--amber); }
.tag.sched { color: #ff8a65; border-color: #ff8a65; }
.ocard .addr, .ocard .notes { color: var(--muted); font-size: .95rem; }
.ocard .tot { font-weight: 700; font-size: 1.2rem; color: var(--amber); }
.ocard .tot small { font-weight: 400; }
.ocard a { color: var(--amber); }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acts .btn { padding: 10px 18px; font-size: .95rem; }
.gate { min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.gate form { width: min(380px, 100%); }
@media (max-width: 960px) { .board.cols3 { grid-template-columns: 1fr; } }

.summary { position: sticky; top: 90px; }
.demo-note { padding: 14px 18px; border-radius: 12px; border: 2px solid #ff8a65; color: #ffb59f; background: #0d0a08; margin-bottom: 22px; font-weight: 500; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 120; background: var(--amber); color: #1a1005;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) { .summary { position: static; } }

/* AMARILLO MAS SUAVE en menu y pedido: el amarillo queda para el boton principal y lo que esta activo */
body[data-page="menu"], body[data-page="pedido"] { --amber-soft: rgba(249, 197, 51, 0.45); }
body[data-page="menu"] .title span, body[data-page="pedido"] .title span { color: var(--text); }
body[data-page="menu"] th, body[data-page="pedido"] th { color: var(--muted); font-weight: 500; letter-spacing: 0.1em; }
body[data-page="menu"] td.price span { color: var(--text); font-weight: 600; }
body[data-page="menu"] .promo { background: transparent; border: 1px solid var(--amber-soft); color: var(--amber); font-weight: 500; }
body[data-page="menu"] .tabs a { border-color: var(--line); font-weight: 500; }
body[data-page="menu"] .tabs a:hover { background: transparent; color: var(--text); border-color: var(--amber-soft); }
body[data-page="menu"] .tabs a.on { background: transparent; color: var(--amber); border-color: var(--amber); }
body[data-page="menu"] .add { border-width: 1px; border-color: var(--amber-soft); }
body[data-page="menu"] .add:hover, body[data-page="menu"] .add.done { background: var(--amber); border-color: var(--amber); color: #1a1005; }
body[data-page="menu"] .menu-sec .banner { border-color: var(--line); }
body[data-page="menu"] tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
body[data-page="pedido"] .seg button[aria-pressed="true"] { background: transparent; border-color: var(--amber); color: var(--text); }
body[data-page="pedido"] .opt:has(input:checked) { border-color: var(--amber-soft); }
body[data-page="pedido"] .summary .tot strong { color: var(--text); }
body[data-page="pedido"] .card h2 { font-size: 1.25rem; }

/* Mini mascota que vuela al carrito */
.fly { position: fixed; z-index: 130; width: 48px; height: 48px; border-radius: 50%; pointer-events: none; will-change: transform;
  background: #000 url("img/mascotas.png") no-repeat; background-size: 400% 100%; border: 2px solid var(--amber); }
.cart-btn.bump { animation: cartPop .4s var(--ease); }
@keyframes cartPop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
.cart-btn .cart-count { transition: transform .3s var(--ease); }
.cart-btn.bump .cart-count { transform: scale(1.35); }

/* Orden fijo de la barra: logo, menu, boton Pedido, tres lineas */
.nav .wrap > .logo { order: 1; }
.nav .wrap > nav { order: 2; }
.nav .wrap > .cart-btn { order: 3; }
.nav .wrap > .burger { order: 4; }

/* Cotizacion de envio */
.quote { padding: 14px 16px; border-radius: 12px; border: 1px dashed #5a4a38; background: #0d0a08; color: var(--muted); font-size: .95rem; display: grid; gap: 2px; }
.quote strong { color: var(--text); font-size: 1.15rem; }
.quote.ok { border-style: solid; border-color: var(--amber-soft, rgba(249,197,51,.45)); color: var(--text); }
.quote.bad { border-style: solid; border-color: #ff8a65; color: #ffb59f; }
.quote.loading { animation: quotePulse 1.1s ease-in-out infinite; }
@keyframes quotePulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .quote.loading { animation: none; } }
.linkbtn { background: none; border: 0; padding: 0; color: var(--amber); text-decoration: underline; font: inherit; cursor: pointer; }

/* ARMA TU BURGER: hoja para sacar ingredientes y sumar extras */
.mods { display: block; color: var(--amber); font-size: .82rem; }
.cz { position: fixed; inset: 0; z-index: 110; display: grid; align-items: end; justify-items: center; }
.cz[hidden] { display: none; }
.cz-lock { overflow: hidden; }
.cz-back { position: absolute; inset: 0; background: rgba(0,0,0,.62); opacity: 0; transition: opacity .3s; }
.cz.open .cz-back { opacity: 1; }
.cz-sheet { position: relative; width: min(560px, 100%); max-height: 94dvh; display: flex; flex-direction: column; background: var(--bg-2);
  border: 2px solid var(--amber); border-bottom: 0; border-radius: 24px 24px 0 0; transform: translateY(40px); opacity: 0;
  transition: transform .4s cubic-bezier(0.23, 1, 0.32, 1), opacity .25s ease-out; }
.cz.open .cz-sheet { transform: none; opacity: 1; }
.cz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 8px; }
.cz-sub { color: var(--amber); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.cz-head h2 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin-top: 4px; }
.cz-x { background: none; border: 0; color: var(--text); font-size: 2rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.cz-body { overflow-y: auto; padding: 4px 22px 16px; overscroll-behavior: contain; }
.cz-body h3 { font-size: 1rem; margin: 18px 0 4px; }
.cz-hint { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.cz-list { list-style: none; display: grid; }
.ing { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.thumb { width: 56px; height: 56px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 88%; height: 88%; object-fit: contain; }
.thumb.ph { color: var(--patty); font: 400 1.5rem var(--display); background: var(--amber); }
.nm { font-weight: 600; display: grid; }
.nm small { color: var(--muted); font-weight: 400; }
.sw { position: relative; display: inline-block; width: 52px; height: 32px; cursor: pointer; }
.sw input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.sw span { position: absolute; inset: 0; border-radius: 99px; background: #3a2d22; transition: background .25s; }
.sw span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--text); transition: transform .3s var(--ease); }
.sw input:checked + span { background: var(--amber); }
.sw input:checked + span::after { transform: translateX(20px); background: #1a1005; }
.sw input:disabled { cursor: default; }
.sw input:disabled + span { opacity: .55; }
.sw input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.step { display: inline-flex; align-items: center; gap: 4px; }
.step button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--amber); background: none; color: var(--amber); font: 700 1.3rem/1 var(--body); cursor: pointer; }
.step button:disabled { opacity: .3; cursor: default; }
.step span { min-width: 24px; text-align: center; font-weight: 700; }
.cz-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg-2); }
.cz-total { display: grid; }
.cz-total span { color: var(--muted); font-size: .85rem; }
.cz-total strong { font-size: 1.5rem; }
@media (min-width: 700px) { .cz { align-items: center; } .cz-sheet { border-bottom: 2px solid var(--amber); border-radius: 24px; max-height: 88dvh; } }
@media (prefers-reduced-motion: reduce) { .cz-sheet, .cz-back, .sw span, .sw span::after { transition: none; } }

.cz-info { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.cz-choice { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cz-choice legend { font-weight: 700; font-size: 1rem; margin-bottom: 8px; padding: 0; float: left; width: 100%; }
.opt-pill { position: relative; cursor: pointer; }
.opt-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt-pill span { display: inline-block; padding: 12px 20px; min-height: 44px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.opt-pill input:checked + span { background: var(--amber); color: #1a1005; border-color: var(--amber); }
.opt-pill input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
#czAdd:disabled { opacity: .55; cursor: not-allowed; }

.ing-sub { padding: 0 0 12px 70px; border-bottom: 1px solid var(--line); margin-top: -1px; }
.ing-sub .cz-choice { margin: 0; gap: 8px; }
.ing-sub .cz-choice legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ing-sub .opt-pill span { padding: 8px 16px; min-height: 40px; font-size: .95rem; }
.ing:has(+ .ing-sub) { border-bottom: 0; }

/* CARRITO MAS FUERTE: encabezado de color, foto por producto, etiquetas de cambios, subtotal por linea y total grande */
:root { --patty: #4a2412; --bun: #c27a2c; --sauce: #ff5a1f; --cream: #f6ecd9; }
.drawer-panel { width: min(440px, 100%); }
.drawer-panel header { background: var(--amber); color: var(--patty); border-bottom: 0; padding: 20px 22px 18px; align-items: center; }
.drawer-panel header h2 { font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.drawer-count { font-weight: 700; font-size: .9rem; margin-top: 4px; opacity: .8; }
.drawer-panel .drawer-x { color: var(--patty); font-size: 2.2rem; }
.drawer-body { padding: 8px 18px 12px; }
.cl { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: clIn .45s var(--ease) both; }
@keyframes clIn { from { opacity: 0; transform: translateX(18px); } }
.cl-thumb { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; }
.cl-thumb img { width: 90%; height: 90%; object-fit: contain; }
.cl-thumb img.cover { width: 100%; height: 100%; object-fit: cover; }
.cl-thumb.tone-sauce { background: var(--sauce); }
.cl-thumb.tone-cheddar { background: var(--amber); }
.cl-thumb.tone-bun { background: var(--bun); }
.cl-thumb.ph { color: var(--patty); font: 400 1.9rem var(--display); }
.cl-name { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.05; }
.cl-mods { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cl-mods li { padding: 3px 10px; border-radius: 999px; background: rgba(249, 197, 51, .14); color: var(--amber); font-size: .8rem; font-weight: 600; }
.cl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.qty { gap: 4px; background: var(--bg); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.qty button { width: 40px; height: 40px; font-size: 1.3rem; border: 0; color: var(--amber); }
.qty button:hover { background: var(--amber); color: #1a1005; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.cl-price { text-align: right; line-height: 1.1; }
.cl-price strong { font-size: 1.25rem; }
.cl-price small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.drawer-empty-state { text-align: center; padding: 56px 16px; display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.drawer-empty-state img { width: 190px; margin-bottom: 8px; }
.de-title { font-family: var(--display); font-size: 1.6rem; color: var(--text); }
.drawer-panel footer { gap: 6px; padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--bg-2); border-top: 2px solid var(--amber); }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; }
.sum-total span { color: var(--muted); font-weight: 600; }
.sum-total strong { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--text); }
.sum-note { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.btn-block { width: 100%; justify-content: center; min-height: 56px; font-size: 1.1rem; }
.drawer-more { background: none; border: 0; color: var(--muted); font: 600 .95rem var(--body); padding: 10px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.drawer-more:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .cl { animation: none; } }

/* MENU MAS FUERTE: encabezado de color, pestañas llenas, y tarjetas de producto en lugar de tablas */
.menu-hero { background: var(--amber); color: var(--patty); padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.menu-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 16px; }
.mh-text { padding-bottom: clamp(32px, 5vw, 64px); }
body[data-page="menu"] .menu-hero .title { color: var(--patty); font-size: clamp(2.9rem, 9vw, 5.6rem); line-height: .95; }
.menu-hero .lead { color: #5a3216; max-width: 38ch; font-weight: 500; margin-top: 16px; }
.mh-art { position: relative; justify-self: end; width: min(440px, 100%); }
.mh-art img { width: 100%; height: auto; display: block; margin-bottom: -10px; }
.mh-art .sticker { top: 4px; right: auto; left: 2%; }

body[data-page="menu"] .tabs { background: var(--bg); border-bottom: 2px solid var(--line); }
body[data-page="menu"] .tabs .wrap { padding: 14px 0; gap: 10px; }
body[data-page="menu"] .tabs a { background: var(--bg-2); color: var(--text); border: 2px solid var(--line); font-weight: 700; padding: 11px 22px; }
body[data-page="menu"] .tabs a:hover { background: var(--bg-2); border-color: var(--amber); color: var(--amber); }
body[data-page="menu"] .tabs a.on { background: var(--amber); color: #1a1005; border-color: var(--amber); }

.menu-sec { padding-top: clamp(40px, 6vw, 72px); }
.menu-sec .banner { border-radius: 22px; margin-bottom: 22px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mi { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; background: var(--bg-2); border: 2px solid var(--line); border-radius: 22px; transition: border-color .25s, transform .35s var(--ease); }
.mi:hover { border-color: var(--amber); transform: translateY(-3px); }
.mi-thumb { width: 96px; height: 96px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; }
.mi-thumb img { width: 92%; height: 92%; object-fit: contain; }
.mi-thumb img.cover { width: 100%; height: 100%; object-fit: cover; }
.mi-thumb.tone-sauce { background: var(--sauce); }
.mi-thumb.tone-cheddar { background: var(--amber); }
.mi-thumb.tone-bun { background: var(--bun); }
.mi-thumb.ph { color: var(--patty); font: 400 2.4rem var(--display); }
.mi-body { display: flex; flex-direction: column; min-width: 0; }
.mi-name { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.02; }
.mi-desc { color: var(--muted); font-size: .92rem; line-height: 1.45; margin: 6px 0 12px; flex: 1; }
.mi-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.mi-price { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--text); }
.mi-price s { display: block; font-family: var(--body); font-size: .8rem; color: var(--muted); margin-top: 3px; }
.mi .add.pill { width: auto; height: auto; min-height: 46px; padding: 10px 24px; background: var(--amber); color: #1a1005; border: 0; border-radius: 999px; font: 700 1rem var(--body); }
.mi .add.pill:hover, .mi .add.pill.done { background: var(--sauce); color: var(--patty); }
.mi-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: auto; }
.add.size { display: grid; justify-items: center; gap: 0; width: auto; height: auto; padding: 10px 12px; border-radius: 16px; border: 2px solid var(--amber); background: transparent; color: var(--text); cursor: pointer; font-family: var(--body); transition: background .2s, color .2s, transform .2s; }
.add.size span { font-size: .8rem; font-weight: 700; color: var(--amber); letter-spacing: .06em; text-transform: uppercase; }
.add.size b { font: 400 1.35rem/1.1 var(--display); }
.add.size s { font-size: .75rem; color: var(--muted); }
.add.size:hover, .add.size.done { background: var(--amber); }
.add.size:hover span, .add.size:hover b, .add.size:hover s, .add.size.done span, .add.size.done b, .add.size.done s { color: #1a1005; }
.add.size:active { transform: scale(.97); }

@media (max-width: 860px) {
  .menu-hero-in { grid-template-columns: 1fr .8fr; gap: 6px; align-items: end; }
  .mh-text { padding-bottom: 30px; }
  body[data-page="menu"] .menu-hero .title { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .menu-hero .lead { font-size: .95rem; }
  .mh-art { width: 100%; }
  .mh-art .sticker { width: 74px; height: 74px; font-size: 1.5rem; top: -4px; border-width: 3px; }
  .mh-art .sticker small { font-size: .8rem; }
  .menu-grid { grid-template-columns: 1fr; gap: 12px; }
  .mi { grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; border-radius: 20px; }
  .mi-thumb { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) { .mi { transition: none; } }

/* CUSTOMIZER TRASLUCIDO: hoja de vidrio ahumado calido con el fondo asomando, borde de luz, ingredientes como fichas y total en cheddar */
.cz-back { background: rgba(8, 5, 3, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cz-sheet { background: rgba(26, 18, 12, .68);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 0;
  box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, .7); }
.cz-sub { color: var(--amber); }
.cz-x { border-radius: 50%; background: rgba(255, 244, 214, .08); width: 40px; height: 40px; font-size: 1.6rem; transition: background .2s; }
.cz-x:hover { background: rgba(249, 197, 51, .25); }
.cz-body h3 { color: var(--text); }
.cz-hint, .cz-info, .nm small { color: #d3c4a9; }
.ing { border-bottom: 0; background: rgba(255, 244, 214, .06); border: 1px solid rgba(255, 244, 214, .09); border-radius: 18px; padding: 9px 12px 9px 9px; margin-bottom: 8px; transition: background .25s, opacity .25s; }
.ing:not(.x-row):has(input:not(:checked)) { opacity: .6; background: rgba(255, 244, 214, .03); }
.ing:not(.x-row):has(input:not(:checked)) .nm > :first-child { text-decoration: line-through; text-decoration-color: rgba(249, 197, 51, .6); }
.ing:has(+ .ing-sub) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ing-sub { padding: 4px 12px 12px 12px; margin: 0 0 8px; border: 1px solid rgba(255, 244, 214, .09); border-top: 0; background: rgba(255, 244, 214, .06); border-radius: 0 0 18px 18px; }
.sw span { background: rgba(255, 244, 214, .18); }
.sw input:checked + span { background: var(--amber); }
.opt-pill span { border: 1.5px solid rgba(255, 244, 214, .28); background: rgba(255, 244, 214, .05); }
.opt-pill input:checked + span { background: var(--amber); border-color: var(--amber); }
.cz-foot { background: rgba(14, 9, 6, .55); border-top: 1px solid rgba(255, 244, 214, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cz-total span { color: #d3c4a9; }
.cz-total strong { color: var(--amber); font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
@media (min-width: 700px) { .cz-sheet { border: 0; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cz-sheet { background: #1c140e; } .cz-foot { background: #140d08; }
}

/* PANEL DE PEDIDOS MAS FUERTE: columnas con color de estado y contador grande, tarjetas con codigo, tiempo transcurrido, tipo en bloque, cantidades destacadas y accion de ancho completo */
.admin-bar .wrap { padding: 14px 0; }
.admin-bar .chip { min-height: 46px; padding: 0 20px; font-size: 1rem; }
.admin-bar .chip span { margin-left: 6px; background: var(--patty); color: var(--amber); border-radius: 99px; padding: 2px 10px; font-weight: 700; }
.board { gap: clamp(14px, 1.6vw, 24px); }
.col { --c: var(--line); --on: var(--text); }
.col.tone-amber, .ocard.tone-amber { --c: var(--amber); --on: #1a1005; }
.col.tone-sauce, .ocard.tone-sauce { --c: var(--sauce); --on: #1a0a03; }
.col.tone-cream, .ocard.tone-cream { --c: var(--cream); --on: #1a1005; }
.col.tone-done, .ocard.tone-done { --c: #5a4b3b; --on: var(--text); }
.col h2 { background: var(--c); color: var(--on); border-radius: 18px; padding: 10px 12px 10px 20px; margin-bottom: 14px; justify-content: space-between; position: sticky; top: 76px; z-index: 5; }
.col h2 .lbl { font-size: 1.45rem; line-height: 1; }
.col h2 .cnt { background: var(--on); color: var(--c); min-width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; padding: 0; font: 400 1.9rem var(--display); }
.col.tone-done h2 { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); }
.col.tone-done h2 .cnt { background: var(--line); color: var(--text); }
.empty { text-align: center; padding: 34px 18px; border-radius: 18px; border-width: 2px; }
.ocard { border: 0; border-top: 8px solid var(--c); border-radius: 18px; padding: 16px 18px 18px; gap: 10px; margin-bottom: 16px; }
.ocard.is-new { animation: ocIn .6s var(--ease) both, ocGlow 2.4s ease-out .6s 2; }
@keyframes ocIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
@keyframes ocGlow { 0%, 100% { box-shadow: none; } 40% { box-shadow: 0 0 0 4px rgba(249, 197, 51, .45); } }
.ocard header { align-items: center; }
.ocard .code { font: 400 2.2rem/1 var(--display); letter-spacing: .01em; }
.ocard .ago { font-weight: 700; font-size: .95rem; padding: 6px 12px; border-radius: 99px; background: rgba(255, 244, 214, .09); color: var(--text); }
.ocard .ago.late { background: #ff4d3d; color: #fff; }
.kind { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; }
.kind b { font: 400 1.25rem var(--display); letter-spacing: .04em; }
.kind span { font-weight: 700; }
.kind.deliv { background: var(--amber); color: #1a1005; }
.kind.pick { background: var(--cream); color: var(--patty); }
.when { font-weight: 700; font-size: .95rem; color: var(--muted); }
.when.sched { color: #ffb08f; background: rgba(255, 90, 31, .14); padding: 8px 12px; border-radius: 10px; }
.ocard .who { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 1.1rem; }
.ocard .who a { background: rgba(249, 197, 51, .14); border-radius: 99px; padding: 8px 14px; font-weight: 700; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.ocard .addr, .ocard .notes { font-size: 1rem; color: var(--text); background: rgba(255, 244, 214, .06); border-radius: 10px; padding: 9px 12px; }
.ocard .addr b, .ocard .notes b { display: block; color: var(--amber); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.ocard .notes { border-left: 4px solid var(--amber); border-radius: 4px 10px 10px 4px; }
.lines { padding: 10px 0; gap: 10px; }
.lines li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; font-size: 1.15rem; font-weight: 700; }
.lines .q { background: var(--amber); color: #1a1005; border-radius: 10px; height: 38px; display: grid; place-items: center; font: 400 1.25rem var(--display); }
.lines .n { padding-top: 6px; line-height: 1.2; }
.mod-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.mod-pills span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 99px; background: rgba(255, 90, 31, .2); color: #ffb08f; }
.ocard .tot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ocard .tot strong { font: 400 1.9rem/1 var(--display); color: var(--text); }
.ocard .tot small { font-weight: 700; color: var(--muted); text-align: right; }
.acts { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.acts .btn { min-height: 56px; font-size: 1.05rem; justify-content: center; }
.acts .btn-primary { background: var(--c); color: var(--on); border-color: var(--c); }
.acts .btn-ghost { padding: 0 20px; }
.acts .btn-primary:only-child { grid-column: 1 / -1; }
@media (max-width: 960px) { .col h2 { top: 124px; } .ocard .code { font-size: 2rem; } }
@media (prefers-reduced-motion: reduce) { .ocard.is-new { animation: none; } }
.col h2 .lbl { background: none; color: inherit; padding: 0; border-radius: 0; font: 400 1.45rem/1 var(--display); }
.board.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .col { min-width: 0; }
@media (max-width: 960px) { .board.cols3 { grid-template-columns: minmax(0, 1fr); } }
.ocard { grid-template-columns: minmax(0, 1fr); min-width: 0; } .ocard > * { min-width: 0; } .ocard .who strong { overflow-wrap: anywhere; } .ocard .addr, .ocard .notes { overflow-wrap: anywhere; }

/* PANEL COMPACTO: menos altura por tarjeta y menos bloques sueltos, mas pedidos a la vista */
.admin-bar .wrap { padding: 8px 0; gap: 8px; }
.admin-bar .chip { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.board { padding: 14px 0 40px; gap: 14px; }
.col h2 { top: 56px; padding: 6px 8px 6px 14px; margin-bottom: 10px; border-radius: 12px; }
.col h2 .lbl { font-size: 1.1rem; }
.col h2 .cnt { min-width: 36px; height: 36px; border-radius: 10px; font-size: 1.3rem; }
.empty { padding: 16px; font-size: .9rem; }
.ocard { border-top-width: 5px; border-radius: 14px; padding: 10px 12px 12px; gap: 6px; margin-bottom: 10px; }
.ocard header { display: flex; align-items: center; gap: 8px; }
.ocard .code { font-size: 1.4rem; margin-right: auto; }
.ocard header small { color: var(--muted); font-weight: 700; }
.ocard .ago { font-size: .8rem; padding: 3px 9px; }
.kind { display: inline-block; padding: 3px 10px; border-radius: 99px; font: 700 .75rem var(--body); letter-spacing: .05em; }
.kind b, .kind span { all: unset; }
.when { font-size: .82rem; }
.when.sched { padding: 4px 10px; border-radius: 8px; }
.ocard .who { font-size: .98rem; }
.ocard .who a { padding: 4px 11px; min-height: 32px; font-size: .9rem; }
.ocard .addr, .ocard .notes { font-size: .88rem; padding: 5px 10px; background: none; border-radius: 0; border-left: 3px solid var(--amber); }
.lines { padding: 6px 0; gap: 6px; }
.lines li { grid-template-columns: 28px 1fr; gap: 9px; font-size: 1rem; }
.lines .q { height: 28px; border-radius: 8px; font-size: 1rem; }
.lines .n { padding-top: 3px; }
.mod-pills { margin-top: 4px; gap: 4px; }
.mod-pills span { font-size: .66rem; padding: 2px 7px; }
.ocard .tot { align-items: center; }
.ocard .tot strong { font-size: 1.35rem; }
.ocard .tot small { font-size: .82rem; }
.acts { gap: 8px; }
.acts .btn { min-height: 46px; font-size: .95rem; }
.acts .btn-ghost { padding: 0 14px; }
@media (max-width: 960px) { .col h2 { top: 96px; } .ocard .code { font-size: 1.4rem; } }

/* AJUSTES DEL PANEL: hoja lateral con sonidos, temas y foto de fondo; historial agrupado por dia */
body { background: var(--bg); color: var(--text); }
#admBg { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; pointer-events: none; }
.adm-photo body { background: transparent; }
.adm-photo .admin-bar { background: rgba(10, 7, 5, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.adm-photo .ocard, .adm-photo .col.tone-done h2, .adm-photo .empty { background: rgba(18, 13, 10, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f6ecd9; }
.adm-photo .hstats span { background: rgba(18, 13, 10, .8); }
.adm-photo .day h3 { color: #f6ecd9; }
.adm-light .ocard .who a, .adm-light .ocard a, .adm-light .ocard .tot small { color: var(--patty); }
.adm-light .ocard .who a { background: rgba(194, 122, 44, .22); }
.adm-light .chip[aria-pressed="true"] { color: #1a1005; }
.adm-light .lines .n, .adm-light .ocard .code { color: var(--text); }
.adm-light .mod-pills span { background: rgba(255, 90, 31, .18); color: #a63a0d; }
.adm-light .when.sched { color: #a63a0d; }
.adm-light .logo { color: var(--patty); }

.board.cols1 { grid-template-columns: minmax(0, 1fr); }
.hstats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.hstats span { flex: 1 1 150px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; display: grid; font-size: .8rem; color: var(--muted); font-weight: 600; }
.hstats b { font: 400 1.5rem/1.1 var(--display); color: var(--amber); }
.day { margin-bottom: 16px; }
.day h3 { font-size: 1rem; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.day h3 small { color: var(--muted); font-weight: 600; }
.hist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; align-items: start; }
.hist-grid .ocard { margin-bottom: 0; }
.ocard.hist { border-top-color: var(--line); }
.ocard.hist .when:not(.sched) { display: none; }
.ocard.hist .lines { border-bottom: 0; padding-bottom: 0; }
.acts:empty { display: none; }

.prefs { position: fixed; inset: 0; z-index: 200; }
.prefs[hidden] { display: none; }
.prefs-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s; }
.prefs.open .prefs-back { opacity: 1; }
.prefs-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); background: var(--bg-2); color: var(--text); border-left: 1px solid var(--line); overflow-y: auto; padding: 0 20px 28px; transform: translateX(100%); transition: transform .3s cubic-bezier(0.23, 1, 0.32, 1); }
.prefs.open .prefs-sheet { transform: none; }
.prefs-sheet header { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 8px; position: sticky; top: 0; background: var(--bg-2); }
.prefs-sheet h2 { font: 400 1.6rem var(--display); }
.prefs-x { background: none; border: 0; color: var(--text); font-size: 2rem; width: 44px; height: 44px; cursor: pointer; }
.prefs-sheet section { padding: 14px 0; border-top: 1px solid var(--line); }
.prefs-sheet h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.p-sounds { display: grid; gap: 6px; }
.p-opt { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--text); font: 600 .98rem var(--body); cursor: pointer; }
.p-opt i { font-style: normal; font-size: .8rem; opacity: .6; }
.p-opt[aria-pressed="true"] { background: var(--amber); color: #1a1005; border-color: var(--amber); }
.p-range { display: grid; gap: 6px; margin-top: 12px; font-weight: 600; font-size: .92rem; }
.p-range input { width: 100%; accent-color: var(--amber); }
.p-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.p-theme { display: grid; justify-items: center; gap: 6px; padding: 8px 4px; border-radius: 12px; border: 2px solid var(--line); background: none; color: var(--text); font: 600 .8rem var(--body); cursor: pointer; }
.p-theme span { width: 100%; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--b) 55%, var(--c) 55%); border: 1px solid rgba(128, 128, 128, .35); }
.p-theme[aria-pressed="true"] { border-color: var(--amber); }
.p-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 600; font-size: .92rem; flex-wrap: wrap; }
.p-row > span, .p-row:is(label) { margin-right: auto; }
.p-row input[type="color"] { width: 44px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: none; padding: 2px; cursor: pointer; }
.p-file { background: var(--amber); color: #1a1005; border-radius: 99px; padding: 9px 16px; font-weight: 700; cursor: pointer; position: relative; }
.p-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.p-link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: 600 .85rem var(--body); padding: 8px; }
.p-note { color: #ff8a65; font-size: .85rem; margin-top: 8px; min-height: 1em; }
@media (prefers-reduced-motion: reduce) { .prefs-sheet, .prefs-back { transition: none; } }
.ocard header { flex-wrap: wrap; row-gap: 4px; } .ocard header .code, .ocard header .kind, .ocard header .ago, .ocard header small { flex: none; white-space: nowrap; } .ocard header .kind { align-self: center; }

/* FIN DE DIA: hoja lateral con el cierre y las descargas */
.chip.eod-btn { border-color: var(--amber); color: var(--amber); }
.chip.eod-btn:hover { background: var(--amber); color: #1a1005; }
.eod .prefs-sheet { width: min(440px, 100%); }
.eod input[type="date"] { min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 12px; font: 600 1rem var(--body); color-scheme: dark; }
.eod-go { width: 100%; justify-content: center; min-height: 52px; margin-top: 12px; }
.eod-go:disabled { opacity: .6; cursor: wait; }
.eod-help { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.eod-list { display: grid; gap: 8px; }
.eod-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.eod-row > div { display: grid; min-width: 0; }
.eod-row b { font-size: 1rem; }
.eod-row span { font-size: .82rem; color: var(--muted); }
.eod-row em { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--amber); margin-top: 2px; }
.eod-row.empty em { color: var(--muted); font-weight: 600; }
.eod-row .btn { min-height: 44px; padding: 0 14px; font-size: .88rem; flex: none; }
.eod-row .btn:disabled { opacity: .35; cursor: not-allowed; }
.eod-done { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(249, 197, 51, .1); display: grid; gap: 8px; }
.eod-total { font: 400 2rem/1 var(--display); display: grid; gap: 4px; }
.eod-total small { font: 600 .85rem var(--body); color: var(--muted); }
.eod-top { list-style: none; display: grid; gap: 4px; font-size: .92rem; }
.eod-top li { display: flex; justify-content: space-between; }
.eod-warn { color: #ffb08f; font-size: .88rem; font-weight: 600; }
.eod-ok { color: var(--amber); font-weight: 700; font-size: .88rem; }
.adm-light .eod-row em, .adm-light .eod-ok, .adm-light .chip.eod-btn { color: var(--patty); }

/* EXTRAS DE LA HAMBURGUESA: grupos con titulo y tope, precio vigente con el anterior tachado */
.x-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 22px 0 8px; font-size: 1rem; }
.x-title small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.x-price { display: flex; gap: 8px; align-items: baseline; font-weight: 400; }
.x-price s { color: var(--muted); font-size: .85rem; }
.x-price b { color: var(--amber); font-size: .95rem; }
.ing.x-row.on { border-color: rgba(249, 197, 51, .6); background: rgba(249, 197, 51, .1); }
.x-title small { flex: none; white-space: nowrap; } .eod-row > div { text-align: left; justify-items: start; }

/* AVISOS DE CIERRE: barra bajo el menu con la accion directa */
.avisos { position: sticky; top: 62px; z-index: 25; display: grid; gap: 8px; padding: 0 clamp(14px, 3vw, 40px); }
.avisos:empty { display: none; }
.aviso { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-top: 10px; padding: 12px 16px; border-radius: 14px; background: var(--amber); color: #1a1005; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); animation: avIn .45s var(--ease) both; }
@keyframes avIn { from { opacity: 0; transform: translateY(-10px); } }
.aviso p { flex: 1 1 280px; font-size: .98rem; line-height: 1.35; }
.aviso p b { display: block; font: 400 1.15rem var(--display); }
.aviso-msg { display: block; color: #8a1d0e; font-weight: 700; }
.aviso-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.aviso .btn { min-height: 44px; padding: 0 16px; font-size: .92rem; background: #1a1005; color: var(--amber); border-color: #1a1005; }
.aviso .btn-ghost { background: none; color: #1a1005; border-color: #1a1005; }
.aviso .btn:disabled { opacity: .6; cursor: wait; }
.aviso-x { background: none; border: 0; color: #1a1005; opacity: .75; text-decoration: underline; font: 600 .82rem var(--body); cursor: pointer; padding: 10px 6px; }
.aviso-perm { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.aviso-perm .btn-ghost { color: var(--amber); border-color: var(--amber); }
@media (max-width: 960px) { .avisos { top: 0; position: static; } }
@media (prefers-reduced-motion: reduce) { .aviso { animation: none; } }

/* MENU CARTEL: titulo gigante por categoria con contador, tarjetas con numero en contorno, sello -20% y la foto saliendose del cuadro */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: clamp(16px, 3vw, 26px); }
.cat-main { min-width: 0; }
.cat-script { display: block; font-family: "Yellowtail", cursive; color: var(--amber); font-size: clamp(1.3rem, 3.6vw, 2rem); line-height: 1; transform: rotate(-3deg); transform-origin: left bottom; margin-bottom: 4px; }
.cat-t { font: 400 clamp(2.7rem, 12.5vw, 6.4rem)/.9 var(--poster); text-transform: uppercase; color: var(--cream); letter-spacing: -.005em; }
.cat-t .o { color: transparent; -webkit-text-stroke: clamp(2px, .3vw, 3px) var(--amber); }
.cat-count { flex: none; display: grid; justify-items: center; line-height: 1; }
.cat-count b { font: 400 clamp(3rem, 10vw, 5.2rem)/.9 var(--poster); color: transparent; -webkit-text-stroke: 2px var(--sauce); }
.cat-count small { margin-top: 4px; font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.mi { position: relative; overflow: visible; }
.mi-n { position: absolute; top: 10px; right: 16px; font: 400 2.2rem/1 var(--poster); color: transparent; -webkit-text-stroke: 1.5px rgba(246, 236, 217, .3); pointer-events: none; }
.mi-name { padding-right: 46px; }
.mi-thumb { position: relative; overflow: visible; }
.mi-thumb.tone-sauce img, .mi-thumb.mascot img { position: absolute; left: 50%; bottom: -6px; width: auto; height: auto; max-width: 134%; max-height: 124%; object-fit: contain; transform: translateX(-50%) rotate(-5deg);
  filter: drop-shadow(0 9px 8px rgba(0, 0, 0, .38)); transition: transform .45s var(--ease); }
.mi-thumb.mascot img { max-height: 134%; max-width: 120%; transform: translateX(-50%) rotate(4deg); }
.mi-thumb.tone-cheddar img.cover { border-radius: 18px; }
.mi-thumb.tone-cream { background: var(--cream); }
.menu-grid .mi:nth-child(3n+2) .mi-thumb.tone-sauce, .menu-grid .mi:nth-child(3n+2) .mi-thumb.mascot { background: var(--amber); }
.menu-grid .mi:nth-child(3n) .mi-thumb.tone-sauce { background: var(--cream); }
.menu-grid .mi:nth-child(3n) .mi-thumb.mascot { background: var(--sauce); }
.menu-grid .mi:nth-child(3n+1) .mi-thumb.mascot { background: var(--amber); }
.menu-grid .mi:nth-child(3n+2) .mi-thumb.ph { background: var(--sauce); }
.menu-grid .mi:nth-child(3n) .mi-thumb.ph { background: var(--amber); }
.mi-thumb.ph b { font: 400 3.4rem/1 var(--poster); color: transparent; -webkit-text-stroke: 2px var(--patty); transform: rotate(-6deg); }
.mi-off { position: absolute; z-index: 2; left: -8px; top: -9px; font: 400 .95rem/1 var(--poster); font-style: normal; letter-spacing: .02em; background: var(--cream); color: var(--patty);
  border: 2px solid var(--patty); border-radius: 999px; padding: 5px 8px 4px; transform: rotate(-12deg); box-shadow: 0 4px 8px rgba(0, 0, 0, .3); }
.mi-price { font: 400 2rem/1 var(--poster); letter-spacing: .01em; }
.mi-price s { font-family: var(--body); letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { .mi:hover .mi-thumb.tone-sauce img, .mi:hover .mi-thumb.mascot img { transform: translateX(-50%) translateY(-6px) rotate(3deg) scale(1.05); } }
@media (max-width: 860px) { .mi { margin-top: 4px; } .mi-n { font-size: 1.9rem; } .cat-head { margin-top: 4px; } }
.menu-grid .mi:nth-child(3n+1) .mi-thumb.mascot { background: var(--cream); } .menu-grid .mi:nth-child(3n+2) .mi-thumb.mascot { background: var(--patty); } .menu-grid .mi:nth-child(3n) .mi-thumb.mascot { background: var(--sauce); }

/* MENU: PRECIO ANTERIOR Y SOMBRA BAJO CADA TARJETA */
.mi-price s { font-size: .95rem; font-weight: 600; color: #968b7e; text-decoration-thickness: 2px; }
.mi { box-shadow: 0 16px 26px -16px rgba(0, 0, 0, .85); }
.mi-n { -webkit-text-stroke-color: rgba(246, 236, 217, .45); }

/* PANEL: TARJETA CALMA. Menos cajas y etiquetas: jerarquia con tamano, peso y espacio. Codigo > cliente > productos > total > accion. */
.ocard { padding: 20px 22px 22px; gap: 0; border-radius: 18px; }
.ocard > * + * { margin-top: 14px; }
.oc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ocard .code { font: 400 1.5rem/1 var(--display); letter-spacing: .01em; margin: 0; }
.ocard .ago { background: none; padding: 0; border-radius: 0; font-size: .88rem; font-weight: 500; color: var(--muted); }
.ocard .ago.late { background: none; color: #ff8a7a; font-weight: 700; }
.oc-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 8px !important; font-size: .88rem; color: var(--muted); }
.oc-meta .kind { all: unset; font-weight: 700; letter-spacing: .02em; color: var(--text); }
.oc-meta .kind.deliv { color: var(--amber); }
.oc-meta .when { all: unset; }
.oc-meta .when.sched { color: #ffb08f; font-weight: 600; }
.oc-meta .when::before { content: "·"; margin-right: 10px; color: var(--line); }
.ocard .who { display: grid; gap: 2px; align-items: start; font-size: 1.1rem; margin-top: 18px !important; }
.ocard .who strong { font-weight: 700; overflow-wrap: anywhere; }
.ocard .who a { background: none; padding: 0; min-height: 0; display: inline; border-radius: 0; font-size: .92rem; font-weight: 500; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(183, 168, 143, .4); text-underline-offset: 3px; overflow-wrap: anywhere; }
.ocard .addr { background: none; padding: 0; font-size: .92rem; color: var(--muted); border: 0; }
.ocard .addr b { display: none; }
.ocard .addr a { color: var(--amber); }
.lines { border: 0; padding: 0; gap: 16px; margin-top: 20px !important; }
.lines li { grid-template-columns: 30px 1fr; gap: 6px; align-items: baseline; font-weight: 400; font-size: 1rem; }
.lines .q { all: unset; font: 700 1rem/1.3 var(--body); color: var(--amber); }
.lines .n { padding: 0; display: grid; gap: 4px; line-height: 1.35; }
.lines .nm { font-size: 1.08rem; font-weight: 700; color: var(--text); }
.mod-lines { display: grid; gap: 2px; }
.mod-line { font-size: .88rem; font-weight: 400; line-height: 1.5; color: #d3c4a9; }
.ocard .notes { background: rgba(255, 244, 214, .05); border: 0; border-radius: 12px; padding: 12px 14px; font-size: .92rem; line-height: 1.5; color: var(--text); margin-top: 20px !important; }
.ocard .notes small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.oc-foot { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid rgba(255, 244, 214, .09); display: grid; gap: 14px; }
.ocard .tot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; }
.ocard .tot strong { font: 400 1.35rem/1 var(--display); }
.ocard .tot small { font-size: .85rem; font-weight: 500; color: var(--muted); text-transform: capitalize; }
.ocard .acts { display: grid; grid-template-columns: 1fr; gap: 6px; }
.ocard .acts .btn-primary { min-height: 52px; font-size: 1rem; }
.ocard .acts .btn-ghost { border: 0; background: none; min-height: 44px; padding: 0 12px; justify-self: center; font-size: .88rem; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ocard .acts .btn-ghost:hover { color: var(--text); }
.ocard.hist .oc-foot { margin-top: 18px !important; }
.col h2 .lbl { font-size: 1.15rem; }
.board { gap: clamp(16px, 2vw, 28px); }
.ocard .lines { gap: 18px; border: 0; padding: 0; }

/* PAGO: estado de Mercado Pago en la tarjeta del panel */
.paystat { display: inline-block; margin-right: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.paystat.ps-pagado { color: #6fd08c; }
.paystat.ps-pendiente { color: var(--amber); }
.paystat.ps-rechazado { color: #ff8a7a; }

.ocard .addr .matched { display: block; margin-top: 2px; font-size: .78rem; color: var(--muted); opacity: .8; }
