/* Featured Products Carousel Styles */

.featured-products {
  padding: 80px 2rem;
  background: white;
}

.featured-products .container {
  max-width: 1400px;
  margin: 0 auto;
}

.featured-products .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.featured-products .section-header h2 {
  font-size: 2.5rem;
  color: #2c5f2d;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 3px;
}

.featured-products .section-header p {
  font-size: 1.1rem;
  color: #6a6a6a;
}

/* Featured Carousel Container */
.featured-products .featured-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.featured-products .featured-carousel-wrapper {
  overflow: hidden;
}

.featured-products .featured-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 2rem;
}

.featured-products .featured-product-card {
  flex: 0 0 calc(33.333% - 1.334rem);
  min-width: calc(33.333% - 1.334rem);
  background: #faf9f7;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #e8e5e0;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.featured-products .featured-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: #2c5f2d;
}

/* Fixed aspect ratio container for images */
.featured-products .featured-product-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f5f3f0, #e8e5e0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.featured-products .featured-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.featured-products .featured-product-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.featured-products .featured-product-info h3 {
  color: #2c5f2d;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.featured-products .featured-product-info p {
  color: #6a6a6a;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.featured-products .featured-product-price {
  font-size: 1.3rem;
  color: #2c5f2d;
  font-weight: 600;
  margin-bottom: 1rem;
}

.featured-products .featured-product-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #2c5f2d;
  color: white;
  padding: 0.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.featured-products .featured-product-link:hover {
  background: #1f4620;
  transform: scale(1.02);
}

/* Featured Carousel Navigation */
.featured-products .featured-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #2c5f2d;
  color: #2c5f2d;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  font-size: 1.2rem;
  font-weight: bold;
}

.featured-products .featured-carousel-nav:hover {
  background: #2c5f2d;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.featured-products .featured-carousel-nav.prev {
  left: 0;
}

.featured-products .featured-carousel-nav.next {
  right: 0;
}

.featured-products .featured-carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.featured-products .featured-carousel-nav:disabled:hover {
  background: white;
  color: #2c5f2d;
  transform: translateY(-50%);
}

/* Featured Carousel Dots */
.featured-products .featured-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.featured-products .featured-carousel-dots .featured-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e8e5e0;
  cursor: pointer;
  transition: all 0.3s;
}

.featured-products .featured-carousel-dots .featured-dot.active {
  background: #2c5f2d;
  width: 30px;
  border-radius: 5px;
}

.featured-products .featured-carousel-dots .featured-dot:hover {
  background: #2c5f2d;
}

.featured-products .view-all {
  text-align: center;
  margin-top: 3rem;
}

.featured-products .view-all a {
  display: inline-block;
  background: #2c5f2d;
  color: white;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.featured-products .view-all a:hover {
  background: #1f4620;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-products .featured-product-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .featured-products {
    padding: 60px 1rem;
  }

  .featured-products .section-header h2 {
    font-size: 2rem;
  }

  .featured-products .featured-carousel-container {
    padding: 0 50px;
  }

  .featured-products .featured-product-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .featured-products .featured-carousel-nav {
    width: 40px;
    height: 40px;
  }
}
