/* Scope every override to the MyListing Explore map. The theme hides its
 * top-left Leaflet corner, while MyListing places the standard zoom buttons at
 * top-right. This restores only the compass corner and never overlaps filters. */
#finderMap .c27-map[data-cibersoft-map-rotation='enabled'] .leaflet-top.leaflet-left {
    display: block;
}

#finderMap .c27-map[data-cibersoft-map-rotation='enabled'] .leaflet-control-rotate {
    margin: 12px 0 0 12px;
    min-width: 44px;
    min-height: 44px;
    overflow: hidden;
    border-radius: 4px;
}

#finderMap .c27-map[data-cibersoft-map-rotation='enabled'] .leaflet-control-rotate a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    line-height: 1;
    touch-action: manipulation;
}

#finderMap .c27-map[data-cibersoft-map-rotation='enabled'] .leaflet-control-rotate a:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: -3px;
}
