/* =====================================================
   MAP WRAPPER
   ===================================================== */

.hidea-map-wrapper {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.hidea-elementor-map .hidea-map {
    height: var(--hidea-map-height, 600px);
}


/* =====================================================
   MAP CONTROLS
   ===================================================== */

.hidea-map-controls {
    display: flex;
    align-items: flex-end;
    gap: 14px;

    margin-bottom: 18px;

    position: relative;
    z-index: 1000;
}


/* =====================================================
   CITY CONTROL
   ===================================================== */

.hidea-map-control {
    display: flex;
    flex-direction: column;
    gap: 7px;

    min-width: 280px;
}


/* =====================================================
   LABEL
   ===================================================== */

.hidea-map-control__label {
    display: block;

    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}


/* =====================================================
   CUSTOM CITY SELECT
   ===================================================== */

.hidea-city-select {
    position: relative;

    width: 280px;
}


/* =====================================================
   SELECT TRIGGER
   ===================================================== */

.hidea-city-select__trigger {
    width: 100%;
    height: 46px;

    padding: 0 14px 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;

    background: #151515;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    text-align: left;

    cursor: pointer;

    outline: none;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.18);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


.hidea-city-select__trigger:hover {
    border-color: rgba(255, 255, 255, 0.3);

    background: #1a1a1a;
}


.hidea-city-select__trigger:focus-visible {
    border-color: rgba(255, 255, 255, 0.45);

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.06);
}


/* Открыто */

.hidea-city-select__trigger[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.35);

    background: #1a1a1a;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.25);
}


/* =====================================================
   SELECT VALUE
   ===================================================== */

.hidea-city-select__value {
    min-width: 0;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    color: #ffffff;
}


/* =====================================================
   ARROW
   ===================================================== */

.hidea-city-select__arrow {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.65);

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}


.hidea-city-select__trigger:hover .hidea-city-select__arrow {
    color: #ffffff;
}


.hidea-city-select__trigger[aria-expanded="true"] .hidea-city-select__arrow {
    transform: rotate(180deg);

    color: #ffffff;
}


/* =====================================================
   DROPDOWN
   ===================================================== */

.hidea-city-select__dropdown {
    position: absolute;

    top: calc(100% + 7px);
    left: 0;

    width: 100%;

    box-sizing: border-box;

    padding: 7px;

    background: #151515;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    pointer-events: none;

    transition:
        opacity 0.16s ease,
        visibility 0.16s ease,
        transform 0.16s ease;
}


.hidea-city-select__dropdown.is-open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


/* =====================================================
   SEARCH
   ===================================================== */

.hidea-city-select__search {
    height: 40px;

    padding: 0 9px;

    display: flex;
    align-items: center;
    gap: 8px;

    box-sizing: border-box;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.4);
}


.hidea-city-select__search svg {
    flex-shrink: 0;
}


/* =====================================================
   SEARCH INPUT
   ===================================================== */

.hidea-city-select__search-input {
    width: 100%;
    height: 100%;

    min-width: 0;

    padding: 0 !important;

    border: 0 !important;
    outline: none !important;

    background: transparent !important;

    box-shadow: none !important;

    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    line-height: 1;
}


.hidea-city-select__search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}


/* =====================================================
   OPTIONS CONTAINER
   ===================================================== */

.hidea-city-select__options {
    max-height: 250px;

    padding-top: 5px;

    overflow-y: auto;

    overscroll-behavior: contain;
}


/* =====================================================
   SCROLLBAR
   ===================================================== */

.hidea-city-select__options {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}


.hidea-city-select__options::-webkit-scrollbar {
    width: 5px;
}


.hidea-city-select__options::-webkit-scrollbar-track {
    background: transparent;
}


.hidea-city-select__options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);

    border-radius: 10px;
}


.hidea-city-select__options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}


/* =====================================================
   CITY OPTION
   ===================================================== */

