/* ============================================================
   ДЕПОЗИТЫ — стили для /banks/depozity/{slug} и блока «3 карточки»
   Подключается только в шаблонах раздела депозитов.
   ============================================================ */

/* Шапка страницы категории */
.deposits-category .section-info {
    padding: 24px 0 8px;
}
.deposit-seo-block.xs-mt-30.xs-mb-30 h2 {
    font-size: 20px;
    font-weight: 500;
}
.deposits-category .breadcrumb {
    margin-bottom: 12px;
    background: transparent;
    padding: 0;
}

.deposits-category .breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.deposits-category .breadcrumb-item a:hover {
    color: #0d6efd;
}

.deposits-category .breadcrumb-item.active {
    color: #999;
}

.deposits-category .section-info__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.2;
}

.deposits-category .section-info__description {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    /*max-width: 760px;*/
}

/* Табы между категориями */
.deposits-category .nav-tabs {
    border-bottom: 1px solid #e5e5e5;
    margin: 20px 0 0;
    padding: 0;
}

.deposits-category .nav-tabs .nav-link {
    color: #666;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 18px;
    font-weight: 500;
    background: transparent;
    border-radius: 0;
    transition: all 0.15s ease;
}

.deposits-category .nav-tabs .nav-link:hover {
    color: #0d6efd;
    border-bottom-color: #e5e5e5;
    background: transparent;
}

.deposits-category .nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: transparent;
}

.deposits-category .nav-tabs .badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Калькулятор */
.deposit-calculator {
    background: #f7f9fb !important;
    border: 1px solid #e5e9ee;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin: 20px 0 16px;
}

.deposit-calculator .form-label {
    font-size: 12px;
    color: #777;
    font-weight: 500;
    margin-bottom: 4px;
}

.deposit-calculator .form-control {
    font-size: 16px;
    font-weight: 500;
    height: 42px;
    border: 1px solid #d8dde3;
    border-radius: 6px;
    padding: 6px 12px;
    background: #fff;
}

.deposit-calculator .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.1);
    outline: none;
}

/* Блок сортировки */
.deposit-sort {
    margin: 8px 0 16px;
    gap: 6px;
}

.deposit-sort .btn-sm {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 14px;
    border: 1px solid #d8dde3;
}

.deposit-sort .btn-outline-secondary {
    color: #666;
    background: #fff;
}

.deposit-sort .btn-outline-secondary:hover {
    color: #0d6efd;
    border-color: #0d6efd;
    background: #fff;
}

.deposit-sort .btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* Список депозитов */
.deposit-list {
    margin: 16px 0;
}

.deposit-row {
    padding: 16px 8px;
    margin: 0 0 4px;
    border-bottom: 1px solid #eef0f3;
    transition: background 0.15s ease;
}

.deposit-row:hover {
    background: #fafbfc;
}

.deposit-row:last-child {
    border-bottom: none;
}

.deposit-row--featured {
    background: #fff8e1 !important;
    border-bottom: 1px solid #f0e0a8 !important;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 16px 12px !important;
}

.deposit-row--featured:hover {
    background: #fff5d4 !important;
}

.deposit-row .image-48 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eef0f3;
    padding: 3px;
}

.deposit-row .fw-medium {
    font-size: 15px;
    color: #222;
}

.deposit-row .text-muted {
    color: #888 !important;
}

.deposit-row .badge.bg-warning {
    background: #ffc107 !important;
    color: #6a4d00 !important;
    font-size: 10px !important;
    padding: 2px 7px;
    border-radius: 4px;
    vertical-align: middle;
    font-weight: 600;
}

.deposit-row .deposit-income {
    color: #1d9e75 !important;
    font-size: 16px;
    font-weight: 600;
}

.deposit-row .btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 6px;
}

.deposit-row .btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
}

.deposit-row .btn-outline-primary {
    color: #0d6efd;
    border-color: #cdd6e0;
    background: #fff;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 6px;
}

