/*
  BASKEZ · Web (portada completa)
  Dirección aprobada: «Ficha de cata». Archivo en dos anchos, espuma y vidrio como base,
  un campo de color por variedad y el oro reservado para la firma.

  Reglas para Zoho Sites:
  - Todo cuelga de .bkz-hero o de clases bkz-: nada global salvo lo marcado como "solo prototipo".
  - Sin reset global; el box-sizing se aplica solo dentro de nuestros bloques.
  - Variables con prefijo --bkz- para no chocar con las de la plantilla.
*/

/* ---------- Tokens ---------- */
.bkz-header,
.bkz-toast,
.bkz-float,
.bkz-hero,
.bkz-main,
.bkz-footer,
.bkz-age,
.bkz-skip,
.bkz-devbar,
.bkz-admin-login,
.bkz-admin-bar,
.bkz-admin-drawer,
.bkz-legal,
.bkz-legal__top {
  --bkz-foam: #F6EEDF;
  --bkz-malt: #EFE4D0;
  --bkz-glass: #2A1A10;
  --bkz-muted: #6B5848;
  --bkz-line: #E3D4BC;
  --bkz-gold: #B57F28;
  --bkz-gold-text: #8A5E17;

  --bkz-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --bkz-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --bkz-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --bkz-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --bkz-gutter: max(16px, env(safe-area-inset-left, 0px));
  --bkz-gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

.bkz-hero *, .bkz-hero *::before, .bkz-hero *::after,
.bkz-main *, .bkz-main *::before, .bkz-main *::after,
.bkz-footer *, .bkz-age *, .bkz-float *, .bkz-header * { box-sizing: border-box; }

/* ---------- Solo prototipo (en Zoho lo pone la plantilla) ---------- */
.bkz-page { margin: 0; background: #F6EEDF; color: #2A1A10; -webkit-font-smoothing: antialiased; }

/* ---------- Utilidades ---------- */
.bkz-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bkz-skip {
  position: absolute; left: var(--bkz-gutter); top: 8px; z-index: 50;
  padding: 10px 14px; border-radius: 6px; background: var(--bkz-glass); color: var(--bkz-foam);
  font: 600 15px/1.2 var(--bkz-text); text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--bkz-ease-out);
}
.bkz-skip:focus-visible { transform: translateY(0); outline: 2px solid var(--bkz-gold); outline-offset: 2px; }

/* =========================================================
   1. BASE: sin JavaScript o con movimiento reducido.
      Las variedades se leen una tras otra; nada depende de scripts.
   ========================================================= */
.bkz-hero {
  position: relative;
  background: var(--bkz-foam);
  color: var(--bkz-glass);
  font-family: var(--bkz-text);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
}
.bkz-hero :focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 3px; border-radius: 4px; }
.bkz-hero ::selection { background: #F3E6CC; color: #2A1A10; }

.bkz-field,
.bkz-bottle,
.bkz-hint,
.bkz-index { display: none; }

.bkz-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--bkz-gutter-r) 0 var(--bkz-gutter);
}
.bkz-brand { display: inline-block; line-height: 0; border-radius: 50%; }
.bkz-brand img { width: 72px; height: auto; }

.bkz-tagline {
  margin: 20px 0 0;
  padding: 0 var(--bkz-gutter-r) 0 var(--bkz-gutter);
  font: 500 17px/1.35 var(--bkz-text);
  font-stretch: 100%;
  color: var(--bkz-muted);
  max-width: 34ch;
  text-wrap: balance;
}

.bkz-beers { display: grid; gap: 0; margin-top: 28px; }

.bkz-beer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--bkz-line);
}
.bkz-beer__copy {
  padding: 32px var(--bkz-gutter-r) 36px var(--bkz-gutter);
  min-width: 0;
  container-type: inline-size;   /* el nombre se ajusta al ancho de la ficha */
}
.bkz-beer__bottle {
  margin: 0;
  background: var(--bkz-beer-field);
  display: grid;
  place-items: center;
  padding-block: 32px;
  order: -1;
}
.bkz-beer__bottle img { height: min(62vh, 520px); width: auto; display: block; filter: drop-shadow(0 18px 22px rgba(42, 26, 16, 0.28)); }

.bkz-beer__name {
  margin: 0;
  font-family: var(--bkz-display);
  font-stretch: 62%;
  font-weight: 800;
  /* 11 letras (Amberstruck) caben en ~17cqi: nunca se parte una palabra */
  font-size: min(clamp(56px, 15vw, 96px), 16.5cqi);
  line-height: 0.84;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.bkz-beer__name span { display: block; }

.bkz-beer__style {
  margin: 14px 0 0;
  font-size: 19px;
  font-stretch: 75%;
  font-weight: 700;
  line-height: 1.2;
}

.bkz-beer__data {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 20px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--bkz-line);
  font-variant-numeric: tabular-nums;
}
.bkz-beer__data div { min-width: 0; }
.bkz-beer__data dt { font-size: 13px; line-height: 1.3; color: var(--bkz-muted); }
.bkz-beer__data dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; line-height: 1.3; white-space: nowrap; }

.bkz-chip {
  display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px;
  vertical-align: -1px; background: var(--bkz-chip);
  box-shadow: inset 0 0 0 1px rgba(42, 26, 16, 0.2);
}

.bkz-beer__text {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Base en escritorio: ficha a la izquierda, botella sobre su campo a la derecha */
@media (min-width: 900px) {
  .bkz-topbar { padding-top: 28px; }
  .bkz-brand img { width: 88px; }
  .bkz-beer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; }
  .bkz-beer__bottle { order: 0; padding-block: 56px; }
  .bkz-beer__copy { padding: 64px 4vw 64px max(6vw, var(--bkz-gutter)); align-self: center; }
  .bkz-beer__name { font-size: min(clamp(88px, 9vw, 150px), 16.5cqi); }
  .bkz-tagline { padding-left: max(6vw, var(--bkz-gutter)); }
}

/* =========================================================
   2. EXPERIENCIA: el script añade .bkz-is-enhanced cuando hay
      GSAP y no se ha pedido reducir el movimiento.
   ========================================================= */
.bkz-is-enhanced .bkz-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  --bkz-field-color: #E8CF98;
  --bkz-on-field: #2A1A10;
}

/* Campo de color de la variedad: ocupa la derecha en escritorio y la parte alta en móvil */
.bkz-is-enhanced .bkz-field {
  display: block;
  position: absolute;
  inset: 0 0 42% 0;
  background: var(--bkz-field-color);
  z-index: 0;
}

.bkz-is-enhanced .bkz-topbar {
  position: absolute; z-index: 7; top: 0; left: 0; right: 0;
  padding: max(14px, env(safe-area-inset-top, 0px)) var(--bkz-gutter-r) 0 var(--bkz-gutter);
}
.bkz-is-enhanced .bkz-brand img { width: 56px; filter: drop-shadow(0 2px 6px rgba(42, 26, 16, 0.18)); }

/* Escenario de la botella (canvas 3D; las fotos sirven de cartel mientras carga) */
.bkz-is-enhanced .bkz-bottle {
  display: block;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 2.5%;
  height: 49%;
  aspect-ratio: 0.62;
  transform: translateX(-50%);
  pointer-events: none;
}
.bkz-bottle canvas,
.bkz-bottle .bkz-bottle__img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.bkz-bottle .bkz-bottle__img { object-fit: contain; object-position: 50% 100%; padding: 4% 0 6%; }
.bkz-bottle__shadow {
  position: absolute; left: 50%; bottom: 3.5%; width: 42%; height: 4%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 26, 16, 0.38), rgba(42, 26, 16, 0));
}
.bkz-mode-3d .bkz-bottle canvas { opacity: 0; transition: opacity 400ms var(--bkz-ease-out); }
.bkz-mode-3d.bkz-3d-ready .bkz-bottle canvas { opacity: 1; }
.bkz-mode-3d.bkz-3d-ready .bkz-bottle .bkz-bottle__img { opacity: 0; transition: opacity 400ms var(--bkz-ease-out); }

/* Ficha: en móvil es la hoja inferior */
.bkz-is-enhanced .bkz-panel {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  padding: 18px var(--bkz-gutter-r) max(18px, env(safe-area-inset-bottom, 0px)) var(--bkz-gutter);
  background: var(--bkz-foam);
}
.bkz-is-enhanced .bkz-tagline {
  margin: 0; padding: 0;
  font-size: 13px; line-height: 1.3; max-width: none;
}
.bkz-is-enhanced .bkz-beers { position: relative; margin-top: 8px; height: calc(100% - 26px); container-type: inline-size; }
.bkz-is-enhanced .bkz-beer {
  position: absolute; inset: 0;
  display: block;
  border: 0;
  visibility: hidden;
}
.bkz-is-enhanced .bkz-beer.is-active { visibility: visible; }
.bkz-is-enhanced .bkz-beer__bottle { display: none; }
.bkz-is-enhanced .bkz-beer__copy { padding: 0; }
/* El nombre nunca se parte a mitad de palabra: el tamaño se limita al ancho de la ficha (11 letras caben en 17.5cqi) */
/* padding-top deja sitio a las tildes de las mayúsculas (Á de Aipapá) dentro de la máscara */
.bkz-is-enhanced .bkz-beer__name { font-size: min(clamp(44px, 13vw, 72px), 17.5cqi); overflow: hidden; overflow-wrap: normal; padding-top: 0.16em; margin-top: -0.16em; padding-bottom: 0.04em; }
.bkz-is-enhanced .bkz-beer__style { margin-top: 8px; font-size: 16px; }
.bkz-is-enhanced .bkz-beer__data { margin-top: 10px; padding-top: 10px; gap: 6px 20px; }
.bkz-is-enhanced .bkz-beer__data dd { font-size: 15px; }
.bkz-is-enhanced .bkz-beer__text {
  margin-top: 10px; font-size: 15px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-height: 700px) and (max-width: 899px) {
  .bkz-is-enhanced .bkz-beer__text { display: none; }
}
/* La presentación sobra en la hoja móvil: se ve en la ficha completa más abajo */
.bkz-is-enhanced .bkz-beer__data div:last-child { display: none; }

