.modal_section {
  position: relative;
}

.object_wrapper {
  height: 100%;
  width: 100%;
}

.modal_overlay,
.modal_modal {
  position: fixed;
}

.modal_overlay {
  top: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 25;
  visibility: visible;
  opacity: 1;
  transition: visibility .3s, opacity .3s;
  left: 0;
}

/* #cart__drawer_overlay.open_cart_drawer{
    visibility: visible;
    opacity: 1;
} */
.close_button {
  position: absolute;
  right: 12px;
  top: 13px;
  z-index: 900;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #efefef;
  border-radius: 50%;
  @media(min-width: 1024px) {
    right: -30px;
    top: -40px;
    cursor: pointer;
  }
}
.close_button svg path {
  fill: red;
}

.modal_modal {
  /* padding: 0px 16px; */
  width: calc(100% - 20px);
  height: 90dvh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 800;
  left: 50%;
  /* right: 0px; */
  transition: right .3s;
  top: 80px;
  transform: translateX(-50%);
}

/* HTML: <div class="loader"></div> */
.loader_wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  --c: no-repeat radial-gradient(farthest-side, #25b09b 92%, #0000);
  background:
    var(--c) 50% 0,
    var(--c) 50% 100%,
    var(--c) 100% 50%,
    var(--c) 0 50%;
  background-size: 12px 12px;
  animation: l12 1s infinite;
}

.loader::before {
  margin: 4px;
  filter: hue-rotate(45deg);
  background-size: 8px 8px;
  animation-timing-function: linear
}

@keyframes l12 {
  100% {
    transform: rotate(.5turn)
  }
}

@media (min-width:992px) {
  .modal_modal {
    max-width: 848px;
    width: 100%;
  }
}

@media (min-width:1200px) {
  .modal_modal {
    max-width: 998px;
  }

}

@media (min-width:1400px) {
  .modal_modal {
    max-width: 1200px;
  }
}