/* 右侧悬浮栏（菜单垂直居中，回到顶部按钮不参与布局） */
.jcode-menu-wrap {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.jcode-menu {
  display: flex;
  flex-direction: column;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 0 16px 0 rgba(9, 10, 25, 0.15);
}

.jcode-menu .jcode-item {
  position: relative;
  width: 80px;
  height: 80px;
  background: #4e7ef5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.jcode-menu .jcode-item + .jcode-item {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.jcode-menu .jcode-item:first-child {
  border-radius: 8px 0 0 0;
}

.jcode-menu .jcode-item:last-child {
  border-radius: 0 0 0 8px;
}

.jcode-menu .jcode-item:hover {
  background: #3d6de0;
}

.jcode-menu .jcode-item .jcode-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jcode-menu .jcode-item .jcode-icon svg {
  width: 100%;
  height: 100%;
}

.jcode-menu .jcode-item .jcode-title {
  font-size: 12px;
  color: #ffffff;
}

/* 回到顶部（距顶部100px内隐藏；绝对定位，不影响菜单位置） */
.jcode-top {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 80px;
  height: 80px;
  background: #4e7ef5;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 0 16px 0 rgba(9, 10, 25, 0.15);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.jcode-top.show {
  display: flex;
}

.jcode-top:hover {
  background: #3d6de0;
}

.jcode-top svg {
  width: 24px;
  height: 24px;
}

/* 悬浮弹出层（三个弹窗统一宽高） */
.jcode-popover {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 240px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 16px 0 rgba(9, 10, 25, 0.12);
  display: none;
  cursor: default;
}

/* 在线咨询-二维码 */
.jcode-pop-qr .qr-img {
  width: 150px;
  height: 150px;
  margin: 6px auto 0;
  background: url("../../../../img/qrcode.png") center / cover no-repeat;
}

.jcode-pop-qr .qr-tip {
  margin-top: 12px;
  font-size: 14px;
  color: #262626;
  text-align: center;
  white-space: nowrap;
}

/* 电话咨询-电话号码 */
.jcode-pop-tel .tel-title {
  font-size: 18px;
  font-weight: 700;
  color: #262626;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.jcode-pop-tel .tel-body {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.jcode-pop-tel .tel-body .tel-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.jcode-pop-tel .tel-body .tel-icon svg {
  width: 100%;
  height: 100%;
}

.jcode-pop-tel .tel-body .tel-desc {
  font-size: 14px;
  color: #262626;
  line-height: 22px;
}

.jcode-pop-tel .tel-num {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 32px;
  font-size: 20px;
  font-weight: 600;
  color: #262626;
  letter-spacing: 1px;
  text-align: center;
}

/* 最新资讯-公众号二维码 */
.jcode-pop-news .news-img {
  width: 150px;
  height: 150px;
  margin: 6px auto 0;
  background: url("../../../../img/gzh-qrcode.jpg") center / cover no-repeat;
}

.jcode-pop-news .news-tip {
  margin-top: 12px;
  font-size: 14px;
  color: #262626;
  text-align: center;
  white-space: nowrap;
}
