/* font-display:swap override para Font Awesome (evita FOIT) */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2') format('woff2');
}

:root {
  --red: #e60000;
  --dark-red: #b30000;
  --black: #111111;
  --text: #222222;
  --muted: #666666;
  --line: #dddddd;
  --bg: #f4eee6;
  --card: #ffffff;
  --cream: #f4eee6;
  --gold: #f3b533;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* Evitar espacios inline en imágenes */
.logo,
.hero-delivery-apps img,
.product-card-img,
.delivery-app-logo img,
.footer img,
.modal-image img {
  display: block;
}

/* content-visibility para secciones fuera del viewport inicial */
.menu-category,
.local-info,
.notes,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}

/* Menu Layout */
.menu-layout {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
}

/* HERO */
.hero {
  text-align: center;
  padding: 40px 20px 30px;
  background-image: linear-gradient(145deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%), url('assets/smoking_burger_bg.webp');
  background-size: cover;
  background-position: center;
}

.logo {
  width: 130px;
  height: 130px;
  max-width: 60%;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.hero-text .status {
  display: inline-block;
  background: var(--red);
  color: white;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 15vw, 4.5rem);
  color: var(--red);
  text-shadow: 3px 3px 0 var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-text p {
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-text span {
  display: block;
  color: #eeeeee;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.hero-delivery {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-delivery-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-delivery-apps {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-delivery-apps img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}

/* Uber Eats y Glovo llenan su PNG hasta el borde, añadimos más padding para igualar con Just Eat */
.hero-delivery-apps img[alt="Uber Eats"],
.hero-delivery-apps img[alt="Glovo"] {
  padding: 9px;
}

/* Just Eat tiene más transparencia interna, reducimos padding para que aparezca más grande */
.hero-delivery-apps img[alt="Just Eat"] {
  padding: 1px;
}

.btn-primary,
.btn-outline {
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-outline {
  background: white;
  color: var(--black);
}

/* Quick info con iconos */
.quick-info {
  display: flex;
  justify-content: space-around;
  padding: 20px 12px;
  text-align: center;
  background: var(--bg);
}

.quick-info div {
  flex: 1;
}

.quick-info i {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}

.quick-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
}

.quick-info span {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

/* Category nav wrapper */
.category-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  position: relative; /* para posicionar las flechas */
  display: flex;
  align-items: center;
}

/* Flechas de navegación — franja con degradado, sin círculo */
.nav-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 32px;
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 0;
}

.nav-arrow--left {
  left: 0;
  background: linear-gradient(to right, var(--bg) 40%, transparent);
  justify-content: flex-start;
  padding-left: 8px;
}

.nav-arrow--right {
  right: 0;
  background: linear-gradient(to left, var(--bg) 40%, transparent);
  justify-content: flex-end;
  padding-right: 8px;
}

.nav-arrow.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Category nav */
.category-nav {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 16px;
  background: var(--bg);
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav button {
  flex: 0 0 auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 100px;
  padding: 8px 18px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.category-nav button.active {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

/* Featured burger - EXACT MATCH */
.featured-burger {
  background-color: #111;
  background-image: url('assets/smoking_burger_bg.webp');
  background-image: image-set(
    url("assets/smoking_burger_bg.avif") type("image/avif"),
    url("assets/smoking_burger_bg.webp") type("image/webp")
  );
  background-position: center;
  background-size: cover;
  padding: 20px;
  position: relative;
}

.featured-burger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}


.featured-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-details {
  color: white;
  padding: 30px 10px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.featured-details .badge {
  background: var(--gold);
  color: var(--black);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 900;
  font-size: 0.65rem;
  margin-bottom: 8px;
  display: inline-block;
}

.featured-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.featured-details h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  margin: 0;
  letter-spacing: 1px;
}

.featured-price {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  color: white;
}

.featured-details p {
  font-size: 0.6rem;
  line-height: 1.3;
  color: #ccc;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.featured-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-featured {
  background: white;
  color: var(--black);
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.75rem;
}

.allergens-list {
  display: flex;
  gap: 4px;
}

.allergen-icon {
  width: 20px;
  height: 20px;
  background: #c37b5a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
}

.allergens-hint {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1px;
  opacity: 0.8;
  white-space: nowrap;
}

.allergens-hint i {
  font-size: 0.55rem;
  color: var(--red);
  opacity: 0.7;
}

/* Menú - Cuadrícula */
.menu {
  background: var(--bg);
  padding: 0 16px 24px;
}

.menu-category {
  margin-bottom: 24px;
}

.category-header {
  padding: 24px 0 12px;
  margin-bottom: 12px;
}

.category-header h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  color: var(--black);
  text-transform: uppercase;
}

.category-subtitle {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  height: auto;
  object-fit: cover;
}

.img-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Best Seller corner ribbon */
.bs-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: linear-gradient(135deg, #f3b533, #e8960a);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  pointer-events: none;
}

/* Zoom hint icon over product images */
.zoom-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 26px;
  height: 26px;
  background: rgba(0,0,0,0.45);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  pointer-events: none;
  opacity: 0.85;
  backdrop-filter: blur(2px);
}

/* Mystery overlay */
.mystery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.mystery-overlay i {
  font-size: 2rem;
  color: rgba(255,255,255,0.4);
}

.product-card-img.drink-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #f5f0e8;
}

/* Placeholder when drink has no image yet */
.drink-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #f0ebe3 0%, #e8e1d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9bfb5;
}

