.product-card {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 100%);
}

.product-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  color: #fff;
}

.product-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

@media (max-width:768px) {
    .product-card {
        flex: auto !important;
        margin-bottom: 30px;
    }
}