/* Стили для статьи */
.payment-rules-page { /* Новый класс для этой страницы */
    padding: 40px 0;
}

.article-header {
    margin-bottom: 30px;
    text-align: center;
}
.article-header h1 {
    font-size: 2.8em;
    font-weight: bold;
    color: #000;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
}

.content-section.payment-section {
    margin-bottom: 30px;
}
.content-section.payment-section:last-child {
    margin-bottom: 0;
}

.payment-section h2 { /* Подзаголовки (Правила оплаты, Возврат товара, ...) */
    font-size: 1.4em; /* Меньше, чем главный заголовок страницы */
    font-weight: bold;
    color: #000;
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 15px; /* Отступ сверху, если есть предыдущий блок */
}
.payment-section h2:first-child {
    padding-top: 0;
}

.payment-section h3 { /* Под-подзаголовки (Советы и рекомендации...) */
    font-size: 1.1em;
    font-weight: bold;
    color: #000;
    margin-top: 25px;
    margin-bottom: 15px;
}

.payment-section p {
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.7;
}

.payment-section ol,
.payment-section ul {
    font-size: 1em;
    color: #333;
    padding-left: 25px;
    margin-top: 0;
    margin-bottom: 15px;
}
.payment-section ol li,
.payment-section ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}
/* Вложенные списки */
.payment-section ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 20px;
}

.credit-card-image-wrapper {
    text-align: center; /* Центрируем изображение */
    margin: 25px 0;
}
.credit-card-image-wrapper img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee; /* Легкая рамка для схемы */
    border-radius: 6px;
}

/* Таблицы реквизитов */
.company-details-section h2 { /* Заголовки "Реквизиты ООО..." */
    margin-top: 30px; /* Больший отступ перед новой таблицей */
    font-size: 1.3em;
}

.details-table {
    margin-bottom: 30px;
    font-size: 0.95em;
}
.details-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0; /* Светлый разделитель строк */
}
.details-row:last-child {
    border-bottom: none;
}
.details-row .label {
    flex-basis: 35%; /* Ширина для левой колонки (название поля) */
    font-weight: 500;
    color: #555;
    padding-right: 15px;
}
.details-row .value {
    flex-basis: 65%; /* Ширина для правой колонки (значение) */
    color: #333;
}
.details-row .value a { /* Ссылки в таблице (например, email) */
    color: #007bff;
    text-decoration: none;
}
.details-row .value a:hover {
    text-decoration: underline;
}


/* Адаптивность */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2.4em;
    }
    .payment-section h2 {
        font-size: 1.3em;
    }
    .payment-section p,
    .payment-section ul,
    .payment-section ol {
        font-size: 0.95em;
    }
    .details-row {
        flex-direction: column; /* Метки над значениями на мобильных */
        padding: 8px 0;
    }
    .details-row .label {
        flex-basis: auto;
        margin-bottom: 3px;
        font-size: 0.9em;
        color: #777;
    }
    .details-row .value {
        flex-basis: auto;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 2em;
    }
    .payment-section h2 {
        font-size: 1.2em;
    }
    .payment-section p,
    .payment-section ul,
    .payment-section ol {
        font-size: 0.9em;
    }
}