/* Search Results Page Styles */

.filter-section {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    color: #333;
    user-select: none;
}

.filter-title i {
    font-size: 0.7rem;
    color: #999;
    transition: transform 0.2s;
}

.filter-content {
    padding-top: 12px;
}

.filter-content label {
    transition: color 0.2s;
}

.filter-content label:hover {
    color: #008AC9;
}

.filter-content input[type="checkbox"],
.filter-content input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

/* Products Grid - Reuse from product.css but ensure consistency */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    aside {
        display: none;
        /* Hide filters on mobile, could add toggle button */
    }
}

/* Pagination Styles */
.pagination {
    margin: 40px 0 20px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    background: #f5f5f5;
    border-color: #008AC9;
    color: #008AC9;
}

.page-link.active {
    background: #008AC9;
    border-color: #008AC9;
    color: white;
    pointer-events: none;
}

.page-dots {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    color: #999;
}

/* jQuery UI Slider Customization */
.ui-slider {
    background: #e0e0e0;
    border: none;
    height: 6px;
    border-radius: 3px;
}

.ui-slider-range {
    background: #008AC9;
}

.ui-slider-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid #008AC9;
    cursor: pointer;
    top: -6px;
}

.ui-slider-handle:focus {
    outline: none;
}