/* ================================================================
 * 仝多宝外贸版（tdb）· 响应式重制版
 * 基因：老站红 #c80001 / 辅蓝 #21c2f8 / 黑导航 / 深色纹理区块
 * 体系：流式版心 1200px + CSS Grid 自适应栅格 + 三档断点
 *      ≥1200 桌面 / 768–1199 紧凑桌面 / ≤767 移动端
 * 素材：/Upload/tongduobao/skin/
 * ================================================================ */

:root {
  --tdb-red: #c80001;
  --tdb-red-d: #a30000;
  --tdb-blue: #21c2f8;
  --tdb-dark: #86070b;
  --tdb-ink: #333;
  --tdb-gray: #777;
  --tdb-line: #e3e3e3;
  --tdb-wrap: 1200px;
  --tdb-pad: 20px;
  --tdb-fs: 14px;
}

/* ---------- 基础 ---------- */
body.lay-tdb { margin: 0; padding: 0; color: var(--tdb-ink); background: #fff; min-width: 320px; font-size: var(--tdb-fs); }
:where(body.lay-tdb) :where(div, dl, dt, dd, ul, ol, li,
  h1, h2, h3, h4, h5, h6,
  pre, form, fieldset, input, textarea,
  blockquote, p) { padding: 0; margin: 0; font-size: inherit; line-height: 1.7; font-family: "Segoe UI", "Microsoft Yahei", "微软雅黑", Arial, Verdana, sans-serif; }
:where(body.lay-tdb) :where(ol, ul) { list-style: none; }
:where(body.lay-tdb) :where(li) { list-style-type: none; }
:where(body.lay-tdb) :where(address, cite, code, em, th, i) { font-weight: normal; font-style: normal; }
:where(body.lay-tdb) :where(img) { vertical-align: top; border: 0; max-width: 100%; }
:where(body.lay-tdb) :where(a) { color: var(--tdb-ink); text-decoration: none; transition: color .15s; }
:where(body.lay-tdb) :where(a:hover) { color: var(--tdb-red); }
:where(body.lay-tdb) :where(table) { border-collapse: collapse; border-spacing: 0; }
:where(body.lay-tdb) :where(h1) { margin: 14px 0; font-size: 24px; line-height: 1.4; text-align: center; }
:where(body.lay-tdb) :where(h2) { margin: 10px 0; font-size: 20px; line-height: 1.4; }
:where(body.lay-tdb) :where(h3) { margin: 6px 0; font-size: 17px; line-height: 1.5; }
body.lay-tdb .yahei { font-family: "Microsoft Yahei", "微软雅黑", sans-serif; }
body.lay-tdb .clear, body.lay-tdb .clear0 { clear: both; height: 0; overflow: hidden; }

/* 栅格子项防溢出 */
.tdb-grid > *, .tdb-cols > * { min-width: 0; }

/* 流式版心 */
.tdb-wrap { width: min(var(--tdb-wrap), 100% - var(--tdb-pad) * 2); margin: 0 auto; }

/* ---------- 头部 ---------- */
.tdb-header-container { background: #fff; }
.tdb-header { width: min(var(--tdb-wrap), 100% - var(--tdb-pad) * 2); margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 18px 0 14px; }
.tdb-header .tdb-logo { flex: 0 1 auto; min-width: 0; }
.tdb-header .tdb-logo img { display: block; height: 62px; width: auto; max-width: 380px; object-fit: contain; }
.tdb-header .tdb-logo .tdb-logo-txt { display: inline-block; font-size: 26px; font-weight: 800; color: var(--tdb-red); letter-spacing: 1px; line-height: 62px; white-space: nowrap; }
.tdb-header .tdb-hd-side { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 0; }
.tdb-header .tdb-social img { display: block; height: 40px; width: auto; }
.tdb-header .tdb-lang { display: flex; align-items: center; gap: 14px; font-size: 13px; white-space: nowrap; }
.tdb-header .tdb-lang a { display: inline-flex; align-items: center; padding-left: 20px; color: var(--tdb-blue); }
.tdb-header .tdb-lang a:hover { color: #0aa2d6; }
.tdb-header .tdb-lang .en a { background: url(/Upload/tongduobao/skin/tdb_09.gif) no-repeat left center; }
.tdb-header .tdb-lang .ch a { background: url(/Upload/tongduobao/skin/tdb_11.gif) no-repeat left center; color: #2b7fb8; }

/* ---------- 导航 ---------- */
.tdb-nav { background: url(/Upload/tongduobao/skin/tdb_20.gif) repeat-x bottom #101010; position: relative; z-index: 900; }
.tdb-nav .tdb-nav-in { width: min(var(--tdb-wrap), 100% - var(--tdb-pad) * 2); margin: 0 auto; display: flex; align-items: stretch; flex-wrap: wrap; }
.tdb-nav ul#nav { display: flex; align-items: stretch; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
.tdb-nav #nav > li { position: relative; display: flex; }
.tdb-nav #nav > li > a { display: flex; align-items: center; padding: 0 clamp(14px, 2.6vw, 34px); height: 52px; font-size: 15px; font-weight: 600; letter-spacing: .4px; color: #fff; text-transform: uppercase; white-space: nowrap; }
.tdb-nav #nav > li > a:hover, .tdb-nav #nav > li > a.nav-a-hover { background: var(--tdb-red); }
.tdb-nav #nav .mainlevel > ul { display: none; position: absolute; top: 52px; left: 0; min-width: 260px; background: var(--tdb-dark); border-top: 2px solid var(--tdb-red); box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 1000; padding: 6px 0; }
.tdb-nav #nav .mainlevel > ul li { display: block; }
.tdb-nav #nav .mainlevel > ul li a { display: block; padding: 9px 22px; color: #fff; font-size: 13.5px; white-space: nowrap; }
.tdb-nav #nav .mainlevel > ul li a:hover { background: rgba(255,255,255,.08); color: var(--tdb-blue); }
/* 汉堡按钮（移动端显示） */
.tdb-nav-toggle { display: none; }

/* ---------- 轮播 ---------- */
#banner { position: relative; overflow: visible; border-top: 5px solid #fff; }
.tdb-banner-main { position: relative; overflow: hidden; border-top: 1px solid #d7d7d7; height: clamp(240px, 36vw, 600px); }
.tdb-banner-main ul { position: absolute; top: 0; left: 0; width: 100%; display: flex; height: 100%; transition: left .45s ease; }
.tdb-banner-main li { flex: 0 0 100%; height: 100%; overflow: hidden; }
.tdb-banner-main li a { display: block; height: 100%; }
.tdb-banner-main li img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.flicking_con { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
.flicking_con .flicking_inner { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; pointer-events: auto; }
.flicking_con a { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.85); color: #999; font: 600 13px/26px "Microsoft Yahei", sans-serif; text-align: center; cursor: pointer; transition: all .2s; }
div.flicking_con a.on { background: var(--tdb-red); color: #fff; transform: scale(1.08); }
#btn_prev, #btn_next { position: absolute; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; z-index: 50; opacity: 0; transition: opacity .25s; background: rgba(0,0,0,.35); border-radius: 50%; cursor: pointer; }
#btn_prev { left: 24px; } #btn_next { right: 24px; }
#btn_prev::after, #btn_next::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
#btn_next::after { transform: translate(-50%, -50%) rotate(-135deg); }
#banner:hover #btn_prev, #banner:hover #btn_next, #btn_prev:focus, #btn_next:focus { opacity: 1; }
#btn_prev:hover, #btn_next:hover { background: rgba(200,0,1,.55); }
.tdb-banner-deco { position: absolute; left: 50%; transform: translateX(-50%); bottom: -14px; width: 28px; height: 28px; z-index: 45; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }

/* ---------- 通用板块标题 ---------- */
.tdb-sec-tit { text-align: center; color: var(--tdb-red); font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; font-family: "Microsoft Yahei", sans-serif; line-height: 1.35; letter-spacing: .5px; }
.tdb-sec-sub { text-align: center; color: #666; font-size: 14px; margin-top: 8px; }
.tdb-deco { position: absolute; left: 50%; transform: translateX(-50%); top: -14px; width: 28px; height: 28px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.tdb-deco.tdb-deco-b { top: auto; bottom: -14px; }

/* ---------- Main01 COMPANY SHOWED ---------- */
.Main01 { padding: 52px 0 40px; }
.Main01 .tdb-tabs { max-width: 1100px; margin: 26px auto 0; width: calc(100% - var(--tdb-pad) * 2); }
#tabs ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
#tabs ul li.tabsbg_01, #tabs ul li.tabsbg_02 { display: none; }
#tabs ul li a { display: block; padding: 11px 30px; background: #e9e9e9; color: #484848; font-size: 15px; font-weight: 600; font-family: "Microsoft Yahei", sans-serif; cursor: pointer; border: 1px solid #ddd; border-left-width: 0; }
#tabs ul li:first-child a { border-left-width: 1px; }
#tabs ul li a:hover { background: #d5f3fd; color: #0a7ea8; }
#tabs ul li a.tabulous_active { background: var(--tdb-blue); color: #fff; border-color: var(--tdb-blue); }
#tabs_container { position: relative; background: #fff; margin-top: 28px; overflow: hidden; }
#tabs_container .tabpane { display: none; }
#tabs_container .tabpane.show { display: block; animation: tdbFade .35s ease; }
@keyframes tdbFade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
#tabs_container ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
#tabs_container ul li { display: contents; }
#tabs_container li span { display: block; overflow: hidden; }
#tabs_container li span img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tabs_container li span.tabs-L, #tabs_container li span.tabs-C, #tabs_container li span.tabs-C-L, #tabs_container li span.tabs-R {
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-start; color: #fff; padding: 16px 14px; text-align: left;
}
#tabs_container li span.tabs-L { background: #ff9c1b; }
#tabs_container li span.tabs-C { background: var(--tdb-red); text-align: left; }
#tabs_container li span.tabs-C-L { background: #484d50; }
#tabs_container li span.tabs-R { background: #76bfea; }
#tabs_container li span p { font-size: 13.5px; line-height: 1.75; flex: 1 1 auto; overflow: hidden; }
#tabs_container li span em { align-self: flex-start; padding: 5px 12px; font-weight: 700; font-size: 13.5px; margin-top: 10px; }
#tabs_container li span.tabs-L em { background: #a45d00; }
#tabs_container li span.tabs-C em { background: #570000; }
#tabs_container li span.tabs-C-L em { background: #1a1e21; }
#tabs_container li span.tabs-R em { background: #0072a6; }
/* 拼贴顺序：图1 → 图2 → 文字1 → 文字2 → 文字3 → 图3（桌面 3 列两行） */
#tabs_container .tdb-tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
#tabs_container .tdb-cert { text-align: center; padding: 10px 0 14px; }
#tabs_container .tdb-cert img { max-width: 100%; height: auto; }

/* ---------- Main02 SEVEN ADVANTAGE ---------- */
.Main02 { position: relative; background: url(/Upload/tongduobao/skin/tdb_120.gif) repeat #1d1d1d; padding: 54px 0 50px; }
.Main02 .tdb-grid { display: grid; grid-template-columns: 230px 1fr; gap: 34px; align-items: start; }
.Main02 .Main02L { border: 2px solid #d2d2d2; background: url(/Upload/tongduobao/skin/tdb_128.gif) repeat #153a4d; border-radius: 6px; padding: 26px 24px 28px; }
.Main02 .Main02L p { color: #fff; font-size: 19px; line-height: 1.6; padding: 6px 0 14px; }
.Main02 .Main02L p.P1 { border-bottom: 2px solid #d2d2d2; margin-bottom: 14px; }
.Main02 .Main02L p.P2 { font-size: 25px; font-weight: 800; line-height: 1.5; }
.Main02 .Main02L p.P2 span { display: block; width: 64px; height: 2px; background: #d2d2d2; margin-top: 12px; }
.Main02 .Main02L em { display: block; padding-top: 22px; }
.Main02 .Main02L em img { max-width: 100%; }
.Main02 .Main02R { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; color: #cbcbcb; }
.Main02 .Main02R .tdb-adv { position: relative; padding: 0 0 0 0; }
.Main02 .Main02R .tdb-adv p { font-size: 13.5px; line-height: 1.8; color: #cbcbcb; }
.Main02 .Main02R .tdb-adv span { display: block; width: 64px; height: 2px; background: #d2d2d2; margin-top: 14px; }
.Main02 .Main02R .tdb-adv.tdb-wide { grid-column: 1 / -1; }

/* ---------- Main03 / Main04 优势区 ---------- */
.Main03 { padding: 58px 0 30px; }
.Main04 { padding: 40px 0 30px; }
.tdb-adv-n { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 34px; }
.Main04 .tdb-adv-n { grid-template-columns: repeat(5, 1fr); }
.tdb-adv-n > div { position: relative; background: #1e252b; border-radius: 6px; color: #fff; padding: 92px 18px 20px; min-height: 168px; font-size: 13px; line-height: 1.75; }
.tdb-adv-n > div::before { content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; background-color: var(--tdb-blue); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.tdb-adv-n .tdb-ico-1::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r2_c2.png); mask-image: url(/Upload/tongduobao/skin/hh_r2_c2.png); }
.tdb-adv-n .tdb-ico-2::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r4_c3.png); mask-image: url(/Upload/tongduobao/skin/hh_r4_c3.png); }
.tdb-adv-n .tdb-ico-3::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r6_c4.png); mask-image: url(/Upload/tongduobao/skin/hh_r6_c4.png); }
.tdb-adv-n .tdb-ico-4::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r8_c5.png); mask-image: url(/Upload/tongduobao/skin/hh_r8_c5.png); }
.tdb-adv-n .tdb-ico-5::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r10_c5.png); mask-image: url(/Upload/tongduobao/skin/hh_r10_c5.png); }
.tdb-adv-n .tdb-ico-6::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r12_c3.png); mask-image: url(/Upload/tongduobao/skin/hh_r12_c3.png); }
.tdb-adv-n .tdb-ico-7::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r14_c5.png); mask-image: url(/Upload/tongduobao/skin/hh_r14_c5.png); }
.tdb-adv-n .tdb-ico-8::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r16_c6.png); mask-image: url(/Upload/tongduobao/skin/hh_r16_c6.png); }
.tdb-adv-n .tdb-ico-9::before { -webkit-mask-image: url(/Upload/tongduobao/skin/hh_r18_c6.png); mask-image: url(/Upload/tongduobao/skin/hh_r18_c6.png); }
.tdb-prod-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tdb-prod-quad a { display: block; border: 1px solid #9a9a9a; padding: 5px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.tdb-prod-quad a:hover { border-color: var(--tdb-red); box-shadow: 0 6px 18px rgba(200,0,1,.14); }
.tdb-prod-quad a img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- Main05 NEWS / ACTIVITY ---------- */
.Main05 { position: relative; background: url(/Upload/tongduobao/skin/tdb_120.gif) repeat #1d1d1d; padding: 50px 0 46px; margin-top: 46px; }
.Main05 .tdb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.Main05 .Main05_tit { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #ccc; padding-bottom: 10px; margin-bottom: 18px; }
.Main05 .Main05_tit span { font-size: 20px; font-weight: 800; color: #fff; font-family: "Microsoft Yahei", sans-serif; letter-spacing: 1px; }
.Main05 .Main05_tit a { display: inline-flex; padding: 4px 6px; }
.Main05 .Main05_tit a img { height: 22px; }
/* 活动图文条目 */
.tdb-act-item { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #808080; color: #fff; }
.tdb-act-item:hover { color: #fff; }
.tdb-act-item .pic { border: 1px solid #787878; background: #fff; padding: 3px; grid-row: 1 / span 2; align-self: start; }
.tdb-act-item .pic img { display: block; width: 100%; height: 92px; object-fit: cover; }
.tdb-act-item h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.5; }
.tdb-act-item p { font-size: 13px; color: #c9c9c9; line-height: 1.7; }
/* 新闻列表条目 */
.tdb-news-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 2px 11px 18px; border-bottom: 1px dashed #808080; color: #fff; font-size: 14px; background: url(/Upload/tongduobao/skin/tdb_117.gif) no-repeat left center; }
.tdb-news-list a:hover { color: var(--tdb-blue); }
.tdb-news-list a .t { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tdb-news-list a .d { color: #9d9d9d; font-size: 12.5px; white-space: nowrap; }

/* ---------- Main06 产品目录 ---------- */
.Main06 { padding: 52px 0 56px; }
.Main06 .tdb-grid { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.tdb-cats-box { border: 1px solid #0074a0; border-top: 0; background: url(/Upload/tongduobao/skin/tdb_128.gif) repeat #153a4d; }
.tdb-cats-tit { background: url(/Upload/tongduobao/skin/tdb_124.gif) no-repeat left top #1d5c7e; padding: 12px 16px; color: #fff; font-size: 18px; font-weight: 700; font-family: "Microsoft Yahei", sans-serif; }
.tdb-cats-box h3 a { display: block; padding: 10px 16px; border-bottom: 1px solid rgba(60,190,234,.35); color: #fff; font-size: 13.5px; }
.tdb-cats-box h3 a:hover { background: rgba(60,190,234,.14); color: #fff; }
.tdb-prodshow-tit { background: url(/Upload/tongduobao/skin/tdb_132.gif) repeat #2c88ad; padding: 11px 16px; color: #fff; font-size: 16px; font-weight: 600; font-family: "Microsoft Yahei", sans-serif; }
.tdb-prodshow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; padding: 16px 14px 18px; }
.tdb-prodshow .box { text-align: center; }
.tdb-prodshow .box img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid #fff; border-radius: 4px; }
.tdb-prodshow .box p { margin-top: 7px; text-align: left; color: #fff; font-size: 12.5px; line-height: 1.55; overflow: hidden; }
.tdb-prodshow .box p a { color: #fff; }
.tdb-prodshow .box p a:hover { color: var(--tdb-blue); }
.Main06 .main6_r .main6_r_tit { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed #929292; padding-bottom: 8px; margin: 26px 0 4px; font-size: 17px; color: #5b5b5b; font-weight: 600; }
.Main06 .main6_r .main6_r_tit:first-child { margin-top: 0; }
.Main06 .main6_r .main6_r_tit a { color: #ae0407; font-size: 13px; }
.Main06 .main6_r .main6_r_tit a:hover { color: var(--tdb-red); }
.tdb-cat-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; padding-top: 14px; }
.tdb-cat-items li { text-align: center; }
.tdb-cat-items li .pic { display: block; border: 1px solid #ccc; padding: 3px; background: #fff; }
.tdb-cat-items li .pic img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid #bcbcbc; }
.tdb-cat-items li p { margin-top: 8px; text-align: left; background: url(/Upload/tongduobao/skin/tdb_139.gif) no-repeat left center; padding-left: 20px; font-size: 12.5px; line-height: 1.55; overflow: hidden; }
.tdb-cat-items li p a { color: #555; }

/* ---------- 内页 ---------- */
.tu .tu_img { border-bottom: 5px solid #bf010d; height: clamp(150px, 24vw, 300px); background-size: cover; background-position: center top; }
.tu .tu_img.t1 { background-image: url(/Upload/tongduobao/skin/cp.jpg); }
.tu .tu_img.tabout { background-image: url(/Upload/tongduobao/skin/gywm.jpg); }
.tu .tu_img.tcompany { background-image: url(/Upload/tongduobao/skin/xwhd.jpg); }
.tu .tu_img.tcontact { background-image: url(/Upload/tongduobao/skin/lxwm.jpg); }
.tu .tu_img.tmubiao { background-image: url(/Upload/tongduobao/skin/scmb.jpg); }
.tu .tdb-crumb { width: min(var(--tdb-wrap), 100% - var(--tdb-pad) * 2); margin: 14px auto 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #f7f7f7; border-left: 3px solid var(--tdb-red); font-size: 13px; color: #666; box-sizing: border-box; }
.tu .tdb-crumb a { color: #666; }
.tu .tdb-crumb a:hover { color: var(--tdb-red); }
.tu .tdb-crumb span { color: #af0c0e; }
.tdb-container { width: min(var(--tdb-wrap), 100% - var(--tdb-pad) * 2); margin: 0 auto; display: grid; grid-template-columns: 264px 1fr; gap: 24px; align-items: start; padding: 22px 0 44px; }
.tdb-container.tdb-full { grid-template-columns: 1fr; }

/* 侧栏 */
.tdb-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tdb-side .tdb-cats-tit { border-radius: 4px 4px 0 0; }
#sidenav li a { display: block; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 13.5px; font-weight: 600; }
#sidenav li a:hover, #sidenav li a.side-a-hover { background: rgba(60,190,234,.16); color: #fff; }
.tdb-side .tdb-prodshow { grid-template-columns: 1fr 1fr; }

/* 主体 */
.tdb-main { border: 1px solid #b7b7b7; border-top: 3px solid #d30011; background: #f7f7f7; min-width: 0; }
.tdb-main .tdb-main-tit { padding: 11px 18px; background: #fdfdfd url(/Upload/tongduobao/skin/ny.jpg) no-repeat 14px center; border-bottom: 1px solid #d5d5d5; font-size: 16px; color: #c90002; font-weight: 700; letter-spacing: 1px; padding-left: 40px; }
.tdb-main .tdb-content { padding: 20px 24px 26px; overflow-wrap: break-word; }
.tdb-main .tdb-content p { margin: 9px 0; }
.tdb-main .tdb-content img { max-width: 100%; height: auto; }

/* 产品网格（列表页） */
.tdb-prodgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tdb-prodgrid a { display: block; text-align: center; }
.tdb-prodgrid a .pic { display: block; border: 1px solid #9a9a9a; background: #fff; padding: 4px; overflow: hidden; }
.tdb-prodgrid a .pic img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.tdb-prodgrid a:hover .pic { border-color: var(--tdb-red); }
.tdb-prodgrid a:hover .pic img { transform: scale(1.04); }
.tdb-prodgrid a .nm { display: block; margin-top: 8px; font-size: 13px; line-height: 1.55; color: #444; overflow: hidden; }

/* 新闻列表（列表页） */
.tdb-artlist li { padding: 12px 4px; border-bottom: 1px dashed #ccc; }
.tdb-artlist li a { font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.tdb-artlist li p { margin-top: 4px; color: #888; font-size: 13px; }
.tdb-empty { padding: 34px 0; text-align: center; color: #999; }

/* 分页 */
.pagebar { clear: both; padding: 22px 0 4px; text-align: center; }
.pagebar a, .pagebar span { display: inline-block; margin: 0 3px; padding: 5px 12px; border: 1px solid #ddd; background: #fff; color: #cd0102; line-height: 1.6; font-size: 13px; border-radius: 3px; }
.pagebar a:hover { border-color: var(--tdb-red); }
.pagebar .pagecur { font-weight: 700; color: #fff; background: var(--tdb-red); border-color: var(--tdb-red); }

/* 产品详情 */
.tdb-pro-top { display: grid; grid-template-columns: minmax(320px, 460px) 1fr; gap: 24px; align-items: start; margin-bottom: 26px; }
.tdb-progal { border: 1px solid #ddd; background: #fff; padding: 8px; }
.tdb-promain { display: block; background: #fff; }
.tdb-promain img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.tdb-prothumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tdb-prothumbs span { width: 74px; height: 74px; border: 2px solid #ddd; padding: 2px; cursor: pointer; background: #fff; }
.tdb-prothumbs span.on { border-color: var(--tdb-red); }
.tdb-prothumbs img { width: 100%; height: 100%; object-fit: cover; }
.TIP { background: #f4f4f4; border: 1px solid #e0e0e0; padding: 20px 22px 24px; min-width: 0; }
.TIP h2 { color: var(--tdb-red); font-size: 19px; line-height: 1.5; margin: 0 0 12px; }
.TIP .tipn { font-size: 13.5px; line-height: 1.9; color: #444; }
.TIP .tipn a { display: inline-block; margin-top: 14px; padding: 10px 30px; background: var(--tdb-red); color: #fff; font-size: 14px; font-weight: 600; border-radius: 3px; }
.TIP .tipn a:hover { background: var(--tdb-red-d); color: #fff; }
/* 文章详情 */
.tdb-art-title { font-size: 22px; text-align: center; line-height: 1.5; margin: 6px 0 6px; }
.tdb-art-meta { text-align: center; color: #999; font-size: 13px; margin-bottom: 10px; }
.tdb-prevnext { border-top: 1px dotted #ccc; margin-top: 26px; padding-top: 12px; font-size: 13.5px; }
.tdb-prevnext p { margin: 5px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tdb-rel { margin-top: 26px; }
.tdb-rel h3 { font-size: 15px; color: #c90002; padding-bottom: 8px; border-bottom: 1px solid #d5d5d5; }
.tdb-rel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px; margin-top: 12px; }
.tdb-rel ul li { background: url(/Upload/tongduobao/skin/tdb_139.gif) no-repeat left center; padding-left: 20px; font-size: 13.5px; line-height: 1.9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 搜索表单 */
.tdb-search-form { display: flex; gap: 10px; margin-bottom: 18px; max-width: 480px; }
.tdb-search-form input[type=text] { flex: 1 1 auto; min-width: 0; border: 1px solid #c9c9c9; padding: 9px 10px; font-size: 15px; font-family: inherit; border-radius: 3px; box-sizing: border-box; }
.tdb-search-form input[type=text]:focus { outline: none; border-color: var(--tdb-red); }
.tdb-search-form button { background: var(--tdb-red); color: #fff; border: none; padding: 0 24px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; border-radius: 3px; }
.tdb-search-form button:hover { background: var(--tdb-red-d); }

/* 留言页 */
.table-guestbook { width: 100%; max-width: 720px; margin: 0 auto; }
.table-guestbook td { padding: 8px 6px; vertical-align: middle; }
.table-guestbook td.tdb-tbl { width: 110px; text-align: right; color: #555; }
.table-guestbook input[type=text], .table-guestbook textarea { border: 1px solid #c9c9c9; padding: 9px 10px; font-size: 15px; font-family: inherit; border-radius: 3px; width: 100%; max-width: 420px; box-sizing: border-box; }
.table-guestbook textarea { max-width: 520px; }
.table-guestbook input[type=radio] { width: auto; }
.tdb-gb-tip { text-align: center; padding: 4px 0 12px; color: #555; }
.tdb-gb-tip.ok { color: #1a7a1a; }
.tdb-gb-tip.err { color: var(--tdb-red); }
.tdb-gb-submit { background: var(--tdb-red); color: #fff; border: none; width: 140px; height: 40px; font-size: 15px; font-family: inherit; font-weight: 600; cursor: pointer; border-radius: 3px; }
.tdb-gb-submit:hover { background: var(--tdb-red-d); }

/* ---------- 页脚 ---------- */
.Footer { background: url(/Upload/tongduobao/skin/tdb_120.gif) repeat #1d1d1d; margin-top: 46px; position: relative; color: #bdbdbd; }
.Footer a { color: #bdbdbd; }
.Footer .Footer_s { background: url(/Upload/tongduobao/skin/tdb_144.gif) repeat; height: 16px; }
.Footer .tdb-ft-grid { display: grid; grid-template-columns: 200px 1.1fr 1.3fr; gap: 34px; padding: 34px 0 26px; }
.Footer .Footer_l ul li a { display: block; padding: 4px 0; font-size: 13.5px; text-transform: uppercase; }
.Footer .Footer_c { font-size: 13.5px; line-height: 2; }
.Footer .Footer_r .tdb-ft-msg-tit { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 12px; font-family: "Microsoft Yahei", sans-serif; }
.Footer .Footer_r form { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; }
.Footer .Footer_r form em { color: #ddd; font-size: 13px; white-space: nowrap; }
.Footer .Footer_r form input, .Footer .Footer_r form textarea { width: 100%; border: 1px solid #666; background: #2e2e2e; color: #eee; padding: 9px 10px; font-size: 15px; font-family: inherit; border-radius: 3px; box-sizing: border-box; }
.Footer .Footer_r form textarea { height: 64px; resize: vertical; }
.Footer .Footer_r form input:focus, .Footer .Footer_r form textarea:focus { outline: none; border-color: var(--tdb-blue); }
.Footer .Footer_r .tdb-ft-submit { justify-self: end; grid-column: 2; display: inline-block; width: auto; padding: 8px 34px; color: #fff; background: #626262; border: 1px solid #333; border-radius: 3px; font-size: 14px; cursor: pointer; }
.Footer .Footer_r .tdb-ft-submit:hover { background: var(--tdb-red); border-color: var(--tdb-red); }
.Footer #tdbFtTip { color: #eee; font-size: 12.5px; line-height: 1.6; }
.tdb-ft-copy { text-align: center; padding: 14px var(--tdb-pad) 20px; color: #999; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- 移动端底部快捷条 ---------- */
.tdb-mobile-bar { display: none; }

/* ================================================================
 * 紧凑桌面（768–1199）：版心已流式，微调密度与栅格
 * ================================================================ */
@media (max-width: 1199px) {
  :root { --tdb-wrap: 1000px; }
  .tdb-header .tdb-logo img { height: 52px; max-width: 320px; }
  #tabs_container ul, #tabs_container .tdb-tiles { grid-template-columns: repeat(3, 1fr); }
  .Main02 .tdb-grid { grid-template-columns: 210px 1fr; gap: 24px; }
  .tdb-container { grid-template-columns: 240px 1fr; gap: 20px; }
  .tdb-prodgrid { grid-template-columns: repeat(3, 1fr); }
  .tdb-cat-items { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================================
 * 移动端（≤767）：全部单列堆叠 + 大字号 + 大触摸目标
 * ================================================================ */
@media (max-width: 767px) {
  :root { --tdb-fs: 14.5px; --tdb-pad: 14px; }
  /* 头部：LOGO 居中 + 语言条居中一行，社交条隐藏 */
  .tdb-header { flex-direction: column; gap: 10px; padding: 14px 0 10px; text-align: center; }
  .tdb-header .tdb-logo { width: 100%; }
  .tdb-header .tdb-logo img { height: 46px; max-width: 300px; margin: 0 auto; }
  .tdb-header .tdb-hd-side { margin-left: 0; align-items: center; width: 100%; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 8px 18px; }
  .tdb-header .tdb-social { display: none; }
  .tdb-header .tdb-lang { gap: 18px; }
  .tdb-header .tdb-lang a { height: 30px; }
  /* 导航：汉堡 + 抽屉 */
  .tdb-nav { min-height: 52px; }
  .tdb-nav .tdb-nav-in { width: 100%; }
  .tdb-nav ul#nav { display: none; flex-direction: column; position: absolute; top: 52px; left: 0; right: 0; background: #101010; z-index: 3000; border-top: 1px solid #333; box-shadow: 0 14px 26px rgba(0,0,0,.3); }
  .tdb-nav ul#nav.open { display: flex; }
  .tdb-nav #nav > li { flex-direction: column; border-bottom: 1px solid #2a2a2a; }
  .tdb-nav #nav > li > a { height: 48px; padding: 0 18px; font-size: 14.5px; }
  .tdb-nav #nav > li > a:hover, .tdb-nav #nav > li > a.nav-a-hover { background: var(--tdb-red); }
  .tdb-nav #nav .mainlevel > ul { display: block; position: static; min-width: 0; background: #5d0407; border-top: 0; box-shadow: none; padding: 2px 0 8px; }
  .tdb-nav #nav .mainlevel > ul li a { padding: 9px 18px 9px 34px; font-size: 13px; }
  .tdb-nav-toggle { display: block; position: absolute; right: 12px; top: 9px; width: 42px; height: 36px; background: rgba(255,255,255,.08); border: 1px solid #444; border-radius: 4px; cursor: pointer; z-index: 3001; }
  .tdb-nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; }
  /* 轮播 */
  .tdb-banner-main { height: clamp(180px, 52vw, 300px); }
  #btn_prev, #btn_next { display: none; }
  .flicking_con a { width: 22px; height: 22px; line-height: 22px; font-size: 12px; }
  .tdb-banner-deco { width: 22px; height: 22px; bottom: -11px; }
  /* 板块留白收紧 */
  .Main01 { padding: 34px 0 26px; }
  .tdb-sec-tit { font-size: 21px; }
  .Main02 { padding: 34px 0 30px; }
  .Main02 .tdb-grid { grid-template-columns: 1fr; gap: 18px; }
  .Main02 .Main02L { padding: 18px 18px 20px; }
  .Main02 .Main02L p { font-size: 16px; }
  .Main02 .Main02L p.P2 { font-size: 21px; }
  .Main02 .Main02L em { display: none; }
  .Main02 .Main02R { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .Main02 .Main02R .tdb-adv.tdb-wide { grid-column: 1 / -1; }
  /* 优势条 */
  .Main03 { padding: 34px 0 12px; }
  .Main04 { padding: 26px 0 12px; }
  .tdb-adv-n { grid-template-columns: 1fr 1fr !important; gap: 10px; margin: 20px 0 24px; }
  .tdb-adv-n > div { padding: 78px 14px 16px; min-height: 148px; font-size: 12.5px; }
  .tdb-adv-n > div::before { top: 18px; width: 38px; height: 38px; }
  /* 产品四联 */
  .tdb-prod-quad { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* Main05 */
  .Main05 { padding: 30px 0 28px; margin-top: 30px; }
  .Main05 .tdb-cols { grid-template-columns: 1fr; gap: 26px; }
  /* Main06 */
  .Main06 { padding: 34px 0 40px; }
  .Main06 .tdb-grid { grid-template-columns: 1fr; gap: 22px; }
  .tdb-prodshow { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .tdb-cat-items { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  /* 内页 */
  .tu .tu_img { height: 150px; }
  .tu .tdb-crumb { margin-top: 10px; font-size: 12.5px; }
  .tdb-container { grid-template-columns: 1fr; gap: 18px; padding: 16px 0 30px; }
  /* 侧栏折叠为横向芯片 */
  .tdb-side { display: grid; gap: 14px; }
  .tdb-cats-tit { border-radius: 4px; }
  #sidenav { display: flex; flex-wrap: wrap; gap: 8px; background: none; padding: 2px 0; }
  #sidenav li a { display: inline-block; padding: 8px 14px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 18px; color: #555; font-size: 13px; font-weight: 600; }
  #sidenav li a.side-a-hover, #sidenav li a:hover { background: var(--tdb-red); border-color: var(--tdb-red); color: #fff; }
  .tdb-side .tdb-cats-box { border-radius: 6px; overflow: hidden; }
  .tdb-side .tdb-cats-box h3 a { border-bottom: none; }
  .tdb-side .tdb-prodshow { grid-template-columns: 1fr 1fr; }
  .tdb-main .tdb-content { padding: 16px 14px 20px; }
  .tdb-prodgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tdb-rel ul { grid-template-columns: 1fr; }
  /* 详情页 */
  .tdb-pro-top { grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }
  .TIP { padding: 16px 16px 20px; }
  .tdb-prothumbs span { width: 62px; height: 62px; }
  /* 留言页 */
  .table-guestbook td { display: block; width: 100%; box-sizing: border-box; }
  .table-guestbook td.tdb-tbl { width: 100%; text-align: left; padding-bottom: 0; }
  .table-guestbook input[type=text], .table-guestbook textarea { max-width: 100%; }
  /* 页脚 */
  .Footer .tdb-ft-grid { grid-template-columns: 1fr; gap: 22px; padding: 26px 0 20px; }
  .Footer .Footer_l ul { display: flex; flex-wrap: wrap; gap: 2px 16px; }
  .Footer .Footer_r form { gap: 8px 10px; }
  .Footer .Footer_r form input, .Footer .Footer_r form textarea { font-size: 16px; }
  /* 移动快捷条 */
  .tdb-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 2500; background: #161616; border-top: 1px solid #333; box-shadow: 0 -4px 14px rgba(0,0,0,.25); }
  .tdb-mobile-bar a { flex: 1; text-align: center; color: #fff; padding: 12px 0; font-size: 14px; font-weight: 600; letter-spacing: 1px; }
  .tdb-mobile-bar a + a { border-left: 1px solid #333; }
  .tdb-mobile-bar a:active { background: var(--tdb-red); }
  body.lay-tdb { padding-bottom: 50px; }
}

/* 小屏手机微调（≤400） */
@media (max-width: 400px) {
  .Main02 .Main02R { grid-template-columns: 1fr; }
  .tdb-prodshow { grid-template-columns: 1fr 1fr; }
}
