/* =============================================
   CARNAVAL DE CARDEL 2026 — BOLETOS / MESAS VIP
   Integrado en la página principal
   ============================================= */

:root {
  --bol-surface: #141414;
  --bol-surface2: #1e1e1e;
  --bol-border: #2a2a2a;
  --bol-text: #f5f5f5;
  --bol-text-dim: #999;
  --bol-primary: #FF6A00;
  --bol-green: #22C55E;
  --bol-yellow: #FBBF24;
  --bol-orange: #F97316;
  --bol-red: #EF4444;
  --bol-purple: #8B5CF6;
  --bol-whatsapp: #25D366;
  --bol-radius: 12px;
  --bol-radius-sm: 8px;
  --bol-font: 'Outfit', sans-serif;
  --bol-font-body: 'Inter', sans-serif;
}

/* ===== SECCIÓN BOLETOS ===== */
.boletos-section {
  padding: 4rem 0;
  position: relative;
}

/* ===== SELECTOR DE EVENTO ===== */
.bol-event-selector {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.bol-event-tab {
  background: var(--bol-surface);
  border: 2px solid var(--bol-border);
  border-radius: var(--bol-radius);
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  font-family: var(--bol-font-body);
  min-width: 200px;
}

.bol-event-tab:hover {
  border-color: rgba(255, 106, 0, 0.4);
  transform: translateY(-2px);
}

.bol-event-tab.is-active {
  border-color: var(--bol-primary);
  background: linear-gradient(135deg, rgba(255,106,0,0.1), rgba(255,215,0,0.05));
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.15);
}

.bol-event-tab__dia {
  display: block;
  font-family: var(--bol-font);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bol-text);
  margin-bottom: 0.2rem;
}

.bol-event-tab.is-active .bol-event-tab__dia {
  color: var(--bol-primary);
}

.bol-event-tab__info {
  display: block;
  font-size: 0.7rem;
  color: var(--bol-text-dim);
  letter-spacing: 0.02em;
}

/* Escenario centrado (para domingo con 1 solo escenario) */
.bol-escenario--solo {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== LEYENDA ===== */
.bol-legend {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.bol-legend__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--bol-text-dim);
}

.bol-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

/* ===== STATS ===== */
.bol-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.bol-stats__item {
  text-align: center;
}

.bol-stats__num {
  display: block;
  font-family: var(--bol-font);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--bol-primary);
}

