

.filter-box {
  background: #fff;
  padding: 5px;
  font-size: 12px;
}

/* Categories */
.category-list span {
  display: inline-block;
  padding: 4px;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  margin: 1px ;
  font-size:  0.8rem;
  cursor: pointer;
  background: #fff;
}
.category-list span:hover {
  background: #1a5f54;
  color: #fff;
  border-color: #1a5f54;
}

.category-list span.selected {
  background: #1a5f54;
  color: #fff;
  border-color: #1a5f54;
}


.filter-body {
  margin-top: 1rem;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.80rem;
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.filter-item input {
  margin-top: 2px;
}

.filter-item span {
  white-space: nowrap;
}

.filter-item .count {
  margin-left: auto;
  color: #6a6f73;
  font-size: 0.85rem;
}

.show-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #065f46;
  text-decoration: none;
}

.filter-header {
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}


/* Smooth collapse */
.filter-body {
  transition: max-height 0.3s ease;
  overflow: hidden;
}

/* Categories scroll behavior */
.category-list.collapsed {
  max-height: 260px;
}

.category-list.expanded {
  max-height: 420px;
  overflow-y: auto;
}

/* Scrollbar subtle styling */
.category-list::-webkit-scrollbar {
  width: 6px;
}

.category-list::-webkit-scrollbar-thumb {
  background: #c7c9cc;
  border-radius: 4px;
}