/* ==========================================================================
   KAUN SUSHI — DESIGN SYSTEM
   Paleta exclusiva: #0A0A0A (negro) · #CC0000 (rojo) · #FFFFFF (blanco)
   Bebas Neue = títulos · Montserrat ExtraBold = subtítulos · Montserrat Light = texto
   ========================================================================== */

:root {
  --black: #0A0A0A;
  --red: #CC0000;
  --white: #FFFFFF;
  --font-title: "Bebas Neue", sans-serif;
  --font-sub: "Montserrat", sans-serif;
  --header-h: 72px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- PANTALLA DE CARGA (sushi animado) ---------- */
.loader-inicial {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.4s ease;
}
.loader-inicial.oculto { opacity: 0; pointer-events: none; }
.loader-inicial__sushi {
  width: 84px;
  height: 84px;
  animation: loader-girar 1.6s linear infinite;
}
.loader-inicial__texto {
  font-family: var(--font-title);
  letter-spacing: 3px;
  color: var(--white);
  font-size: 1.1rem;
}
@keyframes loader-girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sub);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.brocha {
  color: var(--red);
  font-family: var(--font-title);
}

h1, h2, h3, .titulo {
  font-family: var(--font-title);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
}

h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }

.subtitulo {
  font-family: var(--font-sub);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.seccion {
  position: relative;
  padding: 64px 0;
}

.seccion__head {
  text-align: center;
  margin-bottom: 40px;
}

.seccion__head .subtitulo { color: var(--red); display: block; margin-bottom: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sub);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primario { background: var(--red); color: var(--white); }
.btn--primario:hover { background: #e00000; }
.btn--outline { border: 2px solid var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--ghost { color: var(--white); text-decoration: underline; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--full { width: 100%; }

/* ---------- BAMBU (asset oficial de marca, sin recrear) ---------- */
.bambu-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; opacity: 0.22; }
.bambu-wrap--right .bambu-img { position: absolute; bottom: -30px; right: 20px; height: 115%; width: auto; }
@media (max-width: 900px) {
  .bambu-wrap { display: none; }
}

/* ---------- CARRUSEL DE PROMOCIONES (auto-rotante, estilo tipo Papa John's) ---------- */
.promo-carrusel {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--black);
  touch-action: pan-y;
}
.promo-carrusel:empty { display: none; }

.promo-carrusel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.promo-carrusel__slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
}
.promo-carrusel__slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.promo-carrusel__add {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5), 0 0 0 3px rgba(10,10,10,0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}
.promo-carrusel__add:hover { background: #a30000; transform: scale(1.08); }
.promo-carrusel__add:active { transform: scale(0.95); }

.promo-carrusel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.promo-carrusel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s ease, width 0.2s ease;
}
.promo-carrusel__dot.activo { background: var(--red); width: 22px; }

.promo-carrusel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.promo-carrusel__arrow:hover { background: rgba(204,0,0,0.7); border-color: var(--red); }
.promo-carrusel__arrow--prev { left: 16px; }
.promo-carrusel__arrow--next { right: 16px; }
.promo-carrusel__arrow svg { width: 18px; height: 18px; stroke: var(--white); fill: none; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
  display: flex;
  align-items: center;
}
.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}
.logo__img {
  height: 40px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
}
.icon-btn svg { width: 20px; height: 20px; stroke: var(--white); fill: none; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.nav-toggle { display: none; }

/* Reserva la altura del header fijo para que nada quede oculto detrás de su franja translúcida */
.header-spacer { height: var(--header-h); }

/* ---------- HORARIO BADGE ---------- */
.horario-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.horario-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #666; }
.horario-badge--abierto .horario-badge__dot { background: #2ecc71; box-shadow: 0 0 8px #2ecc71; }
.horario-badge--cerrado .horario-badge__dot { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* ---------- BOTÓN FIJO "DESCARGAR APP" (header) ---------- */
.btn-instalar-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-instalar-header:hover { border-color: var(--red); background: rgba(204,0,0,0.12); }
@media (max-width: 600px) {
  /* Poco ancho para 4 elementos en una fila: se acorta el texto del badge de
     horario (ver app.js) y se ajustan paddings/gaps para que "Descargar app"
     siga mostrando el texto completo en vez de solo el ícono. */
  .header__actions { gap: 8px; }
  .horario-badge, .btn-instalar-header { padding: 7px 10px; gap: 5px; font-size: 0.68rem; }
  .icon-btn, .nav-toggle { width: 36px; height: 36px; }
}

.banner-cerrado {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-weight: 800;
  padding: 10px 16px;
  font-size: 0.85rem;
  display: none;
}
.banner-cerrado.activo { display: block; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(360px, 55vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 40px 0;
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.8s ease forwards 0.15s;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero__kicker {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: block;
}
.hero__title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  color: var(--white);
}
.hero__title em {
  font-style: normal;
  color: var(--white);
  position: relative;
}
.hero__subtitle {
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}
.hero__actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- PROMO DEL DIA ---------- */
.promo-dia {
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 14px 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  display: none;
}
.promo-dia.activo { display: block; }
.promo-dia .brocha { font-family: var(--font-sub); font-weight: 800; }

/* ---------- MENU NAV (categorias) ---------- */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav__inner { display: flex; gap: 8px; padding: 14px 20px; }
.menu-nav__btn {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
  transition: all 0.15s ease;
}
.menu-nav__btn:hover { border-color: var(--white); color: var(--white); }
.menu-nav__btn.activo { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- EXPLORA POR CATEGORÍA (tiles, estructura tipo Papa John's) ---------- */
.categorias-seccion { padding: 64px 0 24px; scroll-margin-top: 140px; }
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.categoria-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-end;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.categoria-tile:hover { border-color: var(--red); transform: translateY(-3px); }
.categoria-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.categoria-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.05) 40%, rgba(10,10,10,0.92) 100%);
}
.categoria-tile__contenido { position: relative; z-index: 1; padding: 14px; width: 100%; }
.categoria-tile__nombre {
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.categoria-tile__cantidad { font-size: 0.68rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.categoria-tile.sin-foto { background: linear-gradient(160deg, #161616, #0d0d0d); }
.categoria-tile.destacada { border-color: rgba(204,0,0,0.5); }

/* ---------- CABECERA DE CATEGORÍA ACTIVA (vista filtrada) ---------- */
.categoria-header { display: none; padding: 32px 0 8px; }
.categoria-header.activo { display: block; }
.categoria-header__volver {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
}
.categoria-header__titulo { margin-top: 10px; }

/* ---------- MENU CATEGORIAS / PRODUCTOS ---------- */
.categoria.oculta { display: none; }
.categoria { padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,0.06); scroll-margin-top: 140px; }
.categoria__detalle { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 28px; }
.categoria__nota { color: var(--red); font-size: 0.78rem; margin-bottom: 20px; font-weight: 800; }

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.card-producto {
  position: relative;
  background: #121212;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card-producto__foto {
  margin: -20px -20px 14px;
  height: 160px;
  overflow: hidden;
  position: relative;
}
.card-producto__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-producto__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 55%, #121212 100%);
}
.card-producto.tiene-foto:hover .card-producto__foto img { transform: scale(1.05); }
.card-producto__foto img { transition: transform 0.3s ease; }

.categoria__foto-banner {
  width: 100%;
  height: clamp(180px, 30vw, 320px);
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 28px;
  position: relative;
}
.categoria__foto-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.categoria__foto-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 50%, var(--black) 100%);
}
.card-producto:hover { border-color: var(--red); transform: translateY(-2px); }
.card-producto__badge {
  position: absolute;
  top: -10px; left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
}
.card-producto__nombre {
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.card-producto__detalle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  flex-grow: 1;
  margin-bottom: 14px;
}
.card-producto__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-producto__precio {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--white);
}
.card-producto__variantes {
  margin-bottom: 14px;
}
.card-producto__variantes select {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 10px;
  font-size: 0.8rem;
  font-family: var(--font-sub);
  border-radius: var(--radius);
}
.btn-add {
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn-add:hover { background: var(--red); color: var(--white); }
.btn-add:active { transform: scale(0.9); }
.btn-add.added { animation: pop 0.35s ease; }
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.35); background: var(--red); color: var(--white); } 100% { transform: scale(1); } }
.btn-personalizar {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
  text-decoration: underline;
  margin-top: 8px;
  align-self: flex-start;
}

