@charset "UTF-8";
/* ================================================================= */
/* ОБЩИЕ СТИЛИ СТРАНИЦЫ */
/* ================================================================= */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.page-header h1 {
    font-size: 38px;
    color: #2c3e50; /* Темный заголовок */
    border-bottom: 3px solid #016ead; /* Ваш фирменный синий акцент */
    padding-bottom: 15px;
    margin-bottom: 40px;
    line-height: normal;
}

.section-divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 40px 0;
}

.section-title h2 {
    font-size: 28px;
    color: #016ead; /* Фирменный синий акцент */
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    line-height: normal;
}

.section-title h2 i {
    font-size: 30px;
    margin-right: 15px;
}

/* ================================================================= */
/* FLEX КОНТЕЙНЕР ДЛЯ РАЗДЕЛЕНИЯ ТЕКСТА И ИЗОБРАЖЕНИЯ */
/* ================================================================= */
.content-flex-container {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* Выравнивание по верхнему краю */
}

.content-text-block {
    flex: 2; /* Текст занимает больше места */
    min-width: 50%;
}

.content-image-block {
    flex: 1; /* Изображение занимает меньше места */
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content-image-block img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================================================= */
/* СТИЛИ СПИСКОВ (DELIVERY & RETURN) */
/* ================================================================= */
.content-text-block ul {
    list-style: none;
    padding: 0;
}

.content-text-block ul li {
    padding: 12px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.content-text-block ul li i {
    color: #4CAF50; /* Зеленый для подтверждения */
    margin-right: 15px;
    margin-top: 3px;
    font-size: 18px;
}

/* Акцент на важную информацию */
.accent-feature {
    background-color: #e6f7ff; /* Светло-синий фон */
    border-left: 5px solid #016ead !important;
    padding-left: 15px !important;
    font-weight: bold;
}
.accent-feature i {
    color: #016ead !important;
}

/* ================================================================= */
/* СЕКЦИЯ ОПЛАТЫ (PAYMENT) */
/* ================================================================= */

.payment-details {
    padding-top: 10px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.method-card {
    flex: 1 1 200px;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
.method-card:hover {
    transform: translateY(-3px);
}

.method-card i {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
}

.cash { background-color: #e8f5e9; color: #388e3c; } /* Зеленый для наличных */
.card { background-color: #e3f2fd; color: #1e88e5; } /* Синий для карты */
.invoice { background-color: #fff3e0; color: #ff9800; } /* Оранжевый для счета */

.small-note {
    font-size: 13px;
    color: #777;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
}

/* ================================================================= */
/* СЕКЦИЯ ВОЗВРАТА (RETURN) */
/* ================================================================= */

.return-rules li i {
    font-size: 18px;
}

.rule-danger {
    color: #c0392b; /* Красный для ограничений */
    font-weight: bold;
}
.rule-danger i {
    color: #c0392b !important;
}

.rule-success {
    color: #27ae60; /* Зеленый для положительных условий */
    font-weight: bold;
}

.agreement-note {
    font-style: italic;
    color: #555;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fcfcfc;
}

/* ================================================================= */
/* АДАПТАЦИЯ (MOBILE) */
/* ================================================================= */
@media (max-width: 768px) {
    .content-flex-container {
        flex-direction: column;
    }

    .reverse-on-mobile {
        flex-direction: column-reverse; /* На мобильных картинка должна быть снизу */
    }

    .content-image-block {
        order: 1; /* Изображение идет первым в обычной колонке */
        margin-bottom: 20px;
    }
    
    .content-text-block {
        order: 2;
    }
    
    .reverse-on-mobile .content-image-block {
        order: 2; 
    }
    .reverse-on-mobile .content-text-block {
        order: 1; 
    }

    .payment-methods {
        flex-direction: column;
    }
    .method-card {
        flex: 1 1 100%;
    }
}
/* ================================================================= */
/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ КОНТАКТОВ */
/* ================================================================= */

/* Наследование стиля списка контактов от ul li */
.contact-list {
    list-style: none;
    padding: 0;
}
.contact-list .detail-item {
    /* Используем стиль из .content-text-block ul li */
    padding: 12px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.contact-list .detail-item i {
    /* Общий стиль для иконок в деталях */
    color: #016ead; /* Синий для контактных иконок */
    margin-right: 15px;
    margin-top: 3px;
    font-size: 18px;
}

/* Стилизация блока реквизитов (Grid Layout) */
.requisites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки для реквизитов на широком экране */
    gap: 15px 30px;
    padding: 10px 0;
}

.req-item {
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.req-item span {
    font-weight: bold;
    color: #2c3e50;
    margin-right: 10px;
}

/* Стили для галереи документов */
.docs-gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 15px;
}

.doc-item {
    flex-basis: 45%;
    max-width: 45%;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.doc-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.docs-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

/* Адаптация реквизитов для мобильных */
@media (max-width: 768px) {
    .requisites-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }
    .docs-gallery {
        flex-direction: column;
        align-items: center;
    }
    .doc-item {
        max-width: 80%;
    }
}