.modal_conception {
    position: fixed;
    left: 50%;
    top: 50%;
    border-radius: 39px;
    transform: translate(-50%, -50%);
    padding: 57px 43px;
    z-index: 9999;
    background: #000000;
    color: #ffffff;
    font-family: Rubik;
    max-width: 100%;
    max-height: 100%;
    display:none;
}

.modal_conception .modal_conception__ip_cities {
    display: flex;
    justify-content: space-between;
}

.modal_conception .modal_conception__text {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 16px;
}

.modal_conception .modal_conception__title {
    font-weight: 800;
    font-size: 29px;
    line-height: 35px;
    text-align: center;
    margin-bottom: 63px;
}

.modal_conception .modal_conception__buttons a {
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #ffffff;
    margin-bottom: 33px;
}

.modal_conception .hide{
    display: none !important;
}

.modal_conception .modal_conception__cities,
.modal_conception .modal_conception__delivery,
.modal_conception .modal_conception__filials {
    display: flex;
    flex-direction: column;
}

.modal_conception .modal_conception__delivery {
    min-width: 767px;
}

.modal_conception .modal_conception__restaurants {
    display: flex;
}

.modal_conception__delivery_head {
    display: flex;
}

.modal_conception__btn_back {
    display: flex;
    width: 100%;
    border-radius: 12px;
    gap: 10px;
    padding: 8px;
    background: #FFFFFF;
    margin: auto;
    max-width: 247px;
}

.modal_conception__btn_delivery_ok {
    display: flex;
    width: 100%;
    border-radius: 12px;
    gap: 10px;
    padding: 8px;
    background: #FFFFFF;
    max-width: 84px;
    min-height: 48px;
}

.modal_conception__filials .modal_conception__btn_delivery_ok {
    margin: 0 0 0 16px;

}

.modal_conception .modal_conception__delivery .modal_conception__btn_delivery_ok a {
    color: #000000;
    text-align: center;
    margin: auto;
}

.modal_conception__btn_back.delivery {
    margin: 0 0 0 21px;
    max-width: none;
}

.modal_conception .modal_conception__btn_back a.modal_conception__back {
    color: #000000;
    text-align: center;
    margin: auto;
}

