/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/playfair-display-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/playfair-display-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;

@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Customizzazione Mappa Leaflet - Trinacria Stay */
.leaflet-layer {
  filter: grayscale(100%) contrast(110%) opacity(0.8);
}
.leaflet-popup-content-wrapper {
  border-radius: 0;
  background-color: #F9F7F2;
  color: #333333;
  border: 1px solid rgba(51,51,51,0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.leaflet-popup-tip {
  background-color: #F9F7F2;
}
/* --- FIX PER POPUP LEAFLET UNIVERSALE (Modale + Statiche) --- */
.leaflet-popup-content {
  height: auto !important;
  max-height: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 10px !important;
}
.leaflet-popup-content-wrapper {
  min-width: max-content !important;
  border-radius: 12px !important;
}
.leaflet-pane.leaflet-popup-pane {
  z-index: 1050 !important;
}
/* --- EFFETTO DISSOLVENZA MAPPA (Loading Premium) --- */
#map-locations .leaflet-pane,
#map-locations .leaflet-control-container {
  opacity: 0; /* Mappa invisibile all'inizio */
  transition: opacity 0.6s ease-in-out; /* Sfumatura dolce di 0.6 secondi */
}
/* Classe che attiviamo via JS quando la mappa è pronta */
#map-locations.map-ready .leaflet-pane,
#map-locations.map-ready .leaflet-control-container {
  opacity: 1; /* Mappa visibile */
}
/* Nascondiamo il loader quando la mappa è pronta */
#map-locations.map-ready .map-loader {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}
