/* Стили для страницы "Доставка и оплата" в стиле scrubswear.ru */

.delivery-page {
    background-color: #fff;
    min-height: 100vh;
}

.delivery-container {
    padding: 0;
    background-color: #F1F2FF;
}

.delivery-header {
    padding: 2rem 0 1rem 0;
    background-color: #F1F2FF;
}

.delivery-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.delivery-header .breadcrumbs {
    margin-bottom: 2rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    font-size: 1rem !important;
}

.delivery-header .breadcrumb-link,
.delivery-header .breadcrumb-link:link,
.delivery-header .breadcrumb-link:visited,
.delivery-header .breadcrumb-link:hover,
.delivery-header .breadcrumb-link:focus,
.delivery-header .breadcrumb-link:active {
    text-decoration: none;
    color: #999 !important;
}

.delivery-header .breadcrumb-link:hover {
    color: #2D37EE !important;
}

.delivery-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 4rem 0;
    letter-spacing: 3px;
    line-height: 1.2;
    text-align: left;
}

/* Контейнер для контента */
.delivery-container .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid для вариантов доставки - 3 колонки, 2 ряда */
.delivery-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Желтый блок "ДОСТАВКА" */
.delivery-title-card {
    background-color: #2D37EE;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.delivery-title-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    letter-spacing: 2px;
}

.delivery-title-card p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
}

/* Карточки вариантов доставки */
.delivery-option-card {
    background-color: #fff;
    padding: 1.75rem;
    border-radius: 24px;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.delivery-option-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 1rem 0;
    text-transform: none;
}

.delivery-option-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.delivery-option-card p:last-of-type {
    margin-bottom: 0;
}

.delivery-address {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.delivery-address strong {
    font-weight: 600;
    color: #000;
}

.delivery-features {
    margin: 1rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item strong {
    font-weight: 600;
    color: #000;
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.delivery-price-list {
    margin: 1rem 0;
    padding-left: 0;
}

.delivery-price-list p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.delivery-note {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.delivery-note:last-of-type {
    margin-bottom: 0;
}

/* Блок "Оплата" */
.payment-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.payment-left-block {
    background-color: #2D37EE;
    padding: 2rem 1.75rem;
    border-radius: 24px;
    flex: 0 0 auto;
    width: 320px;
    max-width: 100%;
}

.payment-left-block h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    letter-spacing: 2px;
}

.payment-left-block p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
}

.payment-methods-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-method-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.method-number {
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Блок "Возврат и замена" */
.return-section {
    background-color: #f5f5f5;
    padding: 3rem;
    border-radius: 24px;
    margin-bottom: 4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.return-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    letter-spacing: 2px;
}

.return-section > p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.return-section > p:last-of-type {
    margin-bottom: 2rem;
}

.return-warning {
    background-color: #FFF9C4;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 5px solid #FFD700;
    margin-top: 2rem;
}

.return-warning strong {
    font-size: 1rem;
    color: #000;
    font-weight: 700;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .delivery-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .delivery-header {
        padding: 1.5rem 0 1rem 0;
    }

    .delivery-header .container {
        padding: 0 15px;
    }

    .delivery-header .breadcrumbs {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .delivery-page-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .delivery-container .container {
        padding: 0 15px;
    }

    .delivery-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .delivery-title-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .delivery-title-card h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .delivery-option-card,
    .return-section {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .payment-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .payment-left-block {
        padding: 2rem 1.5rem;
        min-width: auto;
    }

    .payment-left-block h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .payment-left-block p {
        font-size: 0.95rem;
    }

    .payment-methods-list {
        flex: none;
    }

    .delivery-option-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .delivery-option-card p,
    .delivery-address,
    .delivery-price-list p,
    .return-section > p {
        font-size: 0.95rem;
    }

    .feature-item {
        font-size: 0.95rem;
    }

    .payment-method-item {
        font-size: 0.95rem;
    }

    .return-section h3 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .return-warning {
        padding: 1rem 1.5rem;
    }

    .return-warning strong {
        font-size: 0.95rem;
    }
}
