/* Bier Karten · carta pública. Una columna de celular (máx. 480 px).
   Arriba la vidriera (Gabinete de Mefisto), después la carta por familias, al final las cervezas que el bar no tiene.
   Noche por defecto; el modo lo elige el botón sol/luna, no el tema del celular. */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/barlow-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/fraunces-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'UnifrakturMaguntia'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/unifrakturmaguntia-latin-400-normal.woff2') format('woff2'); }

:root {
  /* NOCHE (por defecto) */
  --fondo: #120E0B;
  --banda-txt: #EDE4D3;
  --banda-txt-2: #A89A88;
  --carta: #1E1713;
  --carta-borde: #6B5A44;
  --filete: #3D3229;
  --texto: #EDE4D3;
  --texto-2: #B8AA96;
  --acento: #E3B25A;
  --sobre-acento: #1E1713;
  --foto-a: #A8957A;
  --foto-b: #6E5E4C;
  --foto-bar-a: #9A9690;
  --foto-bar-b: #66625C;
  --punteado: #D8CBB6;
  --rayado: rgba(237, 228, 211, 0.05);
  --pill-bg: #EDE4D3;
  --pill-txt: #1E1713;
  --chip: #33291F;
  --ficha: #241C17;
  --caja: #2C231C;
  --propia-bg: #EDE4D3;
  --propia-txt: #1E1713;
  --propia-txt-2: #5C5148;
  --otras-bg: #2B221B;
  --otras-borde: #6B5A44;
  --boton-bg: #EDE4D3;
  --boton-txt: #1E1713;
  --cerrar-bg: #33291F;
  --logo: #8E1B1B;
  --oro: #E3B25A;
  color-scheme: dark;
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-gotica: 'UnifrakturMaguntia', 'Old English Text MT', Georgia, serif;
}
:root[data-modo="dia"] {
  --fondo: #17120F;
  --banda-txt: #F3ECDF;
  --banda-txt-2: #B5A898;
  --carta: #F3ECDF;
  --carta-borde: #CDB89C;
  --filete: #CDB89C;
  --texto: #1C1714;
  --texto-2: #5C5148;
  --acento: #8E1B1B;
  --sobre-acento: #FFFFFF;
  --foto-a: #EADFCB;
  --foto-b: #EADFCB;
  --foto-bar-a: #DCD6CC;
  --foto-bar-b: #DCD6CC;
  --punteado: #8C7F72;
  --rayado: rgba(140, 127, 114, 0.07);
  --pill-bg: #1C1714;
  --pill-txt: #F3ECDF;
  --chip: #EADFCB;
  --ficha: #F3ECDF;
  --caja: #EADFCB;
  --propia-bg: #1C1714;
  --propia-txt: #F3ECDF;
  --propia-txt-2: #B5A898;
  --otras-bg: #17120F;
  --otras-borde: #17120F;
  --boton-bg: #F3ECDF;
  --boton-txt: #1C1714;
  --cerrar-bg: #EADFCB;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fondo); }
body { color: var(--texto); font-family: var(--f-body); font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--fondo); }
[hidden] { display: none !important; }
button { -webkit-tap-highlight-color: transparent; }
.app { max-width: 480px; margin: 0 auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: 8px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 8px; top: -60px; z-index: 30; padding: 10px 14px; border-radius: 10px; background: var(--boton-bg); color: var(--boton-txt); font-weight: 700; text-decoration: none; }
.saltar:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* Banda del bar */
.bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px 6px; color: var(--banda-txt); }
.bar-logo { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--logo); display: grid; place-items: center; overflow: hidden; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: #FFFFFF; }
.bar-logo:empty { display: none; }
.bar-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bar-logo.con-foto { background: #FFFFFF; }
.bar-nombre { flex-grow: 1; min-width: 0; font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.modo { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1.5px solid var(--banda-txt-2); background: transparent; color: var(--banda-txt); display: grid; place-items: center; cursor: pointer; }
.idioma { display: flex; flex-shrink: 0; border: 1.5px solid var(--banda-txt-2); border-radius: 999px; overflow: hidden; }
.idioma button { width: 46px; height: 44px; border: 0; margin: 0; padding: 0; background: transparent; display: grid; place-items: center; cursor: pointer; opacity: 0.55; }
.idioma button[aria-pressed="true"] { background: var(--banda-txt); opacity: 1; }
.idioma .bandera { display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }

/* Estados (portada, carta inexistente, bar inactivo, sin conexión) */
.estado { padding: 12vh 24px 48px; text-align: center; color: var(--banda-txt); }
.estado-in { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gotica-grande { margin: 0; font-family: var(--f-gotica); font-size: 52px; line-height: 1; color: var(--oro); }
.estado-by { margin: -2px 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.28em; color: var(--banda-txt-2); }
.estado-t { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.estado-s { margin: 0; font-size: 16px; line-height: 1.45; color: var(--banda-txt-2); max-width: 34ch; }
.estado-s:empty { display: none; }
.boton { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--boton-bg); color: var(--boton-txt); font: 700 16px var(--f-body); text-decoration: none; cursor: pointer; }

/* Vidriera: el Gabinete. El tamaño se ajusta para que entre en la pantalla con la barra de familias asomando. */
.vidriera { padding: 0 12px; overflow: hidden; }
.gab {
  position: relative; margin: 0 auto;
  width: min(calc(100vw - 24px), 456px, calc((100vh - 196px) * 0.5545));
  width: min(calc(100vw - 24px), 456px, calc((100svh - 196px) * 0.5545));
  min-width: 250px;
  aspect-ratio: 366 / 660;
  container-type: size;
}
.gab-fondo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.svg-gotica { font-family: var(--f-gotica); }
.svg-by { font-family: var(--f-body); }
.estantes, .velo-gab, .puertas { position: absolute; left: 6.011%; top: 17.576%; width: 87.978%; height: 72.727%; }
.estantes { display: flex; flex-direction: column; }
.estante { position: relative; flex: 1 1 0; }
.estante-fila { position: absolute; left: 0; right: 0; bottom: 18.75%; display: flex; justify-content: space-evenly; align-items: flex-end; }
.botella { display: flex; align-items: flex-end; justify-content: center; padding: 0 1.1cqw; margin: 0; border: 0; background: transparent; line-height: 0; cursor: pointer; border-radius: 6px; }
.botella svg { display: block; width: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
.botella:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.botella:active svg { transform: translateY(-2px); }
.v-b330 svg { height: 15.15cqh; }
.v-b750 svg { height: 19.4cqh; }
.v-b500 svg { height: 16.67cqh; }
.v-b375 svg { height: 15.6cqh; }
.v-b250 svg { height: 13.33cqh; }
.v-lata473 svg { height: 10.9cqh; }
.v-lata500 svg { height: 11.8cqh; }
.v-lata330 svg { height: 9.4cqh; }
.placa { position: absolute; left: 24.04%; top: 86.6%; width: 51.9%; height: 4.4%; padding: 0; border: 0; background: transparent; color: #2A1A0E; font: 600 3cqw/1 var(--f-body); letter-spacing: 0.11em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.placa span { display: block; width: 100%; padding: 0.7cqh 0; border-radius: 2px; background: #C9A24E; }
.placa:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }
.velo-gab { background: #0A0605; opacity: 0.6; pointer-events: none; }
.puertas { perspective: 1100px; pointer-events: none; }
.puerta { position: absolute; top: 0; width: 50%; height: 100%; }
.puerta svg { width: 100%; height: 100%; display: block; }
.puerta-izq { left: 0; transform-origin: left center; }
.puerta-der { left: 50%; transform-origin: right center; }
.gab.abierta .velo-gab { opacity: 0; }
.gab.abierta .puerta-izq { transform: rotateY(-104deg); }
.gab.abierta .puerta-der { transform: rotateY(104deg); }
.gab.cargando .estantes { visibility: hidden; }
.vid-pie { display: flex; align-items: center; gap: 12px; padding: 8px 4px 6px; max-width: 456px; margin: 0 auto; }
.vid-pie p { margin: 0; flex-grow: 1; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--banda-txt); }
.repetir { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1.5px solid var(--oro); background: transparent; color: var(--oro); display: grid; place-items: center; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .gab.anima .puerta { transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
  .gab.anima .velo-gab { transition: opacity 1.2s ease 0.4s; }
}

/* Barra de familias fija */
.familias { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--fondo); }
.familias-in { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.familias-in::-webkit-scrollbar { display: none; }
.chip-fam { flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--carta-borde); background: transparent; color: var(--banda-txt); font: 600 14px var(--f-body); white-space: nowrap; cursor: pointer; }
.chip-fam[aria-current="true"] { background: var(--acento); border-color: var(--acento); color: var(--sobre-acento); font-weight: 700; }

/* Carta */
.carta { margin: 0 8px; padding: 6px; border-radius: 18px; background: var(--carta); outline: none; }
.carta-in { position: relative; border: 1px solid var(--carta-borde); border-radius: 13px; padding: 10px 12px 44px; }
.firma { display: flex; align-items: baseline; justify-content: center; gap: 8px; color: var(--acento); }
.firma .gotica { font-family: var(--f-gotica); font-size: 22px; line-height: 1; }
.firma .by { font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--texto-2); }
.hint, .moneda { margin: 8px 0 0; text-align: center; font-size: 14px; color: var(--texto-2); }
.vacia { margin: 22px 4px 8px; text-align: center; font-size: 16px; line-height: 1.45; color: var(--texto-2); }
.esq { position: absolute; bottom: 8px; right: 12px; transform: rotate(180deg); display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--acento); }
.esq span { font-family: var(--f-gotica); font-size: 22px; line-height: 1; }

.fam { margin-top: 16px; scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 64px); }
.fam:first-of-type { margin-top: 10px; }
.fam-h { display: flex; align-items: center; gap: 8px; margin: 0 2px 2px; color: var(--acento); }
.fam-h h2 { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.fam-h::after { content: ""; flex-grow: 1; height: 1px; background: var(--carta-borde); }
.fam-h svg { flex-shrink: 0; }

.fila { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 2px; border: 0; border-bottom: 1px dotted var(--filete); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 0; }
.fila:last-child { border-bottom: 0; }
.fila:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 6px; }
.fila.es-propia { background: repeating-linear-gradient(135deg, transparent 0 10px, var(--rayado) 10px 20px); }
.foto { position: relative; flex-shrink: 0; width: 60px; height: 78px; border-radius: 10px; background: radial-gradient(ellipse at 50% 40%, var(--foto-a), var(--foto-b)); display: grid; place-items: center; color: var(--punteado); }
.foto.bar-foto { background: radial-gradient(ellipse at 50% 40%, var(--foto-bar-a), var(--foto-bar-b)); }
.foto.propia { border: 2px dashed var(--punteado); }
.foto svg { display: block; }
.foto img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 9px; }
.foto.con-foto { background: #FFFFFF; }
.flag { position: absolute; top: -5px; left: -6px; line-height: 0; border-radius: 3px; box-shadow: 0 0 0 2px #FFFFFF, 0 1px 4px rgba(0, 0, 0, 0.35); }
.flag .bandera { display: block; border-radius: 3px; }
.fila-txt { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.fila-n { font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--texto); overflow-wrap: anywhere; }
.fila-o .fila-n { font-size: 17px; }
.fila-m { margin-top: 2px; font-size: 14.5px; line-height: 1.3; color: var(--texto-2); }
.ast { color: var(--acento); font-weight: 700; }
.marca { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; height: 23px; padding: 0 9px 0 7px; border-radius: 999px; border: 1px solid var(--acento); color: var(--acento); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.del-bar { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; height: 23px; padding: 0 9px 0 7px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-txt); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.precio { flex-shrink: 0; font-size: 17px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--texto); }

.nota { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.4; color: var(--texto-2); }
.otras { margin: 18px 2px 0; padding: 14px; border-radius: 12px; background: var(--otras-bg); border: 1px solid var(--otras-borde); color: #F3ECDF; display: flex; flex-direction: column; gap: 10px; }
.otras p { margin: 0; font-size: 15px; line-height: 1.4; }
.otras button { align-self: flex-start; height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--boton-bg); color: var(--boton-txt); font: 700 15px var(--f-body); cursor: pointer; }

.pie { padding: 20px 16px 28px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.pie p { margin: 0; }
.pie .legal { font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--banda-txt-2); }
.pie .privacidad a { font-size: 12.5px; color: var(--banda-txt-2); }
.pie .marca-pie { font-size: 12px; letter-spacing: 0.12em; color: var(--banda-txt-2); }
.redes { display: flex; justify-content: center; gap: 10px; }
.redes:empty { display: none; }
.redes a { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--banda-txt-2); color: var(--banda-txt); display: grid; place-items: center; }
.redes a:focus-visible, .pie a:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }

