/* Inventory Hero Section */
.inventory-hero {
    background: linear-gradient(rgba(45, 62, 80, 0.9), rgba(45, 62, 80, 0.9)), 
                url('https://images.unsplash.com/photo-1493238792000-8113da705763?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    margin-top: 76px;
    text-align: center;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h5 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
    color: var(--secondary);
}

.filter-checkbox {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.filter-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.filter-checkbox label {
    cursor: pointer;
    font-size: 0.95rem;
}

/* Price Slider */
.price-slider-container {
    padding: 0 10px;
}

.price-slider {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: var(--light-gray);
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.price-slider:hover {
    opacity: 1;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.price-range {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Inventory Header */
.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.inventory-header h4 {
    margin: 0;
    color: var(--secondary);
}

.sort-select {
    width: 200px;
    min-width: 200px;
}

/* Inventory Main */
.inventory-main {
    background-color: var(--light);
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    color: var(--primary);
    border: 1px solid var(--light-gray);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination .page-link:hover {
    background-color: rgba(217, 35, 45, 0.1);
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .filter-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .inventory-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-select {
        width: 100%;
        min-width: 100%;
    }
}