:root {
  --product-card-radius: 24px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 1.6rem;
  letter-spacing: -0.03em;
  text-align: center;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--product-card-radius);
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.12);
}
.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.product-body {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.product-body .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}
.product-body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}
.product-body p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  min-height: 68px;
  font-size: 0.97rem;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.price-row strong {
  font-size: 1.1rem;
  color: var(--secondary);
}
.price-row .btn {
  white-space: nowrap;
}
.price-row form {
  margin: 0;
}
.price-row form button {
  min-width: 100px;
}
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
  .product-card img {
    height: 220px;
  }
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  }
  .product-card img {
    height: 200px;
  }
  .product-body {
    padding: 1.1rem 1rem 1.1rem;
    gap: 0.75rem;
  }
  .product-body h3 {
    font-size: 1.08rem;
  }
  .product-body p {
    min-height: auto;
  }
  .price-row {
    gap: 0.5rem;
  }
  .price-row .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .product-card img {
    height: 180px;
  }
  .product-body {
    padding: 1rem;
  }
  .price-row {
    flex-direction: column;
    align-items: stretch;
  }
}