/* Índice de chapas */
.bkz-is-enhanced .bkz-index {
  display: block;
  position: absolute; z-index: 6;
  left: var(--bkz-gutter); right: var(--bkz-gutter-r);
  top: calc(58% - 46px);
}
.bkz-index ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.bkz-index a {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 44px; border-radius: 50%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.bkz-index a::before {
  content: "";
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bkz-cap);
  box-shadow: 0 0 0 1.5px var(--bkz-on-field), 0 1px 3px rgba(42, 26, 16, 0.3);
  opacity: 0.55;
  transform: scale(0.8);
  transition: transform 200ms var(--bkz-ease-out), opacity 200ms var(--bkz-ease-out), box-shadow 200ms var(--bkz-ease-out);
}
.bkz-index a[aria-current="true"]::before { opacity: 1; transform: scale(1); box-shadow: 0 0 0 2.5px var(--bkz-on-field), 0 1px 3px rgba(42, 26, 16, 0.3); }
.bkz-index a:active::before { transform: scale(0.72); }
@media (hover: hover) and (pointer: fine) {
  .bkz-index a:hover::before { opacity: 1; }
}
.bkz-index a:focus-visible { outline-color: var(--bkz-on-field); }

.bkz-is-enhanced .bkz-hint {
  display: none;
  position: absolute; z-index: 6;
  left: var(--bkz-gutter); top: calc(57% - 40px);
  margin: 0;
  font-size: 13px; line-height: 1.3; font-weight: 600;
  color: var(--bkz-on-field);
  transition: opacity 300ms var(--bkz-ease-out);
}
.bkz-hint.is-hidden { opacity: 0; }

/* Deslizar a los lados: el escenario acepta el arrastre horizontal y deja pasar el scroll vertical */
.bkz-is-enhanced .bkz-stage { touch-action: pan-y; }
@media (hover: hover) and (pointer: fine) {
  .bkz-is-enhanced .bkz-stage { cursor: grab; }
  .bkz-is-enhanced .bkz-stage.is-dragging { cursor: grabbing; }
  .bkz-is-enhanced .bkz-stage a, .bkz-is-enhanced .bkz-stage button { cursor: pointer; }
}
.bkz-stage.is-dragging { user-select: none; -webkit-user-select: none; }
.bkz-is-enhanced .bkz-stage img, .bkz-is-enhanced .bkz-stage canvas { -webkit-user-drag: none; user-select: none; }
/* Que el gesto de dos dedos no dispare «atrás/adelante» del navegador */
html:has(.bkz-is-enhanced) { overscroll-behavior-x: none; }
.bkz-arrow { display: none; }
.bkz-is-enhanced .bkz-arrow {
  display: grid; place-items: center;
  position: absolute; z-index: 6;
  top: calc(2.5% + 24.5% - 24px);
  width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%;
  color: var(--bkz-on-field);
  background: color-mix(in srgb, var(--bkz-foam) 55%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bkz-on-field) 35%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 160ms var(--bkz-ease-out), opacity 200ms var(--bkz-ease-out), background-color 200ms var(--bkz-ease-out);
}
.bkz-is-enhanced .bkz-arrow--prev { left: var(--bkz-gutter); }
.bkz-is-enhanced .bkz-arrow--next { right: var(--bkz-gutter-r); }
.bkz-is-enhanced .bkz-arrow:active { transform: scale(0.94); }
.bkz-is-enhanced .bkz-arrow:disabled { opacity: 0.28; cursor: default; }
.bkz-is-enhanced .bkz-arrow:focus-visible { outline: 2px solid var(--bkz-on-field); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .bkz-is-enhanced .bkz-arrow:not(:disabled):hover { background: color-mix(in srgb, var(--bkz-foam) 85%, transparent); }
}

/* Escritorio: ficha a la izquierda, campo a la derecha, botella sobre el borde */
@media (min-width: 900px) {
  .bkz-is-enhanced .bkz-field { inset: 0 0 0 58%; }
  .bkz-is-enhanced .bkz-topbar { padding-top: max(28px, env(safe-area-inset-top, 0px)); padding-left: max(6vw, var(--bkz-gutter)); }
  .bkz-is-enhanced .bkz-brand img { width: 80px; filter: none; }

  .bkz-is-enhanced .bkz-bottle {
    left: 58%;
    top: 6%;
    height: 88%;
  }

  .bkz-is-enhanced .bkz-panel {
    top: 0; bottom: 0; right: auto;
    width: 46%;
    height: auto;
    padding: 0 0 0 max(6vw, var(--bkz-gutter));
    background: transparent;
    display: flex; flex-direction: column; justify-content: center;
  }
  .bkz-is-enhanced .bkz-tagline { font-size: 16px; padding-top: 72px; }
  .bkz-is-enhanced .bkz-beers { height: 54vh; min-height: 400px; margin-top: 20px; }
  .bkz-is-enhanced .bkz-beer { inset: 0 auto auto 0; width: 100%; }
  .bkz-is-enhanced .bkz-beer__name { font-size: min(clamp(84px, 9.6vw, 168px), 17.5cqi); }
  .bkz-is-enhanced .bkz-beer__style { margin-top: 16px; font-size: 21px; }
  .bkz-is-enhanced .bkz-beer__data { margin-top: 22px; padding-top: 16px; gap: 10px 32px; max-width: 34rem; }
  .bkz-is-enhanced .bkz-beer__data dd { font-size: 17px; }
  .bkz-is-enhanced .bkz-beer__data div:last-child { display: block; }
  .bkz-is-enhanced .bkz-beer__text { margin-top: 18px; font-size: 17px; line-height: 1.55; -webkit-line-clamp: 6; max-width: 44ch; }

  .bkz-is-enhanced .bkz-index { top: 50%; left: auto; right: max(2.5vw, var(--bkz-gutter-r)); transform: translateY(-50%); }
  .bkz-index a { width: 44px; height: 40px; }
  .bkz-index ol { flex-direction: column; }

  .bkz-is-enhanced .bkz-hint { display: block; top: auto; bottom: 32px; left: max(6vw, var(--bkz-gutter)); color: var(--bkz-muted); }

  /* Flechas juntas abajo, sobre el campo de color */
  .bkz-is-enhanced .bkz-arrow { top: auto; bottom: 28px; }
  .bkz-is-enhanced .bkz-arrow--prev { left: auto; right: calc(max(2.5vw, var(--bkz-gutter-r)) + 60px); }
  .bkz-is-enhanced .bkz-arrow--next { right: max(2.5vw, var(--bkz-gutter-r)); }
}

/* Pantallas bajas de escritorio */
@media (min-width: 900px) and (max-height: 720px) {
  .bkz-is-enhanced .bkz-beer__name { font-size: min(clamp(72px, 7.4vw, 120px), 17.5cqi); }
  .bkz-is-enhanced .bkz-beer__text { -webkit-line-clamp: 3; }
}



/* Movimiento reducido: el script no activa la experiencia; esto es solo un seguro extra */
@media (prefers-reduced-motion: reduce) {
  .bkz-skip, .bkz-index a::before, .bkz-hint { transition: none; }
}

/* =========================================================
   4. NAVEGACIÓN
   ========================================================= */
.bkz-nav { position: relative; }
.bkz-nav__toggle { display: none; }
.bkz-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 20px;
  font: 600 15px/1.2 var(--bkz-text);
}
.bkz-nav__list a {
  display: inline-block; padding: 10px 2px;
  color: inherit; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1.5px no-repeat;
  transition: background-size 220ms var(--bkz-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .bkz-nav__list a:hover { background-size: 100% 1.5px; }
}
/* Con JS y en móvil: botón «Menú» y panel desplegable */
.bkz-js .bkz-nav__toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1.5px solid currentColor; border-radius: 99px; background: transparent; color: inherit;
  font: 600 14px/1 var(--bkz-text); cursor: pointer;
  transition: transform 160ms var(--bkz-ease-out);
}
.bkz-js .bkz-nav__toggle:active { transform: scale(0.97); }
.bkz-js .bkz-nav__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  min-width: 13rem; padding: 8px;
  flex-direction: column; gap: 0;
  background: var(--bkz-foam); color: var(--bkz-glass);
  border-radius: 10px; box-shadow: 0 12px 32px rgba(42, 26, 16, 0.18);
  transform-origin: top right;
  opacity: 0; transform: scale(0.96) translateY(-4px); visibility: hidden;
  transition: opacity 180ms var(--bkz-ease-out), transform 180ms var(--bkz-ease-out), visibility 0s 180ms;
}
.bkz-js .bkz-nav__list.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.bkz-js .bkz-nav__list a { display: block; padding: 12px 12px; border-radius: 6px; background: none; }
@media (hover: hover) and (pointer: fine) { .bkz-js .bkz-nav__list a:hover { background: var(--bkz-malt); } }
.bkz-is-enhanced .bkz-nav { color: var(--bkz-on-field); }

