/* Sidebar */
#filtersSidebar {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  height: 100%;
  background: #fff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

#filtersSidebar.open {
  right: 0;
}

#filtersOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 1040;
}

#filtersOverlay.show {
  display: block;
}

.filters-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.filters-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  border-top: 1px solid #ddd;
}

/* Filter count badge */
.filter-count {
  background: #cfe8ff;
  color: #004085;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}