.hidea-city-select__option {
    display: block;

    width: 100%;

    min-height: 39px;

    padding: 9px 10px;

    box-sizing: border-box;

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: rgba(255, 255, 255, 0.75);

    font-family: inherit;
    font-size: 13px;
    line-height: 1.35;

    text-align: left;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}


.hidea-city-select__option:hover {
    background: rgba(255, 255, 255, 0.07);

    color: #ffffff;
}


.hidea-city-select__option:focus-visible {
    outline: none;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;
}


.hidea-city-select__option.is-selected {
    background: rgba(255, 255, 255, 0.1);

    color: #ffffff;

    font-weight: 600;
}


.hidea-city-select__option.is-selected:hover {
    background: rgba(255, 255, 255, 0.14);
}


/* =====================================================
   EMPTY SEARCH
   ===================================================== */

.hidea-city-select__empty {
    display: none;

    padding: 18px 10px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 13px;

    line-height: 1.4;

    text-align: center;
}


.hidea-city-select__empty.is-visible {
    display: block;
}


/* =====================================================
   SERVICE FILTER
   ===================================================== */

.hidea-map-service-filter {
    position: relative;

    min-height: 46px;

    padding: 0 15px;

    display: flex;
    align-items: center;
    gap: 9px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;

    background: #151515;

    color: rgba(255, 255, 255, 0.75);

    font-family: inherit;
    font-size: 14px;
    line-height: 1;

    cursor: pointer;

    user-select: none;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.18);

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}


.hidea-map-service-filter:hover {
    border-color: rgba(255, 255, 255, 0.3);

    background: #1a1a1a;

    color: #ffffff;
}


/* =====================================================
   SERVICE CHECKBOX
   ===================================================== */

.hidea-map-service-filter input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* =====================================================
   CUSTOM CHECKBOX
   ===================================================== */

.hidea-map-service-filter__box {
    position: relative;

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;

    background: #101010;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.hidea-map-service-filter:hover .hidea-map-service-filter__box {
    border-color: rgba(255, 255, 255, 0.55);
}


/* =====================================================
   CHECKBOX CHECKMARK
   ===================================================== */

.hidea-map-service-filter__box::after {
    content: "";

    display: block;

    width: 8px;
    height: 4px;

    border-left: 1.5px solid #111111;
    border-bottom: 1.5px solid #111111;

    transform:
        rotate(-45deg) scale(0);

    opacity: 0;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}


.hidea-map-service-filter input:checked+.hidea-map-service-filter__box {
    border-color: #ffffff;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.06);
}


.hidea-map-service-filter input:checked+.hidea-map-service-filter__box::after {
    transform:
        rotate(-45deg) scale(1);

    opacity: 1;
}


/* =====================================================
   SERVICE FILTER FOCUS
   ===================================================== */

.hidea-map-service-filter input:focus-visible+.hidea-map-service-filter__box {
    border-color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.1);
}


/* =====================================================
   MAP
   ===================================================== */

.hidea-map {
    width: 100%;
    height: 600px;

    overflow: hidden;

    border-radius: 12px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.18);
}


/* =====================================================
   CLUSTER
   ===================================================== */

.hidea-map-cluster {
    width: 48px;
    height: 48px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(28, 29, 31, 0.96);

    color: #ffffff;

    cursor: pointer;

    font-family: inherit;
    font-size: 18px;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.16);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.hidea-map-cluster:hover {
    transform: scale(1.08);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(255, 255, 255, 0.24);
}


.hidea-map-cluster__count {
    line-height: 1;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {
    .hidea-map-popup__gallery-slide {
        height: 125px;
    }

    .hidea-map-controls {
        flex-direction: column;
        align-items: stretch;

        gap: 10px;
    }


    .hidea-map-control {
        width: 100%;
        min-width: 0;
    }


    .hidea-city-select {
        width: 100%;
    }


    .hidea-map-service-filter {
        width: fit-content;
    }


    .hidea-map {
        height: 500px;

        border-radius: 9px;
    }

}



/* =====================================================
   MAP POPUP
   ===================================================== */

.hidea-map-popup {
    position: absolute;

    top: 95px;
    left: 8px;

    z-index: 2000;

    width: 360px;
    max-width: calc(100% - 48px);

    box-sizing: border-box;

    padding: 20px;

    background: #171717;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 14px;

    color: #ffffff;

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.35);

    max-height: calc(100% - 115px);
    overflow-y: auto;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}


