/* Match OneNav .taxonomy-selects style */
#onenav-advanced-filters {
    background: transparent;
    box-shadow: none;
    padding: 0 !important;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px !important;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-label {
    font-size: 14px;
    color: #888;
    font-weight: normal;
    min-width: 60px;
    /* Align labels */
    margin-right: 10px;
}

.filter-items {
    flex: 1;
}

.filter-link {
    display: inline-block;
    cursor: pointer;
    padding: 4px 12px;
    margin-right: 8px;
    margin-bottom: 5px;
    border-radius: 20px;
    /* Rounded pills like OneNav */
    color: #666;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: normal;
    border: 1px solid transparent;
}

.filter-link:hover {
    color: var(--theme-color, #f1404b);
    background: rgba(241, 64, 75, 0.05);
}

.filter-link.active {
    background: var(--theme-color, #f1404b);
    color: #fff;
    box-shadow: 0 2px 5px rgba(241, 64, 75, 0.3);
}

/* Dark mode support */
body.io-black-mode .filter-label {
    color: #aaa;
}

body.io-black-mode .filter-link {
    color: #888;
}

body.io-black-mode .filter-link:hover {
    color: var(--theme-color, #f1404b);
    background: rgba(241, 64, 75, 0.1);
}

body.io-black-mode .filter-link.active {
    color: #fff;
    background: var(--theme-color, #f1404b);
}