.related-items-list {
  margin-bottom: 4rem;
}

.related-container {
  margin-bottom: 2rem;
}

.related-product {
  background-color: white;
  box-shadow: -1.7px 2.5px 31.5px 3.5px rgba(28, 24, 28, 0.08); 
  height: 360px;
  width: 280px;
  margin: 0 auto 2rem auto;
  text-align: center;
  padding: 2.3rem 0;
  position: relative;
}

@media screen and (min-width: 992px) {
  .related-product {
    height: 380px;
    width: 100%;
    margin: 0 0 2rem 0;
  }
}

.related-product h3 {
  font-size: 1.4rem;
  font-family: 'nunitoregular', sans-serif;
  letter-spacing: .5px;
}

.related-product h3 a {
  color: black;
}

.related-product__img {
  max-height: 210px;
  transform: scale(1);
  transition: transform .3s ease-in-out;
}

.related-product__img:hover {
  transform: scale(1.05);
}

.related-product__info {
  position: absolute;
  bottom: 2.3rem;
  left: 2rem;
  right: 2rem;
}

.related-product__price {
  font-size: 1.2rem;
  position: relative;
  margin: 2rem 3rem 0 3rem;
}

.related-product__price::before,
.related-product__price::after {
  content: '';
  display: none;
  height: 2px;
  width: 25%;
  background: #ebebeb;
}

@media screen and (min-width: 1200px) {
  
  .related-product__price::before,
  .related-product__price::after {
    display: block;
  }
  
}

.related-product__price::after {
  float: right;
}

.related-product__price span {
  font-family: 'nunitolight', sans-serif;
  display: inline-block;
  min-width: 84px;
  padding: 0 1.25rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}