
.carousel-item {
  transition: transform 0.6s ease-in-out !important;
}

/* ==============================================
   PRODUCT IMAGE CAROUSEL — FINAL VERSION
   For Bootstrap product carousels on product cards
============================================== */

/* --- Carousel viewport (dynamic height) --- */
.product-image-container .carousel-inner {
  width: 100%;
  height: auto; /* ✅ flexible height follows image */
}

/* --- Ensure images display correctly --- */
.product-image-container .carousel-inner img {
  width: 100%;
  height: auto; /* ✅ keeps full aspect ratio visible */
  object-fit: contain; /* show full image, no cropping */
  border-radius: 0.5rem;
  display: block;
}

/* ==============================================
   ARROW CONTROLS — CIRCULAR + CENTERED
============================================== */

.product-image-container .carousel-control-prev-icon,
.product-image-container .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  border: 2px solid rgba(227, 188, 92, 0.5);
}

.product-image-container .carousel-control-prev:hover .carousel-control-prev-icon,
.product-image-container .carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.85);
  border-color: rgba(227, 188, 92, 0.8);
  transform: scale(1.05);
}

.product-image-container .carousel-control-prev,
.product-image-container .carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  width: 8%;
  opacity: 0.9;
}

/* Bring arrows slightly inward */
.product-image-container .carousel-control-prev {
  left: 15%;
}

.product-image-container .carousel-control-next {
  right: 15%;
}

/* On smaller screens, bring them closer to edges */
@media (max-width: 768px) {
  .product-image-container .carousel-control-prev {
    left: 6%;
  }
  .product-image-container .carousel-control-next {
    right: 6%;
  }
}

/* ==============================================
   INDICATORS (DOTS) — HIDDEN
============================================== */
.product-image-container .carousel-indicators {
  display: none !important;
}

/* ==============================================
   CAMERA ICON OVERLAY
============================================== */
.product-image-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 7px;
  z-index: 10;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .product-image-icon {
    top: 5%;
    right: 5%;
    padding: 5px;
    font-size: 1rem;
  }
}