.drink-placeholder i {
  font-size: 2.4rem;
}

/* onerror fallback */
.img-wrapper.img-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #f0ebe3 0%, #e8e1d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.img-wrapper.img-placeholder img {
  display: none;
}

.img-wrapper.img-placeholder::after {
  content: "\f72f";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2rem;
  color: #c9bfb5;
}

/* ── Postres: fila horizontal compacta ── */
[data-section="postres"] .product-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

[data-section="postres"] .product-card {
  flex-direction: row;
  align-items: center;
  border-radius: 10px;
  min-height: unset;
  overflow: hidden;
}

[data-section="postres"] .img-wrapper {
  width: 72px;
  min-width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 0;
  overflow: hidden;
}

[data-section="postres"] .img-wrapper .drink-placeholder {
  width: 72px;
  min-width: 72px;
  height: 72px;
  aspect-ratio: unset;
  border-radius: 0;
}

[data-section="postres"] .product-card-img {
  width: 72px;
  height: 72px;
  aspect-ratio: 1;
  object-fit: cover;
}

[data-section="postres"] .product-card-body {
  padding: 8px 10px;
  flex: 1;
  min-width: 0;
}

[data-section="postres"] .product-header h3 {
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-section="postres"] .product-price {
  font-size: 0.75rem;
}

[data-section="postres"] .product-footer {
  padding-top: 4px;
}

[data-section="postres"] .allergens-hint {
  font-size: 0.48rem;
}

/* Bebidas: 3 columns on mobile — compact grid */
[data-section="bebidas"] .product-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

[data-section="bebidas"] .product-card {
  border-radius: 12px;
}

[data-section="bebidas"] .product-card-body {
  padding: 6px 8px 8px;
}

[data-section="bebidas"] .product-header h3 {
  font-size: 0.68rem;
  line-height: 1.2;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: unset;
}

[data-section="bebidas"] .product-price {
  font-size: 0.75rem;
}

[data-section="bebidas"] .product-description {
  font-size: 0.58rem;
}

[data-section="bebidas"] .desc-main {
  -webkit-line-clamp: 2;
  font-size: 0.58rem;
}

[data-section="bebidas"] .product-footer {
  flex-wrap: wrap;
  gap: 2px;
}

[data-section="bebidas"] .allergens-hint {
  font-size: 0.48rem;
}

[data-section="bebidas"] .product-card-img,
[data-section="bebidas"] .product-card-img.drink-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.product-card-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card.challenge {
  grid-column: 1 / -1;
  border: 4px solid var(--red);
  background: white;
  box-shadow: 0 10px 30px rgba(230, 0, 0, 0.2);
  text-align: center;
}

