/* 客服微信：联系页卡片 + 全站右下角悬浮 */
.contact-wrap {
  max-width: 36rem;
}
.contact-wechat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto 1.75rem;
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
}
.contact-wechat-qr-wrap {
  flex-shrink: 0;
  padding: 0.4rem;
  border-radius: 0.65rem;
  background: #fff;
}
.contact-wechat-qr {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.contact-wechat-title {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
}
.contact-wechat-desc,
.contact-wechat-tip {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94a3b8;
}
.contact-wechat-tip {
  margin-top: 0.55rem;
  color: #64748b;
}
@media (max-width: 560px) {
  .contact-wechat-card {
    flex-direction: column;
    text-align: center;
  }
}

.wx-float {
  position: fixed;
  right: 1.1rem;
  bottom: 5.5rem;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}
.wx-float-btn {
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(145deg, #07c160, #06ae56);
  box-shadow: 0 10px 24px rgba(7, 193, 96, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wx-float-btn:hover {
  filter: brightness(1.05);
}
.wx-float-btn svg {
  width: 1.45rem;
  height: 1.45rem;
}
.wx-float-panel {
  width: 11.5rem;
  padding: 0.85rem 0.85rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #0f172a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.wx-float-panel[hidden] {
  display: none !important;
}
.wx-float-panel img {
  width: 100%;
  height: auto;
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.35rem;
  box-sizing: border-box;
}
.wx-float-panel p {
  margin: 0.55rem 0 0;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .wx-float {
    right: 0.85rem;
    bottom: 4.75rem;
  }
}
