/* Основные стили страницы доставки */
.delivery-main {
    padding: 80px 0;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto;
}

/* Секция с картой доставки */
.delivery-map-section {
    margin-bottom: 60px;
}

.delivery-map-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.delivery-map {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.delivery-zones {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zone-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-5px);
}

.zone-color {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.zone-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.zone-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 3px;
}

/* Способы доставки */
.delivery-methods {
    margin-bottom: 60px;
}

.delivery-methods h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.method-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.method-card h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.method-card ul {
    list-style: none;
    padding-left: 20px;
}

.method-card li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 25px;
    line-height: 1.5;
}

.method-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* Способы оплаты */
.payment-section {
    margin-bottom: 60px;
}

.payment-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.payment-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.payment-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.payment-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Частые вопросы */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    line-height: 1.6;
}

.faq-answer.show {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .delivery-map {
        grid-template-columns: 1fr;
    }
    
    #map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}
/* Новые стили для зон доставки */
.delivery-zones-section {
    margin-bottom: 60px;
}

.delivery-zones-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.delivery-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.area-card {
    padding: 25px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
}

.free-delivery {
    border-top: 4px solid #4CAF50;
}

.paid-delivery {
    border-top: 4px solid #FFC107;
}

.distant-delivery {
    border-top: 4px solid #FF9800;
}

.area-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.area-list {
    list-style: none;
    margin-bottom: 15px;
}

.area-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.area-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delivery-info {
    font-weight: 500;
    color: var(--primary-color);
}

/* Стили для кнопок оплаты */
.payment-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .delivery-areas {
        grid-template-columns: 1fr;
    }
}