/* Kong Burgers — ajustes del sitio sobre las piezas base (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; }

/* Tocar la tarjeta abre el producto para verlo de cerca (no agrega solo) */
.bt-item[data-open] { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .12s ease; }
.bt-item[data-open]:active { transform: scale(.985); }
@media (prefers-reduced-motion: reduce) { .bt-item[data-open] { transition: none; } .bt-item[data-open]:active { transform: none; } }

/* Foto del producto en la hoja: más alta (4:3) para que se vea la hamburguesa entera y no solo la tapa */
.bt-sheet__img { height: auto; aspect-ratio: 4 / 3; max-height: 52vh; object-fit: cover; object-position: 50% 55%; background: #15151c; }

/* Foto del producto: se toca para verla a pantalla completa */
.bt-photo-btn { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.bt-photo-zoom { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(21,21,28,.72); color: #fff; font: 600 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.bt-viewer { position: fixed; inset: 0; z-index: 70; background: #0b0b10; display: flex; align-items: center; justify-content: center; animation: bt-fade .15s ease-out; touch-action: pinch-zoom; cursor: zoom-out; }
.bt-viewer img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.bt-viewer__x { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; background: rgba(255,255,255,.92); }
.bt-viewer__hint { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.92); color: #262a6b; font: 600 13px/1 var(--font-sans); letter-spacing: .04em; white-space: nowrap; pointer-events: none; }

/* Contador de la hoja de producto (ej. Carne extra +$100 c/u) */
.bt-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 2px solid var(--line-strong); border-radius: var(--radius-md); }
.bt-count__label { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.bt-count__label b { font-weight: 700; }
.bt-count .bt-step span { min-width: 32px; font-size: 17px; }
.bt-count .bt-step button:disabled { opacity: .3; cursor: default; }

/* Pago con tarjeta: formulario de Mercado Pago dentro del pedido */
.bt-card-pay { padding: 14px; border: 2px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); }
.bt-card-pay__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bt-card-pay__head span { font-weight: 700; white-space: nowrap; }
.bt-card-pay .bt-hint { margin: 4px 0 10px; }
#card-brick { min-height: 60px; }
/* Medios de pago con "Tarjeta" (4 opciones): siempre 2 × 2, para que no quede una sola abajo */
.bt-seg.bt-seg--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt-opt input:disabled + span { opacity: .55; }

/* Términos y privacidad (/terminos, /privacidad) */
.bt-legal__back { margin-left: auto; }
.bt-legal { padding-block: 24px 8px; line-height: 1.6; }
.bt-legal h1 { font-size: clamp(24px, 7vw, 32px); }
.bt-legal h2 { margin: 28px 0 8px; font: 700 13px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
.bt-legal p, .bt-legal li { font-size: 15px; max-width: 65ch; }
.bt-legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.bt-legal a, .bt-foot__legal a { color: var(--red-ink); }
.bt-legal__date { margin-top: 6px; color: var(--ink-muted); font-size: 13px; }
.bt-legal__also { margin-top: 28px; }
.bt-foot__legal { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--ink-muted); padding-block: 16px; }
.bt-foot__in .bt-foot__legal { padding-block: 0; }

/* =====================================================================
   KONG — blanco y negro, estilo autoservicio (1 Elegí · 2 Armá · 3 Pedí)
   ===================================================================== */

/* Errores en rojo (lo único con color además de "abierto") */
.bt-err, .bt-line__warn { color: var(--danger); }
.bt-err-box { background: #fdecec; color: var(--danger); }
.bt-input.is-bad { border-color: var(--danger); }
.bt-opt:has(input:checked) { border-color: var(--ink); background: var(--red-tint); }
.bt-opt:has(input:checked)::before { border-color: var(--ink); background: var(--ink); }
.bt-fold__n, .bt-opt.is-on .bt-opt__price, .bt-opt:has(input:checked) .bt-opt__price { color: var(--ink); }

/* Títulos con la letra ancha de la carta */
.bt-sheet__title, .bt-item__name, .bt-sec__title, .bt-line__name, .kb-wide { font-family: var(--font-sans); font-weight: 900; font-stretch: 125%; letter-spacing: .01em; text-transform: uppercase; }
.bt-sheet__title { font-size: 19px; line-height: 1.1; }

/* ---------- Página: fondo negro con cuadrícula, como la carta ---------- */
.kb-site {
  background-color: #0b0b0b;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 30px 30px;
  color: #fff;
}
.kb-site .bt-sticky { background: rgba(11,11,11,.94); box-shadow: 0 1px 0 #262626; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kb-site .bt-logo { flex-direction: row; align-items: center; gap: 10px; color: #fff; }
.kb-site .bt-logo__img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.kb-word { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.kb-word b { font: 400 23px/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.kb-word small { display: flex; align-items: center; gap: 5px; margin-top: 3px; font: 800 8px/1 var(--font-sans); letter-spacing: .28em; text-transform: uppercase; color: #bdbdbd; }
.kb-word small::before, .kb-word small::after { content: ""; width: 12px; height: 1.5px; background: currentColor; }
.kb-site .bt-open { background: #fff; color: #0b0b0b; }
.kb-site .bt-open::before { background: #1fbf63; }
.kb-site .bt-open--closed { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #555; }
.kb-site .bt-open--closed::before { background: #777; }
.kb-site .bt-cartbtn { background: #fff; color: #0b0b0b; }
.kb-site .bt-cartbtn__n { background: #0b0b0b; color: #fff; box-shadow: 0 0 0 2px #fff; }

/* Pasos del autoservicio */
.kb-steps { max-width: 720px; margin: 0 auto; padding: 0 var(--space-4) 10px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kb-steps li { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 32px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 2px #333; color: #8c8c8c; font: 800 12px/1 var(--font-sans); font-stretch: 115%; letter-spacing: .12em; text-transform: uppercase; transition: background .15s, color .15s; }
.kb-steps li b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #333; color: #0b0b0b; font: 400 12px/1 var(--font-display); letter-spacing: 0; }
.kb-steps li.is-done { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.kb-steps li.is-done b { background: #fff; }
.kb-steps li.is-on { background: #fff; color: #0b0b0b; box-shadow: none; }
.kb-steps li.is-on b { background: #0b0b0b; color: #fff; }

/* Chips de categorías */
.kb-site .bt-chip { background: transparent; color: #fff; border-color: #3a3a3a; font-weight: 800; }
.kb-site .bt-chip:hover { border-color: #fff; }
.kb-site .bt-chip.is-on { background: #fff; border-color: #fff; color: #0b0b0b; }

/* Portada */
.kb-site .bt-hero { position: relative; background: #0b0b0b; border-radius: 26px; box-shadow: inset 0 0 0 2px #fff; min-height: 236px; }
.kb-site .bt-hero__in { position: relative; z-index: 1; max-width: 64%; padding: 24px 0 24px 22px; }
.kb-site .bt-hero__kicker { display: flex; align-items: center; gap: 8px; color: #bdbdbd; font-weight: 800; letter-spacing: .22em; }
.kb-site .bt-hero__kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.kb-site .bt-hero__title { font: 400 clamp(44px, 13vw, 76px)/.9 var(--font-display); margin: 12px 0 12px; }
.kb-site .bt-hero__text { margin: 0; color: #d6d6d6; font-size: 14px; }
.kb-hero__kong { position: absolute; right: -14px; bottom: -34px; width: 44%; max-width: 250px; height: auto; transform: rotate(6deg); filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); pointer-events: none; }
@media (min-width: 600px) { .kb-site .bt-hero__in { padding: 36px 0 36px 34px; } .kb-hero__kong { right: 18px; bottom: -40px; } }

.kb-site .bt-note { background: #fff; color: #0b0b0b; box-shadow: none; }

/* Paso 1: botones grandes por categoría */
.kb-label { display: flex; align-items: center; gap: 10px; margin: 30px 0 12px; font: 400 30px/1 var(--font-display); text-transform: uppercase; }
.kb-label b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0b0b0b; font: 400 19px/1 var(--font-display); }
.kb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .kb-tiles { grid-template-columns: repeat(4, 1fr); } }
.kb-tile { position: relative; display: block; height: 156px; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #161616; color: #fff; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 2px #fff; -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.kb-tile:active { transform: scale(.97); }
.kb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85)); box-shadow: inset 0 0 0 2px #fff; }
.kb-tile--nophoto { background: #161616 url("/kong-cabeza.png") no-repeat right -16px bottom -26px / 58% auto; }
.kb-tile__n { position: absolute; z-index: 1; left: 12px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #0b0b0b; font: 400 17px/1 var(--font-display); }
.kb-tile__name { position: absolute; z-index: 1; left: 14px; right: 10px; bottom: 30px; font: 400 30px/1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.kb-tile__count { position: absolute; z-index: 1; left: 14px; bottom: 13px; font: 700 10px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: #cfcfcf; }

.kb-site .bt-search { margin-top: 18px; background: #161616; box-shadow: inset 0 0 0 2px #333; color: #fff; }
.kb-site .bt-search svg { color: #9a9a9a; }
.kb-site .bt-search input::placeholder { color: #8a8a8a; }
.kb-site .bt-empty { color: #bdbdbd; }

/* ---------- Secciones del menú = cartas (blanca con marco negro adentro, como la carta del local) ---------- */
.kb-site .bt-cat { scroll-margin-top: 164px; margin-top: 34px; }
.kb-site .bt-board { position: relative; padding: 22px 14px 14px; border-radius: 26px; background: #fff; color: #0b0b0b; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 7px #0b0b0b; }
@media (min-width: 600px) { .kb-site .bt-board { padding: 28px 24px 20px; } }
.kb-site .bt-sec { display: block; margin: 0 0 16px; text-align: center; }
.kb-site .bt-sec__title { margin: 0; font-size: clamp(24px, 7.4vw, 34px); line-height: 1; color: inherit; }
.kb-site .bt-sec__sub { margin: 6px 0 0; font: 600 13px/1.35 var(--font-sans); color: inherit; opacity: .75; }
.kb-site .bt-sec__badge { display: inline-block; width: auto; height: auto; margin-top: 8px; padding: 5px 11px; border-radius: var(--radius-pill); background: #0b0b0b; color: #fff; font: 800 10px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }

.bt-items { display: grid; gap: 10px; }
@media (min-width: 720px) { .bt-items { grid-template-columns: 1fr 1fr; } }
.kb-site .bt-item { flex-wrap: wrap; align-items: stretch; gap: 12px; padding: 12px; border: 2.5px solid currentColor; border-radius: 16px; border-bottom-width: 2.5px; }
.kb-site .bt-item:last-child { border-bottom: 2.5px solid currentColor; }
.kb-site .bt-item__name { font-size: 15px; letter-spacing: .02em; margin-bottom: 4px; }
.kb-site .bt-item__desc { font-size: 13px; line-height: 1.38; opacity: .78; }
.kb-site .bt-item__price { font: 900 20px/1 var(--font-sans); font-stretch: 112%; letter-spacing: 0; }
.kb-site .bt-item__tag { display: inline-block; margin-left: 2px; padding: 3px 7px; border-radius: var(--radius-pill); background: #0b0b0b; color: #fff; font: 800 9px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }
.kb-site .bt-item__media { align-self: flex-start; }
.kb-site .bt-item__img { width: 96px; height: 96px; border-radius: 12px; box-shadow: 0 0 0 2px currentColor; background: #222; }
@media (min-width: 600px) { .kb-site .bt-item__img { width: 112px; height: 112px; } }
.kb-site .bt-item__media:not(:has(img)) { align-self: flex-end; }
.kb-site .bt-add { width: 40px; height: 40px; background: #0b0b0b; color: #fff; box-shadow: 0 0 0 3px #fff; font: 400 24px/1 var(--font-display); }
.kb-site .has-img .bt-add { right: -8px; bottom: -8px; }
.kb-site .bt-soldout { color: inherit; }

/* Precios por cantidad de carnes / tamaño, en casilleros como la carta ("1X - $360") */
.bt-item__prices { flex: 1 0 100%; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 6px; }
.bt-item__prices li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; border-radius: 10px; box-shadow: inset 0 0 0 2px currentColor; }
.bt-item__prices span { font: 700 9px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.bt-item__prices b { font: 900 15px/1 var(--font-sans); font-stretch: 112%; white-space: nowrap; }
.kb-site .bt-item__foot:not(:has(*)) { display: none; }

/* Carta negra */
.kb-site .bt-board--negro { background: #0b0b0b; color: #fff; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px #0b0b0b, inset 0 0 0 7.5px #555; }
.kb-site .bt-board--negro .bt-add { background: #fff; color: #0b0b0b; box-shadow: 0 0 0 3px #0b0b0b; }
.kb-site .bt-board--negro .bt-item__tag, .kb-site .bt-board--negro .bt-sec__badge { background: #fff; color: #0b0b0b; }
/* Carta gris */
.kb-site .bt-board--gris { background: #dcdcdc; box-shadow: inset 0 0 0 4px #dcdcdc, inset 0 0 0 7px #0b0b0b; }
.kb-site .bt-board--gris .bt-add { box-shadow: 0 0 0 3px #dcdcdc; }
/* Carta destacada: Kong asomándose por arriba, como en la carta del local */
.kb-site .bt-cat:has(.bt-board--kong) { margin-top: 150px; }
.kb-peek { position: absolute; z-index: -1; left: 50%; top: -142px; width: 150px; height: auto; transform: translateX(-50%); pointer-events: none; }
.kb-site .bt-board--kong { box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 7px #0b0b0b, 0 0 0 3px #0b0b0b; }

/* Barra "Ver mi pedido" */
.kb-site .bt-cartbar { background: #fff; color: #0b0b0b; box-shadow: 0 0 0 2px #0b0b0b, 0 12px 34px rgba(0,0,0,.6); }
.kb-site .bt-cartbar:hover { background: #f0f0f0; }
.kb-site .bt-cartbar__n { background: #0b0b0b; color: #fff; }
.kb-site .bt-cartbar__label { font-weight: 900; font-stretch: 115%; }
.kb-site .bt-toast { background: #fff; color: #0b0b0b; box-shadow: 0 0 0 2px #0b0b0b, var(--shadow-float); }

/* Pie */
.kb-site .bt-foot { margin-top: 64px; border-top: 2px solid #262626; }
.kb-site .bt-foot h4 { color: #fff; }
.kb-site .bt-foot p, .kb-site .bt-foot li { color: #c9c9c9; }
.kb-site .bt-foot a, .kb-site .bt-foot__legal a { color: #fff; }
.kb-site .bt-foot__brand { color: #fff; font-family: var(--font-display); text-transform: uppercase; }
.kb-site .bt-foot__hours li.is-today { color: #fff; }
.kb-site .bt-foot__legal { color: #8a8a8a; }
.kb-foot__kong { display: block; width: 56px; height: auto; margin-bottom: 8px; }

/* Hojas (producto y pedido): blancas con letra negra, como la carta */
.bt-overlay { background: rgba(0,0,0,.7); }
.kb-site .bt-sheet { box-shadow: 0 0 0 2px #fff, var(--shadow-float); }
.bt-sum .bt-sum__total { font: 900 22px/1 var(--font-sans); font-stretch: 112%; }
.bt-line__price { font: 900 16px/1 var(--font-sans); font-stretch: 112%; }
.bt-done__n { color: var(--ink); }
.bt-sum .bt-sum__disc { color: var(--success-ink); }

/* Las hojas tapan la barra de pasos: el paso se repite arriba del título */
#pd-name::before, #cart-title::before { display: block; margin-bottom: 4px; font: 800 10px/1 var(--font-sans); font-stretch: 100%; letter-spacing: .2em; color: var(--ink-muted); }
#pd-name::before { content: "Paso 2 · Armá"; }
#cart-title::before { content: "Paso 3 · Pedí"; }
.bt-sheet .bt-note--warn { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.kb-btn-light { background: #fff; color: #0b0b0b; }
.kb-site .bt-legal .bt-sec__title { text-align: left; }
.kb-site .bt-legal h2 { color: #fff; }
.kb-site .bt-legal a { color: #fff; }
.bt-sheet__foot .bt-err-box { margin: 0 0 10px; }
