.popup {
  height: 100vh;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  z-index: 20000;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  display: none;
  background-color: rgba(51, 51, 51, 0.5);
}

.popup.active {
  display: block;
}

.popup__body {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 15px 20px;
}

.popup.open {
  opacity: 1;
  pointer-events: all;
}

.popup__content {
  width: 100%;
  max-width: 750px;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px;
  scale: 0.3;
  transition: scale 0.4s ease;
  background-color: rgb(243, 246, 251);
}

.popup.open .popup__content {
  scale: 1;
}

.close-popup {
  position: absolute;
  top: -24px;
  right: -64px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: width 0.3s linear, height 0.3s linear, top 0.3s linear, right 0.3s linear;
}
.close-popup img{
  width: 20px;
  height: 20px;
}
.close-popup source{
  width: 20px;
  height: 20px;
}
@media (max-width: 800px) {
.close-popup {
right: -50px;
}
}

html {
overflow-x:hidden;
}
    .mfp-content .order_modal {
        display: block;
    }

    .order_modal {
        max-width: 500px;
        background-color: #F8FDFF;
        border: 2px solid #37B0D0;
        margin: auto;
        padding: 35px;
        text-align: center;
        display: none;
        position: relative;
    }

    .overlay {
        opacity: 0;
        visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #30354B;
        z-index: 20;
        transition: .3s all;
    }

    .modal {
        opacity: 0;
        visibility: hidden;
        width: 79%;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 30;
        box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2);
        text-align: center;
        padding: 30px;
        border-radius: 3px;
        transition: 0.3s all;
    }

    .modal.active,
    .overlay.active {
        opacity: 1;
        visibility: visible;
        overflow: hidden;
    }

    .white-popup {
        position: relative;
        background: #FFF;
        padding: 20px;
        width: auto;
        max-width: 62%;
        margin: 20px auto;
    }

    .modal__cross {
        width: 15px;
        height: 15px;
        position: absolute;
        top: 52px;
        right: 55px;
        fill: #444;
        cursor: pointer;
    }