.carousel {
  position: relative;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f3f3;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-button.prev {
  left: 12px;
}

.carousel-button.next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--color-red);
}

@media (max-width: 600px) {
  .carousel-button {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}