/* ========================================
   CHONCHIS BURGER - HOJA DE ESTILOS
   ======================================== */

:root {
  --primary: #1a4d2e;
  --primary-dark: #0f3a1f;
  --primary-light: #2d6a4f;
  --accent: #f4c430;
  --accent-dark: #d4a017;
  --text: #ffffff;
  --text-dark: #1a1a1a;
  --bg-dark: #0a1f12;
  --bg-card: #1a4d2e;
  --gradient: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
  --gold-gradient: linear-gradient(135deg, #f4c430 0%, #d4a017 100%);
  --whatsapp: #25d366;
  --danger: #ff3838;
  --success: #2ecc71;
  --info-bg: rgba(52, 152, 219, 0.1);
  --info-border: rgba(52, 152, 219, 0.3);
  --info-color: #5dade2;
}

/* PALETA EXCLUSIVA PARRILLA - Fuego, brasas y cenizas cálidas */
body[data-branch="parrilla"] {
  --primary: #e63946;
  --primary-dark: #5a1616;
  --primary-light: #f04d4d;
  --bg-dark: #15100f;
  --bg-card: #241a18;
  --accent: #ffb703;
  --accent-dark: #f77f00;
  --gold-gradient: linear-gradient(135deg, #ffb703 0%, #f77f00 100%);
  --gradient: linear-gradient(135deg, #e63946 0%, #9b1b1b 100%);
}
body[data-branch="parrilla"]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 183, 3, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(230, 57, 70, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 120%, rgba(247, 127, 0, 0.10) 0%, transparent 55%),
    #15100f;
}
body[data-branch="parrilla"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,183,3,0.06) 1px, transparent 1px);
  background-size: 28px 28px, 46px 46px;
  background-position: 0 0, 14px 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--primary-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }

body[data-branch="parrilla"]::-webkit-scrollbar-track { background: #2a1f1c; }

/* ====== PAGE LOADER ====== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content { text-align: center; }
.loader-content img, .loader-content i {
  width: 100px; height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(244, 196, 48, 0.6));
  animation: bounce 1.5s infinite;
  font-size: 5rem;
  color: var(--accent);
  border-radius: 50%;
  background: transparent;
  clip-path: circle(50%);
}
body[data-branch="parrilla"] .loader-content img { background: transparent; filter: drop-shadow(0 0 22px rgba(255, 183, 3, 0.55)); }
.loader-content i { width: auto; height: auto; }

.loader-bar {
  width: 200px; height: 4px;
  background: rgba(244, 196, 48, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 15px;
}
.loader-progress {
  width: 0; height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  animation: loading 0.6s ease-out forwards;
}
@keyframes loading { to { width: 100%; } }
.loader-content p { color: var(--accent); font-weight: 500; letter-spacing: 2px; font-size: 0.9rem; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 31, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(244, 196, 48, 0.2);
  transition: all 0.4s ease;
}
.navbar.scrolled { padding: 10px 5%; background: rgba(10, 31, 18, 0.95); box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5); }

body[data-branch="parrilla"] .navbar {
  background: rgba(21, 16, 15, 0.90);
  border-bottom-color: rgba(255, 183, 3, 0.40);
}
body[data-branch="parrilla"] .navbar.scrolled {
  background: rgba(21, 16, 15, 0.97);
  box-shadow: 0 5px 30px rgba(230, 57, 70, 0.15);
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
}
.logo-nav img {
  width: 45px; height: 45px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(244, 196, 48, 0.5));
  transition: transform 0.3s;
  clip-path: circle(50%);
}
body[data-branch="parrilla"] .logo-nav img { background: transparent; filter: drop-shadow(0 0 12px rgba(255, 183, 3, 0.55)); }
.logo-nav:hover img { transform: scale(1.15) rotate(-5deg); }
.logo-nav i {
  font-size: 1.8rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.cart-btn {
  position: relative;
  background: var(--gold-gradient);
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 20px rgba(244, 196, 48, 0.3);
  font-family: inherit;
}
.cart-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(244, 196, 48, 0.5); }

.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--danger);
  color: white;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.cart-count.bump { animation: bump 0.5s ease; }
@keyframes bump { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
}
body[data-branch="parrilla"] .menu-toggle { color: #ffb703; }

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* FIX CHROME MÓVIL */
  min-height: 100svh; /* FIX CHROME MÓVIL - fallback */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 50px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 31, 18, 0.82) 0%, rgba(8, 20, 13, 0.90) 100%),
    url('../assets/fondo-burger-hero.jpg') center/cover no-repeat fixed;
  z-index: -1;
}
body[data-branch="parrilla"] .hero::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(252, 163, 17, 0.15) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(214, 40, 40, 0.4) 0%, transparent 55%),
    linear-gradient(180deg, #181210 0%, #0f0b0a 100%);
}
.hero-particles { display: none !important; }
.particle { display: none !important; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1400px;
  width: 100%;
}

.hero-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 3px;
  margin-bottom: 20px;
  animation: slideInLeft 1s ease-out;
}
.hero-text h1 .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: bounce 2s infinite;
}
.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 25px;
  opacity: 0.9;
  animation: slideInLeft 1s ease-out 0.3s backwards;
  max-width: 500px;
}
.hero-text .tag {
  display: inline-block;
  background: rgba(244, 196, 48, 0.15);
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--accent);
  animation: slideInLeft 1s ease-out 0.1s backwards;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  animation: slideInLeft 1s ease-out 0.5s backwards;
}

