/* zone-servite.css — stili specifici della pagina /zone-servite
   Separato dal bundle Tailwind compilato (index-b934388a.css)
   per evitare di toccare il CSS principale del sito. */

/* ----- Hero: spaziatura dall'header fisso ----- */
.zs-hero {
  padding-top: 160px;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .zs-hero {
    padding-top: 170px;
    padding-bottom: 3rem;
  }
}

/* ----- Container mappa Leaflet ----- */
.zs-map {
  position: relative;
  z-index: 1;
  isolation: isolate;
  scroll-margin-top: 200px;
  height: 65vh;
  min-height: 500px;
  max-height: 800px;
  width: 100%;
  background: #e8f0f7;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid #dbeafe;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}

/* Pane Leaflet: stacking interno coerente */
.leaflet-tile-pane    { z-index: 200 !important; }
.leaflet-overlay-pane { z-index: 400 !important; }
.leaflet-marker-pane  { z-index: 600 !important; }
.leaflet-popup-pane   { z-index: 700 !important; }
.leaflet-control      { z-index: 800 !important; }

/* ----- Menu mobile: deve sempre stare sopra la mappa ----- */
#static-mobile-menu {
  position: fixed;
  top: 142px;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  display: none;
}
#static-mobile-menu:not(.hidden) {
  display: block;
}
#static-mobile-menu a {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}
#static-mobile-menu a:hover {
  background: #f3f4f6;
}
#static-mobile-menu a.cta-preventivo {
  margin-top: 0.75rem;
  background: #2563eb;
  color: #fff;
  text-align: center;
}

/* ----- Grid prodotti core (PVC + Alluminio) ----- */
.zs-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;  /* 80px verticale tra le due sezioni su mobile */
}
@media (min-width: 768px) {
  .zs-products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;  /* 40px laterale su desktop */
    align-items: start;
  }
}
