.image_contacts_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacts_socials .fa-brands {
    color: #D10F17;
}

.premises_name {
    font-weight: 700; 
    font-size: 15px;
}

.premises_address {
    font-size: 15px;
}


/* =========================================
   НОВЫЙ БЛОК УСЛОВИЙ ОПЛАТЫ (ИЗ ФИГМЫ)
   ========================================= */

.delivery_payment_terms_section {
    padding-bottom: 2rem;
}

/* Обертка заголовка теперь просто позиционируется относительно контейнера */
.terms-header {
    position: relative;
    margin-bottom: 2rem;
}

.terms-title {
    color: var(--Text-Dark, #292A2A);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
    /* Заголовок теперь не стеснен flex-ом и займет нужную ширину */
}

.terms-min-order {
    background: var(--BG-Gray, #F3F4F5);
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    
    /* Позиционируем плашку абсолютно: 
       по вертикали по центру заголовка,
       по горизонтали строго в начало правой колонки */
    position: absolute;
    top: 50%;
    left: calc(50% + 10px); 
    transform: translateY(-50%);
}

.terms-min-order span {
    color: var(--Text-Dark-Gray, #878D91);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.terms-min-order strong {
    color: var(--Accent-Default, #00B1BA);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

/* Сетка для двух блоков (CSS Grid гарантирует одинаковую высоту) */
.terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 20px;
    /* В Grid по умолчанию stretch, поэтому нижние рамки всегда будут на одной линии */
}

.terms-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--Gray, #DEE2E3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
}

.terms-card-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    color: var(--Text-Dark, #292A2A);
    font-size: 24px;
    font-weight: 600;
    line-height: 28.80px;
    font-family: 'Inter', sans-serif;
}

.terms-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.terms-card-content {
    color: var(--Text-Dark, #292A2A);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'Inter', sans-serif;
    word-wrap: break-word;
}

/* Стили специально для анонсного текста (левая колонка) */
.terms-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terms-card-content li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Если в тексте используются теги для цифр (например <b>1.</b> или просто цифры) */
.terms-card-content li b,
.terms-card-content li strong {
    color: var(--Accent-Default, #00B1BA);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    flex-shrink: 0;
}

/* --- Адаптив блок Условий --- */
@media (max-width: 991.98px) {
    .terms-title {
        font-size: 32px;
    }
    .terms-grid {
        grid-template-columns: 1fr; /* На планшетах стекаем в одну колонку, высота больше не привязывается */
    }
    
    /* На планшетах и мобилках отменяем абсолютное позиционирование, 
       чтобы плашка встала ПОД заголовок обычным потоком */
    .terms-header {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .terms-min-order {
        position: static;
        transform: none;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .terms-title {
        font-size: 26px;
    }
    .terms-min-order {
        width: 100%;
        justify-content: center;
    }
    .terms-card {
        padding: 24px;
    }
}



/* =========================================
   НОВЫЙ БЛОК ДОСТАВКИ (ТАБЫ)
   ========================================= */

.delivery_section_new {
    padding-top: 2rem;
    padding-bottom: 0rem;
}

.delivery_header {
    margin-bottom: 40px;
}

.delivery_subtitle {
    color: var(--Text-Dark, #292A2A);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.40px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
}

.delivery_tabs {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.delivery_tab {
    font-size: 40px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--Text-Gray, #B3B8BB); /* Неактивный цвет */
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1.1;
}

.delivery_tab.active {
    color: var(--Text-Dark, #292A2A); /* Активный цвет */
}

.delivery_tab:hover {
    color: var(--Text-Dark, #292A2A);
}

.delivery_tab_divider {
    display: flex;
    align-items: center;
}

.delivery_content_wrapper {
    transition: opacity 0.3s ease;
}
.delivery_content_wrapper.hidden {
    display: none;
}

/* --- Стиль САМОВЫВОЗ --- */
.pickup_grid {
    display: grid;
    grid-template-columns: 1fr 785px; 
    gap: 60px;
    align-items: start;
}

.pickup_info {
    position: relative; /* ДОБАВЛЕНО: чтобы warning позиционировался относительно этой колонки */
}

.pickup_right_col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pickup_subtitle {
    color: var(--Text-Dark, #292A2A);
    font-size: 24px;
    font-weight: 600;
    line-height: 28.80px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
}

.pickup_contacts_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact_item_header {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--Text-Dark, #292A2A);
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.contact_item_value {
    color: var(--Text-Dark, #292A2A);
    font-size: 16px;
    font-weight: 600;
    line-height: 20.80px;
    font-family: 'Inter', sans-serif;
    padding-left: 32px; /* Отступ, чтобы выровнять с текстом, а не с иконкой */
}

.phone_desc {
    color: var(--Text-Dark-Gray, #878D91);
    font-size: 14px;
    font-weight: 400;
    line-height: 18.90px;
    margin-top: 4px;
}

.pickup_map {
    width: 100%;
    height: 413px; /* Строго по макету */
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
}

/* ИЗМЕНЕНО: Предупреждение самовывоза (выпадает вправо между колонками) */
.pickup_warning_block {
    position: absolute;
    bottom: 0; /* Низ блока ровно по низу последнего элемента (phone_desc) */
    left: calc(42% + 15px); 
    width: 325px; /* Ширина блока */
    z-index: 10; /* Чтобы блок был поверх карты, если они пересекаются */
    padding: 12px 16px;
    background: var(--BG-Gray, #F3F4F5);
    border-radius: 12px;
    color: var(--Text-Dark-Gray, #878D91);
    font-size: 14px;
    font-weight: 400;
    line-height: 18.90px;
    font-family: 'Inter', sans-serif;
}

/* --- Стиль ТК И КУРЬЕР --- */
.tk_warning_block {
    max-width: 670px;
    padding: 12px 16px;
    background: var(--BG-Gray, #F3F4F5);
    border-radius: 12px;
    color: var(--Text-Dark-Gray, #878D91);
    font-size: 14px;
    font-weight: 400;
    line-height: 18.90px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
}

.tk_card {
    max-width: 670px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--Gray, #DEE2E3);
    margin-bottom: 20px;
}

.tk_card_title {
    color: var(--Text-Dark, #292A2A);
    font-size: 24px;
    font-weight: 600;
    line-height: 28.80px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
}

.tk_card_text {
    color: var(--Text-Dark, #292A2A);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'Inter', sans-serif;
}

.tk_price_blocks {
    display: flex;
    gap: 8px;
}

.tk_price_item {
    padding: 12px 16px;
    background: var(--BG-Gray, #F3F4F5);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.tk_price_label {
    color: var(--Text-Dark-Gray, #878D91);
    font-size: 14px;
    font-weight: 400;
    line-height: 18.90px;
    font-family: 'Inter', sans-serif;
}
.tk_price_label strong {
    color: var(--Text-Dark, #292A2A);
    font-weight: 500;
}

.tk_price_value {
    color: var(--Accent-Default, #00B1BA);
    font-size: 20px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}


/* --- Адаптив для блока доставки --- */
@media (max-width: 1199.98px) {
    .pickup_grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pickup_map {
        height: 350px;
    }
    
    /* ДОБАВЛЕНО: на планшетах возвращаем блок в нормальный поток */
    .pickup_warning_block {
        position: static; /* Отменяем выпадание вправо */
        width: 100%; /* Растягиваем на всю ширину */
        margin-top: 20px; /* Отступ сверху */
        left: auto;
        bottom: auto;
    }
}

@media (max-width: 767.98px) {
    .delivery_tab {
        font-size: 28px;
    }
    .delivery_tabs {
        flex-direction: column;
        gap: 10px;
    }
    .delivery_tab_divider {
        display: none; /* Прячем разделитель на мобилках */
    }
    .pickup_subtitle {
        font-size: 20px;
    }
    .pickup_map {
        height: 250px;
    }
    .tk_price_blocks {
        flex-direction: column;
    }
}