.su-shop-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: stretch;
  justify-content: center;
  background: rgba(0, 0, 0, 0.58);
}

.su-shop-modal-overlay.is-open {
  display: flex;
}

.su-shop-modal {
  position: relative;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  margin: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.su-shop-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.su-shop-modal-close:hover,
.su-shop-modal-close:focus {
  background: #f2f2f2;
  outline: none;
}

.su-shop-modal-frame-wrap {
  width: 100%;
  height: 100%;
  padding: 0px 20px 20px 20px;
  box-sizing: border-box;
}

.su-shop-modal-frame {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
}

body.su-shop-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .su-shop-modal {
    width: 100vw;
    height: calc(100vh - 20px);
    margin: 10px 0;
    border-radius: 0;
  }

  .su-shop-modal-frame-wrap {
    padding: 10px;
  }

  .su-shop-modal-close {
    top: 8px;
    right: 8px;
  }
}