/* =========================================================
   TruckPartsAll — Design System v1.2
   White canvas + hairline structure. Capsule buttons.
   Type scale tuned for Western B2B readers (16px base).
   ========================================================= */

/*
 * Inter, self-hosted. One variable file covering 400–700, latin subset, 48 KB.
 *
 * Served from the theme rather than fonts.googleapis.com for two reasons: the
 * external request sent visitor IPs to Google before any consent was possible,
 * and it added a DNS lookup plus a round trip to the render path. The
 * unicode-range keeps the browser from downloading it for Cyrillic or Greek —
 * Inter has no CJK coverage anyway, so Chinese text falls through to the system
 * font, which is what you want at 16px.
 */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  /* surface */
  --white:#FFFFFF;
  --panel:#FBFBFC;
  /* Lines are a last resort: whitespace, alignment and type hierarchy do
     the grouping first. There is exactly one structural rule and one control
     boundary. The old three-step grey (#F1F2F4 / #E8EAED / #D8DCE1) differed
     by less than 0.2:1 on white, so nothing read as more or less important
     and every block ended up outlined. An alpha rule keeps the same weight
     on tinted surfaces; a fixed grey disappears on them. */
  --rule:rgba(0,33,83,.10);        /* 1.24:1 on white — sections and rows */
  --rule-control:#8E9298;          /* 3.00:1 on white — WCAG 1.4.11 controls */
  --rule-active:var(--accent);     /* focus ring, current thumbnail */
  --line:var(--rule);
  --line-soft:var(--rule);
  --line-strong:var(--rule-control);

  /* ink
     Measured against #FFFFFF. The two muted steps are body-text colours —
     captions, labels, hints, breadcrumbs — so both have to clear 4.5:1, not
     just the one that happens to be called "body". The previous pair
     (#8B939C / #AEB5BD) came in at 3.1:1 and 2.1:1, which is a legibility
     problem long before it is a compliance one. */
  --ink:#002153;   /* 主文字/标题：品牌深蓝，替代原 #0E1116 */
  --ink-2:#4A5158;
  --ink-3:#646B73; /* 5.4:1 */
  --ink-4:#6E757D; /* 4.7:1 */

  /* brand */
  --navy:#002153;          /* LOGO 深蓝，用于标题 */
  --head:var(--ink);

  /* accent — the only colour on the site
     Measured against #FFFFFF. The previous pair (#E2580B / #C74A06) put the
     primary button at 3.73:1 with white text — under the 4.5:1 that 15.5px
     semibold needs — and the part number, which is the most important string
     on a product card, at the same 3.73:1 in 13px. The old hover colour was
     the only one that passed, so the button got easier to read the moment you
     pointed at it. Both steps are now darker by roughly one notch; the hue is
     unchanged, and the bright logo orange is kept separately below. */
  --accent:#C24706;        /* 5.00:1 on white */
  --accent-hover:#A83B03;  /* 6.38:1 on white */
  --brand-orange:#FE7201;  /* LOGO 原橙，仅用于字标 */

  /* interaction
     --panel is a surface tint and stays where it is. Hover needs its own
     value: at #FBFBFC a hovered cell differs from white by 1.03:1, which is
     below the threshold where most screens show anything at all. */
  --hover:#EEF1F4;         /* 1.13:1 — a tint you can actually see */
  /*
   * Boundary of an outlined control. Now exactly 3:1, satisfying WCAG 1.4.11
   * without a second shadow stacked on top. This is the only dark line on the
   * page: structural rules are all --rule, so the eye meets a control before
   * it meets a divider. Decorative underlines and table rules use --line.
   */
  --line-control:var(--rule-control);

  /* metrics */
  --w:1240px;
  --gut:24px;
  --r-sm:8px;
  --r-card:12px;
  --r-input:12px;
  --r-pill:999px;
  --nav-h:72px;
}

*,*::before,*::after{box-sizing:border-box}
/*
 * The header is sticky and 72px tall, so an anchor jump would otherwise put
 * the target underneath it. Only the legal-document headings had a
 * scroll-margin; every other target — #main, #parts, #comments, #rfq — landed
 * with its first line hidden. One rule on the scroll container fixes all of
 * them, including the cross-page jumps (/contact/#rfq) that the click handler
 * in main.js never sees.
 */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 20px)}
body{
  margin:0;background:var(--white);color:var(--ink-2);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;line-height:1.7;letter-spacing:0;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,textarea,select{font:inherit;color:inherit}
::selection{background:#FFE2D2;color:var(--ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- type ---------- */
h1,h2,h3,h4{margin:0;color:var(--head);font-weight:650;letter-spacing:-.022em;line-height:1.18}
h1{font-size:clamp(32px,3.4vw,46px);letter-spacing:-.026em;line-height:1.14;text-wrap:balance}
h2{font-size:clamp(25px,2.3vw,34px);line-height:1.22;text-wrap:balance}
h3{font-size:20px;letter-spacing:-.014em;line-height:1.35}
h4{font-size:16.5px;letter-spacing:-.008em;line-height:1.4}
p{margin:0}
.lead{font-size:17px;line-height:1.75;color:var(--ink-2);letter-spacing:-.003em;max-width:62ch}
.mono{font-family:ui-monospace,"SF Mono","JetBrains Mono",Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:0;font-size:.94em}
.num{font-variant-numeric:tabular-nums}

/*
 * The label owns the gap, not the heading below it.
 *
 * The same 14px used to be produced five different ways: `.bl-hero .eyebrow`
 * carried a margin-bottom, `.pg-hero h1` a 16px margin-top, `.pg-hero--slim h1`
 * a 14px one, `.hero h1` a 20px one, and sixteen headings across eight templates
 * carried `style="margin-top:14px"`. Four values for one gap, and the pages
 * without an inline style sat flush. Putting it on the label means a heading
 * cannot miss it, and the value is written once.
 */
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  margin-bottom:14px;
  font-size:12px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ink-3);
}
.eyebrow::before{content:"";width:16px;height:1px;background:var(--accent)}

/* ---------- layout ---------- */
.wrap{max-width:var(--w);margin:0 auto;padding:0 var(--gut)}
.section{border-top:1px solid var(--line)}
.section-pad{padding:84px 0}
.section-pad-sm{padding:56px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:40px}
.sec-head .txt{max-width:660px}
.sec-head p{margin-top:12px;color:var(--ink-3);font-size:16px;line-height:1.7;max-width:58ch}
/* A secondary section head — the product page's specs and related-parts blocks
   sit under a much larger title, so their own heading steps down to 26px. */
.sec-head--sm h2{font-size:26px}
.sec-link{
  display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  font-size:15px;font-weight:600;color:var(--ink);
  padding-bottom:4px;border-bottom:1px solid var(--ink);
  transition:gap .18s ease,opacity .18s ease;
}
.sec-link:hover{gap:13px;opacity:.7}

/* ---------- buttons — capsule ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:50px;padding:0 28px;border-radius:var(--r-pill);
  font-size:15.5px;font-weight:600;letter-spacing:-.005em;
  border:1px solid transparent;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover)}
.btn-ghost{border-color:var(--line);color:var(--ink);background:#fff}
.btn-ghost:hover{border-color:var(--ink);background:var(--hover)}
.btn-sm{height:42px;padding:0 20px;font-size:14.5px}
.btn-block{width:100%}

/* ---------- header ---------- */
header.site{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.95);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;height:var(--nav-h);gap:36px}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--ink);text-decoration:none}
/*
 * The horizontal lockup is 1059 x 120 — a monogram plus the wordmark, 8.8 to
 * one. At 40px tall it rendered 353px wide, which is nearly a third of a
 * 1240px header and left the menu no room. 32px keeps the wordmark legible
 * and hands the space back to the navigation.
 */
.brand img{display:block;height:32px;width:auto;max-width:280px}
.brand .lg-mini,.brand .lg-txt{display:none}
.brand .lg-txt i{font-style:normal;color:#FE7201}
.f-about .brand img{height:30px;max-width:260px}
/*
 * The primary menu sits in a <nav> landmark so screen-reader users get a
 * "Primary" region. That wrapper is a flex item of its own, so it has to carry
 * the row layout the <ul> used to inherit directly, and it has to disappear at
 * the same breakpoint as the <ul> — an empty flex item still contributes a gap,
 * and the header below 1080px has none to spare.
 */
.nav .nav-primary{display:flex;align-items:center;min-width:0}
.nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0}
.nav ul a{
  position:relative;white-space:nowrap;display:block;padding:25px 0;font-size:15.5px;font-weight:520;color:var(--ink-2);
  transition:color .16s ease;
}
.nav ul a:hover{color:var(--ink)}
.nav ul a::after{content:"";position:absolute;left:0;right:100%;bottom:-1px;height:2px;background:var(--accent);border-radius:2px;transition:right .2s ease}
.nav ul a:hover::after{right:0}
/* the page you are on keeps the accent bar, so the menu says where you are */
.nav ul a.current,
.nav ul a.current-menu-item,
.nav ul a.current_page_item,
.nav ul a.current-menu-parent{color:var(--ink);font-weight:600}
.nav ul a.current::after,
.nav ul a.current-menu-item::after,
.nav ul a.current_page_item::after,
.nav ul a.current-menu-parent::after{right:0}
.nav .right{margin-left:auto;display:flex;align-items:center;gap:12px}
.nav .ico{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:var(--ink-2);transition:background .16s ease}
.nav .ico:hover{background:var(--hover)}
.burger{display:none;width:44px;height:44px;place-items:center;border:1px solid var(--line);border-radius:var(--r-pill)}

/* ---------- hero ---------- */
.hero{padding:72px 0 0}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:64px;align-items:center;padding-bottom:60px}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero .lead{margin-top:20px;max-width:49ch}
.hero .acts{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}

