.delivery-options {
    margin-bottom: 20px;
}

.upper-map-form-block input {
    appearance: auto !important;
}

.delivery-options label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.fields-group {
    display: block;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.field input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.info-text {
    font-size: 12px;
    color: #555;
    margin-top: 5px;
}

.zone-badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 12px;
    margin-right: 8px;
    vertical-align: middle;
}

.address-success {
    background: #d4edda !important;
    border: 1px solid #c3e6cb !important;
}

.delivery-price {
    margin-top: 0;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-field label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-field input {
    width: auto;
    cursor: pointer;
}

.floor-field {
    margin-left: 25px;
    margin-top: -5px;
    margin-bottom: 15px;
}

.hidden {
    display: none !important;
}

.floor-field input {
    width: 150px;
}

.upper-map-form-block {
    display: grid;
    gap: 20px;
}
.mapblock {
    width: 100%;
}
.tk-group {
    margin-bottom: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.tk-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    font-weight: normal;
    cursor: pointer;
    gap: 5px;
}

.tk-group input {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.tk-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.priority-checkbox-field {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.priority-checkbox-field label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.priority-checkbox-field input {
    width: auto;
    cursor: pointer;
    appearance: auto;
}

.hidden-field {
    display: none;
}

.select-field {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.free-delivery {
    background: #d4edda !important;
}

.lift-checkbox-field {
    margin-left: 25px;
        margin-bottom: 15px;
        margin-top: 5px;
    }

.field input {
    width: 100%;
    padding: 8px 8px 8px 12px;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #808080;
    border: 1px solid var(--primary-default);
    border-radius: 4px;
}

.inner_map_wrapper {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
}

.inner_map_wrapper > div:first-child,
.inner_map_wrapper .formblock {
    min-width: 0;
}


@media (max-width: 900px) {
    .inner_map_wrapper {
        grid-template-columns: 1fr;
    }
}


.fields-head {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 18px;
}

.time {
    position: relative;
    top: -7px;
    left: 10px;
}

.zone-blocklist p:not(:last-child) {
    margin-bottom: 5px;
}

/* --- Fix Яндекс.Карты Controls & Layout --- */

/* 1. Сброс float-бага у блока адреса, который ломал грид */
.courier-block .field::after {
    content: "";
    display: table;
    clear: both;
}

/* 2. Изоляция контейнера карты */
#map {
    width: 100% !important;
    height: 500px !important;
    border-radius: 8px;
    border: 1px solid #ccc;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 3. Жесткий сброс внешних стилей для ВСЕХ элементов внутри карты Yandex */
#map [class*="ymaps"] {
    box-sizing: content-box !important;
}

/* Сброс ваших стилей .field input для поиска и кнопок карты */
#map input,
#map [class*="ymaps"][class*="input"],
#map [class*="ymaps"] input[type="text"] {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
}

/* Восстановление позиционирования кнопок (+ / -, геолокация и т.д.) */
#map [class*="controls__control"] {
    position: absolute !important;
    box-sizing: border-box !important;
}

#map [class*="inner-panes"] {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Сброс SVG и картинок иконок внутри кнопок */
#map [class*="ymaps"] img,
#map [class*="ymaps"] svg {
    max-width: none !important;
    max-height: none !important;
    background: transparent !important;
}

.ymaps-2-1-79-zoom__runner {
    width: auto !important;
}