/* Filtering and Sorting Styles */
.the-outlet-filters {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.the-outlet-filters h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    margin-right: 8px;
}

.price-slider-container {
    padding: 10px 0;
}

.price-slider {
    height: 5px;
    background: #ddd;
    position: relative;
    margin: 0 10px 15px;
    border-radius: 5px;
}

.price-slider .ui-slider-range {
    background: #000;
    height: 5px;
    position: absolute;
    border-radius: 5px;
}

.price-slider .ui-slider-handle {
    width: 15px;
    height: 15px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    margin-left: -7.5px;
    cursor: pointer;
}

.price-range {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.filter-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.apply-filters {
    background: #000;
    color: #fff;
}

.apply-filters:hover {
    background: #333;
}

.reset-filters {
    background: #eee;
    color: #333;
}

.reset-filters:hover {
    background: #ddd;
}

/* Sorting Styles */
.the-outlet-sorting {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.the-outlet-sorting h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.the-outlet-sorting select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    background-color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .the-outlet-filters,
    .the-outlet-sorting {
        padding: 15px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions button {
        width: 100%;
    }
}

/* Active Filter Indicators */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.active-filter {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.active-filter .remove {
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* Loading Indicator */
.products-loading {
    text-align: center;
    padding: 30px;
}

.products-loading:after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
