/* ==========================================================================
   1. 页脚基础样式 (PC端)
   ========================================================================== */
#bobo-footer {
  background: #1a9bd9;
  box-sizing: border-box;
  padding: 70px 0 0;
}

#bobo-footer .container {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

#bobo-footer h5 {
  font-size: 22px;
  color: #fff;
  margin: 0 0 25px;
  font-weight: 700;
  text-transform: uppercase;
}

#bobo-footer h5::after {
  content: "";
  background: var(--color-primary);
  width: 40px;
  height: 1px;
  display: block;
  margin: 25px auto 0 0;
}

/* --- Logo 与 简介区块 --- */
.bobo-foot-logo {
  width: 450px;
}

.bobo-foot-logo img {
  height: 90px;
  object-fit: contain;
  aspect-ratio: 26 / 26;
}

.bobo-foot-logo p {
  font-size: 15px;
  line-height: 2em;
  margin: 50px 0;
  color: #ffffff;
}

/* --- 社媒图标 --- */
.bobo-foot-logo .share {
  font-size: 0;
  display: flex;
}

.bobo-foot-logo .share a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
}

.bobo-foot-logo .share a + a {
  margin-left: 24px;
}

.bobo-foot-logo .share a:hover {
  opacity: .7;
}

.bobo-foot-logo .share i {
  color: white;
  font-size: 26px;
}

/* --- 导航列表 (产品 / 快速链接) --- */
.bobo-foot-nav ul li,
.bobo-foot-list ul li {
  font-size: 15px;
  line-height: 1.73;
}

.bobo-foot-nav ul li + li,
.bobo-foot-list ul li + li {
  margin-top: 6px;
}

.bobo-foot-nav ul li a,
.bobo-foot-list ul li a {
  display: inline-block;
  color: #ffffff;
}

.bobo-foot-nav ul li a:hover,
.bobo-foot-list ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- 联系方式区块 --- */
.bobo-foot-contact {
  width: 300px;
}

.bobo-foot-contact p {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 15px;
  color: #ffffff;
}

.bobo-foot-contact p i {
  font-size: 20px;
  margin-right: 15px;
}

.bobo-foot-contact p a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
}

.bobo-foot-contact p a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- 版权声明 --- */
.bobo-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 72px;
  height: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bobo-copyright p {
  font-size: 17px;
  letter-spacing: 1px;
  color: #ffffff;
}

.bobo-copyright a.privacy-link {
  color: #ffffff;
}

.bobo-copyright a.privacy-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- 悬浮侧边栏 & 移动端底部栏 --- */
.bobo-side-bar {
  bottom: 150px;
  position: fixed;
  right: 10px;
  z-index: 999;
}

.bobo-side-bar a {
  display: block;
  cursor: pointer;
  width: 46px;
  height: 46px;
  line-height: 46px;
  background: var(--color-primary);
  position: relative;
  text-align: center;
  box-sizing: border-box;
  border-radius: 5px;
}

.bobo-side-bar a + a {
  margin-top: 10px;
}

.bobo-side-bar a i {
  display: inline-block;
  font-size: 30px;
  color: #ffffff;
}

.bobo-side-bar a:last-child i {
  font-size: 22px;
}

.bobo-side-bar a:hover {
  color: #ffffff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
}

#bobo-footBar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #333;
  transition: all 0.6s ease 0s;
  -webkit-transition: all 0.6s ease 0s;
}

#bobo-footBar ul {
  height: 45px;
  display: -webkit-flex;
  display: flex;
}

#bobo-footBar ul li {
  width: 25%;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

#bobo-footBar ul li:first-child {
  border-left: none;
}

#bobo-footBar ul li a {
  display: inline-block;
  width: 100%;
}

#bobo-footBar ul li i {
  color: #fff;
  font-size: 20px;
}

#bobo-footBar ul li span {
  display: block;
  color: #fff;
  font-size: 12px;
  margin-top: 1px;
  text-transform: uppercase;
}


/* ==========================================================================
   2. 响应式媒体查询 (笔记本 / 桌面小屏微调)
   ========================================================================== */
@media screen and (max-width: 1500px) {
  #bobo-footer h5 {
    font-size: 20px;
  }
  .bobo-foot-logo {
    width: 410px;
  }
  .bobo-foot-logo p {
    margin: 40px 0;
  }
}