/* ── Best Seller card ── */
.product-card.best-seller-card {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(243,181,51,0.18), 0 6px 18px rgba(243,181,51,0.2);
  background: linear-gradient(160deg, #fffdf3 0%, #ffffff 100%);
}

/* ── Mystery card ── */
.product-card.mystery-card {
  border: 2px solid #2e2060;
  box-shadow: 0 0 0 3px rgba(100,60,200,0.12), 0 6px 18px rgba(50,20,120,0.18);
  background: linear-gradient(160deg, #f5f2ff 0%, #ffffff 100%);
}

.product-card.mystery-card .product-header h3 {
  color: #2e2060;
}

.product-card.mystery-card .product-price {
  color: #6b3fd4;
}

/* Cards without image */
.product-card.no-img {
  min-height: unset;
}

.product-card.no-img .product-card-body {
  padding: 14px 16px;
  /* Sin imagen encima: redondear también las esquinas superiores del body */
  border-radius: 12px 12px 0 0;
}

.product-card.no-img .product-header h3 {
  white-space: normal;
  overflow: visible;
}

.product-card.no-img .desc-main {
  font-size: 0.6rem;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.product-card.challenge .product-card-img {
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: auto;
  background: transparent;
}

.product-card.challenge .product-price {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  color: var(--black);
  display: block;
  margin-top: 14px;
}

.product-card.challenge .product-header {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.product-card.challenge .product-footer {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.product-card.challenge h3 {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-card.challenge .product-description {
  color: var(--black);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-card.challenge .desc-opts {
  font-size: 0.75rem;
  color: #666;
  font-style: italic;
  text-transform: none;
  font-weight: 500;
  margin-top: 6px;
  /* Anular el line-clamp global en el Challenge */
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  white-space: normal;
}

.product-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
}

.product-header h3 {
  font-size: 0.82rem;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
  width: 100%;
}

.product-price {
  font-weight: 900;
  color: var(--red);
  font-size: 0.88rem;
  white-space: nowrap;
}

.product-description {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  margin-bottom: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Main ingredient line in the card — clamped to 3 lines */
.desc-main {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Options line in the card — 1 línea con puntos suspensivos */
.desc-opts {
  font-size: 0.55rem;
  color: #888;
  line-height: 1.3;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
}

/* Badges overlay encima de la imagen */
.card-img-badges {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-badge {
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: #f0efed;
  font-weight: 800;
}

.product-badge.hot {
  background: #ffe0e0;
  color: var(--red);
}

.product-badge.gold {
  background: #fff0c7;
  color: #a45c00;
}

.product-badge.bestseller {
  background: linear-gradient(135deg, #f3b533, #e8960a);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(243,181,51,0.4);
}

.product-badge.vegan {
  background: #e0f5e9;
  color: #1a7a3a;
  font-weight: 800;
}

.product-badge.vegan-option {
  background: #f0faf3;
  color: #1a7a3a;
  border: 1px solid #b2dfc2;
  font-weight: 700;
  font-size: 0.6rem;
}

/* Local info */
.local-info {
  padding: 28px 20px;
  background: var(--bg);
}

.local-info h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.info-row i {
  width: 24px;
  color: var(--red);
  font-size: 1.1rem;
}

.info-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.info-actions a {
  flex: 1;
  text-align: center;
  background: var(--black);
  color: white;
  padding: 12px;
  border-radius: 100px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.delivery-soon {
  margin: 16px 0 4px;
}

.delivery-soon-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.delivery-apps {
  display: flex;
  gap: 12px;
}

.delivery-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #f0efed;
  border-radius: 12px;
  padding: 14px 8px;
}

.delivery-app-logo {
  width: 68px;
  height: 68px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.delivery-app-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Uber Eats y Glovo llenan su PNG hasta el borde - reducimos para igualar con Just Eat */
.delivery-app-logo img[alt="Uber Eats"],
.delivery-app-logo img[alt="Glovo"] {
  width: 80%;
  height: 80%;
  border-radius: 5px;
}

/* Hover en logos con enlace */
a.delivery-app-logo {
  transition: transform 0.18s ease;
  cursor: pointer;
}

a.delivery-app-logo:hover {
  transform: scale(1.06);
}

/* Estado "Próximamente" */
.delivery-app--soon {
  opacity: 0.45;
  filter: grayscale(1);
  cursor: default;
  pointer-events: none;
}

.soon-badge {
  font-size: 0.55rem !important;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  padding: 2px 7px;
}

/* Hero: iconos de Uber Eats / Just Eat desactivados */
.hero-soon-wrap {
  display: inline-flex;
  opacity: 0.4;
  filter: grayscale(1);
  pointer-events: none;
  cursor: default;
}

.delivery-app span {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text);
}

/* Schedule block */
.schedule-block {
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.schedule-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-title i {
  color: var(--red);
}

/* Schedule */
.schedule {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-row {
  display: flex;
  align-items: baseline;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  gap: 0;
}

.schedule-row span:first-child {
  color: var(--muted);
  font-weight: 700;
  width: 130px;
  flex-shrink: 0;
}

.schedule-row span:last-child {
  color: var(--text);
}

/* Notes */
.notes {
  background: #111;
  color: white;
  padding: 20px;
}

.notes p {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notes i {
  width: 20px;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--red);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}

.footer img {
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 50%;
  padding: 6px;
  object-fit: contain;
}

.footer div strong {
  display: block;
  font-weight: 900;
}

.footer div span {
  font-size: 0.75rem;
  opacity: 1;
}

/* Floating buttons */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.floating-buttons a,
.floating-buttons button {
  background: var(--red);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
}

.floating-buttons a:hover,
.floating-buttons button:hover {
  transform: scale(1.05);
}

#scrollTopBtn {
  display: none;
  opacity: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  max-width: 480px;
  width: 92%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  animation: modalIn 0.25s ease;
  display: flex;
  flex-direction: column;
  max-height: 82vh;
}

.modal-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  color: #111;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.modal-close:hover {
  transform: scale(1.1);
}

.modal-image {
  position: relative;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

/* Drinks in modal: fill edge-to-edge like burgers */
.modal-image img.modal-drink-img {
  object-fit: cover;
  object-position: center center;
  background: none;
  height: 190px;
  padding: 0;
}

.modal-image img:hover {
  opacity: 0.92;
}

.modal-image.no-img {
  display: none;
}

/* ── Lightbox ── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

#lightboxClose {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  line-height: 1;
}

#lightboxClose:hover {
  background: rgba(255,255,255,0.3);
}

.modal-details {
  padding: 24px;
}

.modal-details h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-description {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-allergens {
  margin: 12px 0 20px;
  background: var(--bg);
  padding: 10px 14px;
  border-radius: 10px;
}

.allergen-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.allergen-label i {
  color: #e08020;
}

.allergen-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.allergen-chip {
  background: white;
  border: 1px solid #ddd;
  border-radius: 100px;
  padding: 2px 9px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text);
}

/* Modal description styles */
.modal-desc-main {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 6px;
}

.modal-desc-opt {
  display: block;
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
  line-height: 1.4;
  margin-top: 2px;
}

/* Zoom hint button inside modal image */
.modal-zoom-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  pointer-events: auto;
  z-index: 3;
}

.modal-zoom-btn:hover,
.modal-zoom-btn:active {
  background: rgba(0, 0, 0, 0.75);
}

.modal-image.no-img .modal-zoom-btn {
  display: none;
}

.modal-price {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: var(--red);
}

/* Desktop adjustments */
@media (min-width: 800px) {
  body {
    background: #f5f5f7;
    padding: 40px 0;
  }
  .menu-layout {
    border-radius: 24px;
    border: 1px solid var(--line);
  }
  .hero {
    border-radius: 24px 24px 0 0;
  }
  .footer {
    border-radius: 0 0 24px 24px;
  }

  /* Bebidas: 4 columns on wide screens */
  [data-section="bebidas"] .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  [data-section="bebidas"] .product-header h3 {
    font-size: 0.75rem;
  }
  [data-section="bebidas"] .product-price {
    font-size: 0.75rem;
  }
}

/* Respeto por reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .modal-content,
  .category-nav button,
  .floating-buttons a,
  .floating-buttons button,
  a.delivery-app-logo {
    animation: none;
    transition: none;
  }
}