.product-card {
  background-color: #F5F8F8;
  width: 320px;
  height: 258px;
  border-radius: 32px;
  border:none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* row-gap: 24px; */

  font-family: 'ff3';
  font-size: 20px;

  transition: all 1ms ease-in-out !important;
  text-align: center;

  img {
    width: 168px;
    height: 168px;
    object-fit: contain;
  }
}

.product-card-text-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card-text {
  padding: 0px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #054887;
  position: relative;

  height: fit-content;
  max-height: 80px;

}

.product-card-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 24px;
  background: none;
}

.product-card:hover {
  background-color: #0054A6;

  .product-card-text {
    color: white;
  }
}

@media screen and (min-width: 768px) {
  .product-card {
    display: flex;
    text-align: center;
    width: 356.5px;
    height: 380px;
    border-radius: 32px;
    padding-top: 10px;

    row-gap: 10px;

    font-size: 24px;

    img {
      width: 210px;
      height: 210px;
    }
  }

  .product-card-text {
    padding: 0px 40px;
    max-height: 110px;
  }
}