/* WeChat QR 모달 — 사이드 메뉴·헤더 어디서 열려도 같은 모습이어야 한다 */

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

.wechat-modal__box {
  position: relative;
  max-width: 340px;
  width: 100%;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.wechat-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px 8px;
  font-size: 26px;
  line-height: 1;
  color: #888;
  background: none;
  border: 0;
  cursor: pointer;
}

.wechat-modal__close:hover {
  color: #222;
}

.wechat-modal__qr {
  display: block;
  width: 100%;
  height: auto;
  max-width: 280px;
  margin: 0 auto;
}

/* 폰에서는 QR 이 너무 커지지 않게 */
@media (max-width: 480px) {
  .wechat-modal__box {
    padding: 24px 16px 20px;
  }

  .wechat-modal__qr {
    max-width: 240px;
  }
}
