/*переключение той или иной кнопки, доставка и магазин алкоголя*/
.header-catalog-nav__cats-nav_horizontal a.switch-btn {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
    align-items: center;
    justify-content: center;
    padding: 0 45px;
    margin: 0;
}

.header-catalog-nav__cats-nav_horizontal .switch-btn.btn-delivery {
    background: #00B068;
    display: flex;
}

.header-catalog-nav__cats-nav_horizontal .switch-btn.btn-alcohol {
    background: #FABC09;
    display: none;
}

.delivery .header-catalog-nav__cats-nav_horizontal .switch-btn.btn-alcohol {
    display: flex;
}

.delivery .header-catalog-nav__cats-nav_horizontal .switch-btn.btn-delivery {
    display: none;
}

/*переключение той или иной кнопки, доставка и магазин алкоголя*/


/*button address delivery*/
div.delivery-address,
.delivery .shop-address {
    /*Скрываем блок адреса магазина в режиме доставки и блок адресса доставки в режиме сайта с алкоголем*/
    display: none;
}

.delivery .delivery-address {
    /*Показываем блок адресса доставки в режиме доставки*/
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 260px;
    padding: 0 30px;
    border-right: 1px solid #e5e5e5
}

.delivery .shop-dropdown__forgot-btn {
    position: absolute;
    top: 10px;
    right: 10px
}

.delivery .delivery-address {
    min-height: auto;
}

.delivery .delivery-address span {
    position: relative;
    padding-left: 25px;
    display: block;
    font-size: 14px;
    line-height: 17px
}

.delivery .delivery-address span:hover {
    cursor: pointer;
    text-decoration: underline
}

.delivery .delivery-address span:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background: url('/local/templates/am/images/productsIcons/auto.png');
    width: 20px;
    height: 14px;
    background-size: 20px 14px
}

/*button address delivery*/

/*окно выбора адресса доставки*/
.delivery #addressPopupDelivery .address-search {
    flex-direction: column;
    display: flex;
}

.delivery .address-info {
    display: flex;
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 15px;
}

.delivery .address-info input {
    width: 100%;
    max-width: 137px;
}

/*окно выбора адресса доставки*/


/*Style for page delivery popup*/
.confirmation-popup__icon {
    width: 102px;
    height: 102px;
    margin: 0 auto 10px;
    border: 4px solid #000000;
    border-radius: 50%;
}

#warning-pickup .confirmation-popup__icon {
    background: url('/local/templates/am/images/productsIcons/bottle-shop.png') no-repeat center;
}

#warning-about-delivery-products .confirmation-popup__icon {
    background: url('/local/templates/am/images/productsIcons/products-icon.svg') no-repeat center;
}

#select-delivery-address .confirmation-popup__icon {
    background: url('/local/templates/am/images/productsIcons/auto-icon.svg') no-repeat center;
}

.confirmation-popup__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 25px;
    font-size: 16px;
    line-height: 22px;
    color: #000000 !important;
    margin-bottom: 10px !important;
}

.confirmation-popup .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-popup .btn svg {
    margin-left: 5px;
}

.delivery .input-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    margin-top: 15px;
}

.delivery .input-wrap input {
    width: 100%;
    max-width: 137px;
}

#addressPopupDelivery .btn {
    width: 100%;
}

#addressPopupDelivery .h2 {
    font-weight: bold;
    font-size: 28px;
    line-height: 34px;
    color: #000000;
    font-family: "Proxima Nova", Helvetica, Arial, sans-serif;
    border-bottom: 1px solid #DADADA;
    padding-bottom: 18px;
    margin-bottom: 15px;
}

.delivery .address-popup__content {
    justify-content: space-between;
    margin-bottom: 40px;
}

.delivery .address-popup__right {
    display: block;
}

/*Style for page delivery popup*/

/*Попап подтверждение/смены адресса*/
.another-address,
.delivery .city-link {
    display: none;
}

.delivery .another-address {
    display: block;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #C71E3F;
    margin-top: 20px;
}

/*Попап подтверждение/смены адресса*/

/*Прозрачный кругляш для попапа*/
.mfp-bg.transparent-circle {
    background: none;
}

.mfp-bg.transparent-circle:before {
    content: '';
    position: absolute;
    width: 208px;
    height: 208px;
    border-radius: 50%;
    box-shadow: 0 0 0 9999px rgba(11, 11, 11, 0.9);
    z-index: -1;
}

.mfp-bg.transparent-circle:after {
    content: '';
    position: absolute;
    width: 97px;
    height: 89px;
    background: url('/local/templates/am/images/productsIcons/yellowArrowForPopup.png');
}