.btn {
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: 0 10px 30px rgba(244, 196, 48, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(244, 196, 48, 0.6); }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 5px 20px rgba(244, 196, 48, 0.15);
}
.btn-secondary:hover {
  background: rgba(244, 196, 48, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(244, 196, 48, 0.3);
}
body[data-branch="parrilla"] .btn-secondary {
  color: #ffb703;
  border-color: #ffb703;
  box-shadow: 0 5px 20px rgba(255, 183, 3, 0.15);
}
body[data-branch="parrilla"] .btn-secondary:hover {
  background: rgba(255, 183, 3, 0.12);
  box-shadow: 0 10px 30px rgba(255, 183, 3, 0.25);
}

.btn-parrilla {
  background: linear-gradient(135deg, #e63946 0%, #8a1818 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(214, 40, 40, 0.4);
}
.btn-parrilla:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(214, 40, 40, 0.6); }

.btn-parrilla-outline {
  background: transparent;
  color: #ffb703;
  border: 2px solid #ffb703;
}
.btn-parrilla-outline:hover { background: rgba(252, 163, 17, 0.15); transform: translateY(-3px); }

.btn-parrilla-sm {
  padding: 10px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #e63946 0%, #8a1818 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-parrilla-sm:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(214,40,40,0.4); }

.checkout-btn-parrilla {
  background: linear-gradient(135deg, #ffb703 0%, #f77f00 100%) !important;
  color: #000 !important;
}
.checkout-btn-parrilla:hover {
  box-shadow: 0 15px 40px rgba(252, 163, 17, 0.4) !important;
}

.hero-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: slideInLeft 1s ease-out 0.7s backwards;
  margin-top: 10px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  background: rgba(244, 196, 48, 0.08);
  border: 1px solid rgba(244, 196, 48, 0.2);
  border-radius: 12px;
  transition: all 0.3s;
}
.stat:hover { transform: translateY(-3px); background: rgba(244, 196, 48, 0.15); border-color: var(--accent); }
.stat strong { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--accent); letter-spacing: 1px; display: inline-block; min-width: 4.5ch; text-align: center; }
.stat span { font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }
.stat-logo-box {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-width: 90px;
  min-height: 70px;
}
.stat-logo-box .stat-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
body[data-branch="parrilla"] .stat-logo-box .stat-logo { filter: drop-shadow(0 0 6px rgba(255, 183, 3, 0.45)); }
body[data-branch="parrilla"] .stat {
  background: rgba(252, 163, 17, 0.08);
  border-color: rgba(252, 163, 17, 0.25);
}
body[data-branch="parrilla"] .stat:hover {
  background: rgba(252, 163, 17, 0.15);
  border-color: #ffb703;
}
body[data-branch="parrilla"] .stat strong { color: #ffb703; }

@media (max-width: 600px) {
  .hero-stats { gap: 10px; }
  .stat { padding: 8px 12px; }
  .stat strong { font-size: 1.15rem; }
  .stat span { font-size: 0.65rem; }
  .stat-logo-box { min-width: 75px; min-height: 55px; }
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideInRight 1s ease-out;
}
.logo-circle {
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 -10px 30px rgba(0, 0, 0, 0.3);
  border: 8px solid var(--accent);
  animation: rotate 20s infinite linear;
  padding: 30px;
}
body[data-branch="parrilla"] .logo-circle,
.logo-circle-parrilla {
  background: radial-gradient(circle, #f04d4d 0%, #8a1818 70%);
  border: 8px solid #ffb703;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    inset 0 -15px 40px rgba(0,0,0,0.5),
    0 0 60px rgba(252, 163, 17, 0.25);
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.logo-circle-inner {
  animation: rotate 20s infinite linear reverse;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  background: transparent;
  clip-path: circle(50%);
}
.logo-fallback { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.logo-fallback i { font-size: 7rem; color: var(--accent); margin-bottom: 10px; animation: bounce 2s infinite; }
.logo-fallback h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--accent); letter-spacing: 3px; }
.logo-fallback p { font-size: 1rem; font-style: italic; }
.logo-circle::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px dashed var(--accent);
  opacity: 0.4;
  animation: rotate 30s infinite linear reverse;
}

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 3px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.section-title p { font-size: 1.1rem; opacity: 0.8; }
.section-title .underline { width: 80px; height: 4px; background: var(--gold-gradient); margin: 15px auto; border-radius: 2px; }
body[data-branch="parrilla"] .section-title h2 {
  background: linear-gradient(135deg, #ffb703 0%, #f04d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body[data-branch="parrilla"] .section-title .underline {
  background: linear-gradient(90deg, #ffb703, #f04d4d);
}

/* ====== CATEGORIES ====== */
.category-tabs { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 50px; }
.cat-tab {
  padding: 12px 25px;
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: 50px;
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.cat-tab:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-tab.active {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: var(--accent);
  box-shadow: 0 5px 20px rgba(244, 196, 48, 0.4);
}

/* ====== MENU GRID ====== */
.menu-section { padding: 80px 5%; background: var(--bg-dark); }
body[data-branch="parrilla"] .menu-section,
.menu-section-parrilla {
  background: linear-gradient(180deg, #0f0b0a 0%, #241b19 100%);
}
.menu-section-parrilla .section-title h2 {
  background: linear-gradient(135deg, #ffb703 0%, #f04d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.menu-section-parrilla .underline { background: linear-gradient(90deg, #ffb703, #f04d4d); }

.location-section {
  padding: 80px 5%;
  background: var(--bg-dark);
}
body[data-branch="parrilla"] .location-section {
  background: linear-gradient(180deg, #241b19 0%, #0f0b0a 100%);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.location-card {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(244,196,48,0.15);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}
body[data-branch="parrilla"] .location-card {
  border-color: rgba(252, 163, 17, 0.2);
  background: rgba(255,255,255,0.04);
}
body[data-branch="parrilla"] .location-card:hover {
  border-color: #ffb703;
  background: rgba(252, 163, 17, 0.08);
}
.location-card:hover {
  border-color: var(--accent);
  background: rgba(244,196,48,0.05);
}
.location-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 12px;
}
body[data-branch="parrilla"] .location-card i { color: #ffb703; }
.location-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
body[data-branch="parrilla"] .location-card h3 { color: #ffb703; }
.location-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}
.location-card a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.location-card a:hover { color: var(--accent); text-decoration: underline; }
.location-map {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(244,196,48,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  min-height: 400px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
body[data-branch="parrilla"] .location-map {
  border-color: rgba(252, 163, 17, 0.25);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: none;
  display: block;
  flex: 1 1 auto;
}
.location-hours-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.location-hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.location-hours-list li:last-child { border-bottom: none; }
.location-hours-list li span { opacity: 0.7; }
@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 350px; }
  .location-map iframe { height: 100%; min-height: 350px; }
}

.package-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.package-filter {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(252, 163, 17, 0.3);
  background: rgba(255,255,255,0.03);
  color: #ffb703;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-family: inherit;
}
.package-filter:hover, .package-filter.active {
  background: linear-gradient(135deg, #ffb703 0%, #e63946 100%);
  color: #000;
  border-color: transparent;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}
.package-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 2px solid rgba(252, 163, 17, 0.2);
  border-radius: 24px;
  padding: 28px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}
.package-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #ffb703;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 30px rgba(252, 163, 17, 0.15);
}
.package-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.package-icon { font-size: 2.2rem; }
.package-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  color: #ffb703;
  flex: 1;
}
.package-badge {
  background: rgba(252, 163, 17, 0.15);
  color: #ffb703;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.package-items {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}
.package-items li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.package-items li:last-child { border-bottom: none; }
.package-items .qty {
  background: rgba(252, 163, 17, 0.2);
  color: #ffb703;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
}
.package-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.package-price {
  font-weight: 700;
  color: #ffb703;
  font-size: 1.1rem;
}
.package-note {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 14px;
  line-height: 1.5;
}
.package-note i { color: #ffb703; margin-right: 6px; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.menu-card {
  background: var(--gradient);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(244, 196, 48, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}
.menu-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); border-color: var(--accent); }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.1), transparent);
  transition: left 0.6s;
  pointer-events: none;
  z-index: 1;
}
.menu-card:hover::before { left: 100%; }

.card-header {
  padding: 25px;
  text-align: center;
  background: linear-gradient(135deg, rgba(244, 196, 48, 0.1), transparent);
  position: relative;
}

.card-image {
  width: 130px; height: 130px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 10px;
  border: 4px solid var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s;
  background: rgba(255, 255, 255, 0.05);
}
.menu-card:hover .card-image { transform: scale(1.15) rotate(-5deg); }

.card-emoji { display: none !important; }

.card-icon-badge {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: radial-gradient(circle at 35% 35%, rgba(45, 106, 79, 0.45) 0%, rgba(15, 45, 25, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(244, 196, 48, 0.12);
  color: var(--accent);
  font-size: 3.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.menu-card:hover .card-icon-badge {
  transform: scale(1.15) rotate(-5deg);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(244, 196, 48, 0.3);
}

.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--accent); letter-spacing: 2px; }
.card-body { padding: 25px; }
.card-description { font-size: 0.9rem; opacity: 0.85; margin-bottom: 20px; min-height: 80px; line-height: 1.5; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.card-price { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--accent); letter-spacing: 1px; }

.add-btn {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  font-family: inherit;
}
.add-btn:hover { transform: scale(1.05); box-shadow: 0 5px 20px rgba(244, 196, 48, 0.5); }
.add-btn.added { background: linear-gradient(135deg, #27ae60, #2ecc71); color: white; }

.combo-tag {
  display: block;
  background: rgba(244, 196, 48, 0.2);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin: 12px 0 15px;
  font-weight: 600;
  border: 1px solid var(--accent);
  line-height: 1.4;
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
}

/* ====== FEATURES ====== */
.features { padding: 80px 5%; background: var(--primary-dark); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(244, 196, 48, 0.2);
  transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-10px); background: rgba(244, 196, 48, 0.1); border-color: var(--accent); }
.feature-icon {
  width: 80px; height: 80px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--text-dark);
  transition: transform 0.4s;
}
.feature-card:hover .feature-icon { transform: rotate(360deg) scale(1.1); }
.feature-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }

/* ========================================
   CART - FIX CHROME MÓVIL (dvh)
   ======================================== */
.cart-modal {
  position: fixed;
  top: 0; right: -100%;
  width: 480px; max-width: 100%;
  height: 100vh;
  height: 100dvh; /* FIX CHROME: dynamic viewport height */
  background: var(--bg-dark);
  z-index: 2000;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  border-left: 3px solid var(--accent);
}
.cart-modal.open { right: 0; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cart-overlay.show { opacity: 1; visibility: visible; }

.cart-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.1) 0%, transparent 50%);
  animation: shimmer 4s infinite linear;
}
@keyframes shimmer { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.cart-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.close-cart {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(244, 196, 48, 0.3);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-cart:hover { background: var(--accent); color: var(--text-dark); transform: rotate(90deg); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  overflow-y: overlay; /* FIX CHROME: usa overlay en vez de hidden scrollbar */
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.cart-items {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(244, 196, 48, 0.1);
}
.cart-empty { text-align: center; padding: 40px 20px; opacity: 0.6; }
.cart-empty i { font-size: 4rem; color: var(--accent); margin-bottom: 15px; animation: bounce 2s infinite; }

.cart-item {
  background: linear-gradient(135deg, var(--bg-card), var(--primary-light));
  border-radius: 15px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(244, 196, 48, 0.15);
  transition: all 0.3s;
  animation: slideInItem 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
@keyframes slideInItem { from { opacity: 0; transform: translateX(30px) scale(0.95); } to { opacity: 1; transform: translateX(0) scale(1); } }
.cart-item.removing { animation: slideOutItem 0.3s ease forwards; }
@keyframes slideOutItem { to { opacity: 0; transform: translateX(50px) scale(0.9); } }

.cart-item::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.15), transparent);
  transition: left 0.6s;
}
.cart-item:hover::before { left: 100%; }
.cart-item:hover { border-color: var(--accent); transform: translateX(-3px); }

.cart-item-emoji {
  font-size: 2rem;
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: rgba(244, 196, 48, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.cart-item:hover .cart-item-emoji { transform: scale(1.1) rotate(10deg); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; color: var(--accent); font-size: 0.95rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-extras { font-size: 0.72rem; opacity: 0.75; margin-top: 2px; font-style: italic; line-height: 1.3; }
.cart-item-price { font-size: 0.85rem; opacity: 0.95; font-weight: 600; margin-top: 3px; color: var(--accent); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  padding: 3px;
  border: 1px solid rgba(244, 196, 48, 0.2);
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.qty-btn:hover { transform: scale(1.15); }
.qty-num { font-weight: 700; min-width: 22px; text-align: center; color: var(--accent); font-size: 0.9rem; }

.remove-btn {
  background: rgba(255, 56, 56, 0.2);
  color: var(--danger);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.remove-btn:hover { background: var(--danger); color: white; transform: rotate(90deg) scale(1.1); }

.cart-footer {
  flex-shrink: 0;
  background: var(--primary-dark);
  border-top: 2px solid var(--accent);
  /* FIX CHROME: padding-bottom adicional para compensar la barra */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 20px 10px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 15px;
  background: rgba(244, 196, 48, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(244, 196, 48, 0.3);
}
.cart-total .total-amount {
  color: var(--accent);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
}

.delivery-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-radius: 10px;
  margin: 15px 20px 15px;
  font-size: 0.82rem;
  color: var(--info-color);
  line-height: 1.3;
}
.delivery-notice i { font-size: 1rem; flex-shrink: 0; }

.form-section { margin-bottom: 15px; padding: 0 20px; }
.form-section-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.delivery-options, .payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.delivery-option, .payment-option { position: relative; cursor: pointer; }
.delivery-option input, .payment-option input { position: absolute; opacity: 0; pointer-events: none; }

.delivery-card, .payment-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.delivery-card i, .payment-card i { font-size: 1.4rem; color: var(--accent); margin-bottom: 3px; transition: transform 0.3s; }
.delivery-card strong, .payment-card span { font-size: 0.85rem; display: block; }
.delivery-card span { font-size: 0.7rem; opacity: 0.7; }
.delivery-option input:checked + .delivery-card,
.payment-option input:checked + .payment-card {
  background: rgba(244, 196, 48, 0.15);
  border-color: var(--accent);
  box-shadow: 0 5px 20px rgba(244, 196, 48, 0.2);
}
.delivery-option input:checked + .delivery-card i,
.payment-option input:checked + .payment-card i { transform: scale(1.2); }
.delivery-card:hover, .payment-card:hover { border-color: rgba(244, 196, 48, 0.5); transform: translateY(-2px); }

.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-size: 0.82rem; margin-bottom: 5px; color: var(--accent); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 196, 48, 0.3);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s;
  color-scheme: dark;
}
.form-group select option { background: #1a1a1a; color: var(--text); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(244, 196, 48, 0.05);
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-group textarea { resize: vertical; min-height: 55px; }

.checkout-btn {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  font-family: inherit;
  letter-spacing: 0.5px;
}
.checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); }
.checkout-btn:active { transform: translateY(0); }

/* ====== OPTIONS MODAL ====== */
.options-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.options-overlay.show { opacity: 1; visibility: visible; }

.options-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 550px; max-width: 95%;
  max-height: 90vh;
  max-height: 90dvh; /* FIX CHROME */
  background: var(--bg-dark);
  border-radius: 25px;
  z-index: 3001;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--accent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}
.options-modal.show { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }

.options-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent);
}
.options-header-content { display: flex; align-items: center; gap: 15px; }
.options-image { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; border: 3px solid var(--accent); flex-shrink: 0; }
.options-emoji {
  font-size: 3rem;
  width: 70px; height: 70px;
  background: rgba(244, 196, 48, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.options-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--accent); letter-spacing: 1.5px; }
.options-header p { color: var(--text); font-weight: 700; font-size: 1.15rem; margin-top: 2px; }

.close-options {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(244, 196, 48, 0.3);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-options:hover { background: var(--accent); color: var(--text-dark); transform: rotate(90deg); }

.options-body { padding: 20px 25px 90px; overflow-y: auto; flex: 1; }
.option-group { margin-bottom: 22px; }
.option-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.option-group-title .badge {
  background: rgba(244, 196, 48, 0.2);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.option-group-title .badge.optional { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.combo-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 10px 0 0;
  line-height: 1.45;
  padding: 10px 12px;
  background: rgba(244, 196, 48, 0.08);
  border: 1px solid rgba(244, 196, 48, 0.2);
  border-radius: 10px;
}
#allergy-detail { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.option-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(244, 196, 48, 0.2);
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text);
  user-select: none;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  min-height: 44px;
  flex: 1 1 auto;
  max-width: 100%;
}
.option-chip:hover { border-color: var(--accent); background: rgba(244, 196, 48, 0.1); transform: translateY(-2px); }
.option-chip.selected {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(244, 196, 48, 0.4);
}
.option-chip.selected::before { content: '✓ '; font-weight: 700; }

.option-textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 196, 48, 0.3);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 70px;
}
.option-textarea:focus { outline: none; border-color: var(--accent); }

.options-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 25px;
  background: var(--primary-dark);
  border-top: 1px solid rgba(244, 196, 48, 0.3);
  display: flex;
  gap: 15px;
  align-items: center;
  z-index: 2;
}
.options-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  padding: 4px;
  border: 1px solid rgba(244, 196, 48, 0.3);
}
.options-qty button {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.options-qty button:hover { transform: scale(1.15); }
.options-qty span { font-weight: 700; min-width: 30px; text-align: center; color: var(--accent); font-size: 1.1rem; }

.confirm-btn {
  flex: 1;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 5px 20px rgba(46, 204, 113, 0.4);
  font-family: inherit;
}
.confirm-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(46, 204, 113, 0.6); }