.deposit-row .btn-outline-primary:hover {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* Пустой список */
.deposits-category .alert-light {
    background: #f7f9fb;
    border: 1px dashed #d8dde3;
    color: #888;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

/* SEO-блок снизу */
.deposit-seo-block {
    margin: 40px 0;
    padding-top: 24px;
    border-top: 1px solid #eef0f3;
}

.deposit-seo-text {
    font-size: 16px;
    line-height: 1.45;
    color: #333;
}

.deposit-seo-text h2 {
    font-size: 20px;
    font-weight: 500;
    margin: 24px 0 12px;
    color: #222;
}

.deposit-seo-text h2:first-child {
    margin-top: 0;
}

.deposit-seo-text p {
    margin: 0 0 14px;
}

.deposit-seo-text ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.deposit-seo-text li {
    margin: 0 0 6px;
}

/* FAQ — нативный аккордеон на details/summary */
.deposit-faq {
    margin-top: 14px;
    border-top: 1px solid #eef0f3;
}

.deposit-faq__item {
    border-bottom: 1px solid #eef0f3;
}

.deposit-faq__question {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 4px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    transition: color 0.15s ease;
    user-select: none;
}

.deposit-faq__question::-webkit-details-marker {
    display: none;
}

.deposit-faq__question::marker {
    display: none;
    content: '';
}

.deposit-faq__question:hover {
    color: #0d6efd;
}

.deposit-faq__chevron {
    flex-shrink: 0;
    color: #999;
    transition: transform 0.2s ease, color 0.15s ease;
}

.deposit-faq__item[open] .deposit-faq__question {
    color: #0d6efd;
    padding-bottom: 8px;
}

.deposit-faq__item[open] .deposit-faq__chevron {
    transform: rotate(180deg);
    color: #0d6efd;
}

.deposit-faq__answer {
    padding: 0px 4px 20px;
    font-size: 16px;
    line-height: 1.45;
    color: #333;
}

@media (max-width: 767px) {
    .deposit-faq__question {
        font-size: 15px;
        padding: 16px 4px;
    }
}

/* ============ Блок «3 карточки» (для главной и т.п.) ============ */

.deposits-block {
    margin: 32px 0;
}

.deposits-block h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
}

.deposits-block .card {
    border: 1px solid #e5e9ee;
    border-radius: 12px;
    transition: all 0.15s ease;
    background: #fff;
}

.deposits-block .card:hover {
    border-color: #cdd6e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.deposits-block .card.border-2 {
    border-width: 2px !important;
}

.deposits-block .card-body {
    padding: 24px;
}

.deposits-block .card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
}

.deposits-block .card-text {
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.deposits-block ul.list-unstyled {
    margin: 0 0 18px;
    padding: 0;
}

.deposits-block ul.list-unstyled li {
    font-size: 13px;
    margin: 4px 0;
}

.deposits-block .btn {
    font-weight: 500;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
}

/* ============ Мобильный лейаут ============ */

@media (max-width: 767px) {
    .deposits-category .section-info__title {
        font-size: 24px;
    }

    .deposits-category .nav-tabs {
        overflow-x: none;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .deposits-category .nav-tabs .nav-link {
        padding: 10px 14px;
        font-size: 14px;
    }

    .deposit-row {
        padding: 14px 8px;
    }

    .deposit-row .col-md-1,
    .deposit-row .col-md-2,
    .deposit-row .col-md-4 {
        margin-top: 8px;
    }

    .deposit-row .text-md-end {
        text-align: left !important;
    }
}



[data-theme="dark"] {
.deposits-category .section-info__description {
    color: #fff;
}
.deposit-seo-text h2 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}
.deposit-seo-text {
    color: #fff;
}
.deposit-faq__question {
    color: #fff;
}
.deposit-faq__answer {
    color: #fff;
}
.deposit-row .fw-medium {
    color: #fff;
}
.deposits-category .nav-tabs .nav-link {
    color: #b0b0c8;
}
.deposit-row .text-muted {
    color: #b0b0c8 !important;
}
.deposit-calculator {
    background: #1C1A2D !important;
    border: 1px solid #47426f;
}

.deposit-calculator .form-control
{
    border: 1px solid #47476e;
    background: #0f0f1a;
}
.deposit-sort .btn-outline-secondary {
    color: #fff;
    background: #1a1a2e;
}
.deposit-sort .btn-sm {
    border: 1px solid #4e4e80;
}
.deposit-row:hover {
    background: #1a1a2e;
}
}