/* =========================================================
   Chenfeng — catalog, brand and brand x category templates
   Loaded after site.css. Uses the same tokens.
   ========================================================= */

/* ---------- page scaffolding ---------- */
.crumb {
  border-bottom: 1px solid var(--line-2);
  background: #fff;
}
.crumb ol {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 8px; padding: 12px 0;
  font-size: 12.5px; color: var(--muted-2);
}
.crumb li { display: flex; align-items: center; gap: 8px; }
.crumb li + li::before { content: "/"; color: #C2CCD6; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumb [aria-current] { color: var(--ink); font-weight: 500; }

.phead { padding: 34px 0 0; }
.phead-in { display: grid; gap: 22px; }
.phead h1 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: 30px; line-height: 1.16; letter-spacing: -0.02em;
  max-width: 20ch;
}
.phead .lede { max-width: 74ch; }

.phead-facts {
  display: flex; flex-wrap: wrap; gap: 8px 0;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.phead-facts li {
  flex: 1 1 auto; min-width: 150px;
  display: flex; flex-direction: column; gap: 1px;
  padding-right: 20px; font-size: 12px; color: var(--muted);
}
.phead-facts li + li { border-left: 1px solid var(--line-2); padding-left: 20px; }
.phead-facts b {
  font-family: var(--ff-head); font-size: 17px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.2;
}

/* ---------- quote page ---------- */
.qwrap { display: grid; gap: 34px; align-items: start; }
.qform {
  display: grid; gap: 16px;
  padding: 24px 20px; border: 1px solid var(--line); background: #fff;
}
.qrow { display: grid; gap: 16px; }
.qform .field { display: grid; gap: 6px; }
.qform label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: #3C4B5A;
}
.qform input, .qform textarea {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--ff-body); font-size: 14.5px; color: var(--ink);
  background: #fff;
}
.qform textarea { resize: vertical; line-height: 1.55; }
.qform input:focus, .qform textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.qform .hint { font-size: 12px; line-height: 1.5; color: var(--muted); }
.qaside {
  padding: 24px 20px; border: 1px solid var(--line); background: var(--soft);
}
.qaside h2 {
  font-family: var(--ff-head); font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.qsteps { display: grid; gap: 12px; counter-reset: qs; }
.qsteps li {
  position: relative; padding-left: 30px;
  font-size: 13.5px; line-height: 1.58; color: #435261;
  counter-increment: qs;
}
.qsteps li::before {
  content: counter(qs); position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: var(--ff-mono); font-size: 10.5px;
  display: flex; align-items: center; justify-content: center;
}
.qsteps b { display: block; color: var(--ink); font-weight: 600; }
.qcontact { display: grid; gap: 8px; }
.qcontact li {
  display: grid; grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px; font-size: 13.5px;
}
.qcontact span {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2); padding-top: 3px;
}
.qcontact a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.qnote { margin-top: 14px; font-size: 12px; line-height: 1.55; color: var(--muted); }

.qterms { display: grid; gap: 11px; }
.qterms li { font-size: 13.5px; line-height: 1.45; }
.qterms a {
  color: var(--ink); font-weight: 600;
  border-bottom: 1px solid #C6CFD8;
}
.qterms a:hover { color: var(--accent-dk); border-color: var(--accent); }
.qterms span { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 3px; }

@media (min-width: 760px) {
  .qrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qform { padding: 30px 28px; }
  .qaside { padding: 30px 26px; }
}
@media (min-width: 1000px) {
  .qwrap { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); gap: 40px; }
}

/* ---------- category overview cards (products index) ---------- */
.cat-subs {
  display: block;
  font-size: 11.5px; line-height: 1.55; color: var(--muted-2);
  margin: 2px 0 16px; padding-top: 10px;
  border-top: 1px solid var(--line-2);
}

