/* =============================================
   СТРАНИЦА "ДОСТАВКА"
============================================= */
.delivery-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.delivery-page-title {
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Меню-якоря */
.delivery-menu-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.delivery-anchor-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}
.delivery-anchor-link:hover {
    color: #818181;
}

/* Баннер */
.delivery-banner {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}
.delivery-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Текст после баннера */
.delivery-intro-text {
    text-align: center;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Регионы */
.delivery-region {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 30px 25px;
    margin-bottom: 40px;
}
.delivery-region-header {
    margin-bottom: 25px;
}
.delivery-region-title {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

/* Сетка способов */
.delivery-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Карточка способа */
.delivery-method-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 20px 20px 25px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}
.delivery-method-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.delivery-method-content {
    flex: 1;
}
.delivery-method-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #1a1a1a;
}
.delivery-method-price {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.delivery-method-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}
.delivery-method-comment {
    font-size: 12px;
    color: #999;
    font-style: italic;
}
.delivery-method-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.delivery-method-icons img {
    max-height: 17px;
    width: auto;
  padding: 5px;
}

/* FAQ (как на странице контактов) */
.delivery-faq-block {
    margin-top: 40px;
}
.delivery-faq-block .faq-item {
    border-bottom: 1px solid #eee;
    padding: 5px 0;
}
.delivery-faq-block .faq-question {
    font-weight: 500;
    font-size: 16px;
    color: #1a1a1a;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.delivery-faq-block .faq-toggle {
    font-size: 22px;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s ease;
}
.delivery-faq-block .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
.delivery-faq-block .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}
.delivery-faq-block .faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 0 20px 0;
}

/* Адаптив */
@media (max-width: 768px) {
    .delivery-methods-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .delivery-region {
        padding: 20px 15px;
    }
    .delivery-method-icons {
        justify-content: flex-start;
    }
    .delivery-menu-anchors {
        gap: 10px 15px;
    }
}


.delivery-region-title {
    text-align: center;
}