.address-popup {
    width: 890px !important;
    padding: 40px !important;
}
.address-popup__content {
    display: flex;
}
.address-heading {
    font-weight: bold;
    font-size: 28px;
    line-height: 37px;
    color: #090909;
    padding-bottom: 20px;
    border-bottom: 1px solid #DADADA;
    margin-bottom: 15px;
}
.address-item {
    display: flex;
    align-items: center;
    background: #F4F4F4;
    border-radius: 3px;
    padding: 15px;
    border: 1px solid transparent;
    margin-bottom: 3px;
}
.address-item svg {
    min-width: 16px;
}
.address-item:hover {
    border: 1px solid #F4F4F4;
    background: #fff;
}
.address-info {
    margin-left: 15px;
}
.address-info__title {
    display: block;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    margin-bottom: 5px;
}
.address-info__address {
    font-size: 14px;
    line-height: 17px;
    color: #666666;
}
.address-item__arrow {
    display: block;
    background: url("/local/templates/am/images/address-arrow.png") no-repeat center;
    width: 13px;
    height: 10px;
    margin-left: auto;
    min-width: 13px;
}
.address-popup__left {
    width: 305px;
    margin-right: 20px;
}
.address-popup__right {
    width: 395px;
}
.address-search {
    display: flex;
    margin-bottom: 15px;
}
.address-search_mobile {
    display: none;
}
.address-search .search {
    width: 100%;
    position: relative;
}
.address-items {
    padding-right: 5px;
    height: 455px;
    overflow-y: scroll;
}
/* width */
.address-items::-webkit-scrollbar {
    width: 4px;
}
/* Track */
.address-items::-webkit-scrollbar-track {
    background: transparent;
}
/* Handle */
.address-items::-webkit-scrollbar-thumb {
    background: #DADADA;
    border-radius: 4px;
}
/* Handle on hover */
.address-items::-webkit-scrollbar-thumb:hover {
    background: #bbbbbb;
}
/*Для детального блока*/
.address-detail__back {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 17px;
    color: #666666;
    margin-bottom: 40px;
    cursor: pointer;
}
.address-detail__back:before {
    content: '';
    display: block;
    background: url("/local/templates/am/images/address-arrow.png") no-repeat center;
    width: 13px;
    height: 10px;
    margin-right: 10px;
    transform: rotate(180deg);
}
.address-detail__item {
    margin-top: 30px;
}
.address-detail__heading {
    display: block;
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #000000;
}
.address-detail__title {
    display: block;
    font-size: 14px;
    line-height: 17px;
    color: #666666;
}
.address-detail__text {
    font-size: 16px;
    line-height: 19px;
    color: #090909;
}
.address-detail .btn {
    display: block;
    margin-top: 35px;
    max-width: 200px;
}
.address-detail__list {
    max-width: 160px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.address-detail__list li {
    display: flex;
    justify-content: space-between;
}
.address-popup__items,
.address-detail {
    display: none;
}
.address-popup__items.isVisible,
.address-detail.isVisible {
    display: block;
}
/*popover*/
.popover {
    padding: 20px;
    width: 300px;
    background: #FFFFFF;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .popover {
        width: 150px;
    }

    .popover-content {
        margin-bottom: 10px;
    }

    .popover-footer {
        flex-flow: column;
    }

    .popover-link {
        margin-bottom: 10px;
    }
}
.popover-title {
    font-size: 14px;
    line-height: 17px;
    color: #090909;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.popover-title__content {
    margin-left: 10px;
    font-size: 16px;
    line-height: 19px;
    color: #090909;
}
.popover-content {
    font-size: 14px;
    line-height: 17px;
    color: #766666;
    margin-bottom: 40px;
    padding-left: 22px;
}
.popover .close {
    position: absolute;
    right: 5px;
    top: 1px;
}
.popover-link {
    font-size: 16px;
    line-height: 19px;
    color: #7D0E2F;
}
.popover-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popover-footer a {
    flex: 1;
}
.popover:after {
    content: '';
    position: absolute;
    left: 35px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5.5px 0 5.5px;
    border-color: #ffffff transparent transparent transparent;
}
.address-tabs {
    display: none;
    justify-content: space-between;
    margin-bottom: 20px;
}
.address-tabs .btn {
    width: 47%;
}
.address-tabs .svg {
    fill: #A6A6A6;
}

.btn.btn-shops-map {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-shops-map svg {
    margin-right: 5px;
    position: relative;
    top: -2px;
}
.btn-shops-map svg {
    fill: #A6A6A6;
}

.btn-shops-map.btn-active svg {
    fill: #fff;
}

.btn-shops-list svg {
    fill: #A6A6A6;
}

.btn-shops-list.btn-active svg {
    fill: #fff;
}

.label_new_image_wrapper{
    text-align: center;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

/*label нового магазина new!*/
.label {
    min-width: 34px;
    padding: 0 5px;
    height: 15px;
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 15px;
    color: #ffffff;
    border-radius: 2px;
}

.label_new {
    background: #26A713;
    margin-left: -10px;
}
.label_new + svg{
    margin-top: 5px;
}
/*label нового магазина new!*/

@media (max-width: 768px) {
    .address-tabs {
        display: flex;
    }

    .address-search {
        display: none;
    }

    .address-search_mobile {
        display: flex;
    }
    .address-popup__right {
        height: 60vh !important;
        overflow: hidden;
    }
}

@media (max-width: 360px) {
    .address-popup {
        padding: 20px !important;
    }

    .address-heading {
        padding-bottom: 0;
    }

    .address-detail__back {
        margin-bottom: 20px;
    }

    .address-detail__item {
        margin-top: 15px;
    }
}