/* Product Slider Styles */

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.slide-content {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 30px;
}

.slide-image {
  flex: 1;
  text-align: center;
}

.slide-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide-info {
  flex: 1;
}

.slide-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.slide-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 20px;
}

.slide-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 20px;
}

.slide-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  background: #007bff;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.badge.sale {
  background: #dc3545;
}

.badge.new {
  background: #28a745;
}

.slide-cta {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.slide-cta:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #007bff;
  transform: scale(1.2);
}

.progress-bar {
  height: 5px;
  background: #007bff;
  width: 0%;
  transition: width 0.1s linear;
}

.progress-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
}

.features-bar {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}

.feature i {
  color: #007bff;
  font-size: 1.2rem;
}

/* Reviews Section */
.reviews-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reviews-header {
  text-align: center;
  margin-bottom: 30px;
}

.reviews-header h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.average-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.rating-stars {
  display: flex;
  gap: 5px;
}

.rating-stars .star {
  color: #ddd;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.rating-stars .star.filled {
  color: #ffc107;
}

.rating-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
}

.rating-count {
  color: #666;
  font-size: 1rem;
}

.reviews-summary {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.summary-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.summary-item .percentage {
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
}

.summary-item .stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.summary-item .count {
  color: #666;
  font-size: 0.9rem;
}

.individual-reviews {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.review {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.review:last-child {
  border-bottom: none;
}

.reviewer-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.review-date {
  color: #999;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.review-stars {
  color: #ffc107;
  margin-bottom: 10px;
}

.review-content {
  color: #555;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content {
  animation: fadeIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .slide-content {
    flex-direction: column;
  }
  
  .slide-image, .slide-info {
    width: 100%;
  }
  
  .slide-title {
    font-size: 1.5rem;
  }
  
  .slide-subtitle {
    font-size: 1rem;
  }
  
  .slide-price {
    font-size: 1.5rem;
  }
  
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .slider-nav.prev {
    left: 10px;
  }
  
  .slider-nav.next {
    right: 10px;
  }
  
  .reviews-summary {
    flex-direction: column;
    align-items: center;
  }
}