/* ====== TOAST ====== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  max-width: 90vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast.error { background: linear-gradient(135deg, #ff3838, #c0392b); }
.toast i { font-size: 1.2rem; flex-shrink: 0; }

@media (max-width: 600px) {
  .toast {
    bottom: 85px;
    left: 15px;
    right: 15px;
    transform: translateY(30px);
    max-width: none;
    width: auto;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    padding: 12px 20px;
  }
  .toast.show { transform: translateY(0); }
}

/* ====== FOOTER ====== */
footer {
  background: var(--primary-dark);
  padding: 50px 5% 20px;
  text-align: center;
  border-top: 2px solid var(--accent);
}
body[data-branch="parrilla"] footer {
  background: #0f0b0a;
  border-top-color: #ffb703;
}
body[data-branch="parrilla"] .footer-logo {
  background: linear-gradient(135deg, #ffb703 0%, #f04d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body[data-branch="parrilla"] .footer-tag { color: #ffb703; }
body[data-branch="parrilla"] .social-links a {
  background: linear-gradient(135deg, #ffb703 0%, #e63946 100%);
  color: #000;
}
body[data-branch="parrilla"] .social-links a:hover {
  box-shadow: 0 10px 20px rgba(252,163,17,0.4);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  margin-bottom: 15px;
}
.footer-tag { font-size: 1.1rem; font-style: italic; color: var(--accent); margin-bottom: 25px; }
.social-links { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; }
.social-links a {
  width: 45px; height: 45px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
  text-decoration: none;
}
.social-links a:hover { transform: translateY(-5px) rotate(360deg); box-shadow: 0 10px 20px rgba(244, 196, 48, 0.4); }
.copyright { opacity: 0.6; font-size: 0.9rem; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ====== RESPONSIVE ====== */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .logo-circle { width: 350px; height: 350px; }
  .hero-buttons, .hero-stats { justify-content: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .navbar.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-bottom: 2px solid var(--accent);
  }
  body[data-branch="parrilla"] .navbar.menu-open .nav-links {
    background: #2a1512;
    border-bottom-color: #f77f00;
  }
}

/* ====== SEARCH BOX ====== */
.menu-search-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
}
.menu-search-wrapper i {
  position: absolute;
  left: 18px;
  color: var(--accent);
  font-size: 1rem;
  pointer-events: none;
}
.menu-search-wrapper input {
  width: 100%;
  padding: 14px 45px;
  border-radius: 50px;
  border: 2px solid rgba(244, 196, 48, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}
.menu-search-wrapper input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(244, 196, 48, 0.05);
  box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.1);
}
.menu-search-wrapper input::placeholder { color: rgba(255, 255, 255, 0.5); }
.clear-search {
  position: absolute;
  right: 8px;
  background: rgba(244, 196, 48, 0.2);
  border: none;
  color: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.clear-search:hover { background: var(--accent); color: var(--text-dark); }
.clear-search.visible { display: flex; }
.search-status {
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
  min-height: 24px;
}
.search-status span { color: var(--accent); font-weight: 600; }

/* ====== ANIMATIONS & EFFECTS ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(244,196,48,0.15) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s infinite;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.menu-card {
  opacity: 1;
  transform: none;
  animation: none;
}
.menu-card:hover {
  transform: translateY(-10px) scale(1.02) rotateX(2deg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 30px rgba(244,196,48,0.15);
}

/* Typewriter cursor */
#heroTypewriter {
  min-height: 2.2em;
}
#heroTypewriter::after {
  content: '|';
  color: var(--accent);
  animation: blink 0.8s infinite;
  margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Category transition */
.menu-grid {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.menu-grid.switching {
  opacity: 0;
  transform: translateY(20px);
}

/* Confetti canvas */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 6000;
}

@media (max-width: 600px) {
  .logo-circle { width: 280px; height: 280px; padding: 20px; }
  .menu-grid { grid-template-columns: 1fr; }
  .cart-modal { width: 100%; }
  .options-modal { width: 95%; }
  .hero-stats { gap: 10px; }
  .stat { padding: 8px 14px; }
  .card-image { width: 110px; height: 110px; }
  .btn { padding: 14px 30px; font-size: 0.95rem; }
  .menu-search-wrapper { margin-bottom: 20px; }
}

/* ====== CONTACT SECTION ====== */
.contact-section {
  padding: 80px 5%;
  background: var(--primary-dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(244, 196, 48, 0.15);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
}
.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  background: rgba(244, 196, 48, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.contact-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}
.contact-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}
.contact-card a:hover { opacity: 1; text-decoration: underline; }

/* ====== HERO PARRILLA ====== */
.hero-parrilla::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(252, 163, 17, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(214, 40, 40, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, #181210 0%, #0f0b0a 100%);
}
.hero-parrilla .highlight-parrilla {
  background: linear-gradient(135deg, #ffb703 0%, #f04d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-parrilla .parrilla-tag {
  background: rgba(252, 163, 17, 0.12);
  border-color: #ffb703;
  color: #ffb703;
}
.hero-stats-parrilla .stat-parrilla {
  background: rgba(252, 163, 17, 0.08);
  border-color: rgba(252, 163, 17, 0.3);
}
.hero-stats-parrilla .stat-parrilla:hover {
  background: rgba(252, 163, 17, 0.15);
  border-color: #ffb703;
}
.hero-stats-parrilla .stat-parrilla strong { color: #ffb703; }

.ember-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.ember {
  position: absolute;
  bottom: -10px;
  background: radial-gradient(circle, #ffb703 0%, rgba(232,93,4,0) 70%);
  border-radius: 50%;
  opacity: 0.6;
  animation: rise linear infinite;
  filter: blur(1px);
}
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.4; }
  100% { transform: translateY(-110vh) scale(0.4); opacity: 0; }
}
.particle-parrilla { color: #ffb703; opacity: 0.35; }

/* ====== RESERVATION SECTION ====== */
.reservation-section {
  padding: 80px 5%;
  background: var(--bg-dark);
}
.reservation-parrilla {
  background: linear-gradient(180deg, #241b19 0%, #0f0b0a 100%);
}
.reservation-parrilla .underline { background: linear-gradient(90deg, #ffb703, #f04d4d); }
.info-card-parrilla { border-color: rgba(252, 163, 17, 0.25); }
.info-card-parrilla:hover {
  border-color: #ffb703;
  background: rgba(252, 163, 17, 0.08);
}
.info-card-parrilla i { color: #ffb703; }
.info-card-parrilla h3 { color: #ffb703; }
.reservation-form-parrilla {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(252, 163, 17, 0.25);
}
.reservation-form-parrilla .checkout-btn { background: linear-gradient(135deg, #ffb703 0%, #f77f00 100%); color: #000; }
.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.reservation-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(244, 196, 48, 0.15);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}
.info-card:hover {
  border-color: var(--accent);
  background: rgba(244, 196, 48, 0.05);
}
.info-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.info-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
.info-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}
.reservation-form {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(244, 196, 48, 0.2);
  border-radius: 25px;
  padding: 35px 30px;
  max-width: 100%;
}
.reservation-form .form-group {
  margin-bottom: 18px;
  max-width: 100%;
}
.table-map-wrapper {
  max-width: 100%;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.reservation-form .checkout-btn {
  width: 100%;
  margin: 10px 0 0;
}
.reservation-email {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  opacity: 0.8;
}
.reservation-email a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.package-info {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(244,196,48,0.2);
  border-radius: 12px;
  padding: 15px;
  margin-top: 10px;
  font-size: 0.9rem;
}
.package-info ul { margin: 8px 0 0 18px; padding: 0; }
.package-info li { margin-bottom: 4px; opacity: 0.9; }
.package-info .qty { color: var(--accent); font-weight: 700; margin-right: 4px; }

.reservation-total {
  background: rgba(244,196,48,0.08);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}
.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1rem;
}
.total-grand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  border-top: 1px solid rgba(244,196,48,0.3);
  padding-top: 10px;
}
.price-note {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 10px;
  line-height: 1.5;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--accent);
  opacity: 0.85;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}
.table-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(244,196,48,0.2);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.table-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.table-card .table-label {
  padding: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.table-card .table-capacity {
  font-size: 0.75rem;
  opacity: 0.75;
  padding-bottom: 10px;
}
.table-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(244,196,48,0.15);
}
.table-card:hover img { opacity: 1; }
.table-card.selected {
  border-color: var(--accent);
  background: rgba(244,196,48,0.1);
  box-shadow: 0 0 0 3px rgba(244,196,48,0.25);
}
.table-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.table-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.8);
}
.table-card.disabled .table-label,
.table-card.disabled .table-capacity { text-decoration: line-through; }

/* ====== MAPA VISUAL DE MESAS ====== */
.table-map-wrapper {
  width: 100%;
}
.table-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at center, rgba(244,196,48,0.08) 0%, rgba(0,0,0,0.25) 70%),
    linear-gradient(135deg, rgba(26,77,46,0.4) 0%, rgba(13,38,23,0.6) 100%);
  border: 2px solid rgba(244,196,48,0.22);
  border-radius: 20px;
  overflow: hidden;
}
body[data-branch="parrilla"] .table-map {
  background:
    radial-gradient(ellipse at center, rgba(255,183,3,0.10) 0%, rgba(0,0,0,0.3) 70%),
    linear-gradient(135deg, rgba(90,22,22,0.5) 0%, rgba(21,16,15,0.7) 100%);
  border-color: rgba(255,183,3,0.25);
}
.table-map::before {
  content: 'SALÓN PRINCIPAL';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.2em;
  pointer-events: none;
  text-transform: uppercase;
}

/* Mapa con grid real de filas/columnas */
.table-map.table-map-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  aspect-ratio: 16 / 7;
}

.table-map-spot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(62px, 10vw, 90px);
  height: clamp(62px, 10vw, 90px);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.table-map-grid .table-map-spot {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  transform: none;
}
.table-map-grid .table-map-spot:hover:not(.disabled) {
  transform: scale(1.05);
}
.table-map-grid .table-map-spot.premium .table-map-shape {
  background: rgba(255,183,3,0.18);
  border-color: #D4AF37;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.25);
}
.table-map-spot.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.9);
}
.table-map-spot:not(.disabled):hover {
  transform: translate(-50%, -50%) scale(1.12);
}
.table-map-grid .table-map-spot:not(.disabled):hover {
  transform: scale(1.05);
}
.table-map-shape {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(46,204,113,0.18);
  border: 2px solid var(--success);
  box-shadow: 0 4px 14px rgba(46,204,113,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.table-map-spot[data-shape="square"] .table-map-shape,
.table-map-spot[data-shape="rectangle-h"] .table-map-shape,
.table-map-spot[data-shape="rectangle-v"] .table-map-shape,
.table-map-grid .table-map-shape { border-radius: 10px; }
.table-map-spot[data-shape="rectangle-h"] .table-map-shape { width: 135%; }
.table-map-spot[data-shape="rectangle-v"] .table-map-shape { height: 135%; }
.table-map-spot[data-shape="rectangle-h"] .table-map-name,
.table-map-spot[data-shape="rectangle-h"] .table-map-capacity,
.table-map-spot[data-shape="rectangle-v"] .table-map-name,
.table-map-spot[data-shape="rectangle-v"] .table-map-capacity { transform: translate(-50%, -50%) scale(0.92); }
.table-map-grid .table-map-spot .table-map-name,
.table-map-grid .table-map-spot .table-map-capacity {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  line-height: 1.2;
}
.table-map-grid .table-map-spot .table-map-name {
  transform: translate(-50%, -62%);
  font-size: clamp(0.5rem, 1.1vw, 0.7rem);
}
.table-map-grid .table-map-spot .table-map-capacity {
  transform: translate(-50%, 55%);
  font-size: clamp(0.4rem, 0.9vw, 0.55rem);
}
.table-map-spot.selected .table-map-shape {
  background: rgba(244,196,48,0.25);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(244,196,48,0.25), 0 6px 20px rgba(244,196,48,0.25);
}
.table-map-spot.disabled .table-map-shape {
  background: rgba(255,56,56,0.12);
  border-color: var(--danger);
  box-shadow: none;
}
.table-map-spot::after {
  content: '✓';
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.25s ease;
}
.table-map-spot.selected::after {
  opacity: 1;
  transform: scale(1);
}
.table-map-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
  pointer-events: none;
}
.table-map-capacity {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.5rem, 1vw, 0.65rem);
  color: rgba(255,255,255,0.75);
  pointer-events: none;
}
.table-map-legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.table-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 900px) {
  .table-map-spot {
    width: clamp(52px, 12vw, 70px);
    height: clamp(52px, 12vw, 70px);
  }
  .table-map-grid {
    gap: 4px;
    padding: 6px;
    aspect-ratio: 16 / 9;
  }
  .table-map-grid .table-map-spot .table-map-name {
    font-size: clamp(0.4rem, 1.8vw, 0.55rem);
  }
  .table-map-grid .table-map-spot .table-map-capacity {
    font-size: clamp(0.35rem, 1.4vw, 0.45rem);
  }
}

