.delivery-hero{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 75px;
}

h1.delivery-hero__title{
    margin-bottom: 30px;
}

.delivery-hero{
    margin-bottom: 35px;
}

.delivery-hero__text{
    font-size: 16px;
    font-weight: 500;
    color: #424242;
}

.delivery-time__selectors{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 140px;
    margin-bottom: 50px;
}

.delivery-time__label{
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
    display: block;
}

.delivery-time__input{
    border: 1px solid #A2A2A2;
    width: 100%;
    border-radius: 5px;
    height: 41px;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 500;
}

.delivery-time__input-wrapper{
    display: flex;
    align-items: center;
    position: relative;
}

/* Датапикер внутри wrapper */
.delivery-time__input-wrapper [data-datepicker] {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #A2A2A2;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
}

.delivery-time__input-wrapper [data-datepicker].active {
    display: block;
}

.delivery-time__arrow{
    position: absolute;
    right: 17px;
    pointer-events: none;
}

/* Выбор типа доставки */
.delivery-method-options {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.delivery-method-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-method-option:hover {
    border-color: #424242;
}

.delivery-method-option input[type="radio"] {
    margin-top: 2px;
    cursor: pointer;
}

.delivery-method-option input[type="radio"]:checked + .delivery-method-content {
    color: #424242;
}

.delivery-method-option input[type="radio"]:checked {
    accent-color: #424242;
}

.delivery-method-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.delivery-method-name {
    font-weight: 600;
    font-size: 16px;
    color: #424242;
}

.delivery-method-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Автодополнение адресов */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #A2A2A2;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.address-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.address-suggestion-item:hover {
    background: #f5f5f5;
}

.address-suggestion-item:last-child {
    border-bottom: none;
}

/* Стоимость доставки */
.delivery-cost {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
}

.delivery-cost__label {
    font-weight: 600;
    font-size: 18px;
    color: #424242;
}

.delivery-cost__value {
    font-weight: 500;
    font-size: 16px;
    color: #424242;
}

/* Ошибки */
.delivery-error {
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width:992px){
    .delivery-hero{
        grid-template-columns: 100%;
        grid-gap: 30px;
    }
    .delivery-time__selectors{
        grid-template-columns: 100%;
        grid-gap: 40px;
    }
    .delivery-method-options {
        grid-template-columns: 100%;
    }
}