.ip-delivery-wrapper {
    margin: 20px 0;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.ip-delivery-header h3 {
    margin: 0 0 8px 0;
    color: #2c3338;
    font-size: 22px;
    font-weight: 600;
}

.ip-delivery-note {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 13px;
    font-style: italic;
}

.ip-delivery-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.delivery-method {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    min-height: 120px; /* Фиксированная высота для выравнивания */
}

.delivery-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.method-icon {
    margin-right: 20px;
    min-width: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    /*width: 48px;
    height: 48px;*/
    flex-shrink: 0;
}

.method-info {
    flex: 1;
    min-width: 0; /* Предотвращает растягивание */
}

.method-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2c3338;
    font-weight: 600;
    line-height: 1.3;
}

.method-price {
    font-weight: bold;
    font-size: 18px;
    color: #4CAF50;
    margin-bottom: 5px;
    line-height: 1.2;
}

.method-price2 {
    font-weight: bold;
    font-size: 18px;
    color: #4CAF50;
    margin-bottom: 5px;
    line-height: 1.2;
}

.method-price::before {
    content: "от ";
    font-size: 14px;
    color: #666;
}

.method-days {
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.3;
}

.method-days2 {
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.3;
    word-break: break-word; /* Перенос длинных адресов */
}

.method-days::before {
    content: "доставка ";
    font-size: 12px;
    color: #888;
}

.ip-delivery-disclaimer {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    text-align: center;
    color: #856404;
    font-size: 13px;
    font-style: italic;
    margin-top: 15px;
    line-height: 1.5;
}

.ip-delivery-warning {
    padding: 20px;
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    color: #c62828;
    text-align: center;
    font-weight: 500;
}

.ip-delivery-footer-note {
    margin-top: 15px;
    padding: 12px;
    background: #e7f3ff;
    border: 1px solid #b8daff;
    border-radius: 6px;
    color: #004085;
    font-size: 12px;
    text-align: center;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ip-delivery-wrapper {
        padding: 20px;
        margin: 15px 0;
    }
    
    .ip-delivery-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .delivery-method {
        padding: 15px;
        min-height: 110px;
    }
    
    .method-icon {
        margin-right: 15px;
    }
    
    .method-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* Выравнивание по вертикали для всех блоков */
.delivery-method {
    display: flex;
    align-items: center;
}

.method-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}










/* Добавьте это в конец файла */
.method-distance {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    font-style: italic;
}

.method-distance::before {
    content: "≈";
    margin-right: 3px;
}

.method-distance::after {
    content: "км";
    margin-left: 2px;
}