/* ===== HERO ===== */
.products-hero {
  background: url("../img/products-hero.jpg") center/cover no-repeat;
  min-height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 15px;
}
.hero-content h1{
   color: var(--accent) !important;
}
.hero-content p{
   color: #fff !important;
}
.products-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 61, 82, 0.65);
  z-index: 0;
}
.products-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
   color: var(--accent) !important;
}
.products-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.products-hero p.lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  opacity: 0.95;
}

/* ===== INTRO (two-column) ===== */
.products-intro h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.products-intro p {
  color: #555;
  line-height: 1.7;
}
.products-intro img {
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== GRID ===== */
.products-grid {
  background: transparent;
  padding-top: 24px;
  padding-bottom: 48px;
}
.category-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  border: 1px solid rgba(0,0,0,0.04);
  padding-bottom: 16px;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(40,61,82,0.12);
}
.category-card .card-media {
  width: 100%;
  background: #f7f7f7;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card .card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
.category-card h5 {
  color: var(--primary);
  font-weight: 700;
}
.category-card p {
  color: #666;
}
.explore-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.explore-btn:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .products-intro .col-lg-6.text-center {
    margin-top: 24px;
  }
}