@media (max-width: 600px) {
  .table-map-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    /* Indicador sutil de scroll */
    background:
      linear-gradient(to right, transparent calc(100% - 30px), rgba(0,0,0,0.25) 100%);
  }
  .table-map-wrapper::-webkit-scrollbar {
    height: 6px;
  }
  .table-map-wrapper::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
  }
  .table-map-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }
  .table-map {
    min-width: 680px;
  }
  .table-map-grid {
    min-width: 680px;
    aspect-ratio: 16 / 8;
    gap: 6px;
    padding: 10px;
  }
  .table-map-grid .table-map-spot .table-map-name {
    font-size: clamp(0.55rem, 1.6vw, 0.75rem);
  }
  .table-map-grid .table-map-spot .table-map-capacity {
    font-size: clamp(0.45rem, 1.2vw, 0.6rem);
  }

  /* Mapa compacto cuando hay 6 o menos mesas habilitadas (celular) */
  .table-map-compact,
  .table-map-compact.table-map-grid {
    min-width: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)) !important;
    gap: 8px;
    padding: 10px;
  }
  .table-map-compact.table-map-grid .table-map-spot {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 70px;
    aspect-ratio: 1 / 1;
    transform: none;
  }
  .table-map-compact.table-map-grid .table-map-spot:not(.disabled):hover {
    transform: scale(1.05);
  }
  .table-map-compact .table-map-name {
    font-size: clamp(0.6rem, 2.8vw, 0.85rem);
  }
  .table-map-compact .table-map-capacity {
    font-size: clamp(0.5rem, 2.2vw, 0.7rem);
  }
}