.hidea-map-popup.is-visible {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


/* =====================================================
   CLOSE
   ===================================================== */

.hidea-map-popup__close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 30px;
    height: 30px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);

    color: rgba(255, 255, 255, 0.65);

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.hidea-map-popup__close:hover {
    background: rgba(255, 255, 255, 0.13);

    color: #ffffff;
}


/* =====================================================
   CONTENT
   ===================================================== */

.hidea-map-popup__content {
    padding-right: 28px;
}


.hidea-map-popup__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-bottom: 12px;
}


.hidea-map-popup__badge {
    display: none;

    width: fit-content;

    padding: 5px 8px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;
    line-height: 1;
    font-weight: 600;
}


.hidea-map-popup__badge.is-visible {
    display: block;
}


.hidea-map-popup__badge--service {
    margin-bottom: 0;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}


.hidea-map-popup__badge--top {
    background: rgba(220, 172, 62, 0.14);
    border-color: rgba(238, 191, 75, 0.35);
    color: #f3c24b;
}

.hidea-map-popup__badge--shop {
    background: rgba(72, 150, 219, 0.14);
    border-color: rgba(115, 181, 235, 0.34);
    color: #8bc7f5;
}

.hidea-map-popup__badge--online-shop {
    background: rgba(108, 92, 231, 0.18);
    border-color: rgba(155, 145, 255, 0.38);
    color: #b8adff;
}


/* =====================================================
   SERVICE BADGE
   ===================================================== */

.hidea-map-popup__service {
    display: none;

    width: fit-content;

    margin-bottom: 9px;

    padding: 5px 8px;

    border-radius: 5px;

    background: rgba(255, 255, 255, 0.09);

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;

    line-height: 1;

    font-weight: 500;
}


.hidea-map-popup__service.is-visible {
    display: block;
}


.hidea-map-popup__badge--service {
    margin-bottom: 0;
    border-radius: 999px;
}


/* =====================================================
   TITLE
   ===================================================== */

.hidea-map-popup__title {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 600;
}


/* =====================================================
   CITY
   ===================================================== */

.hidea-map-popup__city {
    margin-bottom: 17px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;

    line-height: 1.4;
}


.hidea-map-popup__details {
    display: grid;
    gap: 10px;

    padding: 13px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hidea-map-popup:not(.has-gallery) .hidea-map-popup__details {
    border-bottom: 0;
}


.hidea-map-popup__detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    min-width: 0;
}


.hidea-map-popup__detail-icon {
    width: 18px;
    flex: 0 0 18px;

    color: #f3c24b;
    line-height: 1.2;
    text-align: center;
}


.hidea-map-popup__detail-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}


/* =====================================================
   ADDRESS
   ===================================================== */

.hidea-map-popup__address {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;

    line-height: 1.45;
}


/* =====================================================
   PHONE
   ===================================================== */

.hidea-map-popup__phone {
    display: block;
    margin: 0;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.4;

    text-decoration: none;
}


.hidea-map-popup__phone:hover {
    text-decoration: underline;
}


/* =====================================================
   WEBSITE
   ===================================================== */

.hidea-map-popup__website {
    display: inline-block;
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;

    line-height: 1.4;

    text-decoration: underline;
}


.hidea-map-popup__features {
    display: none;

    padding-top: 15px;
}


.hidea-map-popup__features.is-visible {
    display: block;
}


.hidea-map-popup__features-title {
    margin-bottom: 9px;

    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.hidea-map-popup__feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}


.hidea-map-popup__feature {
    padding: 8px 9px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;

    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    line-height: 1.2;
}


.hidea-map-popup__feature.is-active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
}


.hidea-map-popup__website:hover {
    color: #ffffff;
}


