/* Backdrop */
.qr-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;          /* important: hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;          /* higher than header/menu */
}


/* Dialog */
.qr-dialog {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
  max-width: 300px;
  width: 100%;
  padding: 1rem 1.25rem 1.25rem;
  position: relative;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Close button (optional) */
.qr-dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

/* Title */
.qr-dialog-title {
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0f172a;
}

/* QR */
.qr-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.qr-wrapper img {
  width: 300px;
  height: 300px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

/* Store badges row */
.store-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge img {
  height: 48px;
  width: auto;
  display: block;
}

/* Small screens */
@media (max-width: 480px) {
  .qr-dialog {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .qr-wrapper img {
    width: 160px;
    height: 160px;
  }

  .store-badge img {
    height: 42px;
  }
}
