/* Общий layout */
.delivery-page {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap; /* чтобы на маленьких экранах не ломалось */
}

/* ЛЕВАЯ ЧАСТЬ */
.delivery-left {
    flex: 1 1 300px; /* минимальная ширина 300px */
}

.delivery-left h1 {
    font-size: 26px;
    margin-bottom: 12px;
}

.delivery-left h3 {
    font-size: 15px;
    margin-top: 16px;
    margin-bottom: 6px;
    font-weight: 600;
}

.delivery-left p,
.delivery-left ul {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.delivery-left ul {
    padding-left: 18px;
}

/* КНОПКИ ПОД ТЕКСТОМ */
.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap; /* чтобы на маленьком экране переносились */
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 14px !important;
    text-decoration: none;
    color: #fff !important;
    font-weight: 500;
    font-size: 14px;
    flex-shrink: 0; /* не сжимать кнопки */
    transition: 0.2s;
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: #fff !important;
}

.btn.tg {
    background: #229ED9 !important;
}

.btn.vk {
    background: #4C75A3 !important;
}

.btn:hover {
    color: #fff !important;
    filter: brightness(0.95);
    transform: translateY(-1px);
}

/* ПРАВАЯ ЧАСТЬ */
.delivery-right {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* КАРТА */
.map {
    width: 100%;
    height: 320px;
    border-radius: 18px !important;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    border-radius: 18px !important;
}

/* СОЦСЕТИ ПОД КАРТОЙ */
.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 12px !important;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.socials a:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

.socials svg {
    width: 17px;
    height: 17px;
    fill: #333;
}

/* АДАПТИВ */
@media (max-width: 768px) {
    .delivery-page {
        flex-direction: column;
        gap: 20px;
    }

    .contact-buttons {
        gap: 8px;
    }

    .map {
        height: 250px;
    }
}