/* =========================
   EXPLORE LAYOUT
========================= */

.explore-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* =========================
   SIDEBAR
========================= */

.explore-sidebar {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-inner {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section:last-of-type {
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 12px;
}

/* =========================
   CATEGORY CHIPS
========================= */

.category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-chip {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.category-chip:hover {
    background: rgba(23, 85, 186, 0.06);
    color: #1755ba;
}

.category-chip.active {
    background: rgba(23, 85, 186, 0.10);
    color: #1755ba;
    font-weight: 600;
}

.category-chip.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #1755ba;
    border-radius: 0 3px 3px 0;
}

/* =========================
   SORT OPTIONS
========================= */

.sort-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
}

.sort-option:hover {
    background: rgba(23, 85, 186, 0.06);
    color: #1755ba;
}

.sort-option.active {
    background: rgba(23, 85, 186, 0.10);
    color: #1755ba;
    font-weight: 600;
}

.sort-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sort-option.active .sort-radio {
    border-color: #1755ba;
}

.sort-option.active .sort-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1755ba;
}

/* =========================
   CLEAR BUTTON
========================= */

.clear-filters-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-filters-btn:hover {
    border-color: #94a3b8;
    color: #64748b;
    background: rgba(0, 0, 0, 0.02);
}

/* =========================
   RESULTS HEADER
========================= */

.explore-main {
    flex: 1;
    min-width: 0;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
}

.results-count {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.sidebar-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    border-color: #1755ba;
    color: #1755ba;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .explore-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10000;
        max-height: 100vh;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        display: none;
        padding: 0;
    }

    .explore-sidebar.open {
        display: block;
    }

    .sidebar-inner {
        width: 300px;
        max-width: 85vw;
        margin: 80px auto;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        padding: 24px 20px;
    }

    .sidebar-toggle {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .explore-layout {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
}

