.rightPup {
    float: right;
    width: 56px;
    position: fixed;
    right: 1px; /* 右侧固定 */
    top: 50%;
    z-index: 21;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.rightPup ul {
    float: left;
    width: 100%;
}

.rightPup ul li {
    float: left;
    width: 100%;
    margin-bottom: 1px;
    position: relative;
}

.rightPup ul li i {
    float: left;
    width: 100%;
    height: 20px;
    line-height: 0;
}

.rightPup ul li i img {
    height: 20px;
    margin: 0 auto;
}

.rightPup ul li i .show {
    display: block;
}

.rightPup ul li i .hide {
    display: none;
}

.rightPup ul li a:hover i .hide {
    display: block;
}

.rightPup ul li a:hover i .show {
    display: none;
}

.rightPup ul li a {
    float: left;
    width: 100%;
    background: #fff;
    text-align: center;
    color: #235755;
    font-size: 12px;
    line-height: 14px;
    padding: 9px 0;
}

.rightPup ul li a:hover {
    background: #469e98;
    color: #fff;
}

.rightPup ul li span {
    float: left;
    width: 100%;
    margin-top: 4px;
}

/* 二维码弹出框 - 向左弹出 */
.rightPup ul li .er {
    float: left;
    position: absolute;
    right: 65px; /* 弹框在右边按钮左侧 */
    top: 50%;
    width: 100px;
    background: #fff;
    border-radius: 3px;
    line-height: 0;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .15);
    -webkit-transition: all 500ms cubic-bezier(.5, 1, .4, 1);
    -moz-transition: all 500ms cubic-bezier(.5, 1, .4, 1);
    transition: all 500ms cubic-bezier(.5, 1, .4, 1);
    -webkit-transform-origin: 100% 20%;
    -moz-transform-origin: 100% 20%;
    -ms-transform-origin: 100% 20%;
    -o-transform-origin: 100% 20%;
    transform-origin: 100% 20%;
    -webkit-transform: translateY(-50%) scale(0);
    -moz-transform: translateY(-50%) scale(0);
    -ms-transform: translateY(-50%) scale(0);
    -o-transform: translateY(-50%) scale(0);
    transform: translateY(-50%) scale(0);
}

.rightPup ul li .er img {
    border-radius: 3px;
}

/* 箭头小三角指向按钮右边 */
.rightPup ul li .er:after {
    float: left;
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    left: 100%; /* 箭头在弹框右边，指向按钮 */
    top: 50%;
    margin-top: -6px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

.rightPup li:hover .er {
    opacity: 1;
    filter: alpha(opacity=100);
    display: block \9;
    pointer-events: auto;
    -webkit-transform: translateY(-50%) scale(1);
    -moz-transform: translateY(-50%) scale(1);
    -ms-transform: translateY(-50%) scale(1);
    -o-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
}

/* 电话弹出框，向左弹出 */
.rightPup ul li .tel {
    float: left;
    position: absolute;
    right: 65px; /* 弹框在按钮左侧 */
    top: 50%;
    background: #fff;
    white-space: nowrap;
    color: #235755;
    font-size: 14px;
    line-height: 26px;
    padding: 8px 20px;
    border-radius: 3px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .15);
    -webkit-transition: all 500ms cubic-bezier(.5, 1, .4, 1);
    -moz-transition: all 500ms cubic-bezier(.5, 1, .4, 1);
    transition: all 500ms cubic-bezier(.5, 1, .4, 1);
    -webkit-transform-origin: 100% 20%;
    -moz-transform-origin: 100% 20%;
    -ms-transform-origin: 100% 20%;
    -o-transform-origin: 100% 20%;
    transform-origin: 100% 20%;
    -webkit-transform: translateY(-50%) scale(0);
    -moz-transform: translateY(-50%) scale(0);
    -ms-transform: translateY(-50%) scale(0);
    -o-transform: translateY(-50%) scale(0);
    transform: translateY(-50%) scale(0);
}

.rightPup ul li .tel:after {
    float: left;
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    left: 100%; /* 箭头在弹框右边 */
    top: 50%;
    margin-top: -6px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

.rightPup ul li:hover .tel {
    opacity: 1;
    filter: alpha(opacity=100);
    display: block \9;
    pointer-events: auto;
    -webkit-transform: translateY(-50%) scale(1);
    -moz-transform: translateY(-50%) scale(1);
    -ms-transform: translateY(-50%) scale(1);
    -o-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
}

/* 小屏幕隐藏 */
@media screen and (max-width:1024px) {
    .rightPup {
        display: none;
    }
}

/* 默认隐藏底部栏，只有移动端显示 */
.footB {
  display: none;
}
.footB-placeholder {
  display: none; /* 默认不显示 */
}

/* 移动端显示 */
@media screen and (max-width: 767px) {
  .footB {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
  }

  /* 3个按钮容器，保持大小一致 */
  .footB .li,
  .footB .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  /* 链接文字和图标垂直排列 */
  .footB .li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
  }

  /* 图标大小 */
  .footB .li a img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  .footB .btn a {
    flex-direction: row; /* 横向排列 */
    padding: 8px 48px;    /* 更宽一些 */
    font-size: 14px;
    justify-content: center;
    align-items: center;
    background-color: #255b59;
    color: #fff;
    border-radius: 24px;
    line-height: 1;
  }
  .footB .btn a img {
    width: 20px;
    height: 20px;
    margin-right: 8px;  /* 图标和文字间距 */
    margin-bottom: 0;   /* 取消默认向下 */
  }

  /* 二维码弹窗样式 - 绝对定位显示，默认隐藏 */
  .footB .li .er {
    position: absolute;
    bottom: 48px; /* 底部上方 */
    left: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: center bottom;
    background: #fff;
    padding: 6px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    width: 120px;
  }

  /* 鼠标悬停或点击时显示二维码弹窗 */
  .footB .li:hover .er,
  .footB .li:focus-within .er {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  /* 保证footB父容器相对定位，方便er绝对定位 */
  .footB {
    position: fixed;
  }

  .footB-placeholder {
    display: block;
    height: 56px; /* 跟 footB 高度一致 */
  }

  /* 让.li设置相对定位，er绝对定位基于它 */
  .footB .li {
    position: relative;
  }
}

