/* ============================================================
   RAINCROSS ARMORY - Advanced Shop Filters & Product Cards
   ============================================================ */

/* ── SHOP LAYOUT ─────────────────────────────────────────── */
.ra-shop-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px 48px;
    align-items: start;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.ra-sidebar {
    position: sticky;
    top: calc(var(--ra-header-h, 120px) + 12px);
    /* Dynamic height - no max-height or overflow scrollbar */
    overflow: visible;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}
.ra-sidebar::-webkit-scrollbar { width: 4px; }
.ra-sidebar::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

/* ─── Mobile-only elements: hidden on desktop ─────────────────────────────── */
.ra-sidebar__mobile-header,
.ra-sidebar__mobile-footer {
    display: none;
}
/* On desktop, the scroll-body is just a transparent pass-through */
.ra-sidebar__scroll-body {
    display: block;
}

/* ── ACTIVE FILTERS ──────────────────────────────────────── */
.ra-sidebar-active-filters {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 12px 14px;
}
.ra-sidebar-active-filters__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #92400e;
    margin-bottom: 8px;
}
.ra-clear-all {
    font-size: 11px;
    color: #1e2d5a;
    text-decoration: underline;
    font-weight: 600;
}
.ra-sidebar-active-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ra-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #1e2d5a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.ra-chip-remove {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.ra-chip-remove:hover { opacity: 1; }

/* ── IN STOCK TOGGLE ─────────────────────────────────────── */
.ra-sidebar-widget--toggle {
    padding: 13px 16px !important;
    box-sizing: border-box !important;
}
.ra-toggle-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}
.ra-toggle-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex: 1;
    cursor: pointer;
    user-select: none;
    line-height: 1.3;
}
/* CA Compliant widget — override dark label color since it sits on dark bg */
.ra-sidebar-widget--ca .ra-toggle-label,
.ra-sidebar-widget--ca .ra-toggle-label--ca {
    color: #e8d5a3 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
    letter-spacing: 0.4px !important;
}
.ra-ca-filter-sub {
    display: block !important;
    width: 100% !important;
    color: rgba(201, 168, 76, 0.85) !important;
    font-size: 10.5px !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
    clear: both !important;
}
/* CA widget dark background — override plain white card */
.ra-sidebar-widget--ca {
    background: linear-gradient(135deg, #0f1a35 0%, #1a2748 50%, #1e2d5a 100%) !important;
    border: 1.5px solid rgba(201,168,76,0.45) !important;
    position: relative !important;
    overflow: visible !important;
    padding: 0 !important;
}
.ra-sidebar-widget--ca .ra-sidebar-widget__body,
.ra-sidebar-widget--toggle.ra-sidebar-widget--ca {
    display: block !important;
    padding: 13px 16px 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
/* Gold shimmer top accent */
.ra-sidebar-widget--ca::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #c9a84c, #f0d98a, #c9a84c, transparent) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
/* Toggle switch green when ON */
.ra-sidebar-widget--ca .ra-switch input:checked + .ra-switch__slider {
    background: #22c55e !important;
    border-color: #16a34a !important;
    box-shadow: 0 0 12px rgba(34,197,94,0.5) !important;
}
.ra-sidebar-widget--ca .ra-switch input:checked + .ra-switch__slider::before {
    transform: translateY(-50%) translateX(20px) !important;
}
/* Toggle off state */
.ra-sidebar-widget--ca .ra-switch__slider {
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}
.ra-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}
.ra-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.ra-switch__slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(0,0,0,0.08);
}
.ra-switch__slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
/* In Stock: gold when ON */
.ra-switch input:checked + .ra-switch__slider {
    background: #c9a84c;
    border-color: #b8963e;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.2);
}
.ra-switch input:checked + .ra-switch__slider::before {
    transform: translateY(-50%) translateX(20px);
}

