#sidebar {
  position: fixed;
  left: 0;
  width: 16%;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: 1rem;
  box-shadow: var(--shadow);
  top: 0;
  height: 100vh;
  transition: top 0.2s, height 0.2s;
}

#sidebar button.btn {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  transition: var(--transition);
  border: none;
}

#sidebar button.btn:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.sort-section h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  #sidebar {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: auto;
    border-right: none;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }

  .filter-group {
    flex: 1 1 45%;
  }

  .content {
    margin-top: 1rem;
  }
}
