/* =====================
   VARIABLES
   ===================== */

/*
  ╔══════════════════════════════════════════════════════╗
  ║  ROLLBACK — COLORES ANTERIORES (versión oscura)     ║
  ║  Para volver, reemplaza los valores de abajo por:   ║
  ║                                                      ║
  ║  --bg:        #060606;                              ║
  ║  --bg-2:      #0d0d0d;                              ║
  ║  --rojo:      #e8112d;                              ║
  ║  --rojo-dark: #a80d20;                              ║
  ║  --dorado:    #ffc040;                              ║
  ║                                                      ║
  ║  Y en body::before:  rgba(4,4,4,0.82)              ║
  ║  Y en .producto-card:                               ║
  ║    background: linear-gradient(180deg,              ║
  ║      #E60000 0%, #B30000 100%);                     ║
  ║    box-shadow: 0 2px 10px rgba(0,0,0,0.4);         ║
  ╚══════════════════════════════════════════════════════╝
*/

:root {
  --bg:           #191919;
  --bg-2:         #1f1f1f;
  --bg-card:      #232323;
  --bg-card-h:    #2c2c2c;
  --rojo:         #e8112d;
  --rojo-dark:    #a80d20;
  --naranja:      #ff5200;
  --fuego:        #ff8c00;
  --dorado:       #ffffff;
  --texto:        #ffffff;
  --texto-2:      #9a9a9a;
  --texto-3:      #555;
  --borde:        #2e2e2e;
  --borde-2:      #383838;
  --radio:        14px;
  --trans:        0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.sin-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.producto-card.agotado .producto-card__img { filter: grayscale(1); opacity: 0.55; }

/* =====================
   BODY — TEXTURA FUEGO
   ===================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--texto);
  min-height: 100vh;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
  position: relative;
  background-color: #E8112D;
  background-image: none;
}

/* Overlay oscuro sobre la imagen de fondo para legibilidad */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: transparent;
}

/* Línea de brasa en los bordes laterales */
body::after {
  content: '';
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: 2px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(232,17,45,0.5) 25%,
    rgba(255,100,0,0.5) 50%,
    rgba(232,17,45,0.5) 75%,
    transparent 100%
  );
  animation: border-pulse 6s ease-in-out infinite;
}

@keyframes border-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* Todos los elementos del cuerpo encima del glow */
header, nav, main, aside, footer, .hero, .overlay {
  position: relative;
  z-index: 1;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px 20px 16px;
  background:
    radial-gradient(ellipse at 50% 118%, rgba(255,65,0,0.60) 0%, rgba(232,17,45,0.32) 22%, transparent 58%),
    radial-gradient(ellipse at 20% 80%,  rgba(255,40,0,0.15) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 20%,  rgba(200,10,10,0.10) 0%, transparent 45%),
    linear-gradient(180deg, #010000 0%, #080101 60%, #050000 100%);
  z-index: 1;
}

/* Línea inferior de fuego */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(140,5,15,0.6) 10%,
    var(--rojo) 30%,
    var(--naranja) 50%,
    var(--rojo) 70%,
    rgba(140,5,15,0.6) 90%,
    transparent 100%
  );
}

