.card-carousel-wrapper {
  position: relative;
  margin: 20px 0;
}

.card-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.card-scroll-container .card-wrapper {
  display: inline-block;
  width: 300px;
  margin-right: 20px;
  vertical-align: top;
  white-space: normal;
}

.card-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.card-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.card-scroll-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.card-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
}

.carousel-arrow.left {
  left: -20px;
}

.carousel-arrow.right {
  right: -20px;
}

.carousel-arrow:disabled {
  background: rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
}