@media (min-width: 900px) {
  .bkz-js .bkz-nav__toggle { display: none; }
  .bkz-js .bkz-nav__list {
    position: static; min-width: 0; padding: 0;
    flex-direction: row; gap: 4px 28px;
    background: none; color: inherit; box-shadow: none;
    opacity: 1; transform: none; visibility: visible;
  }
  .bkz-js .bkz-nav__list a { padding: 10px 2px; border-radius: 0;
    background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1.5px no-repeat; }
  @media (hover: hover) and (pointer: fine) { .bkz-js .bkz-nav__list a:hover { background-size: 100% 1.5px; } }
  .bkz-is-enhanced .bkz-topbar { padding-right: max(6vw, var(--bkz-gutter-r)); }
}

/* =========================================================
   5. SECCIONES
   ========================================================= */
.bkz-main {
  background: var(--bkz-foam); color: var(--bkz-glass);
  font-family: var(--bkz-text); font-size: 17px; line-height: 1.55; font-stretch: 100%;
}
.bkz-main :focus-visible, .bkz-footer :focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 3px; border-radius: 4px; }
.bkz-main ::selection { background: #F3E6CC; color: #2A1A10; }
.bkz-wrap { max-width: 84rem; margin: 0 auto; padding-left: var(--bkz-gutter); padding-right: var(--bkz-gutter-r); }
@media (min-width: 900px) { .bkz-wrap { padding-left: max(6vw, var(--bkz-gutter)); padding-right: max(6vw, var(--bkz-gutter-r)); } }
.bkz-section { padding-block: clamp(72px, 11vw, 152px); scroll-margin-top: 16px; }

.bkz-h2 {
  margin: 0;
  font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800;
  font-size: clamp(52px, 9vw, 128px); line-height: 0.86; letter-spacing: -0.005em;
  text-transform: uppercase; text-wrap: balance;
}
.bkz-lead { margin: 20px 0 0; max-width: 42ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; text-wrap: pretty; }
.bkz-section__head { display: grid; gap: 0 48px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .bkz-section__head { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
  .bkz-section__head .bkz-lead { justify-self: end; text-align: right; margin: 0; }
}

.bkz-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; margin-top: 28px;
  border: 0; border-radius: 6px;
  background: var(--bkz-gold); color: var(--bkz-glass);
  font: 700 16px/1.1 var(--bkz-text); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--bkz-ease-out), background-color 200ms ease;
}
.bkz-button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .bkz-button:hover { background: #C89E58; } }
.bkz-button--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bkz-glass); }
@media (hover: hover) and (pointer: fine) { .bkz-button--ghost:hover { background: var(--bkz-malt); } }

/* Contenido que debe aportar el cliente: visible y honesto en el prototipo */
.bkz-pending, mark.bkz-pending {
  margin-top: 28px; max-width: 46ch; padding: 12px 16px;
  border: 1.5px dashed #B9A894; border-radius: 8px;
  color: var(--bkz-muted); font-size: 14.5px; line-height: 1.45;
}
.bkz-pending p { margin: 0; }
.bkz-pending strong { color: var(--bkz-glass); }
.bkz-pending-mark { margin-left: 1px; color: var(--bkz-gold-text); font-weight: 700; }
.bkz-pending-inline { opacity: 0.75; }

/* ---- Sobre BASKEZ ---- */
.bkz-about__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .bkz-about__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 72px; } }
.bkz-about__seal { width: min(64vw, 320px); height: auto; justify-self: center; transform: rotate(-8deg); }
.bkz-about__quote { margin: 36px 0 0; padding: 0; }
.bkz-about__quote p {
  margin: 0; max-width: 26ch;
  font-family: var(--bkz-display); font-stretch: 75%; font-weight: 600;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.15; text-wrap: balance;
}

/* ---- Contacto ---- */
.bkz-contact { border-top: 1px solid var(--bkz-line); }
.bkz-contact__list { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; border-top: 2px solid var(--bkz-glass); }
.bkz-contact__list li {
  display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--bkz-line); align-items: baseline;
}
@media (min-width: 700px) { .bkz-contact__list li { grid-template-columns: 10rem minmax(0, 1fr); } }
.bkz-contact__k { font-size: 15px; color: var(--bkz-muted); }
.bkz-contact__list a {
  color: var(--bkz-glass); text-decoration: none; overflow-wrap: anywhere;
  font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.15;
  background: linear-gradient(var(--bkz-gold), var(--bkz-gold)) 0 100% / 0 2px no-repeat;
  transition: background-size 240ms var(--bkz-ease-out);
}
@media (hover: hover) and (pointer: fine) { .bkz-contact__list a:hover { background-size: 100% 2px; } }

/* ---- Pie ---- */
.bkz-footer {
  background: var(--bkz-glass); color: #F1E9DC;
  font: 400 15px/1.5 var(--bkz-text);
  padding-block: 56px max(72px, calc(env(safe-area-inset-bottom, 0px) + 56px));
}
.bkz-footer__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 800px) { .bkz-footer__grid { grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; } }
.bkz-footer img { width: 72px; height: auto; }
.bkz-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.bkz-footer a { color: inherit; display: inline-block; padding: 8px 0; text-underline-offset: 4px; }
.bkz-footer__legal { margin: 0; color: #CBBBA6; font-size: 14px; }
.bkz-footer :focus-visible { outline-color: #C89E58; }

/* ---- Verificación de edad ---- */
.bkz-age {
  max-width: min(92vw, 26rem); padding: 32px 28px; border: 0; border-radius: 14px;
  background: var(--bkz-foam); color: var(--bkz-glass); text-align: center;
  font-family: var(--bkz-text);
}
.bkz-age::backdrop { background: rgba(42, 26, 16, 0.72); }
.bkz-age__seal { width: 96px; height: auto; }
.bkz-age__title { margin: 16px 0 0; font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: 26px; line-height: 1.15; text-wrap: balance; }
.bkz-age__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bkz-age__no { margin: 20px 0 0; color: var(--bkz-muted); }

/* =========================================================
   6. CABECERA Y PORTADA FLOTANTE
   ========================================================= */
.bkz-header {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(14px, env(safe-area-inset-top, 0px)) var(--bkz-gutter-r) 0 var(--bkz-gutter);
  color: var(--bkz-glass); font-family: var(--bkz-text);
}
.bkz-header .bkz-brand img { width: 60px; height: auto; display: block; }
@media (min-width: 900px) {
  .bkz-header { padding: max(28px, env(safe-area-inset-top, 0px)) max(6vw, var(--bkz-gutter-r)) 0 max(6vw, var(--bkz-gutter)); }
  .bkz-header .bkz-brand img { width: 80px; }
}

.bkz-float {
  --bkz-float-tint: #F6EEDF;
  position: relative; overflow: hidden; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 620px;
  background: color-mix(in srgb, var(--bkz-float-tint) 26%, #F6EEDF);
  transition: background-color 600ms var(--bkz-ease-out);
  color: var(--bkz-glass); font-family: var(--bkz-text);
}
.bkz-float__gl { position: absolute; inset: 0; z-index: 1; }
.bkz-float__gl canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms var(--bkz-ease-out); touch-action: pan-y; }
.bkz-float.is-3d .bkz-float__gl canvas { opacity: 1; }
.bkz-float.is-hovering .bkz-float__gl { cursor: pointer; }

/* Versión estática (sin WebGL, equipo modesto o sin JavaScript): las fotos oficiales en la misma composición, sin animación */
.bkz-float__bottles { position: absolute; inset: 0; z-index: 1; display: none; }
.bkz-float.is-static .bkz-float__bottles,
html:not(.bkz-js) .bkz-float__bottles { display: block; }
.bkz-float__bottle {
  position: absolute; left: var(--mx); top: var(--my); z-index: var(--mz);
  height: calc(21svh * var(--ms)); aspect-ratio: 291 / 1100;
  transform: translate(-50%, -50%);
  border-radius: 40px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 300ms var(--bkz-ease-out);
}
.bkz-float__bottle img {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 18px 20px rgba(42, 26, 16, 0.28));
}
@media (hover: hover) and (pointer: fine) { .bkz-float__bottle:hover { transform: translate(-50%, -50%) scale(1.06); } }
.bkz-float__bottle:focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 6px; }
@media (min-width: 900px) {
  .bkz-float__bottle { left: var(--dx); top: var(--dy); z-index: var(--dz); height: calc(36svh * var(--ds)); }
}

