@charset "utf-8";
/* =====================================================================
   H5 自适应适配层
   - 仅在 平板(<=1024px) 与 手机(<=767px) 下生效
   - >=1025px 的 PC 端不加载本文件中的任何规则，桌面效果保持不变
   - 适配对象：A套(main.css/main_cn.css 固定980布局) 与 B套(Bootstrap 页面共用 #nav)
   ===================================================================== */

/* 宽屏（PC）默认隐藏所有移动控件；仅在下方手机媒体查询内重新显示 */
.h5-toggle,
.h5-mask,
.h5-drawer { display: none; }

/* =====================================================================
   平板（含大尺寸手机横屏）：768px - 1024px
   固定 980 容器改为流体宽度，保留左右两栏比例
   ===================================================================== */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  /* 多媒体与图片随容器缩放，防止内联固定宽度造成横向溢出 */
  img {
    max-width: 100%;
    height: auto;
  }
  video,
  iframe,
  embed,
  object {
    /* !important 用于压过模板内联 style="max-width:800px"，窄屏下必须以容器为准 */
    max-width: 100% !important;
    height: auto !important;
  }

  /* A套：容器与两栏 */
  #wrapper {
    width: 100%;
    max-width: 980px;
    box-sizing: border-box;
  }
  #header {
    box-sizing: border-box;
  }
  #header h1 {
    font-size: 24px;
    line-height: 1.35;
    margin: 12px 10px;
  }
  #logo img {
    max-width: 100%;
    height: auto;
  }

  #contentWrap {
    width: 100%;
    box-sizing: border-box;
  }
  #leftbar {
    width: 22%;
    float: left;
    box-sizing: border-box;
  }
  div#content {
    width: 77%;
    float: right;
    box-sizing: border-box;
  }
  #leftbar .contact ul,
  .contact ul {
    width: auto !important;
    box-sizing: border-box;
  }
  /* PAD 触屏：侧栏目录链接满足 44px 最小点击高度 */
  #leftbar dl dd {
    height: auto;
  }
  #leftbar dl dd a {
    display: block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 10px;
    line-height: 1.35;
  }

  /* 固定尺寸图片自适应 */
  div#content img,
  #leftbar img {
    max-width: 100%;
    height: auto;
  }

  /* 产品网格：3 列 */
  div#content .pro,
  div#content .proShow {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
  }
  div#content .pro .xpro {
    width: calc(33.333% - 40px);
    margin: 18px 20px;
    box-sizing: border-box;
  }
  div#content .pro .xpro a {
    display: block;
  }
  div#content .pro .xpro p a,
  .proShow .xpro p a {
    display: block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 6px;
    line-height: 1.35;
    word-break: break-word;
  }
  div#content .xpro img {
    width: 100% !important;
    height: auto !important;
  }

  /* 首页简介文字 */
  .tex img {
    max-width: 100%;
    height: auto;
  }

  /* 表单：不超出容器 */
  div#content input,
  div#content textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 分页 */
  .pagination {
    white-space: normal;
  }
  .pagination > li {
    margin-bottom: 4px;
  }

  /* B套：修复其渐显脚本($.support.leadingWhitespace 在新版jQuery已移除)
     导致 .xySation 区块永久 visibility:hidden、手机/平板正文空白的问题。
     仅在 <=1024px 强制可见，>=1025px 的桌面端保持线上原状。 */
  .xySation {
    visibility: visible !important;
  }

  /* B套：横幅图/背景图均缺失(404)时，由 h5.js 标记并折叠空白占位条 */
  .topbanner.h5-banner-empty {
    display: none !important;
  }

  /* B套产品侧栏菜单项(平板可见)：触控高度 ≥44px、字号 14px；
     用后代选择器覆盖任意层级嵌套，min-height 避免 padding+行高取整差 1px */
  .xy-container#iframe #leftiframe .list-group-item > a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  /* B套：#nav 是 body 直接子元素(A套嵌于 #wrapper>#header)，
     B套自带CSS未对其排版，桌面端线上即为裸列表；这里仅在 <=1024px
     将其整理为与PC风格一致的横排深色导航条(<=767 时 #nav 被抽屉方案隐藏)。 */
  body > #nav {
    background: #4c4c4c;
    margin: 0;
  }
  body > #nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  body > #nav li {
    flex: 1 1 auto;
    display: flex;
    text-align: center;
  }
  body > #nav li a {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
  }
  body > #nav li.on a,
  body > #nav li a:hover {
    background: #fff;
    color: #333;
    text-decoration: none;
  }

  /* =====================================================================
     ≤1024 统一触控/字号规范（平板与手机共用；≥1025 PC 端不加载）
     ===================================================================== */

  /* A套顶部主导航：原固定 80×28，加高至 ≥44px 触屏行 */
  #header #nav {
    height: auto;
    min-height: 46px;
  }
  #header #nav ul {
    margin-left: 8px;
  }
  #header #nav ul li a {
    width: auto;
    min-width: 64px;
    height: auto;
    min-height: 44px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    box-sizing: border-box;
    font-size: 14px;
  }

  /* A套正文区字号不小于 14px（正文、栏目标题、产品名称） */
  div#content {
    font-size: 14px;
    line-height: 1.8;
  }
  .search span {
    font-size: 14px;
  }
  div#content .pro .xpro p a,
  .proShow .xpro p a,
  div#content .pro .xpro p,
  .proShow .xpro p {
    font-size: 14px;
  }
  form.xy-show-block-xs label {
    font-size: 14px;
  }

  /* A套左栏：标题/目录/联系方式字号 ≥14px，目录行 ≥44px */
  #leftbar dl dt {
    height: auto;
    padding: 10px 8px;
    font: bold 15px/1.4 "Microsoft YaHei", Arial, sans-serif;
  }
  #leftbar dl dd a {
    font-size: 14px;
  }
  .contact ul,
  #leftbar .contact ul {
    font-size: 14px;
    line-height: 1.7;
  }
  #leftbar .contact dd ul li a {
    display: block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 0;
    line-height: 1.4;
    color: #630;
    word-break: break-all;
  }

  /* 页脚：链接 ≥44px、字号 ≥14px */
  #footer {
    font-size: 14px;
    line-height: 1.7;
  }
  #footer #menu {
    height: auto;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
  }
  #footer #menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;
    margin: 5px 5px;
    font-size: 14px;
  }
  #footer > a {
    display: inline-block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 6px;
    font-size: 14px;
  }

  /* 表单控件：触控目标 ≥44px，字号 16px 防 iOS 聚焦自动放大 */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="password"],
  input[type="number"],
  input[type="url"],
  select,
  textarea {
    min-height: 44px;
    font-size: 16px;
    box-sizing: border-box;
  }
  textarea {
    min-height: 110px;
    height: auto;
  }
  input[type="submit"],
  input[type="button"],
  button {
    min-height: 44px;
  }

  /* B套分页按钮 ≥44px */
  .pagination > li > a,
  .pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
  }

  /* 报告页：图片原始 margin:10px 且无宽度约束，平板上会撑出横向滚动；
     table-layout:fixed 消除 4 列等分在亚像素宽度下的幽灵溢出 */
  div#content .profile table {
    table-layout: fixed;
  }
  div#content .profile td a {
    display: block;
    width: 100%;
  }
  div#content .profile img {
    box-sizing: border-box;
    margin: 6px;
    max-width: calc(100% - 12px);
  }
}

