/* Floating contact widget: 预约演示 / 微信咨询 / 公众号 / 电话咨询. */
.wx-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}
.wx-float__item { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.wx-float__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 70px;
  height: 70px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #075de1;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(5, 38, 70, 0.35);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
}
.wx-float__btn:hover,
.wx-float__btn:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(5, 38, 70, 0.45); }
.wx-float__btn:focus-visible { outline: 3px solid #075de1; outline-offset: 3px; }
.wx-float__btn--primary { background: linear-gradient(140deg, #075de1, #0a86e2 60%, #17ace4); color: #fff; }
.wx-float__icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.wx-float__icon svg { display: block; width: 100%; height: 100%; }
.wx-float__panel {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  width: 236px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 60px -22px rgba(5, 38, 70, 0.42);
}
.wx-float__panel[hidden] { display: none; }
.wx-float__panel strong { display: block; margin-bottom: 12px; color: #052646; font-size: 14px; }
.wx-float__panel img { display: block; width: 100%; height: auto; border-radius: 8px; }
.wx-float__panel small { display: block; margin-top: 10px; color: #64748b; font-size: 11px; line-height: 1.6; }
@media (max-width: 782px) {
  .wx-float { right: 10px; gap: 8px; }
  .wx-float__btn { width: 56px; height: 56px; border-radius: 12px; font-size: 10px; }
  .wx-float__icon { width: 20px; height: 20px; }
  .wx-float__panel { right: calc(100% + 8px); width: min(74vw, 220px); padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wx-float__btn, .wx-float__btn:hover, .wx-float__btn:focus-visible { transition: none; transform: none; }
}