.card-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 25px 25px;
  padding-top:20px;
  margin: 20px;
}

  
.product-card__container {
  display: block;
  position: relative;
  box-shadow: 4px 4px 5px 5px rgb(0 0 0 / 40%);
  min-height: 350px; /* 350px for catalog image and 3 lines of text below RS */
}


.product-content {
  color: #000;
  padding: 10px;
  font-size: .8rem;
  
}

.product-content li {
  font-size: .8rem;
}

.product-card__container:hover .product-card__content {
  opacity: 1;
}

.product-card__img {
  padding: 7.5px;
  padding-bottom: 10px;
  max-width: 100%;
  max-height: 250px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.product-card__content {
  position: absolute;
  bottom: 0;
  width: 90%;
  padding: 10px 5%;
  z-index: 1;
  opacity: .4;
  background-image: linear-gradient(rgba(64, 64, 63, 0.8), rgba(64, 64, 63, 0.8));
  transition: all 500ms ease;
}

.product-card__type {
  font-size: 1.20rem;
  font-family: Targetica, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center;
  color: black;
  text-decoration: underline;
  padding-top: 5px

}

.product-card__text {
  font-size: .75rem;
  margin: 0 0 5px;
  color: black:
} 


 /*-------- 1199 ends here ----------*/

@media screen and (max-width: 1600px) {
 .card-container {
    grid-template-columns: repeat(7, 1fr);
    max-width: 100%;
  }
}
/*-------- 991 ends here ----------*/

@media screen and (max-width: 1450px) {
  .card-container {
    grid-template-columns: repeat(6, 1fr);
    max-width: 100%;
  }
}
 
/*-------- 880 ends here ----------*/

@media screen and (max-width: 1300px) {
  .card-container {
    grid-template-columns: repeat(5, 1fr);
    max-width: 100%;
  }
}


/*-------- 767 ends here ----------*/

@media screen and (max-width: 1150px) {
.card-container {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }
}
/*-------- 630 ends here ----------*/

@media screen and (max-width: 1000px) {
.card-container {
    grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
  }
}

/*-------- 630 ends here ----------*/

@media screen and (max-width: 850px) {
.card-container {
    grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
  }
}

/*-------- 630 ends here ----------*/

@media screen and (max-width: 650px) {
.card-container {
    grid-template-columns: repeat(1, 1fr);
  max-width: 100%;
  }
}