.payment-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.payment-qr-modal.open {
  display: block;
}

.payment-qr-modal-open {
  overflow: hidden;
}

.payment-qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.payment-qr-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(460px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.payment-qr-close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.payment-qr-body {
  display: grid;
  gap: 14px;
  padding: 30px;
  text-align: center;
}

.payment-qr-kicker {
  margin: 0;
  color: #c9141e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.payment-qr-body h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.payment-qr-desc,
.payment-qr-name {
  margin: 0;
  color: #737780;
}

.payment-qr-name {
  font-weight: 700;
  color: #1f2329;
}

.payment-qr-image-wrap {
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 12px;
  background: #f6f6f6;
}

.payment-qr-image {
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.payment-qr-actions {
  display: flex;
  justify-content: center;
}

.payment-qr-button {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  color: #1f2329;
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 620px) {
  .payment-qr-body {
    padding: 20px;
  }
}