/* =====================================================
   ГАЛЕРЕЯ МЕТКИ
   ===================================================== */

.hidea-map-popup__gallery {
    display: none;
    padding-top: 16px;
    position: relative;
    margin-right: -28px;
}

.hidea-map-popup__gallery.is-visible {
    display: block;
}

.hidea-map-popup__gallery-viewport {
    position: relative;
    overflow: hidden;
}

.hidea-map-popup__gallery-track {
    display: flex;
    transition: transform 0.25s ease;
}

.hidea-map-popup__gallery-slide {
    flex: 0 0 calc(50% - 8px);
    height: 150px;
    margin-right: 8px;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
}

.hidea-map-popup__gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}

.hidea-map-popup__gallery-control {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0 0 3px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(20, 22, 26, 0.68);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hidea-map-popup__gallery-control:hover {
    background: rgba(20, 22, 26, 0.9);
}

.hidea-map-popup__gallery-control--prev {
    left: -15px;
}

.hidea-map-popup__gallery-control--next {
    right: -15px;
}

.hidea-map-popup__gallery-control.is-hidden {
    display: none;
}

.hidea-map-popup__gallery-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding-top: 9px;
}

.hidea-map-popup__gallery-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.hidea-map-popup__gallery-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .hidea-map-popup {
        top: auto;
        bottom: 20px;
        left: 15px;

        width: calc(100% - 30px);

        max-width: none;

        padding: 18px;
    }

    .hidea-map-popup__feature-list {
        grid-template-columns: 1fr;
    }

}



/* =====================================================
   MARKER
   ===================================================== */

.hidea-map-marker {
    position: relative;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    cursor: pointer;

    z-index: 1;

    transition: transform 0.2s ease, filter 0.2s ease;
}


/* =====================================================
   PIN
   ===================================================== */

.hidea-map-marker__pin {
    position: relative;

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    background: linear-gradient(145deg, #555b63 0%, #22262c 65%, #0e1013 100%);

    border: 2px solid rgba(255, 255, 255, 0.35);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* =====================================================
   DOT
   ===================================================== */

.hidea-map-marker__dot {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #090b0e;

    transform: translate(-50%, -50%);
}


/* =====================================================
   LABEL
   ===================================================== */

.hidea-map-marker__label {
    display: flex;
    align-items: center;

    gap: 4px;

    margin-left: 7px;

    max-width: 180px;

    padding: 4px 7px;

    border-radius: 5px;

    background: rgba(20, 22, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);

    color: #ffffff;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;

    white-space: nowrap;

    overflow: hidden;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.2);
}


/* =====================================================
   TITLE
   ===================================================== */

.hidea-map-marker__title {
    overflow: hidden;

    text-overflow: ellipsis;
}


/* =====================================================
   GOLD STAR
   ===================================================== */

.hidea-map-marker__star {
    flex-shrink: 0;

    color: #f3c24b;

    font-size: 12px;
    line-height: 1;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   TOP DEALER
   ===================================================== */

.hidea-map-marker--level-1 {
    z-index: 10;
}


.hidea-map-marker--level-1 .hidea-map-marker__pin {
    width: 36px;
    height: 36px;

    background:
        linear-gradient(145deg,
            #ffffff 0%,
            #dddddd 30%,
            #a7a7a7 65%,
            #747474 100%);

    border: 2px solid #ffffff;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.35);
}


.hidea-map-marker--level-1 .hidea-map-marker__dot {
    width: 10px;
    height: 10px;

    background: #ffffff;
}


.hidea-map-marker--level-1 .hidea-map-marker__label {
    font-weight: 500;
}


/* Обычная метка: название без звезды. */
.hidea-map-marker--level-2 .hidea-map-marker__label {
    background: rgba(18, 20, 24, 0.88);
}


/* Уровень 3: только маленькая кликабельная точка. */
.hidea-map-marker--level-3 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2f80ff;
    border: 2px solid #dceaff;
    box-shadow:
        0 0 0 2px rgba(47, 128, 255, 0.22),
        0 2px 8px rgba(0, 0, 0, 0.5);
}


/* =====================================================
   HOVER
   ===================================================== */

.hidea-map-marker:hover {
    z-index: 100;
    transform: scale(1.08);
}


.hidea-map-marker:hover .hidea-map-marker__pin {
    transform:
        rotate(-45deg) scale(1.08);

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.4);
}


.hidea-map-marker--level-1:hover .hidea-map-marker__pin {
    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.45);
}


