#map_kart {
    height: 600px;
    overflow: hidden;
    position: relative;
    background: #f4f5f5;
    cursor: grab;
}

#map_kart:active {
    cursor: grabbing;
}
/* Общий слой карты */
#map_layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 4971px;
    height: 3513px;
    transform-origin: 0 0;
}
/* Обе картинки имеют одинаковые размеры */
#map_image,
#map_svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 4971px;
    height: 3513px;
    max-width: none;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}
#map_image {
    z-index: 1;
}
#map_svg path{
    stroke: white !important;
}
#map_svg path.activePoint{
    stroke: #ee1854 !important;
}
#map_svg {
    z-index: 2;
    /* pointer-events: none; */
}
/* Кнопки */
.map_controls {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.map_controls button {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 5px;

    background: white;

    font-size: 26px;
    line-height: 42px;

    cursor: pointer;

    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.map_controls button:hover {
    background: #eee;
}


.map-tooltip {
    position: absolute;
    display: none;

    width: 100%;
    padding: 14px;
    bottom: 0;

    background: #fff;
    border-radius: 8px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);

    z-index: 1000;

    pointer-events: auto;
}

.map-tooltip-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.map-tooltip-description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #555;
}

.map-tooltip-button {
    display: inline-block;

    padding: 8px 14px;

    background: #1677ff;
    color: #fff;

    border-radius: 5px;

    text-decoration: none;
}

.map-tooltip-button:hover {
    background: #095dcc;
}
.map-tooltip-close{
    border: none;
    background: none;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}