 /* Search and filter container */
  .search-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: white;
  }
  
  .search-section {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
  }
  
  .search-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .search-header h3 {
    margin: 0;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  .search-box {
    position: relative;
  }
  
  .search-box input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 46px;
  }
  
  .search-box input:focus {
    outline: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
  }
  
  .search-box input::placeholder {
    color: #999;
    font-weight: 300;
    font-size: 0.9rem;
  }
  
  .search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1rem;
  }
  
  .clear-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
  }
  
  .clear-search.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .clear-search:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
  }
  
  .search-stats {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  /* Tax Toggle Section */
  .tax-toggle-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .tax-toggle-section h4 {
    margin: 0;
    color: white;
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.95rem;
  }
  
  /* Custom Toggle Switch */
  .toggle-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  
  .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
  }
  
  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: .4s;
    border-radius: 34px;
  }
  
  .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }
  
  input:checked + .toggle-slider {
    background-color: #4CAF50;
  }
  
  input:checked + .toggle-slider:before {
    transform: translateX(24px);
  }
  
  .toggle-label {
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    min-width: 130px;
  }
  
  /* Filters styling - Compact and in single row */
  #filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
  }
  
  #filters::-webkit-scrollbar {
    height: 6px;
  }
  
  #filters::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
  }
  
  #filters::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
  }
  
  #filters::-webkit-scrollbar-thumb:hover {
    background: #ccc;
  }
  
  .filter {
    text-align: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 85px;
    max-width: 85px;
    border: 1.5px solid #e9ecef;
    background: white;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
  }
  
  .filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
    background: #f8f9ff;
  }
  
  .filter.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
  }
  
  .filter.active i {
    color: white;
    transform: scale(1.05);
  }
  
  .filter i {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #667eea;
    transition: all 0.3s ease;
    line-height: 1;
  }
  
  .filter p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.1;
  }
  
  /* Listings styling with better spacing */
  .listing-item {
    transition: all 0.3s ease;
    padding: 0.25rem;
  }
  
  .listing-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
  }
  
  .listing-card .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    height: 100%;
    margin: 0;
  }
  
  .listing-card .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }
  
  .listing-card .card-img-top {
    height: 190px;
    object-fit: cover;
  }
  
  .listing-card .card-body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 190px);
  }
  
  .listing-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
    line-height: 1.3;
    min-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .listing-card .card-text {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  
  .listing-card .price-section {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
  }
  
  .listing-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .tax-info {
    display: none;
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 500;
    margin-top: 0.1rem;
  }
  
  .listing-card .location {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .listing-card .location i {
    font-size: 0.75rem;
  }
  
  .listing-card .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.7rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* No results message */
  .no-results-container {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
  }
  
  .no-results-container i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
  }
  
  .no-results-container h3 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
  }
  
  .no-results-container p {
    color: #666;
    margin-bottom: 1.25rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Reset button style */
  #resetFiltersBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    cursor: pointer;
  }
  
  #resetFiltersBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  }
  
  /* Responsive */
  @media (max-width: 1200px) {
    .filter {
      min-width: 80px;
      max-width: 80px;
      padding: 0.5rem 0.6rem;
    }
    
    .filter i {
      font-size: 1rem;
    }
    
    .filter p {
      font-size: 0.7rem;
    }
  }
  
  @media (max-width: 992px) {
    .search-filter-container {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
      padding: 1rem;
    }
    
    .search-section {
      max-width: 100%;
    }
    
    .search-box input {
      height: 44px;
    }
    
    .tax-toggle-section {
      width: 100%;
      justify-content: center;
      padding: 0.6rem 1rem;
    }
    
    .tax-toggle-section h4 {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 768px) {
    #filters {
      gap: 0.6rem;
      padding: 0.6rem;
    }
    
    .filter {
      min-width: 75px;
      max-width: 75px;
      height: 65px;
      padding: 0.4rem 0.5rem;
    }
    
    .filter i {
      font-size: 0.95rem;
      margin-bottom: 0.25rem;
    }
    
    .filter p {
      font-size: 0.65rem;
      letter-spacing: 0.2px;
    }
    
    .search-header h3 {
      font-size: 1rem;
    }
    
    .search-box input {
      font-size: 0.9rem;
      padding: 0.7rem 0.7rem 0.7rem 2.2rem;
    }
    
    .listing-card .card-img-top {
      height: 170px;
    }
    
    .listing-card .card-body {
      padding: 0.9rem 1rem 1.1rem;
      height: calc(100% - 170px);
    }
    
    .listing-card .card-title {
      font-size: 0.95rem;
    }
    
    .listing-card .card-text {
      font-size: 0.82rem;
      -webkit-line-clamp: 2;
    }
  }
  
  @media (max-width: 576px) {
    .search-filter-container {
      padding: 0.9rem;
    }
    
    .search-header h3 {
      font-size: 0.95rem;
    }
    
    .tax-toggle-section {
      flex-direction: column;
      text-align: center;
      gap: 0.8rem;
      padding: 0.8rem;
    }
    
    .toggle-container {
      justify-content: center;
    }
    
    .toggle-label {
      min-width: auto;
    }
    
    #filters {
      gap: 0.5rem;
    }
    
    .filter {
      min-width: 70px;
      max-width: 70px;
      height: 60px;
      padding: 0.35rem 0.4rem;
    }
    
    .filter i {
      font-size: 0.9rem;
    }
    
    .filter p {
      font-size: 0.6rem;
    }
  }
  
  /* Row spacing for listings */
  .row.row-cols-lg-3.row-cols-md-2.row-cols-sm-1.row-cols-1 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.25rem;
  }
  
  /* Highlight for search terms */
  mark.search-highlight {
    background-color: #fff9c4;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 500;
  }