/* ===== 无锡西贝尔 xbedj 模板样式（div+css 重构原 ASP table 布局） ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "宋体", Arial, sans-serif;
    font-size: 12px;
    color: #000;
    line-height: 160%;
    background: url(/static/images/bg.jpg) 50% top fixed repeat;
}
img { border: 0; vertical-align: middle; }
a { color: #000; text-decoration: none; }
a:hover { color: #ff0000; text-decoration: underline; }
.clear { clear: both; height: 0; font-size: 0; line-height: 0; overflow: hidden; }

/* SEO 隐藏 H1（真实文本，视觉不可见） */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 顶部电话条 ---------- */
.top {
    width: 1000px; height: 92px; margin: 0 auto; position: relative;
    background: url(/static/images/top.jpg) no-repeat center top;
}
.top .phone {
    position: absolute; right: 14px; top: 10px;
    font-size: 14px; color: #FF6600; text-align: right; line-height: 22px;
}

/* ---------- 导航 ---------- */
.navwrap { width: 1000px; height: 33px; margin: 0 auto; background: url(/static/images/10.jpg) repeat-x; }
.navwrap ul { list-style: none; height: 33px; display: flex; }
.navwrap li { height: 33px; line-height: 33px; text-align: center; }
.navwrap li a {
    display: block; color: #fff; font-size: 13px; height: 33px; line-height: 33px;
    padding: 0 2px; white-space: nowrap;
}
.navwrap li a:hover { color: #fff; text-decoration: none; }
.navwrap li.n-home  { width: 13%; }
.navwrap li.n-ab    { width: 11%; }
.navwrap li.n-beide { width: 12%; }
.navwrap li.n-weg   { width: 13%; }
.navwrap li.n-dy    { width: 11%; }
.navwrap li.n-bp    { width: 11%; }
.navwrap li.n-qt    { width: 12%; }
.navwrap li.n-faq   { width: 17%; }

/* ---------- 轮播 banner（首页） ---------- */
.bannerbox { width: 1000px; height: 273px; overflow: hidden; margin: 0 auto; background: #fff; }
#focus { width: 1000px; height: 273px; clear: both; overflow: hidden; position: relative; float: left; }
#focus ul { width: 1000px; height: 273px; float: left; position: absolute; clear: both; padding: 0; margin: 0; list-style: none; }
#focus ul li { float: left; width: 1000px; height: 273px; overflow: hidden; position: relative; padding: 0; margin: 0; }
#focus ul li img { width: 1000px; height: 273px; display: block; }

/* ---------- 首页主体 ---------- */
.main { width: 1000px; margin: 0 auto; background: #fff; overflow: hidden; }
.home-main { padding: 6px 0 12px; }
.main .left { width: 770px; float: left; padding-left: 10px; }
.main .right { width: 230px; float: right; padding-right: 4px; }

/* 栏目标题图 */
.sec-title { display: block; margin: 4px 0; }
.sec-title img { width: 730px; height: auto; display: block; }

/* 首页推荐产品：静态 3 行网格（每行 4 个，第 4 行被高度裁切，与原站 overflow 效果一致） */
.showcase { width: 745px; height: 574px; overflow: hidden; margin-top: 4px; }
.showcase .track { display: flex; flex-wrap: wrap; }
.showcase .track .item { width: 178px; margin: 0 8px 14px 0; }
.showcase .track .item .pbox {
    width: 178px; height: 160px; border: 1px solid #CCCCCC; background: #fff;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.showcase .track .item img { max-width: 176px; max-height: 158px; }
.showcase .track .item .cap { background: #CCCCCC; font-size: 12px; line-height: 20px; height: 20px; overflow: hidden; text-align: center; }
.showcase .track .item a { color: #000; }

/* 首页公司简介 */
.intro { width: 745px; margin: 8px 0 0; }
.intro .intro-title { width: 730px; height: 35px; display: block; margin: 4px 0 6px; }
.intro .intro-text { font-size: 12px; line-height: 23px; color: #3e3e3e; padding: 0 12px 0 6px; }

/* 右侧栏 */
.side-box { width: 230px; margin-bottom: 6px; }
.side-box > img { display: block; }
.side-contact { border: #E1E1E1 1px solid; padding: 6px; line-height: 23px; color: #3e3e3e; font-size: 12px; }
.side-contact b { font-weight: normal; }
.side-tall { margin-top: 6px; }

/* ---------- 内页（980 边框盒，无右栏） ---------- */
.main.inner { padding: 8px 0 14px; }
.cbox { width: 980px; margin: 0 auto; border: 1px solid #E1E1E1; background: #fff; }
.cbox .titlebar {
    height: 29px; background: url(/static/images/nei-bj1.jpg) repeat-x left top;
    padding: 3px 12px 0 30px; font-size: 13px; color: #333; position: relative; overflow: hidden;
}
.cbox .titlebar strong { font-size: 13px; color: #333; font-weight: bold; }
.cbox .titlebar .pos { float: right; color: #990000; font-size: 12px; padding-top: 1px; }
.cbox .titlebar .pos a { color: #333; }
.cbox .cbody { padding: 6px 10px 12px; }

/* 面包屑（内页内容顶部） */
.subnav { padding: 6px 4px 4px; font-size: 12px; color: #3e3e3e; }
.subnav a { color: #3e3e3e; }

/* ---------- 产品列表 ---------- */
.pro-grid { width: 100%; overflow: hidden; padding-top: 4px; }
.pro-grid .proitem { width: 174px; height: 216px; float: left; margin: 8px 6px; }
.pro-grid .proitem .pbox {
    border: 1px solid #CCCCCC; background: #fff;
    padding: 6px; height: 168px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pro-grid .proitem .pbox img { max-width: 160px; max-height: 156px; }
.pro-grid .proitem .pname { font-size: 12px; line-height: 18px; height: 40px; overflow: hidden; padding-top: 5px; text-align: center; }
.pro-grid .proitem .pname a { color: #000; }

/* ---------- 产品详情 ---------- */
.pd-wrap { overflow: hidden; padding: 4px 6px 10px; }
.pd-img { width: 300px; float: left; text-align: center; }
.pd-img img { max-width: 300px; height: auto; }
.pd-info { width: 380px; float: left; padding: 6px 0 0 16px; font-size: 12px; line-height: 24px; }
.pd-info h2 { font-size: 14px; color: #333; font-weight: bold; margin-bottom: 6px; }
.pd-desc { clear: both; padding: 12px 6px 0; font-size: 12px; line-height: 2.2; color: #3e3e3e; }
.pd-desc table { border-collapse: collapse; }
.pd-desc td { /* border: 1px solid #cccccc; */ padding: 3px 8px; }
.pd-desc img { max-width: 100%; height: auto; }
.pd-price { margin-top: 14px; border-collapse: separate; }
.pd-price td { padding: 5px 6px; font-size: 12px; }
.pd-price img { vertical-align: middle; }

/* 单页正文 */
.single-text p { margin: 0 0 6px; }
.single-text img { max-width: 100%; height: auto; }

/* ---------- 新闻列表 / 详情 ---------- */
.news-list { list-style: none; padding: 8px 6px; }
.news-list li { line-height: 34px; border-bottom: 1px dashed #ddd; font-size: 12px; padding-left: 18px; position: relative; }
.news-list li:before { content: "·"; position: absolute; left: 6px; color: #999; font-weight: bold; }
.news-list li .date { float: right; color: #999; }
.news-list li a { color: #333; }
.no-news { padding: 24px; text-align: center; color: #888; }
.news-detail h2 { font-size: 15px; color: #333; text-align: center; padding: 10px 0; }
.news-meta { font-size: 12px; color: #999; text-align: center; padding: 0 0 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.news-desc { font-size: 12px; line-height: 2.2; color: #3e3e3e; padding: 6px 8px; }
.news-desc img { max-width: 100%; height: auto; }

/* ---------- 分页 ---------- */
.pages { text-align: center; padding: 16px 0 8px; font-size: 12px; color: #333; }
.pages a { color: #005188; padding: 0 4px; }
.pages strong, .pages b { color: #FF0000; font-weight: bold; padding: 0 2px; }

/* ---------- 页脚 ---------- */
.foot {
    width: 1000px; min-height: 72px; margin: 0 auto; background: url(/static/images/47.jpg) repeat-x left top;
    color: #fff; line-height: 23px; padding: 8px 12px; font-size: 12px;
}
.foot a { color: #fff; }
.flinks { width: 1000px; margin: 0 auto; background: #fff; padding: 8px 12px; font-size: 12px; color: #333; }
.flinks a { color: #333; margin-right: 16px; }

/* ---------- 浮动声明图（与原站一致） ---------- */
#img1 { width: 381px; height: 199px; position: absolute; top: 43px; right: 16px; z-index: 999; background: #fff; }
#img1 div { width: 381px; text-align: right; font-size: 12px; }
#img1 div a { text-decoration: none; color: #333; }
#img1 div a:hover { color: red; }
#img1 img { width: 381px; height: 199px; display: block; }

/* ---------- 响应式（移动端简单适配） ---------- */
@media (max-width: 960px) {
    .top, .navwrap, .bannerbox, #focus, #focus ul, #focus ul li, #focus ul li img,
    .main, .foot, .flinks { width: 100%; }
    .bannerbox, #focus, #focus ul, #focus ul li, #focus ul li img { height: auto; }
    #focus ul li img { width: 100%; height: auto; }
    .navwrap ul { flex-wrap: wrap; }
    .navwrap li { width: auto !important; padding: 0 8px; }
    .main .left, .main .right { width: 100%; float: none; padding: 0 10px; }
    .cbox { width: 100%; }
    .showcase, .intro, .pro-grid { width: 100%; height: auto; }
    .showcase .track { animation: none; flex-wrap: wrap; }
    .pro-grid .proitem { width: 46%; }
    #img1 { display: none; }
}

/* ---------- 内页 banner ---------- */
.inner-banner { width: 1000px; margin: 0 auto; background: #fff; padding: 2px 0 2px; overflow: hidden; }

/* ---------- 移动端补充适配 ---------- */
@media (max-width: 960px) {
    .top { height: 0; padding-top: 9.2%; background-size: 100% auto; background-position: center top; overflow: visible; }
    .top .phone { top: 8%; right: 1.5%; font-size: 12px; line-height: 18px; }
    .inner-banner { width: 100%; }
    .pd-img, .pd-info { width: 100%; float: none; padding: 0; }
    .pd-img img { max-width: 100%; }
    .pd-desc img, .news-desc img, .single-text img { max-width: 100%; height: auto; }
    .pages { padding: 0 10px; }
}

/* ---------- 正文内容格式化（仅统一缩小字号，不改动表格结构/宽度/高度） ---------- */
.pd-desc, .news-desc, .single-text,
.pd-desc table, .pd-desc td, .pd-desc th,
.news-desc table, .news-desc td, .news-desc th,
.single-text table, .single-text td, .single-text th { font-size: 13px; line-height: 1.9; color: #333; }
.pd-desc img, .news-desc img, .single-text img { max-width: 100%; height: auto; }