@media (max-width: 900px) {
  .reservation-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .table-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .table-grid { grid-template-columns: 1fr; }
}

/* ====== INSTAGRAM GALLERY ====== */
.instagram-section {
  padding: 80px 5%;
  background: var(--primary-dark);
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.instagram-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(244, 196, 48, 0.15);
  transition: all 0.4s ease;
  display: block;
  -webkit-tap-highlight-color: transparent;
}
.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.instagram-card:hover,
.instagram-card:active {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.instagram-card:hover img,
.instagram-card:active img { transform: scale(1.08); }
.instagram-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.instagram-card:hover .instagram-overlay,
.instagram-card:active .instagram-overlay { opacity: 1; }
.instagram-overlay span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}
.instagram-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.instagram-empty,
.instagram-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(244, 196, 48, 0.25);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 20px;
  -webkit-tap-highlight-color: transparent;
}
.instagram-empty i {
  font-size: 3rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.instagram-empty strong { font-size: 1.2rem; }
.instagram-empty span { font-size: 0.9rem; opacity: 0.85; }
.instagram-empty .sub { font-size: 0.8rem; opacity: 0.6; }
.instagram-empty:hover,
.instagram-empty:active,
.instagram-slot:hover,
.instagram-slot:active {
  background: rgba(244, 196, 48, 0.08);
  border-color: var(--accent);
  transform: translateY(-6px);
}
.instagram-slot i {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.5;
}

/* Parrilla variant */
body[data-branch="parrilla"] .instagram-section { background: #0f0b0a; }
body[data-branch="parrilla"] .instagram-card,
body[data-branch="parrilla"] .instagram-empty,
body[data-branch="parrilla"] .instagram-slot { border-color: rgba(252, 163, 17, 0.25); }
body[data-branch="parrilla"] .instagram-card:hover,
body[data-branch="parrilla"] .instagram-card:active,
body[data-branch="parrilla"] .instagram-empty:hover,
body[data-branch="parrilla"] .instagram-empty:active,
body[data-branch="parrilla"] .instagram-slot:hover,
body[data-branch="parrilla"] .instagram-slot:active { border-color: #ffb703; }

@media (max-width: 900px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ====== INSTAGRAM CAROUSEL (móvil) ====== */
.instagram-carousel {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid rgba(244, 196, 48, 0.2);
  background: #000;
}
.instagram-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 55vh;
  background: #000;
}
.instagram-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: block;
  background: #000;
  z-index: 0;
}
.instagram-carousel-slide.active { opacity: 1; z-index: 1; }
.instagram-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.instagram-carousel-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 18px 16px 14px;
  text-align: center;
  pointer-events: none;
}
.instagram-carousel-caption span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}
.instagram-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 0 0;
  margin: 0;
  line-height: 1;
}
.instagram-carousel-dot {
  all: unset;
  appearance: none;
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.3s ease, transform 0.3s ease;
  flex: 0 0 10px;
}
.instagram-carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}
body[data-branch="parrilla"] .instagram-carousel { border-color: rgba(252, 163, 17, 0.25); }
body[data-branch="parrilla"] .instagram-carousel-dot.active { background: #ffb703; }

@media (max-width: 600px) {
  .instagram-grid { grid-template-columns: 1fr; }
  .instagram-overlay { opacity: 1; background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 70%); }
  .instagram-overlay span { font-size: 0.85rem; }
}

