/* KD Enseignes Carte: couleurs explicites pour éviter le blanc sur blanc du thème */
.kd-ec-wrap{max-width:1100px;margin:20px auto 28px;padding:16px;border:1px solid #d4d4d8;border-radius:14px;background:#fff;color:#18181b;color-scheme:light}
.kd-ec-wrap h2{margin:0 0 12px;font-size:1.3rem;color:#18181b!important}
.kd-ec-wrap label{display:block;font-weight:600;margin-bottom:6px;color:#18181b!important}
.kd-ec-wrap #kd-ec-brand{display:block;width:100%;max-width:390px;min-height:44px;border:1px solid #71717a;border-radius:8px;padding:8px 34px 8px 10px;background-color:#fff!important;color:#18181b!important;-webkit-text-fill-color:#18181b;opacity:1}
.kd-ec-wrap #kd-ec-brand option{background:#fff!important;color:#18181b!important}
.kd-ec-wrap #kd-ec-status{font-size:.9rem;margin:10px 0;color:#3f3f46!important}
.kd-ec-wrap #kd-ec-map{width:100%;height:460px;border-radius:10px;z-index:0;background:#f4f4f5;color:#18181b}
.kd-ec-wrap .kd-ec-note{font-size:.8rem;color:#52525b!important;margin:10px 0 0}
/* Popups Leaflet et contrôles : conserver un contraste fort */
.kd-ec-wrap .leaflet-popup-content-wrapper,.kd-ec-wrap .leaflet-popup-tip{background:#fff;color:#18181b}
.kd-ec-wrap .leaflet-popup-content,.kd-ec-wrap .leaflet-popup-content p{color:#18181b}
.kd-ec-wrap .leaflet-popup-content a{color:#155eaa;text-decoration:underline}
.kd-ec-wrap .leaflet-control-zoom a{background:#fff;color:#18181b}
@media(max-width:600px){.kd-ec-wrap #kd-ec-map{height:350px}.kd-ec-wrap{padding:12px}}

/* v1.0.2 — marqueurs, infobulles et boutons de zoom visibles malgré le thème KD */
.kd-ec-wrap .leaflet-container{font:14px/1.5 Arial,sans-serif;color:#202124!important}
.kd-ec-wrap .leaflet-marker-icon,
.kd-ec-wrap .leaflet-marker-shadow{visibility:visible!important;opacity:1!important}
.kd-ec-wrap .leaflet-popup-content-wrapper{background:#fff!important;color:#202124!important;border-radius:9px!important;box-shadow:0 4px 18px #0003!important}
.kd-ec-wrap .leaflet-popup-tip{background:#fff!important}
.kd-ec-wrap .leaflet-popup-content{min-width:155px;max-width:240px;margin:12px 16px!important;color:#202124!important;overflow-wrap:anywhere}
.kd-ec-wrap .leaflet-popup-content strong{display:block;color:#202124!important;font-weight:700}
.kd-ec-wrap .leaflet-popup-content a{display:inline-block;color:#1459a8!important;text-decoration:underline!important;font-weight:600}
.kd-ec-wrap .leaflet-control-zoom{border:2px solid #aaa!important;border-radius:5px!important;box-shadow:0 2px 9px #0002!important;overflow:hidden}
.kd-ec-wrap .leaflet-control-zoom a,
.kd-ec-wrap .leaflet-bar a,
.kd-ec-wrap .leaflet-bar a:hover{display:block!important;width:34px!important;height:34px!important;line-height:34px!important;text-align:center!important;padding:0!important;background:#fff!important;color:#161616!important;font-size:23px!important;font-weight:700!important;text-decoration:none!important;text-indent:0!important;opacity:1!important;visibility:visible!important;border-radius:0!important}
.kd-ec-wrap .leaflet-control-zoom a.leaflet-disabled{color:#777!important;background:#eaeaea!important;cursor:default}
.kd-ec-wrap .leaflet-control-container{visibility:visible!important}
.kd-ec-wrap .leaflet-popup-close-button{color:#333!important;background:transparent!important}