@media (min-width: 640px) {
  /* five categories on a grid built for six: let the last card run wide
     so the final row is filled instead of leaving a hole。
     #cf: cat-grid--6 = 首页的六卡网格，不能套用这条（否则打出灰块） */
  .cat-grid:not(.cat-grid--6) > li:nth-child(5) { grid-column: span 2; }
  .cat-grid:not(.cat-grid--6) > li:nth-child(5) p { max-width: 58ch; }
  .cat-grid:not(.cat-grid--6) > li:nth-child(5) .cat-subs { max-width: 58ch; }
}

/* ---------- subcategory strip ---------- */.subbar { padding-top: 26px; }
.subbar h2 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.subbar ul { display: flex; flex-wrap: wrap; gap: 8px; }
.subbar a {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 13px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.subbar a:hover { border-color: #B4C0CC; background: var(--soft); }
.subbar a span { font-family: var(--ff-mono); font-size: 11px; color: var(--muted-2); }
/* A subcategory we list no models for: same chip, not a link, muted. It used to be
   an anchor to a section that product_list() never renders. */
.subbar .sb-off {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 13px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--soft); font-size: 13.5px; font-weight: 500; color: var(--muted-2);
}
.subbar .sb-off span { font-family: var(--ff-mono); font-size: 11px; }

/* ---------- filter bar ---------- */
.filters {
  position: static; z-index: 20;
  margin-top: 26px; padding: 12px 0;
  background: #fff; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters-in {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.f-group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f-group label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2);
}
.f-group select {
  width: 100%; min-height: 40px; padding: 0 30px 0 11px;
  border: 1px solid var(--line); border-radius: 2px;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235B6B7B' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 11px center;
  color: var(--ink); font-size: 13.5px; font-family: var(--ff-body);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.f-group select:hover { border-color: #B4C0CC; }
.f-count {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 4px;
  font-size: 12.5px; color: var(--muted);
}
.f-count b { color: var(--ink); font-weight: 600; }
.f-reset {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--accent-dk); font-size: 12.5px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- product rows ---------- */
.plist { padding: 8px 0 40px; }
.pgroup { padding-top: 30px; }
.pgroup-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink);
}
.pgroup-head h3 {
  font-family: var(--ff-head); font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em;
}
.pgroup-head .pg-note { font-size: 12.5px; color: var(--muted); text-align: right; }
.pgroup-empty { display: none; }
.pgroup.is-empty { display: none; }

/* 筛选/搜索生效时收起分组标题，列表变成连续的一段 */
.plist.cf-flat .pgroup { padding-top: 0; }
.plist.cf-flat .pgroup-head { display: none; }

.prow {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0 11px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: start;
}
.prow:hover { background: #FCFDFE; }
.prow.is-out { display: none; }

.pick { display: flex; padding-top: 2px; grid-column: 1; }
.pick input {
  width: 17px; height: 17px; margin: 0;
  accent-color: var(--accent-dk); cursor: pointer;
}
.pick label {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.pmain { min-width: 0; display: grid; gap: 3px; grid-column: 2; }
.pmodel {
  font-family: var(--ff-mono); font-size: 14px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.01em;
  word-break: break-word; line-height: 1.35;
}
.pdesc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; }
.pbrand { font-size: 12px; color: var(--muted-2); }
.pseries {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 2px 6px; border-radius: 2px;
  background: var(--soft); color: #536374;
}

.pstat {
  grid-column: 2; display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 10px; margin-top: 8px;
}
.st {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 8px; border-radius: 2px; white-space: nowrap;
}
.st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st-in { background: #EDF5F0; color: #276A4C; }
.st-short { background: #FDF1E4; color: #9A5215; }
.st-sourced { background: #EEF1F5; color: #54636F; }
.plead { font-size: 12px; color: var(--muted); }

.pact { grid-column: 2; margin-top: 11px; display: flex; align-items: center; gap: 10px; }
.pact .btn { min-height: 38px; padding: 0 15px; font-size: 13px; }

/* ---------- batch bar ---------- */
.batch {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  transform: translateY(110%);
  transition: transform .22s ease;
  background: var(--ink); color: #fff;
  box-shadow: 0 -8px 24px rgba(15,25,35,0.18);
}
.batch.is-on { transform: translateY(0); }
.batch-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px; padding: 11px 0;
}
.batch-txt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #D5E0EA; }
.batch-txt b { color: #fff; font-weight: 600; }
.batch-act { display: flex; align-items: center; gap: 8px; }
.batch-clear {
  border: 0; background: none; color: #A9BBCB; font-size: 12.5px;
  padding: 8px 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.batch-clear:hover { color: #fff; }
.batch .btn { min-height: 42px; }

/* quote drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80; display: none;
}
.drawer.is-open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(15,25,35,0.45); }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column;
  box-shadow: -12px 0 32px rgba(15,25,35,0.2);
}
.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--ff-head); font-size: 18px; font-weight: 700; }
.drawer-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.drawer-x {
  border: 1px solid var(--line); background: #fff; border-radius: 2px;
  width: 32px; height: 32px; cursor: pointer; color: var(--muted);
  font-size: 16px; line-height: 1; flex: none;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px 16px; }
.dline {
  display: grid; grid-template-columns: minmax(0, 1fr) 58px auto;
  gap: 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line-2);
}
.dline .dm { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600; word-break: break-word; }
.dline .dd { font-size: 11.5px; color: var(--muted); }
.dline input {
  width: 100%; min-height: 32px; text-align: center;
  border: 1px solid var(--line); border-radius: 2px; font-size: 13px;
}
.dline button {
  border: 0; background: none; color: var(--muted-2); cursor: pointer;
  font-size: 15px; padding: 4px 2px; line-height: 1;
}
.dline button:hover { color: #B03A2E; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--soft); }
.drawer-foot .btn { width: 100%; }
.drawer-note { font-size: 11.5px; color: var(--muted); margin-top: 9px; line-height: 1.45; }
.dempty { padding: 28px 0; font-size: 13.5px; color: var(--muted); }

/* ---------- brand page ---------- */
.bhead { padding: 32px 0 30px; }
.bhead h1 {
  font-family: var(--ff-head); font-weight: 700; font-size: 32px;
  line-height: 1.14; letter-spacing: -0.02em;
}
.bhead .tagline {
  font-size: 13px; color: var(--accent-dk); font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 8px;
}
.bblurb { margin-top: 18px; display: grid; gap: 10px; max-width: 660px; }
.bblurb p { font-size: 15px; line-height: 1.65; color: #3C4B5A; }

.bcats { padding: 30px 0 0; }
.bcats h2 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.bcat-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.bcat {
  display: block; padding: 15px 16px;
  border: 1px solid var(--line); border-radius: 2px; background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.bcat:hover { border-color: #B4C0CC; background: var(--soft); }
.bcat strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.bcat span { font-size: 12.5px; color: var(--muted); }
.bcat em {
  display: block; margin-top: 8px; font-style: normal;
  font-family: var(--ff-mono); font-size: 11px; color: var(--muted-2);
}

/* brand overview cards */
.bcards { display: grid; gap: 12px; }
.bcard {
  display: grid; gap: 4px; height: 100%; padding: 20px 18px 18px;
  border: 1px solid var(--line); background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.bcard:hover { border-color: #B4C0CC; background: var(--soft); }
.bcard .b-name {
  font-family: var(--ff-head); font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink);
}
.bcard .b-tag { font-size: 13px; font-weight: 500; color: var(--accent-dk); }
.bcard .b-cats { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.bcard .b-n {
  margin-top: 8px; font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.02em; color: var(--muted-2);
}

.also { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.also h2 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.also p { font-size: 15px; line-height: 1.55; color: var(--ink); max-width: 760px; }
.also-note { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* brand stats strip */
.bstats {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-top: 26px;
}
.bstats div { background: #fff; padding: 14px 16px; }
.bstats b {
  display: block; font-family: var(--ff-head); font-size: 20px;
  font-weight: 700; letter-spacing: -0.01em;
}
.bstats span { font-size: 11.5px; color: var(--muted); }

/* ---------- replacement FAQ ---------- */
.rfaq { padding: 46px 0; background: var(--soft); border-top: 1px solid var(--line); }
.rfaq h2 {
  font-family: var(--ff-head); font-size: 24px; font-weight: 700;
  letter-spacing: -0.015em; margin-bottom: 6px;
}
.rfaq > .container > p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; max-width: 70ch; }
.rfaq-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rfaq-item { background: #fff; }
.rfaq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 16px 18px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; line-height: 1.45;
  list-style: none;
}
.rfaq-item summary::-webkit-details-marker { display: none; }
.rfaq-item summary::after {
  content: "+"; flex: none; font-size: 17px; line-height: 1;
  color: var(--accent-dk); font-weight: 400; margin-top: 2px;
}
.rfaq-item[open] summary::after { content: "–"; }
.rfaq-item .a {
  padding: 0 18px 16px; font-size: 14px; line-height: 1.62;
  color: #435261; max-width: 80ch;
}

/* ---------- can't find block ---------- */
.find {
  padding: 40px 0 46px;
  border-top: 1px solid var(--line); background: #fff;
}
.find-in {
  display: grid; gap: 22px;
  border: 1px solid var(--line); border-radius: 3px;
  padding: 26px 22px; background: var(--soft);
}
.find h2 {
  font-family: var(--ff-head); font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em; margin-bottom: 8px;
}
.find p { font-size: 14.5px; line-height: 1.6; color: #435261; max-width: 62ch; }
.find-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.find-acts .btn { min-height: 44px; font-size: 14px; }
.find-alt {
  font-size: 12.5px; color: var(--muted); margin-top: 4px;
}
.find-alt a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- brand x category hero (compact) ---------- */
.chead { padding: 30px 0 0; }
.chead h1 {
  font-family: var(--ff-head); font-weight: 700; font-size: 28px;
  line-height: 1.18; letter-spacing: -0.02em;
}
.chead h1 span { color: var(--muted-2); font-weight: 500; }
.cintro {
  display: grid; gap: 12px; margin-top: 16px;
  max-width: 660px; font-size: 15px; line-height: 1.68; color: #3C4B5A;
}

.seriesline {
  margin-top: 14px; padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  font-size: 13.5px; line-height: 1.55; color: #3C4B5A;
}
.seriesline b {
  display: block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
  font-weight: 600;
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  /* stats: 2x2 grid without the ragged borders of a wrapped flex row */
  .phead-facts {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0; padding-top: 16px;
  }
  .phead-facts li { padding-right: 14px; }
  .phead-facts li + li { border-left: 0; padding-left: 0; }
  .phead-facts li:nth-child(even) { border-left: 1px solid var(--line-2); padding-left: 14px; }
  /* filters: two per row instead of a four-screen stack */
  .filters-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 10px; }
  .f-count { grid-column: 1 / -1; }
  /* group headings: keep the name on one line */
  .pgroup-head { flex-direction: column; align-items: flex-start; gap: 3px; }
  .pg-note { display: none; }
}

@media (min-width: 640px) {
  .filters-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-count { grid-column: 1 / -1; }
  .bcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bstats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .find-in { padding: 30px 28px; }
}

@media (min-width: 900px) {
  .filters { position: sticky; top: 61px; }
  .phead { padding-top: 40px; }
  .phead-in { grid-template-columns: minmax(0, 1fr); }
  .phead h1 { font-size: 36px; max-width: 24ch; }
  .filters-in { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; }
  .f-count { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 2px; padding-top: 0; }
  .f-count span { white-space: nowrap; }

  .prow {
    grid-template-columns: 22px minmax(0, 1fr) 116px 108px;
    gap: 0 20px; align-items: center; padding: 13px 10px 13px 0;
  }
  .prow:hover { background: #FAFCFD; }
  .pmain { gap: 2px; }
  .pstat {
    grid-column: 3; margin-top: 0;
    flex-direction: column; align-items: flex-start; gap: 3px;
  }
  .plead { font-size: 11.5px; }
  .pact { grid-column: 4; margin-top: 0; justify-content: flex-end; }
  .pact .btn { width: 100%; }

  .bhead h1 { font-size: 38px; }
  .bcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chead h1 { font-size: 32px; }
  .find-in {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; gap: 32px; padding: 30px 32px;
  }
  .find-acts { justify-content: flex-end; }
  .find-alt { grid-column: 1 / -1; margin-top: -8px; }
}

@media (min-width: 1024px) {
  main { padding-bottom: 0; }
}

body.has-batch { padding-bottom: 72px; }

/* keep the fixed batch bar clear of the mobile action bar */
@media (max-width: 1023px) {
  body.has-batch .mbar { display: none; }
  .batch { padding-bottom: env(safe-area-inset-bottom); }
  .prow { padding-bottom: 16px; }
}

/* ---------- related reading on a model page ---------- */
.read-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.read-list a {
  display: grid; gap: 4px;
  padding: 13px 15px; border: 1px solid var(--line); background: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.read-list a:hover { border-color: var(--accent); transform: translateY(-1px); }
.read-list span {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-dk);
}
.read-list strong {
  font-family: var(--ff-head); font-size: 14.5px; font-weight: 700;
  line-height: 1.35; letter-spacing: -0.01em; color: var(--ink);
}
@media (min-width: 760px) {
  .read-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- brand x category: what the shelf holds ----------
   Sits between the page head and the model table, because it answers the
   question the table cannot: why these rows, checked how, replaced by what. */
.csect { padding: 40px 0 26px; }
.csect > .container { display: grid; gap: 14px; }
.csect .csect-h2 { margin-top: 16px; }
.csect h2, .csect .csect-h2 {
  font-family: var(--ff-head); font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em; color: var(--ink); margin-top: 6px;
}
.csect p { font-size: 14.5px; line-height: 1.68; color: #3C4B5A; max-width: 74ch; }
.csect .csect-h3 {
  font-family: var(--ff-head); font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink); margin-top: 8px;
}
.ctab {
  width: 100%; max-width: 620px; table-layout: fixed;
  border-collapse: collapse; border: 1px solid var(--line); background: #fff;
}
.ctab th:first-child, .ctab td:first-child { width: 48%; }
.ctab th:nth-child(2), .ctab td:nth-child(2),
.ctab th:nth-child(3), .ctab td:nth-child(3) { width: 26%; }
.ctab caption {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding-bottom: 8px;
}
.ctab th, .ctab td {
  padding: 9px 12px; font-size: 13.5px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); overflow-wrap: anywhere;
}
.ctab td:first-child { padding-right: 18px; }
.ctab th {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); background: var(--soft); line-height: 1.3;
}
.ctab td:not(:first-child) { text-align: right; white-space: nowrap; }
.ctab th:not(:first-child) { text-align: right; }
.ctab tr:last-child td { border-bottom: 0; }
.croutes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.croutes li {
  font-size: 13.5px; line-height: 1.6; color: #3C4B5A;
  padding: 10px 13px; border-left: 3px solid var(--accent); background: var(--soft);
}
.croutes b { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600; color: var(--ink); }

/* cf:product-thumbs */
.pmain.has-thumb{grid-template-columns:84px minmax(0,1fr);gap:4px 14px;align-items:start}
.pmain.has-thumb .pthumb{grid-column:1;grid-row:1 / span 3;align-self:center;width:84px;height:84px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pmain.has-thumb .pthumb img{width:100%;height:100%;object-fit:contain;display:block}
.pmain.has-thumb .pmodel,.pmain.has-thumb .pdesc,.pmain.has-thumb .pmeta{grid-column:2}
@media (max-width:640px){.pmain.has-thumb{grid-template-columns:64px minmax(0,1fr);gap:3px 11px}.pmain.has-thumb .pthumb{width:64px;height:64px}}

/* cf:catalog-view — 左侧筛选栏 / 列表-网格切换 / 每页 24 条 */
.cf-layout{display:flex;flex-wrap:wrap;gap:16px 30px;align-items:flex-start}
.cf-tools{flex:0 0 100%}
.cf-side{flex:0 0 100%}
.cf-main{flex:1 1 100%;min-width:0}
@media (min-width:1040px){
  .cf-layout{gap:0 30px}
  .cf-side{flex:0 0 236px;position:sticky;top:14px;max-height:calc(100vh - 40px);overflow:auto}
  .cf-main{flex:1 1 0}
}
.cf-tools{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px 16px;padding:18px 0 12px;border-bottom:1px solid var(--line-2);
}
.cf-count{font-size:13px;color:var(--muted)}
.cf-count b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.cf-views{display:flex;gap:2px;padding:2px;border:1px solid var(--line);background:#fff}
.cf-v{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:30px;border:0;background:none;cursor:pointer;
  color:var(--muted-2);
}
.cf-v:hover{background:var(--soft)}
.cf-v[aria-pressed="true"]{background:var(--ink);color:#fff}
.cf-v svg{width:16px;height:16px;display:block}

.cf-side{border:1px solid var(--line);background:#fff;padding:14px 14px 16px}
.cf-side-search{display:grid;gap:6px}
.cf-side-search label{
  font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-2);
}
.cf-side-search input{
  width:100%;min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:2px;
  font-family:var(--ff-mono);font-size:12.5px;color:var(--ink);background:#fff;
}
.cf-side-search input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.cf-side-group{border-top:1px solid var(--line-2);margin-top:14px;padding-top:12px}
.cf-side-group h3{
  display:flex;align-items:baseline;justify-content:space-between;gap:8px;
  font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted-2);margin-bottom:8px;
}
.cf-optlist{margin:0 -6px;max-height:236px;overflow:auto}
.cf-optlist.is-short{max-height:none}
.cf-opt{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  width:100%;padding:6px;border:0;background:none;border-radius:2px;
  text-align:left;font-size:13px;line-height:1.35;color:#435261;cursor:pointer;
}
.cf-opt span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-opt em{flex:0 0 auto;font-style:normal;font-size:11px;color:var(--muted-2);font-variant-numeric:tabular-nums}
.cf-opt:hover{background:var(--soft)}
.cf-opt[aria-pressed="true"]{background:var(--ink);color:#fff}
.cf-opt[aria-pressed="true"] em{color:rgba(255,255,255,.72)}
.cf-side-reset{
  display:none;width:100%;margin-top:14px;padding:9px 10px;
  border:1px solid var(--line);background:#fff;cursor:pointer;
  font-size:12.5px;font-weight:600;color:var(--accent-dk);
}
.cf-side-reset.is-on{display:block}
.cf-side-reset:hover{border-color:var(--accent)}

/* 网格视图 */
.plist.cf-grid .pgroup ul{
  display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));
  padding:16px 0 4px;
}
@media (min-width:760px){.plist.cf-grid .pgroup ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1440px){.plist.cf-grid .pgroup ul{grid-template-columns:repeat(4,minmax(0,1fr))}}
.plist.cf-grid .prow{
  display:flex;flex-direction:column;position:relative;
  padding:0;border:1px solid var(--line);background:#fff;border-radius:3px;
}
.plist.cf-grid .prow:hover{background:#fff;border-color:#B4C0CC}
/* 被筛掉 / 不在本页的行必须真的消失（网格模式下 .prow 的 display 已被改成 flex，
   这两条要写在它后面，且优先于 .prow.is-out） */
.prow.cf-page-off{display:none}
.plist.cf-grid .prow.is-out,
.plist.cf-grid .prow.cf-page-off{display:none}
.plist.cf-grid .pick{position:absolute;top:10px;left:10px;z-index:2;padding:0}
.plist.cf-grid .pick input{background:#fff;box-shadow:0 0 0 3px #fff}
.plist.cf-grid .pmain{display:flex;flex-direction:column;gap:9px;padding:13px 14px 0}
.plist.cf-grid .pmain:not(.has-thumb)::before{
  content:"";display:block;height:auto;aspect-ratio:1;background:var(--soft);border-radius:2px;
}
.plist.cf-grid .pmain.has-thumb .pthumb{
  width:100%;height:auto;aspect-ratio:1;border:0;background:var(--soft);align-self:auto;
}
.plist.cf-grid .pmain.has-thumb .pthumb img{object-fit:contain;padding:6%}
.plist.cf-grid .pmain .pmodel{font-size:13.5px;line-height:1.3}
.plist.cf-grid .pmain .pdesc{
  font-size:12.5px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.plist.cf-grid .pmain .pmeta{margin-top:1px}
.plist.cf-grid .pstat{padding:8px 14px 0;margin-top:0}
.plist.cf-grid .pact{margin-top:auto;padding:12px 14px 14px}
.plist.cf-grid .pact .btn{width:100%;justify-content:center}

/* 分页 */
.cf-pager{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;
  padding:26px 0 4px;
}
.cf-pg{
  min-width:36px;height:34px;padding:0 10px;
  border:1px solid var(--line);background:#fff;border-radius:2px;
  font-size:13px;font-variant-numeric:tabular-nums;color:var(--ink);cursor:pointer;
}
.cf-pg:hover{border-color:#B4C0CC}
.cf-pg[aria-current="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.cf-pg:disabled{opacity:.4;cursor:default}
.cf-pg-gap{min-width:20px;text-align:center;color:var(--muted-2);font-size:13px}
.cf-pager-info{
  flex-basis:100%;text-align:center;font-size:12px;color:var(--muted);margin-top:2px;
}
.cf-empty{
  padding:34px 0;border-top:1px solid var(--line-2);
  font-size:14px;line-height:1.6;color:var(--muted);display:none;
}
.cf-empty.is-on{display:block}
.cf-empty b{display:block;color:var(--ink);font-family:var(--ff-head);font-size:16px;margin-bottom:6px}
@supports not (aspect-ratio: 1 / 1){
  .plist.cf-grid .pmain.has-thumb .pthumb{height:190px}
}

/* 品牌页分类卡：整条浅灰底衬托白卡 + 卡上沿一条橙色带（三张同色） */
.bcats{padding:30px 0 32px;background:var(--soft)}
.bcat{border-top-width:3px;border-top-color:var(--accent);border-color:#E7EDF2;background:#fff}
.bcat:hover{border-color:#B4C0CC;border-top-color:var(--accent-dk);background:#fff}

/* 型号行 / 卡的 Get price 统一成主色实心按钮（与页头 Request a Quote 同一色） */
.pact .btn.btn-ghost{background:var(--accent);border-color:var(--accent);color:#fff}
.pact .btn.btn-ghost:hover{background:var(--accent-dk);border-color:var(--accent-dk);color:#fff}

/* 系列卡挂产品图（4 个新品牌页：Series we quote most） */
.bcat-hasimg{padding:0;overflow:hidden;display:flex;flex-direction:column}
.bcat-hasimg .bcat-thumb{
  display:flex;align-items:center;justify-content:center;
  height:132px;background:#fff;border-bottom:1px solid var(--line-2);
}
.bcat-hasimg .bcat-thumb img{
  max-width:86%;max-height:112px;width:auto;height:auto;
  object-fit:contain;display:block;
}
.bcat-hasimg strong{display:block;padding:12px 16px 14px;line-height:1.35}

/* 型号名链接到详情页 */
.plist .pmodel{color:var(--ink);text-decoration:none}
.plist a.pmodel:hover{color:var(--accent);text-decoration:underline}
.plist.cf-grid a.pmodel:hover{text-decoration:none}