/* ====== ADMIN ACCESS LINK ====== */
.admin-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 196, 48, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
  z-index: 100;
}
.admin-link:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: scale(1.1);
}

/* ====== MENÚ ESPECIAL POR HORARIO ====== */

/* Banner animado: menú del día Lunes-Sábado */
.lunch-banner {
  background: linear-gradient(135deg, rgba(244,196,48,0.18) 0%, rgba(37,211,102,0.12) 100%);
  border: 2px solid var(--accent);
  border-radius: 30px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: lunchPulse 3s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
@keyframes lunchPulse {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 0 rgba(244,196,48,0.25); }
  50% { box-shadow: 0 25px 70px rgba(0,0,0,0.35), 0 0 0 15px rgba(244,196,48,0); }
}
.lunch-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(244,196,48,0.15) 0%, transparent 40%);
  pointer-events: none;
}
.lunch-banner-icon {
  font-size: 5rem;
  margin-bottom: 15px;
  animation: plateBounce 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes plateBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}
.lunch-banner h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
}
.lunch-banner p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
  opacity: 0.95;
  position: relative;
}
.lunch-banner-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(244,196,48,0.25);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-bottom: 25px;
  position: relative;
}
.lunch-banner-hours i { color: var(--accent); }
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(37,211,102,0.4);
}
.lunch-banner-btn {
  animation: whatsappWiggle 2.5s ease-in-out infinite;
}
@keyframes whatsappWiggle {
  0%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(-4deg); }
  10% { transform: rotate(4deg); }
  15% { transform: rotate(0deg); }
}

