.delivery-popup-form-sc .delivery-popup-title h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    text-align: center;

}

.delivery-popup-main .delivery-popup-heading {
    margin-bottom: 13px;
    display: block;
    text-align: center;
}

.tab-content .delivery-popup-form-text {
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
    margin-top: 10px;
    text-align: center;
    /* min-width: 460px; */
}

@media(max-width:500px) {
    .tab-content .delivery-popup-form-text {
        min-width: auto;
    }
}

.delivery-popup-form-text.delivery-popup-form-text-map {
    margin-top: 18px;
    margin-bottom: 25px;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    color: #007c28;
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.delivery-popup-form-text.delivery-popup-form-text-map:hover {
    color: #006521;
}

.delivery-popup-form-text-map-body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.delivery-popup-wrap .delivery-popup-content {
    width: 550px;
    padding: 20px 12px;
    overflow-y: auto;
    overflow-x: hidden;
}

.delivery-popup-wrap .delivery-popup-map {
    width: -webkit-calc(100% - 430px);
    width: -moz-calc(100% - 430px);
    width: calc(100% - 430px);
}

.input-row {
    gap: 17px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.input__row-field {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.input-row-edit {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 45px;
    width: 74px;
}

.input-row-edit._w170 {
    width: 170px;
}

.toogle-blocks-2-info {
    gap: 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 35px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 35px;
}

.input-row-edit label {}

.input-row-edit input {
    background: #fff;
    padding: 18px 7px 12px 10px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    border: solid 1px #007c28;
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    color: #606060;
}

.input__row-width {
    width: 230px;
    height: 45px;
}

.form-group-toggle label {
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    color: #606060;
}

.toogle-blocks-2-info button {
    height: 26px;
    width: 50px;
    border: none;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    background: #a7d1b4;
    position: relative;
}

.toogle-blocks-2-info button::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    -webkit-transform: translate(0%, -51%);
    -moz-transform: translate(0%, -51%);
    -ms-transform: translate(0%, -51%);
    -o-transform: translate(0%, -51%);
    transform: translate(0%, -51%);
    width: 21px;
    height: 21px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: #FFFFFF;
}

.toogle-blocks-2-info-btn {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.toogle-blocks-2-info-btn.toogle-blocks-2-info-btn-active {
    background: #007c28;
}

.toogle-blocks-2-info button.toogle-blocks-2-info-btn-active::after {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    left: 27px;
}

.tab-content .delivery-popup-btn-wrap button {
    padding: 15px 65px;
    margin-bottom: 0;
    font-size: 20px;
    margin-top: 0px;
    font-weight: 700;
    line-height: 24px;
    background: #007c28;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.tab-content .delivery-popup-btn-wrap button:hover {
    -webkit-box-shadow: 0px 4px 4px 0px #00000040 inset;
    -moz-box-shadow: 0px 4px 4px 0px #00000040 inset;
    box-shadow: 0px 4px 4px 0px #00000040 inset;
    background: #006521;
    color: #f5f5f5
}

.tab-content .delivery-popup-input {
    padding: 18px 0px 18px 15px;
    background: #fff;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    border: 1px solid #007c28;
    color: #007c28;
    font-weight: 700;
    font-size: 12px;
}

.delivery-popup-btn-wrap {
    text-align: center;
}


.delivery-popup-form-text-map-wrap {
    padding: 0 16px;
}


.input-row-edit label {
    pointer-events: none;
    position: relative;
    z-index: 1;
    width: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    text-wrap: nowrap;
    -webkit-transform: translate(0px, 0px) scale(1);
    -moz-transform: translate(0px, 0px) scale(1);
    -ms-transform: translate(0px, 0px) scale(1);
    -o-transform: translate(0px, 0px) scale(1);
    transform: translate(0px, 0px) scale(1);
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    color: #606060;
}

.input-row-edit input {
    position: absolute;
    left: 0;
    -webkit-transform: translate(0, -22%);
    -moz-transform: translate(0, -22%);
    -ms-transform: translate(0, -22%);
    -o-transform: translate(0, -22%);
    transform: translate(0, -22%);
}

.input__row-width label.focused__label {
    -webkit-transform: translate(-34px, -13px) scale(0.8);
    -moz-transform: translate(-34px, -13px) scale(0.8);
    -ms-transform: translate(-34px, -13px) scale(0.8);
    -o-transform: translate(-34px, -13px) scale(0.8);
    transform: translate(-34px, -13px) scale(0.8);
    ;
}

label.focused__label {
    -webkit-transform: translate(-7px, -13px) scale(0.8);
    -moz-transform: translate(-7px, -13px) scale(0.8);
    -ms-transform: translate(-7px, -13px) scale(0.8);
    -o-transform: translate(-7px, -13px) scale(0.8);
    transform: translate(-7px, -13px) scale(0.8);

}

.input-row-edit._w170 label.focused__label {
    -webkit-transform: translate(-37px, -13px) scale(0.8);
    -moz-transform: translate(-37px, -13px) scale(0.8);
    -ms-transform: translate(-37px, -13px) scale(0.8);
    -o-transform: translate(-37px, -13px) scale(0.8);
    transform: translate(-37px, -13px) scale(0.8);
}

.button {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 20px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: transparent;
    cursor: pointer;
}

.button-icon {
    margin-right: 10px;
}

.delivery-popup-form-sc .tab-content.active,
.map-content.active {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(100% - 44px);
}

.delivery-popup-form-wrap .delivery-popup-form-sc {
    height: 100%;
}

.delivery-popup-form-sc .delivery-popup-form-inner {
    height: auto;
}

.delivery-popup-list-shops {
    padding: 15px;
    background-color: #fff;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto;
    border: solid 1px #007c28;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    background: #007c28;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.delivery-popup-list-shops .button {
    padding: 0;
    color: #fff;
}

.shops__container-items {
    position: absolute;
    right: 0;
    background: #FFFFFFFF;
    visibility: visible;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    opacity: 0;
    top: 0;
    height: 300px;
    background: #fff;
    bottom: 0;
    height: 100%;
    z-index: 1000000;
    right: 0px;
    width: -webkit-calc(100% - 500px);
    width: -moz-calc(100% - 500px);
    width: calc(100% - 500px);
    visibility: hidden;
}

.delivery-popup.shops-modal-open .shops__container-items {
    opacity: 1;
    visibility: visible
}

.shops__container-items.shops__container-items-active {
    opacity: 1;
    visibility: visible;
}

.shops__container-items-block {
    padding-bottom: 10px;
    border-bottom: 1px solid #bbbbbb;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 10px;
}

.shops__container-items-wrap {
    padding: 10px 20px;
    overflow-y: scroll;
    width: 99%;
    height: 100%;
}

.shops__container-items-block:last-child {
    border-bottom: 0px solid #bbbbbb;
    margin-bottom: 0px;
}

.shops__container-items-block h2,
.shops__container-items-block p,
.shops__container-items-block a {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    font-size: 14px;
}

.shops__container-items-block:hover h2,
.shops__container-items-block:hover p,
.shops__container-items-block:hover a {
    color: #007c28;
}

.shops__container-items-block.shops__container-items-block-active h2,
.shops__container-items-block.shops__container-items-block-active p,
.shops__container-items-block.shops__container-items-block-active a {
    color: #007c28;
}

.shops__container-items-wrap::-webkit-scrollbar {
    width: 4px;
    /* ширина вертикального скролла */
}

.shops__container-items-wrap::-webkit-scrollbar-track {
    background: #bbbbbb;
    /* Цвет заднего фона */
}

/* Ползунок (thumb) */
.shops__container-items-wrap::-webkit-scrollbar-thumb {
    background: #999999;
    /* Цвет ползунка */
}


.tab-content.active .delivery-popup-list-shops.button-active {
    border: 1px solid #007c28;
    -webkit-box-shadow: 0px 4px 4px 0px #00000040 inset;
    -moz-box-shadow: 0px 4px 4px 0px #00000040 inset;
    box-shadow: 0px 4px 4px 0px #00000040 inset;
    /* background: #E8F3EB; */
}

.shops-modal-open [data-fancybox-close] {
    display: none !important;
}



@media(min-width:1200px) {
    .tab-content.active .delivery-popup-list-shops:hover {
        /* border: solid 1px #007c28; */
        -webkit-box-shadow: 0px 4px 4px 0px #00000040 inset;
        -moz-box-shadow: 0px 4px 4px 0px #00000040 inset;
        box-shadow: 0px 4px 4px 0px #00000040 inset;
        /* background: #E8F3EB; */
    }

}

@media(max-width:1200px) {
    .delivery-popup {
        overflow: hidden;
    }

    .delivery-popup-wrap {
        -webkit-box-orient: vertical !important;
        -webkit-box-direction: reverse !important;
        -webkit-flex-direction: column-reverse !important;
        -moz-box-orient: vertical !important;
        -moz-box-direction: reverse !important;
        -ms-flex-direction: column-reverse !important;
        flex-direction: column-reverse !important;
    }

    .delivery-popup-wrap {
        max-height: -webkit-fit-content !important;
        max-height: -moz-fit-content !important;
        max-height: fit-content !important;
    }

    .delivery-popup-wrap .delivery-popup-content {
        width: 100% !important;
    }

    .delivery-popup-wrap .delivery-popup-map,
    .delivery-popup-map .map-content.active,
    .map-content,
    .ymaps-2-1-79-map,
    .ymaps.ymaps-2-1-79-map.ymaps-2-1-79-i-ua_js_yes.ymaps-2-1-79-map-bg {
        width: 100% !important;
        height: 300px !important;
    }

    .delivery-popup-wrap {
        height: -webkit-fit-content !important;
        height: -moz-fit-content !important;
        height: fit-content !important;
    }

    .delivery-popup-map {
        height: 300px !important;
    }

    .shops__container-items {
        width: 100%;
        left: 0;
        height: 300px;
    }

    .tab-content {
        gap: 20px;
    }

    .shops-modal-open .delivery-popup-btn-wrap {
        display: none;
    }

    .shops-modal-open .delivery-popup-form-text-map-wrap {
        margin-top: auto;
    }

    .shops-modal-open .delivery-popup-content {
        background: #fff;
    }

}



@media(max-width:767px) {
    .fancybox-slide.fancybox-slide--inline.fancybox-slide--current.fancybox-slide--complete {
        padding: 0 20px;
    }
}

@media (max-width:1200px) {
    .delivery-popup-content {
        height: 500px !important;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .delivery-popup-content::-webkit-scrollbar {
        width: 4px;
        -webkit-border-radius: 20px;
        border-radius: 20px
    }

    .delivery-popup-content::-webkit-scrollbar-thumb {
        background: #000;
        -webkit-border-radius: 20px;
        border-radius: 20px
    }

    .delivery-popup-content::-webkit-scrollbar-track {
        background-color: #999999;
        -webkit-border-radius: 20px;
        border-radius: 20px
    }
}


@media (max-width:1200px) {
    .delivery-popup-content {
        height: 400px !important;
        overflow-y: scroll;
    }
}

@media (max-width:1200px) {
    .delivery-popup-content {
        height: 395px !important;
        overflow-y: scroll;
    }
}

@media(max-width:500px) {
    .delivery-popup-content {
        position: fixed;
        background-color: #f2f8f4;
        left: 0;
        right: 0;
        bottom: 0px;
        height: 55vh !important;
        z-index: 100000;
        -webkit-border-radius: 30px 30px 0 0;
        -moz-border-radius: 30px 30px 0 0;
        border-radius: 30px 30px 0 0;
        /* border: 1px solid #007c28; */
        padding: 20px 10px 20px !important;
    }

    .shops__container-items {
        position: fixed;
        top: 0px;
        height: -webkit-calc(100vh - 460px) !important;
        height: -moz-calc(100vh - 460px) !important;
        height: calc(100vh - 94px) !important;
        /* z-index: 0; */
    }

    .shops__container-items-wrap {
        width: 100%;
    }

    .delivery-popup-form-text-map-wrap {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
    }

    .delivery-popup-form-type-items {
        margin: 0 auto 15px;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
    }

    .delivery-popup-form-text-map-body {
        -webkit-box-pack: end;
        -webkit-justify-content: end;
        -moz-box-pack: end;
        -ms-flex-pack: end;
        justify-content: end;
    }

    .delivery-popup-form-text.delivery-popup-form-text-map {
        margin: 0 !important;
    }

    .delivery-popup-wrap .delivery-popup-map {
        position: fixed;
        top: 0px;
        left: 0;
        right: 0;
    }

    .delivery-popup-map .map-content.active,
    .map-content,
    .ymaps-2-1-79-map,
    .ymaps.ymaps-2-1-79-map.ymaps-2-1-79-i-ua_js_yes.ymaps-2-1-79-map-bg {
        height: 100% !important;
    }

    .delivery-popup-form-text {
        display: none;
    }

    .delivery-popup-form-text-map-body .delivery-popup-form-text {
        display: block;
    }

    .input-row {
        gap: 3px;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -moz-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .delivery-popup-form-text-map-wrap {
        padding: 0;
    }

    .toogle-blocks-2-info {
        margin: 0;
    }

    .delivery-popup-form-text-map-body .delivery-popup-form-text.delivery-popup-form-text-map {
        position: static;
        padding: 0;
        height: auto;
    }

    .delivery-popup-form-sc {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .delivery-popup-form-inner {
        overflow: visible !important;
    }

    .tab-content .delivery-popup-btn-wrap button {
        margin-bottom: 0;
    }

    .delivery-popup-form-type-item {
        padding: 0 10px !important;
    }

    .input-row-edit._w170 {
        width: 131px;
    }

    .input-row-edit._w170 label.focused__label {
        -webkit-transform: translate(-17px, -13px) scale(0.8);
        -moz-transform: translate(-17px, -13px) scale(0.8);
        -ms-transform: translate(-17px, -13px) scale(0.8);
        -o-transform: translate(-17px, -13px) scale(0.8);
        transform: translate(-17px, -13px) scale(0.8);
    }
}

@media (max-width:500px) {
    .delivery-popup-wrap .delivery-popup-map {
        height: calc(100vh - 54vh) !important;
    }

    .delivery-popup-content {
        height: -webkit-calc(64vh - 44px) !important;
        height: -moz-calc(64vh - 44px) !important;
        height: calc(50vh - 10px) !important;
    }

    .fancybox-stage:before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: #fff;
    }

    .delivery-popup-wrap .delivery-popup-map {
        height: calc(100vh - 48vh) !important;
    }

    .fancybox-close-small {
        position: fixed;
    }

}