html{
    background: #F0F0F0;
}

body {
    background: #F0F0F0;
    font-family: "Inter";
    font-weight: 400;
}

.asfasf{
    margin: 0;
}

.header_corzina_h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    padding-top: 170px;
    padding-bottom: 30px;
    margin-left: 20px;
}

.corzina_main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.corzina_main_h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    padding-bottom: 36px;
}

.corzina_main_text {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    padding-bottom: 18px;
    margin: 0;
}

.dsfsdfsf input {
    border-radius: 10px;
    border: 1px solid #000000;
    background: #f3f6fd;
    padding: 14px 19px;
    margin-bottom: 24px;
    margin-right: 14px;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    width: 100%;
    max-width: 250px;
}

.dsfsdfsf input::placeholder {
    color: #000;
}

.form button {
    background: #019A44;
    font-size: 18px;
    font-weight: 400;
    padding: 14px;
    border: none;
    border-radius: 10px;
    width: 100%;
    max-width: 250px;
}

form button:hover {
    background: #005c28;
}

.corzina_main_right_car {
    display: flex;
    padding-bottom: 10px;
}

.corzina_main_right_text {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.corzina_main_right_rr {
    font-size: 10px;
    font-weight: 400;
    color: #000;
    padding-left: 18px;
}

.corzina_main_right_price {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.corzina_main_right_rte {
    font-size: 10px;
    font-weight: 400;
    color: #000;
}

.fsdkfjsdlkf{
    margin: 0;
    padding-bottom: 12px;
}

.corzina_main_right_top {
    display: flex;
    padding-bottom: 10px;
    padding-top: 20px;
    padding-left: 18px;
    justify-content: space-between;
}

.corzina_main_right_bottom {
    display: flex;
    padding-left: 18px;
    justify-content: space-between;
}

.corzina_main_right_line {
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}

.corzina_main_right_yrt {
    display: flex;
    justify-content: space-between;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.corzina_main_right_adasd {
    display: flex;
    justify-content: space-between;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 10px 15px;
}

form label {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin: 0;
    padding-bottom: 10px;
}

.button {
    margin-bottom: 90px;
}

.remove-item-btn {
    background: #019A44;
    font-size: 14px;
    font-weight: 400;
    padding: 10px;
    border: none;
    border-radius: 10px;
    width: 100%;
    max-width: 200px;
    margin: 15px 0 10px 0;
}

/* Бейдж счётчика на ссылке корзины */
.menu_text {
    position: relative;
    align-items: center;
    
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DF2855;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box
}

/* Кнопки ± в корзине */
.corzina_qty_controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f0f0f0;
}

.qty-num {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* Карточка товара в корзине */
.corzina_item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    align-items: flex-start;
}

.corzina_item_img {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.corzina_item_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.corzina_item_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.corzina_item_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    color: #000;
}

.corzina_item_name {
    font-size: 16px;
    font-weight: 600;
}

.corzina_item_price {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.corzina_item_desc {
    font-size: 13px;
    color: #000;
}

.corzina_item_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.corzina_item_qty {
    font-size: 13px;
    color: #000;
}

.corzina_item_delete {
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 18px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.corzina_item_delete:hover {
    background: #c0392b;
}

.cart-empty {
    padding: 24px 0;
    color: #000;
    text-align: center;
}

/* Кнопка удаления товара */
.corzina_remove_btn {
    background: #019A44;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    align-self: flex-end;
    margin-left: 10px;
}

.corzina_remove_btn:hover {
    background: #005c28;
    color: #fff;
}

.cart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-increase{
    color: #ffffff;
    background: #019A44;
}

.qty-decrease{
    color: #ffffff;
    background: #019A44;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #019A44;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #019A44;
    border-color: #bbb;
}

.quantity-display {
    color: #000;
    min-width: 25px;
    text-align: center;
    font-weight: bold;
    padding: 4px;
}

.unit-price {
    color: #666;
    font-size: 14px;
    margin-top: 4px;
    padding-left: 18px;
}

.order-success {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 5px 10px 30px 0px rgba(34, 60, 80, 0.2);
    max-width: 500px;
}

.order-success__icon {
    width: 56px;
    height: 56px;
    background: #019A44;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.order-success__title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.order-success__id {
    font-size: 14px;
    color: #888;
}

.order-success__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    color: #000;
}

.order-success__info span {
    font-weight: 600;
}

.order-success__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
}

.order-success__item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #000;
}

.order-success__total {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
    font-size: 14px;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-success__sum {
    font-size: 18px;
    font-weight: 700;
}

.order-success__btn {
    display: inline-block;
    background: #019A44;
    color: #fff;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s;
}

.order-success__btn:hover {
    background: #005c28;
}


  /* Карта доставки */
        .delivery-map-section {
            margin-top: 20px;
        }

        .delivery-map-section .map-label {
            font-size: 14px;
            color: #555;
            margin-bottom: 10px;
            font-weight: 500;
        }

        /* Зоны — легенда */
        .zones-legend {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .zone-card {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            background: #f9f9f9;
            border-radius: 10px;
            padding: 10px 14px;
            border: 2px solid transparent;
            cursor: pointer;
            transition: border-color 0.2s, box-shadow 0.2s;
            flex: 1;
            min-width: 120px;
        }

        .zone-card:hover {
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .zone-card.active-zone1 { border-color: #27ae60; background: #f0faf4; }
        .zone-card.active-zone2 { border-color: #e67e22; background: #fdf6ee; }
        .zone-card.active-zone3 { border-color: #2980b9; background: #eef5fb; }

        .zone-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            flex-shrink: 0;
            margin-top: 3px;
        }

        .zone-dot.zone1 { background: #27ae60; }
        .zone-dot.zone2 { background: #e67e22; }
        .zone-dot.zone3 { background: #2980b9; }

        .zone-info { display: flex; flex-direction: column; gap: 2px; }

        .zone-name {
            font-size: 12px;
            font-weight: 600;
            color: #333;
        }

        .zone-price {
            font-size: 13px;
            font-weight: 700;
            color: #e74c3c;
        }

        .zone-free {
            font-size: 11px;
            color: #27ae60;
        }

        /* Карта */
        #delivery-map {
            width: 100%;
            height: 320px;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
        }

        .map-hint {
            font-size: 12px;
            color: #aaa;
            text-align: center;
            margin-top: 6px;
        }

        /* Прогресс бесплатной доставки */
        .free-delivery-progress {
            background: #f9f9f9;
            border-radius: 10px;
            padding: 12px 16px;
            margin-top: 12px;
            display: none;
        }

        .free-delivery-progress.visible { display: block; }

        .progress-header {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: #555;
            margin-bottom: 8px;
        }

        .progress-header strong { color: #27ae60; }

        .progress-bar-wrap {
            background: #e0e0e0;
            border-radius: 20px;
            height: 8px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            border-radius: 20px;
            background: linear-gradient(90deg, #27ae60, #2ecc71);
            transition: width 0.4s ease;
        }

        .progress-bar-fill.zone2 { background: linear-gradient(90deg, #e67e22, #f39c12); }
        .progress-bar-fill.zone3 { background: linear-gradient(90deg, #2980b9, #3498db); }

        .progress-free-label {
            text-align: center;
            margin-top: 6px;
            font-size: 13px;
            font-weight: 600;
            color: #27ae60;
            display: none;
        }

        .progress-free-label.visible { display: block; }

        /* Результат выбора зоны */
        .delivery-zone-result {
            margin-top: 12px;
            padding: 12px 16px;
            background: #F0F0F0;
            border-radius: 10px;
            font-size: 14px;
            color: #555;
            display: none;
        }

        .delivery-zone-result.visible { display: block; }

        .zone-result-name {
            font-weight: 600;
            margin-bottom: 4px;
        }

        .zone-result-cost {
            font-size: 18px;
            font-weight: 700;
            color: #e74c3c;
        }

        .zone-result-cost.free { color: #27ae60; }

        .zone-result-need {
            font-size: 12px;
            color: #e67e22;
            margin-top: 4px;
        }

        .zone-result-address {
            font-size: 12px;
            color: #888;
            margin-bottom: 6px;
        }




        body {
    background: #F0F0F0;
    font-family: "Inter";
    font-weight: 400;
}

.asfasf { margin: 0; }

.header_corzina_h2 {
    font-size: 48px; font-weight: 700; color: #000;
    padding-top: 170px; padding-bottom: 30px;
}

.corzina_main {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between;
}

.corzina_main_h3 { font-size: 28px; font-weight: 700; color: #000; padding-bottom: 36px; }
.corzina_main_text { font-size: 24px; font-weight: 400; color: #000; padding-bottom: 18px; margin: 0; }

/* Поля адреса — через .input-suggest-wrap */
.input-suggest-wrap {
    position: relative;
    display: inline-block;
}

.input-suggest-wrap input,
.dsfsdfsf input {
    border-radius: 10px;
    border: 1.5px solid #c8d0e0;
    background: #f3f6fd;
    padding: 14px 19px;
    margin-bottom: 24px;
    margin-right: 14px;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}

.input-suggest-wrap input:focus,
.dsfsdfsf input:focus {
    border-color: #019A44;
    box-shadow: 0 0 0 3px rgba(1, 154, 68, 0.12);
    background: #fff;
}

.input-suggest-wrap input::placeholder,
.dsfsdfsf input::placeholder { color: #aaa; }

/* Выпадающий список подсказок */
.suggest-dropdown {
    position: absolute;
    top: calc(100% - 24px);
    left: 0;
    min-width: 280px;
    width: max-content;
    max-width: 360px;
    z-index: 9999;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    display: none;
    max-height: 220px;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
}

.suggest-dropdown li {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    color: #1a2634;
    transition: background 0.15s;
    line-height: 1.4;
    border-bottom: 1px solid #f3f6fd;
}

.suggest-dropdown li:last-child { border-bottom: none; }

.suggest-dropdown li:hover { background: #f0faf4; }

.suggest-dropdown li .suggest-main {
    font-weight: 600;
    display: block;
    color: #1a2634;
}

.suggest-dropdown li:hover .suggest-main { color: #019A44; }

.suggest-dropdown li .suggest-sub {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 2px;
}

.form button {
    background: #019A44; font-size: 18px; font-weight: 400;
    padding: 14px; border: none; border-radius: 10px; width: 100%;
    max-width: 250px;
}

form button:hover { background: #005c28; }

.corzina_main_right_car { display: flex; padding-bottom: 10px; }
.corzina_main_right_text { font-size: 14px; font-weight: 700; color: #000; }
.corzina_main_right_rr { font-size: 10px; font-weight: 400; color: #000; padding-left: 18px; }
.corzina_main_right_price { font-size: 14px; font-weight: 700; color: #000; }
.corzina_main_right_rte { font-size: 10px; font-weight: 400; color: #000; }
.fsdkfjsdlkf { margin: 0; padding-bottom: 12px; }

.corzina_main_right_top {
    display: flex;  padding-bottom: 10px;
    padding-top: 20px; padding-left: 18px; justify-content: space-between;
}

.corzina_main_right_bottom { display: flex; padding-left: 18px; justify-content: space-between; }
.corzina_main_right_line { border-bottom: 1px solid #000; margin-bottom: 20px; }

.corzina_main_right_yrt {
    display: flex; justify-content: space-between; color: #000;
    font-size: 16px; font-weight: 500; border: 1px solid #000;
    border-radius: 10px; padding: 10px 15px; margin-bottom: 10px;
}

.corzina_main_right_adasd {
    display: flex; justify-content: space-between; color: #000;
    font-size: 16px; font-weight: 700; border: 1px solid #000;
    border-radius: 10px; padding: 10px 15px;
}

form label { font-size: 18px; font-weight: 400; color: #000; margin: 0; padding-bottom: 10px; }
.button { margin-bottom: 90px; }

.remove-item-btn {
    background: #019A44; font-size: 14px; font-weight: 400;
    padding: 10px; border: none; border-radius: 10px; width: 100%;
    max-width: 200px; margin: 15px 0 10px 0;
}

.menu_text { position: relative; align-items: center; }

.cart-badge {
    position: absolute; top: -4px; right: -13px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #DF2855; color: #fff; font-size: 11px; font-weight: 700;
    min-width: 14px; height: 14px; border-radius: 50%;
    pointer-events: none; box-sizing: border-box;
}

.corzina_qty_controls { display: flex; align-items: center; gap: 8px; margin-top: 6px; }

.qty-btn {
    width: 28px; height: 28px; border: 1px solid #ddd; background: #019A44;
    border-radius: 4px; cursor: pointer; font-size: 16px;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}

.qty-btn:hover { background: #017935; border-color: #bbb; }
.qty-increase, .qty-decrease { color: #ffffff; background: #019A44; }
.quantity-display { color: #000; min-width: 25px; text-align: center; font-weight: bold; padding: 4px; }
.unit-price { color: #666; font-size: 14px; margin-top: 4px; padding-left: 18px; }

.corzina_item { display: flex; gap: 16px; padding: 16px 0; align-items: flex-start; }

.corzina_item_img {
    width: 100px; height: 100px; min-width: 100px;
    border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}

.corzina_item_img img { width: 100%; height: 100%; object-fit: contain; }
.corzina_item_info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.corzina_item_top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; color: #000; }
.corzina_item_name { font-size: 16px; font-weight: 600; }
.corzina_item_price { font-size: 16px; font-weight: 700; white-space: nowrap; }
.corzina_item_desc { font-size: 13px; color: #000; }
.corzina_item_bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.corzina_item_qty { font-size: 13px; color: #000; }

.corzina_item_delete {
    background: #2e7d32; color: #fff; border: none; border-radius: 8px;
    padding: 6px 18px; font-size: 13px; cursor: pointer; transition: background 0.2s;
}

.corzina_item_delete:hover { background: #c0392b; }
.cart-empty { padding: 24px 0; color: #000; text-align: center; }

.corzina_remove_btn {
    background: #019A44; color: #fff; border: none; border-radius: 8px;
    padding: 6px 16px; font-size: 13px; font-weight: 400; cursor: pointer;
    transition: background 0.2s; white-space: nowrap; align-self: flex-end; margin-left: 10px;
}

.corzina_remove_btn:hover { background: #005c28; color: #fff; }

.cart-controls { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; }
.quantity-controls { display: flex; align-items: center; gap: 8px; }

/* Успешный заказ */
.order-success {
    display: flex; flex-direction: column; gap: 16px; padding: 32px;
    background: #fff; border-radius: 20px;
    box-shadow: 5px 10px 30px 0px rgba(34,60,80,0.2); max-width: 500px;
}

.order-success__icon {
    width: 56px; height: 56px; background: #019A44; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700;
}

.order-success__title { font-size: 28px; font-weight: 700; color: #000; }
.order-success__id { font-size: 14px; color: #888; }
.order-success__info { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #000; }
.order-success__info span { font-weight: 600; }
.order-success__items { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #e0e0e0; padding-top: 12px; }
.order-success__item { display: flex; justify-content: space-between; font-size: 14px; color: #000; }
.order-success__total { border-top: 1px solid #e0e0e0; padding-top: 12px; font-size: 14px; color: #000; display: flex; flex-direction: column; gap: 4px; }
.order-success__sum { font-size: 18px; font-weight: 700; }

.order-success__btn {
    display: inline-block; background: #019A44; color: #fff; border-radius: 10px;
    padding: 14px 32px; font-size: 16px; text-align: center; text-decoration: none;
    margin-top: 8px; transition: background 0.2s;
}

.order-success__btn:hover { background: #005c28; }

/* ===== КАРТА ДОСТАВКИ ===== */
.delivery-map-section { margin-top: 20px; }
.delivery-map-section .map-label { font-size: 14px; color: #555; margin-bottom: 10px; font-weight: 500; }

.zones-legend { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }

.zone-card {
    display: flex; align-items: flex-start; gap: 8px; background: #f9f9f9;
    border-radius: 10px; padding: 10px 14px; border: 2px solid transparent;
    cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; flex: 1; min-width: 120px;
}

.zone-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.zone-card.active-zone1 { border-color: #27ae60; background: #f0faf4; }
.zone-card.active-zone2 { border-color: #e67e22; background: #fdf6ee; }
.zone-card.active-zone3 { border-color: #2980b9; background: #eef5fb; }

.zone-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.zone-dot.zone1 { background: #27ae60; }
.zone-dot.zone2 { background: #e67e22; }
.zone-dot.zone3 { background: #2980b9; }

.zone-info { display: flex; flex-direction: column; gap: 2px; }
.zone-name { font-size: 12px; font-weight: 600; color: #333; }
.zone-price { font-size: 13px; font-weight: 700; color: #e74c3c; }
.zone-free { font-size: 11px; color: #27ae60; }

#delivery-map { width: 100%; height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid #e0e0e0; }
.map-hint { font-size: 12px; color: #aaa; text-align: center; margin-top: 6px; }

.free-delivery-progress {
    background: #f9f9f9; border-radius: 10px; padding: 12px 16px; margin-top: 12px; display: none;
}

.free-delivery-progress.visible { display: block; }

.progress-header { display: flex; justify-content: space-between; font-size: 13px; color: #555; margin-bottom: 8px; }
.progress-header strong { color: #27ae60; }

.progress-bar-wrap { background: #e0e0e0; border-radius: 20px; height: 8px; overflow: hidden; }

.progress-bar-fill {
    height: 100%; border-radius: 20px;
    background: linear-gradient(90deg, #27ae60, #2ecc71); transition: width 0.4s ease;
}

.progress-bar-fill.zone2 { background: linear-gradient(90deg, #e67e22, #f39c12); }
.progress-bar-fill.zone3 { background: linear-gradient(90deg, #2980b9, #3498db); }

.progress-free-label { text-align: center; margin-top: 6px; font-size: 13px; font-weight: 600; color: #27ae60; display: none; }
.progress-free-label.visible { display: block; }

.delivery-zone-result {
    margin-top: 12px; padding: 12px 16px; background: #F0F0F0;
    border-radius: 10px; font-size: 14px; color: #555; display: none;
}

.delivery-zone-result.visible { display: block; }
.zone-result-name { font-weight: 600; margin-bottom: 4px; }
.zone-result-cost { font-size: 18px; font-weight: 700; color: #e74c3c; }
.zone-result-cost.free { color: #27ae60; }
.zone-result-need { font-size: 12px; color: #e67e22; margin-top: 4px; }
.zone-result-address { font-size: 12px; color: #888; margin-bottom: 6px; }



.ymaps-2-1-79-balloon {
    display: none !important;
}




/* =========================================
   АДАПТИВ
========================================= */

*{
    box-sizing: border-box;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

body{
    overflow-x: hidden;
}

/* =========================================
   DESKTOP FIX
========================================= */

.corzina_main{
    gap: 100px;
    margin: 0 20px;
    align-items: flex-start;
}

.corzina_main_left{
    flex: 1;
    min-width: 0;
}

.corzina_main_right{
    width: 380px;
    flex-shrink: 0;
}

/* =========================================
   INPUTS
========================================= */

.dsfsdfsf{
    width: 100%;
}

.dsfsdfsf-row{
    display: flex;
    gap: 14px;
    width: 100%;
}

.input-suggest-wrap input,
.dsfsdfsf input{
    width: 100%;
    margin-right: 0;
}

/* =========================================
   BUTTONS
========================================= */

.form button{
    width: 100%;
    max-width: 320px;
}

.button{
    width: 100%;
}

/* =========================================
   CART ITEMS
========================================= */

.corzina_item{
    width: 100%;
}

.corzina_item_top{
    width: 100%;
}

.corzina_item_bottom{
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================
   DELIVERY MAP
========================================= */

#delivery-map{
    width: 100%;
    min-height: 320px;
}

.zones-legend{
    width: 100%;
}

.zone-card{
    min-width: 180px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px){
    .menu{
        display: none;
    }

    .header_corzina_h2{
        padding-top: 120px;
        margin-left: 0;
    }

    .button{
        margin-bottom: 40px;
    }

    .header_corzina{
        padding: 0 20px;
    }

    .corzina_main{
        flex-direction: column;
        gap: 0;
    }

    .corzina_main_right{
      margin-bottom: 40px;
    }

    .zones-legend{
        flex-direction: column;
        margin-right: 20px;
    }

    .zone-card{
        width: 100%;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px){

    body{
        padding-bottom: 40px;
    }

    .header_corzina_h2{
        font-size: 36px;
        padding-top: 120px;
        padding-bottom: 20px;
    }

    .corzina_main{
        gap: 30px;
    }

    .corzina_main_h3{
        font-size: 24px;
        padding-bottom: 24px;
    }

    .corzina_main_text{
        font-size: 20px;
    }

    /* INPUTS */

    .input-suggest-wrap input,
    .dsfsdfsf input{
        width: 100%;
        font-size: 16px;
        padding: 14px 16px;
    }

    /* MAP */

    #delivery-map{
        height: 280px;
        min-height: 280px;
    }

    /* ZONES */

    .zone-card{
        min-width: 100%;
    }

    .zones-legend{
        flex-direction: column;
        margin-right: 20px;
    }
    /* PRODUCT */

    .corzina_item{
        gap: 12px;
    }

    .corzina_item_img{
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .corzina_item_name{
        font-size: 14px;
    }

    .corzina_item_price{
        font-size: 14px;
    }

    /* TOTAL */

    .corzina_main_right_yrt,
    .corzina_main_right_adasd{
        font-size: 14px;
    }

    /* SUCCESS */

    .order-success{
        padding: 24px 18px;
    }

    .order-success__title{
        font-size: 24px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px){

    .header_corzina_h2{
        font-size: 28px;
        padding-top: 120px;
    }

    .corzina_main_h3{
        font-size: 22px;
    }

    .corzina_main_text{
        font-size: 18px;
    }

    .input-suggest-wrap input,
    .dsfsdfsf input{
        height: 48px;
        font-size: 15px;
    }

    .form button{
        height: 50px;
        font-size: 15px;
    }

    #delivery-map{
        height: 240px;
        min-height: 240px;
    }

    .zone-name{
        font-size: 11px;
    }

    .zone-price{
        font-size: 12px;
    }

    .zone-free{
        font-size: 10px;
    }

    .progress-header{
        flex-direction: column;
        gap: 4px;
    }

    .delivery-zone-result{
        padding: 10px 12px;
    }

    .corzina_item{
        flex-direction: column;
    }

    .corzina_item_img{
        width: 100%;
        height: 180px;
    }

    .corzina_item_bottom{
        flex-direction: column;
        align-items: flex-start;
    }

    .corzina_remove_btn{
        margin-left: 0;
    }
}





.payment-row {
    margin: 20px 0;
    color: #000;
}
.promo-input-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.promo-input-group input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}
.promo-input-group button {
    padding: 10px 20px;
    background: #2c7a47;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}
.promo-input-group button:disabled {
    background: #aaa;
    cursor: not-allowed;
}
.promo-message {
    font-size: 12px;
    margin-top: 5px;
    color: #27ae60;
}
.bonus-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
#bonusDetails {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
}
.bonus-slider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}
.bonus-slider input {
    flex: 1;
}
.total-row {
    font-size: 20px;
    margin: 20px 0;
    text-align: right;
}
.pay-btn {
    width: 100%;
    padding: 14px;
    background: #2c7a47;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}




.promo-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}
.promo-applied {
    max-width: 450px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0f9eb;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 5px;
}
.promo-applied .btn-link {
    max-width: 100px;
    background: none;
    border: none;
    color: #e05454;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}
.promo-message {
    font-size: 12px;
    margin-top: 5px;
    color: #e09c3a;
}


/* Блок применённого промокода */
.promo-applied {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #f0f9eb;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.promo-applied span {
    color: #1e3a2f;
}

.promo-applied strong {
    font-weight: 700;
    color: #1f5a34;
}

.promo-applied .promo-discount {
    background: #e6f4ea;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #2c7a47;
}

/* Кнопка "Отменить" */
.promo-applied .btn-link {
    background: none;
    border: none;
    color: #c0392b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: underline;
    font-family: inherit;
}

.promo-applied .btn-link:hover {
    background: rgba(192, 57, 43, 0.1);
    color: #a82315;
    text-decoration: none;
}

/* Группа ввода промокода (до применения) */
.promo-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.promo-input-group input {
    flex: 1;
    min-width: 180px;
    padding: 10px 14px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

.promo-input-group input:focus {
    outline: none;
    border-color: #2c7a47;
    box-shadow: 0 0 0 2px rgba(44, 122, 71, 0.2);
}

.promo-input-group button {
    background: #2c7a47;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.promo-input-group button:hover {
    background: #1f5a34;
}

/* Сообщение об ошибке/успехе */
.promo-message {
    font-size: 13px;
    margin-top: 6px;
    color: #e67e22;
}



.promo-input-group input {
    font-family: inherit;
}
.btn-secondary {
    transition: background 0.2s;
}
.btn-secondary:hover {
    background: #1f5a34;
}
.promo-applied {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f9eb;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 13px;
}

#promoCode {
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.pickup-point-date input[type="date"] {
    display: inline-block !important;
    background: white;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 6px;
    margin: 8px 0;
}

.pickup-point-card {
    background: #ffffff;
    border: 1.5px solid #c8d0e0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.pickup-point-card:hover {
    background: #f3f6fd;
    border-color: #019A44;
    box-shadow: 0 0 0 3px rgba(1, 154, 68, 0.12);
}

.pickup-point-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
}

.pickup-point-address {
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pickup-point-phone,
.pickup-point-hours {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

/* Блок выбора даты */
.pickup-point-date {
    margin: 14px 0 12px;
    color: #000;
}

.pickup-point-date label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

/* Стилизация календаря */
.pickup-point-date input[type="date"] {
    background: #f3f6fd;
    border: 1.5px solid #c8d0e0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #000;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.pickup-point-date input[type="date"]:hover {
    border-color: #019A44;
}

.pickup-point-date input[type="date"]:focus {
    border-color: #019A44;
    box-shadow: 0 0 0 3px rgba(1, 154, 68, 0.12);
    background: #fff;
}

/* Радиокнопка выбора пункта */
.pickup-point-card input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: #019A44;
}

/* Стиль для надписи рядом с радиокнопкой */
.pickup-point-card label:last-of-type {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    color: #000;
}




/* Футер на всю ширину экрана */
/* Логотип / название */
footer {
    background: #1a1d27;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    padding: 0;
}

.site-footer {
    max-width: 1200px;
    margin: 0 auto;
    color: #e8eaf0;
    padding: 48px 32px 32px;
    border-top: 1px solid #2e3347;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e8eaf0;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-address, .footer-email {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #8b90a7;
}

.footer-address svg, .footer-email svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-email a {
    color: #8b90a7;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-email a:hover {
    color: #4f6ef7;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e8eaf0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #8b90a7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #4f6ef7;
}

.footer-copyright {
    font-size: 13px;
    color: #8b90a7;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 24px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-address, .footer-email {
        justify-content: center;
    }
    .footer-logo {
        text-align: center;
    }
}





.pickup-point-date {
    font-size: 14px;
    margin-top: 6px;
}
.pickup-point-date.preorder-date {
    color: #e67e22;
}
.pickup-point-date.final-date {
    color: #2c7a47;
    font-weight: 500;
}
.pickup-point-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fafafa;
    transition: 0.2s;
}
.pickup-point-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pickup-point-image img {
    border-radius: 8px;
    background: #fff;
}

/* Блок выбора времени */
.delivery-time-block {
    margin: 16px 0 20px;
}

.delivery-time-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
}

.required-star {
    color: #e05454;
    margin-left: 2px;
}

.delivery-time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Скрываем стандартные радиокнопки */
.time-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Стилизованная кнопка */
.time-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: #f3f6fd;
    border: 2px solid #e0e5ef;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    min-width: 120px;
    text-align: center;
}

/* При наведении */
.time-option:hover {
    border-color: #2c7a47;
    background: #eef2ff;
}

/* Выбранное состояние */
.time-option input[type="radio"]:checked + .time-label {
    color: #fff;
}

.time-option input[type="radio"]:checked + .time-label {
    color: #fff;
}

.time-option:has(input[type="radio"]:checked) {
    background: #019A44;
    border-color: #2c7a47;
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 110, 247, 0.3);
}

/* Если нужно обязательное поле – красная рамка при ошибке */
.time-option.error {
    border-color: #e05454;
    background: #fff0f0;
}


    /* Модальное окно */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }
    .modal-content {
        background: #fff;
        border-radius: 16px;
        max-width: 800px;
        width: 90%;
        padding: 20px;
        position: relative;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    .modal-close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        cursor: pointer;
        color: #888;
    }
    .modal-close:hover {
        color: #000;
    }
    .modal-body {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
    }
    .modal-body img {
        width: 250px;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
    }
    .modal-info {
        flex: 1;
    }
    .modal-info h2 {
        margin: 0 0 8px 0;
        font-size: 24px;
    }
    .modal-price {
        font-size: 22px;
        font-weight: bold;
        color: #2c7a47;
        margin-bottom: 12px;
    }
    .modal-price .old-price {
        text-decoration: line-through;
        color: #888;
        font-size: 16px;
        margin-right: 8px;
    }
    .modal-description {
        color: #555;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .modal-buttons {
        display: flex;
        gap: 12px;
    }
    .preorder-btn, .buy-btn {
        padding: 10px 20px;
        border: none;
        border-radius: 40px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.2s;
    }
    .preorder-btn {
        background: #f0f0f0;
        color: #333;
    }
    .preorder-btn:hover {
        background: #e0e0e0;
    }
    .buy-btn {
        background: #2c7a47;
        color: white;
    }
    .buy-btn:hover {
        background: #1f5a34;
    }
    @media (max-width: 600px) {
        .modal-body {
            flex-direction: column;
            align-items: center;
        }
        .modal-body img {
            width: 100%;
            max-width: 200px;
        }
    }