/* ---------- CART DRAWER ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.overlay.activo { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #111;
  border-left: 1px solid rgba(255,255,255,0.1);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.drawer.activo { transform: translateX(0); }
.drawer__header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__close { font-size: 1.6rem; line-height: 1; color: var(--white); }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer__footer { padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

.carrito-vacio { text-align: center; color: rgba(255,255,255,0.5); padding: 60px 20px; font-size: 0.9rem; }

.item-carrito {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.item-carrito__info { flex: 1; }
.item-carrito__nombre { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; }
.item-carrito__personalizacion { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.item-carrito__precio { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.item-carrito__acciones { display: flex; align-items: center; gap: 8px; }
.qty-control { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 2px; }
.qty-control button { width: 22px; height: 22px; color: var(--white); font-weight: 800; }
.qty-control span { min-width: 18px; text-align: center; font-size: 0.8rem; }
.item-carrito__eliminar { color: var(--red); font-size: 0.7rem; text-decoration: underline; margin-left: 6px; }

.salsas-upsell { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.salsas-upsell__titulo { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.salsas-upsell__lista { display: flex; flex-wrap: wrap; gap: 8px; }
.salsas-upsell__chip {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.salsas-upsell__chip:hover { border-color: var(--red); background: rgba(204,0,0,0.12); }

.resumen-linea { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 8px; color: rgba(255,255,255,0.75); }
.resumen-linea--total { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.15); }

/* ---------- CHECKOUT MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.activo { display: flex; }
.modal {
  background: #131313;
  border: 1px solid rgba(255,255,255,0.1);
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.modal__close { position: absolute; top: 16px; right: 16px; font-size: 1.6rem; color: var(--white); }
.modal__step-indicator { display: flex; gap: 6px; margin-bottom: 24px; }
.modal__step-indicator span { height: 3px; flex: 1; background: rgba(255,255,255,0.15); border-radius: 2px; }
.modal__step-indicator span.activo { background: var(--red); }
.modal__step-indicator span.completo { background: rgba(255,255,255,0.4); }

.form-grupo { margin-bottom: 20px; }
.form-grupo label { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; color: rgba(255,255,255,0.8); }
.form-grupo input[type="text"],
.form-grupo input[type="tel"],
.form-grupo input[type="number"],
.form-grupo textarea,
.form-grupo select {
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  border-radius: var(--radius);
}
.form-grupo input:focus, .form-grupo textarea:focus, .form-grupo select:focus { border-color: var(--red); }
.form-grupo textarea { resize: vertical; min-height: 80px; }

.radio-opciones { display: flex; flex-direction: column; gap: 10px; }
.radio-opcion {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.radio-opcion:hover { border-color: rgba(255,255,255,0.5); }
.radio-opcion.seleccionado { border-color: var(--red); background: rgba(204,0,0,0.08); }
.radio-opcion input { accent-color: var(--red); width: 16px; height: 16px; }
.radio-opcion__label { font-size: 0.85rem; font-weight: 600; }
.radio-opcion__extra { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.salsa-selector { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.salsa-selector__label { font-size: 0.82rem; }
.salsa-selector select { background: var(--black); color: var(--white); border: 1px solid rgba(255,255,255,0.25); padding: 6px 10px; border-radius: var(--radius); }

.salsa-selector-grande { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.salsa-selector-grande__label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.salsa-opciones { display: flex; gap: 10px; }
.salsa-opcion {
  flex: 1;
  padding: 14px 10px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  color: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.salsa-opcion.seleccionado { border-color: var(--red); background: rgba(204,0,0,0.15); }

.counter-grande {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 32px 0;
}
.counter-grande__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.counter-grande__btn:hover { border-color: var(--red); background: rgba(204,0,0,0.15); }
.counter-grande__valor {
  font-family: var(--font-title);
  font-size: 2.4rem;
  min-width: 60px;
  text-align: center;
  color: var(--white);
}

.resumen-pedido { background: #0d0d0d; border: 1px solid rgba(255,255,255,0.1); padding: 18px; border-radius: var(--radius); margin-bottom: 20px; }
.resumen-pedido__codigo { font-family: var(--font-title); font-size: 1.4rem; color: var(--red); margin-bottom: 12px; }
.resumen-pedido__item { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 6px; color: rgba(255,255,255,0.8); }

.datos-transferencia {
  background: #0d0d0d;
  border: 1px solid rgba(204,0,0,0.35);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.datos-transferencia__titulo {
  font-family: var(--font-sub);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--red);
  margin-bottom: 10px;
}
.datos-transferencia div { margin-bottom: 4px; }
.datos-transferencia strong { color: var(--white); }

.modal__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  scroll-margin-top: 90px;
}
.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}
.footer__col h4 {
  font-family: var(--font-sub);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
.footer__col p, .footer__col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
.footer__col a:hover { color: var(--white); }
.footer__instalar {
  margin-top: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.footer__instalar:hover { border-color: var(--red); background: rgba(204,0,0,0.12); }
.footer__bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-flotante {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 150;
  width: 56px; height: 56px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 26px; height: 26px; fill: var(--white); }
body.carrito-activo .wa-flotante { bottom: 92px; transition: bottom 0.2s ease; }
body.carrito-activo { padding-bottom: 68px; }

/* ---------- BARRA DE CARRITO FLOTANTE ---------- */
.cart-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 160;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--font-sub);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.45);
}
.cart-bar[hidden] { display: none; }
.cart-bar__info { font-size: 0.8rem; font-weight: 600; }
.cart-bar__cta { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; }

/* ---------- TOASTS ---------- */
.toast-cont { position: fixed; bottom: 24px; left: 24px; z-index: 400; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--white);
  color: var(--black);
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  animation: toastIn 0.25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle {
    display: flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
  }
  .nav-toggle svg { width: 22px; height: 22px; stroke: var(--white); }
  .nav.abierto {
    display: flex;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 20px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
  }
}

@media (max-width: 600px) {
  .grid-productos { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
