/* Map Franchise - CSS Overrides Minimal */

/* Protection contre les règles globales qui peuvent casser Leaflet */
body #mf-map img {
    max-width: none !important;
    max-height: none !important;
}

/* S'assurer que le conteneur est visible */
body #mf-map {
    display: block !important;
    visibility: visible !important;
}

/* Popups visibles et au-dessus de tout */
body #mf-map .leaflet-popup-pane {
    z-index: 700 !important;
}

body #mf-map .leaflet-popup {
    z-index: 9999 !important;
}

/* Marqueurs clickables */
body #mf-map .leaflet-marker-pane {
    z-index: 600 !important;
}

/* Permettre aux popups de dépasser */
body .mf-container {
    overflow: visible !important;
}

body .mf-map-column {
    overflow: visible !important;
}

body #mf-map .leaflet-pane,
body #mf-map .leaflet-map-pane {
    overflow: visible !important;
}

/* S'assurer que la popup est bien visible */
body .leaflet-popup {
    z-index: 9999 !important;
    position: absolute !important;
}