/* part number search — pill field */
.pn-search{margin-top:34px;padding-top:26px;border-top:1px solid var(--line)}
.pn-search label{display:block;font-size:13.5px;color:var(--ink-3);margin-bottom:10px}
.pn-field{
  display:flex;align-items:center;border:1px solid var(--line);border-radius:var(--r-pill);
  background:#fff;padding:5px 5px 5px 22px;transition:border-color .16s ease,box-shadow .16s ease;
}
.pn-field:focus-within{border-color:var(--ink)}
.pn-field input{flex:1;width:0;height:48px;border:0;background:none;font-size:16px;letter-spacing:.005em;outline:none;min-width:0}
.pn-field input::placeholder{color:var(--ink-4)}
.pn-field button{
  height:44px;padding:0 24px;border-radius:var(--r-pill);background:var(--ink);color:#fff;
  font-size:14.5px;font-weight:600;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;
  transition:background .16s ease;
}
.pn-field button:hover{background:#000}
.pn-hint{margin-top:12px;font-size:13.5px;color:var(--ink-4);line-height:1.6}
.pn-hint b{color:var(--ink-3);font-weight:600}

/* ---------- hero collage ---------- */
/*
 * Four product tiles on one plate.
 *
 * The 1px gap is the divider, not a border on each tile: at 12px of white
 * between them the four photos read as four unrelated pictures, and at 1px
 * of --rule they read as one object, which is what the right half of the hero
 * needs — a block of weight, not a scatter. The gap colour is therefore the
 * rule itself, which is why the empty-catalogue case has to fill all four
 * cells rather than let that colour show through.
 *
 * The hover is deliberately quiet: the photograph grows 5.5% and a 2px accent
 * rule fills in along the bottom edge from the left. No shadow, no lift, no
 * caption — the plate stays flat, and the rule is the one thing that says
 * "this is a link" without adding a third kind of line to a page that has
 * exactly one.
 */
.collage{
  /*
   * minmax(0,1fr) for the same reason as .brand-grid: an fr track will not
   * shrink below the cell's min-content, and a 1:1 cell's min-content came out
   * at ~169px — enough that the plate kept a 339px minimum and pushed a 360px
   * phone 3px into horizontal scroll.
   */
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:1px;
  background:var(--rule);border:1px solid var(--rule);border-radius:var(--r-card);
  overflow:hidden;
}
.collage .cell{
  position:relative;display:block;padding:0;aspect-ratio:1/1;
  background:#fff;overflow:hidden;
  /* multiply blends against the tile's white, not the page behind it, so the
     studio background of the shot stays flat while the photo is scaled */
  isolation:isolate;
}
.collage .cell.is-empty{background:var(--panel)}
/* the white-background product shots sit on multiply so the studio white
   disappears into the tile instead of showing as a pale square */
.collage .cell img{mix-blend-mode:multiply;transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.collage .cell:hover img,
.collage .cell:focus-visible img{transform:scale(1.055)}
.collage .cue{
  position:absolute;left:0;right:0;bottom:0;height:2px;z-index:1;
  background:var(--accent);transform:scaleX(0);transform-origin:left center;
  transition:transform .34s cubic-bezier(.22,.61,.36,1);
}
.collage .cell:hover .cue,
.collage .cell:focus-visible .cue{transform:scaleX(1)}
/* the global focus ring sits outside the tile and would be clipped by the
   plate's overflow:hidden, so it is drawn inside the tile instead */
.collage .cell:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.collage.two{grid-template-rows:auto}
.collage.two .cell{padding:0}

/* ---------- stats strip ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stats div{padding:26px 28px;border-right:1px solid var(--line)}
.stats div:last-child{border-right:0}
.stats b{display:block;font-size:30px;font-weight:650;color:var(--head);letter-spacing:-.03em;line-height:1.1;white-space:nowrap}
.stats div>span{font-size:14px;color:var(--ink-3);display:block;margin-top:7px;line-height:1.5}
.stats b span{font-size:20px;color:var(--ink-2);font-weight:600;margin-left:1px}

/* ---------- brand grid ---------- */
/* minmax(0,1fr), not 1fr: an fr track floors at its item's min-content width,
   and a brand cell's min-content is the wordmark plus 48px of padding — about
   220px. Two of those will not fit a 390px phone, and the grid silently grew
   to 447px inside a 342px container. */
.brand-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--rule)}
.brand-cell{
  border-bottom:1px solid var(--rule);
  padding:30px 24px 26px;background:#fff;transition:background .16s ease;
  /* column flex so the "Browse" line can sit on the cell floor: the model
     line wraps to two lines for some marques and one for others, and without
     this the links zig-zag down the row. */
  display:flex;flex-direction:column;
}
.brand-cell:hover{background:var(--hover)}
/* One plate width across the row, whatever shape each mark is — and one
   plate height too. The mark and the wordmark occupy the same slot; if the
   plate sizes to its content the two rows stop lining up. */
.brand-cell .blogo{display:flex;width:100%;height:62px;padding:0 4px;margin:0;border-radius:0;background:none}
/* The uploaded mark used to be capped at 30px, a third of the plate: a
   horizontal lockup like Sinotruk's loses its triangle and a round badge
   like Shacman's turns into a dot. 54px inside a 62px plate fills it.
   The selector is one class deeper than .blogo--cell on purpose — that rule
   sits further down the file and would otherwise win at equal weight. */
.brand-cell .blogo .blogo__img{max-height:54px}
/* A wordmark is the stand-in for a mark here, so it takes the mark's size,
   not the size of a caption — and it sits where the name sits under a real
   mark, not in the middle of the plate. 84 = 62px mark plate + 17.5px name
   line + 4px gap, so the two kinds of cell put their name on one line. */
.brand-cell .blogo.blogo--word{
  height:84px;padding:0 4px 5px;align-items:flex-end;
  font-size:15px;letter-spacing:.1em;
}
/* The name, model line and "Browse" sit in a block that fills whatever the
   plate leaves. Inside it the name and the model line stack from the top
   while "Browse" is pushed to the floor, so a row lines up on three
   baselines at once: name, model line, link. Pinning the whole block to the
   floor instead would shift the model line whenever one cell's line wraps
   and its neighbour's does not. */
.brand-cell .bmeta{display:flex;flex-direction:column;flex:1 1 auto}
/* A caption under a mark, set to the same tracking as the wordmark so the
   two read as one system — and centred like the mark above it, because left
   aligned it broke away from the picture in a wide cell while every
   wordmark cell was centred. It used to be 17px sentence case against the
   neighbours' 14px capitals, which made one cell look like a different
   component. */
.brand-cell .bm{font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--ink-2);line-height:1.4;margin:0 0 4px;text-align:center}
.brand-cell .bs{font-size:13px;color:var(--ink-3);margin-top:0}
.brand-cell ul{list-style:none;margin:16px 0 0;padding:0;font-size:13.5px;color:var(--ink-2);line-height:2}
.brand-cell .go{margin-top:auto;padding-top:14px;font-size:13px;color:var(--ink-3);display:flex;align-items:center;gap:7px}
.brand-cell:hover .go{color:var(--accent)}

/* ---------- home brand tiers ----------
   One flat grid of sixteen equal tiles said the wrong thing. Shacman (7,844
   part numbers) and Beiben (six) came out the same size, so the section read
   as a directory sorted by the alphabet rather than by what we stock; and 16
   tiles across five columns left one orphan in the last row with four fifths
   of the width empty. Three classes now, sized by inventory.

   Hairlines are drawn by the cells, not by a `gap:1px` over a tinted
   container: a tier that does not fill its last row would paint the tint
   through the empty tracks, and nine marques do not divide evenly into two or
   four columns.

   The vertical rules sit on the cells' left edge and the first cell of every
   row drops them, so the block stays open at both sides instead of coming out
   framed on one edge. That is three extra rules for the tier that wraps —
   the other two are a single row and need only `:first-child`. */