/* Nota de horario para comidas rápidas fuera de hora de pedido */
.fast-food-notice {
  background: rgba(255,56,56,0.12);
  border: 1px solid rgba(255,56,56,0.35);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: #ff9f9f;
  margin-bottom: 10px;
}
.fast-food-notice i { font-size: 1.4rem; }

/* Menú del domingo - tarjetas especiales */
.sunday-note {
  background: rgba(244,196,48,0.12);
  border: 1px solid rgba(244,196,48,0.3);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 15px;
}
.sunday-note i { font-size: 1.3rem; }

.menu-card.sunday-special {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(244,196,48,0.08) 0%, rgba(26,77,46,0.4) 100%);
  position: relative;
  padding-top: 38px;
}
.menu-card.sunday-special::before {
  content: 'DOMINGO';
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  z-index: 2;
}
.menu-card.sunday-special .card-description {
  font-size: 0.92rem;
  line-height: 1.7;
}
.menu-card.sunday-special .card-price {
  color: var(--accent);
  font-size: 1.4rem;
}

/* Botón deshabilitado fuera de horario */
.add-btn.disabled {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: not-allowed;
  opacity: 0.7;
}
.add-btn.disabled:hover {
  transform: none;
  background: rgba(255,255,255,0.08);
  box-shadow: none;
}

