/* Trending Wines Section Styles */
#trending-wines {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #fdf7f2;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #5c3d2e;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wine-carousel {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
}

.wine-card {
  flex: 0 0 25%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  height: 100%;
}

.wine-card:hover {
  transform: scale(1.03);
}

.wine-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.wine-name {
  font-size: 1rem;
  font-weight: bold;
  color: #5c3d2e;
  margin-bottom: 0.5rem;
}

.wine-info {
  font-size: 0.875rem;
  color: #7a5e50;
  margin-bottom: 0.5rem;
}

.wine-info a {
  color: #5c3d2e;
  text-decoration: none;
}

.wine-info a:hover {
  text-decoration: underline;
}

.wine-awards {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.award {
  background: #ffe4b2;
  border: 1px solid #f4d7a5;
  border-radius: 12px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  color: #5c3d2e;
  font-weight: bold;
  white-space: nowrap;
}

.wine-price {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.add-to-cart {
  background: #5c3d2e;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: auto;
}

.add-to-cart:hover {
  background: #3f291d;
}

.carousel-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #5c3d2e;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
}

.carousel-button.left {
  left: -2rem;
}

.carousel-button.right {
  right: -2rem;
}

.carousel-button:hover {
  color: #3f291d;
}

@media (max-width: 768px) {
  .wine-card {
    flex: 0 0 50%;
  }

  .carousel-button.left {
    left: -1rem;
  }

  .carousel-button.right {
    right: -1rem;
  }
}

@media (max-width: 480px) {
  .wine-card {
    flex: 0 0 100%;
  }
}
