.andmotion__popup {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 999;
}

.andmotion__popup.d-block { 
     display: block;
}

.andmotion__popup .popup__content {
  width: 500px;
  overflow: auto;
  padding: 50px 40px;
  overflow: auto;
  background: white;
  color: black;
  position: relative;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  text-align: center;
  box-shadow : 0px 0px 15px 0px #44444499;
}

.andmotion__popup .popup__content button {
    float: none !important;
    margin-bottom: 10px !important
}

@media (max-width: 892px) {
    .andmotion__popup .popup__content {
        width: 75%;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .andmotion__popup .popup__content {
        width: 90%;
        padding: 25px;
    }
}

.andmotion__popup .popup__content .message {
    border: 1px dashed #444;
    padding: 30px;
}


.andmotion__popup .popup__content .message p {
    padding: 0px;
    margin-bottom: 15px;
}

.andmotion__popup .popup__content .message a.checkout {
  text-align: center;
  margin: 0 auto;
  padding: 15px 25px;
  float: none !important;
  position: relative;
}

.andmotion__popup .popup__content .message a.checkout:before {
    content: "";
width: 200%;
height: 1px;
background-color: #444;
background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 50%,rgba(0,0,0,0) 100%);
top: 50%;
display: block;
left: -55%;
position: absolute;
z-index: -1;
}

.andmotion__popup .popup__content .close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 20px;
  display: block;
}

.andmotion__popup .popup__content .close span {
  cursor: pointer;
  position: fixed;
  width: 20px;
  height: 3px;
  background: #333;
}

.andmotion__popup .popup__content .close span:nth-child(1) {
  transform: rotate(45deg);
}
.andmotion__popup .popup__content .close span:nth-child(2) {
  transform: rotate(135deg);
}