/* ============================================================
   QR CODE MODAL
   ============================================================ */

.qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.qr-overlay--open {
  opacity: 1;
  pointer-events: all;
}

.qr-modal {
  background: #fff;
  border-radius: 32px;
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  width: 320px;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

.qr-overlay--open .qr-modal {
  transform: scale(1);
}

.qr-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #f2f2f2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.15s;
}

.qr-modal__close:hover {
  background: #e5e5e5;
}

.qr-modal__close svg {
  width: 14px;
  height: 14px;
}

.qr-modal__code {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.qr-modal__code img {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-modal__copy {
  text-align: center;
}

.qr-modal__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.qr-modal__sub {
  font-size: 0.8rem;
  color: #999;
  margin: 0;
  line-height: 1.5;
}

.qr-modal__stores {
  display: flex;
  gap: 10px;
}

.qr-modal__store-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.qr-modal__store-btn:hover {
  opacity: 0.8;
}

.qr-modal__store-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
