.filter-dropdown {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.filter-icon.selected {
  opacity: 1;
  border-color: #0d6efd;
  background-color: #e7f3ff;
}

.filter-icon i {
  font-size: 24px;
  color: #495057;
}

.filter-icon.selected i {
  color: #0d6efd;
}

.filter-toggle {
  background: linear-gradient(45deg, #0d6efd, #0056b3);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.filter-toggle.active {
  background: linear-gradient(45deg, #198754, #146c43);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, calc(50% - 10px)), 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 745px) {
  .product-gallery {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 10px;
    align-items: stretch;
  }
}

.product-card {
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.product-card.hidden {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card .card {
  max-width: 25rem;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
}

.product-card .card-text {
  flex-grow: 1;
}

.product-card img {
  max-height: 300px;
}

.filter-label {
  font-size: 12px;
  margin-top: 3px;
  text-align: center;
}

.results-count {
  color: #6c757d;
  font-style: italic;
}

.filter-bar {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

/* Fix content overflow */

#Content {
  margin-left: 4.5rem !important;
  margin-right: 0 !important;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: calc(100vw - 4.5rem);
  overflow-x: hidden;
}

/* Ensure product gallery doesn't overflow */

