/* Dynamic Filters Sidebar */
.dynamic-filters-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dynamic-filters-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c49b63;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Select dropdown filter */
.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

/* Radio buttons */
.filter-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-radio input {
    margin: 0;
}

/* Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-checkbox input {
    margin: 0;
}

/* Color swatches */
.filter-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.filter-color.active {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px #c49b63;
}

.filter-color:hover {
    transform: scale(1.1);
}

/* Price range slider */
.price-range-slider {
    padding: 10px 0;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.price-inputs input {
    width: 50%;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

/* Filter actions */
.filter-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-filter {
    background: #c49b63;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-reset {
    background: #f3f4f6;
    color: #666;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Active filters display */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.active-filter {
    background: #f3f4f6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.active-filter .remove {
    cursor: pointer;
    color: #999;
}

.active-filter .remove:hover {
    color: #dc2626;
}

/* Responsive */
@media (max-width: 768px) {
    .dynamic-filters-widget {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease;
        border-radius: 0;
    }
    .dynamic-filters-widget.active {
        left: 0;
    }
    .filter-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: #c49b63;
        color: white;
        padding: 12px 16px;
        border-radius: 50px;
        cursor: pointer;
        z-index: 999;
    }
}