#shops_map {
    height: 640px;
    flex: 1;
}

.shops__map-left {
    width: 350px;
    max-width: 100%;
}

.shops__map-wrap {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 30px 0;
}

.shops__map-wrap:before {
    content: '';
    width: calc(100vw);
    background: #f5f5f5;
    height: 100%;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
}


.shops__accordion .panel-body {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    gap: 60px 20px;
}

.shop:first-child {
    margin-top: -60px;
}

.shop:last-child {
    margin-bottom: -60px;
}

.shop {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-basis: 100%;
    min-height: 250px;
}

img.shop__image {
    width: 40%;
    height: 100%;
    max-height: 250px;
    object-fit: cover;
}

.shop__info {
    flex: 1;
}

.shop__name {
    margin-bottom: 10px;
}

.shop__info {
    display: flex;
    gap: 20px;
}

.shop__status {
    color: #a8a8a8;
    margin-bottom: 20px;
}

.shop__status-active {
    color: #62a45c;
}

.shop__comment,
.shop__open {
    margin-bottom: 12px;
}

#shops_cities {
    display: none;
}

.nice-select .nice-select-dropdown,
div.nice-select {
    width: 100%;
}

.gm-ui-hover-effect {
    right: 10px !important;
    top: 10px !important;
    border-radius: 50%;
    background: #d7d7d7 !important;
}

a.shop__route {
    color: #fff;
    text-decoration: none;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-default > .panel-heading {
    padding: 0 15px;
}

.panel-title a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
}

.panel-title a i {
    transition: transform .3s ease-in-out;
}

.panel-title a:not(.collapsed) i {
    transform: rotate(180deg);
}


.gm-style .gm-style-iw-c,
.gm-style-iw-d {
    /*max-height: 200px !important;*/
}


.shop__info-left,
.shop__info-right {
    flex: 1;
}

.shop__info-left {
    /*flex-basis: 300px;*/
}

.shop__info-right {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.shop__bottom p {
    line-height: 1.2;
    margin: 0;
}

.shop__bottom a {
    display: block;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-top: 8px;
    letter-spacing: 1px;
}

.shop__time-list {
    display: none;
}

.shop__time {
    padding: 5px 15px;
    margin-bottom: 20px;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
    cursor: pointer;
}

.shop__time-now {
    display: flex;
    align-items: center;
    gap: 0 10px;
}

.shop__time-now i:last-child {
    margin-left: auto;
}

.shop__time-now.active i:last-child {
    transform: rotate(180deg);
}

.shops__map-filter input {
    display: none;
}

.shop__time-list {
    max-width: max-content;
    font-size: 12px;
    color: #727272;
    line-height: 1.3;
    margin-left: 120px;
    letter-spacing: 1px;
}

.shop__time-list span {
    width: 22px;
    display: inline-block;
}

.shop__time-now.active + .shop__time-list {
    display: block;

}

.shop__info-filter {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0 10px;
}

.shop__info-filter i {
    font-size: 18px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b3acac;
}

.shops__map-filter {
    margin-top: 70px;
}

.shops__map-filter label {
    display: flex;
    align-items: center;
    gap: 0 15px;
    position: relative;
    padding: 0;
}

.shops__map-filter label span {
    flex: 1;
}

.shops__map-filter .checkbox:first-child {
    padding-bottom: 15px;
    border-bottom: 1px solid #1f1f1f;
    margin-bottom: 20px;
}

.shops__map-filter label:before {
    width: 18px;
    flex-basis: 18px;
    height: 18px;
    border: 1px solid #1f1f1f;
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
    transition: background .2s ease-in-out;
}

.shops__map-filter input:checked + label:before {
    background-image: url('/catalog/view/theme/unishop2/image/checkbox.svg');
}

.shop-modal {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.shop-modal__left,
.shop-modal__right {
    width: 50%;
    min-width: 260px;
}

.gm-style img.shop__image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    max-width: none;
}

.shops__accordion .shop-modal {
    display: none;
}

.shop-modal .shop-image__wrap {
    position: relative;
}

.shop-modal .shop__status {
    position: absolute;
    padding: 6px 15px;
    left: 0;
    top: 0;
    background: darkgrey;
    color: #000;
    font-weight: 600;
}

.shop-modal .shop__status-active {
    background: darkgreen;
    color: #fff;
}

.shop-modal .shop__times-list {
    width: max-content;
    margin: 0 auto 10px;
    color: #626262;
    font-size: 12px;
    line-height: 1;
}

.shop-modal .shop__times-list span {
    display: inline-block;
    width: 22px;
}

.shop-modal__right {
    display: flex;
    flex-direction: column;
}

.shop-modal .shop__filters {
    margin-top: 30px;
}

.shop-modal a.shop__route {
    margin-top: auto;
}

.shop-modal .shop__info-filter {
    margin-bottom: 12px;
}

.shop-modal .shop__bottom p {
    max-width: 80%;
}

@media (max-width: 1199px) {
    .shop-modal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .shop-modal__left, .shop-modal__right {
        width: 100%;
    }

    .shop-modal .shop__bottom p {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .shops__map-wrap {
        flex-direction: column-reverse;
    }

    #shops_map {
        width: 100%;
        flex: unset;
        height: 250px;
    }

    img.shop__image {
        width: 100%;
    }

    .shop-modal,
    .shop__info,
    .shop {
        flex-direction: column;
    }

    .shop:not(:first-child) {
        border-top: 1px solid #000;
        padding-top: 40px;
    }

    .shop:first-child {
        margin-top: -40px;
    }

    .shops__accordion .panel-body {
        gap: 40px;
    }

    .shop__filters {
        margin-bottom: 20px;
    }
}

/*@media (max-width: 550px) {*/
/*    .shops__map-wrap {*/
/*        flex-direction: column-reverse;*/
/*        margin-bottom: 80px;*/
/*    }*/

/*    .shops__map-left {*/
/*        width: 100%;*/
/*    }*/

/*    #shops_map {*/
/*        width: 100%;*/
/*        min-height: 350px;*/
/*    }*/

/*    .shop {*/
/*        flex-basis: 100%;*/
/*        flex-direction: column;*/
/*        text-align: center;*/
/*    }*/

/*    img.shop__image {*/
/*        max-width: 100%;*/
/*    }*/

/*    .gm-style img.shop__image, img.shop__image {*/
/*        display: block;*/
/*        margin: 0 auto;*/
/*    }*/

/*    .gm-style .gm-style-iw-c {*/
/*        max-width: 90vw !important;*/
/*    }*/

/*    .gm-style .gm-style-iw-c .shop {*/
/*        align-items: flex-start;*/
/*        flex-direction: column;*/
/*    }*/
/*}*/
