.products-hero {
  text-align: center;
  padding: 120px 20px 60px;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('/assets/img/products-bg.webp') center/cover no-repeat;
}

#searchInput {
  width: 90%;
  max-width: 420px;
  padding: 12px;
  margin-top: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.products-trust {
  margin-top: 18px;
  font-size: 14px;
  color: #bbb;
  letter-spacing: 0.3px;
}


.product-grid {
  display: grid;
  gap: 25px;
  padding: 40px 20px;
  grid-template-columns: repeat(4, 1fr);   /* 👈 max 4 per row*/ 
  background: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url('/assets/img/pro-bg.webp') center;
}




/* Description styling */
.product-desc {
  color: #ddd;
  font-size: 14px;
  margin: 12px 0 14px;
  line-height: 1.6;
  min-height: 70px;
}

.product-card {
  background: #ffffff10;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  backdrop-filter: blur(5px);
  border: 1px solid #ffffff30;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px #0003;
}

.product-card img {
  width: 200px;
  height: 150px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.quote-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background: #13b1cd;
  color: white;
  border-radius: 6px;
  transition: 0.2s;
  box-shadow: 0 0 5px #13b1cd;
}

.product-card a,
.quote-btn {
    text-decoration: none;
    color: white;            /* optional */
    font-weight: 600;
}

.product-card .quote-btn {
  font-size: 14px;
  padding: 8px 12px;
  box-shadow: none;
}


.product-card a:hover,
.quote-btn:hover {
    text-decoration: none;   /* keeps it removed on hover */
}

.quote-btn:hover {
  background: #1474d4;
  box-shadow: 0 0 15px #1474d4
}

.products-footer {
  text-align: center;
  padding-bottom: 120px;
  padding-top: 100px;
}


.product-category {
  grid-column: 1 / -1;
  margin: 30px 0 5px;
  font-size: 26px;
  color: #13b1cd;
  text-align: left;
}


@media (max-width: 600px) {
  .products-hero {
    padding: 90px 16px 40px;
  }

  .products-hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .products-hero p {
    font-size: 0.95rem;
  }
}


@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);  /* 3 on medium screens */
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2 on tablets */
  }
}

@media (max-width: 540px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);  /* 1 on phones */
  }
}

@media (max-width: 600px) {
  #searchInput {
    font-size: 15px;
    padding: 10px;
  }

  .products-trust {
    font-size: 12.5px;
    line-height: 1.5;
    margin-top: 14px;
  }
}


@media (max-width: 540px) {
  .product-card {
    padding: 16px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .product-desc {
    font-size: 13.5px;
    min-height: unset;
  }
}

@media (max-width: 540px) {
  .product-card img {
    width: 160px;
    height: 120px;
  }
}


@media (max-width: 600px) {
  .product-category {
    font-size: 20px;
    margin: 24px 0 10px;
    text-align: center;
  }
}


@media (max-width: 600px) {
  .products-footer {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .products-footer h2 {
    font-size: 1.4rem;
  }

  .products-footer p {
    font-size: 0.95rem;
  }
}

