.custom-map {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.contact-map-marker {
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    overflow: visible;
}

.contact-map-marker--main {
    width: 26px;
    height: 40px;
    background: transparent;
}

.contact-map-marker--main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--marker-color, #f44336);
    clip-path: path("M13 0 C5.82 0 0 5.82 0 13 C0 19.61 4.93 25.07 11.31 25.9 L8.1 36.76 C7.63 38.38 8.84 40 10.52 40 C11.28 40 12.05 39.66 12.55 38.97 C13.18 38.1 15.64 34.59 18.26 30.45 C20.84 26.36 23.7 21.48 25.05 17.9 C25.66 16.39 26 14.73 26 13 C26 5.82 20.18 0 13 0 Z");
    pointer-events: none;
}

.contact-map-marker--main::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    top: 6px;
    left: 6px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
}

.contact-map-marker--circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--marker-color, #f44336);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
    box-sizing: content-box;
}

.contact-map-marker--circle::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
}

.contact-map-caption {
    position: absolute;
    z-index: 2;
    display: block;
    padding: 5px 9px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,.25);
    pointer-events: none;
    box-sizing: border-box;
}

.contact-map-marker--main .contact-map-caption {
    left: 30px;
    top: 10px;
}

.contact-map-marker--circle .contact-map-caption {
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
}

.maplibregl-ctrl-group {
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.2) !important;
}

.maplibregl-popup-content {
    border-radius: 8px;
    padding: 12px 15px;
    white-space: pre-line;
}

.maplibregl-ctrl-bottom-right {
    display: none;
}