/* Texto: abajo en móvil, centrado en escritorio */
.bkz-float__copy {
  position: absolute; z-index: 3;
  left: var(--bkz-gutter); right: var(--bkz-gutter-r);
  bottom: max(28px, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.bkz-float__copy a { pointer-events: auto; }
.bkz-float__title {
  margin: 0;
  font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800;
  font-size: clamp(48px, 13.5vw, 136px); line-height: 0.86; letter-spacing: -0.005em;
  text-transform: uppercase; text-wrap: balance;
}
@media (min-width: 900px) { .bkz-float__title { font-size: clamp(64px, 6.6vw, 112px); } }
/* «BASKEZ» con las letras reales del logo (máscara del wordmark, toma el color del texto) */
.bkz-float__pre { display: block; font-size: 15px; font-stretch: 100%; font-weight: 600; line-height: 1; letter-spacing: 0.16em; margin-bottom: 10px; color: var(--bkz-muted); }
.bkz-wordmark {
  display: block; width: min(64%, 15rem); aspect-ratio: 1192 / 299;
  background-color: currentColor;
  -webkit-mask: url("../assets/baskez-wordmark.webp") center / contain no-repeat;
  mask: url("../assets/baskez-wordmark.webp") center / contain no-repeat;
}
@media (min-width: 900px) { .bkz-wordmark { width: min(62%, 20rem); margin: 0 auto; } }
.bkz-float__lead { margin: 18px 0 0; max-width: 34ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.45; }
.bkz-float__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (min-width: 900px) {
  .bkz-float__copy {
    left: 50%; right: auto; bottom: auto; top: 50%;
    width: min(40vw, 34rem);
    transform: translate(-50%, -46%);
    text-align: center;
  }
  .bkz-float__lead { margin-left: auto; margin-right: auto; }
  .bkz-float__actions { justify-content: center; }
}
.bkz-float__tag {
  position: absolute; z-index: 5; left: 0; top: 0; margin: 0;
  padding: 6px 10px; border-radius: 6px;
  background: var(--bkz-glass); color: #F6EEDF;
  font: 700 14px/1.2 var(--bkz-text); white-space: nowrap;
  pointer-events: none; opacity: 0;
  transition: opacity 150ms var(--bkz-ease-out);
}
.bkz-float__tag.is-visible { opacity: 1; }

/* La sección de fichas ya no lleva cabecera propia */
@media (min-width: 900px) { .bkz-is-enhanced .bkz-tagline { padding-top: 0; } }

/* =========================================================
   7. ARMA TU EVENTO
   ========================================================= */
.bkz-events { background: var(--bkz-malt); }
.bkz-photos {
  display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 10px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.bkz-photos figure { margin: 0; min-width: 0; }
.bkz-photos img { display: block; width: 100%; height: clamp(150px, 26vw, 360px); object-fit: cover; border-radius: 10px; }

.bkz-builder { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .bkz-builder { grid-template-columns: minmax(0, 1fr) 24rem; gap: 56px; } }

.bkz-step { margin: 0 0 48px; padding: 20px 0 0; border: 0; border-top: 2px solid var(--bkz-glass); min-width: 0; }
.bkz-step[hidden] { display: none; }
.bkz-step__title {
  float: left; width: 100%; padding: 0; margin: 0 0 6px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1;
}
.bkz-step__title span {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bkz-gold); color: var(--bkz-glass);
  font-family: var(--bkz-text); font-stretch: 100%; font-size: 15px; font-weight: 700;
}
.bkz-step > :not(legend) { clear: both; }
.bkz-step__hint { clear: both; margin: 0 0 16px; font-size: 15px; color: var(--bkz-muted); }

.bkz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bkz-chipopt {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px 0 10px; border-radius: 99px;
  background: #F6EEDF; box-shadow: inset 0 0 0 1.5px #D9CDBB;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--bkz-ease-out);
}
.bkz-chipopt:active { transform: scale(0.97); }
.bkz-chipopt__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--bkz-cap); box-shadow: 0 0 0 1.5px rgba(42, 26, 16, 0.35); }
.bkz-chipopt:has(input:checked) { background: var(--bkz-glass); color: #F6EEDF; box-shadow: none; }
.bkz-chipopt:has(input:checked) .bkz-chipopt__dot { box-shadow: 0 0 0 1.5px #F6EEDF; }
.bkz-keg { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.bkz-keg legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--bkz-muted); font-variant-numeric: tabular-nums; }

.bkz-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #D9CDBB; }
.bkz-box__name { margin: 0; font-weight: 700; font-size: 17px; }
.bkz-box__name span { font-weight: 500; color: var(--bkz-muted); font-size: 15px; margin-left: 6px; }
.bkz-box__desc { margin: 4px 0 0; font-size: 14px; color: var(--bkz-muted); max-width: 46ch; }
.bkz-stepper { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.bkz-stepper button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #F6EEDF; color: var(--bkz-glass); box-shadow: inset 0 0 0 1.5px var(--bkz-glass);
  font: 600 22px/1 var(--bkz-text); touch-action: manipulation;
  transition: transform 140ms var(--bkz-ease-out), opacity 160ms ease;
}
.bkz-stepper button:active { transform: scale(0.94); }
.bkz-stepper button:disabled { opacity: 0.35; cursor: default; }
.bkz-stepper output { min-width: 2.2ch; text-align: center; font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.bkz-house-flavors { margin-top: 16px; }
.bkz-house-flavors[hidden] { display: none; }

.bkz-fields { display: grid; gap: 16px; }
@media (min-width: 700px) { .bkz-fields { grid-template-columns: 1fr 1fr; } .bkz-field-row--wide { grid-column: 1 / -1; } }
.bkz-field-row { display: grid; gap: 6px; min-width: 0; }
.bkz-field-row label { font-size: 14px; font-weight: 700; }
.bkz-field-row label span { font-weight: 400; color: var(--bkz-muted); }
.bkz-field-row input:not([type="radio"]):not([type="checkbox"]), .bkz-field-row select, .bkz-field-row textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 0; border-radius: 8px; background: #FCF8F0; color: var(--bkz-glass);
  box-shadow: inset 0 0 0 1.5px #D9CDBB;
  font: 400 16px/1.4 var(--bkz-text);
  transition: box-shadow 160ms ease;
}
.bkz-field-row input:not([type="radio"]):focus, .bkz-field-row select:focus, .bkz-field-row textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--bkz-glass); }
.bkz-field-row input:focus-visible, .bkz-field-row select:focus-visible, .bkz-field-row textarea:focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 2px; }
.bkz-field-row textarea { resize: vertical; }

