.products {
  padding: 1.8rem 0 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.product-card {
  position: relative;
  background: linear-gradient(180deg, #f3f4f6 0%, #eceff3 100%);
  border: 1px solid #cfd5df;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(27, 37, 56, 0.08);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #b7c0cd;
  box-shadow: 0 16px 30px rgba(23, 37, 64, 0.14);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 35%, transparent 70%, rgba(255, 255, 255, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #e7e9ed;
}

.product-card img.is-portrait {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #eef2f7 0%, #e3e8f0 100%);
  padding: 0.25rem;
}

.product-card img.is-landscape {
  object-fit: cover;
}

.product-card-body {
  padding: 0.7rem 0.85rem 0.9rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  margin: 0 0 0.25rem;
  color: #1e2f4d;
  font-size: 0.93rem;
  line-height: 1.2;
}

.product-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.product-enquire-btn {
  margin-top: 0.7rem;
  min-height: 32px;
  padding: 0.38rem 0.78rem;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: auto;
  align-self: flex-start;
  text-align: center;
  border-radius: 999px;
  color: #2e3c53;
  background: linear-gradient(180deg, #f3f6fa, #e2e8f1);
  border: 1px solid #c3ccd9;
  box-shadow: none;
}

.product-enquire-btn:hover {
  color: #1f2b3d;
  background: linear-gradient(180deg, #edf2f8, #d7e0ec);
  border-color: #aeb9c9;
  box-shadow: 0 6px 14px rgba(24, 35, 54, 0.12);
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
