/* ═══ 子页面样式（配合 style.css 使用） ═══ */

/* ── 子页头图 ─────────────────────── */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0 clamp(56px, 7vw, 84px);
  background: var(--img, url("../assets/hero-molecule.png")) center / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7, 34, 63, .9), rgba(10, 52, 92, .72) 55%, rgba(10, 44, 78, .45));
}
.page-hero .container { position: relative; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .65); letter-spacing: .06em; margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.crumb i { font-style: normal; margin: 0 8px; color: var(--cyan); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 900; letter-spacing: .12em;
  font-size: clamp(30px, 4vw, 46px);
}
.page-hero h1 small {
  display: block; font-family: var(--en); font-weight: 400; font-size: 14px;
  letter-spacing: .3em; text-transform: uppercase; color: #9fd8f5; margin-top: 10px;
}
.page-hero p.lead { max-width: 620px; margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 15px; }

/* ── 筛选工具条 ───────────────────── */
.toolbar {
  position: sticky; top: 76px; z-index: 40;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.toolbar__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button, .chips a {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px; font-size: 14px; cursor: pointer;
  transition: all .25s; font-family: var(--sans);
}
.chips button:hover, .chips a:hover { border-color: var(--cyan); color: var(--blue-deep); }
.chips button.is-on, .chips a.is-on {
  background: linear-gradient(95deg, var(--blue), var(--cyan));
  border-color: transparent; color: #fff;
}
.chips a { text-decoration: none; }
.toolbar .search {
  margin-left: auto; display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 18px;
  background: #fff; transition: border-color .25s, box-shadow .25s;
}
.toolbar .search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 115, 196, .12); }
.toolbar .search input { border: 0; outline: 0; font-size: 14px; width: 220px; font-family: var(--sans); color: var(--ink); background: none; }
.toolbar .search svg { color: var(--ink-soft); flex: none; }
.toolbar .search button {
  border: 0; border-radius: 999px; padding: 7px 16px; cursor: pointer; flex: none;
  background: linear-gradient(95deg, var(--blue), var(--cyan)); color: #fff;
  font-family: var(--sans); font-size: 13.5px; transition: filter .25s;
}
.toolbar .search button:hover { filter: brightness(1.08); }
.toolbar__count { font-size: 13px; color: var(--ink-soft); }
.subtag {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  text-decoration: none;
  font-family: var(--sans); font-size: 13px; color: var(--blue-deep);
  background: var(--sky); border: 1px solid rgba(18, 115, 196, .22);
  border-radius: 999px; padding: 6px 8px 6px 14px; transition: all .25s;
}
.subtag:hover { border-color: var(--blue); }
.subtag i { font-style: normal; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: rgba(18, 115, 196, .16); font-size: 12px; }

/* 视图切换：图文卡片 / 简洁列表 分段控件 */
.viewswitch {
  margin-left: auto; display: flex; align-items: center; gap: 3px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px;
}
.viewswitch a {
  text-decoration: none; white-space: nowrap;
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  padding: 6px 15px; border-radius: 999px; transition: color .25s, background .25s;
}
.viewswitch a:hover { color: var(--blue-deep); }
.viewswitch a.is-on {
  background: linear-gradient(95deg, var(--blue), var(--cyan)); color: #fff;
  box-shadow: 0 6px 16px -8px rgba(11, 61, 110, .5);
}