.brand-tier{
  display:grid;gap:0;
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
}
.brand-tier>*{background:#fff;border-left:1px solid var(--rule)}
.brand-tier>*:first-child{border-left:0}
.brand-tier--feat{grid-template-columns:repeat(3,minmax(0,1fr))}
.brand-tier--mini{grid-template-columns:repeat(4,minmax(0,1fr))}
.brand-tier--rows{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Only the wrapping tier needs rules between its rows; the closing row drops
   its bottom edge because the container already draws that line, and two
   1px borders at the same place read as a 2px rule on a retina screen. */
.brand-tier--rows>*{border-bottom:1px solid var(--rule)}
.brand-tier--rows>*:nth-child(3n+1){border-left:0}
.brand-tier--rows>*:nth-last-child(-n+3){border-bottom:0}

.tier-label{
  margin:26px 0 9px;
  font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-3);
}

/* Tier one. Name and count on one baseline, the count large enough to be the
   thing the eye lands on. min-height holds three cards level when one of them
   has no model line. */
.brand-card{
  display:flex;flex-direction:column;
  padding:20px 22px 18px;min-height:132px;
  transition:background .16s ease;
}
.brand-card:hover{background:var(--hover)}
.bc-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.bc-mark{font-size:19px;font-weight:650;letter-spacing:.07em;color:var(--ink);line-height:1.2}
.bc-logo{height:32px;width:auto;max-width:100%;object-fit:contain;align-self:center}
.bc-num{font-size:22px;font-weight:650;color:var(--ink);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.bc-model{display:block;margin-top:5px;font-size:12px;color:var(--ink-3);line-height:1.5}
.bc-foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:auto;padding-top:14px;font-size:12.5px;color:var(--ink-3);
}
.bc-go{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.brand-card:hover .bc-go{color:var(--accent)}
.brand-card:hover .bc-num{color:var(--accent-hover)}

/* Tier two. Same left-aligned name and right-aligned count as tier one, at
   two thirds the size, so the two rows read as one system in two weights. */
.brand-mini{
  display:flex;flex-direction:column;
  padding:14px 18px 13px;
  transition:background .16s ease;
}
.brand-mini:hover{background:var(--hover)}
.bmi-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.bmi-name{font-size:13.5px;font-weight:600;letter-spacing:.05em;color:var(--ink);line-height:1.4}
.bmi-num{font-size:13px;color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap}
.bmi-sub{display:block;margin-top:1px;font-size:11.5px;color:var(--ink-3);line-height:1.5}
.brand-mini:hover .bmi-name{color:var(--accent-hover)}

/* Tier three. Nine marques worth six to fifty numbers each: links, not
   features. One line apiece keeps the whole class shorter than two of the
   old tiles. */
.brand-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 18px;
  font-size:12.5px;color:var(--ink);letter-spacing:.05em;
  transition:background .16s ease;
}
.brand-row:hover{background:var(--hover);color:var(--accent-hover)}
.br-num{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums;letter-spacing:0}
.brand-row:hover .br-num{color:var(--accent)}

@media (max-width:1080px){
  /* Two columns means the first cell of a row is now every other one, and the
     rules that were written for three have to be undone before they can be
     replaced — equal weight, later in the file wins. */
  .brand-tier--mini{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-tier--mini>*:nth-child(2n+1){border-left:0}
  /* Four cells in two columns is two rows, so this tier wraps too and needs
     the rule under its first row that a single-row grid does not. */
  .brand-tier--mini>*{border-bottom:1px solid var(--rule)}
  .brand-tier--mini>*:nth-last-child(-n+2){border-bottom:0}
  .brand-tier--rows{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-tier--rows>*:nth-child(3n+1){border-left:1px solid var(--rule)}
  .brand-tier--rows>*:nth-child(2n+1){border-left:0}
  .brand-tier--rows>*:nth-last-child(-n+3){border-bottom:1px solid var(--rule)}
  .brand-tier--rows>*:nth-last-child(-n+2){border-bottom:0}
}
@media (max-width:820px){
  /* One card per row: at 390px a third of the width cannot hold "SINOTRUK"
     beside its count, and the two would collide. Stacked, the three big
     cards still need a rule between them — the verticals that separated them
     at three across are gone. */
  .brand-tier--feat{grid-template-columns:minmax(0,1fr)}
  .brand-tier--feat>*:nth-child(n){border-left:0}
  .brand-tier--feat>*{border-bottom:1px solid var(--rule)}
  .brand-tier--feat>*:last-child{border-bottom:0}
  .brand-tier--rows{grid-template-columns:minmax(0,1fr)}
  .brand-tier--rows>*:nth-child(n){border-left:0}
  .brand-tier--rows>*:nth-last-child(-n+2){border-bottom:1px solid var(--rule)}
  .brand-tier--rows>*:nth-last-child(-n+1){border-bottom:0}
  .brand-card{min-height:0;padding:15px 18px 13px}
  .bc-mark{font-size:17px}
  .bc-num{font-size:19px}
  .bc-foot{padding-top:11px;font-size:12px}
  .brand-mini{padding:12px 16px 11px}
  .brand-row{padding:9px 18px}
  .tier-label{margin:20px 0 8px}
}

/* ---------- systems grid ---------- */
.sys-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--rule)}
.sys-cell{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:26px 22px;border-bottom:1px solid var(--rule);
  background:#fff;transition:background .16s ease;
}
.sys-cell:hover{background:var(--hover)}
.sys-cell .n{font-size:15.5px;font-weight:560;color:var(--ink);line-height:1.4}
.sys-cell .c{font-size:13px;color:var(--ink-4);margin-top:2px;font-variant-numeric:tabular-nums}
.sys-cell .arw{color:var(--ink-4);flex:0 0 auto;transition:transform .18s ease,color .18s ease}
.sys-cell:hover .arw{transform:translateX(3px);color:var(--accent)}
.sys-cell.all{background:var(--ink)}
.sys-cell.all .n{color:#fff}
.sys-cell.all .c{color:rgba(255,255,255,.6)}
.sys-cell.all .arw{color:rgba(255,255,255,.75)}
.sys-cell.all:hover{background:#00142F}

/* ---------- product cards ---------- */
/*
 * One top rule for the section, one bottom rule per row. No left/right cage:
 * columns are separated by each card's own padding and a shared baseline.
 * The photo socket deliberately has no rule of its own — the old one doubled
 * the card's row rule and cut the picture off from its caption.
 */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--rule)}
.prod{
  border-bottom:1px solid var(--rule);
  background:#fff;display:flex;flex-direction:column;
}
.prod .ph{aspect-ratio:1/1;padding:20px;display:grid;place-items:center;background:#fff}
.prod .ph img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .3s ease}
.prod:hover .ph img{transform:scale(1.035)}
.prod .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.prod .pn{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:13px;color:var(--accent);letter-spacing:.01em;font-weight:600}
.prod .nm{font-size:15.5px;font-weight:560;color:var(--ink);line-height:1.45;letter-spacing:-.005em}
.prod .mt{font-size:13px;color:var(--ink-3);margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.tag{
  font-size:11.5px;padding:3px 10px;border:0;border-radius:var(--r-pill);background:var(--panel);
  color:var(--ink-3);letter-spacing:.01em;white-space:nowrap;line-height:1.5;
}

/* ---------- split feature ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid var(--line)}
.split > div{padding:64px 48px 64px 0}
.split > div + div{border-left:1px solid var(--line);padding:64px 0 64px 48px}
.checks{list-style:none;margin:30px 0 0;padding:0}
.checks li{display:flex;gap:16px;padding:20px 0;border-top:1px solid var(--line-soft);font-size:15px;color:var(--ink-2);line-height:1.7}
.checks li:first-child{border-top:0;padding-top:0}
.checks .k{flex:0 0 auto;font-family:ui-monospace,Menlo,monospace;font-size:13px;color:var(--ink-4);padding-top:3px;width:24px}
.checks b{color:var(--ink);font-weight:600;display:block;margin-bottom:4px;font-size:16px}

/* ---------- rfq ---------- */
.rfq{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}
/*
 * Vertical padding only. This element is always written "wrap rfq-in", and the
 * horizontal gutter comes from .wrap — writing the shorthand here (it was
 * "padding:80px 0") reset left and right to zero, because .rfq-in and .wrap are
 * both single-class selectors and this one comes later. The section filled the
 * viewport edge to edge, so on a phone the heading, the part list box and the
 * send button all sat hard against the screen with no margin at all.
 */
.rfq-in{display:grid;grid-template-columns:1fr 1fr;gap:72px;padding-top:80px;padding-bottom:80px;align-items:start}
.rfq-form{display:grid;gap:18px}
.field label{display:block;font-size:14px;color:var(--ink-3);margin-bottom:8px}
.field input,.field textarea,.field select{
  width:100%;border:1px solid var(--line);border-radius:var(--r-input);background:#fff;
  padding:15px 18px;font-size:16px;line-height:1.6;outline:none;
  transition:border-color .16s ease;
}
.field textarea{min-height:132px;resize:vertical;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:14.5px;line-height:1.75}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--ink)}
.field.row2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-note{font-size:13.5px;color:var(--ink-3);line-height:1.65}
.form-note a{color:var(--ink-2);border-bottom:1px solid var(--line);white-space:nowrap}
.form-note a:hover{color:var(--ink);border-color:var(--ink)}

/* ---------- footer ---------- */
footer.site{border-top:1px solid var(--line);padding:64px 0 0;background:#fff}
.f-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.15fr;gap:40px;padding-bottom:52px}
.f-grid .f-h{margin:0 0 16px;font-size:12.5px;font-weight:650;color:var(--ink);letter-spacing:.1em;text-transform:uppercase}
.f-grid ul{list-style:none;margin:0;padding:0;font-size:14.5px;line-height:2.15;color:var(--ink-3)}
.f-grid a:hover{color:var(--ink)}
.f-about p{font-size:14.5px;color:var(--ink-3);max-width:320px;line-height:1.8;margin-top:16px}
.f-bot{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:22px 0 32px;font-size:13.5px;color:var(--ink-4);flex-wrap:wrap}
.f-bot .set{display:flex;gap:22px}

/* ---------- breadcrumb ---------- */
.crumb{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--ink-4);padding:18px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.crumb a:hover{color:var(--ink)}
.crumb .s{color:var(--line)}
.crumb b{color:var(--ink-2);font-weight:500}

/* ---------- brand landing page ---------- */
.bl-hero{padding:56px 0 48px;border-bottom:1px solid var(--line)}
.bl-hero .grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.bl-hero .lead{margin-top:18px;max-width:56ch}
.bl-hero .acts{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}
.bl-meta{display:flex;margin-top:34px;border-top:1px solid var(--line)}
.bl-meta div{padding:18px 26px 0 0;margin-right:26px;border-right:1px solid var(--line)}
.bl-meta div:last-child{border-right:0;margin-right:0}
.bl-meta b{display:block;font-size:19px;color:var(--ink);font-weight:650;letter-spacing:-.02em;line-height:1.3}
.bl-meta span{font-size:13px;color:var(--ink-3);display:block;margin-top:2px}

/* tables */
.tbl-wrap{overflow-x:auto}
table.t{width:100%;border-collapse:collapse;font-size:14.5px;min-width:660px}
table.t th{
  text-align:left;font-size:12.5px;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3);
  padding:14px 18px;border-bottom:1px solid var(--line);background:var(--panel);white-space:nowrap;
}
table.t td{padding:16px 18px;border-bottom:1px solid var(--line-soft);color:var(--ink-2);vertical-align:top;line-height:1.6}
table.t tr:last-child td{border-bottom:0}
table.t td:first-child{color:var(--ink);font-weight:560}
table.t tr:hover td{background:#FCFCFD}

/* specification table on the product page: a record, not a call to action.
   Labels stay quiet, the value is what the reader came for.

   `table.t.spec-t`, not `.spec-t`: the generic `table.t` rule keeps a
   min-width of 660px for wide tables, and `table.t` (0,1,1) outranks
   `.spec-t` (0,1,0), so the override was losing. The table stayed 660px
   wide inside a 342px wrapper and the reader had to scroll it sideways to
   reach the value column — on a two-column table of eight short rows that
   never needed 660px in the first place.

   A fixed-layout table does not widen when its content will not fit; it
   spills. Part numbers and OEM lists are where that happens, so the cells
   break their own text instead of pushing the table wide.

   The label is left to wrap as well. At 30% of a desktop table it has
   several hundred pixels and never wraps; on a phone the shorter column
   does not, and a nowrap label there would overrun the value beside it. */
table.t.spec-t{min-width:0;table-layout:fixed}
.spec-t td{padding:11px 18px;font-size:14.5px;line-height:1.55;overflow-wrap:anywhere}
.spec-t td:first-child{width:30%;color:var(--ink-3);font-weight:500}
.spec-t td:last-child{color:var(--ink);font-weight:540}
.spec-foot{margin-top:14px;font-size:13.5px;color:var(--ink-4);line-height:1.65;max-width:72ch}

/* quality tiers */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule)}
.tier{padding:32px 28px 30px;border-bottom:1px solid var(--rule)}
.tier .lvl{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-4);font-weight:600}
.tier h3{margin:12px 0 10px}
.tier p{font-size:14.5px;color:var(--ink-3);line-height:1.75}
.tier ul{list-style:none;margin:18px 0 0;padding:16px 0 0;border-top:1px solid var(--line-soft);font-size:14px;color:var(--ink-2);line-height:2}
.tier ul li::before{content:"— ";color:var(--ink-4)}

/* faq */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--rule)}
.faq details:last-child{border-bottom:0}
.faq summary{
  display:flex;justify-content:space-between;align-items:center;gap:24px;
  padding:22px 0;cursor:pointer;list-style:none;font-size:16.5px;font-weight:560;color:var(--ink);line-height:1.5;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;color:var(--ink-4);font-weight:300;line-height:1}
.faq details[open] summary::after{content:"−"}
.faq .a{padding:0 0 26px;font-size:15.5px;color:var(--ink-2);line-height:1.8;max-width:78ch}
/* A full-width FAQ list reads badly; hold it to a 860px measure. The heading
   that introduces it needs 30px of clearance, more than a heading normally
   carries, because the list starts with a rule. Scoped to the heading directly
   under the label: the FAQ page also puts h2s in this column, and they are
   12px group titles that want 10px, not 30. */
