/* Обертка блока */
.delivery-wrapper {
    width: 100%;
    max-width: 1360px;
    height: 555px;
    margin: 0 auto 40px auto;
    position: relative;
    background: #3D4042;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    font-family: 'Inter', sans-serif;
}

/* Декоративный эллипс */
.delivery-decor {
    position: absolute;
    top: -18px;      
    left: 0;    
    z-index: 1;
    pointer-events: none;
}

/* Левая колонка */
.delivery-left {
    width: 680px;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Заголовок (Белый, 2 строки) */
.delivery-title {
    color: #fff !important; /* Белый цвет */
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.2;
    width: 358px; /* Фиксированная ширина для переноса */
}

/* Сетка преимуществ */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px; /* Отступ от заголовка */
}

.delivery-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-sizing: border-box;
    justify-content: center;
}

.delivery-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.delivery-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delivery-card-title {
    color: #292A2A;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.delivery-card-desc {
    color: #878D91;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

/* Правая колонка */
.delivery-right {
    width: 680px;
    height: 100%;
    background: #F3F4F5;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px; /* Паддинг для тегов */
    box-sizing: border-box;
}

/* Теги (Справа вверху) */
.delivery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px; /* Отступ до карты */
    width: 539px; /* Ширина как в фигме */
}

.delivery-tag {
    height: 32px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #DEE2E3;
    border-radius: 45px;
    color: #292A2A;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Карта (Размеры из фигмы) */
.delivery-map-img {
    width: 638px;
    height: 341px;
    object-fit: cover;
    border-radius: 12px; /* Можно убрать, если не нужно */
    flex-shrink: 0;
}

/* Адаптив */
@media (max-width: 1200px) {
    .delivery-wrapper {
        height: auto;
        flex-direction: column;
    }
    .delivery-left, .delivery-right {
        width: 100%;
    }
    .delivery-right {
        height: auto;
        align-items: flex-start;
    }
    .delivery-map-img {
        width: 100%;
        height: auto;
    }
    .delivery-title {
        width: 100%;
    }
    .delivery-decor {
        display: none;
    }
}