.coupon-popup {
  position: fixed;
  padding: 2.5rem 2rem;
  color: #fff;
  background: #981E41;
  text-align: center;
  display: flex;
  min-height: 240px;
  align-items: center;
  left: 20px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
@media screen and (min-width: 640px) {
  .coupon-popup {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    min-height: 150px;
  }
}
.coupon-popup:before,
.coupon-popup:after {
  content: '';
  display: block;
  position: absolute;
  border: 1px solid #fff;
  z-index: -1;
}
.coupon-popup:before {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  top: 10px;
  left: 10px;
  right: 10ppx;
}
.coupon-popup:after {
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  top: 15px;
  left: 15px;
  right: 15px;
}
.coupon-popup .code {
  display: inline-block;
  font-weight: bold;
}
.coupon-popup .popup-close {
  display: block;
  position: absolute;
  right: 30px;
  width: 30px;
  height: 30px;
  top: 30px;
}
.coupon-popup .popup-close:after,
.coupon-popup .popup-close:before {
  content: '';
  height: 2px;
  width: 30px;
  background: #fff;
  position: absolute;
  left: 0px;
  top: 5px;
  display: block;
  transition: all 300ms ease;
}
.coupon-popup .popup-close:before {
  top: 50%;
  transform: rotateZ(45deg);
}
.coupon-popup .popup-close:after {
  top: 50%;
  transform: rotateZ(-45deg);
}