/* ── 产品网格 ─────────────────────── */
.pgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px; padding: clamp(36px, 4vw, 52px) 0 0;
}
.pcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.pcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__cat {
  position: absolute; top: 12px; left: 12px; font-size: 11.5px; letter-spacing: .12em;
  color: #fff; background: rgba(10, 45, 80, .58); backdrop-filter: blur(6px);
  padding: 4px 12px; border-radius: 999px;
}
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__code { font-family: var(--en); font-size: 12px; letter-spacing: .08em; color: var(--cyan); font-weight: 600; }
.pcard__body h3 { font-family: var(--serif); font-size: 18.5px; margin: 6px 0 2px; letter-spacing: .03em; }
.pcard__spec { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.pcard__foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.pcard__foot .tag { font-family: var(--en); font-size: 12.5px; font-weight: 600; color: var(--blue-deep); background: rgba(18, 115, 196, .08); border: 1px solid rgba(18, 115, 196, .18); padding: 3px 10px; border-radius: 999px; }
.pcard__foot .go { font-size: 13.5px; font-weight: 600; color: var(--blue); margin-left: auto; }
.pcard__foot .go::after { content: " →"; transition: margin .25s; }
.pcard:hover .go::after { margin-left: 4px; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-soft); grid-column: 1/-1; }
.empty b { display: block; font-size: 40px; color: var(--line); margin-bottom: 8px; }

.note-demo {
  margin-top: 40px; font-size: 12.5px; color: var(--ink-soft);
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px 16px;
  background: var(--mist);
}
.note-demo::before { content: "ⓘ "; color: var(--cyan); }

/* ── 简洁文字列表（/products 默认视图，账本式细线行） ─── */
.ltable { padding: clamp(36px, 4vw, 52px) 0 0; }
.ltable__head, .lrow {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) minmax(0, .95fr) 104px 96px;
  grid-template-areas: "code name spec price go"; column-gap: 22px; align-items: center;
}
.ltable__head {
  padding: 0 18px 12px; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 12px; letter-spacing: .16em; color: var(--ink-soft);
}
.ltable__num { text-align: right; }
.lrow {
  position: relative; text-decoration: none; color: inherit;
  padding: 19px 18px; border-bottom: 1px solid var(--line); transition: background .3s;
}
.lrow::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--blue), var(--cyan)); opacity: 0; transition: opacity .3s;
}
.lrow:hover { background: linear-gradient(90deg, rgba(79, 179, 232, .08), transparent 72%); }
.lrow:hover::before { opacity: 1; }
.lrow__code { grid-area: code; font-family: var(--en); font-size: 13.5px; font-weight: 600; letter-spacing: .05em; color: var(--cyan); }
.lrow__name { grid-area: name; min-width: 0; }
.lrow__name b { font-family: var(--serif); font-size: 17.5px; font-weight: 500; letter-spacing: .03em; color: var(--ink); line-height: 1.4; }
.lrow__spec { grid-area: spec; font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.lrow__price {
  grid-area: price; font-family: var(--en); font-size: 14.5px; font-weight: 600;
  color: var(--blue-deep); text-align: right; white-space: nowrap;
}
.lrow__go {
  grid-area: go; justify-self: end; font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  color: var(--blue); white-space: nowrap;
}
.lrow__go::after { content: " →"; transition: margin .25s; }
.lrow:hover .lrow__go::after { margin-left: 4px; }
.lrow--in { animation: cardIn .55s cubic-bezier(.2, .7, .2, 1) backwards; }

/* ── 详情页 ───────────────────────── */
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.detail__media { position: sticky; top: 160px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); }
.detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail__id { font-family: var(--en); font-size: 13px; letter-spacing: .12em; color: var(--cyan); font-weight: 600; }
.detail h1 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); margin: 8px 0 2px; letter-spacing: .04em; }
.detail h1 em { display: block; font-family: var(--en); font-style: italic; font-weight: 400; font-size: 16px; color: var(--ink-soft); margin-top: 6px; }
.detail__facts { margin: 20px 0 26px; border-top: 1px solid var(--line); }
.detail__facts > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 13px 2px; border-bottom: 1px solid var(--line);
}
.detail__facts dt { font-size: 12.5px; letter-spacing: .16em; color: var(--ink-soft); flex: none; }
.detail__facts dd { margin: 0; font-size: 15px; color: var(--ink); text-align: right; }
.detail__price { font-family: var(--en); font-size: 27px; font-weight: 600; color: var(--blue-deep); line-height: 1.15; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 28px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--ink-soft); font-weight: 500; width: 34%; background: var(--mist); }
/* 详情页参数表整宽放在说明下方：值常有长句，左栏定宽、右栏自由换行 */
.spec-table--wide { margin-top: 34px; }
.spec-table--wide th { width: 210px; letter-spacing: .04em; }
.spec-table--wide td { line-height: 1.75; word-break: break-word; }
.spec-table td { color: var(--ink); }
/* 属性值是裸链接时渲染成可点的短链 */
.spec-table--wide td a { color: var(--blue-deep); border-bottom: 1px solid rgba(18, 115, 196, .35); transition: color .25s, border-color .25s; }
.spec-table--wide td a:hover { color: var(--cyan); border-color: var(--cyan); }
.detail__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn--outline { border: 1.5px solid var(--blue); color: var(--blue-deep); background: #fff; }
.btn--outline:hover { background: rgba(18, 115, 196, .07); transform: translateY(-3px); }
.detail__notice { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--cyan); background: var(--mist); font-size: 13.5px; color: var(--ink-soft); border-radius: 0 12px 12px 0; }

