/* Desglose de un pedido (public/app/breakdown.js): igual en cliente, restaurante, Tati y panel. */
.ob { font-size: 15px; }
.ob-items { margin-bottom: 6px; }
.ob-line { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ob-qty { min-width: 34px; font-weight: 800; font-size: 17px; }
.ob-name { flex: 1; min-width: 0; font-weight: 600; }
.ob-name small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.ob-name .ob-note { color: var(--warn); font-size: 14px; }
.ob-amt { font-weight: 700; white-space: nowrap; }
.ob-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 6px 0; }
.ob-row > span:first-child small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.ob-val { text-align: right; white-space: nowrap; font-weight: 600; }
.ob-val small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.ob-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; font-size: 19px; font-weight: 800; }
.ob-total .ob-val { font-weight: 800; }
.ob-mine { font-size: 21px; }
.ob-aside { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--muted); }
.ob-aside .ob-row { padding: 4px 0; }
.ob-aside-title { margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.ob-pay { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.ob-pay-detail { margin: 2px 0 0; }
.ob-rate { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
/* Tati: lo que hay que cobrar y su envío, grandes */
.ob-driver { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ob-big { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); }
.ob-big span { font-size: 13px; font-weight: 700; color: var(--muted); }
.ob-big b { font-size: 22px; }
.ob-cash { background: var(--ok-soft); border-color: var(--ok-line); }
.ob-nocash b { font-size: 16px; }
.ob-more summary { cursor: pointer; padding: 8px 0; font-weight: 700; color: var(--brand-text); }
/* Promociones dentro del pedido: una línea con su precio fijo, sus productos y el ahorro */
.ob-promo-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 800; letter-spacing: .02em; vertical-align: 2px; }
.ob-name s { color: var(--muted); }
.ob-promo-products { display: block; margin: 2px 0; }
.ob-promo-products small { color: var(--text) !important; }
.ob-name .ob-saving { color: var(--ok); font-weight: 700; }
.ob-savings { color: var(--ok); font-size: 14px; }
.ob-savings .ob-val { font-weight: 700; }
.ob-options { display: block; margin: 2px 0; }
.ob-options small { color: var(--text) !important; }

/* Detalle del efectivo: tasa y equivalente en letra pequeña ("42.400 COP ($10,59 a tasa 4.000)") */
.ob-sub-inline { font-size: 13px; font-weight: 500; color: var(--muted); }