/* Brasas flotantes */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__particles span {
  position: absolute;
  bottom: 8%;
  border-radius: 50%;
  opacity: 0;
  animation: ember-float 6s ease-in infinite;
  filter: blur(0.5px);
}
.hero__particles span:nth-child(1)  { left:8%;  width:3px; height:3px; background:var(--dorado);  animation-delay:0s;   animation-duration:5.5s; }
.hero__particles span:nth-child(2)  { left:22%; width:5px; height:5px; background:var(--naranja); animation-delay:1.3s; animation-duration:7s; }
.hero__particles span:nth-child(3)  { left:38%; width:3px; height:3px; background:var(--fuego);   animation-delay:0.7s; animation-duration:5s; }
.hero__particles span:nth-child(4)  { left:52%; width:4px; height:4px; background:var(--rojo);    animation-delay:2.2s; animation-duration:6.5s; }
.hero__particles span:nth-child(5)  { left:68%; width:3px; height:3px; background:var(--dorado);  animation-delay:1s;   animation-duration:5s; }
.hero__particles span:nth-child(6)  { left:80%; width:5px; height:5px; background:var(--naranja); animation-delay:3s;   animation-duration:7s; }
.hero__particles span:nth-child(7)  { left:91%; width:2px; height:2px; background:#ff2200;        animation-delay:0.4s; animation-duration:4.5s; }
.hero__particles span:nth-child(8)  { left:15%; width:4px; height:4px; background:var(--rojo);    animation-delay:2.8s; animation-duration:6s; }
.hero__particles span:nth-child(9)  { left:45%; width:2px; height:2px; background:var(--dorado);  animation-delay:1.6s; animation-duration:5.5s; }
.hero__particles span:nth-child(10) { left:73%; width:4px; height:4px; background:var(--fuego);   animation-delay:3.5s; animation-duration:6.5s; }

@keyframes ember-float {
  0%   { transform:translateY(0) translateX(0) scale(1);    opacity:0; }
  8%   { opacity:0.95; }
  70%  { opacity:0.4; }
  100% { transform:translateY(-240px) translateX(20px) scale(0.15); opacity:0; }
}

.hero__glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(232,17,45,0.4) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(25px);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,100% { opacity:0.6; transform:translateX(-50%) scaleX(1); }
  50%      { opacity:1;   transform:translateX(-50%) scaleX(1.1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.hero__text { display: flex; flex-direction: column; gap: 2px; }

.hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232,17,45,0.65);
  box-shadow:
    0 0 0 5px  rgba(232,17,45,0.13),
    0 0 0 10px rgba(232,17,45,0.05),
    0 14px 55px rgba(0,0,0,0.85),
    0 0 90px   rgba(232,17,45,0.35);
  animation: logo-pulse 4s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%,100% { box-shadow: 0 0 0 5px rgba(232,17,45,0.10), 0 0 0 10px rgba(232,17,45,0.04), 0 14px 55px rgba(0,0,0,0.85), 0 0 60px rgba(232,17,45,0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(232,17,45,0.24), 0 0 0 13px rgba(232,17,45,0.08), 0 14px 55px rgba(0,0,0,0.85), 0 0 110px rgba(232,17,45,0.50); }
}

.hero__nombre {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.9rem;
  letter-spacing: 7px;
  line-height: 1;
  margin-top: 4px;
  /* Gradiente de fuego en el texto */
  background: linear-gradient(180deg, #ffffff 0%, #ffe090 40%, #ff8c00 75%, #e8112d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(255,100,0,0.5));
}

.hero__tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--dorado);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero__divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rojo), var(--naranja), var(--rojo), transparent);
  margin-top: 6px;
  border-radius: 2px;
  animation: divider-glow 3s ease-in-out infinite;
}

@keyframes divider-glow {
  0%,100% { opacity:0.7; width:40px; }
  50%      { opacity:1;   width:64px; }
}

/* =====================
   HEADER STICKY
   ===================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(4,4,4,0.97);
  border-bottom: 1px solid rgba(232,17,45,0.15);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Línea de acento rojo/naranja bajo el header */
.header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232,17,45,0.4) 20%,
    rgba(255,100,0,0.4) 50%,
    rgba(232,17,45,0.4) 80%,
    transparent 100%
  );
}

.header__content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(232,17,45,0.55);
  box-shadow: 0 0 10px rgba(232,17,45,0.2);
}

.header__nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 40%, var(--dorado) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__cart-btn {
  background: var(--rojo);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  transition: all var(--trans);
  box-shadow: 0 0 20px rgba(232,17,45,0.3), 0 0 40px rgba(232,17,45,0.1);
}

.header__cart-btn:hover {
  background: var(--rojo-dark);
  box-shadow: 0 0 30px rgba(232,17,45,0.55);
  transform: translateY(-1px);
}

.header__cart-btn.bouncing { animation: cart-bounce 0.35s ease; }
@keyframes cart-bounce {
  0%,100% { transform: scale(1); }
  45%      { transform: scale(1.2); }
}

/* =====================
   CATEGORÍAS NAV
   ===================== */
.categorias {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 14px 9px;
  background: rgba(8,8,8,0.98);
  border-bottom: 1px solid rgba(232,17,45,0.12);
  position: sticky;
  top: 112px;
  z-index: 40;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,17,45,0.6) transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.categorias::-webkit-scrollbar { height: 6px; }
.categorias::-webkit-scrollbar-track { background: transparent; }
.categorias::-webkit-scrollbar-thumb {
  background: rgba(232,17,45,0.55);
  border-radius: 999px;
}
.categorias::-webkit-scrollbar-thumb:hover { background: rgba(232,17,45,0.9); }

/* Degradado lateral que indica que hay más categorías para desplazar */
.categorias.fade-right {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
}
.categorias.fade-left {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 34px);
          mask-image: linear-gradient(to right, transparent, #000 34px);
}
.categorias.fade-left.fade-right {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent);
}

.categoria-btn {
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--borde-2);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--texto-2);
  cursor: pointer;
  letter-spacing: 0.8px;
  transition: all var(--trans);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.categoria-btn:hover {
  border-color: rgba(232,17,45,0.35);
  color: var(--texto);
}

.categoria-btn.activa {
  background: var(--rojo);
  color: #fff;
  border-color: var(--rojo);
  box-shadow: 0 0 0 1px rgba(255,140,0,.2), 0 4px 18px rgba(232,17,45,.35);
  animation: categoria-fuego 1.6s ease-in-out infinite alternate;
}