.wrap.faq-col{max-width:860px}
.faq-col > .eyebrow + h2{margin-bottom:30px}

/* ---------- product page ---------- */
.pd{display:grid;grid-template-columns:.98fr 1.02fr;gap:60px;padding:44px 0 64px}
.gal .main{aspect-ratio:1/1;display:grid;place-items:center;padding:40px;background:#fff}
.gal .main img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:opacity .16s ease}
.gal .thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}
.gal .thumbs button{position:relative;aspect-ratio:1/1;padding:8px;display:grid;place-items:center;background:#fff;transition:background .16s ease;border-radius:var(--r-sm)}
.gal .thumbs button:hover{background:var(--hover)}
.gal .thumbs button.on::after{content:"";position:absolute;left:25%;right:25%;bottom:3px;height:2px;border-radius:2px;background:var(--rule-active)}
.gal .thumbs img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.pd-info h1{font-size:clamp(28px,2.9vw,38px);margin:12px 0 0;line-height:1.15}
.pd-info .pnline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pd-info .pnline .mono{font-size:16px;font-weight:600;color:var(--ink)}
/* Label sits tight against the number it names; the tags that follow keep the normal gap. */
.pd-info .pnline .pn-k{font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3);margin-right:-4px}
.pd-info .sub{margin-top:10px;font-size:15.5px;color:var(--ink-3);line-height:1.7;max-width:56ch}
.spec{margin-top:28px;border-top:1px solid var(--line)}
.spec .row{display:grid;grid-template-columns:158px 1fr;gap:18px;padding:13px 0;font-size:15px}
.spec .row:not(:last-child){border-bottom:1px solid var(--rule)}
.spec .row dt{color:var(--ink-3)}
.spec .row dd{margin:0;color:var(--ink);font-weight:520;line-height:1.6}
.oem{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.oem .oem-h{margin:0 0 14px;font-size:12.5px;color:var(--ink-3);font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  font-family:ui-monospace,Menlo,monospace;font-size:13.5px;padding:7px 14px;
  border:1px solid var(--line);border-radius:var(--r-pill);color:var(--ink-2);background:#fff;transition:.16s;
}
.chip:hover{border-color:var(--ink);color:var(--ink)}
.pd-acts{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.pd-acts .btn{flex:1;min-width:180px}
.pd-trust{list-style:none;margin:26px 0 0;padding:22px 0 0;border-top:1px solid var(--line);display:grid;gap:11px;font-size:14.5px;color:var(--ink-2);line-height:1.6}
.pd-trust li{display:flex;gap:11px;align-items:flex-start}
.pd-trust svg{flex:0 0 auto;margin-top:3px;color:var(--ink-3)}

.tabs{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:32px;overflow-x:auto}
.tabs button{padding:18px 0;font-size:15px;font-weight:560;color:var(--ink-3);border-bottom:2px solid transparent;white-space:nowrap}
.tabs button.on{color:var(--ink);border-bottom-color:var(--accent)}
.prose{max-width:820px;padding:44px 0 56px}
.prose h3{margin:0 0 14px}
/* The product description is an h2 in the document outline — it is a top-level
   section of the page — but it should not shout like the page title. */
.prose h2{margin:0 0 14px;font-size:22px;line-height:1.3}
.prose h3 + p + h3{margin-top:32px}
.prose p{font-size:16px;line-height:1.8;color:var(--ink-2)}
.prose ul{padding-left:22px;color:var(--ink-2);font-size:16px;line-height:1.9}

/* listing toolbar */
.toolbar{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);flex-wrap:wrap;font-size:14px;color:var(--ink-3)}
.toolbar .pills{display:flex;gap:8px;flex-wrap:wrap}
.pill{padding:8px 16px;border:1px solid var(--line);border-radius:var(--r-pill);font-size:14px;color:var(--ink-2);background:#fff}
.pill:hover{border-color:var(--ink-4)}
.pill.on{border-color:var(--ink);color:var(--ink);font-weight:560}

/* sticky inquiry bar */
.rfq-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;background:#fff;border-top:1px solid var(--line);transform:translateY(100%);transition:transform .25s ease}
.rfq-bar.show{transform:none}
.rfq-bar .in{display:flex;align-items:center;gap:18px;min-height:68px}
.rfq-bar .in b{font-size:15px;color:var(--ink)}
.rfq-bar .in span{font-size:14px;color:var(--ink-3)}
.rfq-bar .in .btn{margin-left:auto}

/* ---------- responsive ---------- */
@media (max-width:1240px){
  /*
   * Narrow screens use the mark plus the word as text. The horizontal lockup
   * is 8.8 to one: at 32px it is 282px wide, and with six menu items, two
   * icons and the quote button the header no longer fitted between roughly
   * 960px and 1240px — the button ran off the edge of the page.
   *
   * Measured at 1081px the compact header needs 958px of the 1033px it has.
   */
  .brand .lg-full{display:none}
  .brand .lg-mini{display:block;height:32px}
  .brand .lg-txt{display:inline;font-size:17px;font-weight:700;letter-spacing:-.025em;white-space:nowrap}
  .nav{gap:20px}
  .nav ul{gap:18px}
  .nav .ico-wa{display:none} /* 抽屉里有 WhatsApp，窄屏先让位给菜单和按钮 */
}

@media (max-width:1080px){
  /*
   * Tablet. This width used to be split across two blocks with the 1240px
   * header block sitting between them, so which rule won depended on source
   * order rather than on width. It is one block now, and it sits after 1240
   * so that narrowing the viewport always tightens the layout.
   */
  .prod-grid{grid-template-columns:repeat(3,1fr)}
  .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sys-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .f-grid{grid-template-columns:1.4fr 1fr 1fr;row-gap:40px}
  .pd,.bl-hero .grid,.rfq-in,.hero-grid,.split{grid-template-columns:1fr;gap:40px}
  /*
   * Single column, so the plate would otherwise take the full width and turn
   * four 1:1 tiles into four half-screen squares — 740px of photography
   * between the hero copy and the stats strip. Capped, it stays a figure.
   */
  .collage{max-width:520px}
  .split > div,.split > div + div{padding:44px 0}
  .split > div + div{border-left:0;border-top:1px solid var(--line);padding-left:0}

  /* 平板：横版导航收进汉堡菜单，避免挤压 */
  .nav{gap:16px}
  .nav ul{display:none} /* 保留询价按钮：平板上它比菜单更重要 */
  .nav .nav-primary{display:none} /* 菜单收进抽屉，空的 landmark 不该占位 */
  .burger{display:grid}
}

@media (max-width:820px){
  body{overflow-x:hidden;font-size:16px}
  .nav{gap:12px}
  .nav ul{display:none}
  .nav .nav-primary{display:none}
  .nav .right{gap:8px}
  .nav .right .btn{display:none}
  .nav .ico-wa{display:none} /* 抽屉里有 WhatsApp，小屏让位给 LOGO 与汉堡 */
  .burger{display:grid}
  .prod-grid,.tiers,.stats{grid-template-columns:repeat(2,1fr)}
  .brand-grid,.sys-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats div:nth-child(2n){border-right:0}
  .stats div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .sec-head{flex-direction:column;align-items:flex-start;gap:18px}
  .f-grid{grid-template-columns:1fr 1fr}
  /* Same vertical rhythm as .section-pad on a phone; 80px read as a gap in the
     page rather than a break between sections. */
  .rfq-in{padding-top:60px;padding-bottom:60px}
  .section-pad{padding:60px 0}
  .hero{padding-top:44px}
  .gal .thumbs{grid-template-columns:repeat(4,1fr)}
  .bl-meta{flex-wrap:wrap}
  .bl-meta div{padding-right:20px;margin-right:20px;margin-bottom:10px}
  h1{font-size:clamp(30px,7vw,40px)}
}
/* ---------- 404 ---------- */
.nf{padding:76px 0 0}
.nf-grid{display:grid;grid-template-columns:1.22fr .78fr;gap:76px;align-items:start;padding-bottom:60px}
.nf-code{
  display:inline-flex;align-items:center;gap:9px;
  font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:12.5px;font-weight:600;
  letter-spacing:.14em;color:var(--ink-3);text-transform:uppercase;
}
.nf-code::before{content:"";width:16px;height:1px;background:var(--accent)}
.nf h1{margin:18px 0 0;max-width:19ch}
.nf .lead{margin-top:18px;max-width:46ch}
.nf .pn-search{margin-top:30px}
.nf-side{border-top:1px solid var(--line);padding-top:2px}
.nf-side .nf-h{font-size:11.5px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);margin:16px 0 0;line-height:1.4}
.nf-links a{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:17px 0;border-bottom:1px solid var(--line);
  font-size:15.5px;font-weight:540;color:var(--ink);
  transition:color .16s ease,padding-left .16s ease;
}
.nf-links a:hover{color:var(--accent);padding-left:4px}
.nf-links .t{font-size:12.5px;font-weight:400;color:var(--ink-3);white-space:nowrap}
.nf-links a:hover .t{color:var(--ink-3)}
.nf-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.nf-chips a{
  display:inline-flex;align-items:center;height:42px;padding:0 20px;
  border:1px solid var(--line);border-radius:var(--r-pill);
  font-size:14.5px;color:var(--ink-2);background:#fff;
  transition:border-color .16s ease,color .16s ease,background .16s ease;
}
.nf-chips a:hover{border-color:var(--ink);color:var(--ink);background:var(--hover)}
.nf-help{
  display:flex;align-items:center;justify-content:space-between;gap:40px;
  padding:40px 0;border-top:1px solid var(--line);
}
.nf-help .txt{max-width:60ch}
/* An h2 for the outline, sized like the h3 it used to be. */
.nf-help .nf-h{font-size:20px;letter-spacing:-.014em;line-height:1.35;margin:0 0 6px}
.nf-help p{font-size:15px;color:var(--ink-3);line-height:1.7}
.nf-help .acts{display:flex;gap:12px;flex-wrap:wrap;flex:0 0 auto}

@media (max-width:960px){
  .nf-grid{grid-template-columns:1fr;gap:44px;padding-bottom:48px}
  .nf h1{max-width:none}
}
@media (max-width:680px){
  .nf{padding-top:52px}
  .nf-help{flex-direction:column;align-items:flex-start;gap:22px}
  .nf-help .acts .btn{flex:1 1 auto}
}

@media (max-width:520px){
  .spec .row{grid-template-columns:1fr;gap:2px;padding:11px 0}
  .spec .row dt{font-size:13.5px}
  /* The label gets its own size here so it stays a whisper next to the
     value, the way .spec .row dt does two rules above. 12px of side padding,
     not 14px: every pixel saved goes to the value column, and a part number
     that wraps mid-number reads as a different number. */
  .spec-t td{padding:10px 12px;font-size:14px}
  .spec-t td:first-child{width:42%;font-size:13.5px}
  .gal .thumbs{grid-template-columns:repeat(5,1fr);gap:6px}
  .pd-acts .btn{flex:1 1 100%}
  .prod-grid,.tiers{grid-template-columns:1fr}
  .brand-grid,.sys-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  /*
   * Two columns on a phone leaves ~110px of content after padding, and the
   * longest wordmark ("DONGFENG PARTS") needs ~147px on one line at the
   * desktop scale — so it was being ellipsised mid-word. Tightening the cell
   * and dropping the wordmark to 11px with open tracking brings every one of
   * the nine names back onto a single line down to 360px. One column instead
   * would be 1,300px of scroll for nine cells.
   */
  .brand-cell{padding:20px 16px 18px}
  .brand-cell .blogo{height:48px;padding:0;margin:0;background:none}
  .brand-cell .blogo .blogo__img{max-height:42px}
  .brand-grid .brand-cell .blogo--word{height:66px;padding:0 0 4px;font-size:11px;letter-spacing:.02em;text-align:center}
  .brand-grid .blogo__txt{white-space:nowrap;line-height:1.25;overflow:hidden;text-overflow:ellipsis}
  .brand-cell .bm{font-size:10.5px;letter-spacing:.08em;margin-bottom:3px}
  .brand-cell .bs{font-size:12.5px}
  .brand-cell .go{font-size:12px;padding-top:10px;gap:5px}
  .hero .acts .btn,.bl-hero .acts .btn{flex:1}
  .f-grid{grid-template-columns:1fr}
  .field.row2{grid-template-columns:1fr}
}

/*
 * A wider label column lets "Cross references" — the longest label the
 * specification table carries — sit on one line from 360px up. Not below:
 * at 320px the value column would lose the last 11px a 14-character part
 * number needs, and the number would wrap mid-digit.
 */
@media (min-width:360px) and (max-width:520px){
  .spec-t td:first-child{width:46%}
}

/* =========================================================
   WordPress theme layer — added on top of the design system
   ========================================================= */

/* ---------- wp core classes ---------- */
.screen-reader-text{
  border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;
  padding:0;position:absolute;width:1px;word-wrap:normal!important;
}
.screen-reader-text:focus{
  background:#fff;clip-path:none;display:block;height:auto;left:12px;top:12px;
  width:auto;padding:14px 20px;font-size:14px;font-weight:600;color:var(--ink);
  border:1px solid var(--ink);border-radius:var(--r-pill);z-index:100000;
}
.alignleft{float:left;margin:6px 24px 18px 0}
.alignright{float:right;margin:6px 0 18px 24px}
.aligncenter{margin:18px auto;display:block}
/*
 * Wide and full alignment inside the reading column.
 *
 * Both used a fixed overhang — 40px a side, or 100vw — which only works if
 * the reading column is centred in the viewport. It is not: .wrap is the
 * centred element and .entry-in sits at its left edge. Measured at 390px a
 * wide block landed at x=-16 (two thirds of a gutter off screen, invisible
 * because body clips overflow-x below 820px), and a full block was off by
 * the whole gap between column and page — 196px at 1440px, hung off the
 * left edge with a 196px hole on the right.
 *
 * Both now measure against things that exist: the column (100%), the page
 * band (--w) and the viewport minus its gutters. Neither can leave the page.
 *
 * The zero margins are stated, not omitted: a <figure> carries 40px of UA
 * margin a side, which is exactly the width that used to spill.
 */
.alignwide{margin-left:0;margin-right:0;max-width:none}
/*
 * Wide hangs 40px a side, but only where the column has 40px of gutter to
 * spend plus the gutter itself: 1240 band + 2x(40+24) = 1320px. Narrower
 * than that it stays at the column width — the same thing every block
 * theme does on a phone, and the only result that cannot clip.
 */
@media (min-width:1320px){
  .alignwide{margin-left:-40px;margin-right:-40px}
}
/*
 * Full fills the page band: no left hang (the column already starts on the
 * band's left edge, so hanging would push text out of line), and a negative
 * right margin equal to whatever the band has beyond the column — a positive
 * one would shrink the box instead of widening it. On a phone the band is
 * the column and the branch below takes over, where the column is the one
 * layout that *is* centred — so full bleeds to the screen edge.
 */
.alignfull{
  max-width:none;width:auto;
  margin-left:0;
  margin-right:calc(100% - min(var(--w) - 2 * var(--gut),100vw - 2 * var(--gut)));
}
@media (max-width:820px){
  .alignfull{margin-left:calc(-1 * var(--gut));margin-right:calc(-1 * var(--gut))}
  /* The image runs to the glass; its caption should not. */
  .alignfull > figcaption,.alignfull .wp-caption-text{padding-left:var(--gut);padding-right:var(--gut)}
}
/* The legal pages put the column beside a sticky contents list, and a block
   that bleeds there would land on top of it. Below 960px that list stacks
   above the text — the column is then the page, so the rules above stand. */
@media (min-width:961px){
  .doc .alignwide,.doc .alignfull{margin-left:0;margin-right:0}
}
/* An embed pasted at its own pixel size (560px wide is the YouTube default)
   is wider than a phone column; the image rule above never covered it. */
.entry-in iframe,.entry-in video,.entry-in embed{max-width:100%}
.wp-caption{max-width:100%}
.wp-caption-text,.wp-block-image figcaption{
  font-size:13px;color:var(--ink-4);margin-top:10px;line-height:1.6;
}
.sticky .prod{background:var(--panel)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}
.gallery-item{margin:0}

/* entry content (pages, posts) */
.entry{padding:52px 0 72px}
.entry-in{max-width:800px}
.entry-in h2{font-size:26px;margin:40px 0 12px}
.entry-in h3{font-size:19px;margin:32px 0 10px}
.entry-in p{font-size:16px;line-height:1.85;color:var(--ink-2);margin-top:14px}
.entry-in ul,.entry-in ol{padding-left:22px;font-size:16px;line-height:1.9;color:var(--ink-2)}
.entry-in li{margin-top:6px}
.entry-in a{color:var(--ink);border-bottom:1px solid var(--line)}
.entry-in a:hover{border-color:var(--ink)}
.entry-in blockquote{
  margin:26px 0;padding:4px 0 4px 22px;border-left:2px solid var(--accent);
  font-size:17px;line-height:1.8;color:var(--ink);
}
.entry-in table{border-collapse:collapse;width:100%;font-size:15px;margin:22px 0}
.entry-in th,.entry-in td{border:0;border-bottom:1px solid var(--rule);padding:11px 14px;text-align:left}
.entry-in tr:last-child td,.entry-in tr:last-child th{border-bottom:0}
.entry-in th{background:var(--panel);font-weight:600;color:var(--ink)}
.entry-in img{border-radius:var(--r-card)}
/*
 * A five-column table is 626px wide on a 390px screen. `body` clips
 * overflow-x below 820px, so the columns past the fold used to be cut off
 * with nothing on screen to say they existed — worse than the alignment
 * bug, because a price column is data. Block display turns the table into
 * its own scroll box; the table layout inside is untouched.
 */
@media (max-width:820px){
  .entry-in table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/*
 * The transit table on /about/ is four columns of prose: at 390px each column
 * gets 40–140px and every cell wraps to one or two words. Scrolling does not
 * help here — the whole table is prose, not a row of figures — so below 820px
 * each row becomes a card: the method as the title, the other three cells as
 * label/value pairs.
 *
 * The labels are in CSS, not in `data-label` attributes, because the About
 * copy lives in post_content, not in the theme: it was seeded on install and
 * `tpa_content_shipping()` no longer runs on an existing site. Positions match
 * the column order of that function's table — reorder its columns and these
 * four strings have to move with them.
 *
 * `#shipping` identifies the table without needing a class in the stored HTML;
 * it is the heading that opens the section and the table is its next sibling.
 */
@media (max-width:820px){
  .entry-in #shipping ~ table{display:block;overflow:visible;margin:20px 0 26px}
  /* Header row stays for screen readers and for the column association. */
  .entry-in #shipping ~ table thead{
    position:absolute;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
  }
  .entry-in #shipping ~ table tbody,
  .entry-in #shipping ~ table tr,
  .entry-in #shipping ~ table td{display:block;width:auto}
  .entry-in #shipping ~ table tr{
    border:1px solid var(--rule);border-radius:var(--r-card);
    padding:16px 16px 4px;margin:0 0 12px;background:#fff;
  }
  .entry-in #shipping ~ table td{border:0;padding:0 0 12px;font-size:15px;line-height:1.6}
  /* The first cell is the card's title, so it does not get a label. */
  .entry-in #shipping ~ table td:nth-child(1){
    font-size:17px;font-weight:650;color:var(--ink);line-height:1.3;
    padding:0 0 10px;margin:0 0 11px;border-bottom:1px solid var(--rule);
  }
  .entry-in #shipping ~ table td::before{
    display:block;margin:0 0 3px;
    font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;
    color:var(--ink-4);line-height:1.4;
  }
  .entry-in #shipping ~ table td:nth-child(1)::before{content:none}
  .entry-in #shipping ~ table td:nth-child(2)::before{content:"Best for"}
  .entry-in #shipping ~ table td:nth-child(3)::before{content:"Typical transit"}
  .entry-in #shipping ~ table td:nth-child(4)::before{content:"Notes"}
}
/*
 * Between 600 and 820 the card is wide enough that a stacked label wastes a
 * line per field and leaves values running 700px. Pair them instead — label in
 * a fixed column, value beside it. Below 600 the value column would be narrower
 * than the sentence in it, so the stacked layout stays.
 */