.bol-stats__label {
  font-size: 0.75rem;
  color: var(--bol-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== MAPA CONTENEDOR ===== */
.bol-mapa__inner {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  background: var(--bol-surface);
  border: 1px solid var(--bol-border);
  border-radius: var(--bol-radius);
  padding: 1.5rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== ESCENARIOS ===== */
.bol-escenarios {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 0.5rem;
  /* Proporción real: escenario 1 = 22m, escenario 2 = 32m → ratio 22:32 ≈ 41%:59% */
}

.bol-escenario {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid var(--bol-primary);
  border-radius: var(--bol-radius);
  padding: 1.2rem 0.8rem;
  text-align: center;
  font-family: var(--bol-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bol-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.bol-escenario small {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--bol-text-dim);
  text-transform: none;
  letter-spacing: 0;
}

/* Secundario: 22m → flex: 22 */
.bol-escenario--secundario {
  flex: 22;
  max-width: 320px;
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.08);
  font-size: 0.85rem;
}

/* Principal: 32m → flex: 32 */
.bol-escenario--principal {
  flex: 32;
  max-width: 460px;
  border-color: var(--bol-primary);
  box-shadow: 0 0 40px rgba(255, 106, 0, 0.2);
  font-size: 1.1rem;
  padding: 1.4rem 1rem;
  background: linear-gradient(135deg, #1a1a2e, #0f2040);
  position: relative;
}

.bol-escenario--principal::before {
  content: 'MAIN';
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--bol-primary);
  color: #000;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.bol-escenario-label {
  text-align: center;
  font-size: 0.7rem;
  color: var(--bol-text-dim);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== GRID DE MESAS ===== */
.bol-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  width: 100%;
  padding: 0 4px;
}

.bol-grid__fila {
  display: flex;
  gap: 3px;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.bol-grid__fila-label {
  width: 24px;
  font-size: 0.55rem;
  color: var(--bol-text-dim);
  text-align: right;
  padding-right: 3px;
  flex-shrink: 0;
  font-weight: 600;
}

.bol-mesa {
  width: 22px;
  height: 22px;
  min-width: 0;
  flex-shrink: 1;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.bol-mesa:hover {
  transform: scale(1.4);
  z-index: 10;
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

.bol-mesa::after {
  content: attr(data-num);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 20;
}

.bol-mesa:hover::after {
  opacity: 1;
}

.bol-mesa--disponible {
  background: var(--bol-green);
  color: #000;
}

.bol-mesa--bloqueada {
  background: var(--bol-yellow);
  color: #000;
  cursor: not-allowed;
}

.bol-mesa--pendiente {
  background: var(--bol-orange);
  color: #000;
  cursor: not-allowed;
}

.bol-mesa--vendida {
  background: var(--bol-red);
  color: rgba(255,255,255,0.5);
  cursor: not-allowed;
}

.bol-mesa--cortesia {
  background: var(--bol-purple);
  color: rgba(255,255,255,0.7);
  cursor: not-allowed;
}

/* ===== LAYOUT MAPA (grid + zona accesible) ===== */
.bol-mapa__layout {
  display: flex;
  gap: 0.8rem;
  align-items: stretch;
}

/* ===== ZONA ACCESIBLE ===== */
.bol-accesible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  border-radius: var(--bol-radius-sm);
  padding: 0.5rem 0.4rem;
  min-width: 38px;
  flex-shrink: 0;
}

.bol-accesible__icon {
  font-size: 1.2rem;
  color: #3B82F6;
  line-height: 1;
}

.bol-accesible__label {
  font-size: 0.45rem;
  color: #3B82F6;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.bol-accesible__spots {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.bol-accesible__spot {
  width: 16px;
  height: 10px;
  border-radius: 2px;
  background: #3B82F6;
  opacity: 0.7;
  margin: 0 auto;
}

.bol-accesible__spot--taken {
  background: var(--bol-red);
  opacity: 0.5;
}

/* Info accesible (card sutil debajo del mapa) */
.bol-accesible-info {
  max-width: 1100px;
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--bol-radius-sm);
  padding: 0.8rem 1rem;
}

.bol-accesible-info__icon {
  font-size: 1.5rem;
  color: #3B82F6;
  flex-shrink: 0;
}

.bol-accesible-info__text {
  font-size: 0.78rem;
  color: var(--bol-text-dim);
  line-height: 1.4;
  flex: 1;
}

.bol-accesible-info__text strong {
  color: #3B82F6;
}

.bol-accesible-info__btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: #3B82F6;
  color: #fff;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.bol-accesible-info__btn:hover {
  opacity: 0.85;
}

/* ===== FILAS INFO ===== */
.bol-filas-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bol-border);
}

.bol-fila-tag {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  background: var(--bol-surface2);
  border: 1px solid var(--bol-border);
  color: var(--bol-text-dim);
}

.bol-fila-tag strong {
  color: var(--bol-primary);
}

/* ===== INSTRUCCIONES / PASOS ===== */
.bol-instrucciones__inner {
  max-width: 900px;
  margin: 0 auto;
}

.bol-pasos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.bol-paso {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bol-surface);
  border: 1px solid var(--bol-border);
  border-radius: var(--bol-radius);
  transition: transform 0.2s, border-color 0.2s;
}

.bol-paso:hover {
  transform: translateY(-4px);
  border-color: var(--bol-primary);
}

.bol-paso__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bol-primary), #FFD700);
  color: #000;
  font-family: var(--bol-font);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
}

.bol-paso h3,
.bol-paso h4 {
  font-family: var(--bol-font);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--bol-text);
}

.bol-paso p {
  font-size: 0.85rem;
  color: var(--bol-text-dim);
  line-height: 1.4;
}

/* ===== MODALES ===== */
.bol-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.bol-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.bol-modal {
  background: var(--bol-surface);
  border: 1px solid var(--bol-border);
  border-radius: var(--bol-radius);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.bol-modal-overlay.is-open .bol-modal {
  transform: translateY(0);
}

.bol-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: none;
  border: none;
  color: var(--bol-text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.bol-modal__close:hover {
  background: var(--bol-surface2);
  color: var(--bol-text);
}

.bol-modal__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bol-modal__mesa-num {
  width: 56px;
  height: 56px;
  border-radius: var(--bol-radius-sm);
  background: linear-gradient(135deg, var(--bol-primary), #FFD700);
  color: #000;
  font-family: var(--bol-font);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bol-modal__mesa-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bol-modal__fila {
  font-weight: 600;
  font-size: 1rem;
  color: var(--bol-text);
}

.bol-modal__etiqueta {
  font-size: 0.8rem;
  color: var(--bol-primary);
  font-weight: 600;
}

.bol-modal__precio {
  font-family: var(--bol-font);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--bol-green);
}

.bol-modal__field {
  margin-bottom: 1rem;
}

.bol-modal__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bol-text-dim);
  margin-bottom: 0.4rem;
}

.bol-modal__field input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bol-surface2);
  border: 1px solid var(--bol-border);
  border-radius: var(--bol-radius-sm);
  color: var(--bol-text);
  font-size: 0.95rem;
  font-family: var(--bol-font-body);
  transition: border-color 0.2s;
}

