.kt-location-map {
    position: relative;
    width: 100%;
    background: #f4f1ed;
    overflow: hidden;
}

.kt-location-map__canvas {
    width: 100%;
    height: 400px;
    min-height: 320px;
}

.kt-location-map__canvas:focus-visible {
    outline: 2px solid #b89a70;
    outline-offset: -2px;
}

.kt-location-map__marker {
    width: 52px;
    height: 58px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.kt-location-map__pin {
    position: absolute;
    top: 1px;
    left: 6px;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #b89a70;
    box-shadow: 0 7px 20px rgb(37 33 29 / 24%);
    transform: rotate(-45deg);
}

.kt-location-map__pin::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: #24211e;
}

.kt-location-map__marker::after {
    content: "";
    position: absolute;
    left: 13px;
    bottom: 0;
    width: 26px;
    height: 8px;
    border-radius: 50%;
    background: rgb(36 33 30 / 18%);
    filter: blur(2px);
}

.kt-location-map__marker:focus-visible {
    outline: 2px solid #24211e;
    outline-offset: 3px;
    border-radius: 4px;
}

.kt-location-map .maplibregl-popup-content {
    min-width: 220px;
    padding: 18px 20px;
    border-radius: 4px;
    box-shadow: 0 12px 35px rgb(37 33 29 / 18%);
    color: #24211e;
}

.kt-location-map .maplibregl-popup-close-button {
    width: 32px;
    height: 32px;
    border-radius: 0 4px 0 4px;
    font-size: 22px;
    line-height: 32px;
}

.kt-location-map__popup-title {
    margin: 0 24px 6px 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.kt-location-map__popup-address {
    margin: 0;
    color: #706a64;
    font-size: 14px;
    line-height: 1.55;
}

.kt-location-map .maplibregl-ctrl-group {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgb(37 33 29 / 16%);
}

.kt-location-map .maplibregl-ctrl-attrib {
    color: #5e5953;
    font-size: 10px;
}

@media (max-width: 639px) {
    .kt-location-map__canvas {
        height: 340px;
        min-height: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kt-location-map__canvas * {
        scroll-behavior: auto !important;
    }
}
