.representatives * {
    box-sizing: border-box;
}

/* выбор страны и города */
.representatives .location-set {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 0 3vh 0;
}

.representatives .location-set > div {
    min-width: 30%;
}

.representatives .jq-selectbox.disabled {
    opacity: .6;
    cursor: default;
}

.representatives .jq-selectbox.disabled .jq-selectbox__select {
    cursor: default;
}

/* список представителей */
.representatives .representative-contacts__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    margin: 0 0 4vh 0;
}

.representatives .representative-contacts__item {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    padding: 2vh;
    border-radius: 22px;
    background: #fff;
}

.representatives .representative-contacts__item-title {
    font-size: 150%;
}
.representatives .representative-contacts:has(> .representative-contacts__map[hidden]) .representative-contacts__list {
    min-height: 360px;
    align-content: flex-start;
}
.representatives .representative-contacts__item-address {
    font-size: 110%;
    font-style: normal;
    line-height: 140%;
}

.representatives .representative-contacts__item-phone {
    font-weight: 500;
    font-size: 120%;
}

.representatives .soc {
    display: flex;
    flex-direction: row;
}

.representatives .soc__link {
    margin: 5px;
}

/* сообщения: «Выберите город...», «Не удалось загрузить...» */
.representatives__message {
    width: 100%;
    margin: 0;
    padding: 40px 0;
    text-align: center;
    color: #202B52;
}

/* прелоадер */
.representatives .representative-contacts__list.is-loading {
    min-height: 160px;
}

.representatives .representative-contacts__list.is-loading > * {
    opacity: .4;
    pointer-events: none;
    transition: opacity .2s;
}

.representatives .representative-contacts__list.is-loading::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    border: 3px solid rgba(32, 43, 82, .2);
    border-top-color: #202B52;
    border-radius: 50%;
    animation: representatives-spin .8s linear infinite;
}

@keyframes representatives-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .representatives .representative-contacts__list.is-loading::after {
        animation-duration: 2s;
    }
}

/* карта */
.representatives .representative-contacts__map-title {
    padding-bottom: 20px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1.05px;
}

.representatives .representative-contacts__map > div[id] {
    border-radius: 22px;
    overflow: hidden;
}

@media screen and (min-width: 766px) {
    .representatives .location-set {
        flex-direction: row;
    }

    .representatives .representative-contacts__list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .representatives .representative-contacts__item {
        flex-direction: row;
        width: calc(100% / 3 - 2vh * 2 / 3);
    }

    .representatives .representative-contacts__item-img {
        width: 30%;
    }

    .representatives .representative-contacts__item-img img {
        max-width: 100%;
    }

    .representatives .representative-contacts__item-info {
        width: 70%;
    }
}