/* =====================================================================
   平板专项：768px - 1024px
   仅在该区间生效：PC(>=1025) 与手机(<=767，另有单栏/抽屉方案) 均不加载
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* ---- header 双背景图拼接错位修复（中英文同一套元素，自动同时生效）----
     原设计：#header 的 headimg.jpg(981x130，简写 background 解析为水平居中)
     与空 div #banner 的 banner.jpg(981x59，默认左对齐) 在 980 容器里恰好对齐，
     拼成一幅完整海滩图。容器变窄后两图横向裁剪起点不同，星鱼/拖鞋出现重影横条；
     英文版长公司名换行还会把浮动行撑高、把 #banner 下推，中间露出整段白底。
     方案：两图统一按容器等比横向缩放、同起点对齐保证接缝连续；
     h1 锁宽留在 Logo 同行（最多两行，仍低于 Logo 的 130px 行高）。 */
  #header {
    background: #82b64a url(/style/images/headimg.jpg) center top / 100% 130px no-repeat;
    overflow: hidden;
  }
  #header h1 {
    /* Logo 102 + Logo 左右 margin 30 + h1 左右 margin 20 = 152 */
    width: calc(100% - 152px);
  }
  /* 消除 inline 图片基线缝隙，保证浮动行高精确 = 130（5+120+5），
     #banner 才能严丝合缝接在 headimg 130px 下沿 */
  #logo img {
    display: block;
  }
  #banner {
    background: url(/style/images/banner.jpg) center top / 100% 59px no-repeat;
  }

  /* ---- 反馈留言表单：卡片式两列重构（与手机版同视觉语言；中英文同结构自动生效）----
     基础样式是 PC 浮动两列：label 80px 左浮、输入框原生边框、textarea 写死 564px，
     平板上拥挤错位。改为弹性换行卡片：短字段两列、留言整行，控件浅绿底圆角、
     聚焦绿边光晕，提交按钮全宽绿色胶囊。 */
  div#content .form-horizontal {
    display: -webkit-box;
    display: flex;
    -webkit-box-lines: multiple;
            flex-wrap: wrap;
    -webkit-box-pack: justify;
            justify-content: space-between;
    margin: 16px 0 10px;
    padding: 20px 18px 22px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e4ead9;
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 10px rgba(81, 105, 49, 0.08);
            box-shadow: 0 2px 10px rgba(81, 105, 49, 0.08);
  }
  .form-horizontal .bo {
    float: none;
    width: calc(50% - 10px) !important;
    margin: 0 0 16px;
    box-sizing: border-box;
  }
  /* 留言字段（.tj 前的最后一个 .bo）独占一行，覆盖标记自带的内联 width:98% */
  .form-horizontal .bo:nth-last-child(2) {
    width: 100% !important;
  }
  .form-horizontal label {
    float: none;
    display: block;
    width: auto;
    text-align: left;
    padding: 0 0 6px;
    font-size: 14px;
    font-weight: bold;
    color: #44502f;
  }
  div#content .form-horizontal input[type="text"],
  .form-horizontal input[type="text"] {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 16px; /* >=16px 避免 iOS 聚焦自动放大 */
    color: #333;
    background: #fafdf6;
    border: 1px solid #d6dec9;
    border-radius: 8px;
    -webkit-appearance: none;
            appearance: none;
    -webkit-transition: border-color .2s ease, -webkit-box-shadow .2s ease, background-color .2s ease;
            transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  div#content .form-horizontal textarea {
    width: 100% !important;
    max-width: 100%;
    height: 140px;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #fafdf6;
    border: 1px solid #d6dec9;
    border-radius: 8px;
    -webkit-appearance: none;
            appearance: none;
    -webkit-transition: border-color .2s ease, -webkit-box-shadow .2s ease, background-color .2s ease;
            transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  .form-horizontal input:focus,
  .form-horizontal textarea:focus {
    outline: none;
    background: #fff;
    border-color: #82b64a;
    -webkit-box-shadow: 0 0 0 3px rgba(130, 182, 74, 0.18);
            box-shadow: 0 0 0 3px rgba(130, 182, 74, 0.18);
  }
  .form-horizontal .tj {
    width: 100%;
    margin: 0;
    clear: both;
  }
  .form-horizontal .tj input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    background: #82b64a;
    border: 0;
    border-radius: 23px;
    -webkit-box-shadow: 0 3px 8px rgba(94, 133, 50, 0.3);
            box-shadow: 0 3px 8px rgba(94, 133, 50, 0.3);
    cursor: pointer;
  }
  .form-horizontal .tj input:active {
    background: #74a63f;
    -webkit-box-shadow: 0 1px 3px rgba(94, 133, 50, 0.3);
            box-shadow: 0 1px 3px rgba(94, 133, 50, 0.3);
  }
}

