/* Carousel Styles for Product Cards */
.product-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-carousel .product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.product-carousel .product-image.active {
  opacity: 1;
  pointer-events: auto;
}

/* Carousel Navigation Buttons - ALWAYS VISIBLE */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8) !important;
  border: 3px solid white !important;
  border-radius: 50%;
  width: 40px !important;
  height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
  opacity: 1 !important;
}

.product-image-container:hover .carousel-btn {
  opacity: 1 !important;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.95) !important;
  border-color: var(--primary-green) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-50%) scale(1.15);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-btn svg {
  color: white !important;
  stroke: white !important;
  stroke-width: 3 !important;
}

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

.carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.carousel-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.carousel-indicators .indicator.active {
  background: var(--primary-green);
  width: 24px;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-btn {
    width: 36px !important;
    height: 36px !important;
    opacity: 1 !important;
  }
  
  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .carousel-indicators {
    bottom: 5px;
  }
  
  .carousel-indicators .indicator {
    width: 6px;
    height: 6px;
  }
  
  .carousel-indicators .indicator.active {
    width: 18px;
  }
}
