/* Якорь «По Москве» — учёт высоты sticky-шапки при прокрутке */
#po-moskve {
    scroll-margin-top: 100px;
}

/* Сетка для основного контента доставки */
.delivery-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.delivery-col-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (max-width: 991px) {
    .delivery-layout {
        grid-template-columns: 1fr;
    }
}

/* Карточки информации */
.delivery-card {
    padding: 40px;
    height: 100%;
    /* Используем flex для равномерного распределения, если нужно, но пока block ок */
}

@media (max-width: 576px) {
    .delivery-card {
        padding: 25px;
    }
}

/* Элементы внутри карточек */
.delivery-highlight {
    background-color: rgba(0, 0, 0, 0.03); /* Нейтральный фон для выделения */
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.delivery-list {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.delivery-list li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.delivery-note {
    font-size: 0.9em;
    opacity: 0.7;
}

.delivery_contact_link {
    white-space: nowrap; /* номер всегда в одну строку */
}

.delivery_contact_link:hover {
    text-decoration: underline !important;
}

.max-w-700 {
    max-width: 700px;
    line-height: 1.6;
}

/* Сетка логотипов доставки (низ страницы) */
.delivery_wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px; /* Компенсация отступов */
}

.delivery_item {
    width: calc(33.333% - 30px);
    margin: 15px;
    padding: 40px 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.delivery_item:hover {
    transform: translateY(-5px);
}

.delivery_item img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
    display: block;
}

.delivery_item .main_title {
    margin-bottom: 15px;
    font-weight: 800;
    min-height: 2.4em; /* Чтобы выровнять высоту заголовков */
    display: flex;
    align-items: center;
}

.delivery_item ul {
    text-align: left;
    padding-left: 0;
    list-style: none;
    margin: 0;
    width: 100%;
}

.delivery_item li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.delivery_item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

@media (max-width: 991px) {
    .delivery_item {
        width: calc(50% - 30px);
    }
}

@media (max-width: 600px) {
    .delivery_item {
        width: 100%;
        margin: 10px 0;
    }
    .delivery_wrap {
        margin: 0;
    }
}