/* ── SIDEBAR WIDGET ──────────────────────────────────────── */
.ra-sidebar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.ra-sidebar-widget__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    background: #f8f9fc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1a1a2e;
    cursor: pointer;
    border: none;
    text-align: left;
}
.ra-sidebar-widget--collapsible .ra-sidebar-widget__body {
    display: block;
    overflow: visible;   /* let content expand freely into main drawer scroll */
}
.ra-sidebar-widget--collapsible:not(.open) .ra-sidebar-widget__body {
    display: none;
}
.ra-widget-chevron {
    width: 16px;
    height: 16px;
    color: #6b7280;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.ra-sidebar-widget--collapsible.open .ra-widget-chevron {
    transform: rotate(180deg);
}
.ra-sidebar-widget__body {
    padding: 12px 14px;
}

/* ── FILTER SEARCH ───────────────────────────────────────── */
.ra-filter-search {
    width: 100%;
    padding: 7px 10px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    outline: none;
    margin-bottom: 8px;
    color: #374151;
    background: #f9fafb;
    box-sizing: border-box;
}
.ra-filter-search:focus { border-color: #c9a84c; background: #fff; }

/* ── FILTER LIST ─────────────────────────────────────────── */
.ra-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    /* Dynamic height - no scrollbar, grows with content */
}
.ra-filter-list::-webkit-scrollbar { width: 3px; }
.ra-filter-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.ra-filter-item {
    border-radius: 6px;
    transition: background 0.15s;
}
.ra-filter-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    line-height: 1.3;
}
.ra-filter-item label:hover { color: #1e2d5a; }
.ra-filter-item input[type="checkbox"],
.ra-filter-item input[type="radio"] {
    width: 15px;
    height: 15px;
    accent-color: #c9a84c;
    flex-shrink: 0;
    cursor: pointer;
}
.ra-filter-name {
    flex: 1;
    font-size: 12.5px;
}
.ra-filter-count {
    font-size: 11px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 1px 6px;
    border-radius: 10px;
    flex-shrink: 0;
}
.ra-filter-item:has(input:checked) .ra-filter-name {
    color: #1e2d5a;
    font-weight: 600;
}
.ra-filter-item:has(input:checked) .ra-filter-count {
    background: #1e2d5a;
    color: #fff;
}
.ra-filter-item.hidden { display: none; }

/* Price Range Slider - Redesigned */
.ra-price-range { padding: 4px 0 10px; }

/* Single glowing price badge - live updated by JS */
.ra-price-live-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 7px 12px;
    background: linear-gradient(135deg, #1a2240, #1e2d5a);
    border-radius: 10px;
    border: 1px solid rgba(201,168,76,0.35);
    box-shadow: 0 2px 10px rgba(30,45,90,0.18);
}
.ra-price-live-val {
    font-size: 13px;
    font-weight: 800;
    color: #f0d98a;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.ra-price-live-sep {
    font-size: 12px;
    color: rgba(201,168,76,0.55);
    font-weight: 300;
    padding: 0 2px;
}

.ra-price-range__track {
    position: relative;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    margin: 28px 0 18px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}
.ra-price-range__fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #c9a84c, #f0d98a);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(201,168,76,0.4);
}
.ra-price-range__inputs {
    position: relative;
    height: 0;
}
.ra-range-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    top: -30px;
    outline: none;
}
.ra-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid #1e2d5a;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(30,45,90,0.3), 0 0 0 3px rgba(201,168,76,0.22);
    transition: transform 0.1s, box-shadow 0.15s;
}
.ra-range-slider:active::-webkit-slider-thumb,
.ra-range-slider:hover::-webkit-slider-thumb {
    transform: scale(1.18);
    border-color: #c9a84c;
    box-shadow: 0 3px 12px rgba(30,45,90,0.4), 0 0 0 4px rgba(201,168,76,0.35);
}
.ra-range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid #1e2d5a;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(30,45,90,0.3);
    transition: transform 0.1s;
}
.ra-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}
/* Sleek navy-dollar input boxes */
.ra-price-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1.5px solid #d4d9ee;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(30,45,90,0.07);
}
.ra-price-input-wrap:focus-within {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15), 0 1px 3px rgba(30,45,90,0.07);
}
.ra-price-input-wrap span {
    padding: 0 9px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(160deg, #1a2240, #1e2d5a);
    border-right: 1.5px solid #d4d9ee;
    height: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}
.ra-price-min, .ra-price-max {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 8px;
    font-size: 13px;
    font-weight: 700;
    color: #1e2d5a;
    outline: none;
    width: 0;
    min-width: 0;
}
.ra-price-min::placeholder, .ra-price-max::placeholder {
    color: #b0b8cc;
    font-weight: 400;
}
.ra-price-sep {
    color: #c0c8d8;
    font-size: 18px;
    flex-shrink: 0;
    text-align: center;
    font-weight: 200;
    line-height: 1;
}
.ra-filter-apply-btn {
    width: 100%;
    margin-top: 10px;
    padding: 9px;
    background: #1e2d5a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}
.ra-filter-apply-btn:hover { background: #c9a84c; color: #1a1a2e; }

/* ── CATEGORY TREE ───────────────────────────────────────── */
.ra-cat-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ra-cat-tree__item {
    position: relative;
}
.ra-cat-tree__item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px;
    font-size: 12.5px;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
    gap: 4px;
}
.ra-cat-tree__item > a:hover { color: #1e2d5a; background: #f3f4f6; padding-left: 8px; }
.ra-cat-tree__item > a.active {
    color: #1e2d5a;
    font-weight: 700;
    background: #eef0f8;
}
.ra-cat-count {
    font-size: 11px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 1px 6px;
    border-radius: 10px;
    flex-shrink: 0;
    margin-left: auto;
}
.ra-cat-tree__item > a.active .ra-cat-count {
    background: #1e2d5a;
    color: #fff;
}
.ra-cat-tree__expand {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    z-index: 1;
}
.ra-cat-tree__expand[aria-expanded="true"] svg { transform: rotate(90deg); }
.ra-cat-tree__expand svg { width: 14px; height: 14px; transition: transform 0.2s; }
.ra-cat-children {
    padding-left: 14px;
    border-left: 2px solid #e5e7eb;
    margin-left: 8px;
}

/* ── MOBILE FILTER DRAWER ────────────────────────────────── */
.ra-filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #1e2d5a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ra-filter-toggle-btn svg { width: 16px; height: 16px; }
.ra-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.ra-filter-overlay.open { display: block; }

/* ── PRODUCT CARD UPDATES ────────────────────────────────── */
.ra-product-card__caliber {
    font-size: 10.5px;
    color: #6b7280;
    background: #f3f4f6;
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Select Options button */
.ra-select-options-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: 1.5px solid #1e2d5a;
    color: #1e2d5a;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.ra-select-options-btn:hover {
    background: #1e2d5a;
    color: #fff;
}

/* Variant count link */
.ra-variant-count-link {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #c9a84c;
    text-decoration: none;
    margin-top: 5px;
    font-weight: 600;
    transition: color 0.2s;
}
.ra-variant-count-link:hover { color: #1e2d5a; text-decoration: underline; }

/* ── SHOP TOOLBAR UPDATES ────────────────────────────────── */
.ra-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.ra-shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ra-results-count {
    font-size: 13px;
    color: #6b7280;
}
.ra-results-count strong { color: #1a1a2e; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ra-shop-wrap {
        grid-template-columns: 240px 1fr;
        gap: 16px;
        padding: 16px;
    }
}

@media (max-width: 768px) {
    /* ── Single column layout ── */
    .ra-shop-wrap {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .ra-filter-toggle-btn { display: flex; }
    .ra-shop-toolbar { flex-direction: row; }

    /* ── Full-width drawer (MidwayUSA style: edge to edge) ── */
    .ra-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;                  /* stretch to right edge */
        width: 100%;               /* full viewport width */
        max-width: none;           /* remove 360px cap */
        height: 100%;
        height: 100dvh;
        background: #fff;
        z-index: 99999;
        border-radius: 0;
        box-shadow: none;          /* no shadow needed — full width */
        padding: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        visibility: hidden;
    }
    .ra-sidebar.open {
        transform: translateX(0);
        visibility: visible;
    }

    /* ── Header: "Filters" bold left + ✕ right ── */
    .ra-sidebar__mobile-header {
        position: static;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-bottom: 1px solid #e5e7eb;
        flex-shrink: 0;
        background: #fff;
        color: #111;
    }
    .ra-sidebar__mobile-header h3 {
        font-size: 16px;
        font-weight: 700;
        margin: 0;
        color: #111;
        text-transform: none;
        letter-spacing: 0;
    }
    .ra-sidebar__close {
        position: static;
        background: none;
        border: none;
        border-radius: 0;
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 4px 8px;
        cursor: pointer;
        font-size: 20px;
        color: #374151;
        line-height: 1;
        touch-action: manipulation;
    }
    .ra-sidebar__close-text {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        line-height: 1;
        letter-spacing: 0;
    }
    .ra-sidebar__close:active { opacity: 0.6; }

    /* ── Scrollable body ── */
    .ra-sidebar__scroll-body {
        flex: 1 1 0%;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 16px;
    }

    /* ── Pinned footer: "Apply filters" + "Clear all" ── */
    .ra-sidebar__mobile-footer {
        position: static;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e5e7eb;
        /* Ensure it stays at bottom of flex column - never scrolls away */
        margin-top: auto;
    }
    .ra-show-results-btn {
        width: 100%;
        padding: 12px;
        background: #111;
        color: #fff;
        border: none;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        text-align: center;
        touch-action: manipulation;
        transition: background 0.15s;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .ra-show-results-btn:active { background: #333; }
    .ra-show-results-btn.loading { opacity: 0.7; }
    .ra-clear-filters-btn {
        width: 100%;
        padding: 10px;
        background: #f5f5f5;
        color: #333;
        border: 1px solid #aaa;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        touch-action: manipulation;
        transition: background 0.15s;
    }
    .ra-clear-filters-btn:active { background: #e5e5e5; }

    /* ── Body scroll lock (iOS + Android) ── */
    body.ra-filters-open {
        overflow: hidden;
        position: fixed;           /* iOS Safari: prevents rubber-band scroll behind drawer */
        width: 100%;               /* prevent layout shift when position:fixed */
        /* Note: scroll position is saved/restored in JS */
    }

    /* ── Overlay ── */
    .ra-filter-overlay { z-index: 99998; }
}

@media (max-width: 480px) {
    .ra-shop-wrap { padding: 8px; }
}

/* ── Subcategory link items (no checkbox, just nav links) ── */
.ra-filter-item--subcat {
    padding: 0;
}
.ra-filter-item--subcat a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    text-decoration: none;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    width: 100%;
}
.ra-filter-item--subcat a:hover {
    color: #1e2d5a;
    background: #f3f4f6;
    padding-left: 16px;
}
.ra-filter-item--subcat a.ra-subcat-active {
    color: #1e2d5a;
    font-weight: 700;
    background: #eef0f8;
}
.ra-filter-item--subcat .ra-filter-count {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    min-width: 28px;
    text-align: right;
    flex-shrink: 0;
}
.ra-filter-item--subcat a:hover .ra-filter-count,
.ra-filter-item--subcat a.ra-subcat-active .ra-filter-count {
    color: #c9a84c;
}

/* ── "View X more +" (desktop + mobile) ──────────────────────────────────── */
.ra-filter-item--hidden { display: none; }

.ra-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    padding: 4px 0 2px 0;
    margin-top: 2px;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.3;
    transition: color 0.12s;
    text-align: left;
}
.ra-view-more-btn:hover { color: #991b1b; }
.ra-view-more-btn__text {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ra-view-more-btn__icon { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Utility ─────────────────────────────────────────────── */
.ra-hidden { display: none !important; }

/* ── Sidebar title (mobile header label) ─────────────────── */
.ra-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