.bkz-summary {
  padding: 24px; border-radius: 14px; background: #FCF8F0;
  box-shadow: 0 1px 0 #D9CDBB, 0 18px 40px rgba(42, 26, 16, 0.08);
}
@media (min-width: 1000px) { .bkz-summary { position: sticky; top: 24px; } }
.bkz-summary__title { margin: 0 0 14px; font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: 24px; }
.bkz-summary__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bkz-summary__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--bkz-line); }
.bkz-summary__label { font-weight: 700; font-size: 15.5px; }
.bkz-summary__amount { font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.bkz-summary__detail { grid-column: 1 / -1; font-size: 13.5px; color: var(--bkz-muted); }
.bkz-summary__empty { display: block !important; font-size: 14.5px; color: var(--bkz-muted); border: 0 !important; }
.bkz-summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.bkz-summary__total span { font-size: 15px; font-weight: 700; }
.bkz-summary__total output {
  font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800; font-size: 52px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bkz-button--block { width: 100%; margin-top: 18px; }
.bkz-summary__fine { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--bkz-muted); }
.bkz-warn { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: #FBEBD6; color: #6E3410; font-size: 14px; line-height: 1.4; }
.bkz-error { margin: 14px 0 0; color: #A0461F; font-size: 14.5px; font-weight: 600; }
.bkz-summary__sent { margin: 12px 0 0; font-size: 14px; color: #2F6B3A; font-weight: 600; }
.bkz-warn[hidden], .bkz-error[hidden], .bkz-summary__sent[hidden] { display: none; }

/* Barra de total fija en móvil mientras se arma el evento */
.bkz-totalbar {
  position: sticky; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  margin-top: 32px;
  padding: 12px var(--bkz-gutter-r) max(12px, env(safe-area-inset-bottom, 0px)) var(--bkz-gutter);
  background: var(--bkz-glass); color: #F6EEDF;
  font: 600 14px/1.2 var(--bkz-text);
  transition: transform 260ms var(--bkz-ease-out);
}
.bkz-totalbar output { font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; }
.bkz-totalbar a { margin-left: auto; color: #F6EEDF; text-underline-offset: 4px; }
.bkz-totalbar.is-empty { transform: translateY(110%); }
@media (min-width: 1000px) { .bkz-totalbar { display: none; } }

.bkz-contact__v { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.bkz-contact__addr { font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; }

@media (prefers-reduced-motion: reduce) {
  .bkz-float, .bkz-float__gl canvas, .bkz-totalbar { transition: none; }
}

/* ---- La barra: comparativa por niveles ---- */
.bkz-pkg__name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.bkz-pkg__price {
  font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800; font-size: 30px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bkz-pkg__rows { display: grid; padding: 6px 16px 12px; }
.bkz-pkg__row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 8px; padding: 5px 0; font-size: 14px; line-height: 1.35; }
.bkz-pkg__row + .bkz-pkg__row { border-top: 1px dashed #E3D4BC; }
.bkz-pkg__k { color: var(--bkz-muted); }
.bkz-pkg__v { font-weight: 600; }
.bkz-pkg__v.is-no { color: #B9A894; font-weight: 400; }

.bkz-nobar {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 10px 14px; border-radius: 99px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px #D9CDBB; background: #F6EEDF; font-size: 15px; font-weight: 600;
}
.bkz-nobar:has(input:checked) { box-shadow: inset 0 0 0 2px var(--bkz-glass); background: #FCF8F0; }

/* =========================================================
   8. TIENDA: botón de carrito, añadir caja, carrito y pago
   ========================================================= */
.bkz-header__right { display: flex; align-items: center; gap: 10px; }
@media (min-width: 900px) { .bkz-header__right { flex-direction: row-reverse; gap: 28px; } }
.bkz-cartbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 14px;
  border: 0; border-radius: 99px; background: var(--bkz-glass); color: #F6EEDF;
  font: 600 14px/1 var(--bkz-text); cursor: pointer; touch-action: manipulation;
  transition: transform 160ms var(--bkz-ease-out);
}
.bkz-cartbtn:active { transform: scale(0.97); }
.bkz-cartbtn__n {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px;
  background: rgba(246, 238, 223, 0.16); font-variant-numeric: tabular-nums;
}
.bkz-cartbtn.has-items .bkz-cartbtn__n { background: var(--bkz-gold); color: var(--bkz-glass); }
.bkz-cartbtn:focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 3px; }

.bkz-add {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; padding: 0 18px;
  border: 0; border-radius: 6px; background: var(--bkz-gold); color: var(--bkz-glass);
  font: 700 15px/1.1 var(--bkz-text); cursor: pointer; touch-action: manipulation;
  transition: scale 160ms var(--bkz-ease-out), background-color 200ms ease;
}
.bkz-add:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) { .bkz-add:hover { background: #C89E58; } }
.bkz-add.is-added { animation: bkz-pop 360ms var(--bkz-ease-out); }
/* «scale» (no «transform») para no chocar con el desplazamiento que GSAP aplica a la ficha */
@keyframes bkz-pop { 40% { scale: 1.05; } }
.bkz-add:focus-visible { outline: 2px solid var(--bkz-glass); outline-offset: 3px; }
@media (max-width: 899px) { .bkz-is-enhanced .bkz-add { margin-top: 10px; min-height: 40px; font-size: 14px; } }

.bkz-button--tight { margin-top: 10px; }

/* Aviso «añadido» */
.bkz-toast {
  position: fixed; z-index: 60; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 16px; border-radius: 10px;
  background: var(--bkz-glass); color: #F6EEDF; font: 600 14px/1.3 var(--bkz-text);
  box-shadow: 0 14px 30px rgba(42, 26, 16, 0.3);
  transform: translateX(-50%);
  transition: opacity 200ms ease, transform 200ms var(--bkz-ease-out);
  @starting-style { opacity: 0; transform: translate(-50%, 12px); }
}
.bkz-toast[hidden] { display: none; }
.bkz-toast.is-out { opacity: 0; transform: translate(-50%, 8px); }
.bkz-toast button {
  flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 6px;
  background: var(--bkz-gold); color: var(--bkz-glass); font: 700 14px/1 var(--bkz-text); cursor: pointer;
}

/* Carrito: panel lateral en escritorio, hoja completa en móvil */
.bkz-cart {
  --bkz-foam: #F6EEDF; --bkz-malt: #EFE4D0; --bkz-glass: #2A1A10; --bkz-muted: #6B5848; --bkz-line: #E3D4BC;
  --bkz-gold: #B57F28; --bkz-gold-text: #8A5E17; --bkz-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --bkz-display: "Archivo", "Arial Narrow", Arial, sans-serif; --bkz-text: "Archivo", Arial, sans-serif;
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(100vw, 30rem); height: 100%; max-width: 100vw; max-height: 100dvh;
  background: var(--bkz-foam); color: var(--bkz-glass); font-family: var(--bkz-text);
  overscroll-behavior: contain;
}
.bkz-cart * { box-sizing: border-box; }
.bkz-cart::backdrop { background: rgba(42, 26, 16, 0.5); }
.bkz-cart[open] { animation: bkz-drawer-in 360ms cubic-bezier(0.32, 0.72, 0, 1); }
.bkz-cart[open]::backdrop { animation: bkz-fade-in 300ms ease; }
.bkz-cart.is-closing { animation: bkz-drawer-out 220ms var(--bkz-ease-out) forwards; }
.bkz-cart.is-closing::backdrop { animation: bkz-fade-out 220ms ease forwards; }
@keyframes bkz-drawer-in { from { transform: translateX(100%); } }
@keyframes bkz-drawer-out { to { transform: translateX(100%); } }
@keyframes bkz-fade-in { from { opacity: 0; } }
@keyframes bkz-fade-out { to { opacity: 0; } }
@media (max-width: 599px) {
  .bkz-cart { inset: auto 0 0 0; width: 100vw; height: min(92dvh, 100%); border-radius: 16px 16px 0 0; }
  @keyframes bkz-drawer-in { from { transform: translateY(100%); } }
  @keyframes bkz-drawer-out { to { transform: translateY(100%); } }
}
.bkz-cart__panel { display: flex; flex-direction: column; height: 100%; }
.bkz-cart__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(18px, env(safe-area-inset-top, 0px)) 20px 10px;
}
.bkz-cart__title { margin: 0; font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.bkz-cart__close {
  min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--bkz-malt);
  color: var(--bkz-glass); font: 600 14px/1 var(--bkz-text); cursor: pointer;
}
.bkz-cart__close:focus-visible, .bkz-cart :focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 2px; }
.bkz-cart__steps { list-style: none; margin: 0; padding: 0 20px 12px; display: flex; gap: 6px; border-bottom: 1px solid var(--bkz-line); }
.bkz-cart__steps[hidden] { display: none; }
.bkz-cart__steps li { flex: 1; padding-top: 8px; border-top: 3px solid var(--bkz-line); font-size: 13px; font-weight: 600; color: var(--bkz-muted); }
.bkz-cart__steps li.is-done { border-top-color: #B9A894; }
.bkz-cart__steps li.is-current { border-top-color: var(--bkz-glass); color: var(--bkz-glass); }
.bkz-cart__body { flex: 1; overflow-y: auto; padding: 18px 20px max(24px, env(safe-area-inset-bottom, 0px)); }

.bkz-cart__items, .bkz-cart__lines { list-style: none; margin: 0; padding: 0; display: grid; }
.bkz-cart__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info amount" "qty amount";
  gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--bkz-line); align-items: start;
}
.bkz-cart__item > div:first-child { grid-area: info; min-width: 0; }
.bkz-cart__item .bkz-stepper { grid-area: qty; }
.bkz-cart__item .bkz-cart__amount { grid-area: amount; }
.bkz-cart__label { margin: 0; font-weight: 700; font-size: 15.5px; }
.bkz-cart__detail { display: block; margin: 2px 0 0; font-size: 13.5px; color: var(--bkz-muted); }
.bkz-cart__amount { margin: 0; font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; text-align: right; }
.bkz-cart__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--bkz-line); }
.bkz-cart__lines .bkz-cart__detail { grid-column: 1 / -1; }
.bkz-cart__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.bkz-cart__total span { font-weight: 700; font-size: 15px; }
.bkz-cart__total strong { font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.bkz-cart__muted { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--bkz-muted); }
.bkz-cart__empty { padding-top: 24px; }
.bkz-cart__empty p:first-child { margin: 0; font-weight: 700; font-size: 18px; }
.bkz-cart__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bkz-cart__actions .bkz-button { margin-top: 0; }
.bkz-cart__actions--split > * { flex: 1; }
.bkz-linkbtn { margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--bkz-gold-text); font: 600 13.5px/1.2 var(--bkz-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.bkz-cart__form { display: grid; gap: 14px; }
.bkz-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.bkz-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bkz-glass); }
.bkz-check small { display: block; color: var(--bkz-muted); font-size: 13px; }

.bkz-methods { margin: 16px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.bkz-methods legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.bkz-method {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px;
  border-radius: 10px; background: #FCF8F0; box-shadow: inset 0 0 0 1.5px #D9CDBB; font-weight: 600; font-size: 15px; cursor: pointer;
}
.bkz-method input { width: 18px; height: 18px; margin: 0; accent-color: var(--bkz-glass); }
.bkz-method:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--bkz-glass); }
.bkz-button.is-loading { opacity: 0.8; cursor: progress; }

.bkz-done__id { margin: 0 0 14px; font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
html.bkz-cart-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .bkz-cart[open], .bkz-cart.is-closing, .bkz-cart[open]::backdrop, .bkz-cart.is-closing::backdrop, .bkz-add.is-added { animation: none; }
  .bkz-toast { transition: none; }
}

/* ---- Puntos de venta ---- */
.bkz-points { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 700px) { .bkz-points { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.bkz-point { padding: 18px 20px; border-radius: 12px; background: var(--bkz-malt); }
.bkz-point__name { margin: 0; font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; }
.bkz-point__detail { margin: 4px 0 0; font-size: 15px; color: var(--bkz-muted); }
.bkz-happy {
  display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: 99px;
  background: var(--bkz-gold); color: var(--bkz-glass); font-size: 15px;
}

/* ---- Lugar del evento y entrega (opciones con nota) ---- */
.bkz-venues { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.bkz-venues legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
@media (min-width: 700px) { .bkz-venues { grid-template-columns: 1fr 1fr; } .bkz-venues legend { grid-column: 1 / -1; } }
.bkz-method small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--bkz-muted); }
.bkz-method { padding-block: 10px; align-items: flex-start; }
.bkz-method input { margin-top: 2px; }
.bkz-footer__legal strong { color: #F1E9DC; font-weight: 600; }
@media (min-width: 800px) {
  .bkz-footer__grid { grid-template-columns: auto minmax(0, 1fr); }
  .bkz-footer__legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(241, 233, 220, 0.15); }
}
.bkz-box--keg { margin-top: 4px; border-top: 1px solid #D9CDBB; }
/* Las opciones de sabor muestran el estado con su propio estilo; el control nativo queda oculto pero accesible */
.bkz-chipopt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---- Mix and match y estilo de personalizadas ---- */
.bkz-mixbox { margin-top: 14px; padding: 16px; border-radius: 12px; background: #F6EEDF; box-shadow: inset 0 0 0 1.5px #D9CDBB; }
.bkz-mixbox[hidden] { display: none; }
.bkz-mixbox__title { margin: 0 0 12px; font-weight: 700; font-size: 15.5px; }
.bkz-mixbox__title span { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--bkz-muted); }
.bkz-mix { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }
.bkz-mix__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 5.2rem; align-items: center; gap: 10px;
  padding: 6px 6px 6px 12px; border-radius: 10px; background: #FCF8F0; box-shadow: inset 0 0 0 1px #E3D4BC; cursor: text;
}
.bkz-mix__name { font-weight: 600; font-size: 14.5px; }
.bkz-mix__row input {
  width: 100%; min-height: 40px; padding: 0 8px; border: 0; border-radius: 8px; text-align: center;
  background: #EFE4D0; color: var(--bkz-glass); font: 700 16px/1 var(--bkz-text); font-variant-numeric: tabular-nums;
}
.bkz-mix__row input:focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 1px; }
.bkz-mix__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.bkz-mix__count { margin: 0; font-weight: 700; font-size: 14.5px; color: #A0461F; font-variant-numeric: tabular-nums; }
.bkz-mix__count.is-ok { color: #2F6B3A; }
.bkz-venues__place { grid-column: 1 / -1; margin-top: 4px; }

/* ---------- Tu logo en el mueble (3D) ---------- */
.bkz-mueble {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px);
  margin: clamp(28px, 4vw, 48px) 0; padding: clamp(16px, 2.4vw, 28px); border-radius: 16px;
  background: var(--bkz-malt);
}
.bkz-mueble__view { position: relative; min-width: 0; align-self: start; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #FCF8F0 0%, #ECE5DA 70%, #E3DACB 100%); }
.bkz-mueble__stage { width: 100%; aspect-ratio: 1 / 1; max-height: 620px; cursor: grab; touch-action: pan-y; outline: none; }
.bkz-mueble__stage:focus-visible { box-shadow: inset 0 0 0 2px var(--bkz-gold); }
.bkz-mueble__stage.is-grabbing { cursor: grabbing; }
.bkz-mueble__stage canvas { display: block; width: 100% !important; height: 100% !important; }
.bkz-mueble__photo { display: none; width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.bkz-mueble__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 6px 12px;
  border-radius: 999px; background: rgba(42, 26, 16, 0.72); color: #F6EEDF; font-size: 13px; pointer-events: none;
  opacity: 0; transition: opacity 300ms var(--bkz-ease-out); }
.bkz-mueble.is-3d .bkz-mueble__hint { opacity: 1; }
.bkz-mueble.is-static .bkz-mueble__stage, .bkz-mueble.is-static .bkz-mueble__hint,
.bkz-mueble.is-static .bkz-mueble__dl, .bkz-mueble.is-static .bkz-mueble__upload,
.bkz-mueble.is-static .bkz-mueble__white { display: none; }
.bkz-mueble.is-static .bkz-mueble__photo { display: block; }
.bkz-mueble__panel { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bkz-mueble__title { margin: 0; font-family: var(--bkz-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.bkz-mueble__lead { margin: 0; color: var(--bkz-muted); text-wrap: pretty; }
.bkz-mueble__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.bkz-mueble__group legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.bkz-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.bkz-switch input { width: 18px; height: 18px; accent-color: var(--bkz-glass); }
.bkz-mueble__upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.bkz-mueble__upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bkz-mueble__upload input[type=file]:focus-visible + .bkz-mueble__link,
.bkz-mueble__file:has(+ input:focus-visible) { outline: 2px solid var(--bkz-gold); outline-offset: 2px; }
.bkz-mueble__file { margin: 0; cursor: pointer; }
.bkz-mueble__link { display: none; padding: 4px 0; border: 0; background: none; color: var(--bkz-glass); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bkz-mueble.has-custom-logo .bkz-mueble__link { display: inline; }
.bkz-mueble__white { display: none; }
.bkz-mueble.has-custom-logo .bkz-mueble__white { display: inline-flex; }
.bkz-mueble__status { margin: 0; font-size: 14px; color: var(--bkz-muted); min-height: 0; }
.bkz-mueble__status:empty { display: none; }
.bkz-mueble__status.is-ok { color: #2F6B3A; }
.bkz-mueble__status.is-warn { color: var(--bkz-gold-text); }
.bkz-mueble__status.is-error { color: #A3321F; }
.bkz-mueble__reqs { margin: 0; padding-left: 18px; font-size: 14px; color: var(--bkz-muted); }
.bkz-mueble__reqs li + li { margin-top: 2px; }
.bkz-mueble__note { margin: 0; font-size: 13px; color: var(--bkz-muted); text-wrap: pretty; }
.bkz-mueble__dl { align-self: flex-start; }
@media (max-width: 820px) {
  .bkz-mueble { grid-template-columns: 1fr; }
  .bkz-mueble__stage { aspect-ratio: 4 / 4.2; }
}


/* ---- Barra armable: barriles + extras que se desbloquean ---- */
.bkz-barbuild { display: grid; gap: 18px; margin-top: 6px; padding: 18px; border-radius: 12px; background: #FCF8F0; box-shadow: inset 0 0 0 1px #E3D4BC; }
.bkz-barbuild__kegs { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bkz-barbuild__label { margin: 0; font-weight: 700; font-size: 18px; }
.bkz-barbuild__label span { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--bkz-muted); font-variant-numeric: tabular-nums; }
.bkz-stepper--lg button { width: 48px; height: 48px; font-size: 22px; }
.bkz-stepper--lg output { min-width: 2.4ch; font-size: 26px; }
.bkz-meter { position: relative; height: 10px; margin: 0 0 22px; border-radius: 99px; background: #EFE7DA; }
.bkz-meter__fill {
  position: absolute; inset: 0; border-radius: inherit; background: var(--bkz-gold);
  transform: scaleX(var(--fill, 0)); transform-origin: 0 50%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bkz-meter__mark { position: absolute; top: 50%; left: calc(var(--at) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #FCF8F0; box-shadow: inset 0 0 0 2px #D9CDBB; transition: box-shadow 200ms ease, background-color 200ms ease; }
.bkz-meter__mark:last-child { margin-left: -16px; }
.bkz-meter__mark span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 700; color: var(--bkz-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bkz-meter__mark:last-child span { left: auto; right: 0; transform: none; }
.bkz-meter__mark.is-reached { background: var(--bkz-glass); box-shadow: inset 0 0 0 2px var(--bkz-glass); }
.bkz-meter__mark.is-reached span { color: var(--bkz-glass); }
.bkz-kegflavors { margin-top: 22px; }
.bkz-kegflavors[hidden], .bkz-perks-wrap[hidden], .bkz-perks__mueble[hidden] { display: none; }

.bkz-perks-wrap { margin-top: 20px; }
.bkz-perks__title { margin: 0 0 10px; font-weight: 700; font-size: 16px; }
.bkz-perks__title span { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--bkz-muted); }
.bkz-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bkz-perk__label {
  position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; background: #FCF8F0; box-shadow: inset 0 0 0 1px #E3D4BC; cursor: pointer;
  transition: box-shadow 160ms ease, background-color 160ms ease, opacity 200ms ease, transform 160ms ease;
}
.bkz-perk__label:active { transform: scale(0.99); }
.bkz-perk__label > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bkz-perk__box { width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--bkz-glass); display: grid; place-items: center; transition: background-color 160ms ease; }
.bkz-perk__box svg { width: 16px; height: 16px; fill: none; stroke: #F6EEDF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 240ms ease 40ms; }
.bkz-perk__name { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.bkz-perk__desc { display: block; margin-top: 2px; font-size: 14px; line-height: 1.35; color: var(--bkz-muted); }
.bkz-perk__state { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--bkz-muted); white-space: nowrap; }
.bkz-perk__state svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; display: none; }
.bkz-perk.is-on .bkz-perk__label { box-shadow: inset 0 0 0 2px var(--bkz-glass); }
.bkz-perk.is-on .bkz-perk__box { background: var(--bkz-glass); }
.bkz-perk.is-on .bkz-perk__box svg { stroke-dashoffset: 0; }
.bkz-perk input:focus-visible + .bkz-perk__box { outline: 2px solid var(--bkz-gold); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .bkz-perk:not(.is-on) .bkz-perk__label:hover { box-shadow: inset 0 0 0 1.5px var(--bkz-glass); }
}
.bkz-perks__mueble { display: inline-block; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .bkz-meter__fill, .bkz-perk__label, .bkz-perk__box svg { transition: none; }
}
.bkz-perk__price { font-size: 14.5px; color: var(--bkz-glass); font-variant-numeric: tabular-nums; }

/* Medidor dinámico: las marcas se reparten en el mismo ancho y se deslizan al cambiar */
.bkz-meter__marks { position: absolute; inset: 0; }
.bkz-meter__marks .bkz-meter__mark:last-child { margin-left: -8px; }
.bkz-meter__marks .bkz-meter__mark.is-last { margin-left: -16px; }
.bkz-meter__marks .bkz-meter__mark span { transition: opacity 200ms ease; }
.bkz-meter__marks .bkz-meter__mark.is-last span { left: auto; right: 0; transform: none; }
.bkz-meter__marks .bkz-meter__mark {
  transition: left 480ms cubic-bezier(0.22, 1, 0.36, 1), margin 480ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease, background-color 220ms ease, opacity 220ms ease;
}
.bkz-meter__marks .bkz-meter__mark.is-entering { opacity: 0; transition: none; }
.bkz-meter__fill { transition: transform 560ms cubic-bezier(0.34, 1.36, 0.64, 1); }
@keyframes bkz-mark-pop { 0% { transform: scale(1); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }
.bkz-meter__mark.is-pop { animation: bkz-mark-pop 420ms cubic-bezier(0.22, 1, 0.36, 1) 120ms; }
@media (max-width: 560px) {
  .bkz-meter__marks.is-dense .bkz-meter__mark:not(.is-odd):not(.is-last) span { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bkz-meter__marks .bkz-meter__mark, .bkz-meter__fill { transition: none; }
  .bkz-meter__mark.is-pop { animation: none; }
}

/* Vasos grabados en 3D (extra Recuerdos) */
.bkz-vasos { display: grid; gap: 16px; margin-top: 8px; padding: 14px; border-radius: 10px; background: #FCF8F0; box-shadow: inset 0 0 0 1px #E3D4BC; }
.bkz-vasos[hidden] { display: none; }
.bkz-vasos__view { position: relative; border-radius: 8px; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #FCF8F0 0%, #F3EEE6 100%); }
.bkz-vasos__stage { aspect-ratio: 1 / 1; width: 100%; cursor: grab; touch-action: pan-y; outline: none; }
.bkz-vasos__stage:active { cursor: grabbing; }
.bkz-vasos__stage:focus-visible { box-shadow: inset 0 0 0 2px var(--bkz-gold); }
.bkz-vasos__stage canvas { display: block; width: 100%; height: 100%; }
.bkz-vasos__photo { display: none; width: 100%; height: auto; }
.bkz-vasos.is-static .bkz-vasos__stage { display: none; }
.bkz-vasos.is-static .bkz-vasos__photo { display: block; }
.bkz-vasos__badge { position: absolute; top: 10px; left: 10px; margin: 0; padding: 4px 10px; border-radius: 99px; background: rgba(42, 26, 16, 0.82); color: #F6EEDF; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; pointer-events: none; }
.bkz-vasos__fields { display: grid; gap: 12px; align-content: start; }
.bkz-vasos__fields .bkz-field-row input, .bkz-vasos__fields .bkz-field-row textarea { box-shadow: inset 0 0 0 1px #D9CDBB; }
.bkz-vasos__styles { margin: 0; padding: 0; border: 0; min-width: 0; }
.bkz-vasos__styles legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.bkz-chipopt--plain { padding-left: 14px; }
.bkz-vasos__note { margin: 0; padding: 10px 12px; border-radius: 8px; background: #F3E6CC; font-size: 13.5px; line-height: 1.45; }
@media (min-width: 700px) { .bkz-vasos { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
@media (prefers-reduced-motion: no-preference) { .bkz-vasos:not([hidden]) { animation: bkz-vasos-in 320ms cubic-bezier(0.22, 1, 0.36, 1); } }
@keyframes bkz-vasos-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- Modo administrador ---- */
.bkz-admin-key { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: default; }
.bkz-admin-key:focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 2px; }
.bkz-admin-login { width: min(92vw, 400px); padding: 0; border: 0; border-radius: 14px; background: var(--bkz-foam); color: var(--bkz-glass); box-shadow: 0 24px 60px rgba(42, 26, 16, 0.3); }
.bkz-admin-login::backdrop { background: rgba(42, 26, 16, 0.45); }
.bkz-admin-login__form { display: grid; gap: 14px; padding: 24px; }
.bkz-admin-login h2 { margin: 0; font: 800 26px/1.1 var(--bkz-display); font-stretch: 62%; text-transform: uppercase; }
.bkz-admin-login p { margin: 0; font-size: 15px; }
.bkz-admin-login .bkz-field-row input { box-shadow: inset 0 0 0 1px #D9CDBB; }
.bkz-admin-login__error { padding: 8px 10px; border-radius: 8px; background: #F6DCD6; color: #7A1E10; font-size: 14px; }
.bkz-admin-login__error[hidden] { display: none; }
.bkz-admin-login__actions { display: flex; justify-content: flex-end; gap: 10px; }

.bkz-admin-bar {
  position: fixed; z-index: 1000; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; width: min(calc(100vw - 24px), 760px);
  padding: 10px 12px 10px 16px; border-radius: 14px; background: var(--bkz-glass); color: #F6EEDF;
  box-shadow: 0 16px 40px rgba(42, 26, 16, 0.35); font-size: 14px;
}
.bkz-admin-bar[hidden] { display: none; }
.bkz-admin-bar p { margin: 0; }
.bkz-admin-bar__title { flex: 1 1 220px; }
.bkz-admin-bar__title span { color: #D9CDBB; }
.bkz-admin-bar__status { font-weight: 600; color: #D9CDBB; }
.bkz-admin-bar__status.is-dirty { color: #F2C46B; }
.bkz-admin-bar__status.is-ok { color: #9FD8A4; }
.bkz-admin-bar__status.is-error { color: #F4A493; }
.bkz-admin-bar__actions { display: flex; gap: 6px; }
.bkz-admin-btn { min-height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: rgba(246, 238, 223, 0.12); color: inherit; font: 600 14px/1 var(--bkz-text); cursor: pointer; }
.bkz-admin-btn:disabled { opacity: 0.45; cursor: default; }
.bkz-admin-btn--primary { background: var(--bkz-gold); color: var(--bkz-glass); }
.bkz-admin-btn:focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 2px; }

.bkz-admin-drawer {
  position: fixed; z-index: 999; top: 0; right: 0; bottom: 0; width: min(100vw, 420px);
  display: flex; flex-direction: column; background: var(--bkz-foam); color: var(--bkz-glass);
  box-shadow: -12px 0 40px rgba(42, 26, 16, 0.25);
}
.bkz-admin-drawer[hidden] { display: none; }
.bkz-admin-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--bkz-glass); color: #F6EEDF; }
.bkz-admin-drawer__head p { margin: 0; font-weight: 700; }
.bkz-admin-drawer__body { flex: 1; overflow-y: auto; padding: 8px 16px 120px; overscroll-behavior: contain; }
.bkz-admin-part h2 { margin: 18px 0 8px; font: 800 22px/1.1 var(--bkz-display); font-stretch: 62%; text-transform: uppercase; }
.bkz-admin-group h3 { margin: 16px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bkz-muted); }
.bkz-admin-field { display: grid; gap: 4px; padding: 8px 0; border-bottom: 1px solid #E3D4BC; }
.bkz-admin-field label { font-size: 14px; font-weight: 700; }
.bkz-admin-field input, .bkz-admin-field textarea {
  width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: #FCF8F0; color: var(--bkz-glass);
  box-shadow: inset 0 0 0 1px #D9CDBB; font: 500 15px/1.4 var(--bkz-text); resize: vertical;
}
.bkz-admin-field input:focus, .bkz-admin-field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--bkz-glass); }
.bkz-admin-money { display: flex; align-items: center; gap: 6px; max-width: 12rem; }
.bkz-admin-money span { font-weight: 700; }
.bkz-admin-reset { justify-self: start; padding: 2px 0; border: 0; background: none; color: var(--bkz-gold-text); font: 600 13px/1.2 var(--bkz-text); text-decoration: underline; cursor: pointer; }
.bkz-admin-reset[hidden] { display: none; }
.bkz-admin-note { margin: 16px 0 0; font-size: 13px; color: var(--bkz-muted); }

/* Textos editables en la página */
.bkz-admin-on [data-bkz-edit] { pointer-events: auto; cursor: text; outline: 1.5px dashed rgba(181, 127, 40, 0.75); outline-offset: 3px; border-radius: 3px; }
.bkz-admin-on [data-bkz-edit]:hover { background: rgba(181, 127, 40, 0.08); }
.bkz-admin-on [data-bkz-edit]:focus { outline: 2px solid var(--bkz-gold); background: rgba(181, 127, 40, 0.1); }
.bkz-admin-on .bkz-totalbar { display: none; }
@media (max-width: 560px) { .bkz-admin-bar__title span { display: none; } }
.bkz-admin-login, .bkz-admin-bar, .bkz-admin-drawer { font-family: var(--bkz-text); -webkit-font-smoothing: antialiased; }

/* =========================================================
   Six pack: icono del botón del carrito y six pack dentro del carrito
   ========================================================= */
.bkz-cartbtn { padding-left: 12px; }
.bkz-cartbtn__pack { flex: none; width: 31px; height: 22px; overflow: visible; }
.bkz-cartbtn__tray { fill: none; stroke: rgba(246, 238, 223, 0.55); stroke-width: 1.5; }
.bkz-cartbtn__grip { fill: rgba(246, 238, 223, 0.32); }
.bkz-cartbtn__slot {
  fill: rgba(246, 238, 223, 0.1); stroke: rgba(246, 238, 223, 0.42); stroke-width: 1;
  transform-box: fill-box; transform-origin: center;
  transition: fill 200ms ease, stroke 200ms ease;
}
.bkz-cartbtn__slot.is-full { stroke: rgba(0, 0, 0, 0.35); stroke-width: 1.4; }
.bkz-cartbtn__slot.is-pop { animation: bkz-cap-pop 380ms cubic-bezier(0.34, 1.4, 0.64, 1); }
@keyframes bkz-cap-pop { 0% { transform: scale(0.2); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.bkz-packs {
  list-style: none; margin: 0 -20px 6px; padding: 4px 20px 2px;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.bkz-packs::-webkit-scrollbar { display: none; }
.bkz-pack { flex: none; width: 172px; scroll-snap-align: end; }
.bkz-pack:only-child { margin-inline: auto; width: 196px; }
.bkz-pack__art { position: relative; height: 200px; }
.bkz-pack:only-child .bkz-pack__art { height: 222px; }

/* Asa de cartón: sube por el centro, entre las dos filas */
.bkz-pack__handle {
  position: absolute; z-index: 2; left: 27%; right: 27%; top: 0; bottom: 40%;
  border-radius: 16px 16px 0 0; background: #3A2618;
}
.bkz-pack__handle::after {
  content: ""; position: absolute; left: 24%; right: 24%; top: 13px; height: 13px;
  border-radius: 99px; background: var(--bkz-foam);
}

.bkz-pack__slot {
  --x: 50%; --w: 22.5%;
  position: absolute; z-index: 3; bottom: 6px; left: calc(var(--x) - var(--w) / 2);
  width: var(--w); height: auto; aspect-ratio: 291 / 1100;
}
.bkz-pack__slot--c0 { --x: 19%; }
.bkz-pack__slot--c1 { --x: 50%; }
.bkz-pack__slot--c2 { --x: 81%; }
.bkz-pack__slot--back { z-index: 1; bottom: 20px; --w: 21%; left: calc(var(--x) - var(--w) / 2 + 9px); filter: brightness(0.78) saturate(0.9); }
.bkz-pack__ghost {
  background: rgba(42, 26, 16, 0.1);
  -webkit-mask: url("../assets/bottles/cream-ale.webp") center / contain no-repeat;
  mask: url("../assets/bottles/cream-ale.webp") center / contain no-repeat;
}
.bkz-pack__slot--back.bkz-pack__ghost { filter: none; background: rgba(42, 26, 16, 0.07); }
.bkz-pack__slot.is-new { animation: bkz-drop 560ms cubic-bezier(0.34, 1.25, 0.64, 1) var(--d, 0ms) both; }
@keyframes bkz-drop { from { translate: 0 -70px; opacity: 0; } 35% { opacity: 1; } }

/* Frente del six pack con la marca */
.bkz-pack__front {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 38%;
  display: grid; place-items: center;
  border-radius: 6px 6px 14px 14px; background: var(--bkz-glass);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
  box-shadow: inset 0 3px 0 rgba(246, 238, 223, 0.14);
}
.bkz-pack__mark {
  width: 68%; height: 34%; background: var(--bkz-foam);
  -webkit-mask: url("../assets/baskez-wordmark.webp") center / contain no-repeat;
  mask: url("../assets/baskez-wordmark.webp") center / contain no-repeat;
}
.bkz-pack__cap { margin: 8px 0 0; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bkz-muted); font-variant-numeric: tabular-nums; }

/* =========================================================
   Transiciones al desplazarse: suben y aparecen, una vez, sin frenar el scroll
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .bkz-reveal-on [data-bkz-reveal] {
    opacity: 0; translate: 0 26px;
    transition: opacity 520ms ease-out, translate 640ms var(--bkz-ease-out);
    transition-delay: var(--bkz-rd, 0ms);
  }
  .bkz-reveal-on [data-bkz-reveal].is-in { opacity: 1; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bkz-cartbtn__slot.is-pop, .bkz-pack__slot.is-new { animation: none; }
}

/* =========================================================
   Menú fijo: siempre arriba; al bajar toma fondo crema y se compacta
   ========================================================= */
.bkz-header {
  padding-bottom: 10px;
  transition: padding 260ms var(--bkz-ease-out), background-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}
.bkz-header .bkz-brand img { transition: width 260ms var(--bkz-ease-out); }
.bkz-header.is-stuck {
  padding-top: max(8px, env(safe-area-inset-top, 0px)); padding-bottom: 8px;
  background: color-mix(in srgb, var(--bkz-foam) 90%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 1px 0 var(--bkz-line), 0 8px 24px rgba(42, 26, 16, 0.08);
  color: var(--bkz-glass);
}
.bkz-header.is-stuck .bkz-brand img { width: 44px; }
@media (min-width: 900px) {
  .bkz-header.is-stuck { padding-top: max(10px, env(safe-area-inset-top, 0px)); padding-bottom: 10px; }
  .bkz-header.is-stuck .bkz-brand img { width: 54px; }
}
/* Que los títulos no queden debajo del menú al saltar a una sección */
.bkz-section { scroll-margin-top: 76px; }

/* Botella que vuela al six pack del carrito */
.bkz-flybottle { position: fixed; z-index: 70; width: 30px; pointer-events: none; will-change: transform; }
.bkz-flybottle img { display: block; width: 30px; height: auto; transform-origin: 50% 70%; filter: drop-shadow(0 6px 10px rgba(42, 26, 16, 0.25)); will-change: transform, opacity; }
.bkz-cartbtn.is-bump { animation: bkz-bump 340ms cubic-bezier(0.34, 1.4, 0.64, 1); }
@keyframes bkz-bump { 40% { scale: 1.08; } }
@media (prefers-reduced-motion: reduce) {
  .bkz-header, .bkz-header .bkz-brand img { transition: none; }
  .bkz-cartbtn.is-bump { animation: none; }
}

/* =========================================================
   Legal: enlaces del pie, verificación de edad y páginas de privacidad y términos
   ========================================================= */
.bkz-footer__docs { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 14px; }
@media (min-width: 800px) { .bkz-footer__docs { grid-column: 1 / -1; justify-self: start; margin-top: -20px; } }
.bkz-footer__docs a { color: #CBBBA6; }
@media (hover: hover) and (pointer: fine) { .bkz-footer__docs a:hover { color: #F1E9DC; } }

.bkz-age__desc { margin: 8px 0 22px; color: var(--bkz-muted); font-size: 15px; }
.bkz-age__fine { margin: 20px 0 0; color: var(--bkz-muted); font-size: 12.5px; line-height: 1.45; }
.bkz-age__fine a, .bkz-cart__muted a, .bkz-summary__fine a { color: inherit; text-underline-offset: 3px; }

.bkz-pending, mark.bkz-pending { padding: 1px 6px; border-radius: 4px; background: #F3D58A; color: #2A1A10; font-weight: 700; }

.bkz-legal__top, .bkz-legal, .bkz-legal * { box-sizing: border-box; }
.bkz-legal__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 48rem; margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top, 0px)) var(--bkz-gutter-r) 0 var(--bkz-gutter);
  font-family: var(--bkz-text);
}
.bkz-legal__brand img { display: block; width: 56px; height: auto; }
.bkz-legal__back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--bkz-glass); color: var(--bkz-glass);
  font: 600 14px/1 var(--bkz-text); text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { .bkz-legal__back:hover { background: var(--bkz-malt); } }
.bkz-legal {
  max-width: 48rem; margin: 0 auto; padding: 32px var(--bkz-gutter-r) 72px var(--bkz-gutter);
  color: var(--bkz-glass); font: 400 16.5px/1.6 var(--bkz-text);
}
.bkz-legal :focus-visible { outline: 2px solid var(--bkz-gold); outline-offset: 3px; border-radius: 4px; }
.bkz-legal__doc { max-width: 68ch; }
.bkz-legal__kicker { margin: 0; color: var(--bkz-gold-text); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bkz-legal__title { margin: 6px 0 0; font-family: var(--bkz-display); font-stretch: 62%; font-weight: 800; font-size: clamp(44px, 9vw, 72px); line-height: 0.95; text-transform: uppercase; text-wrap: balance; }
.bkz-legal__updated { margin: 14px 0 0; color: var(--bkz-muted); font-size: 14px; }
.bkz-legal__intro { margin: 18px 0 0; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.bkz-legal h2 { margin: 40px 0 0; font-family: var(--bkz-display); font-stretch: 75%; font-weight: 700; font-size: 24px; line-height: 1.2; }
.bkz-legal p, .bkz-legal ul { margin: 12px 0 0; }
.bkz-legal ul { padding-left: 1.2em; }
.bkz-legal li + li { margin-top: 6px; }
.bkz-legal a { color: var(--bkz-gold-text); text-underline-offset: 3px; }
.bkz-legal__id { list-style: none; padding: 16px 18px !important; border-radius: 12px; background: var(--bkz-malt); display: grid; gap: 6px; }
.bkz-legal__id li { margin: 0 !important; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 2px 12px; align-items: baseline; }
.bkz-legal__k { color: var(--bkz-muted); font-size: 14px; }
@media (max-width: 520px) { .bkz-legal__id li { grid-template-columns: 1fr; } }
.bkz-legal__other { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--bkz-line); font-weight: 600; }
.bkz-legal__other a { color: var(--bkz-glass); }
.bkz-legal__other a[aria-current="page"] { color: var(--bkz-muted); text-decoration: none; }
.bkz-legal ~ .bkz-footer { padding-block: 36px max(40px, calc(env(safe-area-inset-bottom, 0px) + 24px)); }