@media (min-width:600px) and (max-width:820px){
  .entry-in #shipping ~ table td{
    display:grid;grid-template-columns:124px 1fr;column-gap:18px;align-items:baseline;
  }
  .entry-in #shipping ~ table td::before{margin:0}
  .entry-in #shipping ~ table td:nth-child(1){display:block;grid-template-columns:none}
}

/* ---------- mobile nav drawer ---------- */
.nav-drawer{
  position:fixed;inset:0 0 0 auto;width:min(400px,88vw);background:#fff;z-index:200;
  transform:translateX(100%);visibility:hidden;
  transition:transform .28s cubic-bezier(.4,0,.2,1),visibility 0s linear .28s;
  display:flex;flex-direction:column;padding:22px 26px 32px;overflow-y:auto;
  box-shadow:-1px 0 40px rgba(0,0,0,.12);
}
/*
 * visibility is not decoration. A drawer that is only translated off-screen
 * keeps its links in the tab order, so a keyboard user walks through a menu
 * they cannot see. The delayed transition keeps the slide-out animation and
 * still removes the panel from hit-testing and focus at the end of it.
 */
.nav-drawer.open{transform:none;visibility:visible;transition:transform .28s cubic-bezier(.4,0,.2,1),visibility 0s}
.nav-drawer .dh{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid var(--line)}
.nav-drawer .dh img{height:26px;width:auto}
.nav-drawer .x{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:var(--ink-2)}
.nav-drawer .x:hover{background:var(--hover)}
.nav-drawer nav{margin-top:8px}
.nav-drawer nav a{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:17px 0;border-bottom:1px solid var(--line-soft);
  font-size:17px;font-weight:560;color:var(--ink);
}
.nav-drawer nav a:hover{color:var(--accent)}
.nav-drawer nav a.current{color:var(--accent);font-weight:640}
.nav-drawer nav a svg{color:var(--ink-4);flex:0 0 auto}
.nav-drawer .d-foot{margin-top:auto;padding-top:28px}
.nav-drawer .d-foot .btn{width:100%}
.nav-drawer .d-meta{margin-top:20px;font-size:13.5px;color:var(--ink-3);line-height:2}
.nav-drawer .d-meta a{color:var(--ink-2)}
.nav-scrim{
  position:fixed;inset:0;background:rgba(0,20,47,.34);z-index:190;
  opacity:0;pointer-events:none;transition:opacity .24s ease;
}
.nav-scrim.on{opacity:1;pointer-events:auto}
body.no-scroll{overflow:hidden}