.categoria-btn.activa::after {
  content: '';
  position: absolute;
  left: 24%; right: 24%; bottom: -4px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #ffcc54, #ff5a00, transparent);
  box-shadow: 0 0 9px #ff6a00;
}

@keyframes categoria-fuego {
  from { box-shadow: 0 0 0 1px rgba(255,140,0,.2), 0 4px 14px rgba(232,17,45,.28); }
  to { box-shadow: 0 0 0 1px rgba(255,190,70,.55), 0 5px 25px rgba(255,82,0,.62); }
}

/* =====================
   SECCIÓN PRODUCTOS
   ===================== */
.productos {
  padding: 30px clamp(18px, 5vw, 56px) 56px;
  max-width: 1400px;
  margin: 0 auto;
}

.categoria-seccion {
  margin-bottom: 46px;
  scroll-margin-top: 188px; /* compensa header + búsqueda + nav sticky */
}

.categoria-seccion__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .categoria-seccion__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 560px) {
  .categoria-seccion__grid { grid-template-columns: 1fr; }
}

.categoria-seccion__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid transparent;
  border-bottom: 1px solid var(--borde-2);
}

.categoria-seccion__icono { font-size: 1.3rem; line-height: 1; }

.categoria-seccion__titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  line-height: 1;
  color: #ffffff;
}

.categoria-seccion__linea {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(232,17,45,0.25) 0%, transparent 100%);
  margin-left: 4px;
}

/* =====================
   PRODUCTO CARD
   ===================== */
.producto-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--borde);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.producto-card::before {
  content: '';
  position: absolute;
  left: 12%; right: 12%; bottom: -15px;
  height: 34px;
  z-index: 3;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,104,0,.52), rgba(232,17,45,.2) 45%, transparent 72%);
  filter: blur(7px);
  opacity: .42;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

/* Halo de fuego que aparece al pasar el mouse */
.producto-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgba(255,92,0,.9);
  background: transparent;
  box-shadow: inset 0 0 24px rgba(232,17,45,.28), 0 0 22px rgba(255,82,0,.48);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.producto-card:hover,
.producto-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255,115,25,.75);
  box-shadow: 0 12px 32px rgba(0,0,0,.58), 0 0 22px rgba(232,17,45,.25);
}

.producto-card:hover::after,
.producto-card:focus-within::after,
.producto-card:active::after { opacity: 1; }

.producto-card:hover::before,
.producto-card:focus-within::before,
.producto-card:active::before { opacity: 1; transform: translateY(-8px) scaleX(1.08); }

/* Imagen */
.producto-card__img-wrap {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

/* Degradado inferior para fundir la imagen con la card */
.producto-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,15,15,0.85) 100%);
  pointer-events: none;
}

.producto-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #1a1a1a;
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.25,1);
  position: relative;
  z-index: 0;
}

.producto-card:hover .producto-card__img { transform: scale(1.06); }

/* Aparición progresiva y carga suave de fotografías */
.producto-card.reveal-pending {
  opacity: 0;
  transform: translateY(22px) scale(.985);
}

.producto-card.reveal-pending.revelada {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .48s ease var(--reveal-delay, 0ms),
              transform .48s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms),
              box-shadow .22s ease;
}

.producto-card.reveal-pending.revelada:hover,
.producto-card.reveal-pending.revelada:focus-within { transform: translateY(-6px); }

.producto-card__img-wrap.cargando::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, #181818 20%, #2b2b2b 38%, #181818 56%);
  background-size: 220% 100%;
  animation: imagen-shimmer 1.25s linear infinite;
}

@keyframes imagen-shimmer { to { background-position-x: -220%; } }

/* Badge — posicionado sobre la imagen */
.producto-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6);
  line-height: 1.4;
  text-transform: uppercase;
}

