.applefixpros-filters-wrapper {
    
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filters-sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reset-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.reset-btn:hover {
    background: #c0392b;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options.scrollable {
    max-height: 200px;
    overflow-y: auto;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.filter-options label:hover {
    background: #e8e8e8;
}

.filter-options label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.filter-options label.disabled:hover {
    background: transparent;
}

.filter-checkbox {
    cursor: pointer;
}

#price-slider {
    margin: 15px 0;
    height: 8px;
}

.price-display {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.products-main {
    flex: 1;
}

.sort-wrapper {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.products-count {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h3 {
    padding: 15px;
    font-size: 16px;
    margin: 0;
    min-height: 60px;
}

.product-item .price {
    padding: 0 15px 15px;
    font-size: 18px;
    font-weight: 700;
    color: #0071e3;
}

.loader {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #999;
}

#products-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .applefixpros-filters-wrapper {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
        position: static;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}