.card-product {
  height: 450px;
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: .35s ease;
}

.card-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s ease;
}

/* capa negra inferior */

.card-product::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( transparent, rgba(0,0,0,.9) );
}

.card-content {
  position: absolute;
  bottom: 35px;
  width: 100%;
  z-index: 2;
  text-align: center;
  color: white;
}

/* EFECTO AL PASAR */

.card-product:hover {
  transform: translateY(-15px);
  /*box-shadow: 0 25px 45px rgba(0,0,0,.35);*/
}

.card-product:hover img {
  transform: scale(1.12);
}

/* EFECTO AL HACER CLICK */

.card-product.active {
  transform: scale(1.08);
}

.card-product.active img {
  transform: scale(1.18);
}

.card-product.active::after {
  background: linear-gradient( transparent, rgba(0,0,0,.95) );
}

