#leaveFade {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch !important
}

#leavePop1 {
  width: 700px;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  z-index: 9999;
  /* border: 5px solid #e43b2c; */
  border-radius: 10px;
  padding: 30px 20px 30px 0;
  height: auto;
  background: #fff;
}

#leaveX1 {
  width: 35px;
  height: 35px;
  /* float: right; */
  /* margin-right: -20px; */
  /* margin-top: -20px; */
  z-index: 1005;
  cursor: pointer;
  position: absolute;
  right: -38px;
  top: -30px;
}

#leaveFade img {
  max-width: 100%
}

.modal-inner {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  height: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none
}

.modal-inner::-webkit-scrollbar {
  display: none
}

.modal-image {
  width: 35%;
  text-align: center;
  padding-left: 2rem;
  padding-right: 1rem;
}

.modal-text {
  width: 65%;
  text-align: center;
}

.modal-text h3 {
  margin: -25px 0 0px;
  font-size: 7rem;
  line-height: 100%;
  font-weight: 800;
  letter-spacing: -6px;
  color: #f00;
}

.modal-text h4 {
  margin: 0 0 5px;
  font-size: 2rem;
  font-weight: 500;
}

.modal-text h1 {
  color: #feb649;
  font-size: 100px;
  margin: 0;
  line-height: 100%
}

.modal-text .y-txt {
  color: #feb649
}

.hi-txt {
  margin: 15px auto;
  font-size: 1rem;
  /* width: 30%; */
  background: #fcaa07;
  border-radius: 5px;
  padding: 5px;
}

.m-btn {
  margin-top: 10px
}

.m-line {
  position: relative
}

.m-line:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background: #000;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%)
}

.m-line:after {
  position: relative
}

@media screen and (max-width:991px) {
  #leavePop1 {
    width: 85%;
    padding: 0
  }

  .modal-inner {
    display: block;
    max-height: 80vh;
    overflow: auto
  }

  .modal-image {
    width: 100%;
    padding: 30px 20px 30px 0;
    box-sizing: border-box
  }

  .modal-text {
    width: 100%;
    text-align: center;
    padding: 0 15px 15px;
    box-sizing: border-box
  }
}

i.bi.bi-x-circle-fill:not(.upsell2productwrap i.bi.bi-x-circle-fill) {
  font-size: 2rem;
  color: #fff;
}

.lead {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

a#discount-btn {
  width: 100%;
  min-height: 4rem;
  background: #5fbb49;
  padding: 15px 25px;
  font-size: 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

#discount-btn {
  width: 100%;
  min-height: 4rem;
  background: #5fbb49;
  padding: 15px 25px;
  font-size: 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

span.offSpan {
  background: #fdd638;
  padding: 0 10px;
  border-radius: 5px;
  font-weight: bold;
}

@media screen and (max-width:768px) {
    .leavepop_all .modal-image img {
        max-width: 180px!important;
        width: 100%;
    }
    .modal-text h3 {
        font-size: 4rem;
    }
    .modal-text h4 {
        font-size: 1.6rem;
    }
    .lead {
        font-size: 1.2rem;
    }
    #discount-btn {
    min-height: 3rem;
    font-size: 1.3rem;
    }
}

@media screen and (max-width:480px) {
  #leavePop1 {
    width: 85%;
    padding: 0
  }

  .modal-inner {
    display: block;
    max-height: 90vh;
    overflow: auto;
    padding-bottom: 1rem;
  }

  .modal-image {
    width: 40%;
    padding: 30px 20px 30px 0;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .modal-text {
    width: 100%;
    text-align: center;
    padding: 0 15px 15px;
    box-sizing: border-box
  }

  #discount-btn {
    width: 100%;
    min-height: 4rem;
    background: #5fbb49;
    padding: 15px 25px;
    font-size: .95rem;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    margin-bottom: 2rem;
  }

  .modal-text {
    text-align: center;
  }

  .modal-text h3 {
    margin: -25px 0 0px;
    font-size: 5rem;
    line-height: 100%;
    font-weight: 800;
    letter-spacing: -6px;
    color: #f00;
  }

  .modal-text h4 {
    margin: 0 0 5px;
    font-size: 1.5rem;
    font-weight: 500;
  }

  .modal-text h1 {
    color: #feb649;
    font-size: 100px;
    margin: 0;
    line-height: 100%
  }
  .leavepop_all .modal-image img {
        max-width: 130px!important;
        width: 100%;
    }
    .modal-text h3 {
        font-size: 3.5rem;
    }
    .modal-text h4 {
        font-size: 1.4rem;
        line-height: 2rem;
    }
    .lead {
        font-size: 1.2rem;
        text-transform: uppercase;
        margin-bottom: 1.5rem;
    }
}