/* ==========================================================================
   BOHAN refine  —  细节修整层（最后加载）
   ========================================================================== */

/* ---------- 1. Cookie 弹窗：底部通栏 ---------- */
.m-cookieconsent1 {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 99998 !important;
}

.m-cookieconsent1 .mcc-wp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: none;
  padding: 16px 32px;
  margin: 0;
  border-radius: 0;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .14);
  background: #fff;
}

.m-cookieconsent1 .mcc-text {
  max-width: 72%;
}

.m-cookieconsent1 .mcc-title {
  margin: 0 0 4px;
  font-family: Poppins-SemiBold, Arial, sans-serif;
  font-size: 14px;
  color: #1a1a1a;
}

.m-cookieconsent1 .mcc-desc p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #666;
}

.m-cookieconsent1 .mcc-control {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.m-cookieconsent1 .mcc-btn {
  min-width: 132px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  transition: .25s;
}

.m-cookieconsent1 .mcc-btn.j-mcc-okagree {
  background: #086200;
  border-color: #086200;
  color: #fff;
}

.m-cookieconsent1 .mcc-btn.j-mcc-okagree:hover {
  background: #0a7a00;
  border-color: #0a7a00;
}

.m-cookieconsent1 .mcc-btn.j-mcc-reject:hover {
  border-color: #086200;
  color: #086200;
}

@media screen and (max-width: 767px) {
  .m-cookieconsent1 .mcc-wp {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
  }

  .m-cookieconsent1 .mcc-text { max-width: 100%; }

  .m-cookieconsent1 .mcc-control { gap: 8px; }

  .m-cookieconsent1 .mcc-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 38px;
    font-size: 12px;
  }
}

/* ---------- 2. 右侧联系栏：图标白色 ---------- */
.rail__ico,
.rail__ico i {
  color: #fff;
}

/* ---------- 3. 手机端导航 ---------- */
@media screen and (max-width: 767px) {
  /* 头部改成实色深底，白色 logo 与图标才看得清 */
  .heb {
    background: rgba(0, 0, 0, .9) !important;
  }

  /* 抽屉：浅灰底 + 深色字 */
  .smdaohang {
    background: #f4f4f5 !important;
    box-shadow: -8px 0 32px rgba(0, 0, 0, .18);
  }

  .smdaohang .topnav > li > a {
    color: #1f1f1f !important;
  }

  .smdaohang .topnav > li > a:hover,
  .smdaohang .topnav > li.on > a {
    color: #086200 !important;
  }

  .smdaohang .topnav li ul {
    background: #fff !important;
  }

  .smdaohang .topnav li ul li a {
    color: #555 !important;
  }

  .smdaohang form {
    background: #fff !important;
    border-color: #d8d8d8 !important;
  }

  .smdaohang form .iptc {
    color: #333 !important;
  }

  .smdaohang form i {
    color: #666 !important;
  }
}

/* ---------- 4. 产品卡片：主图统一 1:1 ---------- */
.prlie .prtu {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  background: #fff;
}

.prlie .prtu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 相关产品滑块同样 1:1 */
.img-list1 .img-list1 ul li,
.img-list1 li a,
.img-list1 li img {
  display: block;
}

.img-list1 li img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@supports not (aspect-ratio: 1 / 1) {
  .prlie .prtu {
    height: 0;
    padding-bottom: 100%;
  }

  .prlie .prtu img {
    position: absolute;
    inset: 0;
  }
}

/* ---------- 5. 页面底部留出联系栏高度（手机） ---------- */
@media screen and (max-width: 767px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0)); }
}

/* ---------- 6. About 二级导航：5 项排成一行 ---------- */
.abnav .zong {
  flex-wrap: nowrap;
  justify-content: space-between;
  border-radius: 12px;
}

.abnav a {
  padding: 0 18px !important;
  font-size: 15px !important;
  line-height: 42px;
  white-space: nowrap;
  flex: 1 1 auto;
  text-align: center;
}

@media screen and (max-width: 999px) {
  .abnav .zong { flex-wrap: wrap; }
  .abnav a { flex: 1 1 45%; font-size: 13px !important; padding: 0 10px !important; }
}

/* ---------- 7. 认证页：3 张证书一屏放得下，隐藏轮播箭头 ---------- */
.abmain2 .img-scroll2 > .prev,
.abmain2 .img-scroll2 > .next {
  display: none !important;
}
