.products {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 96rem;
  margin: 0 auto 2rem;
}
.products__product {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: auto;
  margin: 2rem 0 4rem;
  padding: 1rem 1rem 2rem;
  font-family: "Playfair Display", serif;
  transition: box-shadow 0.3s ease;
}
.products__product:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (min-width: 60rem) {
  .products__product {
    width: calc(50% - 2rem);
  }
}
@media (min-width: 96rem) {
  .products__product {
    width: calc(33.33% - 2rem);
  }
}
@media (min-width: 120rem) {
  .products__product {
    width: calc(25% - 2rem);
  }
}
.products__product__product-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background-size: cover;
}
.products__product__product-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
  user-select: none;
}
.products__product__product-image img + img{
  opacity: 0;
  pointer-events: none;
  width: 100%;
  object-fit: cover;
  object-position: 0 0;
}
.products__product:hover .products__product__product-image img + img{
  opacity: 1;
}
.products__product p {
  position: relative;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0 2rem 2rem;
}
@media (min-width: 72rem) {
  .products__product p {
    font-size: 1.6rem;
  }
}
.products__product p:after {
  content: " ";
  display: block;
  position: absolute;
  bottom: 0;
  left: 5rem;
  width: calc(100% - 10rem);
  margin: 1rem auto;
  border-bottom: 1px solid #c5c287;
}
@media (min-width: 72rem) {
  .products__product p:after {
    left: 10rem;
    width: calc(100% - 20rem);
  }
}
.products__product .prices {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #333;
}
@media (min-width: 72rem) {
  .products__product .prices {
    font-size: 2rem;
  }
}
.products__product .prices .price.sale {
  color: #c5312d;
  font-size: 2.4rem;
}
.products__product .prices .price.sale + .regular {
  position: relative;
  font-size: 1.4rem;
  line-height: 1.2rem;
  margin: 0;
  color: #ccc;
  /* Revert price color test (delete this line) */
}
.products__product .prices .price.sale + .regular:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #c5312d;
  top: 60%;
  left: 0;
  transform: rotate(346deg);
}
.products__product .discount-label {
  display: flex;
  position: absolute;
  bottom: calc(73% - 1.5rem);
  left: 1rem;
  align-self: center;
  align-items: center;
  justify-content: center;
  vertical-align: baseline;
  width: auto;
  max-width: 7rem;
  margin: 0 0 -2.6rem;
  padding: 0rem 0.75rem 0.55rem;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #610b08 0%, #c5312d 100%);;
  /* Revert price color test (delete this line) */
  z-index: 10;
}
@media (min-width: 72rem) {
  .products__product .discount-label {
    position: absolute;
    top: -1rem;
    bottom: auto;
    left: auto;
    padding: 0.1rem 1.2rem 0.55rem;
    font-size: 2rem;
  }
}
.products__product .discount-label small {
  position: relative;
  bottom: -0.15rem;
}
.products__product .esto-3-message {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #999;
  text-align: center;
  font-family: "Source Sans Pro", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
      
.products__product .esto-3-message .instalments-badge,
.bl-coupon-code {
  color: #fff;
  background-color: #d42a46;
  background: linear-gradient(35deg, #771b2b 0%, #d42a46 100%);
  background-size: auto;
  margin: 0 0 0 4px;
  padding: 0 6px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.products__product .esto-3-message .instalments-badge {
  background: linear-gradient(35deg, #92676f 0%, rgb(247, 168, 181) 100%);
}

.products.products-latest .products__product p:after{
  left: 10rem;
  width: calc(100% - 20rem);
}

@media (min-width: 48rem) {
  .products.products-latest .products__product p:after{
    left: 4rem;
    width: calc(100% - 8rem);
  }
}

@media (min-width: 60rem) {
  .products.products-latest .products__product {
    width: 33.33%;
  }
}