@charset "utf-8";
/* CSS Document */
/* Carousel and marker styling */
.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  height: 500px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  display: none; /* Added to completely hide inactive slides */
}

.slide.active {
  opacity: 1;
  pointer-events: all;
  display: block; /* Show active slide */
}

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

/* Rest of the styles */
.marker {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: #ef4444;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s, background-color 0.2s;
}

.marker:hover {
  transform: scale(1.1);
  background-color: #dc2626;
}

/* Product tooltip */
.product-tooltip {
  position: absolute;
  background: white;
  border-radius: 8px;
  padding: 16px;
  width: 200px;
 /*padding: 10px;
  width: 30%;*/
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 20;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  left: 50%;
  transform: translateX(-50%);
  top: 40px;
}

.product-tooltip.active {
  opacity: 1;
 /* transform: translateX(-50%) translateY(0);*/
	transform: translateX(0%) translateY(0);
  pointer-events: all;
}

.product-name {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}

.product-detail {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}

.add-to-cart {
  width: 100%;
  background-color: #414042;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  margin-top: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background-color 0.2s;
}

.add-to-cart:hover {
  background-color: #A7C7E7;
}

.cart-icon {
  margin-right: 5px;
color: white;
}

/* Fix to ensure controls are always visible */
.control {
	
	position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(39, 170, 225, 0.7);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 7;
	
 /* position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
  color: #333;*/
}

.control:hover {
  background: rgba(0, 0, 0, 0.8);;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.dot.active {
  background: #27AAE1;
}