/* ── 文献列表 ─────────────────────── */
.newslist { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.nitem { display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); transition: background .3s; }
.nitem:hover { background: linear-gradient(90deg, rgba(79, 179, 232, .07), transparent 70%); }
.nitem__date {
  text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px;
  height: fit-content; background: #fff; transition: border-color .3s;
}
.nitem:hover .nitem__date { border-color: var(--cyan); }
.nitem__date b { display: block; font-family: var(--en); font-size: 26px; font-weight: 600; color: var(--blue-deep); line-height: 1.1; }
.nitem__date span { font-size: 12px; color: var(--ink-soft); letter-spacing: .08em; }
.nitem__cat { font-size: 12px; letter-spacing: .18em; color: var(--cyan); font-weight: 600; }
.nitem h3 { font-family: var(--serif); font-size: 20px; margin: 6px 0 8px; line-height: 1.5; }
.nitem h3 a { transition: color .25s; }
.nitem:hover h3 a { color: var(--blue); }
.nitem p { font-size: 14px; color: var(--ink-soft); }
.side-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 24px; }
.side-card h4 { font-family: var(--serif); font-size: 18px; letter-spacing: .08em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rank { list-style: none; counter-reset: rk; display: grid; gap: 14px; }
.rank li { counter-increment: rk; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14px; line-height: 1.6; }
.rank li::before {
  content: counter(rk); font-family: var(--en); font-weight: 600; font-size: 15px;
  color: var(--cyan);
}
.rank li:nth-child(-n+3)::before { color: var(--blue); }
.rank a:hover { color: var(--blue); }

/* ── 服务流程 / 时间线 / FAQ ──────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; counter-increment: st; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.step::before {
  content: "0" counter(st);
  position: absolute; right: 10px; top: 2px; font-family: var(--en); font-size: 64px; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px rgba(18, 115, 196, .18); line-height: 1;
}
.step h3 { font-family: var(--serif); font-size: 19px; letter-spacing: .06em; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-soft); }
.step i { display: block; width: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); margin-bottom: 18px; }

.timeline { position: relative; margin: 10px 0 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--line)); }
.tl { position: relative; padding: 0 0 30px 22px; }
.tl::before {
  content: ""; position: absolute; left: -28px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px rgba(18, 115, 196, .15);
}
.tl b { font-family: var(--en); font-size: 20px; color: var(--blue-deep); letter-spacing: .04em; }
.tl p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }

.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 0 26px; margin-bottom: 14px; overflow: hidden; transition: border-color .3s;
}
.faq details[open] { border-color: var(--cyan); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .03em;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--en); font-size: 22px; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; font-size: 14.5px; color: var(--ink-soft); border-top: 1px dashed var(--line); margin-top: -4px; padding-top: 16px; }

/* ── 关于页 ───────────────────────── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  border-radius: var(--radius); overflow: hidden; position: relative; min-height: 240px;
  display: flex; align-items: flex-end; color: #fff;
}
.value img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.value:hover img { transform: scale(1.08); }
.value::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 30, 56, .88) 8%, rgba(7, 30, 56, .25) 55%, transparent); }
.value__body { position: relative; z-index: 2; padding: 24px 26px; }
.value__body h3 { font-family: var(--serif); font-size: 21px; letter-spacing: .08em; margin-bottom: 6px; }
.value__body p { font-size: 13.5px; color: rgba(255, 255, 255, .82); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 22px; background: #fff; transition: transform .3s, box-shadow .3s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.contact-card b { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: .1em; margin-bottom: 10px; }
.contact-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.contact-card .big { font-family: var(--en); font-size: 22px; font-weight: 600; color: var(--blue-deep); letter-spacing: .04em; }

/* ── 翻页组件（products / news 共用，见 views/partials/pager.ejs） ──── */
.pager {
  margin-top: clamp(44px, 5vw, 68px);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.pager__meta { font-size: 13px; color: var(--ink-soft); letter-spacing: .1em; }
.pager__meta b { font-family: var(--en); font-size: 15px; font-weight: 600; color: var(--blue-deep); }
.pager__btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 46px; height: 46px; padding: 0 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--en); font-size: 15px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all .28s cubic-bezier(.2, .7, .2, 1);
}
.pg--num:hover { border-color: var(--cyan); color: var(--blue-deep); transform: translateY(-3px); box-shadow: 0 10px 22px -12px rgba(11, 61, 110, .35); }
a.pg { text-decoration: none; }
.pg--num.is-on {
  background: linear-gradient(95deg, var(--blue), var(--cyan));
  border-color: transparent; color: #fff;
  box-shadow: 0 12px 26px -10px rgba(18, 115, 196, .55);
}
.pg--edge {
  padding: 0 18px; font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--blue-deep);
}
.pg--edge svg { transition: transform .28s; flex: none; }
.pg--edge:not(:disabled):hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 10px 22px -12px rgba(11, 61, 110, .35); }
.pg--edge:not(:disabled):hover svg { transform: translateX(3px); }
.pg--edge:first-child:not(:disabled):hover svg { transform: translateX(-3px); }
.pg:disabled { opacity: .35; cursor: not-allowed; }
.pg[aria-disabled="true"] { opacity: .35; pointer-events: none; cursor: not-allowed; }
.pg--dots { border: 0; background: none; min-width: 26px; letter-spacing: .18em; color: #b9cfe3; cursor: default; }
.pager__rail { width: min(340px, 78%); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pager__rail i {
  display: block; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .55s cubic-bezier(.2, .7, .2, 1);
}

/* 列表翻页/筛选后的错峰进场（backwards 填充，避免 with hover transform 冲突） */
@keyframes cardIn { from { opacity: 0; transform: translateY(26px); } }
.pcard--in { animation: cardIn .55s cubic-bezier(.2, .7, .2, 1) backwards; }
.nitem--in { animation: cardIn .55s cubic-bezier(.2, .7, .2, 1) backwards; }

/* 翻页后平滑回到列表顶部 */
#pgrid, #newslist { scroll-margin-top: 150px; }

/* ── 文章详情页 ───────────────────── */
.a-hero h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.45; max-width: 880px; letter-spacing: .06em; }
.a-hero h1 small { font-size: 12.5px; letter-spacing: .32em; color: #9fd8f5; margin-top: 14px; }
.a-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .78); }
.a-meta i { width: 1px; height: 13px; background: rgba(255, 255, 255, .32); }
.a-prose { min-width: 0; padding-top: 8px; }
.a-prose > p { font-size: 16.5px; line-height: 1.95; color: #2c4a66; margin-bottom: 1.5em; }
.a-prose > p:first-of-type { font-size: 17.5px; color: var(--ink); }
.a-prose h2 {
  font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .06em;
  margin: 2.1em 0 1em; position: relative; padding-bottom: 12px;
}
.a-prose h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px;
  border-radius: 3px; background: linear-gradient(95deg, var(--blue), var(--cyan));
}
.a-quote {
  position: relative; margin: 2em 0; padding: 24px 28px 24px 30px;
  background: var(--sky); border-left: 3px solid var(--cyan); border-radius: 0 14px 14px 0;
  font-family: var(--serif); font-size: 19px; line-height: 1.8; color: var(--blue-deep); letter-spacing: .02em;
}
.a-quote::before {
  content: "\201C"; position: absolute; top: -6px; left: 10px;
  font-family: var(--en); font-size: 54px; font-weight: 600; color: var(--cyan); opacity: .4; line-height: 1;
}
.a-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(48px, 5vw, 72px); }
.a-nav__cell {
  display: block; min-width: 0; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 26px; background: #fff; transition: all .3s cubic-bezier(.2, .7, .2, 1);
}
.a-nav__cell:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.a-nav__label { display: block; font-size: 12px; letter-spacing: .22em; color: var(--cyan); font-weight: 600; margin-bottom: 10px; }
.a-nav__cell b { display: block; font-family: var(--serif); font-size: 16.5px; font-weight: 600; line-height: 1.6; letter-spacing: .03em; }
.a-nav__cell--right { text-align: right; }
.a-nav__cell--void { border-style: dashed; text-align: center; color: var(--ink-soft); font-size: 14px; display: grid; place-content: center; }
.a-nav__cell--void:hover { border-color: var(--line); transform: none; box-shadow: none; }