.modal_conception__restaurant_cart{
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal_conception__restaurant_cart:not(:last-child) {
    margin-right: 42px;
}

.modal_conception__restaurant_cart img {
    object-fit: cover;
    object-position: bottom;
    width: 100%;
    height: 274px;
    border-radius: 12px;
    margin-bottom: 11px;
}

.modal_conception__restaurant_name {
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    margin-bottom: 11px;
}

.modal_conception__restaurant_description {
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 11px;
}

.modal_conception .modal_conception__restaurant_cart .modal_restaurant__btn,
.modal_conception .modal_conception__ip_cities .modal_ip_cities__btn {
    color: #fff !important;
    background: -webkit-gradient(linear, left top, right top, from(#F05022), to(#DA2128));
    background: -o-linear-gradient(left, #F05022 0%, #DA2128 100%);
    background: linear-gradient(90deg, #F05022 0%, #DA2128 100%);
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    padding: 17px 87px;
    max-width: 247px;
}
.modal_conception .modal_conception__ip_cities .modal_ip_cities__btn:last-child {
    margin-left: 21px;
}

.radio-toggle.delivery_type {
    max-width: 50%;
}

.modal_conception .modal_conception__address_inputs {
    display: flex;
    flex-direction: column;
}
.input-field {
    width: 100%;
    position: relative;
}
.input-field.city {
    max-width: 217px;
    margin-right: 17px;
}
.modal_conception .input-field select,
.modal_conception .input-field input{
    width: 100%;
    border-radius: 12px;
    padding: 16px 20px;
}

select[name="city"] {
    max-width: 217px;
}

.modal_conception .form-control {
    -webkit-appearance: auto;
    appearance: auto;
}

.modal_conception .jcf-select .jcf-select-text {
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

.modal_conception .jcf-select {
    max-height: 48px;
    width: 100%;
    color: black;
}

.modal_conception .modal_conception__address,
.modal_conception .modal_conception__filials {
    margin-top: 31px;
}

.modal_conception .modal_conception__filials {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.autocomplete-list {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 1;
    margin-top: 10px;
    background: #ffffff;
    width: 50%;
    color: #000000;
    padding: 7px 22px;
    border-radius: 12px;
    font-size: 15px;
}

.autocomplete-list li {
    cursor: pointer;
}

.new_address,
.user_address {
    display: flex;
    align-items: flex-end;
}

.user_address {
    margin-bottom: 16px;
}

.user_address .input-field {
    max-width: 400px;
}

.modal_conception__switch_user_address {
    width: 100%;
    display: flex;
    width: 100%;
    border-radius: 12px;
    padding: 8px;
    background: #FFFFFF;
    max-height: 48px;
    background: linear-gradient(90deg, #F05022 0%, #DA2128 100%);
    margin-left: 16px;
}

.modal_conception__switch_user_address a {
    margin: auto;
    padding: 5px 0 5px 0;
    width: 100%;
    text-align: center;
}

.modal_conception__ok_block {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    align-items: center;
}

.modal_conception__ok_block .agree {
    width: auto;
    white-space: nowrap;
    margin-right: 16px;
}

.modal_conception__ok_block .agree label {
    color: #ffffff;
    font-size: 14px;
}

input.error {
    background: #fff9f9;
    border-color: #e93d39;
}
.modal_conception__restaurant_cart .modal_conception__restaurant_cart_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .modal_conception .modal_conception__ip_cities .modal_ip_cities__btn {
        padding: 17px 20%;
    }
    .modal_conception__delivery .modal_conception__btn_back {
        display: none;
    }
    .modal_conception .modal_conception__address_inputs {
        flex-direction: column;
    }
    .input-field.city {
        max-width: none;
        margin-bottom: 16px;
        margin-right: 0;
    }

    .modal_conception__restaurant_cart,
    .modal_conception .modal_conception__restaurants,
    .modal_conception .modal_conception__filials {
        flex-direction: column;
    }

    .modal_conception {
        overflow: scroll;
        width: 100%;
    }

    .modal_conception .modal_conception__delivery {
        min-width: unset;
    }

    .modal_conception__filials .modal_conception__btn_delivery_ok {
        margin: auto;
        margin-top: 16px;
    }

    .modal_conception .modal_conception__btn_back.red a.modal_conception__back {
        color: #E93D39;
    }

    .modal_conception .modal_conception__btn_back.red {
        margin-top: 39px;
        background: none;
        color: #E93D39;
        border: 1px solid;
    }

    .modal_conception .modal_conception__btn_back {
        margin-top: 31px;
    }

    .modal_conception__delivery .modal_conception__delivery_head .radio-toggle.delivery_type {
        max-width: none;
        width: 100%;
    }

    .modal_conception__delivery .modal_conception__delivery_head {
        width: 100%;
    }

    .modal_conception__address_inputs .user_address {
        flex-direction: column;
    }

    .user_address .input-field.switch_block {
        margin-bottom: 20px;
    }

    .modal_conception .modal_conception__buttons a {
        font-size: 15px;
    }

    .modal_conception__address  .modal_conception__ok_block {
        flex-direction: column;
    }

    .modal_conception__address  .modal_conception__ok_block .agree {
        margin-bottom: 16px;
    }

    .modal_conception__address_inputs .new_address {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal_conception__restaurant_cart {
        flex-direction: row;
        max-height: 150px;
        margin-bottom: 25px;
        margin-left: 0;
        margin-right: 42px;
    }

    .modal_conception__restaurant_cart img {
        max-height: 150px;
        margin-right: 15px;
        min-width: 70px;
    }

    .modal_conception__restaurant_cart .modal_conception__restaurant_cart_text .modal_conception__restaurant_description {
        margin: 0;
    }

    .modal_conception__restaurant_cart .modal_conception__restaurant_cart_text .modal_restaurant__btn {
        margin: 0;
        padding: 17px 70px;
    }

    .modal_conception__address_inputs .input-field.house {
        margin-left: 0;
    }
}

.form.modal_conception .radio-toggle-item {
    max-width: unset;
}

.form.modal_conception .radio-toggle{
    min-width: unset;
}

.address_error {
    display: none;
    color: red;
    font-size: 15px;
}

.address_select_error {
    display: none;
    color: red;
}

.form.modal_conception .disabled {
    opacity: 0.2;
    pointer-events: none;
}

.input-field.house {
    max-width: 100px;
    margin-left: 15px;
}

#user_address {
    font-size: 15px;
}

.select-city-modal {
    background-color: #fff;
    position: fixed;
    z-index: 1000;
    top: 187px;
    left: 30px;
    border-radius: 30px;
    padding: 40px;
    width: 340px;
    box-shadow: 0px 20px 80px 0 rgba(0, 0, 0, 60%);
}
.select-city-modal.hidden {
    display: none;
}
.select-city-modal__close-btn {
    padding: 0;
    border: none;
    background-color: transparent;
    position: absolute;
    top: 28px;
    right: 28px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}
.select-city-modal__header {
    width: 260px;
    margin-bottom: 15px;
}
.select-city-modal__header-title {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 130%;
    color: #000;
    font-weight: 600;
}
.select-city-modal__header-description {
    color: #676767;
    font-size: 16px;
    line-height: 130%;
}

.select-city-modal__cities {
    display: flex;
    flex-direction: column;
    gap: 0px;
    height: 270px;
    overflow-y: auto;
}
.select-city-modal__cities-item {
    font-size: 16px;
    color: #000;
    line-height: 100%;
    font-weight: 600;
    cursor: pointer;
}
/* /модальное окно выбора города доставки */

/* модальное доставки и самовывоза */
.delivery-modal {
    background-color: #fff;
    position: absolute;
    z-index: 1000;
    top: 187px;
    left: 30px;
    border-radius: 30px;
    padding: 40px;
    width: 340px;
    box-shadow: 0px 20px 80px 0 rgba(0, 0, 0, 60%);
    display: none;
}
.delivery-modal.visible {
    display: block;
    position: fixed;
}
.delivery-modal__close-btn {
    padding: 0;
    border: none;
    background-color: transparent;
    position: absolute;
    top: 28px;
    right: 28px;
    cursor: pointer;
}

.delivery-modal__header {
    margin-bottom: 30px;
    width: 260px;
}
.delivery-modal__header-text {
    font-size: 20px;
    line-height: 130%;
    color: #000;
    font-weight: 600;
}
.delivery-modal__header-city {
    font-size: 20px;
    line-height: 130%;
    color: #f05022;
    font-weight: 600;
    margin-bottom: 10px;
}
.delivery-modal__description {
    color: #676767;
    font-size: 16px;
    line-height: 130%;
    width: 235px;
}

.delivery-modal__footer {
    color: #676767;
    font-size: 16px;
    line-height: 130%;
    margin-top: 30px;
}
.delivery-modal__footer-link {
    text-decoration: none;
    color: #f05022;
}

.delivery-modal__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.delivery-modal__body-buttons {
    background-color: #efefef;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 12px;
    padding: 4px;
}
.delivery-modal__body-button {
    border: none;
    background-color: transparent;
    transition: all 0.3s linear;
    cursor: pointer;
    flex-basis: 50%;
    padding: 9.5px 10px;
    color: #101010;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    border-radius: 10px;
}
.delivery-modal__body-button.active,
.delivery-modal__body-button:focus,
.delivery-modal__body-button:active {
    border: 1px solid #e2e2e4;
    background-color: #fff;
}
.delivery-modal__body-button--delivery {
}
.delivery-modal__body-button--self-pickup {
}
.delivery-modal__label {
    margin-bottom: 6px;
    color: #676767;
    font-size: 12px;
    line-height: 120%;
    display: block;
}
.delivery-modal__button-submit {
    width: 100%;
    padding: 13.5px;
    color: #fff;
    background-color: #000000;
    font-size: 16px;
    line-height: 130%;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
}
.delivery-modal__tab {
    display: none;
}

.delivery-modal__tab.active {
    display: block;
}

.delivery-modal__select {
    position: relative;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
}

.delivery-modal__select-header {
    background: #fff;
    border: 1px solid #e2e2e4;
    border-radius: 8px;
    padding: 13.5px 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #101010;
    height: 48px;
}

.delivery-modal__select-header.error {
    border: 2px solid #eb5d35;
}

.delivery-modal__select-placeholder {
    color: #101010;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    line-height: 130%;
    font-weight: 400;
}

.delivery-modal__select-icon {
    transition: transform 0.3s ease;
    color: #101010;
}

/* При открытии селекта поворачиваем стрелку вверх */
.delivery-modal__select.open .delivery-modal__select-icon {
    transform: rotate(180deg);
}

.delivery-modal__select-list {
    list-style: none;
    padding: 0;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 10px 20px 0px #00000033;
    max-height: 241px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border-radius: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.delivery-modal__select-list::-webkit-scrollbar {
    display: none;
}
.delivery-modal__select.open .delivery-modal__select-list {
    display: block;
}

.delivery-modal__select-item {
    padding: 11px 16px 12px;
    cursor: pointer;
    font-size: 16px;
    line-height: 130%;
    font-weight: 400;
    transition: background 0.2s;
    display: flex;
    flex-direction: column;
}
.delivery-modal__select-item span {
    color: #757575;
    font-weight: 400;
}
.delivery-modal__select-item:hover {
    background: #efefef;
}

.delivery-modal__select-item--add {
    font-weight: 400;
    color: #f05022;
}

.delivery-modal__delivery-unknown {
}
.delivery-modal__input-wrapper {
    width: 100%;
    position: relative;
}
.delivery-modal__input {
    margin-bottom: 5px;
    width: 100%;
    padding: 13.5px 16px;
    border-radius: 12px;
    border: 1px solid #e2e2e4;
    color: #000;
    font-size: 16px;
    line-height: 130%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}
.delivery-modal__input:focus,
.delivery-modal__input:focus-visible {
    border-color: #f05022;
    outline-color: #f05022;
}
.delivery-modal__input::placeholder {
    color: #757575;
}
.delivery-modal__input-error,
.delivery-modal__input-error-house,
.delivery-modal__input-error-list{
    display: none;
    align-items: center;
    gap: 5px;
    color: #e93d39;
    font-size: 12px;
    line-height: 120%;
    font-weight: 400;
}
.delivery-modal__input--error {
    border-color: #f05022;
    outline-color: #f05022;
}
.delivery-modal__input-error.visible,
.delivery-modal__input-error-house.visible,
.delivery-modal__input-error-list.visible {
    display: flex;
}

.delivery-modal__suggestions {
    box-shadow: 0px 10px 20px 0px #00000033;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    margin-top: 4px;
    list-style: none;
    padding: 0;
    max-height: 241px;
    overflow-y: auto;

    display: none;
    z-index: 10;
}

.delivery-modal__suggestions.active {
    display: block;
}

.delivery-modal__suggestions li {
    padding: 11px 16px 12px;
    cursor: pointer;
    font-size: 16px;
    line-height: 130%;
    color: #000000;
}

.delivery-modal__suggestions li:hover {
    background-color: #efefef;
}

.delivery-modal__error-addres {
    box-shadow: 0px 10px 20px 0px #00000033;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    margin-top: 4px;
    padding: 11px 16px 12px;
    overflow-y: auto;
    visibility: hidden;
    z-index: 10;
    font-size: 15px;
}

.delivery-modal__error-addres-phone {
    margin-top: 10px;
    color: #f05022;
    text-decoration: none;
}
.delivery-modal__error-addres-self {
    color: #f05022;
}

.delivery-modal__error-addres-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-modal__error-list-item:first-child {
    margin-top: 10px;
}
.delivery-modal__error-list-title {
    color: #f05022;
    font-size: 16px;
    line-height: 100%;
    font-weight: 700;
}
.delivery-modal__error-list-descr {
    color: #676767;
    font-size: 16px;
    line-height: 130%;
}

.delivery-modal__body-button.delivery-modal__body-button--pickup.disabled {
    opacity: 0.2;
    pointer-events: none;
}

.delivery-modal svg {
    width: auto;
    height: auto;
}

.delivery-modal__button-submit[disabled] {
    opacity: 0.2;
    pointer-events: none;
}

.delivery-modal__delivery-unknown.hiden,
.delivery-modal__delivery-lk.hiden {
    display: none;
}

.select-city-modal.modal_center,
.delivery-modal.modal_center,
.select-city-modal.modal_center_mobile,
.delivery-modal.modal_center_mobile{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.delivery-modal__header-city {
    cursor: pointer;
}
@media (max-width: 768px) {
    .select-city-modal,
    .delivery-modal {
        top: 133px
    }
}

/* [2026-09-28] явный селектор города */
.delivery-modal__header-city {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1.5px solid #f05022;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-weight: 700;
    color: #f05022;              /* фирменный оранжевый — как текущий цвет города */
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-top: 8px;
}
.delivery-modal__header-city:hover,
.delivery-modal__header-city:focus-visible {
    background: rgba(255, 92, 28, 0.08);
    outline: none;
}
.delivery-modal__header-city-chevron {
    flex: 0 0 auto;
}
.delivery-modal__header-city-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #6b6b6b;
}
/* города в модале — полноценные тап-цели */
.select-city-modal__cities-item {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
}
.select-city-modal__cities-item:hover {
    background: rgba(255, 92, 28, 0.08);
}
