.sales {
  margin-bottom: 5rem;
}

.sales__cards {
  margin-top: 5.2rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.sales__cards::before {
  content: '';
  position: absolute;
  top: -3.2rem;
  left: 0;
  height: 0.1rem;
  width: 100%;
  background-color: rgba(246, 243, 240, 0.2);
  z-index: 5;
}

.sales__cards .card,
.single-products__cards .card {
  width: 100%;
  height: 0;
  padding-bottom: 67%;
  margin-bottom: 2.2rem;
  overflow: hidden;
}

.sales__cards .card__link,
.single-products__cards .card__link {
  display: none;
}

.sales__cards .card__link-text,
.single-products__cards .card__link-text {
  z-index: 10;
  padding-bottom: 0;
  position: absolute;
  top: 55%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.sales__cards .card__background-container,
.single-products__cards .card__background-container {
  position: absolute;
  width: 100%;
  height: 90%;
  left: 0;
  bottom: 0;
  background: rgba(246, 243, 240, 0.05);
  z-index: 1;
  overflow: hidden;
}

.sales__cards .card__background-container picture,
.sales__cards .card__background-container .card__background,
.single-products__cards .card__background-container picture,
.single-products__cards .card__background-container .card__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center right;
  object-position: center right;
}

.sales__cards .card__image-container,
.single-products__cards .card__image-container {
  position: absolute;
  height: 100%;
  top: 50%;
  width: 50%;
  right: -2.5%;
  z-index: 2;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.sales__cards .card__image-container .card__image,
.sales__cards .card__image-container picture,
.single-products__cards .card__image-container .card__image,
.single-products__cards .card__image-container picture {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: right bottom;
  object-position: right bottom;
}

.sales__cards .card__container,
.single-products__cards .card__container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  padding: 4.7rem 0 1.6rem 2rem;
}

.sales__cards .card__subtitle,
.single-products__cards .card__subtitle {
  width: 70%;
  font-size: 1.2rem;
  line-height: 180%;
  font-weight: 400;
}

.sales__cards .card__title,
.single-products__cards .card__title {
  width: 70%;
  margin-top: 0.7rem;
  font-family: Roboto Slab;
  font-size: 2.4rem;
  line-height: 110%;
  font-weight: 400;
}

.sales__cards .card__prices,
.single-products__cards .card__prices {
  margin-top: 2.4rem;
  display: block;
}

.sales__cards .card__prices .old_price span,
.single-products__cards .card__prices .old_price span {
  font-family: Montserrat;
  font-size: 1.4rem;
  line-height: 140%;
  color: #F6F3F0;
  opacity: 0.5;
}

.sales__cards .card__prices .old_price span::before,
.single-products__cards .card__prices .old_price span::before {
  content: "";
  position: absolute;
  bottom: 0.84rem;
  left: 0;
  width: 100%;
  height: 0.1rem;
  -webkit-transform: rotate(-8.46deg);
  -ms-transform: rotate(-8.46deg);
  transform: rotate(-8.46deg);
  background-color: #9C6460;
}

.sales__cards .card__prices .new_price,
.single-products__cards .card__prices .new_price {
  font-family: Roboto Slab;
  font-size: 1.8rem;
  line-height: 100%;
  color: #75B743;
  margin-left: 0;
}

.sales__cards .card__logo,
.single-products__cards .card__logo {
  max-width: 10.2rem;
  width: 100%;
  height: 2.2rem;
  position: absolute;
  left: 2rem;
  bottom: 1.6rem;
}

.sales__cards .card__logo picture,
.sales__cards .card__logo img,
.single-products__cards .card__logo picture,
.single-products__cards .card__logo img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.sales__cards .card_circle,
.single-products__cards .card_circle {
  width: 4.4rem;
  height: 4.4rem;
  position: absolute;
  right: 33%;
  bottom: 1.6rem;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
}

.sales__cards .card_circle.orange,
.single-products__cards .card_circle.orange {
  background-image: url("/wp-content/themes/eurodrinks/build/static/images/general/orange circle.svg");
}

.sales__cards .card_circle.green,
.single-products__cards .card_circle.green {
  background-image: url("/wp-content/themes/eurodrinks/build/static/images/general/green circle.svg");
}

.sales__cards .card__image-only,
.single-products__cards .card__image-only {
  background: none;
}

body.white-theme .sales__cards::before {
  background-color: rgba(27, 29, 32, 0.2);
}

body.white-theme .sales__cards .card__background-container {
  background: rgba(27, 29, 32, 0.05);
}

body.white-theme .sales__cards .card__link {
  background-color: rgba(246, 243, 240, 0.85);
}

body.white-theme .sales__cards .card__prices .old_price span {
  color: #212326;
}

body.white-theme .single-products__cards::before {
  background-color: rgba(27, 29, 32, 0.2);
}

body.white-theme .single-products__cards .card__background-container {
  background: rgba(27, 29, 32, 0.05);
}

body.white-theme .single-products__cards .card__link {
  background-color: rgba(246, 243, 240, 0.85);
}

body.white-theme .single-products__cards .card__prices .old_price span {
  color: #212326;
}

@media only screen and (min-width: 480px) {
  .sales__cards .card,
  .single-products__cards .card {
    height: 0;
    padding-bottom: 51%;
  }
}

@media only screen and (min-width: 600px) {
  .sales__cards {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .sales__cards .card,
  .single-products__cards .card {
    padding-bottom: 36%;
  }

  .sales__cards .card,
  .single-products__cards .card {
    width: calc(50% - 1.6rem);
  }
}

@media only screen and (min-width: 769px) {
  .sales__cards .card,
  .single-products__cards .card {
    padding-bottom: 33%;
  }
}

@media only screen and (min-width: 968px) {
  .sales__cards .card,
  .single-products__cards .card {
    padding-bottom: 27%;
  }
}

@media only screen and (min-width: 1023px) {
  .sales__cards {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
  }

  .sales__cards .card,
  .single-products__cards .card {
    padding-bottom: 25%;
  }

  .sales__cards .card,
  .single-products__cards .card {
    width: 45%;
  }

  .sales__cards .card:nth-last-of-type(2n+1),
  .single-products__cards .card:nth-last-of-type(2n+1) {
    margin-left: 3.2rem;
  }

  .sales__cards .card:nth-last-of-type(4n+1),
  .sales__cards .card:nth-last-of-type(4n+2),
  .single-products__cards .card:nth-last-of-type(4n+1),
  .single-products__cards .card:nth-last-of-type(4n+2) {
    left: 7.4%;
  }

  .sales__cards .card__link,
  .single-products__cards .card__link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    background-color: rgba(27, 29, 32, 0.85);
    -webkit-transition: 0.5s linear, opacity 0.5s linear, z-index 0.5s linear;
    -o-transition: 0.5s linear, opacity 0.5s linear, z-index 0.5s linear;
    transition: 0.5s linear, opacity 0.5s linear, z-index 0.5s linear;
  }

  .sales__cards .card__image-container,
  .single-products__cards .card__image-container {
    height: 100%;
    top: 0;
    right: 3.2rem;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .sales__cards .card__container,
  .single-products__cards .card__container {
    padding: 5.5rem 0 3.2rem 3.2rem;
  }

  .sales__cards .card__container:hover > .card__link,
  .single-products__cards .card__container:hover > .card__link {
    z-index: 9;
    opacity: 1;
  }

  .sales__cards .card__subtitle,
  .single-products__cards .card__subtitle {
    font-size: 1.4rem;
  }

  .sales__cards .card__title,
  .single-products__cards .card__title {
    margin-top: 0.8rem;
    font-size: 3.2rem;
  }

  .sales__cards .card__prices,
  .single-products__cards .card__prices {
    margin-bottom: 8.3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .sales__cards .card__prices .old_price span,
  .single-products__cards .card__prices .old_price span {
    font-size: 1.6rem;
  }

  .sales__cards .card__prices .new_price,
  .single-products__cards .card__prices .new_price {
    font-size: 2.4rem;
    margin-left: 2.4rem;
  }

  .sales__cards .card__logo,
  .single-products__cards .card__logo {
    max-width: 13.8rem;
    height: 3rem;
    left: 3.2rem;
    bottom: 2.2rem;
  }

  .sales__cards .card_circle,
  .single-products__cards .card_circle {
    width: 7rem;
    height: 7rem;
    right: 33%;
    bottom: 3.2rem;
  }
}

@media only screen and (max-width: 320px) {
  .sales__cards .card__container,
  .single-products__cards .card__container {
    padding: 2.7rem 0 1.6rem 1rem;
  }

  .sales__cards .card__prices,
  .single-products__cards .card__prices {
    margin-top: 0.6rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .sales__cards .card__prices .new_price,
  .single-products__cards .card__prices .new_price {
    margin-left: .5rem;
  }
}