.mfp-bg.transparent-circle.left-circle:before {
    transform: translate(-50%, -50%);
    top: var(--warning-pickup-target-y-address);
    left: var(--warning-pickup-target-x-address);
}

.mfp-bg.transparent-circle.left-circle:after {
    transform: translate(-160px, 100px) rotate(-30deg) ;
    top: var(--warning-pickup-target-y-address);
    left: var(--warning-pickup-target-x-address);
}

.mfp-bg.transparent-circle.right-circle:before {
    transform: translate(-50%, -50%);
    top: var(--warning-pickup-target-y-product);
    left: var(--warning-pickup-target-x-product);
}

.mfp-bg.transparent-circle.right-circle:after {
    transform: translate(-210px, 0px);
    top: var(--warning-pickup-target-y-product);
    left: var(--warning-pickup-target-x-product);
}

/*Прозрачный кругляш для попапа*/

/*Кнопка в попапе*/
.delivery .confirmation-popup__btn {
    margin-top: 25px;
}

/*Кнопка в попапе*/

/*basket*/
.delivery .header-cart {
    padding: 0;
    min-width: 217px;
}

.delivery .header-cart .total {
    white-space: nowrap;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    margin-left: 12px;
    display: block;
}

.delivery .header-cart__trigger {
    background: #C71E3F;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    justify-content: center;
}

.delivery .dropdown__content-head .header-cart__trigger {
    background: none;
    width: auto;;
    height: auto;
    border-radius: 0;
}

.delivery .header-cart__trigger svg {
    width: 18px;
    height: 18px;
}

.delivery .header-cart__trigger svg path {
    fill: #ffffff;
}

.delivery .header-cart__trigger:hover svg path {
    fill: #ffffff;
}

/*basket*/

/*баннеры на главной*/
.delivery .right-banners {
    /*скрываем баннеры справа от основного*/
    display: none;
}

.delivery .page-catalog-main-banners .col-xl-10 {
    width: 100% !important;
}

.delivery .main-promo-slider {
    border-radius: 20px;
}

.delivery .main-promo-slider__slide > img {
    object-fit: cover;
    width: 100%;
}

/*баннеры на главной*/

/*мобильный хедер*/
.mobile-user-nav {
    display: flex !important;
    align-items: center;
}

.mobile-user-nav .switch-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-top: -8px;
    margin-right: 5px;
}

.mobile-user-nav .switch-btn.btn-delivery {
    background: #00B068 url("/local/templates/am/images/productsIcons/auto-white.png") no-repeat center;
    display: flex;
}

.mobile-user-nav .switch-btn.btn-alcohol {
    background: #FABC09 url("/local/templates/am/images/productsIcons/bottle-white.png") no-repeat center;
    display: none;
}

.delivery .mobile-user-nav .switch-btn.btn-alcohol {
    display: flex;
}

.delivery .mobile-user-nav .switch-btn.btn-delivery {
    display: none;
}

/*мобильный хедер*/

/*Деьальная товара*/
.delivery .catalog-element-info__controls {
    flex-wrap: wrap;
}

.delivery .delivery-availability {
    display: block;
    order: 5;
}

.delivery-availability {
    width: 100%;
    margin-bottom: 10px;
    display: none;
}

.delivery-availability .text {
    display: flex;
    margin-bottom: 5px;
}

.delivery-availability .text span {
    color: #7D0930;
    font-size: 12px;
    flex-shrink: 0;
}

.delivery .address-delivery {
    font-size: 12px;
    line-height: 14px;
    color: #A6A6A6;
    width: 100%;
}

/*Деьальная товара*/

/*Доступность для заказа*/
.icon-fill {
    width: 13px;
    height: 13px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 6px;
    margin-top: -1px;
    flex-shrink: 0;
}

.fill_0 {
    background-image: url("/local/templates/am/images/productsIcons/fill_0.svg");
}

.fill_1 {
    background-image: url("/local/templates/am/images/productsIcons/fill_1.svg");
}

.fill_2 {
    background-image: url("/local/templates/am/images/productsIcons/fill_2.svg");
}

.fill_3 {
    background-image: url("/local/templates/am/images/productsIcons/fill_3.svg");
}

/*Кнопка быстрого заказа*/
.delivery .quickorder.btn.btn-block {
    display: none;
}

/*оплата*/
.payment {
    padding-top: 55px;
    color: #000000;
    font-size: 18px;
    text-align: center;
}