.favorito-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.72);
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(7px);
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.compartir-card-btn {
  position: absolute;
  top: 9px;
  right: 50px;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(7px);
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.compartir-card-btn:hover { transform: scale(1.1); background: var(--rojo); }

.favorito-btn:hover { transform: scale(1.1); color: #fff; }
.favorito-btn.activo { color: #fff; background: var(--rojo); border-color: #ff687b; animation: favorito-pop .3s ease; }
@keyframes favorito-pop { 50% { transform: scale(1.25); } }

/* Clases de badge */
.producto-card__badge--popular   { background: #c8102e; color: #fff; }
.producto-card__badge--vip       { background: #7a5500; color: #fff; }
.producto-card__badge--mas       { background: #b83d00; color: #fff; }
.producto-card__badge--nuevo     { background: #1a6b2e; color: #fff; }
.producto-card__badge--picante   { background: #8b1a1a; color: #fff; }
.producto-card__badge--caliente  { background: #8a3800; color: #fff; }
.producto-card__badge--vegetariano { background: #1a5e2a; color: #fff; }
.producto-card__badge--especial  { background: #3d2080; color: #fff; }
.producto-card__badge--bebida    { background: #0d4a6e; color: #fff; }
.producto-card__badge--lunes     { background: #1a3a70; color: #fff; }
.producto-card__badge--pollo     { background: #6b4a00; color: #fff; }
.producto-card__badge--ofertn    { background: #7a2800; color: #fff; }

/* Info */
.producto-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 18px;
  position: relative;
  z-index: 1;
}

.producto-card__nombre {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  color: #FFD700;
  margin-bottom: 7px;
  line-height: 1.3;
  text-shadow: none;
}

.producto-card__desc {
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.producto-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.producto-card__precio {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFEB3B;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* =====================
   CONTROLES CANTIDAD
   ===================== */
.btn-agregar {
  background: linear-gradient(135deg, var(--rojo) 0%, #c20024 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--trans);
  box-shadow: 0 0 14px rgba(232,17,45,0.3);
  white-space: nowrap;
}

.btn-agregar:hover  {
  background: linear-gradient(135deg, #ff1a35 0%, var(--rojo) 100%);
  box-shadow: 0 0 24px rgba(232,17,45,0.6);
  transform: scale(1.05);
}
.btn-agregar:active { transform: scale(0.96); }

.selector-cantidad {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--borde-2);
  border-radius: 8px;
  padding: 4px 10px;
}

.selector-cantidad span {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
  color: var(--texto);
}

.selector-cantidad button {
  background: linear-gradient(135deg, var(--rojo), #b00020);
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all var(--trans);
  padding: 0;
}

.selector-cantidad button:hover  { transform: scale(1.15); box-shadow: 0 0 10px rgba(232,17,45,0.5); }
.selector-cantidad button:active { transform: scale(0.9); }

/* =====================
   CARRITO LATERAL
   ===================== */
.carrito {
  position: fixed;
  top: 0; right: -100%;
  width: 100%;
  max-width: 390px;
  height: 100%;
  background: #0a0a0a;
  border-left: 1px solid rgba(232,17,45,0.15);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -10px 0 60px rgba(0,0,0,0.85), -1px 0 0 rgba(232,17,45,0.1);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carrito.abierto { right: 0; }

.carrito__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(232,17,45,0.12);
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}

.carrito__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carrito__header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 40%, var(--dorado) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carrito__cerrar {
  background: var(--bg-card);
  border: 1px solid var(--borde-2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--texto-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
}

.carrito__cerrar:hover {
  border-color: var(--rojo);
  color: var(--rojo);
  box-shadow: 0 0 10px rgba(232,17,45,0.3);
}

.carrito__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--borde-2) transparent;
}

.carrito__items {
  padding: 14px 18px;
}

.carrito__vacio {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 70px;
  gap: 8px;
  color: var(--texto-2);
  text-align: center;
}

.carrito__vacio-icono {
  font-size: 2.8rem;
  filter: drop-shadow(0 0 12px rgba(232,17,45,0.3));
}

.carrito__vacio p {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.carrito__vacio span { font-size: 0.8rem; color: var(--texto-3); }

.carrito-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--borde);
  gap: 12px;
}

.carrito-item { animation: carrito-item-in .24s cubic-bezier(.2,.8,.2,1) both; }
.carrito-item.saliendo { animation: carrito-item-out .18s ease forwards; pointer-events: none; }

@keyframes carrito-item-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes carrito-item-out {
  to { opacity: 0; transform: translateX(24px); max-height: 0; padding-block: 0; }
}

.carrito-item__info { flex: 1; min-width: 0; }

.carrito-item__nombre {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--texto);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carrito-item__precio {
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--dorado), #ff9d00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 2px;
  font-weight: 600;
}

.carrito-item__quitar {
  background: rgba(232,17,45,0.08);
  border: 1px solid rgba(232,17,45,0.22);
  color: var(--rojo);
  font-size: 0.75rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans);
  flex-shrink: 0;
}

.carrito-item__quitar:hover {
  background: var(--rojo);
  color: #fff;
  box-shadow: 0 0 10px rgba(232,17,45,0.4);
}

.carrito__cta {
  padding: 14px 18px 20px;
  border-top: 1px solid rgba(232,17,45,0.12);
  background: linear-gradient(0deg, #080808 0%, #0a0a0a 100%);
  flex-shrink: 0;
}

.carrito__desglose {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 10px;
  margin-bottom: 10px;
}

.carrito__desglose-fila {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--texto-2);
  margin-bottom: 5px;
}

.carrito__desglose-envio {
  color: var(--dorado);
}

.carrito__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.carrito__total-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--texto-2);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.carrito__total-valor {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--dorado) 0%, var(--fuego) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255,160,0,0.35));
}

.carrito__total-valor.actualizado { animation: total-pop .32s cubic-bezier(.2,.9,.3,1); }
@keyframes total-pop {
  45% { transform: scale(1.12); filter: drop-shadow(0 0 15px rgba(255,160,0,.65)); }
}

.btn-pedir {
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--trans);
  box-shadow: 0 4px 24px rgba(37,211,102,0.30);
}

.btn-pedir:hover:not(:disabled) {
  background: linear-gradient(135deg, #2ee872 0%, #25D366 100%);
  box-shadow: 0 4px 36px rgba(37,211,102,0.55);
  transform: translateY(-1px);
}

.btn-pedir:disabled {
  background: linear-gradient(135deg, #0e2015, #111d14);
  color: #2a5030;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-pedir.llamada-atencion:not(:disabled) { animation: cta-atencion .8s ease; }
@keyframes cta-atencion {
  35% { transform: scale(1.025); box-shadow: 0 0 0 8px rgba(37,211,102,.12), 0 5px 32px rgba(37,211,102,.42); }
}

.btn-vaciar {
  display: block;
  margin: 10px auto 0;
  padding: 5px 10px;
  color: var(--texto-2);
  background: transparent;
  border: 0;
  font: 500 0.75rem 'Inter', sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.carrito__aviso {
  min-height: 18px;
  margin-bottom: 8px;
  color: var(--texto-2);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
}

/* =====================
   MÉTODO DE PAGO
   ===================== */
.pago-seccion {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--borde);
}

.pago-titulo {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--texto-2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pago-opciones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.pago-btn {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--borde-2);
  border-radius: 8px;
  padding: 9px 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--texto-2);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all var(--trans);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pago-btn span:first-child { font-size: 1.1rem; }

.pago-btn:hover:not(.activo) {
  border-color: var(--borde-2);
  color: var(--texto);
  background: var(--bg-card-h);
}

.pago-btn.activo {
  background: rgba(232,17,45,0.12);
  border-color: rgba(232,17,45,0.6);
  color: #fff;
  box-shadow: 0 0 12px rgba(232,17,45,0.2);
}

.modalidad-opciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 10px;
}

.modalidad-btn {
  padding: 10px 8px;
  border: 1px solid var(--borde-2);
  border-radius: 9px;
  color: var(--texto-2);
  background: var(--bg-card);
  font: 600 0.78rem 'Oswald', sans-serif;
  cursor: pointer;
}

.modalidad-btn.activo {
  color: #fff;
  border-color: var(--rojo);
  background: rgba(232,17,45,0.15);
}

.estado-negocio {
  margin: 0 0 16px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.72rem;
  line-height: 1.4;
}

.estado-negocio.abierto { color: #8bf0b0; background: rgba(37,211,102,0.1); }
.estado-negocio.cerrado { color: #ffd182; background: rgba(255,160,0,0.1); }

/* Panel transferencia */
.transferencia-panel {
  display: none;
  margin-top: 10px;
  background: rgba(6, 42, 64, 0.35);
  border: 1px solid rgba(64,196,255,0.18);
  border-radius: 10px;
  padding: 12px;
  animation: slide-down 0.22s ease;
}

.transferencia-panel.visible { display: block; }

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.transferencia-datos {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.dato-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  padding: 3px 0;
}

.dato-row span:first-child { color: var(--texto-2); }
.dato-row strong { color: var(--texto); font-weight: 600; }

.dato-row.copiable {
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 5px;
  transition: background var(--trans);
  margin: 0 -6px;
}

.dato-row.copiable:hover { background: rgba(255,255,255,0.05); }

.dato-row.copiable strong::after {
  content: ' 📋';
  opacity: 0.5;
  font-size: 0.7rem;
}

.dato-row.copiado strong::after { content: ' ✅'; opacity: 1; }

.transferencia-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  text-align: center;
  padding: 10px 4px 4px;
}

/* =====================
   CLIENTE FORM
   ===================== */
.cliente-seccion {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cliente-campos {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}

.cliente-campo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cliente-campo label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--texto-2);
  text-transform: uppercase;
}

.cliente-campo input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--texto);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.cliente-campo input::placeholder {
  color: rgba(255,255,255,0.22);
}

.cliente-campo input:focus {
  border-color: rgba(232,17,45,0.5);
  background: rgba(232,17,45,0.04);
}

.cliente-campo input.campo-error,
.cliente-campo select.campo-error {
  border-color: rgba(232,17,45,0.7);
  background: rgba(232,17,45,0.06);
}

.campo-ayuda {
  font-size: 0.7rem;
  color: #888;
  margin-top: 3px;
  min-height: 1em;
}

.cliente-campo select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--texto);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
}

.cliente-campo select:focus {
  border-color: rgba(232,17,45,0.5);
  background: rgba(232,17,45,0.04);
}

.cliente-campo select option {
  background: var(--bg-card);
  color: var(--texto);
}

.cliente-campo input[type="time"] { color-scheme: dark; }

.como-llegar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(70,150,255,.3);
  border-radius: 8px;
  color: #9bc9ff;
  background: rgba(50,120,220,.09);
  font: 600 .78rem 'Inter', sans-serif;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.como-llegar:hover { border-color: rgba(70,150,255,.6); background: rgba(50,120,220,.17); }

.pedido-opciones,
.programacion-pedido {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.pedido-opciones .pago-titulo { margin-bottom: 10px; }

.preferencias-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.preferencias-checks label,
.programar-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  color: var(--texto-2);
  background: rgba(255,255,255,.03);
  font-size: .76rem;
  cursor: pointer;
}

.preferencias-checks input,
.programar-toggle input { width: auto; accent-color: var(--rojo); }

.programacion-campos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.repetir-pedido {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: calc(100% - 36px);
  margin: 0 18px 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,170,40,.28);
  border-radius: 9px;
  color: #ffd182;
  background: rgba(255,150,0,.08);
  font: 600 .8rem 'Inter', sans-serif;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.repetir-pedido:hover { background: rgba(255,150,0,.15); transform: translateY(-1px); }

.privacidad-local {
  margin-top: 4px;
  padding: 11px 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.recordar-datos {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--texto);
  font-size: .73rem;
  line-height: 1.4;
  cursor: pointer;
}
.recordar-datos input { width: auto; margin-top: 2px; accent-color: var(--rojo); }
.privacidad-local p { margin: 7px 0; color: var(--texto-3); font-size: .66rem; line-height: 1.45; }
.privacidad-local button { border: 0; color: #d99; background: none; font-size: .68rem; text-decoration: underline; cursor: pointer; }
.footer__politica { margin-top: 5px; color: #777; font-size: .64rem; }

@media (max-width: 380px) {
  .preferencias-checks,
  .programacion-campos { grid-template-columns: 1fr; }
}

.form-error {
  min-height: 0;
  color: #ff8b9a;
  font-size: 0.75rem;
  line-height: 1.45;
}

.form-error:not(:empty) { min-height: 32px; }
.form-error.exito { color: #75e89d; }

.estado-carga {
  max-width: 520px;
  margin: 80px auto;
  padding: 32px;
  color: #fff;
  text-align: center;
  background: rgba(0,0,0,.5);
  border-radius: 16px;
}

.estado-carga p { margin: 10px 0 20px; color: #ddd; }
.estado-carga button { padding: 10px 18px; border: 0; border-radius: 8px; cursor: pointer; }

/* =====================
   MODAL PRODUCTO
   ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.activo {
  display: flex;
  animation: modal-fade 0.18s ease;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  background: #141414;
  border: 1px solid rgba(232,17,45,0.2);
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(232,17,45,0.08);
  transform-origin: center center;
  align-self: flex-start;
  margin: auto;
}

.modal-card.animando { animation: modal-up .38s cubic-bezier(.18,.9,.24,1.12) both; }

@keyframes modal-up {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.modal-cerrar {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-cerrar:hover { background: var(--rojo); }

.modal-compartir {
  position: absolute;
  top: 12px;
  right: 52px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.55);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.modal-compartir:hover { background: var(--rojo); transform: translateY(-1px); }

.modal-img-wrap { position: relative; }

.modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

.modal-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--rojo);
  color: #fff;
  display: none;
}
.modal-badge.visible { display: inline-block; }

.modal-info {
  padding: 18px 20px 22px;
}

.modal-card.animando .modal-img { animation: modal-imagen-in .62s cubic-bezier(.2,.8,.2,1) both; }
.modal-card.animando .modal-nombre,
.modal-card.animando .modal-desc,
.modal-card.animando .modal-disponibilidad,
.modal-card.animando .modal-variaciones,
.modal-card.animando .modal-bottom { animation: modal-contenido-in .42s ease both; }
.modal-card.animando .modal-nombre { animation-delay: 80ms; }
.modal-card.animando .modal-desc { animation-delay: 125ms; }
.modal-card.animando .modal-disponibilidad,
.modal-card.animando .modal-variaciones { animation-delay: 170ms; }
.modal-card.animando .modal-bottom { animation-delay: 215ms; }

@keyframes modal-imagen-in {
  from { opacity: .55; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes modal-contenido-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-nombre {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.modal-desc {
  font-size: 0.82rem;
  color: var(--texto-2);
  line-height: 1.6;
  margin-bottom: 18px;
}

.modal-disponibilidad {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 192, 64, 0.3);
  border-radius: 9px;
  color: #ffd182;
  background: rgba(255, 160, 0, 0.09);
  font-size: 0.76rem;
  line-height: 1.5;
}

.modal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-precio {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--dorado), #ff9d00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Selector de variaciones (envoltura) dentro del modal */
.modal-variaciones { margin-bottom: 18px; }
.modal-variaciones__dimension { margin-bottom: 18px; }
.modal-variaciones__dimension:last-child { margin-bottom: 0; }

/* Arma tu Roll — selector de ingredientes */
.arma-counter {
  font-size: 0.78rem;
  color: var(--texto-2);
  margin-bottom: 10px;
  font-weight: 600;
}
.arma-counter.completo { color: #4caf50; }

.arma-ingredientes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.arma-ingr-btn {
  background: var(--bg-card);
  border: 1px solid var(--borde-2);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: var(--texto-2);
  cursor: pointer;
  transition: all var(--trans);
}
.arma-ingr-btn:hover { border-color: var(--rojo); color: #fff; }
.arma-ingr-btn.activa {
  background: var(--rojo);
  border-color: var(--rojo);
  color: #fff;
}

.btn-modal-agregar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-variaciones__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--texto-2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal-variaciones__opciones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.variacion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--borde-2);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto-2);
  cursor: pointer;
  text-align: left;
  transition: all var(--trans);
}

.variacion-btn span { letter-spacing: 0.3px; }

.variacion-btn strong {
  font-weight: 700;
  color: var(--texto-2);
  white-space: nowrap;
}

.variacion-btn:hover:not(.activa) {
  border-color: rgba(232,17,45,0.35);
  color: var(--texto);
  background: var(--bg-card-h);
}

.variacion-btn.activa {
  background: rgba(232,17,45,0.12);
  border-color: rgba(232,17,45,0.6);
  color: #fff;
  box-shadow: 0 0 12px rgba(232,17,45,0.2);
}

.variacion-btn.activa strong { color: #fff; }

/* =====================
   OVERLAY
   ===================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.80);
  z-index: 90;
  display: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.overlay.activo { display: block; }

/* =====================
   BUSCADOR
   ===================== */
.busqueda-barra {
  position: sticky;
  top: 60px;
  z-index: 49;
  background: rgba(6,6,6,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,17,45,0.08);
  padding: 8px 14px;
}

.busqueda-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 12px;
  transition: border-color 0.2s;
}

.busqueda-acciones {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.favoritos-filtro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 48px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--texto-2);
  background: rgba(255,255,255,.05);
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.favoritos-filtro span:first-child { color: #ff6075; font-size: 1rem; }
.favoritos-filtro.activo { color: #fff; border-color: var(--rojo); background: rgba(232,17,45,.16); }

.busqueda-wrap:focus-within {
  border-color: rgba(232,17,45,0.4);
  background: rgba(232,17,45,0.04);
}

.busqueda-icono { color: var(--texto-2); flex-shrink: 0; }

.busqueda-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--texto);
  min-width: 0;
}

.busqueda-input::placeholder { color: rgba(255,255,255,0.25); }

.busqueda-limpiar {
  display: none;
  background: none;
  border: none;
  color: var(--texto-2);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.busqueda-limpiar:hover { color: var(--rojo); }

/* Vuelo del producto hacia el carrito */
.producto-volando {
  position: fixed;
  z-index: 500;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 12px 35px rgba(0,0,0,.55), 0 0 0 2px rgba(232,17,45,.5);
  will-change: transform, opacity;
  opacity: 1;
  border-radius: 16px;
  transition: transform .68s cubic-bezier(.18,.72,.15,1), opacity .68s ease, border-radius .68s ease;
}

.producto-volando.en-vuelo {
  transform: translate(var(--vuelo-x), var(--vuelo-y)) scale(.12) rotate(16deg);
  opacity: .12;
  border-radius: 50%;
}

.header__cart-btn.impacto { animation: carrito-impacto .42s cubic-bezier(.2,.9,.3,1); }
@keyframes carrito-impacto {
  45% { transform: scale(1.22); box-shadow: 0 0 0 9px rgba(255,100,0,.2), 0 0 22px rgba(255,90,0,.65); }
}

/* Notificación con acción de deshacer */
.toast-carrito {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 550;
  width: min(440px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
  background: rgba(18,18,18,.96);
  box-shadow: 0 16px 50px rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, 24px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}

.toast-carrito.visible { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.toast-carrito__icono {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: #07180d; background: #55df83;
  font-weight: 900;
}
.toast-carrito__texto { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.toast-carrito__deshacer { border: 0; color: #ff9a66; background: none; font-weight: 700; cursor: pointer; }

/* Confirmación previa a WhatsApp */
.confirmacion-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(10px);
}
.confirmacion-overlay.activo { display: grid; animation: modal-fade .2s ease; }
.confirmacion-card {
  position: relative;
  width: min(410px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 24px 22px;
  border: 1px solid rgba(232,17,45,.25);
  border-radius: 20px;
  color: #fff;
  background: radial-gradient(circle at 50% 0, rgba(232,17,45,.13), transparent 42%), #121212;
  box-shadow: 0 28px 80px rgba(0,0,0,.75);
  text-align: center;
  animation: confirmacion-in .38s cubic-bezier(.2,.9,.3,1) both;
  outline: none;
}
@keyframes confirmacion-in {
  from { opacity: 0; transform: translateY(24px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.confirmacion-check { width: 64px; height: 64px; margin: 2px auto 13px; }
.confirmacion-check svg { width: 100%; height: 100%; fill: none; stroke: #45dc79; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.confirmacion-overlay.activo .confirmacion-check circle { stroke-dasharray: 150; animation: check-circulo .65s ease both; }
.confirmacion-overlay.activo .confirmacion-check path { stroke-dasharray: 40; animation: check-trazo .4s .38s ease both; }
@keyframes check-circulo { from { stroke-dashoffset: 150; } to { stroke-dashoffset: 0; } }
@keyframes check-trazo { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.confirmacion-eyebrow { margin-bottom: 5px; color: var(--rojo); font: 600 .68rem 'Oswald', sans-serif; letter-spacing: 2px; }
.confirmacion-card h2 { font: 700 1.45rem 'Oswald', sans-serif; letter-spacing: .3px; }
.confirmacion-resumen { margin: 20px 0 14px; padding: 10px 14px; border-radius: 11px; background: rgba(255,255,255,.04); }
.confirmacion-resumen > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; color: var(--texto-2); font-size: .78rem; text-align: left; }
.confirmacion-resumen strong { color: #fff; text-align: right; }
.confirmacion-resumen .confirmacion-productos { display: block; padding-bottom: 11px; }
.confirmacion-productos > span { display: block; margin-bottom: 7px; }
.confirmacion-productos-lista {
  max-height: 190px;
  overflow-y: auto;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,.2);
  scrollbar-width: thin;
  scrollbar-color: var(--borde-2) transparent;
}
.confirmacion-producto-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.confirmacion-producto-item:last-child { border-bottom: 0; }
.confirmacion-producto-item strong { color: #fff; font-size: .76rem; line-height: 1.35; text-align: left; }
.confirmacion-producto-item span { color: #ffc76b; font-size: .74rem; white-space: nowrap; }
.confirmacion-resumen .confirmacion-total { margin-top: 4px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.1); }
.confirmacion-resumen .confirmacion-total strong { color: #ffc76b; font-size: 1.05rem; }
.confirmacion-nota { margin-bottom: 17px; color: var(--texto-2); font-size: .73rem; line-height: 1.5; }
.confirmacion-volver { margin-top: 10px; padding: 7px; border: 0; color: var(--texto-2); background: none; text-decoration: underline; cursor: pointer; }

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

/* =====================
   BOTÓN FLOTANTE WA
   ===================== */
.wsp-flotante {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 3px rgba(37,211,102,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.wsp-flotante:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6), 0 0 0 5px rgba(37,211,102,0.2);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  border-top: 1px solid rgba(232,17,45,0.12);
  background: rgba(4,4,4,0.96);
  position: relative;
  padding: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding: 36px 28px 28px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px 20px;
    text-align: center;
  }
  .footer__info-item { justify-content: center; }
  .footer__redes-links { justify-content: center; }
}

.footer__marca { display: flex; flex-direction: column; }

.footer__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.footer__nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #fff 40%, var(--dorado) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__tagline {
  font-size: 0.73rem;
  color: var(--texto-2);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer__info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--texto-2);
  line-height: 1.4;
}

.footer__info-item svg { flex-shrink: 0; margin-top: 2px; color: var(--rojo); }

.footer__redes-titulo {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--texto-3);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer__redes-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__red {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto-2);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__red:hover { color: var(--dorado); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 14px 90px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--texto-3);
}

@media (max-width: 700px) {
  .footer__bottom { padding: 14px 20px 28px; }
}

/* =====================
   RESPONSIVE
   ===================== */
.seo-local {
  max-width: 900px;
  margin: 24px auto 48px;
  padding: 28px;
  border: 1px solid var(--borde);
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
  color: var(--texto-2);
  line-height: 1.65;
}

.seo-local h2 {
  margin-bottom: 12px;
  color: var(--texto);
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
}

.seo-local p + p { margin-top: 10px; }
.seo-local strong { color: var(--dorado); }

@media (max-width: 700px) {
  .seo-local {
    margin: 18px 16px 36px;
    padding: 22px 18px;
  }
}

@media (min-width: 700px) {
  .hero__logo { width: 90px; height: 90px; }
  .hero__nombre { font-size: 2.4rem; }
}

@media (min-width: 1024px) {
  .hero__logo { width: 80px; height: 80px; }
  .hero__nombre { font-size: 2.4rem; }
}
