.title {
    font-size: 30px;
    color: #FCE0B4;
    margin-top: 160px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.duo {
    display: flex;
    justify-content: space-around;
    margin-top: 70px;
    margin-bottom: 200px;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.without {
    display: flex;
    gap: 20px;
}

.img_product {
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
}

.img_product img {
    width: 100%;
    height: 100%;
}

.name_product_cont {
    display: flex;
    gap: 10px;
    align-items: start;
    flex: 1 1 auto;
    width: 400px;
    padding-top: 20px;
}

.name_product {
    color: #FCE0B4;
    font-size: 18px;
}

.weight_product {
    color: #FCE0B4;
    font-size: 18px;
    font-family: Nunito;
    font-weight: 500;
}

.price_cont {
    flex: 0 0 auto;
    padding-top: 20px;
}

.price_product {
    color: #FCE0B4;
    font-size: 18px;
    font-family: Nunito;
    font-weight: 500;
}

.quantity_product {
    color: #FCE0B4;
    font-size: 14px;
    font-family: Nunito;
    /* font-weight: 500; */
}

.line {
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, #ECBF8B 34%, #B07F31 50%, #EFD6AE 68%);
    margin-top: 30px;
}

.form_order {
    width: 545px;
    display: flex;
    flex-direction: column;
}

.list {
    max-height: 500px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.list::-webkit-scrollbar {
    width: 8px;
}

.list::-webkit-scrollbar-track {
    background: none;
    border-radius: 4px;
}

.list::-webkit-scrollbar-thumb {
    background-color: #FCE0B4;
    border-radius: 4px;
    cursor: pointer;
}

.list::-webkit-scrollbar-thumb:hover {
    background-color: #FCE0B4;
}

.input_cont {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ghostea_input {
    border: none;
    border-bottom: #FCE0B4 solid 1px;
    width: 100%;
    font-size: 20px;
    background: none;
    color: #FCE0B4;
    padding: 3px 0 3px 2px;
}

.ghostea_input::placeholder {
    color: #FCE0B4;
    opacity: 0.5;
    font-weight: 200;
}

.checkbox-wrapper {
    color: #FCE0B4;
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.rule_link {
    color: #FCE0B4;
    margin-left: 5px;
}

.dop_text {
    color: #FCE0B4;
    font-family: Nunito;
    font-size: 14px;
    margin-top: 20px;
}

.button_cont {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.button_order {
    border-radius: 500px;
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FCE0B4;
    border: #FCE0B4 solid 2px;
    cursor: pointer;
    font-size: 20px;
    background: none;
    background-color: #00312D;
}

.radio_cont {
    display: flex;
    width: 100%;
    color: #FCE0B4;
    justify-content: space-between;
}

/* Скрываем стандартный чекбокс */
.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

/* Стили кастомного чекбокса */
.custom-checkbox {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 2px solid #FCE0B4;
    border-radius: 4px;
    position: relative;
    margin-right: 8px;
    cursor: pointer;
    vertical-align: middle;
}

/* Галочка — псевдоэлемент */
.custom-checkbox::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid #00312D;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    opacity: 0;
    /* transition: opacity 0.2s; */
}

/* Когда input активен — показываем галочку и меняем фон */
.checkbox-wrapper input[type="checkbox"]:checked+.custom-checkbox {
    background-color: #FCE0B4;
    border-color: #FCE0B4;
}

.checkbox-wrapper input[type="checkbox"]:checked+.custom-checkbox::after {
    opacity: 1;
}

/* CSS — настраиваемые переменные */
:root {
    --radio-size: 22px;
    /* общий размер радиокнопки */
    --radio-border: 2px;
    /* толщина обводки */
    --radio-color: #FCE0B4;
    /* желтый (цвет кружка при checked) */
    --radio-border-color: #FCE0B4;
    /* цвет обводки */
    --label-gap: 10px;
    /* расстояние между контролом и текстом */
    --label-font: 15px;
}

/* Сторона контейнера — можно горизонтально/вертикально */
.custom-radio-group {
    display: flex;
    width: 100%;
    justify-content: space-between;
    /* пробел между элементами */
    align-items: center;
    flex-wrap: wrap;
}

/* Скрываем нативный input, но оставляем фокус/доступность */
.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

/* Видимая часть радиокнопки */
.custom-radio {
    display: inline-flex;
    align-items: center;
    gap: var(--label-gap);
    cursor: pointer;
    user-select: none;
    position: relative;
}

/* Круг-обводка */
.custom-radio__control {
    width: var(--radio-size);
    height: var(--radio-size);
    box-sizing: border-box;
    border: var(--radio-border) solid var(--radio-border-color);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* по условию — без фона */
    transition: transform .12s ease, box-shadow .12s ease;
    flex: 0 0 auto;
}

/* внутренний желтый кружок (скрыт по умолчанию) */
.custom-radio__control::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--radio-color);
    transform: scale(0);
    transition: transform .12s ease;
    display: block;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.0);
    /* пример, можно убрать */
}

/* Текст метки */
.custom-radio__label {
    font-size: var(--label-font);
    color: #FCE0B4;
}

/* :checked — через соседство input + control */
/* когда input checked — показать внутренний кружок */
.custom-radio input[type="radio"]:checked+.custom-radio__control::after {
    transform: scale(1);
}

.itog_cont {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.itog_text {
    color: #FCE0B4;
    font-family: Nunito;
    font-size: 20px;
}

.itog_price {
    color: #FCE0B4;
    font-family: Nunito;
    font-size: 18px;
}

/* Бонусный слайдер — настраиваем через CSS-переменные */
:root {
    --bonus-track-color: #e6e6e6;
    /* серый трек */
    --bonus-fill-color: #FCE0B4;
    /* цвет заполненной части */
    --bonus-thumb-color: #FCE0B4;
    /* цвет кружка */
    --bonus-height: 10px;
    /* толщина трека */
    --bonus-thumb-size: 18px;
    /* размер кружка */
    --bonus-font-size: 15px;
    /* размер шрифта */
    --bonus-gap: 8px;
    /* расстояние между слайдером и числом */
}

/* контейнер */
.bonus-slider {
    font-family: Arial, sans-serif;
    font-size: var(--bonus-font-size);
    margin: 25px 0;
    max-width: 720px;
}

/* заголовок */
.bonus-title {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
    font-weight: 600;
    color: #FCE0B4;
    font-size: 18px;
}

.scroll_bonus {
    width: 16px;
    height: 16px;
}

/* линия с ползунком и числом */
.bonus-row {
    display: flex;
    align-items: center;
    gap: var(--bonus-gap);
}

/* range (слайдер) */
.bonus-row input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: var(--bonus-height);
    border-radius: 8px;
    background: linear-gradient(90deg, var(--bonus-fill-color) 0%, var(--bonus-fill-color) 0%, var(--bonus-track-color) 0%);
    outline: none;
    transition: background 0.15s linear;
}

/* WebKit thumb */
.bonus-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: var(--bonus-thumb-size);
    height: var(--bonus-thumb-size);
    border-radius: 50%;
    background: var(--bonus-thumb-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: transform .12s ease;
}

.bonus-row input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(0.98);
}

/* Firefox thumb */
.bonus-row input[type="range"]::-moz-range-thumb {
    width: var(--bonus-thumb-size);
    height: var(--bonus-thumb-size);
    border-radius: 50%;
    background: var(--bonus-thumb-color);
    cursor: pointer;
}

/* number input */
#bonusNumber {
    width: 80px;
    padding: 6px 8px;
    font-size: inherit;
    border: 1px solid #FCE0B4;
    border-radius: 6px;
    text-align: center;
    background: none;
    color: #FCE0B4;
    transition: box-shadow .12s;
}

