/* ── Banner Carousel ─────────────────────────────────────────── */
.custom-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 0;
  background: #f4faf6;
}

.carousel-container {
  position: relative;
  min-height: clamp(240px, 30vw, 420px);
  overflow: hidden;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: clamp(240px, 30vw, 420px);
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: var(--fs-heading);
  color: #0d3d20;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 35, 18, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.carousel-btn.prev {
  left: 18px;
}

.carousel-btn.next {
  right: 18px;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 28px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: #ffffff;
}

@media (max-width: 640px) {
  .carousel-container,
  .carousel-slide img {
    min-height: 220px;
    height: 220px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: var(--fs-heading);
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }
}