/* 文献/详情页侧栏吸顶 */
@media (min-width: 961px) {
  .newslist aside { position: sticky; top: 100px; }
}

/* ── 响应式 ───────────────────────── */
@media (max-width: 960px) {
  .detail, .newslist { grid-template-columns: 1fr; }
  .detail__media { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .values, .contact-grid { grid-template-columns: 1fr; }
  /* 列表：货号列变窄，规格与价格并到名称下方同一行，表头此时无对应列可对齐 */
  .ltable__head, .lrow { grid-template-columns: 112px minmax(0, 1fr) 96px 88px; column-gap: 16px; }
  .ltable__head { display: none; }
  .lrow {
    grid-template-areas: "code name name go" "code spec price go";
    row-gap: 6px; align-items: center; padding: 18px 14px;
  }
  .lrow__code, .lrow__go { align-self: start; padding-top: 3px; }
  /* 工具条：分类独占一行，切换条与搜索同行收缩，避免 900px 上下被挤出去 */
  .toolbar__inner { row-gap: 12px; }
  .toolbar .chips { flex: 1 1 100%; }
  .toolbar .search { flex: 1 1 240px; min-width: 0; }
  .toolbar .search input { width: 100%; min-width: 0; }
  .viewswitch { flex: none; }
}
@media (max-width: 720px) {
  .toolbar { top: 66px; }
  .toolbar .search { margin-left: 0; width: 100%; }
  .toolbar .search input { width: 100%; }
  .viewswitch { margin-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .nitem { grid-template-columns: 74px 1fr; gap: 14px; }
  .lrow { grid-template-columns: 104px minmax(0, 1fr) 92px; grid-template-areas: "code name name" "code spec price"; }
  .lrow__go { display: none; }
  .pager { gap: 14px; }
  .pager__btns { gap: 7px; }
  .pg { min-width: 40px; height: 40px; border-radius: 10px; font-size: 14px; }
  .pg--edge { padding: 0 12px; font-size: 12.5px; }
  .a-nav { grid-template-columns: 1fr; }
  .a-nav__cell--right { text-align: left; }
  .a-quote { padding: 20px 20px 20px 24px; font-size: 17px; }
}