/* Ficha: todo en una pantalla, sin bajar. Arriba foto y datos lado a lado; abajo precio y navegación. */
.velo { position: fixed; inset: 0; background: rgba(5, 4, 3, 0.75); z-index: 20; }
.ficha { position: fixed; left: 0; right: 0; bottom: 0; max-height: calc(100vh - env(safe-area-inset-top, 0px) - 6px); max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 6px); z-index: 21; max-width: 480px; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; background: var(--ficha); color: var(--texto); touch-action: pan-y; }
.tirador { flex-shrink: 0; width: 40px; height: 4px; margin: 0 auto 6px; border-radius: 3px; background: var(--carta-borde); }
.ficha-in { flex: 0 0 auto; border: 1px solid var(--carta-borde); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; }
.f-propia { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--propia-bg); color: var(--propia-txt); font-size: 13.5px; line-height: 1.3; }
.f-propia svg { flex-shrink: 0; margin-top: 1px; }
.f-propia span { color: var(--propia-txt-2); }
.f-propia b { color: var(--propia-txt); }
.f-cab { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.f-foto { position: relative; flex-shrink: 0; width: clamp(80px, 17vh, 132px); aspect-ratio: 104 / 142; border-radius: 14px; background: radial-gradient(ellipse at 50% 40%, var(--foto-a), var(--foto-b)); display: grid; place-items: center; overflow: hidden; color: var(--punteado); }
.f-foto.bar-foto { background: radial-gradient(ellipse at 50% 40%, var(--foto-bar-a), var(--foto-bar-b)); }
.f-foto.con-foto { background: #FFFFFF; }
.f-foto svg { height: 86%; width: auto; display: block; }
.f-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.f-foto .sello { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 2px 7px; border-radius: 999px; background: rgba(28, 23, 20, 0.8); color: #FFFFFF; font-size: 11px; font-weight: 600; }
.f-datos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding-right: 44px; }
.f-datos h3 { margin: 0; font-family: var(--f-display); font-size: 23px; font-weight: 700; line-height: 1.12; overflow-wrap: anywhere; }
.f-origen { margin: 0; font-size: 14.5px; line-height: 1.3; color: var(--texto-2); }
.f-origen .bandera { display: inline-block; vertical-align: -2px; margin-right: 5px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.nw { white-space: nowrap; }
.f-meta { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.f-datos .marcas { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.f-datos .marca { margin-top: 0; }
.f-cab .cerrar { position: absolute; top: -4px; right: -6px; }
.cerrar { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: var(--cerrar-bg); color: var(--texto); display: grid; place-items: center; cursor: pointer; }
.cerrar:focus-visible, .idioma button:focus-visible, .otras button:focus-visible, .modo:focus-visible, .chip-fam:focus-visible, .nav-f button:focus-visible, .repetir:focus-visible, .boton:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.sabor { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--acento); }
.ficha .desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--texto); overflow-wrap: anywhere; }
.servir { padding: 10px 12px; border-radius: 12px; background: var(--caja); display: flex; align-items: center; gap: 12px; }
.servir svg { flex-shrink: 0; color: var(--acento); }
.servir-t { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-2); }
.servir-v { display: block; margin-top: 1px; font-size: 15.5px; font-weight: 600; }
.copa-orig { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 14px; font-weight: 700; color: var(--acento); }
.f-pie { margin-top: 2px; display: flex; flex-direction: column; gap: 10px; }
.ficha .pp { padding-top: 12px; border-top: 1px solid var(--carta-borde); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-t { display: block; font-size: 15px; color: var(--texto-2); }
.pp-v { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mefisto { display: block; margin-top: 2px; font-size: 11px; letter-spacing: 0.06em; color: var(--texto-2); opacity: 0.7; }
.nav-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nav-f button { height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--chip); color: var(--texto); font: 600 14.5px var(--f-body); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-f span { font-size: 13.5px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
@media (max-height: 720px) {
  .ficha-in { gap: 10px; padding: 10px 12px; }
  .f-datos h3 { font-size: 21px; }
  .ficha .desc { font-size: 15px; line-height: 1.45; }
}
@media (max-height: 620px) {
  .ficha-in { gap: 8px; }
  .f-datos h3 { font-size: 19.5px; }
  .f-origen, .f-meta { font-size: 13.5px; }
  .ficha .desc { font-size: 14.5px; line-height: 1.4; }
  .servir { padding: 8px 10px; }
  .servir-v { font-size: 14.5px; }
  .pp-v { font-size: 22px; }
  .nav-f button { height: 40px; }
}

/* Otras cervezas (lo que el bar no tiene) */
.otras-v { margin: 0 8px; padding: 6px; border-radius: 18px; background: var(--carta); }
.otras-in { border: 1px solid var(--carta-borde); border-radius: 13px; padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 12px; }
.volver { align-self: flex-start; height: 44px; padding: 0 12px 0 6px; border: 0; border-radius: 10px; background: var(--chip); color: var(--texto); font: 600 15px var(--f-body); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.otras-in h2 { margin: 0; font-family: var(--f-display); font-size: 24px; font-weight: 700; line-height: 1.15; }
.otras-in .intro { margin: -4px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--texto-2); }
.otras-in .intro b { color: var(--texto); }
.toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: 44px; border: 1.5px solid var(--texto); border-radius: 999px; overflow: hidden; }
.toggle button { border: 0; background: transparent; color: var(--texto); font: 700 15px var(--f-body); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--texto); color: var(--carta); }
.acord { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--filete); background: transparent; color: var(--acento); font: 700 14px var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; text-align: left; cursor: pointer; }
.acord span { flex-grow: 1; }
.acord svg { transition: transform 0.2s; }
.acord[aria-expanded="true"] svg { transform: rotate(180deg); }
.fila-o { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px dotted var(--filete); }
.fila-o .abre { flex-grow: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fila-o .foto { width: 50px; height: 66px; }
.quiero { flex-shrink: 0; height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--acento); background: transparent; color: var(--acento); font: 700 14px var(--f-body); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.quiero[aria-pressed="true"] { background: var(--acento); color: var(--sobre-acento); cursor: default; }
.quiero[disabled] { opacity: 0.6; }
.quiero:focus-visible, .volver:focus-visible, .acord:focus-visible, .toggle button:focus-visible, .fila-o .abre:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.cargando-txt { margin: 12px 2px; font-size: 15px; color: var(--texto-2); }
.no-esta { padding: 12px; border-radius: 12px; background: var(--caja); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.no-esta p { margin: 0; font-size: 15px; font-weight: 600; }
.no-esta .chico { margin-top: 2px; font-size: 12.5px; font-weight: 400; line-height: 1.3; color: var(--texto-2); }
.no-esta .quiero { height: 44px; padding: 0 16px; font-size: 15px; }

/* Página de privacidad */
.pagina-legal { margin-top: 12px; }
.pagina-legal h1 { margin: 18px 0 8px; font-family: var(--f-display); font-size: 26px; line-height: 1.15; }
.pagina-legal h2 { margin: 18px 0 6px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acento); }
.pagina-legal p, .pagina-legal li { font-size: 16px; line-height: 1.55; }
.pagina-legal p { margin: 0 0 8px; }
.pagina-legal ul { margin: 0 0 8px; padding-left: 20px; }
.pagina-legal a { color: var(--acento); }
.pagina-legal hr { margin: 26px 0 8px; border: 0; border-top: 1px solid var(--carta-borde); }
.pagina-legal .actualizado { font-size: 13.5px; color: var(--texto-2); }

/* Aviso flotante */
.aviso { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 12px; background: var(--boton-bg); color: var(--boton-txt); font-size: 15px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .ficha { animation: sube 0.22s ease-out; }
  .ficha-in.pasa-izq { animation: izq 0.2s ease-out; }
  .ficha-in.pasa-der { animation: der 0.2s ease-out; }
  @keyframes sube { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
  @keyframes izq { from { transform: translateX(28px); opacity: 0.3; } to { transform: none; opacity: 1; } }
  @keyframes der { from { transform: translateX(-28px); opacity: 0.3; } to { transform: none; opacity: 1; } }
  body, .carta, .ficha { transition: background-color 0.25s ease; }
}
