/* OnAPB — Lugares / Promociones
   Actualizado para usar el sistema de diseño kinetic-arena.css */

.lugares-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 15px;
}

.lugares-container h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  text-align: center;
}

.lugares-container p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  text-align: center;
  color: var(--on-surface-muted);
}

/* Barra de filtro */
.filter-bar {
  background: var(--surface-container-low);
  border-radius: var(--radius-sm);
  border: 1px solid var(--outline-variant);
  padding: 15px;
}

.filter-bar label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.filter-bar select {
  border-radius: var(--radius-sm);
}

/* Container de promo (solo para filtrado, no visual) */
.promo-card {
  cursor: pointer;
}

/* Detalle */
#promo-detail {
  border-radius: var(--radius);
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
}

#promo-detail h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 15px;
}

#promo-detail p {
  font-size: 1rem;
  color: var(--on-surface-muted);
  margin-bottom: 8px;
}

#promo-detail a {
  display: inline-block;
  text-align: center;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

#promo-detail a:hover {
  background: var(--primary);
  color: #fff;
}

/* Mapa */
.map-container {
  height: 450px;
  border-radius: var(--radius);
  margin-top: 30px;
  border: 1px solid var(--outline-variant);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
}

/* Mapa fluido sin desbordes */
.map-container, #map { width: 100%; max-width: 100%; }
.map-container { overflow: hidden; }
#map, .leaflet-container { width: 100% !important; }

/* Pines marcador */
.custom-pin .pin {
  position: relative;
  width: 36px;
  height: 36px;
  background: gray;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  --pin-color: gray;
}

.custom-pin .pin i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: white;
}

.custom-pin .pin::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid;
  border-top-color: var(--pin-color);
}

/* Responsive */
@media (max-width: 768px) {
  .lugares-container h1 { font-size: 2rem; }
  .map-container { height: 350px; }
  .lugares-container { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 576px) {
  .lugares-container h1 { font-size: 1.6rem; }
  .map-container { height: 300px; }
  .map-container, #map { width: 100%; }

  .custom-pin .pin {
    width: 26px;
    height: 26px;
  }
  .custom-pin .pin i { font-size: 14px; }
  .custom-pin .pin::after {
    bottom: -6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid;
  }
}
