/* El Barto — ajustes propios del sitio sobre el diseño de Francisco (public/diseno/).
   Los colores, tipografías y piezas vienen de tokens.css + estilos.css; acá solo lo que el sitio necesita además. */
body { margin: 0; }
[hidden] { display: none !important; }

/* Logo real en la barra */
.bt-logo__img { border-radius: 10px; }

/* Hojas: .bt-overlay + .bt-sheet de estilos.css, abiertas con sheet.js */
.bt-sheet:focus { outline: none; }
.bt-sheet__foot { z-index: 2; }

/* Opciones marcadas: :has() en navegadores nuevos; sheet.js pone .is-on en los viejos */
.bt-opt:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.bt-opt:has(input:checked)::before { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px var(--surface-raised); }

/* Pie */
.bt-foot__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bt-foot__admin { grid-column: 1 / -1; text-align: center; }
.bt-foot__admin a { color: var(--line-strong); font-size: 11px; text-decoration: none; padding: 8px 12px; display: inline-block; opacity: .55; }
.bt-foot__admin a:hover, .bt-foot__admin a:focus-visible { opacity: 1; }
.bt-foot__hours { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.bt-foot__hours li { display: flex; justify-content: space-between; gap: 12px; max-width: 220px; }
.bt-foot__hours li.is-today { font-weight: 700; color: var(--red-ink); }

/* Sumario del pedido */
.bt-cart-empty { color: var(--ink-muted); }
.bt-line.is-off .bt-line__name { text-decoration: line-through; }
.bt-line__warn { font-size: 13px; font-weight: 600; color: var(--red-ink); }
.bt-err-box { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius-md); background: var(--red-tint); color: var(--red-ink); font-weight: 600; font-size: 14px; }

/* Tablero en dos columnas: el nombre no pasa por debajo del botón + */
.bt-board--grid .bt-item__name { padding-right: 42px; }

/* En celular, 3 opciones por fila cortaban "Transferencia": como mínimo 140px por opción */
.bt-seg { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* Extras plegados en la hoja de producto */
.bt-fold > summary { list-style: none; }
.bt-fold > summary::-webkit-details-marker { display: none; }
.bt-fold[open] > summary { margin-bottom: 12px; }
.bt-fold__n { color: var(--red-ink); }

/* Opciones: el nombre puede ocupar dos renglones y el precio va debajo, así nunca se corta */
.bt-opt > span { flex: 1; min-width: 0; overflow-wrap: break-word; }
.bt-opt__price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.bt-opt.is-on .bt-opt__price, .bt-opt:has(input:checked) .bt-opt__price { color: var(--red-ink); }
.bt-line__price, .bt-cartbar__total, .bt-item__price { white-space: nowrap; }

/* La tarjeta no es un botón: solo el + agrega */
.bt-item { cursor: default; }
