/* ===== Page Banner ===== */
.page-banner {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #222;
}
.banner-overlay {
  text-align: center;
  color: #fff;
  z-index: 1;
}
.banner-overlay h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.banner-overlay p {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #ccc;
}

/* Bestseller 1 — Summer gradient */
.bestseller1-banner {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #2980b9 100%);
}

/* Bestseller 2 — Premium gradient */
.bestseller2-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #e2b84d 50%, #c49b33 100%);
}

/* ===== Hero Image Section ===== */
.bestseller-hero {
  width: 100%;
  padding: 0;
}
.hero-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.hero-image:hover img {
  transform: scale(1.03);
}

/* ===== Products Grid ===== */
.products-section {
  padding: 50px 40px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.products-grid .card-item {
  min-width: unset;
  max-width: unset;
}

/* Card entrance animation */
.products-grid .card-item {
  opacity: 0;
  transform: translateY(30px);
  animation: cardFadeIn 0.6s ease forwards;
}
.products-grid .card-item:nth-child(1) { animation-delay: 0.05s; }
.products-grid .card-item:nth-child(2) { animation-delay: 0.1s; }
.products-grid .card-item:nth-child(3) { animation-delay: 0.15s; }
.products-grid .card-item:nth-child(4) { animation-delay: 0.2s; }
.products-grid .card-item:nth-child(5) { animation-delay: 0.25s; }
.products-grid .card-item:nth-child(6) { animation-delay: 0.3s; }
.products-grid .card-item:nth-child(7) { animation-delay: 0.35s; }
.products-grid .card-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
