/* Custom Dropdown CSS */
.dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Button Styling */
  .filter-dropdown-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* Dropdown Menu (Hidden by Default) */
  .filter-dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 4px;
    padding: 8px 0;
    border: 1px solid #eee;
  }
  
  /* Show Dropdown on Hover (Alternative to Bootstrap JS) */
  .dropdown:hover .filter-dropdown-menu {
    display: block;
  }
  
  /* Dropdown Items Styling */
  .dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
  }
  
  .dropdown-item:hover {
    background: #f8f9fa;
  }
  
  /* Chevron Icon Animation */
  .filter-dropdown-btn i {
    transition: transform 0.3s ease;
  }
  
  .dropdown:hover .filter-dropdown-btn i {
    transform: rotate(180deg);
  }
  
/* Filter Dropdown Styles */
    .filter-dropdown-btn {
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        color: #333;
        padding: 8px 15px;
        border-radius: 4px;
        font-weight: 500;
    }
    
    .filter-dropdown-menu {
        max-height: 400px;
        overflow-y: auto;
        width: 250px;
        padding: 10px 0;
        border: 1px solid #eee;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .category-item, .subcategory-item {
        padding: 8px 15px;
        color: #333;
        transition: all 0.3s;
    }
    
    .category-item:hover, .subcategory-item:hover {
        background-color: #f5f5f5;
        color: #681a35;
    }
    
    .subcategory-item {
        padding-left: 30px;
    }
    
    /* Search Box Styles */
    .search-box-container {
        flex-grow: 1;
        margin: 0 20px;
        max-width: 400px;
    }
    
    .search-input {
        border-radius: 4px 0 0 4px;
        border-right: none;
    }
    
    .search-btn {
        background-color: #681a35;
        color: white;
        border-radius: 0 4px 4px 0;
    }
    
    /* Sidebar Filter Styles */
    .sidebar-filters {
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .sidebar-header {
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
        margin-bottom: 15px;
    }
    
    .sidebar-header h3 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
    }
    
    .clear-filters-btn {
        background: none;
        border: none;
        color: #681a35;
        font-size: 14px;
        padding: 0;
    }
    
    .filter-section {
        margin-bottom: 20px;
    }
    
    .filter-header {
        cursor: pointer;
        padding: 10px 0;
    }
    
    .filter-header h4 {
        font-size: 16px;
        font-weight: 500;
        margin: 0;
    }
    
    .filter-content {
        padding-top: 10px;
    }
    
    .filter-options {
        max-height: 200px;
        overflow-y: auto;
        margin-bottom: 10px;
    }
    
    .form-check {
        margin-bottom: 8px;
    }
    
    .form-check-input {
        margin-top: 0.25em;
    }
    
    .form-check-label {
        margin-left: 5px;
    }
    
    /* Price Range Styles */
    .price-range-container {
        margin-top: 10px;
    }
    
    .price-inputs {
        margin-bottom: 10px;
    }
    
    .price-input {
        width: 45%;
        text-align: center;
    }
    
    .price-separator {
        align-self: center;
    }
    
    .apply-filter-btn {
        width: 100%;
        background-color: #681a35;
        color: white;
        padding: 8px;
        margin-top: 10px;
    }
    
    .view-more-btn {
        background: none;
        border: none;
        color: #681a35;
        font-size: 14px;
        padding: 5px 0;
        width: 100%;
        text-align: left;
    }
    
    /* No Results Styles */
    .no-results-container {
        padding: 40px 20px;
    }
    
    .no-results-icon {
        font-size: 50px;
        color: #681a35;
        margin-bottom: 20px;
    }
    
    .no-results-title {
        color: #333;
        margin-bottom: 10px;
    }
    
    .no-results-text {
        color: #666;
        margin-bottom: 20px;
    }
    
    .continue-shopping-btn {
        background-color: #681a35;
        color: white;
        padding: 8px 20px;
        border-radius: 4px;
    }
    
    /* Product Card Styles */
    .product-m {
        transition: all 0.3s;
        margin-bottom: 30px;
    }
    
    .product-m:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .product-brand {
        color: #666;
        font-size: 14px;
    }
    
    /* Responsive Styles */
    @media (max-width: 991px) {
        .search-box-container {
            margin: 10px 0;
            max-width: 100%;
        }
    }
    
    @media (max-width: 767px) {
        .sidebar-filters {
            margin-bottom: 20px;
        }
    }