/* ============================================================
   TEMA v2 · 45 · VENTA AL PASO  ·  servicio rápido
   Misma paleta bordó que Pedido de mesa (tokens de 00-tokens). Mismas piezas que Pedido pero sin ornamentos: botones más
   grandes, el total protagonista y las acciones a la vista.
   ============================================================ */
#view[data-route="paso"] .pedido-head { border-radius: 20px; background: var(--hdr); }
#view[data-route="paso"] .pedido-head h2 { font-size: 42px; }
#view[data-route="paso"] .cat-tab { min-height: 58px; padding: 0 28px; font-size: 17px; border-radius: 18px; }
#view[data-route="paso"] .prod { min-height: 150px; }   /* tarjetas de producto como las de Pedido, algo más altas para el servicio rápido */
#view[data-route="paso"] .prod-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
#view[data-route="paso"] .pedido-panel { border-radius: 24px; }
#view[data-route="paso"] .pp-head { background: var(--accent-solid); }
#view[data-route="paso"] .pp-total:not(.pp-total-sec) { background: #1f1510; padding: 18px 22px; }
#view[data-route="paso"] .pp-total:not(.pp-total-sec) b { font-size: 60px; color: #e8b55a; }
#view[data-route="paso"] .pp-foot .btn-ok { min-height: 72px; font-size: 21px; border-radius: 18px; }
#view[data-route="paso"] .pi { border-bottom-style: solid; }
@media (max-width: 480px) { #view[data-route="paso"] .pp-total:not(.pp-total-sec) b { font-size: 40px; white-space: nowrap; } }

/* ===== VENTA AL PASO · pedidos guardados independientes (tanda 20) ===== */
.bor-lista { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.bor-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.bor-cab h4 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.bor-cab h4 .ico { width: 18px; height: 18px; color: var(--accent); }
.bor-cab h4 span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; text-align: center; }
.bor-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bor-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info total" "acc acc"; gap: 6px 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.bor-info { grid-area: info; min-width: 0; display: grid; }
.bor-info b { font-size: 15px; }
.bor-info small { color: var(--text-muted); font-size: 12.5px; }
.bor-total { grid-area: total; font-size: 18px; font-variant-numeric: tabular-nums; }
.bor-acc { grid-area: acc; display: flex; gap: 8px; justify-content: flex-end; }
.bor-acc .btn-primary { flex: 1; min-height: 42px; }
.bor-acc .btn-ghost { min-width: 44px; min-height: 42px; color: var(--danger); }
.bor-activo { margin: 0 0 8px; }
@media (min-width: 700px) { .bor-fila { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "info total acc"; } .bor-acc .btn-primary { flex: none; } }
.bor-solo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; }
.bor-solo-txt { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.bor-solo-txt .ico { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ===== VENTA AL PASO · botón compacto «Pedidos guardados (N)» arriba del recuadro rojo; la lista solo ocupa lugar cuando está abierta (tanda 21) ===== */
.pedido-head .bor-toggle { order: -1; flex: 1 0 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 2px 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .16); color: var(--hdr-ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-align: left; }
.pedido-head .bor-toggle:hover { background: rgba(255, 255, 255, .26); }
.bor-toggle .bor-flecha { flex: none; width: 18px; height: 18px; transition: transform .25s ease; }
.bor-toggle.abierto .bor-flecha { transform: rotate(180deg); }
#aviso-borrador[hidden] { display: none; }
.bor-cab-acc { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.bor-fila.activo { border-color: var(--accent); background: var(--accent-soft); }
.bor-editando { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; align-self: center; }
@media (prefers-reduced-motion: reduce) { .bor-toggle .bor-flecha { transition: none; } }
