.shopacc-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.shopacc-popup.is-open,
.shopacc-popup.is-preview {
  display: flex;
}

.shopacc-popup-overlay {
  position: absolute;
  inset: 0;
  background: var(--pb-overlay, #000);
  opacity: var(--pb-overlay-opacity, 0.5);
}

.shopacc-popup-box {
  position: relative;
  z-index: 1;
  width: var(--pb-w, 400px);
  height: var(--pb-h, 550px);
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  background: var(--pb-bg, #fff);
  border: var(--pb-bw, 5px) var(--pb-bs, solid) var(--pb-bc, #0573ff);
  border-radius: var(--pb-br, 15px);
  box-sizing: border-box;
  overflow: auto;
  text-align: center;
}

.shopacc-popup-content {
  padding: var(--pb-pad, 20px);
  box-sizing: border-box;
}

.shopacc-popup-content img {
  max-width: 100%;
  height: auto;
}

.shopacc-popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.shopacc-popup-close:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .shopacc-popup-box {
    width: var(--pb-mw, 90%);
    height: var(--pb-mh, 450px);
  }
}

body.shopacc-popup-open {
  overflow: hidden;
}
