.easy-filters-container {
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: opacity 0.2s ease;
}
.easy-filter-group {
    margin-bottom: 20px;
}
.easy-filter-group:last-child {
    margin-bottom: 0;
}
.easy-filter-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}
.easy-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.easy-filter-list li {
    margin-bottom: 8px;
    transition: opacity 0.2s ease;
}
.easy-filter-list li:last-child {
    margin-bottom: 0;
}
.easy-filter-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #444;
}
.easy-filter-list input[type="checkbox"] {
    margin-right: 8px;
}
.easy-filter-list li.is-disabled {
    opacity: 0.4;
}
.easy-filter-list li.is-disabled label {
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Color Grid Styles */
.easy-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    gap: 4px;
}
.easy-color-grid li {
    margin-bottom: 0 !important;
}
.easy-color-grid label {
    justify-content: center;
    position: relative;
    padding: 0;
}
.easy-color-grid input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}
.easy-color-grid .color-name {
    display: none;
}
.easy-filter-swatch {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.easy-color-grid input[type="checkbox"]:checked + .easy-filter-swatch {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111;
}
.easy-color-grid input[type="checkbox"]:focus-visible + .easy-filter-swatch {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
.easy-filter-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.easy-filter-group.is-closed .easy-filter-list {
    display: none;
}
.easy-filter-group.is-closed .easy-filter-caret {
    transform: rotate(-90deg);
}
.easy-filter-caret {
    transition: transform 0.3s;
    font-size: 12px;
}

/* Hide terms that have 0 products upon selection */
.easy-filter-list li.is-disabled {
    display: none !important;
}

.easy-ordering-container { margin-bottom: 20px; }
.easy-ordering-select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; background: #fff; font-size: 14px; cursor: pointer; outline: none; transition: border-color 0.2s ease; }
.easy-ordering-select:focus { border-color: #333; }

.easy-result-count-container { margin-bottom: 20px; font-weight: 500; font-size: 14px; color: #333; }

.easy-category-list { list-style: none; padding: 0; margin: 0; }
.easy-category-child { padding-left: 15px; margin-top: 5px; border-left: 1px solid #eee; }
.easy-category-item { margin-bottom: 8px; }
.easy-category-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.easy-category-toggle { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; cursor: pointer; color: #666; transition: transform 0.2s ease; }
.easy-category-toggle:hover { color: #000; background: #f5f5f5; border-radius: 4px; }
.easy-category-item.is-open > .easy-category-row > .easy-category-toggle { transform: rotate(180deg); }
.easy-category-toggle-empty { width: 20px; height: 20px; }
.easy-category-link { text-decoration: none; color: #333; font-weight: 500; transition: color 0.2s ease; }
.easy-category-link:hover { color: #000; }
.easy-category-count { color: #999; font-size: 12px; }
.easy-category-wrapper { padding: 10px 0; }
