* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: inherit;
}



.promo-popup {
  position: relative;
  width: 100%;
  background-image:url(../images/web/popup.jpg);
  background-size:cover;
  background-repeat:no-repeat;
  text-align: center;
  padding: 2rem;
  -webkit-animation: scale-in-center 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
          animation: scale-in-center 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
.promo-popup p {
  margin: 0;
}

.promo-popup--text {
  font-family: Lato,Arial,Helvetica,sans-serif;
  letter-spacing: 0.07rem;
  color: #fff;
}
.promo-popup--text-bold {
  font-family: Montserrat-Bold,Arial,Helvetica,sans-serif;
  letter-spacing: 0.02rem;
  word-spacing: -0.03rem;
  text-transform: uppercase;
      color: #959595;
}

.promo-popup__overlay {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.82);
  -webkit-animation: fade-in 0.2s linear both;
          animation: fade-in 0.2s linear both;
}
.promo-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color:#000;
}
.promo-popup__row + .promo-popup__row {
  padding-top: 1rem;
}
.promo-popup__sale-pin {
  display: -webkit-inline-box;
  display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    border: 2px solid #fff;
    padding: 1rem;
    border-radius: 5%;
    min-height: 130px;
 background: #56ab2f;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #328636, #56ab2f);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #328636, #56ab2f); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


    box-shadow: 3px 4px 20px 1px rgba(0, 0, 0, 0.2);
}


.promo-popup__sale-pin-content {
  display: inline-grid;
  grid-template-columns: 77px 1fr;
  grid-template-rows: 33px 12px;
  grid-template-areas: "amount percent" "amount adj";
}
.promo-popup__sale-pin-amount {
  grid-area: amount;
  font-size: 60px;
  line-height: 0;
  align-self: center;
  justify-self: end;
      color: #fff;
}
.promo-popup__sale-pin-percent {
  grid-area: percent;
  font-size: 28px;
  justify-self: center;
}
.promo-popup__sale-pin-adj {
  grid-area: adj;
  font-size: 12px;
  justify-self: center;
  align-self: end;
      color: #fff;
}
.promo-popup__cta {
  position: relative;
}
.promo-popup__cta--primary {
  font-weight: bold;
  font-size: 30px;
}

.promo-popup__cta--secondary {
  position: absolute;
  top: 150%;
  left: 0;
  width: 100%;
  -webkit-transform: skew(-1deg) rotate(-1deg) translateY(-50%);
          transform: skew(-1deg) rotate(-1deg) translateY(-50%);
  font-size: 16px;
  text-transform: uppercase;
  padding: 4px;
 background: #56ab2f;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #328636, #56ab2f);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #328636, #56ab2f); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}
.promo-popup__info {
  font-size: 20px;
}

@media screen and (min-width: 400px) {
  .promo-popup {
    max-width: 400px;
  }

  .promo-popup__cta--primary {
    font-size: 26px;
    line-height: 36px;
  }
  .promo-popup__cta--secondary {
    font-size: 20px;
    -webkit-transform: skew(-1.5deg) rotate(-1.5deg) translateY(-50%);
            transform: skew(-1.5deg) rotate(-1.5deg) translateY(-50%);
  }
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