@media (max-width: 600px) {
  .lunch-banner { padding: 35px 20px; }
  .lunch-banner h3 { font-size: 2rem; }
  .lunch-banner p { font-size: 1rem; }
  .lunch-banner-icon { font-size: 4rem; }
  .btn-whatsapp { font-size: 1rem; padding: 14px 24px; }
  .menu-card.sunday-special { padding-top: 36px; }
  .menu-card.sunday-special::before { top: 8px; right: 8px; font-size: 0.6rem; padding: 4px 8px; }
}

/* ====== HERO BANNERS (promociones sin imagen) ====== */
#promotionsBar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.promo-bar {
  flex: 1 1 calc(50% - 15px);
  min-width: 260px;
  max-width: 100%;
  background: linear-gradient(90deg, rgba(244,196,48,0.15), rgba(244,196,48,0.05));
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 0.3s ease;
}

body[data-branch="parrilla"] .promo-bar {
  background: linear-gradient(90deg, rgba(252,163,17,0.15), rgba(252,163,17,0.05));
  border-color: #ffb703;
}

.promo-bar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244,196,48,0.2);
  border-color: var(--accent);
}

body[data-branch="parrilla"] .promo-bar:hover {
  box-shadow: 0 8px 25px rgba(252,163,17,0.2);
  border-color: #ffb703;
}

.promo-bar .promo-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.promo-bar .promo-text {
  flex: 1;
  min-width: 0;
}

.promo-bar .promo-title {
  color: var(--accent);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

body[data-branch="parrilla"] .promo-bar .promo-title {
  color: #ffb703;
}

.promo-bar .promo-desc {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.4;
}

.promo-bar .promo-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

@media (max-width: 968px) {
  #promotionsBar {
    justify-content: center;
  }
  .promo-bar {
    flex: 1 1 100%;
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  #promotionsBar {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .promo-bar {
    padding: 10px 14px;
  }
  .promo-bar .promo-icon {
    font-size: 1.3rem;
  }
  .promo-bar .promo-title {
    font-size: 0.9rem;
  }
  .promo-bar .promo-desc {
    font-size: 0.8rem;
  }
}

/* ====== PROMO MODAL (imagen grande) ====== */
.promo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo-modal-overlay.show { opacity: 1; visibility: visible; }

.promo-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-dark);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.promo-modal-overlay.show .promo-modal { transform: scale(1); }

.promo-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 2px solid var(--accent);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.promo-modal-close:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: rotate(90deg);
}

.promo-modal-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: var(--bg);
}

.promo-modal-content {
  padding: 20px 25px;
  text-align: center;
}
.promo-modal-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.promo-modal-content p {
  color: var(--text);
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .promo-modal { max-width: 100%; border-radius: 16px; }
  .promo-modal-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 1.1rem; }
  .promo-modal-content h3 { font-size: 1.4rem; }
  .promo-modal-content { padding: 15px; }
}
