/* Styling für die Kategorie-Chips */
.category-chips-container {
  z-index: 1020;
  background-color: #fff;
  position: sticky; /* Sicherstellen, dass es sticky ist */
  top: 0; /* Klebt direkt am oberen Rand des Viewports */
}

.chips-wrapper {
  display: flex;
  overflow-x: auto; /* Horizontales Scrollen aktivieren */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1rem; /* Vertikales und horizontales Padding */
}

/* Scroll-Leiste wird jetzt auf allen Browsern angezeigt, wenn sie benötigt wird. */

.chip {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  margin-right: 0.6rem;
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.chip:hover, .chip:focus {
  background-color: #dc3545;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chip:last-child {
  margin-right: 0;
}
