/* Reset the theme defaults for our specific widget */
.theme-filter-widget .theme-filter-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.theme-filter-widget .theme-filter-item {
    list-style-type: none !important;
    margin: 0 !important;
}

/* Header Styling */
.theme-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.theme-filter-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Arrow Icon */
.theme-filter-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.theme-filter-widget.is-active .theme-filter-icon {
    transform: rotate(-135deg);
}

/* Toggle Logic */
.theme-filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.theme-filter-widget.is-active .theme-filter-content {
    max-height: 1000px;
    padding: 10px 0;
}

/* List Items */
.theme-filter-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #555;
    padding: 8px 0;
}

.theme-filter-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    margin-right: 12px;
    background: #fff;
    display: inline-block;
}