#bonusNumber:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 181, 0, 0.12);
}

/* мета-инфо (доступно) */
.bonus-meta {
    margin-top: 6px;
    color: #FCE0B4;
    font-size: 13px;
    font-family: Nunito;
}


@media (max-width: 1540px) {
    .title {
        font-size: 30px;
        color: #FCE0B4;
        margin-top: 160px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .duo {
        display: flex;
        justify-content: space-around;
        margin-top: 70px;
        margin-bottom: 200px;
    }

    .product {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .without {
        display: flex;
        gap: 15px;
    }

    .img_product {
        width: 110px;
        height: 110px;
        flex: 0 0 auto;
    }

    .img_product img {
        width: 100%;
        height: 100%;
    }

    .name_product_cont {
        display: flex;
        gap: 10px;
        align-items: start;
        flex: 1 1 auto;
        width: 300px;
        padding-top: 15px;
    }

    .name_product {
        color: #FCE0B4;
        font-size: 18px;
    }

    .weight_product {
        color: #FCE0B4;
        font-size: 18px;
        font-family: Nunito;
        font-weight: 500;
    }

    .price_cont {
        flex: 0 0 auto;
        padding-top: 15px;
    }

    .price_product {
        color: #FCE0B4;
        font-size: 18px;
        font-family: Nunito;
        font-weight: 500;
    }

    .quantity_product {
        color: #FCE0B4;
        font-size: 14px;
        font-family: Nunito;
        /* font-weight: 500; */
    }

    .line {
        width: 40%;
        height: 1px;
        background: linear-gradient(90deg, #ECBF8B 34%, #B07F31 50%, #EFD6AE 68%);
        margin-top: 20px;
    }

    .form_order {
        width: 405px;
        display: flex;
        flex-direction: column;
    }

    .list {
        max-height: 500px;
        overflow-y: scroll;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .list::-webkit-scrollbar {
        width: 8px;
    }

    .list::-webkit-scrollbar-track {
        background: none;
        border-radius: 4px;
    }

    .list::-webkit-scrollbar-thumb {
        background-color: #FCE0B4;
        border-radius: 4px;
        cursor: pointer;
    }

    .list::-webkit-scrollbar-thumb:hover {
        background-color: #FCE0B4;
    }

    .input_cont {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .ghostea_input {
        border: none;
        border-bottom: #FCE0B4 solid 1px;
        width: 100%;
        font-size: 18px;
        background: none;
        color: #FCE0B4;
        padding: 3px 0 3px 2px;
    }
}

@media (max-width: 1250px) {
    .duo {
        display: flex;
        flex-direction: column-reverse;
        gap: 90px;
        margin-top: 70px;
        margin-bottom: 200px;
        align-items: center;
    }
}

@media (max-width: 790px) {
    .obolochka {
        width: 94%;
    }

    .duo {
        display: flex;
        flex-direction: column-reverse;
        gap: 70px;
        margin-top: 40px;
        margin-bottom: 100px;
        align-items: center;
        width: 100%;
    }

    .title {
        font-size: 24px;
        color: #FCE0B4;
        margin-top: 120px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .product {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .without {
        display: flex;
        gap: 10px;
    }

    .img_product {
        width: 80px;
        height: 80px;
        flex: 0 0 auto;
    }

    .img_product img {
        width: 100%;
        height: 100%;
    }

    .name_product_cont {
        display: flex;
        gap: 4px;
        align-items: start;
        flex: 1 1 auto;
        width: 100%;
        padding-top: 10px;
    }

    .name_product {
        color: #FCE0B4;
        font-size: 14px;
    }

    .weight_product {
        color: #FCE0B4;
        font-size: 14px;
        font-family: Nunito;
        font-weight: 500;
    }

    .price_cont {
        flex: 0 0 auto;
        padding-top: 10px;
    }

    .price_product {
        color: #FCE0B4;
        font-size: 14px;
        font-family: Nunito;
        font-weight: 500;
    }

    .quantity_product {
        color: #FCE0B4;
        font-size: 12px;
        font-family: Nunito;
        /* font-weight: 500; */
    }

    .line {
        width: 40%;
        height: 1px;
        background: linear-gradient(90deg, #ECBF8B 34%, #B07F31 50%, #EFD6AE 68%);
        margin-top: 30px;
    }

    .form_order {
        width: 94%;
        display: flex;
        flex-direction: column;
    }

    .list {
        max-height: 400px;
        width: 94%;
        overflow-y: scroll;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .list::-webkit-scrollbar {
        width: 6px;
    }

    .list::-webkit-scrollbar-track {
        background: none;
        border-radius: 4px;
    }

    .list::-webkit-scrollbar-thumb {
        background-color: #FCE0B4;
        border-radius: 4px;
        cursor: pointer;
    }

    .list::-webkit-scrollbar-thumb:hover {
        background-color: #FCE0B4;
    }

    .input_cont {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .ghostea_input {
        border: none;
        border-bottom: #FCE0B4 solid 1px;
        width: 100%;
        font-size: 16px;
        background: none;
        color: #FCE0B4;
        padding: 3px 0 3px 2px;
    }

    .ghostea_input::placeholder {
        color: #FCE0B4;
        opacity: 0.5;
        font-weight: 200;
    }

    .checkbox-wrapper {
        color: #FCE0B4;
        display: flex;
        align-items: center;
        margin-top: 20px;
        font-size: 14px;
    }

    .rule_link {
        color: #FCE0B4;
        margin-left: 5px;
    }

    .dop_text {
        color: #FCE0B4;
        font-family: Nunito;
        font-size: 10px;
        margin-top: 20px;
    }

    .button_cont {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .button_order {
        border-radius: 500px;
        width: 150px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FCE0B4;
        border: #FCE0B4 solid 2px;
        background: none;
        cursor: pointer;
        font-size: 16px;
    }

    /* Скрываем стандартный чекбокс */
    .checkbox-wrapper input[type="checkbox"] {
        display: none;
    }

    /* Стили кастомного чекбокса */
    .custom-checkbox {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 2px solid #FCE0B4;
        border-radius: 4px;
        position: relative;
        margin-right: 8px;
        cursor: pointer;
        vertical-align: middle;
    }

    /* Галочка — псевдоэлемент */
    .custom-checkbox::after {
        content: "";
        position: absolute;
        bottom: 4px;
        left: 5px;
        width: 4px;
        height: 8px;
        border: solid #00312D;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
        opacity: 0;
        /* transition: opacity 0.2s; */
    }

    /* Когда input активен — показываем галочку и меняем фон */
    .checkbox-wrapper input[type="checkbox"]:checked+.custom-checkbox {
        background-color: #FCE0B4;
        border-color: #FCE0B4;
    }

    .checkbox-wrapper input[type="checkbox"]:checked+.custom-checkbox::after {
        opacity: 1;
    }
}