.ad_upsell-background {
  position: fixed;
  background: #000;
  z-index: 9998;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate(100%, 0);
  transition: .4s opacity ease-in-out, 0s transform ease .4s;
}
.ad_upsell-background.ad_upsell-show {
  opacity: .6;
  transform: translate(0, 0);
  transition: .4s opacity ease-in-out;
}
.ad_upsell-modal-block {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-300%, -50%);
  max-height: 100vh;
  background: #F6F6F6;
  z-index: 9999;
  overflow: auto;
  width: 1080px;
  max-width: 100%;
  opacity: 0;
  transition: .4s opacity ease-in-out, 0s transform ease .4s;
}
.ad_upsell-modal-block.ad_upsell-show {
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: .4s opacity ease-in-out;
}
.ad_upsell-modal {
  line-height: normal;
}
.ad_upsell-modal-close {
  position: absolute;
  right: 20px;
  top: 6px;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
}
.ad_upsell-modal-close-line1 {
  width: 20px;
  height: 3px;
  background: #000000;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
  top: 50%;
  left: 50%;
  position: absolute;
  transition: .2s all ease-in-out;
}
.ad_upsell-modal-close-line2 {
  width: 20px;
  height: 3px;
  background: #000000;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(-45deg);
  top: 50%;
  left: 50%;
  position: absolute;
  transition: .2s all ease-in-out;
}
.ad_upsell-modal-close:hover .ad_upsell-modal-close-line1,
.ad_upsell-modal-close:hover .ad_upsell-modal-close-line2 {
  background-color: #d5d5d5;
}
.ad_upsell-modal-header {
  background: #F6FF00;
  padding: 13px;
  text-align: center;
}
.ad_upsell-modal-header-title {
  background: #FFF;
  color: #2A2A2A;
  font-size: 24px;
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  padding: 0 20px;
  line-height: 40px;
  border-radius: 20px;
}
.ad_upsell-content {}
.ad_upsell-counter-block {
  padding: 30px;
  text-align: center;
}
.ad_upsell-counter-title {
  color: #3F3F3F;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 26px;
}
.ad_upsell-counter-title b {
  color: #FF0000;
  font-size: 40px;
  font-weight: 700;
}
.ad_upsell-counter-box {
  text-align: center;
}
.ad_upsell-counter-info {
  color: #3F3F3F;
  font-size: 16px;
  padding: 20px 0;
}
.ad_upsell-counter {
  color: #2A2A2A;
  font-size: 64px;
  font-weight: 500;
  border-radius: 30px;
  border: 1px solid #000;
  display: inline-block;
  vertical-align: middle;
  width: 244px;
  height: 85px;
  line-height: 85px;
  background: #FFF;
}
.ad_upsell-counter-info {
  /*color: #535353;
  font-size: 10px;
  font-weight: 500;
  margin-top: 10px;*/
}
.ad_upsell-products-block {
  background: linear-gradient(180deg, rgba(246, 255, 0, 0.11) 0%, rgba(255, 255, 255, 0.14) 100%);
  padding: 25px 30px 58px;
}
.ad_upsell-products {
  width: 100%;
  overflow: hidden;
}
.ad_upsell-products-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: row;
}
.ad_upsell-product {
  width: 125px;
  flex-basis: 125px;
  display: flex;
  margin-right: 33px;
  flex-shrink: 0;
  flex-direction: column;
}
.ad_upsell-product:last-child {
  margin: 0;
}
.ad_upsell-product-image-box {}
.ad_upsell-product-image {
  width: 100%;
  border-radius: 18px;
}
.ad_upsell-product-name {
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  padding: 6px 0;
}
.ad_upsell-product-price {
  margin-top: auto;
}
.ad_upsell-product-price-discount {
  color: #FF0000;
  font-size: 20px;
  font-weight: 500;
}
.ad_upsell-product-price-origin {
  color: #A1A1A1;
  font-size: 14px;
  font-weight: 400;
  text-decoration: line-through;
}
.ad_upsell-product-add-box {
  margin-top: 10px;
}
.ad_upsell-product-add {
  font-size: 12px;
  font-weight: 400;
}
.ad_upsell-products-scroll-box {
  margin-top: 20px;
  height: 1px;
  background: #636460;
  position: relative;
}
.ad_upsell-products-scroll {
  height: 9px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  background: #FFF720;
  border-radius: 4px;
  border: 1px solid #918D1F;
}

.ad_upsell-content .bootstrap-touchspin {
  display: none !important;
}

.ad_upsell-content .btn.add-to-cart {
  font-size: 12px;
  background: #fff;
  padding: 0 27px 0 12px;
  color: #000;
  line-height: 24px;
  border: 1px solid #7F7F7F;
  border-radius: 16px;
  text-transform: none;
  position: relative;
  transition: .2s all ease-in-out;
}
.ad_upsell-content .btn.add-to-cart:hover {
  background: #000;
  color: #fff;
}
.ad_upsell-content .btn.add-to-cart:after {
  content: '+';
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  line-height: 13px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  border: 1px solid #000;
  top: 4px;
  right: 7px;
}

@media (max-width: 768px) {
  .ad_upsell-products {
    overflow: auto;
  }
  .ad_upsell-products-scroll-box {
    display: none;
  }
  .ad_upsell-modal-header {
    padding: 13px 70px;
  }
  .ad_upsell-modal-header-title {
    padding: 10px 0;
    line-height: 30px;
  }
  .ad_upsell-modal-close {
    right: 10px;
  }
}