/* 去掉 Salesmartly / Wemet 聊天弹窗 */
#ss-chat,
iframe[src*="salesmartly"],
iframe[src*="plugin-code"],
div[class*="ss-chat"],
div[id*="ssc-"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 产品详情顶部：保留背景图和面包屑，不要大标题、不要头图 */
.banner-inpage.banner-inpage-product {
  min-height: clamp(280px, 32vw, 480px);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.banner-inpage.banner-inpage-product .ban-txt {
  position: relative;
  bottom: auto;
  height: auto;
  min-height: clamp(280px, 32vw, 480px);
  padding: 110px 0 28px;
}
.banner-inpage.banner-inpage-product .ban-loc,
.banner-inpage.banner-inpage-product .ban-loc a {
  color: #fff;
}

/* 全站字体统一 */
html, body,
.hyh-txt, .t-inpage h2, .title-product-itempack, .title-categories,
.nav-list1, .footer, .hyh-product-category, .contact-itempack,
.product-show-description, .parameter {
  font-family: "Barlow", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

/* 首页生产线：后台图必须铺满，不能只写 background-image 却没有 cover */
.i-applications .applications .applications-itempack {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.i-applications .applications .applications-itempack .applications-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.i-applications .applications .applications-itempack .applications-content {
  position: relative;
  z-index: 3;
}

/* 产品左侧导航更紧凑 */
.hyh-product-category .t-inpage {
  padding: 12px 16px !important;
}
.hyh-product-category .t-inpage h2 {
  font-size: 20px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.hyh-product-category .category > ul > li > a {
  padding: 9px 16px !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
.hyh-product-category .category > ul > li.product-child > a {
  padding: 5px 16px 5px 26px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #555;
}
.hyh-product-category .category > ul hr {
  margin: 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* 产品说明：左图右文 */
.product-desc-split {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.product-desc-split .desc-media {
  flex: 0 0 44%;
  max-width: 44%;
}
.product-desc-split .desc-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}
.product-desc-split .desc-text p {
  margin: 0 0 12px;
}
.product-desc-split .desc-media .desc-main-photo {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border: 1px solid #eee;
}
.product-desc-split .desc-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.product-desc-split .desc-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}
.product-desc-split .desc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 767px) {
  .product-desc-split {
    flex-direction: column;
  }
  .product-desc-split .desc-media {
    max-width: 100%;
    flex-basis: auto;
  }
}

/* 侧栏 WhatsApp 二维码 */
.side-online li.side-wa {
  position: relative;
}
.side-online li.side-wa .side-wa-qr {
  display: none;
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 168px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  text-align: center;
  z-index: 20;
}
.side-online li.side-wa:hover .side-wa-qr,
.side-online li.side-wa:focus-within .side-wa-qr {
  display: block;
}
.side-online li.side-wa .side-wa-qr img {
  width: 148px;
  height: 148px;
  object-fit: contain;
}
.side-online li.side-wa .side-wa-qr p {
  margin: 6px 0 0;
  color: #222;
  font-size: 12px;
  line-height: 1.4;
}