/* =====================================================
   НОВЫЕ МЕТКИ: ДВА РАЗМЕРА И ИКОНКИ ТИПА
   ===================================================== */

.hidea-map-marker--regular,
.hidea-map-marker--top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.hidea-map-marker--regular {
    top: -7px;
}

.hidea-map-marker--top {
    width: 44px;
    height: 44px;
    top: -10px;
    z-index: 10;
}

.hidea-map-marker--regular .hidea-map-marker__pin,
.hidea-map-marker--top .hidea-map-marker__pin {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 50% 50% 50% 0;
    background: #004b90;
    box-shadow:
        0 4px 7px rgba(0, 37, 75, 0.28),
        0 10px 14px rgba(0, 37, 75, 0.15);
    transform: rotate(-45deg);
    box-sizing: border-box;
}

.hidea-map-marker--service .hidea-map-marker__pin {
    background: #009bb3;
    box-shadow:
        0 4px 7px rgba(0, 112, 132, 0.28),
        0 10px 14px rgba(0, 112, 132, 0.15);
}

.hidea-map-marker--shop-service .hidea-map-marker__pin {
    /* Капля повёрнута на -45°, поэтому 135° даёт вертикальное деление на карте. */
    background: linear-gradient(135deg, #004b90 0 50%, #009bb3 50% 100%);
}

.hidea-map-marker--regular .hidea-map-marker__pin::before,
.hidea-map-marker--top .hidea-map-marker__pin::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74%;
    height: 74%;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 37, 75, 0.08);
    transform: translate(-50%, -50%);
}

.hidea-map-marker--regular .hidea-map-marker__icon,
.hidea-map-marker--top .hidea-map-marker__icon {
    display: block;
    width: 58%;
    height: 58%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transform: rotate(45deg);
}

.hidea-map-marker--top .hidea-map-marker__pin {
    width: 40px;
    height: 40px;
}

.hidea-map-marker--top .hidea-map-marker__icon {
    width: 60%;
    height: 60%;
}

.hidea-map-marker__icon.hidea-map-marker__icon--icon1,
.hidea-map-marker__icon.hidea-map-marker__icon--icon3 {
    width: 68%;
    height: 68%;
}

.hidea-map-marker__star {
    position: absolute;
    top: -2px;
    right: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #f3c24b;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
}

.hidea-map-marker--regular:hover,
.hidea-map-marker--top:hover {
    transform: scale(1.1);
}

.hidea-map-marker--regular:hover .hidea-map-marker__pin,
.hidea-map-marker--top:hover .hidea-map-marker__pin {
    box-shadow:
        0 6px 11px rgba(0, 37, 75, 0.34),
        0 13px 18px rgba(0, 37, 75, 0.18);
    transform: rotate(-45deg) scale(1.06);
}

.hidea-map-marker--service:hover .hidea-map-marker__pin {
    box-shadow:
        0 6px 11px rgba(0, 112, 132, 0.34),
        0 13px 18px rgba(0, 112, 132, 0.18);
}

.hidea-map-marker__label {
    display: none;
}

@media (min-width: 768px) {
    .hidea-map-marker__label {
        position: absolute;
        top: 50%;
        left: calc(100% + 9px);
        display: block;
        max-width: 190px;
        padding: 7px 10px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 7px;
        background: rgba(20, 22, 26, 0.92);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
        color: #fff;
        font-size: 12px;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%) translateX(-4px);
        transition: opacity 0.16s ease, transform 0.16s ease;
    }

    .hidea-map-marker:hover .hidea-map-marker__label {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}