@media screen and (max-width: 1280px) {
  #bobo-footer h5 {
    font-size: 18px;
  }
  .bobo-foot-contact {
    width: 280px;
  }
  .bobo-foot-logo {
    width: 380px;
  }
  .bobo-foot-logo p {
    margin: 30px 0;
  }
  .bobo-foot-logo .share a {
    width: 32px;
    height: 32px;
  }
  .bobo-foot-logo .share i {
    font-size: 22px;
  }
  .bobo-foot-logo p,
  .bobo-foot-nav ul li,
  .bobo-foot-list ul li,
  .bobo-foot-contact p {
    font-size: 14px;
  }
  .bobo-foot-logo .share a + a {
    margin-left: 20px;
  }
}

@media screen and (max-width: 1200px) {
  #bobo-footer h5 {
    font-size: 16px;
  }
  .bobo-foot-logo p {
    margin: 20px 0;
  }
  .bobo-foot-contact {
    width: 260px;
  }
  .bobo-foot-logo {
    width: 340px;
  }
}


/* ==========================================================================
   3. 响应式媒体查询 (针对 iPad / 平板端优化)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  #bobo-footer h5 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  #bobo-footer h5::after {
    margin: 15px auto 0 0;
  }
  #bobo-footer .container {
    flex-wrap: wrap; /* 允许弹性盒换行，形成规整的网格平铺 */
    justify-content: space-between;
    gap: 40px 20px;
  }
  .bobo-foot-logo {
    width: 46%; /* 平板上占左侧约一半 */
  }
  .bobo-foot-logo p {
    margin: 20px 0;
  }
  
  /* 联系方式在平板上占右侧约一半，并且内部元素整体向左看齐 */
  .bobo-foot-contact {
    width: 46%; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #bobo-footer .bobo-foot-contact h5 {
    text-align: left;
    width: 100%;
  }
  #bobo-footer .bobo-foot-contact h5::after {
    margin: 15px auto 0 0;
  }
  .bobo-foot-contact p {
    justify-content: flex-start;
    align-items: flex-start; /* 长地址换行时，图标对齐第一行顶部 */
    text-align: left;
  }

  /* 保留并平铺展示快速链接和产品列表 */
  .bobo-foot-nav,
  .bobo-foot-list {
    width: 22%; 
    display: block !important;
  }
}


/* ==========================================================================
   4. 响应式媒体查询 (针对 手机移动端 深度优化)
   ========================================================================== */
@media screen and (max-width: 768px) {
  #bobo-footer {
    padding: 40px 0 0;
  }
  #bobo-footer .container {
    flex-direction: column; /* 手机端切换为单列垂直排布 */
    align-items: center;
    gap: 35px;
  }
  
  /* Logo及简介部分居中 */
  .bobo-foot-logo {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bobo-foot-logo p {
    text-align: center;
    font-size: 14px;
    margin: 15px 0 20px;
  }
  .bobo-foot-logo .share a {
    width: 34px;
    height: 34px;
  }
  .bobo-foot-logo .share i {
    font-size: 20px;
  }
  .bobo-foot-logo .share a + a {
    margin-left: 20px;
  }

  /* 手机端隐藏复杂的PC列表，留出视觉空间给移动端底部悬浮栏 */
  .bobo-foot-nav,
  .bobo-foot-list,
  .bobo-side-bar {
    display: none !important;
  }

  /* 核心修改：联系方式区块在手机屏幕中整体居中，但内部所有文字和图标完美靠左对齐 */
  .bobo-foot-contact {
    width: 90%;
    max-width: 360px; /* 限制最大宽度，保证内部对齐线美观 */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 内部容器靠左 */
  }
  #bobo-footer .bobo-foot-contact h5 {
    font-size: 18px;
    text-align: left;
    margin-top: 0;
    width: 100%;
  }
  #bobo-footer .bobo-foot-contact h5::after {
    margin: 12px auto 0 0; /* 标题装饰线靠左 */
  }
  .bobo-foot-contact p {
    font-size: 14px;
    justify-content: flex-start; /* 内容靠左起排 */
    align-items: flex-start;     /* 图标置顶对齐首行 */
    text-align: left;            /* 文本左对齐 */
  }
  .bobo-foot-contact p i {
    margin-right: 12px;
    margin-top: 2px;             /* 微调图标和文字的垂直水平线 */
  }

  /* 版权栏调整 */
  .bobo-copyright {
    margin-top: 40px;
    padding: 15px 10px 60px; /* 底部留白给固定导航栏腾位置 */
    text-align: center;
    height: auto;
  }
  .bobo-copyright p {
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.5;
  }

  /* 唤起手机端专用底部固定导航 */
  #bobo-footBar {
    display: block;
  }
}

@media screen and (max-width: 576px) {
  /* 极小屏幕手机下的安全微调 */
  .bobo-foot-logo p {
    text-align: center; 
  }
  .bobo-foot-contact {
    width: 95%;
  }
}