.contacts__top {
    display: flex;
    align-items: center;
    padding: 23px 20px;
    margin-bottom: 20px;

    background-color: #F1F1F1;
}

.map__map {
    min-height: 400px;
}

select.contacts__filter {
    display: none;
}

.contacts__filter.jq-selectbox {
    position: relative;
    width: 342px;
    margin-right: 25px;
}

.contacts__filter .jq-selectbox__select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px 14px 17px;

    background-color: white;
    transition: all 250ms;
}

.contacts__filter .jq-selectbox__select:hover {
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(150, 150, 150, 0.25);
}

.contacts__filter .jq-selectbox__select-text {
    flex-grow: 1;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #383B47;
}

.contacts__filter .jq-selectbox__trigger {
    flex-shrink: 0;
}
.contacts__filter .jq-selectbox__trigger-arrow {
    width: 9px;
    height: 9px;
    margin-left: 4px;
    background: url(/local/templates/universe_s1/images/section/filter-arrow-thin.svg) no-repeat;
    background-size: contain;
    transition: all 150ms;
}

.contacts__filter.opened .jq-selectbox__trigger-arrow {
    transform: rotate(-180deg);
}

.contacts__filter .jq-selectbox__dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 48px !important;

    box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.25);
}

.contacts__filter .jq-selectbox__dropdown ul {
    margin: 0;
    padding: 6px 0;
    max-height: 33vh !important;
    overflow-y: scroll;

    scrollbar-color: #cccccc #F1F1F1;
    scrollbar-width: thin;
    background-color: white;
}

.contacts__filter .jq-selectbox__dropdown ul::-webkit-scrollbar {
    width: 5px;
    background-color: #F1F1F1;
}

.contacts__filter .jq-selectbox__dropdown ul::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    -webkit-transition: background-color 300ms;
    transition: background-color 300ms;
}

.contacts__filter .jq-selectbox__dropdown ul::-webkit-scrollbar-thumb:hover {
    background-color: #aeaeae;
}

.contacts__filter .jq-selectbox__dropdown li {
    padding: 9px 15px;
    margin: 0;
    font-weight: 600;
    font-size: 12px;
    line-height: 17px;
    color: #383B47;
    transition: background-color 250ms;
    cursor: pointer;
}

.contacts__filter .jq-selectbox__dropdown li:not(.sel):hover {
    background-color: #F8F8F8;
}
.contacts__filter .jq-selectbox__dropdown li.sel {
    background-color: #F3F3F3;
}

.contacts__filter-label {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
}

.contacts__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contacts__item {
    width: 48%;
}

.contacts__item.shop {
    margin-bottom: 0;
    padding: 14px;

    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #383B47;
}

.shop {
    display: flex;

    border: 1px solid #E9E9E9;
    border-radius: 2px;

    transition: all 250ms;
}

.shop.current {
    background-color: #F6F6F6;
}

.shop:hover {
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.15);
}

.shop a:hover {
    text-decoration: none;
}

.shop > a {
    display: block;
    flex-shrink: 0;
    margin-right: 21px;
}

.contacts__grid-map .shop > a  {
    margin-right: 0;
}

.shop__img {
    width: 246px;
    height: 208px;
    object-fit: cover;
}

.shop__desc {
    padding-top: 10px;
    padding-bottom: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.shop__route {
    margin-top: auto;

    font-size: 12px;
    line-height: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #2671B7;

    transition: all 250ms;
}

.shop__route:hover {
    text-decoration: none;
    color: #2671B7;
}

.shop__title {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;

    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
}

.shop__title::before {
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
    width: 11px;
    height: 13px;

    background: url("/local/templates/universe_s1/images/svg/map-locator.svg") no-repeat;
    background-size: contain;

    content: '';
}

.shop__address {
    display: block;
    margin-bottom: 16px;
}

.shop__phone {
    display: flex;
    align-items: center;
    margin-bottom: 14px;

    font-weight: 700;
    font-size: 16px;
    line-height: 20px;

    transition: color 250ms;
}

.shop__phone::before {
    display: inline-block;
    margin-right: 6px;
    flex-shrink: 0;
    width: 10.3px;
    height: 10.3px;

    background: url("/local/templates/universe_s1/images/svg/phone-call.svg") no-repeat;
    background-size: contain;

    content: '';
}

.shop__phone:hover {
    color: #2671B7;
}
.map__point p {
    margin-bottom: 0.5em;
}

.contacts__grid-map .shop {
    flex-direction: column;
}
.contacts__grid-map .shop__img {
    margin-right: 0;
    margin-bottom: 18px;
}
.contacts__grid-map .shop__desc {
    padding: 0 10px;
}
.contacts__grid-map .shop__time {
    margin-bottom: 56px;
}

.share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacst__map {
    display: flex;
    flex-direction: column;
}
.map__map {
    flex-grow: 1;
}
.map__share {
    margin-top: 14px;
    flex-shrink: 0;
    justify-content: flex-end;

    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #383B47;
}

.share__link {
    width: 32px;
    height: 32px;
    flex-shrink: 0;

    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

.share__link-tg {
    background-image: url("images/Telegram.svg");
}
.share__link-wa {
    background-image: url("images/W.svg");
}
.share__link-vk {
    background-image: url("images/Vk.svg");
}
.share__link-ok {
    background-image: url("images/Ok.svg");
}
.share__link-gmail {
    background-image: url("images/Gmail.svg");
}
.share__link-yamail {
    background-image: url("images/Yandex.svg");
}
.share__link-mailru {
    background-image: url("images/Mailru.svg");
}

.map__share .share__link:first-of-type {
    margin-left: 4px;
}

@media (max-width: 1023.9px) {
    .contacts__item {
        width: 100%;
    }

    .map__map {
        height: 300px;
    }

    .map__share {
        margin-bottom: 30px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .contacts__grid-map .shop__img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.92;
        margin-right: 0;
        margin-bottom: 16px;
    }
}
@media (max-width: 699.9px) {
    .contacts__top {
        padding: 11px 9px 20px;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 13px;
    }

    .contacts__filter.jq-selectbox {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 499.9px) {
    .shop {
        flex-direction: column;
    }

    .shop__img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.92;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .shop__time {
        margin-bottom: 70px;
    }

    .shop__desc {
        padding: 0 10px;
    }
}

@media (min-width: 700px) and (max-width: 1023.9px) {
    .contacts__top {
        padding-left: 12px;
        padding-right: 12px;

        margin-bottom: 13px;
    }
}

@supports (display: grid) {
    .contacts__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 16px 20px;
        max-width: 100%;
    }

    .contacts__item {
        width: 100%;
        max-width: 100%;
    }

    .contacts__grid-map {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-flow: dense;
    }

    .contacst__map {
        max-width: 100%;
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }
    @media (max-width: 1023.9px) {
        .contacts__grid {
            grid-template-columns: 1fr;
            grid-gap: 15px;
        }

        .contacts__grid-map {
            grid-template-columns: 1fr 1fr;
        }

        .contacst__map {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 599.9px) {
        .contacts__grid-map {
            grid-template-columns: 1fr;
        }
    }
}


.contacts__item.banner {
    padding: 0;
    border: 1px solid #E9E9E9;
    border-radius: 2px;
}

.contacts__item.banner img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left;
    image-rendering: -webkit-crisp-edges;
    image-rendering: crisp-edges;
}

.contacts__banner {
    display: block;
    margin-top: 41px;
}