/* admin bar offset */
body.admin-bar header.site{top:32px}
body.admin-bar .nav-drawer{top:32px}
@media screen and (max-width:782px){
  body.admin-bar header.site{top:46px}
  body.admin-bar .nav-drawer{top:46px}
}

/* ---------- pagination ---------- */
.pager{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:36px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.pager .info{font-size:14px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.pager .nums{display:flex;align-items:center;gap:6px}
.pager a,.pager span.pg{
  min-width:40px;height:40px;padding:0 12px;border:1px solid var(--line);
  border-radius:var(--r-pill);display:inline-flex;align-items:center;justify-content:center;
  font-size:14.5px;color:var(--ink-2);font-variant-numeric:tabular-nums;
  transition:border-color .15s ease,color .15s ease,background .15s ease;
}
.pager a:hover{border-color:var(--ink);color:var(--ink)}
.pager span.pg.cur{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:560}
.pager .dots{border:0;color:var(--ink-4);min-width:24px}
.pager .dir{display:inline-flex;align-items:center;gap:7px;padding:0 18px}

/* ---------- form states ---------- */
.form-msg{
  display:none;margin-top:16px;padding:14px 18px;border-radius:var(--r-input);
  font-size:14.5px;line-height:1.65;border:1px solid transparent;
}
.form-msg.show{display:block}
.form-msg--top{margin-top:0}
.form-msg.ok{background:#F0F9F3;border-color:#BFE3CB;color:#1F6B39}
.form-msg.err{background:#FEF3EF;border-color:#F7C9B7;color:#9C3A13}
.field .req{color:var(--accent);margin-left:2px}
.field .hint{font-size:12.5px;color:var(--ink-4);margin-top:6px;line-height:1.55}
.field.has-error input,.field.has-error textarea,.field.has-error select{border-color:var(--accent)}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
button[disabled]{opacity:.6;cursor:not-allowed}
.btn.is-loading{position:relative;color:transparent!important}
.btn.is-loading::after{
  content:"";position:absolute;width:16px;height:16px;border:2px solid rgba(255,255,255,.4);
  border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* checkbox row */
.check-row{display:flex;gap:11px;align-items:flex-start;font-size:14px;color:var(--ink-3);line-height:1.6}
.check-row input{
  appearance:none;-webkit-appearance:none;width:17px;height:17px;flex:0 0 auto;margin-top:2px;
  border:1px solid var(--line);border-radius:calc(var(--r-sm) / 2);background:#fff;cursor:pointer;position:relative;
}
.check-row input:checked{background:var(--ink);border-color:var(--ink)}
.check-row input:checked::after{
  content:"";position:absolute;left:5px;top:1.5px;width:4px;height:8px;
  border:solid #fff;border-width:0 1.6px 1.6px 0;transform:rotate(42deg);
}
.check-row a{border-bottom:1px solid var(--line);color:var(--ink-2)}

/* ---------- archive toolbar / filters ---------- */
.filters{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;
  padding:20px 0;border-bottom:1px solid var(--line);
}
.filters .f label{
  display:block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);margin-bottom:7px;
}
.filters .f select{
  width:100%;height:44px;border:1px solid var(--line);border-radius:var(--r-pill);
  background:#fff;padding:0 40px 0 18px;font-size:14.5px;color:var(--ink);outline:none;
  appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B939C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 17px center;
}
.filters .f select:focus{border-color:var(--ink)}
.active-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:14px 0;font-size:13.5px;color:var(--ink-3)}
.active-filters .af{
  display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 6px 0 13px;
  border:1px solid var(--line);border-radius:var(--r-pill);color:var(--ink-2);background:#fff;
}
.active-filters .af b{font-weight:560;color:var(--ink)}
.active-filters .af i{
  display:grid;place-items:center;width:20px;height:20px;border-radius:50%;
  background:var(--line-soft);font-style:normal;font-size:13px;color:var(--ink-3);
}
.active-filters .af:hover i{background:var(--ink);color:#fff}
.active-filters .clear{color:var(--ink-3);text-decoration:underline;text-underline-offset:3px}

/* ---------- empty state ---------- */
.empty{
  padding:72px 0;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.empty .ic{
  width:52px;height:52px;border:0;border-radius:50%;background:var(--panel);
  display:grid;place-items:center;margin:0 auto 20px;color:var(--ink-4);
}
.empty h2{font-size:22px}
.empty p{font-size:15px;color:var(--ink-3);line-height:1.75;margin:10px auto 0;max-width:44ch}
.empty .acts{display:flex;gap:10px;justify-content:center;margin-top:24px;flex-wrap:wrap}

/* ---------- search results ---------- */
.sr-head{padding:44px 0 0}
.sr-head h1{font-size:clamp(26px,3vw,36px)}
.sr-head .q{color:var(--accent)}
.sr-count{font-size:15px;color:var(--ink-3);margin-top:12px}
.sr-form{margin:26px 0 0;max-width:560px}
.sr-item{
  display:grid;grid-template-columns:112px 1fr auto;gap:24px;align-items:center;
  padding:20px 0;border-bottom:1px solid var(--line);
}
.sr-item .th{aspect-ratio:1/1;padding:10px;display:grid;place-items:center;background:#fff}
.sr-item .th img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.sr-item .t{font-size:17px;font-weight:560;color:var(--ink);line-height:1.4}
.sr-item .t:hover{color:var(--accent)}
.sr-item .m{font-size:13px;color:var(--ink-3);margin-top:5px;display:flex;gap:14px;flex-wrap:wrap}
.sr-item .m .mono{color:var(--accent);font-weight:600}
.sr-item .d{font-size:13.5px;color:var(--ink-3);margin-top:7px;line-height:1.6;max-width:60ch}
.sr-item .go{color:var(--ink-4)}

/* ---------- brand hero extras ---------- */
/*
 * The logo plate. A brand landing page with no mark reads like a list of
 * rows; the plate gives the page a face. When the marque has uploaded a
 * logo the plate holds the picture, otherwise it holds the name set as a
 * wordmark — so the plate is never empty and never a broken image.
 */
.blogo{
  display:inline-flex;align-items:center;justify-content:center;max-width:100%;
  min-height:52px;padding:8px 20px;border-radius:var(--r-sm);
  background:#fff;color:var(--ink);overflow:hidden;
}
.blogo__img{display:block;max-width:100%;max-height:36px;width:auto;height:auto;object-fit:contain;mix-blend-mode:multiply}
.blogo__txt{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.blogo--word{
  font-size:16px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  line-height:1.1;
}
/* 72px, not 52px: at 52 a vertical lockup sat smaller than the h1 under it
   and read as a stray icon rather than the marque's mark. */
.blogo--hero{min-height:92px;padding:10px 28px}
.blogo--hero .blogo__img{max-height:72px}
.blogo--hero.blogo--word{font-size:24px;letter-spacing:.12em}
.blogo--cell{min-height:46px;padding:6px 16px}
.blogo--cell .blogo__img{max-height:30px}
.blogo--cell.blogo--word{font-size:14px;letter-spacing:.09em}
.blogo--mini{min-height:36px;padding:4px 12px}
.blogo--mini .blogo__img{max-height:24px}
.blogo--mini.blogo--word{font-size:12.5px}
.bl-logo-row{margin-bottom:14px}
.bl-hero h1 .cnt{color:var(--ink-4);font-weight:500;font-size:.62em;letter-spacing:0;display:block;margin-top:8px}

/* ---------- product page extras ---------- */
.pd-note{
  margin-top:20px;padding:14px 18px;border-radius:var(--r-input);
  background:var(--panel);font-size:13.5px;color:var(--ink-3);line-height:1.65;
}
.pd-note b{color:var(--ink);font-weight:600}
.pd-oem-list{display:grid;gap:0;margin-top:4px}
.rel .sec-head{margin-bottom:32px}
/* No photos in the catalogue yet: four empty sockets in a row read as a broken
   page, so the tile drops the socket and the part number carries it instead. */
.prod-grid.rel-flat .prod .ph{display:none}
.prod-grid.rel-flat .prod{min-height:150px}
.prod-grid.rel-flat .prod .body{padding:24px 20px 20px;gap:9px}
.prod-grid.rel-flat .prod .pn{font-size:14.5px;letter-spacing:.02em}

/* ---------- sticky rfq bar: hide when rfq form visible ---------- */
.rfq-bar .in .np{font-family:ui-monospace,Menlo,monospace;font-size:13px;color:var(--ink-3)}

/* ---------- footer extras ---------- */
.f-soc{display:flex;gap:8px;margin-top:20px}
.f-soc a{
  width:38px;height:38px;border:0;border-radius:50%;background:var(--panel);
  display:grid;place-items:center;color:var(--ink-3);transition:.15s;
}
.f-soc a:hover{background:var(--hover);color:var(--ink)}
.f-bot .set a{padding:2px 0}

/* ---------- print ---------- */
@media print{
  header.site,.rfq-bar,.nav-drawer,.nav-scrim,.pager,.f-soc,footer.site .f-grid{display:none!important}
  body{font-size:11pt;color:#000}
  a{text-decoration:none;color:#000}
  .section-pad{padding:18pt 0}
  .pd{grid-template-columns:1fr;gap:18pt}
  .prod-grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------- responsive additions ---------- */
/*
 * The catalogue grid is *not* redeclared here any more. Its scale lives in the
 * responsive block above — 4 columns, then 3 at 1080, 2 at 820, 1 at 520 — in
 * descending order. Two later blocks also set it (3 at 1200, 2 at 640), and
 * because a plain max-width query only wins by source order, those two
 * overrode the narrower rules: 641–820px rendered three columns instead of
 * two, and the single-column rule at 520px never applied at all.
 */
@media (max-width:960px){
  .sr-item{grid-template-columns:88px 1fr;gap:18px}
  .sr-item .go{display:none}
  .filters{grid-template-columns:1fr 1fr}
  .pager{justify-content:center;gap:14px}
  .pager .info{width:100%;text-align:center}
}
/* 620, not 640 — same reason as above; the phone blocks below already use 620. */
@media (max-width:620px){
  .filters{grid-template-columns:1fr}
  .sr-item{grid-template-columns:64px 1fr;gap:14px}
  .sr-item .t{font-size:15.5px}
  .entry{padding:34px 0 52px}
  .pager .nums .pg:not(.cur):not(.dir){display:none}
}

/* ---------- header search panel ---------- */
.search-panel{
  border-top:1px solid var(--line);background:#fff;
  padding:18px 0 20px;
  box-shadow:0 12px 28px rgba(0,20,47,.06);
}
.search-panel[hidden]{display:none}
.search-panel .pn-field{max-width:640px}
.search-panel .pn-hint{max-width:640px}
.search-suggest{
  max-width:640px;margin-top:6px;border:1px solid var(--line);
  border-radius:var(--r-input);background:#fff;overflow:hidden;
}
.search-suggest[hidden]{display:none}
.search-suggest ul{list-style:none;margin:0;padding:0}
.search-suggest li + li{border-top:1px solid var(--line-soft)}
.search-suggest a{display:flex;align-items:center;gap:12px;padding:10px 14px;transition:background .14s ease}
.search-suggest a:hover{background:var(--hover)}
.search-suggest .sg-th{
  width:40px;height:40px;flex:0 0 auto;
  border-radius:var(--r-sm);display:grid;place-items:center;padding:3px;background:#fff;
}
.search-suggest .sg-th img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.search-suggest .sg-tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.search-suggest .sg-tx b{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;color:var(--accent);font-weight:600}
.search-suggest .sg-tx span{
  font-size:14px;color:var(--ink);line-height:1.4;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

/* ---------- empty image placeholder ---------- */
.ph-empty{
  display:grid;place-items:center;width:100%;height:100%;min-height:56px;
  color:var(--line);
}
.collage .cell .ph-empty{color:#E2E6EB}
.gal .main .ph-empty{min-height:280px}

/* ---------- search page list ---------- */
.sr-list{border-top:1px solid var(--line);margin-top:8px}
.sr-list .sr-item:last-child{border-bottom:0}
.search-suggest .sg-ph{display:grid;place-items:center;width:100%;height:100%;color:var(--line)}
.search-suggest .sg-tx{gap:2px}

/* ---------- static pages ---------- */
/*
 * Shared shell for contact, about, quality, shipping, FAQ, terms, privacy and
 * unsubscribe. Every page opens with the same hero so a buyer who lands on one
 * from Google recognises the site, then splits into content plus a side rail.
 */
.pg-hero{padding:52px 0 44px;border-bottom:1px solid var(--line)}
.pg-hero .lead{margin-top:18px}
.pg-hero--slim{padding:44px 0 34px}
.pg-hero--slim h1{font-size:clamp(28px,2.6vw,38px)}
.pg-meta{margin-top:14px;font-size:13.5px;color:var(--ink-4)}

.pg-split{display:grid;grid-template-columns:1.06fr .94fr;gap:64px;align-items:start}
.pg-split--doc{grid-template-columns:minmax(0,1fr) 316px;gap:64px}
.pg-main{min-width:0}
.pg-sub{font-size:15.5px;line-height:1.7;color:var(--ink-3);margin:0 0 30px}
.pg-intro{padding:38px 0 0}
.pg-intro.entry-in{max-width:760px}
.pg-intro > *:first-child{margin-top:0}
.pg-footnote{margin-top:20px;font-size:13.5px;line-height:1.6;color:var(--ink-3)}

/* side rail */
.side-card{
  border-radius:var(--r-card);background:#fff;
  padding:22px 22px 24px;margin-bottom:14px;
}
.side-card:last-child{margin-bottom:0}
.side-card--accent{background:var(--panel)}
.side-card .sc-k{
  display:block;font-size:11.5px;font-weight:650;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-4);margin-bottom:10px;
}
.side-card b{display:block;font-size:15.5px;font-weight:600;line-height:1.5;color:var(--ink)}
.side-card a[href^="mailto"]:not(.btn),.side-card a[href^="tel"]:not(.btn),.side-card a[href^="https"]:not(.btn){
  display:inline-block;font-size:16px;font-weight:560;color:var(--ink);
  border-bottom:1px solid var(--line);transition:border-color .16s ease;
}
.side-card a[href^="mailto"]:not(.btn):hover,.side-card a[href^="tel"]:not(.btn):hover,.side-card a[href^="https"]:not(.btn):hover{border-color:var(--ink)}
.side-card p{margin-top:10px;font-size:14px;line-height:1.7;color:var(--ink-3)}
.side-card .btn{margin-top:16px}
.side-card .sc-k + .btn{margin-top:0}
.sc-links{list-style:none;margin:8px 0 0;padding:0;font-size:14px;line-height:1.75;color:var(--ink-2)}
.sc-links li{padding:5px 0 5px 16px;position:relative}
.sc-links li::before{content:"";position:absolute;left:0;top:15px;width:7px;height:1px;background:var(--ink-4)}
.sc-links a{color:var(--ink-2);border-bottom:1px solid transparent}
.sc-links a:hover{color:var(--ink);border-color:var(--line)}

/* numbered steps under the enquiry form */
.steps{
  list-style:none;counter-reset:step;margin:38px 0 0;padding:28px 0 0;
  border-top:1px solid var(--line);display:grid;gap:22px;
}
.steps li{counter-increment:step;position:relative;padding-left:46px}
.steps li::before{
  content:counter(step,decimal-leading-zero);position:absolute;left:0;top:2px;
  font-size:12px;font-weight:650;color:var(--accent);letter-spacing:.06em;
  font-variant-numeric:tabular-nums;
}
.steps b{display:block;font-size:15.5px;font-weight:600;color:var(--ink);margin-bottom:5px}
.steps span{display:block;font-size:14.5px;line-height:1.7;color:var(--ink-3)}

/* FAQ page groups */
.faq-group{margin-bottom:46px}
.faq-group--first{margin-top:0}
.faq-group__title{
  font-size:12px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-4);margin:0 0 10px;
}

/* closing call to action */
.pg-cta{display:flex;align-items:center;justify-content:space-between;gap:48px;flex-wrap:wrap}
.pg-cta__acts{display:flex;gap:12px;flex-wrap:wrap;flex:0 0 auto}

/* ---------- legal documents (terms, privacy) ---------- */
.doc{display:grid;grid-template-columns:252px minmax(0,1fr);gap:56px;align-items:start}
.doc-toc{position:sticky;top:calc(var(--nav-h) + 34px)}
.doc-toc__k{
  display:block;font-size:11.5px;font-weight:650;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-4);margin-bottom:14px;
  padding-bottom:12px;border-bottom:1px solid var(--line);
}
.doc-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:13.5px;line-height:1.5}
.doc-toc a{color:var(--ink-3);transition:color .14s ease}
.doc-toc a:hover{color:var(--ink)}
.doc-toc__print{
  display:inline-block;margin-top:22px;padding-top:16px;font-size:12.5px;
  color:var(--ink-4);border-top:1px solid var(--line-soft);width:100%;
}
.doc-toc__print:hover{color:var(--ink)}
.doc-body.entry-in{max-width:800px}
.doc-body h2{font-size:22px;margin:46px 0 12px;scroll-margin-top:calc(var(--nav-h) + 28px)}
.doc-body h2:first-child{margin-top:0}
.doc-body p{font-size:15.5px;line-height:1.85}
.doc-body table{font-size:14.5px}
.doc-body table td:first-child{width:38%}

/* ---------- unsubscribe ---------- */
.unsub-card{
  max-width:600px;margin:0 auto;
  border-radius:var(--r-card);padding:46px 46px 42px;background:#fff;
}
.unsub-card h1{font-size:clamp(25px,2.5vw,33px)}
.unsub-card .lead{font-size:15.5px;line-height:1.7;margin-top:14px}
.unsub-mark{
  display:grid;place-items:center;width:52px;height:52px;border-radius:50%;
  background:#F0F9F3;color:#1F6B39;margin-bottom:24px;
}
.unsub-form{margin-top:30px;display:grid;gap:20px}
.unsub-reasons{border:0;margin:0;padding:0;min-width:0}
.unsub-reasons legend{padding:0;font-size:13.5px;font-weight:560;color:var(--ink-2);margin-bottom:8px}
.unsub-radio{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:14.5px;color:var(--ink-2);cursor:pointer;line-height:1.4}
.unsub-radio input{flex:0 0 auto;accent-color:var(--accent);margin:0}
.unsub-note{margin-top:26px;padding:18px 20px;background:var(--panel);border-radius:var(--r-card)}
.unsub-note b{font-size:14px;font-weight:600;color:var(--ink)}
.unsub-note p{font-size:14px;line-height:1.7;color:var(--ink-3);margin-top:6px}
.unsub-acts{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap}
.unsub-card .form-msg{margin-top:20px}
.unsub-card .form-note{font-size:13px;line-height:1.65;color:var(--ink-3)}
.unsub-card .form-note a{color:var(--ink);border-bottom:1px solid var(--line)}

/* 960, not 980 — the search results already collapse here, and 20px is not a
   device width anyone designs for. */
@media screen and (max-width:960px){
  .pg-split,.pg-split--doc{grid-template-columns:1fr;gap:44px}
  .doc{grid-template-columns:1fr;gap:30px}
  .doc-toc{position:static;order:-1;padding-bottom:22px;border-bottom:1px solid var(--line)}
  .doc-toc ol{grid-template-columns:1fr 1fr;gap:8px 24px}
  .doc-toc__print{display:none}
}
@media screen and (max-width:620px){
  .pg-hero{padding:36px 0 32px}
  .pg-cta{flex-direction:column;align-items:flex-start;gap:26px}
  .pg-cta__acts{width:100%}
  .pg-cta__acts .btn{flex:1;min-width:140px}
  .unsub-card{padding:32px 22px 30px}
  .doc-toc ol{grid-template-columns:1fr}
  .steps li{padding-left:38px}
}

@media print{
  .pg-side,.doc-toc,.steps,.pg-cta__acts,.rfq-form,.unsub-form{display:none!important}
  .pg-split,.pg-split--doc,.doc{grid-template-columns:1fr!important;gap:0}
  .pg-hero{border-bottom:0;padding:0 0 12pt}
  .side-card,.unsub-card{border:0;padding:0}
}

/* chips that carry an icon: the base rule is inline, which misaligns the svg */
.chip{display:inline-flex;align-items:center;gap:7px}
.chip svg{flex:0 0 auto;opacity:.75}

/* ---------- cookie notice ---------- */
/*
 * Bottom-left card, not a full-width bar. A bar across the bottom of a parts
 * catalogue reads as a paywall and pushes the whole layout up; a card in the
 * corner says the same thing without taking the page hostage. It sits below the
 * drawer and the search overlay in the stack, so opening either hides it.
 */
.consent{
  position:fixed;left:20px;bottom:20px;z-index:180;
  width:min(404px,calc(100vw - 40px));
  background:#fff;border-radius:var(--r-card);
  box-shadow:0 18px 40px -22px rgba(0,33,83,.30);
  padding:20px 22px 22px;
}
.consent[hidden]{display:none}
.consent__text{margin:0;font-size:13.5px;line-height:1.65;color:var(--ink-3)}
.consent__text strong{display:block;font-size:14.5px;font-weight:600;color:var(--ink);margin-bottom:5px;line-height:1.45}
.consent__text a{color:var(--ink);border-bottom:1px solid var(--line);white-space:nowrap}
.consent__text a:hover{border-color:var(--ink)}
.consent__acts{display:flex;gap:8px;margin-top:16px}
.consent__acts .btn{flex:1 1 0;justify-content:center;min-width:0;white-space:nowrap;padding-left:16px;padding-right:16px}

/* One button should not stretch across the card like a banner. */
.consent__acts .btn:only-child{flex:0 0 auto;padding-left:24px;padding-right:24px}

/* Two prompts fighting for the same corner would be worse than either alone. */
body.has-consent .rfq-bar{transform:translateY(100%)!important}

@media screen and (max-width:620px){
  .consent{left:12px;right:12px;bottom:12px;width:auto;padding:18px 18px 20px}
  .consent__acts{flex-direction:column-reverse;gap:7px}
  .consent__acts .btn{width:100%}
}

@media print{
  .consent{display:none!important}
}

/* ---------- the grade cards inside a document column ---------- */
/*
 * Three cards across is right on a 1200px homepage and wrong inside a 800px
 * reading column, where each cell ends up 250px wide and every line breaks
 * four or five times. Stacked, each grade becomes a row you can scan: label on
 * top, one sentence under it, the bullet points last.
 */
.doc-body .tiers{grid-template-columns:1fr;border-top:1px solid var(--line);border-left:0}
.doc-body .tier{
  display:grid;grid-template-columns:186px minmax(0,1fr);column-gap:32px;align-items:start;
  border-right:0;padding:22px 26px;
}
.doc-body .tier h3{margin:6px 0 0;font-size:18px}
.doc-body .tier__body p{margin:0}
.doc-body .tier__body ul{margin:10px 0 0;padding:0;border-top:0;line-height:1.85}

@media screen and (max-width:620px){
  .doc-body .tier{grid-template-columns:1fr;row-gap:8px}
  .doc-body .tier__body ul{margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft)}
}

/* Four columns of shipping table in the same 800px: 15px is one too many. */
.doc-body table{font-size:14px}
.doc-body table th,.doc-body table td{padding:10px 12px}

/* ---------- comments ---------- */
.comments{padding:8px 0 72px;border-top:1px solid var(--line);margin-top:8px}
.comments .c-h{font-size:20px;margin:32px 0 18px}
.c-list{list-style:none;margin:0;padding:0}
.c-list .comment{border-top:1px solid var(--line-soft);padding:22px 0}
.c-list .comment:first-child{border-top:0}
.c-list .comment-body{font-size:15.5px;line-height:1.8;color:var(--ink-2)}
.c-list .comment-author{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:8px}
.c-list .comment-author img{border-radius:50%;width:32px;height:32px}
.c-list .comment-meta{font-size:13px;color:var(--ink-3);margin-bottom:10px}
.c-list .comment-meta a{color:var(--ink-3)}
.c-list .reply{font-size:13.5px;margin-top:10px}
.c-list .reply a{color:var(--ink);border-bottom:1px solid var(--line)}
.c-list .children{list-style:none;margin:18px 0 0 22px;padding:0;border-left:1px solid var(--line-soft);padding-left:22px}
.c-list .children .comment:first-child{border-top:1px solid var(--line-soft)}
.c-form p{margin:0 0 16px}
.c-form label{display:block;font-size:14px;color:var(--ink-3);margin-bottom:8px}
.c-form input[type=text],.c-form input[type=email],.c-form input[type=url],.c-form textarea{
  width:100%;padding:13px 16px;border:1px solid var(--line);border-radius:var(--r-input);
  background:#fff;font-size:15.5px;color:var(--ink-2);transition:border-color .16s ease;
}
.c-form textarea{min-height:132px;resize:vertical;line-height:1.75}
.c-form input:focus,.c-form textarea:focus{border-color:var(--ink);outline:2px solid transparent}
.c-form .form-submit{margin:0}
.c-form .submit{
  display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 28px;
  border:0;border-radius:var(--r-pill);background:var(--accent);color:#fff;
  font-size:15.5px;font-weight:600;cursor:pointer;transition:background .16s ease;
}
.c-form .submit:hover{background:var(--accent-hover)}
.c-form .comment-form-cookies-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink-3)}
.c-form .comment-form-cookies-consent input{margin-top:4px}
.c-form .comment-form-cookies-consent label{margin:0;font-size:14px;color:var(--ink-3)}
.comment-navigation .nav-links{display:flex;justify-content:space-between;gap:16px;font-size:14.5px;padding:18px 0}

/* ---------- control boundaries ---------- */
/*
 * One rule for every outlined control, so the boundary is decided once instead
 * of in nineteen declarations. Everything else on the page uses --rule; this
 * is the only 3:1 line. The :hover and :focus rules for these selectors are
 * more specific and still win.
 */
.btn-ghost,
.burger,
.pn-field,
.chip,
.pill,
.nf-chips a,
.pager a,
.pager span.pg,
.active-filters .af,
.check-row input,
.filters .f select,
.field input,
.field textarea,
.field select,
.c-form input[type=text],
.c-form input[type=email],
.c-form input[type=url],
.c-form textarea{border-color:var(--line-control)}

/* ---------- reduced motion ---------- */
/*
 * The site moves a lot: a drawer slides in, the quotation bar rises, anchors
 * smooth-scroll the whole viewport, spinners spin. For a visitor with a
 * vestibular disorder that is not decoration, it is nausea — and the
 * preference is a single media query away. Everything still works here, it
 * just arrives instead of travelling.
 */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
  .btn:active{transform:none}
  .nav-drawer{transition:none}
  .nav-drawer.open{transition:none}
}

/* ---------- photography slots: keep the square square ---------- */
/*
 * Every photo slot is an aspect-ratio box with a grid-centred <img> sized
 * width/height:100%. A height derived from aspect-ratio is not a *definite*
 * height for percentage resolution, so browsers fall back to the photo's
 * intrinsic ratio: a 3:4 phone shot makes a "square" box 33% taller, and a
 * 9:16 shot nearly doubles it. The gallery swaps the src on hover, so every
 * pointer move reruns that calculation and the picture looks like it keeps
 * growing. Portrait phone shots and an older Safari's inconsistent handling
 * of aspect-ratio on grid boxes are what make it obvious there first; the
 * underlying sizing rule is fragile in every engine.
 *
 * Absolutely positioning the <img> gives it the box's padding box as a
 * definite containing block and takes it out of the container's intrinsic
 * sizing. The box padding moves onto the <img>, so object-fit:contain still
 * draws into exactly the same inner area, centred. Verified in WebKit and
 * Chrome at 1280px and 390px with 1200x900, 900x1200 and 600x1200 photos:
 * every slot stays 1:1 and the photo stays contained.
 *
 * This block is deliberately last. The slot rules above use the same
 * specificity, so source order is what makes the override win.
 */
.gal .main,.gal .thumbs button,.prod .ph,.collage .cell,.sr-item .th,.search-suggest .sg-th{position:relative;overflow:hidden}
.gal .main img,.gal .thumbs img,.prod .ph img,.collage .cell img,.sr-item .th img,.search-suggest .sg-th img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
}
.gal .main img{padding:40px}
.gal .thumbs img{padding:8px}
.prod .ph img{padding:20px}
.collage .cell img{padding:10px}
.collage.two .cell img{padding:24px}
.sr-item .th img{padding:10px}
.search-suggest .sg-th img{padding:3px}
/* The empty-state span is not an <img>, but its min-height can still outgrow
   a narrow box, so give it the same definite containing block. */
.gal .main > .ph-empty,.prod .ph > .ph-empty,.collage .cell > .ph-empty,.sr-item .th > .ph-empty{
  position:absolute;inset:0;min-height:0;
}

/* ---------- narrow phones ----------
 * The header lockup is a 32px mark plus a 17px wordmark, 215px together, and
 * the search/burger pair needs 94px more. That is 321px against the 312px a
 * 360px screen has between its gutters, so the burger was being pushed into
 * the right gutter. Both sides give a little rather than the name going: mark
 * down to 28px, wordmark to 15px.
 */
@media (max-width:400px){
  .brand{gap:8px}
  .brand .lg-mini{height:28px}
  .brand .lg-txt{font-size:15px}
}
/* Under 340px even that does not clear — 273px needed, 272px available — and
   the mark on its own still reads as the brand, so the word goes. */
@media (max-width:340px){
  .brand .lg-txt{display:none}
}
/* Under ~350px the 11px wordmark no longer clears the tile either — "Dongfeng
   Parts" needs 105px of the 102px it has — and an ellipsised brand name is
   worse than a two-line one, so let it break there. */
@media (max-width:350px){
  .brand-grid .blogo__txt{white-space:normal;overflow:visible;text-overflow:clip}
}
