/* 页脚（源站：主体 #393e44 + 底栏 #000） */
.g-footer {
  background: #393e44;
  color: #d4d4d4;
  font-size: 13px;
}

.g-footer-main {
  position: relative;
  padding-top: 0;
}

/* Logo + 电话 行 */
.g-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 125px;
  border-bottom: 1px solid #4d5257;
}

.g-flogo {
  height: 52px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}

.g-ftel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-ftel img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.g-ftel p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 导航 */
.g-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 63px;
}

.g-footer-nav a {
  padding: 0 15px;
  font-size: 13px;
  color: #fff;
  opacity: 0.8;
  border-right: 1px solid #fff;
  line-height: 1;
  transition: 0.3s;
}

.g-footer-nav a:first-child {
  padding-left: 0;
}

.g-footer-nav a:last-child {
  border-right: 0;
}

.g-footer-nav a:hover {
  opacity: 1;
  color: #bca289;
}

/* 地址信息 */
.g-footer-info {
  padding-bottom: 34px;
  line-height: 2;
  color: #d4d4d4;
}

.g-footer-info a {
  color: #d4d4d4;
}

.g-footer-info a:hover {
  color: #bca289;
}

.g-flink a {
  margin-right: 10px;
}

.g-footer-info p {
  padding-right: 140px;
}

/* 二维码（右侧绝对定位，避开浮动客服） */
.g-footer-ewm {
  position: absolute;
  right: 300px;
  top: 150px;
}

.g-footer-ewm img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  display: block;
}

/* 底栏 */
.g-footer-bottom {
  background: #000;
  color: #d4d4d4;
  font-size: 12px;
  line-height: 40px;
  padding: 21px 0;
}

.g-footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.g-fb-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.g-fb-left a {
  color: #d4d4d4;
}

.g-fb-left a:hover {
  color: #fff;
}

.g-fb-left span {
  color: #5a6068;
  margin: 0 6px;
}

.g-area-tit {
  color: #d4d4d4 !important;
  margin-left: 10px;
}

.g-area-tit~a {
  margin-left: 8px;
}

.g-fb-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.g-fb-right a {
  color: #d4d4d4;
}

.g-fb-right a:hover {
  color: #fff;
}

/* 手机底部导航 */
.g-phone-footer {
  display: none;
}

/* 右侧浮动客服 —— 完全还原源站 #toolbar（浅灰 #d9d9d9 方块 + icon_spirit 精灵图） */
#toolbar {
  position: fixed;
  z-index: 9999;
  right: 17px;
  bottom: 10%;
}

#toolbar li {
  margin-bottom: 3px;
  font-size: 0;
  width: 57px;
  height: 57px;
  right: 0;
  position: relative;
}

#toolbar li a {
  display: flex;
  align-items: flex-start;
  position: absolute;
  z-index: 9;
  right: 0;
  top: 0;
  width: 57px;
  height: 57px;
  overflow: hidden;
  background: #292e39;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  white-space: nowrap;
  font-size: 0;
}

#toolbar li .icon-font {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 57px;
  width: 57px;
  height: 57px;
  background-color: #d9d9d9;
}

#toolbar li .icon-font:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url(../../images/gongbao/icon_spirit.png);
  background-repeat: no-repeat;
  position: absolute;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
}

#toolbar li .icon-qq:after { background-position: 0 -150px; }
#toolbar li .icon-phone:after { background-position: 0 -90px; }
#toolbar li .icon-ewm:after { background-position: 0 -30px; }
#toolbar li .icon-message:after { background-position: 0 -120px; }
#toolbar li .icon-top:after { background-position: 0 -60px; }

#toolbar li .wz {
  display: inline-block;
  line-height: 57px;
  font-size: 14px;
  color: #fff;
  vertical-align: middle;
  padding-left: 10px;
}

#toolbar li.ewm .ewm-box {
  position: absolute;
  z-index: 1;
  padding: 5px;
  background: #292e39;
  width: 110px;
  right: 120%;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: all .7s;
  transition: all .7s;
}

#toolbar li.ewm .ewm-box:after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: 20px;
  width: 0;
  height: 0;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  border-width: 5px;
  cursor: pointer;
  border-style: dashed dashed dashed solid;
  border-color: transparent transparent transparent #292e39;
  border-right: none;
}

#toolbar li.ewm:hover .ewm-box {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

#toolbar li.ewm .ewm-box img {
  max-width: 100%;
}

#toolbar li.backtop {
  cursor: pointer;
}

#toolbar li:hover a { width: 200px; }
#toolbar li:hover .icon-font { background-color: #292e39; }
#toolbar li:hover .icon-qq:after { background-position: -30px -150px; }
#toolbar li:hover .icon-phone:after { background-position: -30px -90px; }
#toolbar li:hover .icon-ewm:after { background-position: -30px -30px; }
#toolbar li:hover .icon-message:after { background-position: -30px -120px; }
#toolbar li:hover .icon-top:after { background-position: -30px -60px; }

/* 响应式 */
@media screen and (max-width: 1024px) {
  .g-footer-top {
    height: 96px;
  }

  .g-footer-nav {
    height: auto;
    padding: 12px 0;
    row-gap: 10px;
  }

  .g-footer-info p {
    padding-right: 0;
  }

  .g-footer-ewm {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .g-footer-top {
    height: auto;
    padding: 24px 0 18px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .g-flogo {
    height: 38px;
    max-width: 220px;
  }

  .g-ftel p {
    font-size: 15px;
  }

  .g-footer-nav {
    padding: 10px 0;
  }

  .g-footer-nav a {
    padding: 0 10px;
    font-size: 12px;
    line-height: 1.8;
  }

  .g-footer-info {
    padding: 8px 0 22px;
    font-size: 12px;
    line-height: 1.9;
  }

  .g-footer-bottom {
    padding: 14px 0;
    line-height: 1.9;
  }

  .g-footer-bottom .container {
    display: block;
    text-align: center;
  }

  .g-fb-left,
  .g-fb-right {
    justify-content: center;
  }

  .g-fb-right {
    margin-top: 6px;
  }

  /* 手机底栏 */
  .g-phone-footer {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .g-phone-footer a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 0 6px;
    color: #555;
  }

  .g-phone-footer i {
    font-size: 20px;
    line-height: 1;
    color: #bca289;
  }

  .g-phone-footer img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .g-phone-footer p {
    font-size: 11px;
    margin-top: 3px;
    line-height: 1.2;
  }

  /* 手机端隐藏右侧浮动客服 */
  #toolbar {
    display: none;
  }

  /* 给底栏留位 */
  body {
    padding-bottom: 58px;
  }
}

/* ===== 页脚信息行一行布局（2026-10-20）：地址/营业执照/管理后台/技术支持一排、字号统一 13px ===== */
.g-footer-info { display: flex; flex-wrap: wrap; align-items: center; padding-right: 240px; }
.g-footer-info p { padding-right: 0; margin: 0; font-size: 13px; }
.g-footer-info p + p { margin-left: 28px; }
.g-footer-info a { font-size: 13px; }
/* 底栏版权/备案号字号统一（防全局 a 16px） */
.g-fb-right a, .g-fb-right span { font-size: 13px; }
@media screen and (max-width: 768px) {
  .g-footer-info { display: block; padding-right: 0; }
  .g-footer-info p + p { margin-left: 0; }
}
