/* Category Carousel Component */
.category-carousel {
  background-color: #ffffff;
  border-radius: 15px;
  max-width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.category-buttons {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  justify-content: flex-start;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
}

.category-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 9999px;
  padding: 0.5em 1em;
  font-size: 1.1rem;
  font-weight: 500;
  background-color: #f5f5f5;
  color: #363636;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.category-btn:hover {
  background-color: #e8e8e8;
}

.category-btn.is-active {
  background-color: #363636;
  color: #ffffff;
}

.category-description {
  background-color: #f5f5f5;
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #444;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-images {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
}
.category-buttons::-webkit-scrollbar,
.category-images::-webkit-scrollbar {
  height: 6px;
}

.category-buttons::-webkit-scrollbar-track,
.category-images::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 3px;
}

.category-buttons::-webkit-scrollbar-thumb,
.category-images::-webkit-scrollbar-thumb {
  background: #363636;
  border-radius: 3px;
}

.category-image-wrapper {
  flex-shrink: 0;
  width: 350px;
  border-radius: 15px;
  overflow: hidden;
}

.category-image-wrapper img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}