.bol-modal__field input:focus {
  outline: none;
  border-color: var(--bol-primary);
}

.bol-modal__btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: var(--bol-radius-sm);
  font-family: var(--bol-font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--bol-primary), #FFD700);
  color: #000;
}

.bol-modal__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.bol-modal__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.bol-modal__btn--wa {
  background: var(--bol-whatsapp);
  color: #fff;
  margin-bottom: 0.7rem;
}

.bol-modal__btn--secondary {
  background: var(--bol-surface2);
  border: 1px solid var(--bol-border);
  color: var(--bol-text-dim);
}

.bol-modal__nota {
  font-size: 0.75rem;
  color: var(--bol-text-dim);
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.4;
}

/* ===== Folio modal ===== */
.bol-modal--folio {
  text-align: center;
}

.bol-modal__icon-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bol-green);
  color: #000;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.bol-modal--folio h2 {
  font-family: var(--bol-font);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--bol-text);
}

.bol-modal--folio > p {
  color: var(--bol-text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.bol-folio {
  background: var(--bol-surface2);
  border: 2px dashed var(--bol-primary);
  border-radius: var(--bol-radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

.bol-folio__label {
  display: block;
  font-size: 0.75rem;
  color: var(--bol-text-dim);
  margin-bottom: 0.3rem;
}

.bol-folio__code {
  font-family: var(--bol-font);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--bol-primary);
  letter-spacing: 0.05em;
}

.bol-timer {
  margin-bottom: 1rem;
}

.bol-timer__label {
  display: block;
  font-size: 0.75rem;
  color: var(--bol-text-dim);
  margin-bottom: 0.2rem;
}

.bol-timer__time {
  font-family: var(--bol-font);
  font-weight: 800;
  font-size: 2rem;
  color: var(--bol-yellow);
}

.bol-timer__time.is-urgent {
  color: var(--bol-red);
  animation: bolTimerPulse 1s infinite;
}

@keyframes bolTimerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.bol-modal__instruccion {
  font-size: 0.8rem;
  color: var(--bol-text-dim);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

/* ===== COUNTDOWN BOXES ===== */
.bol-countdown-box {
  text-align: center;
}

.bol-countdown-box__num {
  display: block;
  font-family: var(--bol-font);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bol-primary);
  line-height: 1;
}

.bol-countdown-box__label {
  font-size: 0.55rem;
  color: var(--bol-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== DEMO BANNER ===== */
.bol-demo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bol-yellow);
  color: #000;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 9999;
  display: none;
}

.bol-demo-banner.is-visible {
  display: block;
}

.bol-demo-banner button {
  background: #000;
  color: var(--bol-yellow);
  border: none;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0.5rem;
}

/* ===== RESPONSIVE ===== */

/* --- Tablets y pantallas medianas --- */
@media (max-width: 900px) {
  .bol-mapa__inner {
    padding: 1rem 0.5rem;
    border-radius: 8px;
  }

  .bol-mesa {
    width: 18px;
    height: 18px;
    font-size: 0;
    border-radius: 3px;
  }

  .bol-grid {
    gap: 4px;
  }

  .bol-grid__fila {
    gap: 2px;
  }

  .bol-escenario {
    padding: 0.8rem 0.5rem;
  }

  .bol-escenario--secundario {
    font-size: 0.75rem;
  }

  .bol-escenario--principal {
    font-size: 0.9rem;
    padding: 1rem 0.5rem;
  }

  .bol-stats {
    gap: 1.5rem;
  }
}

/* --- Móviles grandes (iPhone Plus, Galaxy S, etc) --- */
@media (max-width: 640px) {
  .bol-event-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .bol-event-tab {
    min-width: unset;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .bol-event-tab__dia {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .bol-event-tab__info {
    font-size: 0.65rem;
    text-align: right;
  }

  .bol-legend {
    gap: 0.8rem;
  }

  .bol-legend__item {
    font-size: 0.7rem;
  }

  .bol-legend__dot {
    width: 10px;
    height: 10px;
  }

  .bol-stats__num {
    font-size: 1.3rem;
  }

  .bol-stats__label {
    font-size: 0.65rem;
  }

  .bol-mapa__inner {
    padding: 0.8rem 0.3rem;
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bol-mesa {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border-width: 0.5px;
  }

  .bol-grid {
    gap: 3px;
    min-width: max-content;
  }

  .bol-grid__fila {
    gap: 2px;
  }

  .bol-grid__fila-label {
    width: 20px;
    font-size: 0.5rem;
    padding-right: 2px;
  }

  .bol-accesible {
    min-width: 28px;
    padding: 0.4rem 0.2rem;
  }

  .bol-accesible__icon {
    font-size: 0.9rem;
  }

  .bol-accesible__label {
    font-size: 0.35rem;
  }

  .bol-accesible__spot {
    width: 12px;
    height: 7px;
  }

  .bol-accesible__count {
    font-size: 0.4rem;
  }

  .bol-accesible-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.7rem;
  }

  .bol-accesible-info__text {
    font-size: 0.72rem;
  }

  .bol-escenarios {
    gap: 0.4rem;
    margin-bottom: 0.3rem;
  }

  .bol-escenario {
    padding: 0.6rem 0.3rem;
  }

  .bol-escenario--secundario {
    font-size: 0.65rem;
  }

  .bol-escenario--principal {
    font-size: 0.75rem;
    padding: 0.7rem 0.3rem;
  }

  .bol-escenario small {
    font-size: 0.5rem;
  }

  .bol-escenario--principal::before {
    font-size: 0.45rem;
    padding: 1px 5px;
    top: -6px;
    right: 6px;
  }

  .bol-escenario-label {
    font-size: 0.6rem;
    margin-bottom: 0.6rem;
  }

  .bol-filas-info {
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    gap: 0.3rem;
  }

  .bol-fila-tag {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .bol-pasos {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .bol-paso {
    padding: 1rem 0.7rem;
  }

  .bol-paso__num {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .bol-paso h3,
  .bol-paso h4 {
    font-size: 0.85rem;
  }

  .bol-paso p {
    font-size: 0.75rem;
  }

  .bol-modal {
    padding: 1.5rem 1.2rem;
    margin: 0.5rem;
    max-height: 95vh;
  }

  .bol-modal__mesa-num {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .bol-modal__precio {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .bol-modal__field input {
    padding: 0.65rem 0.8rem;
    font-size: 1rem;
  }

  .bol-modal__btn {
    padding: 0.85rem;
    font-size: 0.9rem;
  }
}

/* --- Móviles pequeños (iPhone SE, Galaxy A, etc) --- */
@media (max-width: 400px) {
  .bol-mesa {
    width: 11px;
    height: 11px;
    border-radius: 2px;
  }

  .bol-grid {
    gap: 2px;
  }

  .bol-grid__fila {
    gap: 1.5px;
  }

  .bol-grid__fila-label {
    width: 16px;
    font-size: 0.45rem;
  }

  .bol-escenario--secundario {
    font-size: 0.55rem;
  }

  .bol-escenario--principal {
    font-size: 0.65rem;
  }

  .bol-escenario small {
    font-size: 0.4rem;
  }

  .bol-stats {
    gap: 1rem;
  }

  .bol-stats__num {
    font-size: 1.1rem;
  }

  .bol-pasos {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .bol-modal {
    padding: 1.2rem 1rem;
  }

  .bol-modal__precio {
    font-size: 1.4rem;
  }

  .bol-folio__code {
    font-size: 1.1rem;
  }

  .bol-timer__time {
    font-size: 1.6rem;
  }
}

/* --- Hint de scroll horizontal en móvil --- */
@media (max-width: 640px) {
  .bol-mapa__inner {
    position: relative;
  }

  .bol-mapa__inner::after {
    content: 'Desliza para ver todas las mesas \2192';
    display: block;
    text-align: center;
    font-size: 0.6rem;
    color: var(--bol-text-dim);
    padding: 0.5rem 0 0;
    opacity: 0.7;
  }

  /* Ocultar hint si el contenido cabe */
  .bol-mapa__inner.no-scroll::after {
    display: none;
  }
}

/* --- Landscape en móvil --- */
@media (max-height: 500px) and (orientation: landscape) {
  .bol-modal {
    max-height: 98vh;
    padding: 1rem;
  }

  .bol-modal__precio {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .bol-modal-overlay {
    padding: 0.3rem;
  }
}

/* --- Touch: quitar hover tooltip en móvil --- */
@media (hover: none) {
  .bol-mesa:hover {
    transform: none;
    box-shadow: none;
  }

  .bol-mesa:hover::after {
    display: none;
  }

  .bol-mesa:active {
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
  }
}
