/* Основной контейнер */
.shipping-payment-wrapper {
    padding: 80px 20px;
    max-width: 1200px;
    margin: -120px auto 0;
    position: relative;
    z-index: 10;
}

/* Навигация по разделам */
.sections-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.section-nav-btn {
    padding: 15px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.section-nav-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Секция доставки */
.delivery-section {
    margin-bottom: 60px;
}

.delivery-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Способы доставки */
.delivery-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.delivery-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e8e8e8;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.delivery-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(20, 40, 160, 0.15);
}

.delivery-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary);
}

.delivery-card:hover .delivery-icon {
    background: linear-gradient(135deg, var(--primary), #0066ff);
    color: white;
}

.delivery-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.delivery-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.delivery-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.delivery-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.delivery-price-note {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Условия доставки */
.delivery-conditions {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.delivery-conditions h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.delivery-conditions h3 i {
    color: var(--primary);
}

.conditions-list {
    list-style: none;
    padding: 0;
}

.conditions-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.conditions-list li:last-child {
    border-bottom: none;
}

.conditions-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Секция оплаты */
.payment-section {
    margin-bottom: 60px;
}

.payment-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.payment-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e8e8e8;
    transition: all 0.3s;
    text-align: center;
}

.payment-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(20, 40, 160, 0.15);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    color: var(--primary);
}

.payment-card:hover .payment-icon {
    background: linear-gradient(135deg, var(--primary), #0066ff);
    color: white;
}

.payment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.payment-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Безопасность оплаты */
.payment-security {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.payment-security h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.payment-security h3 i {
    color: var(--primary);
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.security-item i {
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.security-item span {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* FAQ */
.faq-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 25px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-question i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    padding-left: 32px;
}

/* CTA блок */
.cta-help {
    background: linear-gradient(135deg, var(--primary), #0066ff);
    color: white;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.cta-help h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-help p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-help-button {
    background: white;
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.cta-help-button:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .shipping-payment-hero h1 {
        font-size: 2rem;
    }

    .shipping-payment-hero p {
        font-size: 1rem;
    }

    .sections-nav {
        flex-direction: column;
    }

    .section-nav-btn {
        width: 100%;
        justify-content: center;
    }

    .delivery-methods,
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .delivery-card,
    .payment-security,
    .faq-section {
        padding: 25px 20px;
    }

    .delivery-conditions {
        padding: 30px 20px;
    }

    .security-features {
        grid-template-columns: 1fr;
    }
}