.payment .row {
    justify-content: center;
    width: 100%;
    display: flex;
}

.delivery .payment__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 678px;
}

.payment__inner h1 {
    margin: 0 0 33px;
    padding: 0;
    font-weight: normal;
    font-size: 36px;
    line-height: 42px;
    font-family: "Proxima Nova", Helvetica, Arial, sans-serif;
}

.payment__inner div {
    margin-bottom: 21px;
}

.payment__inner a {
    text-decoration: underline;
}

/*оплата*/

/*Попап выбора адреса доставки*/
.delivery #addressPopupDelivery .address-items {
    height: auto;
}

/*Попап выбора адреса доставки*/

/*Кнопки переключения между картой и вводом адреса в мобильной версии*/
.mobile-switch-map {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    display: none;
}

.delivery .mobile-switch-map .switch-btn {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid rgba(166, 166, 166, 0.8);
    box-sizing: border-box;
    border-radius: 4px;
    min-width: 130px;
    font-weight: bold;
    font-size: 16px;
    color: #242424;

}

.delivery .mobile-switch-map .switch-btn:first-child {
    margin-right: 20px;
}

.delivery .mobile-switch-map .switch-btn.switch-btn_active {
    background: #C71E3F;
    border-color: #C71E3F;
    color: #ffffff;
}

.delivery .mobile-switch-map .switch-btn svg {
    margin-right: 10px;
}

.delivery .mobile-switch-map .switch-btn svg path {
    fill: rgb(166, 166, 166);
}

.delivery .mobile-switch-map .switch-btn.switch-btn_active svg path {
    fill: #ffffff;
}

/*Кнопки переключения между картоц и вводом адреса в мобильной версии*/

/*Кнопки выбора адресса в мобильной версии*/
.js-address-delivery.mobile-user-nav__shop,
.delivery .js-address-modal-open {
    display: none;
}

.delivery .js-address-delivery.mobile-user-nav__shop {
    display: block;
}

@media screen and (max-width: 1300px) {
    .delivery .delivery-address {
        min-width: 190px;
    }

    .delivery .page-header .header-cart {
        flex-direction: column;
        min-width: auto;
    }

    .delivery .header-cart .total {
        font-size: 12px;
        margin-top: 5px;
    }

    .delivery .page-header .logo-am {
        padding-right: 10px;
    }

    .header-catalog-nav__cats-nav_horizontal a.switch-btn {
        padding: 0 10px;
        font-size: 12px;
    }

    .mfp-bg.transparent-circle.right-circle:before {
        width: 150px;
        height: 150px;
    }
    .mfp-bg.transparent-circle.right-circle:after {
        transform: translate(-190px, 0px);
    }
}

@media screen and (max-width: 1023px) {
    .mfp-bg.transparent-circle.left-circle:before {
        width: 63px;
        height: 63px;
    }
    .mfp-bg.transparent-circle.right-circle:before {
        width: 63px;
        height: 63px;
    }
    .mfp-bg.transparent-circle.left-circle:after {
        transform: translate(-105px, 25px) rotate(-30deg);
    }
    .mfp-bg.transparent-circle.right-circle:after {
        transform: translate(-130px, 0px);
    }

    .isMap .address-popup__left {
        display: none;
    }

    .isMap .address-popup__right {
        height: auto !important;
        display: block;
    }

    .isInput .address-popup__left {
        display: flex;
    }

    .isInput .address-popup__right {
        display: none;
    }

    .delivery .address-popup__items {
        width: 100%;
    }

    .delivery .address-popup__content {
        margin-bottom: 15px;
    }

    .mobile-switch-map {
        display: flex;
    }

    .delivery .input-wrap {
        justify-content: flex-start;
    }

    .delivery .input-wrap input {
        margin-right: 20px;
    }

}

@media screen and (max-width: 767px) {
    .delivery-availability {
        padding: 20px 0 0;
    }

    .delivery .catalog-element-info {
        min-height: 500px;
    }

    .delivery .delivery-time__radio span {
        font-size: 12px;
    }

    .delivery .delivery-summary-block {
        padding: 38px 20px 20px 20px;
    }

    .delivery .order-success-info__content h1 {
        font-size: 36px;
    }

    .delivery .order-success-info__content .get_reviews_link {
        font-size: 22px;
    }

    .delivery .order-success-info {
        padding: 60px 15px 30px;
    }

    #addressPopupDelivery h2 {
        font-size: 20px;
        padding: 15px 0 20px;
    }
}


.delivery .cart-total.remove-flex {
    display: block;
}