/* =====================================================================
   手机：<=767px，单栏 + 抽屉导航
   ===================================================================== */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }
  body {
    margin: 0;
  }

  /* ---------- 抽屉导航（h5.js 注入；无 JS 时不隐藏原 #nav，可降级） ---------- */
  html.h5-ready #nav {
    display: none !important;
  }

  .h5-toggle {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 1101;
    width: 38px;
    height: 38px;
    /* 解除 Blink 按钮 UA 最小高度（约 44px），保证 38px 声明生效 */
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    /* 使用站点主绿（与抽屉头 #82b64a 一致），替换原深灰，整体更协调 */
    background: #82b64a;
    /* 外阴影：悬浮于整条 header 之上仍有层次感 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.32), 0 1px 2px rgba(0, 0, 0, 0.22);
    cursor: pointer;
  }
  .h5-toggle:active {
    background: #74a63f;
  }
  .h5-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    /* 上下各 2.5px，相邻合计间距 5px；flex 项 margin 不折叠，老 WebView 也能居中 */
    margin: 2.5px 0;
    background: #fff;
    border-radius: 2px;
    -webkit-transition: -webkit-transform .25s ease, opacity .25s ease;
            transition: transform .25s ease, opacity .25s ease;
  }
  /* 打开时汉堡图标变形为 ×：条间距 5px + 条高 2px，中心距 7px */
  html.h5-open .h5-toggle span:nth-child(1) { -webkit-transform: translateY(7px) rotate(45deg); transform: translateY(7px) rotate(45deg); }
  html.h5-open .h5-toggle span:nth-child(2) { opacity: 0; }
  html.h5-open .h5-toggle span:nth-child(3) { -webkit-transform: translateY(-7px) rotate(-45deg); transform: translateY(-7px) rotate(-45deg); }

  .h5-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1090;
    background: rgba(0, 0, 0, 0.45);
  }
  .h5-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 78%;
    max-width: 320px;
    z-index: 1100;
    background: #fff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.25);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.28s ease;
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    will-change: transform;
  }
  html.h5-open .h5-drawer {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  html.h5-open .h5-mask {
    display: block;
  }
  html.h5-open,
  html.h5-open body {
    height: 100%;
    overflow: hidden;
  }

  .h5-drawer-head {
    flex: 0 0 auto;
    height: 50px;
    line-height: 50px;
    padding: 0 16px;
    background: #82b64a;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
  }
  /* 关闭由右上角汉堡按钮(打开态变×)承担，避免重复 */
  .h5-drawer-close { display: none; }
  .h5-drawer-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .h5-drawer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .h5-drawer-nav li a {
    display: block;
    padding: 14px 18px;
    font-size: 16px;
    line-height: 1.4;
    color: #036;
    text-align: left;
    border-bottom: 1px solid #eee;
    word-break: break-all;
  }
  .h5-drawer-nav li a:active,
  .h5-drawer-nav li.on a {
    background: #f2f7ec;
    color: #5a8f2e;
    text-decoration: none;
  }

  /* 产品中心二级菜单（h5.js 注入）：默认收起，点击"产品中心"或定位到产品页时展开 */
  .h5-drawer-nav li.has-sub > a {
    position: relative;
    padding-right: 44px;
    font-weight: bold;
  }
  /* 展开指示箭头：收起时朝右，展开时旋转朝下 */
  .h5-drawer-nav li.has-sub > a .h5-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: -12px;
    width: 20px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 22px;
    font-weight: normal;
    color: #5a8f2e;
    -webkit-transition: -webkit-transform .2s ease;
            transition: transform .2s ease;
  }
  .h5-drawer-nav li.has-sub.sub-open > a .h5-arrow {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .h5-drawer-nav ul.h5-sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f7faf3;
    border-top: 1px solid #e6efdc;
  }
  .h5-drawer-nav li.sub-open > ul.h5-sub {
    display: block;
  }
  .h5-drawer-nav ul.h5-sub li a {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 18px 10px 38px;
    font-size: 14px;
    line-height: 1.4;
    color: #444;
    border-bottom: 1px solid #eef3e8;
  }
  .h5-drawer-nav ul.h5-sub li a:active {
    background: #eaf2df;
    color: #5a8f2e;
  }
  /* 二级菜单当前定位项：深绿字 + 左侧绿色指示条，与普通项明确区分 */
  .h5-drawer-nav ul.h5-sub li a.h5-on {
    background: #e2efd2;
    color: #3f6b1f;
    font-weight: bold;
    -webkit-box-shadow: inset 3px 0 0 #82b64a;
            box-shadow: inset 3px 0 0 #82b64a;
    padding-left: 35px;
  }

  /* ---------- A套：页头 ---------- */
  #wrapper {
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: 14px;
  }
  /* 整条 header 悬浮吸顶（汉堡按钮不再单独悬浮）：
     常态为普通通栏（负外边距抵消 #wrapper 的 8px 内边距）；
     滚动后由 h5.js 加 h5-stuck 改为 fixed 紧凑栏（避免 body overflow-x:hidden 下 sticky 失效的兼容问题）；
     不支持 fixed 联动的老机型仅失去吸顶，不影响浏览 */
  #header {
    position: relative;
    margin: 0 -8px;
    padding: 10px 12px 10px 12px;
    background-size: cover;
    /* flex 布局：logo + 企业名 水平垂直居中 */
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    text-align: center;
  }
  /* 中文 header 高度 +20px（上下 padding 各 +10px） */
  html.h5-cn #header {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  /* 向下滚动吸顶后：固定通栏、紧凑单行（仅留 Logo + 汉堡）、底阴影 */
  #header.h5-stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    margin: 0;
    padding: 6px 56px 6px 12px;
    background-image: none;
    background-color: #82b64a;
    -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  }
  #logo {
    float: none;
    display: block;
    margin: 0;
  }
  #logo img {
    max-width: 52vw;
    max-height: 56px;
    width: auto;
    height: auto;
  }
  #header.h5-stuck #logo {
    margin-bottom: 0;
    /* 消除 inline 图片基线缝隙，保证紧凑栏高度精确 = 6+38+6 */
    font-size: 0;
    line-height: 0;
  }
  #header.h5-stuck #logo img {
    max-height: 38px;
  }
  #header h1 {
    float: none;
    width: auto;
    margin: 6px 0 0;
    font-size: 18px;
    line-height: 1.35;
  }
  /* 中文企业名 22px */
  html.h5-cn #header h1 {
    font-size: 22px;
  }
  /* 吸顶后隐藏公司全称，折叠为单行紧凑栏 */
  #header.h5-stuck h1 {
    display: none;
  }
  /* 吸顶后按钮尺寸与顶部一致（38px），仅微调上间距贴合紧凑栏 */
  html.h5-header-stuck .h5-toggle {
    top: 6px;
  }
  #banner {
    display: none;
  }

  /* ---------- 手机版：产品目录已收进抽屉导航的二级菜单，所有页面侧栏不再重复显示（中英文一致；联系方式 dl.contact 保留） ---------- */
  #contentWrap #leftbar > dl:first-child {
    display: none;
  }

  /* ---------- A套：主体单栏（正文在上、左侧栏在下；仅手机端改变视觉顺序，不动 DOM，不影响 PC/平板 float 布局） ---------- */
  #contentWrap {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    margin-top: 8px;
  }
  #contentWrap > #leftbar {
    -webkit-box-ordinal-group: 3;
            order: 2;
    float: none;
    width: 100%;
    border-left: 0;
    border-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
  }
  /* 间距挂到保留的联系方式块上：目录隐藏后，无联系方式的页面不留空白间距 */
  #contentWrap > #leftbar .contact {
    margin-top: 14px;
  }
  #contentWrap > div#content {
    -webkit-box-ordinal-group: 2;
            order: 1;
    float: none;
    width: 100%;
    box-sizing: border-box;
  }
  /* 抵消老页面 window.onload 写死的两栏等高内联高度 */
  #leftbar,
  div#content {
    height: auto !important;
  }

  #leftbar dl dt {
    border-radius: 3px;
  }
  #leftbar dl dd {
    height: auto;
    line-height: 1.4;
  }
  #leftbar dl dd a {
    display: block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 12px;
    line-height: 1.35;
  }
  #leftbar .contact ul {
    width: auto !important;
    margin: 6px 0;
  }

  /* 标题条 */
  .search {
    padding: 6px 10px;
    word-break: break-all;
    background-size: contain;
  }
  .search form {
    float: none;
    display: block;
    margin-top: 6px;
  }
  .search .keywords {
    width: 60%;
  }

  /* ---------- 首页简介 ---------- */
  .about .tex {
    padding: 8px;
    line-height: 1.9;
  }

  /* ---------- 产品网格：2 列 ---------- */
  div#content .pro,
  div#content .proShow {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  div#content .pro .xpro,
  .proShow .xpro {
    width: calc(50% - 20px);
    margin: 10px;
    padding: 4px;
    box-sizing: border-box;
  }
  div#content .pro .xpro a,
  .proShow .xpro a {
    display: block;
  }
  div#content .pro .xpro p a,
  .proShow .xpro p a {
    display: block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 11px 6px;
    line-height: 1.35;
    word-break: break-word;
  }
  div#content .xpro img {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
  }
  .xpro p {
    line-height: 1.5;
  }

  /* ---------- 公司简介页图片 ---------- */
  .profile img {
    float: none !important;
    display: block;
    max-width: 90%;
    height: auto;
    margin: 8px auto !important;
  }
  .profile .company img {
    display: inline-block;
    max-width: 40%;
  }

  /* ---------- 环保检测报告：4 列改 2 x 2 ---------- */
  div#content .profile table {
    width: 100%;
  }
  div#content .profile table td {
    display: inline-block;
    width: 49%;
    padding: 4px !important;
    box-sizing: border-box;
    vertical-align: middle;
  }
  div#content .profile table td a {
    display: block;
  }
  div#content .profile table td img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* ---------- 环保检测报告 lightbox 弹层（jquery.lightbox-0.5）手机适配：
     原插件按图片原始像素给容器写死宽高，手机上超出屏幕显示不全。
     改为 fixed 居中、图片限宽限高、容器自适应，层级压过吸顶栏与抽屉 ---------- */
  #jquery-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    z-index: 1200 !important;
  }
  #jquery-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100vh;
    z-index: 1201 !important;
    padding: 20px 10px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #lightbox-container-image-box {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
  }
  #lightbox-image {
    max-width: calc(100vw - 40px) !important;
    max-height: 70vh;
    width: auto !important;
    height: auto !important;
    border-radius: 4px;
  }
  /* 上一张/下一张点击区跟随缩放后的图片高度，避免透明热区盖住下方关闭按钮 */
  #lightbox-nav-btnPrev,
  #lightbox-nav-btnNext {
    height: 100% !important;
  }
  #lightbox-container-image-data-box {
    width: auto !important;
    max-width: calc(100vw - 20px);
    font-size: 12px;
    border-radius: 0 0 4px 4px;
  }
  #lightbox-secNav-btnClose {
    width: 44px;
    padding-top: 8px;
  }
  #lightbox-secNav-btnClose img {
    width: 30px;
    height: 30px;
  }

  /* ---------- 联系我们 ---------- */
  .conDl dd ul {
    float: none;
    margin: 0 0 10px 0 !important;
  }
  .map,
  .map a {
    width: auto !important;
    max-width: 100%;
  }

  /* ---------- 反馈留言表单：卡片式重构（中英文同结构，自动同时生效） ---------- */
  div#content .form-horizontal {
    margin: 14px 0 8px;
    padding: 16px 14px 18px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e4ead9;
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 10px rgba(81, 105, 49, 0.08);
            box-shadow: 0 2px 10px rgba(81, 105, 49, 0.08);
  }
  .form-horizontal .bo {
    float: none;
    width: 100% !important;
    margin: 0 0 14px;
    box-sizing: border-box;
  }
  .form-horizontal .bo:last-of-type {
    margin-bottom: 16px;
  }
  .form-horizontal label {
    float: none;
    display: block;
    width: auto;
    text-align: left;
    padding: 0 0 6px;
    font-size: 14px;
    font-weight: bold;
    color: #44502f;
  }
  div#content .form-horizontal input[type="text"],
  .form-horizontal input {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 16px; /* >=16px 避免 iOS 聚焦自动放大 */
    color: #333;
    background: #fafdf6;
    border: 1px solid #d6dec9;
    border-radius: 8px;
    -webkit-appearance: none;
            appearance: none;
    -webkit-transition: border-color .2s ease, -webkit-box-shadow .2s ease, background-color .2s ease;
            transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  div#content .form-horizontal textarea,
  .form-horizontal textarea#content {
    width: 100% !important;
    max-width: 100%;
    height: 132px;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #fafdf6;
    border: 1px solid #d6dec9;
    border-radius: 8px;
    -webkit-appearance: none;
            appearance: none;
    -webkit-transition: border-color .2s ease, -webkit-box-shadow .2s ease, background-color .2s ease;
            transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  .form-horizontal input:focus,
  .form-horizontal textarea:focus {
    outline: none;
    background: #fff;
    border-color: #82b64a;
    -webkit-box-shadow: 0 0 0 3px rgba(130, 182, 74, 0.18);
            box-shadow: 0 0 0 3px rgba(130, 182, 74, 0.18);
  }
  .form-horizontal .tj {
    margin: 0;
    clear: both;
  }
  .form-horizontal .tj input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    background: #82b64a;
    border: 0;
    border-radius: 23px;
    -webkit-box-shadow: 0 3px 8px rgba(94, 133, 50, 0.3);
            box-shadow: 0 3px 8px rgba(94, 133, 50, 0.3);
    cursor: pointer;
  }
  .form-horizontal .tj input:active {
    background: #74a63f;
    -webkit-box-shadow: 0 1px 3px rgba(94, 133, 50, 0.3);
            box-shadow: 0 1px 3px rgba(94, 133, 50, 0.3);
  }

  /* ---------- 页脚（手机段仅补外边距；字号/触控尺寸沿用 ≤1024 共享规则） ---------- */
  #footer {
    padding: 10px 8px 16px;
  }
  #footer #menu {
    padding: 6px 4px;
  }

  /* ---------- 分页（手机端居中排列；尺寸沿用 ≤1024 共享规则） ---------- */
  .pagination {
    display: block;
    text-align: center;
  }
  .pagination > li {
    display: inline-block;
    margin-bottom: 4px;
  }

  /* ---------- B套(Bootstrap 页面)安全微调 ---------- */
  .xy-container,
  .sectionWrapper {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
  .carousel-control {
    min-width: 34px;
  }
  .carousel-control i {
    font-size: 2em;
  }
  .technical-xy-col > .xy-col-1-4,
  .com-img ul.smallimg li {
    margin-bottom: 12px;
  }
}

/* 超小屏 <=360px 进一步收紧 */
@media (max-width: 360px) {
  #header h1 {
    font-size: 16px;
  }
  html.h5-cn #header h1 {
    font-size: 18px;
  }
  div#content .pro .xpro,
  .proShow .xpro {
    width: calc(50% - 12px);
    margin: 8px 6px;
  }
}
