/* PRODUCTS HERO */
.products-hero {
  background: linear-gradient(135deg, #1e90ff, #6a11cb);
  color: #fff;
  text-align: center;
  padding: 140px 20px 100px;
}

.products-hero-inner h1,
.products-hero-inner p {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1s ease forwards;
}

.products-hero-inner p {
  animation-delay: 0.2s;
}

.products-hero-inner h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 14px;
}

.products-hero-inner p {
  font-size: 16px;
  color: #eef2ff;
}

/* PRODUCTS SECTION */
.products-section {
  background: #f8f9fa;
  padding: 100px 60px;
}

.products-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* PRODUCT CARD */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

/* PRODUCT CAROUSEL - PORTRAIT STYLE */
.product-carousel {
  width: 100%;
  height: 320px; /* taller for portrait */
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 18px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f3f4f6;
}

.product-carousel img {
  width: auto;      /* let width adjust */
  height: 100%;     /* full height */
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.product-carousel img.active {
  opacity: 1;
}

/* PRODUCT TEXT */
.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
}

.product-card p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* WHATSAPP BUTTON */
.btn-whatsapp {
  margin-top: auto;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .products-section {
    padding: 50px 20px;
  }

  .products-hero-inner h1 {
    font-size: 28px;
  }

  .products-hero-inner p {
    font-size: 14px;
  }

  .product-carousel,
  .product-carousel img {
    height: 250px;
  }
}
