/* =====================================================================
   菏泽网络电视台 · 三站通用样式
   主题变量由 layout/head.php 按站点注入
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, sans-serif;
  font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: .2px; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; }
::selection { background: var(--accent); color: #fff; }

:root {
  --accent: #1d4ed8;
  --accent-2: #3b82f6;
  --accent-soft: rgba(29, 78, 216, .08);
  --ink: #17203a;
  --ink-2: #3c4a63;
  --muted: #6b7a92;
  --line: #e6ebf3;
  --bg: #f5f7fb;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 32, 58, .04), 0 8px 24px rgba(23, 32, 58, .05);
  --shadow-hover: 0 4px 12px rgba(23, 32, 58, .08), 0 16px 40px rgba(23, 32, 58, .10);
  --wrap: 1240px;
}

/* ---------------------------------------------------------------- 布局 */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.row { display: flex; gap: 24px; align-items: flex-start; }
.main { flex: 1 1 auto; min-width: 0; }
.side { width: 320px; flex: 0 0 320px; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------------------------------------------------------------- 顶部 */
.topbar { background: #0e1730; color: rgba(255,255,255,.72); font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: #fff; }
.topbar .tb-links { display: flex; gap: 16px; }
.topbar .tb-links a::after { content: ""; }

header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hd { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.5px;
  box-shadow: 0 6px 16px var(--accent-soft);
}
.brand .bn { display: flex; flex-direction: column; line-height: 1.2; }
.brand .bn b { font-size: 19px; letter-spacing: .3px; }
.brand .bn span { font-size: 11.5px; color: var(--muted); letter-spacing: 1.6px; margin-top: 3px; }
.hd .search { flex: 1 1 auto; max-width: 520px; position: relative; }
.hd .search input {
  width: 100%; height: 42px; border-radius: 21px; border: 1.5px solid var(--line);
  background: #f6f8fc; padding: 0 104px 0 18px; font-size: 14px; color: var(--ink); outline: none;
  transition: .2s;
}
.hd .search input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.hd .search button {
  position: absolute; right: 4px; top: 4px; height: 34px; padding: 0 18px; border: 0; border-radius: 17px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 13.5px; cursor: pointer;
}
.hd .hd-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.hd .hd-right .btn-line { border: 1px solid var(--line); border-radius: 18px; padding: 7px 15px; color: var(--ink-2); }
.hd .hd-right .btn-line:hover { border-color: var(--accent); color: var(--accent); }

nav.mainnav { border-top: 1px solid var(--line); background: #fff; }
nav.mainnav ul { display: flex; gap: 4px; height: 46px; align-items: stretch; overflow-x: auto; }
nav.mainnav a {
  display: flex; align-items: center; padding: 0 16px; font-size: 15px; color: var(--ink-2);
  position: relative; white-space: nowrap; font-weight: 500;
}
nav.mainnav a:hover { color: var(--accent); }
nav.mainnav a.on { color: var(--accent); font-weight: 700; }
nav.mainnav a.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ---------------------------------------------------------------- 首页 Hero */
.hero {
  margin: 22px 0 6px; border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 58%, #0d1b3e 140%);
  color: #fff; padding: 38px 40px 34px;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -90px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
}
.hero > * { position: relative; z-index: 1; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 1px; opacity: .9; }
.hero .kicker i { width: 22px; height: 1px; background: rgba(255,255,255,.6); display: inline-block; }
.hero h1 { font-size: 33px; margin: 12px 0 10px; letter-spacing: .5px; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, transparent 62%, rgba(255,255,255,.30) 62%); padding: 0 2px; }
.hero p.lead { font-size: 14.5px; opacity: .88; max-width: 720px; margin-bottom: 20px; }
.hero .hsearch { display: flex; gap: 0; max-width: 620px; background: #fff; border-radius: 12px; padding: 5px; box-shadow: 0 10px 30px rgba(6, 14, 36, .25); }
.hero .hsearch input { flex: 1; border: 0; outline: 0; padding: 0 16px; height: 44px; font-size: 14.5px; color: var(--ink); background: transparent; }
.hero .hsearch button { border: 0; height: 44px; padding: 0 26px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 600; cursor: pointer; }
.hero .hkw { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.hero .hkw span { opacity: .7; }
.hero .hkw a { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 4px 11px; border-radius: 20px; }
.hero .hkw a:hover { background: rgba(255,255,255,.26); color: #fff; }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 18px 0 26px; overflow: hidden; box-shadow: var(--shadow); }
.stats div { padding: 18px 22px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 25px; color: var(--accent); letter-spacing: -.5px; }
.stats span { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- 区块 */
.sec { margin: 34px 0; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.sec-hd h2 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.sec-hd h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.sec-hd .sub { font-size: 13px; color: var(--muted); margin-left: 10px; font-weight: 400; }
.sec-hd .more { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sec-hd .more:hover { color: var(--accent); }
.sec-hd .more::after { content: "›"; font-size: 18px; line-height: 1; }

/* 分类瓷片 */
.catgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.catgrid a {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 12px 13px;
  display: flex; flex-direction: column; gap: 4px; transition: .18s; position: relative; overflow: hidden;
}
.catgrid a::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: .18s; transform-origin: top; }
.catgrid a:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.catgrid a:hover::after { transform: scaleY(1); }
.catgrid b { font-size: 14.5px; font-weight: 600; }
.catgrid span { font-size: 11.5px; color: var(--muted); }
.catgrid em { font-style: normal; font-size: 11px; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 1px 5px; width: fit-content; }

/* 企业卡片 */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ccard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; gap: 9px; transition: .18s; position: relative;
}
.ccard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #d8e2f5; }
.ccard .top { display: flex; gap: 11px; align-items: center; }
.ccard .top img { width: 46px; height: 46px; border-radius: 11px; flex: 0 0 46px; object-fit: cover; }
.ccard .top .nm { min-width: 0; }
.ccard .top .nm b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .top .nm span { font-size: 12px; color: var(--muted); }
.ccard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tagx { font-size: 11.5px; color: var(--ink-2); background: #f2f5fb; border-radius: 5px; padding: 2px 7px; }
.ccard .foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-top: auto; }
.ccard .foot .go { color: var(--accent); font-weight: 600; }

/* 产品卡片 */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .18s; display: flex; flex-direction: column; }
.pcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pcard img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; background: #eef2f9; }
.pcard .pb { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .pb h3 { font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.pcard .price { color: #d92b2b; font-weight: 700; font-size: 15px; }
.pcard .price small { font-weight: 400; font-size: 12px; color: var(--muted); }
.pcard .co { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 信息列表 */
.ilist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ilist li { display: flex; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.ilist li:last-child { border-bottom: 0; }
.ilist li:hover { background: #fafcff; }
.ilist .ttl { flex: 1; min-width: 0; font-size: 14.5px; }
.ilist .ttl a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ilist .ttl em { font-style: normal; font-size: 11.5px; color: var(--accent); background: var(--accent-soft); padding: 1px 6px; border-radius: 4px; margin-right: 8px; }
.ilist .sum { font-size: 12.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ilist .meta { font-size: 12px; color: var(--muted); flex: 0 0 auto; }

/* 供求 */
.supply2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.supbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.supbox .bh { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.supbox .bh b { font-size: 15px; display: flex; align-items: center; gap: 7px; }
.supbox .bh b i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.supbox .bh a { font-size: 12.5px; color: var(--muted); }
.supbox ul li { padding: 11px 16px; border-bottom: 1px dashed #eef1f7; font-size: 13.5px; display: flex; gap: 10px; }
.supbox ul li:last-child { border-bottom: 0; }
.supbox ul li .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.supbox ul li .p { color: #d92b2b; flex: 0 0 auto; font-size: 13px; }
.supbox ul li .d { color: var(--muted); font-size: 12px; flex: 0 0 auto; }

/* 资讯双栏 */
.newsbox { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.ilist a img { height: auto; }
.feature .fb { padding: 16px 18px 18px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; }
.feature .mt { margin-top: 10px; font-size: 12px; color: var(--muted); }
.newslist li { padding: 13px 0; border-bottom: 1px dashed #e9edf5; display: flex; gap: 12px; }
.newslist li:last-child { border: 0; padding-bottom: 0; }
.newslist li .d { flex: 0 0 48px; text-align: center; }
.newslist li .d b { display: block; font-size: 17px; color: var(--ink); line-height: 1.2; }
.newslist li .d span { font-size: 11px; color: var(--muted); }
.newslist li .t a { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newslist li .t p { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 地区 */
.areagrid { display: flex; flex-wrap: wrap; gap: 8px; }
.areagrid a { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 20px; font-size: 13.5px; color: var(--ink-2); }
.areagrid a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.areagrid a span { color: var(--muted); font-size: 11.5px; margin-left: 3px; }

/* 关键词云 */
.kwcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.kwcloud a { font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 6px; }
.kwcloud a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------- 侧栏 */
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.widget-hd { display: flex; align-items: center; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.widget-hd b { font-size: 15px; }
.widget-hd a { font-size: 12.5px; color: var(--muted); }
.rank li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #eef1f7; font-size: 13.5px; align-items: flex-start; }
.rank li:last-child { border: 0; }
.rank li i { font-style: normal; flex: 0 0 18px; height: 18px; border-radius: 5px; background: #f1f4fa; color: var(--muted); font-size: 11.5px; display: grid; place-items: center; margin-top: 3px; }
.rank li:nth-child(1) i { background: var(--accent); color: #fff; }
.rank li:nth-child(2) i { background: var(--accent-2); color: #fff; }
.rank li:nth-child(3) i { background: #9cb6ea; color: #fff; }
.rank li a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.contactcard { background: linear-gradient(150deg, var(--accent), #101c3d); color: #fff; border-radius: var(--radius); padding: 20px; }
.contactcard b { font-size: 16px; }
.contactcard p { font-size: 12.5px; opacity: .8; margin: 8px 0 14px; }
.contactcard .tel { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.contactcard .btn { display: block; text-align: center; margin-top: 14px; background: #fff; color: var(--accent); border-radius: 9px; padding: 10px; font-weight: 600; font-size: 14px; }

/* ---------------------------------------------------------------- 列表页 */
.page-hd { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0 16px; }
.page-hd h1 { font-size: 24px; margin-bottom: 8px; }
.page-hd .dsc { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.page-hd .hmeta { margin-top: 12px; display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.crumb { margin: 14px 0 0; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); }
.crumb li { display: flex; align-items: center; gap: 6px; }
.crumb li + li::before { content: "/"; color: #c3cddd; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }

.filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0; font-size: 13.5px; }
.filter .lb { color: var(--muted); font-size: 12.5px; }
.filter a { padding: 4px 11px; border-radius: 6px; color: var(--ink-2); }
.filter a.on { background: var(--accent); color: #fff; }
.filter a:hover { background: var(--accent-soft); color: var(--accent); }
.filter a.on:hover { background: var(--accent); color: #fff; }

.pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 10px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 13.5px; padding: 0 12px; color: var(--ink-2); }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .dis { color: #b9c4d6; }

/* ---------------------------------------------------------------- 详情 */
.detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px 30px; }
.detail h1 { font-size: 27px; line-height: 1.45; margin-bottom: 14px; }
.dmeta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.dmeta .chip { background: var(--accent-soft); color: var(--accent); padding: 2px 9px; border-radius: 5px; font-size: 12px; }

.article { font-size: 16px; line-height: 1.95; color: #24304a; }
.article h2 { font-size: 20px; margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.article h3 { font-size: 17px; margin: 24px 0 10px; color: #16233d; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 7px; list-style: disc; }
.article ol li { list-style: decimal; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article table th, .article table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article table th { background: #f5f8fd; font-weight: 600; }
.article table tr:nth-child(even) td { background: #fbfcfe; }
.article blockquote { margin: 18px 0; padding: 14px 18px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; font-size: 14.5px; color: #2a3855; }
.article img { border-radius: 10px; margin: 18px 0; }
.article a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); }
.article strong { color: #101c33; }
.tldr { background: #f7f9fe; border: 1px dashed #cfdcf3; border-radius: 12px; padding: 16px 18px; margin: 0 0 22px; }
.tldr b { display: block; font-size: 13px; color: var(--accent); margin-bottom: 8px; letter-spacing: 1px; }
.tldr ul { padding-left: 18px; margin: 0; }
.tldr li { font-size: 14px; color: #2b3952; margin-bottom: 5px; }

.faq { margin-top: 26px; }
.faq h2 { font-size: 19px; margin-bottom: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 9px; background: #fcfdff; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: #1b2742; }
.faq details[open] summary { color: var(--accent); }
.faq .ans { font-size: 14px; color: #3a4863; padding-top: 10px; line-height: 1.85; }

/* 企业信息表 */
.infox { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 22px; }
.infox div { display: flex; gap: 10px; padding: 11px 15px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.infox div:nth-child(odd) { border-right: 1px solid var(--line); }
.infox div:nth-last-child(-n+2) { border-bottom: 0; }
.infox dt { color: var(--muted); flex: 0 0 76px; margin: 0; }
.infox dd { margin: 0; color: #1e2b45; font-weight: 500; word-break: break-all; }

.cbox { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(120deg, #f7faff, #eef4ff); border: 1px solid #dfe9fa; border-radius: 14px; padding: 18px; margin-bottom: 22px; }
.cbox img { width: 72px; height: 72px; border-radius: 14px; flex: 0 0 72px; }
.cbox .ci b { font-size: 17px; }
.cbox .ci p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.cbox .cb { margin-left: auto; text-align: right; }
.cbox .cb .btn-main { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 9px; padding: 10px 20px; font-weight: 600; font-size: 14px; }
.cbox .cb span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }

.btn-main { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff !important; border-radius: 9px; padding: 10px 20px; font-weight: 600; font-size: 14px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 18px; font-size: 14px; color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* 参数表 */
.paramtbl { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 20px; }
.paramtbl th, .paramtbl td { border: 1px solid var(--line); padding: 10px 13px; }
.paramtbl th { background: #f5f8fd; width: 130px; text-align: left; color: var(--muted); font-weight: 500; }

/* 相关推荐 */
.relbox { margin-top: 24px; }
.relbox h2 { font-size: 18px; margin-bottom: 12px; }
.relgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.relgrid a { display: flex; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; align-items: center; }
.relgrid a:hover { border-color: var(--accent); background: #fbfdff; }
.relgrid a img { width: 38px; height: 38px; border-radius: 8px; flex: 0 0 38px; }
.relgrid a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- 页脚 */
footer.site { background: #0d1730; color: rgba(255,255,255,.66); margin-top: 46px; padding: 40px 0 0; font-size: 13px; }
footer.site .fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 30px; }
footer.site h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
footer.site a { color: rgba(255,255,255,.66); }
footer.site a:hover { color: #fff; }
footer.site .fbrand b { color: #fff; font-size: 17px; display: block; margin-bottom: 10px; }
footer.site .fbrand p { margin: 0; line-height: 1.9; font-size: 12.5px; }
footer.site .flinks li { margin-bottom: 9px; font-size: 13px; }
footer.site .copy { border-top: 1px solid rgba(255,255,255,.09); padding: 16px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer.site .copy a { margin-right: 12px; }

/* 返回顶部 */
#top { position: fixed; right: 22px; bottom: 26px; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: none; place-items: center; color: var(--ink-2); cursor: pointer; z-index: 60; }
#top.on { display: grid; }

/* ---------------------------------------------------------------- 站点差异 */
body.theme-yellow { --radius: 12px; }
body.theme-yellow .hero { border-radius: 14px; }
body.theme-yellow .catgrid { grid-template-columns: repeat(8, 1fr); }
body.theme-yellow .ccard { padding: 13px; }
body.theme-yellow .ccard .top img { border-radius: 8px; }

body.theme-jiancai .hero { padding: 44px 44px 38px; }
body.theme-jiancai .pcard .price { font-size: 16px; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1100px) {
  .catgrid { grid-template-columns: repeat(4, 1fr); }
  .cgrid, .pgrid { grid-template-columns: repeat(3, 1fr); }
  .side { width: 290px; flex-basis: 290px; }
  body.theme-yellow .catgrid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 900px) {
  .row { flex-direction: column; }
  .side { width: 100%; flex-basis: auto; }
  .hero h1 { font-size: 25px; }
  .hero { padding: 26px 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(1), .stats div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .newsbox { grid-template-columns: 1fr; }
  .cgrid, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .hd { height: 64px; gap: 12px; }
  .hd .search { display: none; }
  .hd .hd-right { font-size: 0; }
  nav.mainnav ul { height: 44px; }
  .detail { padding: 20px 16px 22px; }
  .detail h1 { font-size: 22px; }
  .infox { grid-template-columns: 1fr; }
  .infox div:nth-child(odd) { border-right: 0; }
  .supply2 { grid-template-columns: 1fr; }
  .relgrid { grid-template-columns: 1fr; }
  footer.site .fgrid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  body.theme-yellow .catgrid { grid-template-columns: repeat(2, 1fr); }
  .cgrid, .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ccard { padding: 12px; }
  .topbar .tb-links { display: none; }
  .brand .bn b { font-size: 16px; }
  .hero h1 { font-size: 21px; }
  .hero .hsearch button { padding: 0 16px; }
  .sec-hd h2 { font-size: 18px; }
  .article { font-size: 15.5px; }
}
