.product_drawer_section {
  position: relative;
}

.object_wrapper {
  height: 100%;
  width: 100%;
}

.product_drawer_overlay,
.product_drawer_modal {
  position: fixed;
}

.product_drawer_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;
  left: -30px;
  top: 0px;
  z-index: 26;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

.product_drawer_modal {
  /* padding: 0px 16px; */
  width: 90%;
  height: 100dvh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 800;
  right: 0px;
  transition: right .3s;
  top: 0;
}

/* #card__drawer__modal.open_cart_drawer{
     right: 0px !important;
} */

/* 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:724px) {
  .product_drawer_modal {
    max-width: 380px;
    width: 100%;
  }
}

@media (min-width:972px) {
  .close_button {
    cursor: pointer;
  }
}