.footer {
  position: relative;
  width: 100%;
  /*height: 380px;*/
  background: #e9ebef;
}
.footer-safe-area {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: auto;
  padding-top: 50px;
}
/* 一级标题 */
.first-level-title {
  font-family: AlibabaPuHuiTi_2_85_Bold;
  font-size: 18px;
  line-height: 18px;
  color: #101a2b;
}
.second-level-title {
  margin-top: 18px;
  font-family: AlibabaPuHuiTi_2_85_Bold;
  font-size: 16px;
  line-height: 16px;
  color: #101a2b;
}
.product-type {
  display: flex;
  width: 876px;
}
.product-type > li {
  flex: 1;
}
.product-item {
  margin-top: 24px;
}
.product-item > li {
  font-family: AlibabaPuHuiTi_2_55_Regular;
  font-size: 15px;
  color: #101a2b;
  line-height: 32px;
  cursor: pointer;
}
.product-item > li:hover {
  color: #1d96d2;
}
/* 版权 */
.footer-copyright {
  display: flex;
  justify-content: space-between;
  /*position: absolute;*/
  margin-top: 61px;
  padding-bottom: 30px;
  bottom: 30px;
  width: 100%;
  padding-top: 12px;
  font-family: AlibabaPuHuiTi_2_55_Regular;
  font-size: 14px;
  line-height: 14px;
  color: #101a2b;
  border-top: 1px solid rgba(117, 123, 132, 0.2);
}
.about-us {
  position: absolute;
  right: 28px;
  bottom: 30px;
  width: 30px !important;
  height: 28px !important;
}

.wxmsg:hover + .wxdialog {
  display: block;
}

.wxblock {
  position: relative;
}

.wxdialog {
  display: none;
  position: absolute;
  right: 20px;
  bottom: -20px;
  width: 186px;
  height: 176px;
  padding: 15px 27px 19px 17px;
  background: url("../../images/rectBG.png");
}

.wxdialog img {
  width: 100%;
  height: 100%;
}

#footer_mobile {
  display: none;
}

.customer-service-icon {
  position: fixed;
  right: 0px;
  /* 距离右侧的距离 */
  top: 50%;
  /* 垂直居中 */
  transform: translateY(-50%);
  /* 垂直居中调整 */
  width: 80px;
  /* 图标宽度 */
  height: 50px;
  /* 图标高度 */
  background-color: #fff;
  /* 背景颜色 */
  border-radius: 25px 0 0 25px;
  /* 半椭圆形状 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* 阴影效果 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

/* 定义弹跳动画 */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.customer-service-icon img {
  width: 30px;
  height: 30px;
  animation: bounce 1s infinite;
  /* 应用弹跳动画 */
}

/* 悬浮龙小慧阴影加深 */
.customer-service-icon:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* 弹窗样式 */
.chat-popup {
  position: fixed;
  right: 5px;
  bottom: 20px;
  width: 400px;
  height: 80%;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* 遮罩样式 */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 灰色半透明背景 */
  z-index: 999; /* 确保遮罩在弹窗下方 */
}

.chat-popup iframe {
  width: 100%;
  height: 95%;
  border: none;
}

#closePopup {
  width: 100%;
  height: 5%;
  background-color: #f1f1f1;
  border: none;
  cursor: pointer;
}

#MobileclosePopup {
  display: none;
}

@media screen and (max-width: 1200px) {
  .chat-popup {
    position: fixed;
    right: 0;
    bottom: 0%;
    width: 100%;
    height: calc(100% - 0.88rem);
  }

  .chat-popup iframe {
    height: 100% !important;
  }

  #closePopup {
    display: none;
  }

  #MobileclosePopup {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: #000;
    cursor: pointer;
  }
}

/* 加载指示器样式 */
.loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 16px;
  font-family: AlibabaPuHuiTi_2_65_Medium;
}

/* 媒体查询移动端样式 */
@media screen and (max-width: 1200px) {
  .footer {
    display: none;
  }
  #footer_mobile {
    display: block;
    width: 90%;
    margin: auto;
  }

  #footer_mobile .first-level-title {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #dde1e6;
    font-family: AlibabaPuHuiTi_2_85_Bold;
    font-size: 0.34rem;
    color: #101a2b;
    line-height: 0.95rem;
    height: 0.95rem;
  }

  #footer_mobile .first-level-title > span:last-child {
    font-size: 0.5rem;
    color: rgba(16, 26, 43, 0.8);
  }

  #footer_mobile .product-type-mobile,
  #footer_mobile .product-item {
    display: none;
  }

  #footer_mobile .product-type-mobile,
  #footer_mobile .product-item {
    display: none;
  }

  #footer_mobile .product-type-mobile.active_mobile_footer,
  #footer_mobile .product-item.active_mobile_footer {
    display: block;
  }

  #footer_mobile .product-type-mobile .product-item {
    display: block;
  }

  #footer_mobile .product-type-mobile .product-item .offline {
    color: rgba(0, 0, 0, 0.4) !important;
    cursor: not-allowed;
    pointer-events: none;
  }

  #footer_mobile .product-type-mobile .second-level-title {
    font-family: AlibabaPuHuiTi_2_65_Medium;
    font-size: 0.3rem;
    color: #101a2b;
    line-height: 0.5rem;
    margin-top: 0;
  }

  #footer_mobile .product-item {
    margin-top: 0;
  }

  #footer_mobile .product-type-mobile > li {
    margin-bottom: 0.5rem;
  }

  #footer_mobile .product-item li,
  #footer_mobile .product-item a {
    font-family: AlibabaPuHuiTi_2_55_Regular;
    font-size: 0.26rem;
    color: #101a2b;
  }

  #footer_mobile .qrcode {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 4rem;
    text-align: center;
  }

  #footer_mobile .qrcode img {
    width: 2.2rem;
    height: 2.2rem;
    vertical-align: middle;
    object-fit: cover;
  }
  #footer_mobile .qrcode div {
    font-family: AlibabaPuHuiTi_2_55_Regular;
    font-size: 0.26rem;
    color: #757b84;
    margin-top: 0.2rem;
  }

  #footer_mobile .logo-name {
    font-family: YouSheBiaoTiHei;
    font-size: 0.4rem;
    color: #101a2b;
  }
  #footer_mobile .logo-name > span:first-child {
    color: #005fff;
  }

  #footer_mobile .footer-copyright-mobile {
    font-family: AlibabaPuHuiTi_2_55_Regular;
    font-size: 0.24rem;
    color: #858e9d;
    padding: 0.3rem 0;
  }

  #footer_mobile .footer_btn {
    position: fixed;
    z-index: 999;
    bottom: 5px;
    right: 5px;
  }

  #footer_mobile .footer_btn > a {
    display: block;
    width: 1rem;
    height: 1rem;
    background: #ffffff;
    box-shadow: 0rem 0.04rem 0.14rem 0rem #d9dce3;
    border-radius: 0.12rem;
    margin-bottom: 0.2rem;
    text-align: center;
    line-height: 1rem;
  }

  #footer_mobile .footer_btn > a img {
    width: 0.42rem;
    height: 0.39rem;
    vertical-align: middle;
  }
}
