.pcforge-product-filters {
    padding: 0;
    background: transparent;
}
.pcforge-product-filters .filter-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.pcforge-product-filters .filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.pcforge-product-filters .filter-group > p:first-child {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.pcforge-product-filters .filter-group .filter-list,
.pcforge-product-filters .filter-group .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pcforge-product-filters .filter-group .filter-list li,
.pcforge-product-filters .filter-group .category-list li {
    margin-bottom: 8px;
}
.pcforge-product-filters .filter-group .filter-link,
.pcforge-product-filters .filter-group .category-link {
    display: inline;
    text-decoration: none;
    color: #0073aa;
    font-size: 14px;
}
.pcforge-product-filters .filter-group .filter-link:hover,
.pcforge-product-filters .filter-group .category-link:hover {
    text-decoration: underline;
}
.pcforge-product-filters .filter-group .filter-link.active {
    font-weight: 600;
    color: #005a87;
}
.pcforge-product-filters .category-count {
    color: #666;
    font-size: 12px;
    font-weight: normal;
    margin-left: 5px;
}

/* Brand search styles */
.brand-search-wrapper {
    margin-bottom: 15px;
}
.brand-search-input {
    width: 100%;
    padding: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.brand-search-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Brand list scrollable */
.brand-list-scrollable {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}
.brand-list-scrollable::-webkit-scrollbar {
    width: 6px;
}
.brand-list-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.brand-list-scrollable::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}
.brand-list-scrollable::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Active filters tags */
.active-filters-tags {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0073aa;
}
.active-filters-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.active-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.active-filter-tag:hover {
    background-color: #005a87;
    transform: translateY(-1px);
}
.active-filter-tag__label {
    line-height: 1.2;
}
.active-filter-tag .remove-filter {
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.active-filter-tag .remove-filter:hover,
.active-filter-tag .remove-filter:focus-visible {
    opacity: 1;
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}
.clear-all-filters {
    display: inline-block;
    padding: 6px 12px;
    background-color: #dc3232;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.clear-all-filters:hover {
    background-color: #a02626;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* Brand item hide/show for search */
.brand-item {
    transition: opacity 0.2s ease;
}
.brand-item[style*="display: none"] {
    opacity: 0;
}
.brand-item .filter-link {
    display: inline;
}
