.weixin-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.weixin-popup-overlay.show {
  display: block;
  opacity: 1;
}
.weixin-popup-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-width: 90%;
  width: 520px;
  opacity: 0;
  transition: all 0.3s ease;
}
.weixin-popup-modal.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.weixin-popup-content {
  position: relative;
  padding: 0;
}
.weixin-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
  z-index: 10;
}
.weixin-popup-close:hover {
  background: #e0e0e0;
  color: #333;
}
.weixin-popup-header {
  background: linear-gradient(135deg, #07c160 0%, #06ae56 100%);
  color: #fff;
  padding: 28px 32px 24px;
  text-align: center;
  border-radius: 12px 12px 0 0;
}
.weixin-popup-header .weixin-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}
.weixin-popup-header span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
}
.weixin-popup-body {
  padding: 28px 32px 32px;
}
.weixin-popup-text {
  text-align: center;
  color: #666;
  font-size: 15px;
  margin-bottom: 24px;
}
.weixin-qr-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.weixin-qr-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
}
.weixin-qr-image {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #eee;
}
.weixin-qr-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.weixin-qr-label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.qr-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
}
.qr-badge.service {
  background: #e8f5e9;
  color: #2e7d32;
}
.qr-badge.subscription {
  background: #e3f2fd;
  color: #1565c0;
}
.weixin-qr-desc {
  font-size: 12px;
  color: #888;
}
@media (max-width: 480px) {
  .weixin-popup-modal {
    width: 95%;
  }
  .weixin-popup-header {
    padding: 20px 20px 18px;
  }
  .weixin-popup-body {
    padding: 20px;
  }
  .weixin-qr-grid {
    flex-direction: column;
    gap: 20px;
  }
  .weixin-qr-item {
    max-width: 220px;
    margin: 0 auto;
  }
}
