/* ==========================================================================
   Jiuzhouge Product Center — main.css
   设计语言：编辑式工业（米白纸感 / 墨色 / 橙红强调 / 等宽标注）
   ========================================================================== */

:root {
  --bg: #f4f2ed;
  --surface: #ffffff;
  --surface2: #eae7df;
  --ink: #1b2733;
  --ink2: #41525f;
  --muted: #6d7d88;
  --line: #dbd6cb;
  --line2: #c3bdb0;
  --accent: #e4571d;
  --accent-dark: #bf440f;
  --accent-soft: #fbe9df;
  --steel: #3f6d86;
  --steel-soft: #e6eef2;
  --green: #1f7a4d;
  --green-soft: #e4f0e8;
  --plum: #6b4a72;
  --plum-soft: #efe6f1;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(27, 39, 51, .05), 0 18px 40px -32px rgba(27, 39, 51, .5);
  --wrap: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.14; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 900; }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 19px; }

p { margin: 0 0 1em; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--line2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { border-color: transparent; padding-left: 6px; padding-right: 6px; color: var(--ink2); }
.btn-ghost:hover { color: var(--accent); }
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-block { width: 100%; margin-top: 10px; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #e9e6df; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; gap: 18px; padding: 8px 24px; }
.topbar p { margin: 0; letter-spacing: .06em; }
.topbar a { color: #cfd6db; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 242, 237, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 40px;
  background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-indent: .08em;
  border-radius: 1px;
}
.brand-text strong { display: block; font-size: 17px; letter-spacing: -.01em; }
.brand-text small { display: block; font-size: 9.5px; letter-spacing: .18em; color: var(--muted); margin-top: 2px; }
.custom-logo { max-height: 46px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-block; padding: 8px 0;
  font-size: 14.5px; font-weight: 600;
  border-bottom: 2px solid transparent;
}
.nav-list > li > a:hover { border-color: var(--accent); }
.nav-list .sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 220px;
  padding: 8px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .16s ease;
}
.nav-list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu a { display: block; padding: 7px 12px; font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line2); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: 13px; cursor: pointer; align-items: center; gap: 8px; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { display: block; width: 16px; height: 1.5px; background: var(--ink); content: ""; position: relative; }
.nav-toggle-icon::before { position: absolute; top: -5px; }
.nav-toggle-icon::after { position: absolute; top: 5px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 20px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 14px; }
.hero h1 { max-width: 15em; }
.hero .lede { margin-top: 20px; font-size: 17px; color: var(--ink2); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hero-points li::before { content: "—"; margin-right: 8px; color: var(--accent); }

.hero-visual { position: relative; }
.hero-figure { margin: 0; background: var(--surface2); border: 1px solid var(--ink); position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.hero-figure figcaption { display: flex; justify-content: space-between; padding: 9px 14px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line2); background: var(--surface); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-top: none; }
.hero-stats div { padding: 16px 18px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: none; }
.hero-stats b { display: block; font-size: 24px; line-height: 1.2; }
.hero-stats span { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 28px; margin-bottom: 36px; }
.section-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-head h2 { max-width: 24em; }
.section-head h2 { max-width: 20em; }
.section-head.compact { margin-bottom: 24px; display: block; }
.section-head.compact h2 { margin-bottom: 6px; }
.section-link { font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--line2); padding-bottom: 3px; }
.section-link:hover { border-color: var(--accent); }
.section-note { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; min-height: 300px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-index { font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.cat-thumb { display: block; margin: 18px 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface2); }
.cat-thumb-empty { display: block; margin: 18px 0; aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--surface2), var(--surface2) 8px, #e3dfd5 8px, #e3dfd5 9px); position: relative; }
.cat-thumb-empty::after { content: "VALVES · GRILLES"; position: absolute; inset: auto 12px 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover .cat-thumb img { transform: scale(1.04); }
.cat-name { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.cat-en { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.cat-thumb:empty { display: none; }
.cat-count { margin-top: auto; padding-top: 16px; font-size: 12px; color: var(--ink2); }
.cat-card::after { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px; background: var(--accent); transition: width .25s ease; }
.cat-card:hover::after { width: 100%; }
.cat-steel:hover::after { background: var(--steel); }
.cat-green:hover::after { background: var(--green); }
.cat-plum:hover::after { background: var(--plum); }

/* ---------- product cards ---------- */
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.pcard:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.pcard-media { position: relative; display: block; background: var(--surface2); overflow: hidden; }
.pcard-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.pcard:hover .pcard-media img { transform: scale(1.035); }
.pcard-code { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); padding: 4px 8px; font-size: 10.5px; letter-spacing: .06em; }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.pcard-title { font-size: 19px; margin: 0 0 8px; }
.pcard-title a:hover { color: var(--accent); }
.pcard-range { font-size: 13.5px; color: var(--ink2); margin: 0 0 16px; }
.pcard-link { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ---------- value ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value-grid article { border-top: 2px solid var(--ink); padding-top: 20px; }
.value-grid h3 { font-size: 22px; margin-bottom: 10px; }
.value-grid p { color: var(--ink2); font-size: 15px; }

/* ---------- selector teaser ---------- */
.selector-teaser { background: var(--ink); color: #efede7; }
.selector-teaser .kicker { color: #f08a55; }
.selector-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.selector-teaser h2 { color: #fff; }
.selector-teaser .lede { color: #b9c4cc; margin: 16px 0 26px; }
.selector-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); padding: 8px 22px; }
.selector-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; letter-spacing: .08em; }
.selector-row span { color: #8fa0ac; }
.selector-row b { color: #fff; font-weight: 600; }
.selector-note { font-size: 12.5px; color: #8fa0ac; margin: 18px 0 16px; }

/* ---------- process ---------- */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-list li { padding: 0 26px 0 0; border-right: 1px solid var(--line); margin-right: 26px; }
.process-list li:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.process-list .mono { font-size: 11px; color: var(--accent); letter-spacing: .16em; }
.process-list h3 { font-size: 18px; margin: 12px 0 8px; }
.process-list p { font-size: 14px; color: var(--ink2); margin: 0; }

/* ---------- faq ---------- */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq-head p { color: var(--ink2); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 16px; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--mono); color: var(--muted); }
.faq-item[open] summary::after { content: "–"; color: var(--accent); }
.faq-a { padding: 0 36px 20px 0; color: var(--ink2); font-size: 15px; }
.faq-a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent-soft); border-top: 1px solid #f0d3c2; padding: 56px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 2.6vw, 34px); max-width: 18em; }
.cta-lead { margin: 10px 0 0; color: var(--ink2); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { font-weight: 900; font-size: 20px; letter-spacing: -.01em; margin: 0 0 10px; }
.footer-desc { color: var(--ink2); font-size: 14px; max-width: 26em; }
.footer-addr { font-size: 13px; color: var(--muted); }
.footer-contact { font-size: 13px; margin-top: 16px; }
.footer-col h2 { font-size: 13px; letter-spacing: .04em; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 9px; font-size: 14px; color: var(--ink2); }
.footer-list a:hover { color: var(--accent); }
.footer-note { font-size: 11px; color: var(--muted); margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 20px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); border-radius: 50%; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 50; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- page hero ---------- */
.page-hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); background: var(--surface2); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lede { max-width: 52em; color: var(--ink2); font-size: 16.5px; }
.page-hero-meta { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-top: 14px; }
.page-hero-simple { background: var(--bg); padding-bottom: 32px; }
.page-hero-simple h1 { margin: 12px 0 0; }
.page-hero-dark { background: var(--ink); color: #f1efe9; border-bottom: none; }
.page-hero-dark .lede { color: #b9c4cc; }
.page-hero-dark .breadcrumb a, .page-hero-dark .breadcrumb li { color: #9aaab6; }
.page-hero-cat.cat-orange { background: var(--accent-soft); }
.page-hero-cat.cat-steel { background: var(--steel-soft); }
.page-hero-cat.cat-green { background: var(--green-soft); }
.page-hero-cat.cat-plum { background: var(--plum-soft); }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: 11.5px; letter-spacing: .04em; color: var(--muted); margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb .sep { margin: 0 6px; color: var(--line2); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- catalog tools ---------- */
.catalog-tools { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.catalog-search { display: flex; gap: 8px; flex: 1; min-width: 280px; max-width: 560px; }
.catalog-search input { flex: 1; padding: 12px 14px; border: 1px solid var(--line2); background: var(--surface); font: inherit; font-size: 14px; border-radius: var(--radius); }
.catalog-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; background: transparent; }
.chip .mono { font-size: 11px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active .mono { color: #b9c4cc; }
.chip-solid { background: var(--surface2); border-color: var(--line); }

/* ---------- pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 48px 0 0; font-size: 13.5px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

/* ---------- single product ---------- */
.product-hero { padding: 12px 0 0; }
.product-hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: start; padding-bottom: 48px; }
.product-subtitle { font-size: 15px; color: var(--muted); margin: -6px 0 16px; letter-spacing: .01em; }
.product-lede { color: var(--ink2); font-size: 16.5px; margin-bottom: 20px; }
.product-lede p { margin: 0; }
.chip-list { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0 0 26px; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.product-figure { margin: 0; border: 1px solid var(--ink); background: var(--surface2); }
.product-figure img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.product-figure figcaption { display: flex; gap: 12px; align-items: baseline; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .1em; color: var(--ink2); }
.product-figure figcaption span { color: var(--muted); font-size: 10px; }

.key-facts { background: var(--surface2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.key-facts-in { display: flex; gap: 32px; align-items: center; padding: 22px 24px; flex-wrap: wrap; }
.key-facts-label { font-size: 10.5px; letter-spacing: .2em; color: var(--muted); margin: 0; white-space: nowrap; }
.key-facts dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; flex: 1; min-width: 300px; }
.key-facts dt { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.key-facts dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 56px 24px 80px; align-items: start; }
.product-section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.product-section:last-child { border-bottom: none; margin-bottom: 0; }
.prose { font-size: 16px; color: var(--ink2); }
.prose h2 { font-size: 26px; color: var(--ink); margin: 36px 0 12px; }
.prose h3 { font-size: 19px; color: var(--ink); margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 13.5px; }
.spec-list dd { margin: 0; font-weight: 600; font-size: 14px; text-align: right; }

.feature-list { border-top: 1px solid var(--line); }
.feature-item { border-bottom: 1px solid var(--line); }
.feature-item summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 700; font-size: 16.5px; position: relative; list-style: none; }
.feature-item summary::-webkit-details-marker { display: none; }
.feature-item summary::after { content: "−"; position: absolute; right: 4px; color: var(--muted); font-family: var(--mono); }
.feature-item:not([open]) summary::after { content: "+"; }
.feature-body { padding: 0 0 18px; color: var(--ink2); font-size: 15px; }
.feature-body p { margin: 0; }

/* ---------- parameter tables ---------- */
.ptable { border: 1px solid var(--line); background: var(--surface); }
.ptable-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ptable-title { font-size: 15px; margin: 0; }
.ptable-tools { display: flex; align-items: center; gap: 12px; }
.ptable-search input { width: 200px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 13px; background: var(--bg); }
.ptable-count { font-size: 11.5px; color: var(--muted); }
.ptable-scroll { max-height: 520px; overflow: auto; }
.ptable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ptable thead th { position: sticky; top: 0; z-index: 2; background: var(--ink); color: #f0eee8; font-weight: 600; font-size: 11.5px; letter-spacing: .03em; text-align: right; padding: 10px 12px; white-space: nowrap; }
.ptable thead th:first-child, .ptable tbody td:first-child { text-align: left; }
.ptable td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2); white-space: nowrap; }
.ptable tbody tr:nth-child(even) { background: #faf9f6; }
.ptable tbody tr:hover { background: var(--accent-soft); }
.ptable tbody td:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.ptable-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); }
.ptable-csv { font-size: 11.5px; color: var(--ink2); border-bottom: 1px solid var(--line2); }
.ptable-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.ptable-tabs button { padding: 8px 14px; border: 1px solid var(--line); background: transparent; font: inherit; font-size: 13px; cursor: pointer; border-radius: var(--radius); color: var(--ink2); }
.ptable-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- inquiry ---------- */
.inquiry-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; background: var(--surface); border: 1px solid var(--line); padding: 40px; }
.inquiry-copy h2 { margin-bottom: 12px; }
.inquiry-copy p { color: var(--ink2); font-size: 15px; }
.inquiry-points { list-style: none; padding: 0; margin: 20px 0 0; font-size: 13.5px; color: var(--muted); }
.inquiry-points li { padding: 7px 0; border-top: 1px solid var(--line); }
.inquiry-form .hp { position: absolute; left: -9999px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 12px; color: var(--ink2); margin-bottom: 6px; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line2); border-radius: var(--radius);
  background: var(--bg); font: inherit; font-size: 14px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; background: #fff; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 4px 0 16px; }
.check input { margin-top: 3px; }
.form-note { margin-top: 12px; font-size: 13.5px; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #b3261e; }

/* ---------- aside ---------- */
.product-aside { position: sticky; top: 100px; display: grid; gap: 26px; }
.aside-card { border: 1px solid var(--ink); background: var(--surface); padding: 24px; }
.aside-range { font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.aside-specs { margin: 0 0 20px; }
.aside-specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.aside-specs dt { color: var(--muted); }
.aside-specs dd { margin: 0; text-align: right; font-weight: 600; }
.aside-md { display: block; margin-top: 14px; font-size: 11.5px; color: var(--muted); text-align: center; }
.aside-related ul { list-style: none; padding: 0; margin: 0; }
.aside-related li { border-top: 1px solid var(--line); }
.aside-related li:last-child { border-bottom: 1px solid var(--line); }
.aside-related a { display: block; padding: 14px 0; font-size: 14.5px; font-weight: 600; }
.aside-related a span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 4px; }

/* ---------- selector page ---------- */
.selector-page { padding-top: 48px; }
.selector-form { border: 1px solid var(--line); background: var(--surface); padding: 24px; margin-bottom: 28px; }
.selector-fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.selector-actions { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.selector-actions .btn { padding: 11px 22px; }
.field-inline { margin: 0 0 0 auto; min-width: 190px; }
.selector-count { font-size: 12px; color: var(--muted); }
.selector-results { border: 1px solid var(--line); background: var(--surface); overflow: auto; max-height: 620px; }
.selector-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.selector-table th { position: sticky; top: 0; background: var(--ink); color: #eee; padding: 11px 12px; text-align: right; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.selector-table th:first-child, .selector-table th:nth-child(2), .selector-table td:first-child, .selector-table td:nth-child(2) { text-align: left; }
.selector-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2); white-space: nowrap; }
.selector-table tbody tr:hover { background: var(--accent-soft); }
.selector-table td:nth-child(2) { font-family: var(--mono); color: var(--ink); }
.selector-empty { text-align: center !important; padding: 40px !important; color: var(--muted); }
.selector-hint { font-size: 11.5px; color: var(--muted); margin-top: 14px; letter-spacing: .02em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-block { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-block:first-child { border-top: none; padding-top: 0; }
.contact-line { font-size: 16px; margin: 0 0 6px; }
.contact-line a { border-bottom: 1px solid var(--line2); }
.contact-list { padding-left: 18px; margin: 6px 0 0; color: var(--ink2); font-size: 14.5px; }
.contact-list li { margin-bottom: 6px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); padding: 36px; }
.contact-form-wrap h2 { font-size: 24px; margin-bottom: 18px; }

/* ---------- misc ---------- */
.empty-state { padding: 40px; border: 1px dashed var(--line2); text-align: center; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.post-card h2 { font-size: 19px; margin: 6px 0 10px; }
.post-card p { color: var(--ink2); font-size: 14px; margin: 0; }
.post-date { font-size: 11px; color: var(--muted); margin: 0; }
.article-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.article-head h1 { margin: 12px 0; }
.article-page .prose { padding: 40px 24px 72px; }
.notfound { padding: 100px 0; }
.notfound .lede { color: var(--ink2); }
.notfound-links { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin-top: 18px; }
.search-form input { flex: 1; padding: 11px 14px; border: 1px solid var(--line2); background: #fff; font: inherit; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pcard-grid { grid-template-columns: repeat(2, 1fr); }
  .selector-fields { grid-template-columns: repeat(3, 1fr); }
  .value-grid { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-aside { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .key-facts dl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-in, .selector-in, .faq-in, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 44px; }
  .product-hero-in { grid-template-columns: 1fr; gap: 32px; }
  .product-figure { order: -1; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-list li { border-right: none; margin: 0; padding: 0; }
  .inquiry-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .nav { display: none; }
  .nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
  .nav.is-open .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav.is-open .nav-list > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-list > li > a { display: block; padding: 12px 0; }
  .nav.is-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 8px 12px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .topbar-in { flex-direction: column; gap: 4px; font-size: 11px; }
  .topbar-contact { gap: 12px; }
  .section { padding: 52px 0; }
  .cat-grid, .pcard-grid, .post-grid, .value-grid, .footer-grid, .product-aside { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-left: none; border-top: 1px solid var(--line); }
  .hero-stats div:first-child { border-top: none; }
  .spec-list { grid-template-columns: 1fr; }
  .selector-fields { grid-template-columns: 1fr 1fr; }
  .field-inline { margin-left: 0; width: 100%; }
  .inquiry-card, .contact-form-wrap { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .ptable-search input { width: 130px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .product-aside, .inquiry-section, .to-top, .breadcrumb, .product-actions, .ptable-tools, .ptable-foot { display: none !important; }
  body { background: #fff; }
  .ptable-scroll { max-height: none; overflow: visible; }
  .ptable thead th { background: #eee; color: #000; }
  a { text-decoration: none; color: #000; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* ---------- applications band ---------- */
.apps-band { background: var(--ink); color: #efede7; }
.apps-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.apps-band .kicker { color: #f08a55; }
.apps-band h2 { color: #fff; }
.apps-band .lede { color: #b9c4cc; margin: 16px 0 26px; }
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.app-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: #efede7; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.app-card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.34); transform: translateY(-2px); }
.app-card strong { font-size: 16px; color: #fff; }
.app-card span { font-size: 12.5px; line-height: 1.6; color: #9fb0bc; }
.app-card .mono { color: #f08a55; font-size: 10.5px; letter-spacing: .12em; margin-top: 4px; }

/* ---------- generic content blocks for pages ---------- */
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin: 36px 0; }
.stat-row div strong { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; }
.stat-row div span { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 4px; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--surface2); font-size: 12px; letter-spacing: .08em; }
.spec-table td:first-child { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.note-box { border-left: 2px solid var(--accent); background: var(--accent-soft); padding: 16px 20px; font-size: 13.5px; color: var(--ink2); margin: 22px 0; }
.page-cta { border-top: 1px solid var(--line); margin-top: 8px; }

@media (max-width: 900px) {
  .apps-in, .split-in { grid-template-columns: 1fr; gap: 32px; }
  .apps-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
