/* CNSS — CN Spraying Equipment. Site stylesheet. */

:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --ink: #0d1a24;
  --ink-2: #33475a;
  --muted: #64798c;
  --line: #dde5ec;
  --line-strong: #c3d0db;
  --accent: #0b6e9e;
  --accent-ink: #075a82;
  --accent-soft: #e6f2f8;
  --warn: #b45309;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(13, 26, 36, .06), 0 8px 24px -12px rgba(13, 26, 36, .18);
  --maxw: 1180px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

:root:not([data-theme="light"]) {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b141b;
    --surface: #111e28;
    --surface-2: #16252f;
    --ink: #e8eef3;
    --ink-2: #b7c6d2;
    --muted: #8ba0b1;
    --line: #22333f;
    --line-strong: #2e4351;
    --accent: #4aa8d8;
    --accent-ink: #7cc4e8;
    --accent-soft: #12303f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b141b;
  --surface: #111e28;
  --surface-2: #16252f;
  --ink: #e8eef3;
  --ink-2: #b7c6d2;
  --muted: #8ba0b1;
  --line: #22333f;
  --line-strong: #2e4351;
  --accent: #4aa8d8;
  --accent-ink: #7cc4e8;
  --accent-soft: #12303f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 650; }
h1 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-bar {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 750; letter-spacing: -.02em; font-size: 1.14rem; line-height: 1.1; }
.brand-sub { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink-2); padding: 9px 13px; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 550;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: .93rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 7px 13px; font-size: .85rem; }
.btn-block { width: 100%; }

.rfq-pill { position: relative; }
.rfq-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--warn); color: #fff; border-radius: 999px; font-size: .7rem; font-weight: 700;
  display: none; align-items: center; justify-content: center; line-height: 19px;
}
.rfq-count.on { display: flex; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; color: var(--ink);
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .head-actions { margin-left: 0; }
  .head-actions .btn span.hide-sm { display: none; }
}

/* ---------- hero (full-screen banner) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 800px); display: flex; flex-direction: column;
  justify-content: center; background: #0a2033; color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; opacity: 1;
  filter: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 22, 38, .78) 0%, rgba(6, 22, 38, .48) 52%, rgba(6, 22, 38, .28) 100%),
    radial-gradient(120% 90% at 88% 12%, rgba(74, 168, 216, .18), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(85% 75% at 22% 42%, #000, transparent);
}
.hero-inner {
  position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 68px 20px 62px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.hero .eyebrow {
  color: #d8ecf8; background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .34); backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2.3rem, 1.1rem + 4.4vw, 4.6rem); color: #fff;
  letter-spacing: -.035em; margin-bottom: .32em; text-wrap: balance;
}
.hero .lede {
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .82);
  max-width: 60ch; margin-bottom: 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-ondark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .42); color: #fff; backdrop-filter: blur(4px); }
.btn-ondark:hover { background: rgba(255, 255, 255, .2); border-color: #fff; color: #fff; }

.hero-facts {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius); overflow: hidden; max-width: 860px;
}
.hero-facts li { background: rgba(7, 26, 43, .55); padding: 18px 20px; backdrop-filter: blur(6px); }
.hero-facts .n { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.hero-facts .l { display: block; font-size: .8rem; color: rgba(255, 255, 255, .65); margin-top: 2px; }

.hero-rail {
  position: relative; margin-top: auto;
  background: rgba(4, 17, 29, .72); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-rail .wrap { display: flex; align-items: center; gap: 22px; padding-block: 14px; }
.hero-rail-label {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5); font-weight: 700; flex: none;
}
.hero-rail ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: thin;
}
.hero-rail a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: .87rem; font-weight: 550;
  color: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .18);
}
.hero-rail a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); text-decoration: none; }
.hero-rail a .n { font-family: var(--mono); font-size: .76rem; color: rgba(255, 255, 255, .55); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 74px 20px 84px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); margin-top: 38px; }
  .hero-rail .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-rail ul { width: 100%; }
}


/* ---------- sections ---------- */
.section { padding: 66px 0; }
.section.tight { padding: 44px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head p { color: var(--ink-2); margin-bottom: 0; }
.kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}

/* ---------- mega menu ---------- */
.nav-item { position: static; display: flex; align-items: center; }
.mega-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--ink-2); padding: 9px 13px; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 550;
}
.mega-trigger:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.mega-trigger[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.has-mega:hover .mega-trigger { background: var(--surface-2); color: var(--ink); }
.chev { transition: transform .18s; }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(13, 26, 36, .35);
  /* the header above is translucent; this panel must not be */
  background-color: var(--surface);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none;
}
.mega-inner { max-width: 1300px; margin: 0 auto; padding: 26px 24px 20px; }
.mega-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1120px) { .mega-cols { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } }
.mega-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-weight: 700; font-size: .8rem; color: var(--ink); letter-spacing: -.01em;
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
  min-height: 2.6em; align-items: flex-end;
}
.mega-head:hover { color: var(--accent); text-decoration: none; }
.mega-head .n { font-family: var(--mono); font-size: .74rem; color: var(--muted); font-weight: 500; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega-col ul a {
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
  padding: 5px 7px; margin: 0 -7px; border-radius: var(--radius-sm);
  font-size: .82rem; color: var(--ink-2); line-height: 1.32;
}
.mega-col ul a:hover { background: var(--accent-soft); color: var(--accent-ink); text-decoration: none; }
.mega-col ul a .n { font-family: var(--mono); font-size: .73rem; color: var(--muted); }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted);
}

@media (max-width: 940px) {
  .nav-item { display: block; }
  .mega-trigger { display: flex; justify-content: space-between; padding: 12px 14px; }
  .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-bottom: 0; display: none; background: transparent;
  }
  .has-mega.open .mega { display: block; }
  .has-mega:hover .mega:not(.open) { visibility: hidden; }
  .has-mega.open .mega { visibility: visible; }
  .mega-inner { padding: 0 0 10px; }
  .mega-cols { grid-template-columns: 1fr; gap: 0; }
  .mega-col ul, .mega-foot { display: none; }
  .mega-head { border-bottom: 0; padding: 10px 14px 10px 28px; margin: 0; font-weight: 550; font-size: .9rem; }
}

/* ---------- contact cards ---------- */
.contact-card { color: inherit; transition: border-color .15s, transform .15s; }
.contact-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.contact-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 14px;
}
.contact-value { font-weight: 650; color: var(--accent); font-size: 1.02rem; margin-bottom: .5em !important; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); font-size: .93rem; margin-bottom: 0; }

.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.cat-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.cat-card .thumb { background: #eef3f7; border-bottom: 1px solid var(--line); overflow: hidden; }
.cat-card .thumb img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.cat-card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 1.02rem; margin-bottom: .3em; }
.cat-card p { font-size: .87rem; color: var(--muted); margin: 0 0 12px; }
.cat-card .count {
  margin-top: auto; font-size: .78rem; color: var(--accent); font-weight: 650;
  display: flex; align-items: center; gap: 6px;
}

.group-card { display: flex; flex-direction: column; }
.group-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.group-card ul a {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px;
  border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink-2);
}
.group-card ul a:hover { background: var(--accent-soft); color: var(--accent-ink); text-decoration: none; }
.group-card ul a .n { color: var(--muted); font-size: .82rem; font-family: var(--mono); }

/* ---------- product grid ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1040px) { .p-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .p-grid { grid-template-columns: 1fr; } }

.p-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
}
.p-card:hover { border-color: var(--line-strong); }
.p-card .ph { background: #eef3f7; border-bottom: 1px solid var(--line); display: block; overflow: hidden; }
.p-card .ph img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
.p-card:hover .ph img { transform: scale(1.04); }
.p-card .pb { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card .pt { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.35; }
.p-card .pt:hover { color: var(--accent); text-decoration: none; }
.p-card .pc { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.p-card .pact { margin-top: auto; }

.add-btn {
  width: 100%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  border-radius: var(--radius-sm); padding: 7px 10px; font-size: .82rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.add-btn:hover { border-color: var(--accent); color: var(--accent); }
.add-btn.added { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.add-btn-lg { padding: 10px 20px; font-size: .93rem; background: var(--accent); border-color: var(--accent); color: #fff; }
.add-btn-lg:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.add-btn-lg.added { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }


.field-shots figure { margin: 0; }
.field-shots img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
}
.field-shots figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .45; }

/* ---------- page header block ---------- */
.page-head { padding: 26px 0 34px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lede { color: var(--ink-2); max-width: 68ch; font-size: 1.03rem; margin-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.chips li {
  font-size: .82rem; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink-2); padding: 5px 12px; border-radius: 999px;
}

/* ---------- catalogue layout ---------- */
.cat-layout { display: grid; grid-template-columns: 258px 1fr; gap: 34px; align-items: start; padding: 34px 0 70px; }
@media (max-width: 900px) { .cat-layout { grid-template-columns: 1fr; gap: 22px; } }

.side {
  position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; max-height: calc(100vh - 110px); overflow: auto;
}
@media (max-width: 900px) { .side { position: static; max-height: none; } }
.side > summary {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 10px; font-weight: 700; list-style-position: inside;
}
.side > summary .n { letter-spacing: 0; text-transform: none; font-weight: 500; }
@media (min-width: 901px) { .side > summary { display: none; } }
@media (max-width: 900px) { .side[open] > summary { margin-bottom: 14px; } }
.side .grp { margin-bottom: 14px; }
.side .grp > a { display: block; font-weight: 650; font-size: .9rem; color: var(--ink); padding: 5px 8px; border-radius: var(--radius-sm); }
.side .grp > a:hover { background: var(--surface-2); text-decoration: none; }
.side ul { list-style: none; margin: 2px 0 0; padding: 0 0 0 8px; border-left: 1px solid var(--line); }
.side ul a {
  display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px;
  font-size: .855rem; color: var(--ink-2); border-radius: var(--radius-sm);
}
.side ul a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.side ul a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.side ul a .n { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* ---------- search / filter ---------- */
.toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 20px;
}
.search-field { position: relative; flex: 1; min-width: 220px; }
.search-field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
input[type="search"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font-family: inherit; font-size: .93rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.search-field input { padding-left: 38px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
select { max-width: 260px; }
.result-count { font-size: .87rem; color: var(--muted); margin-left: auto; }

.empty {
  padding: 60px 20px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 30px 0 20px; align-items: start; }
@media (max-width: 880px) { .pd { grid-template-columns: 1fr; gap: 28px; } }
.pd-media { position: sticky; top: 88px; }
@media (max-width: 880px) { .pd-media { position: static; } }
.pd-main {
  background: #eef3f7; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden;
}
.pd-main img { width: 100%; max-height: 520px; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pd-thumbs button {
  width: 68px; height: 68px; padding: 0; background: #eef3f7; cursor: pointer; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.pd-thumbs button.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-info h1 { margin-bottom: .5em; }
.pd-desc { color: var(--ink-2); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; }

.drawings { margin: 34px 0 0; }
.drawings h2 { font-size: 1.1rem; }
.drawings figure { margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; overflow-x: auto; }
.drawings figure img { margin: 0 auto; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: .78rem; color: var(--muted); }
textarea { min-height: 128px; resize: vertical; }

.rfq-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.rfq-item {
  display: flex; align-items: center; gap: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px;
}
.rfq-item img { width: 52px; height: 52px; object-fit: cover; background: #eef3f7; border-radius: var(--radius-sm); flex: none; }
.rfq-item .t { font-weight: 600; font-size: .93rem; }
.rfq-item .c { font-size: .79rem; color: var(--muted); }
.rfq-item .qty { width: 74px; margin-left: auto; flex: none; }
.rfq-item .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 4px 6px; }
.rfq-item .rm:hover { color: #c0392b; }

.notice {
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent-ink); padding: 14px 16px; border-radius: var(--radius); font-size: .9rem;
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 300; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-ink), var(--accent));
  color: #fff; border-radius: var(--radius); padding: 42px 40px;
  display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .86); margin: 0; max-width: 54ch; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--accent-ink); }
.cta-band .btn-primary:hover { background: #f0f6fa; color: var(--accent-ink); }

/* ---------- footer ---------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0 26px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-grid a { color: var(--ink-2); font-size: .9rem; }
.foot-grid a:hover { color: var(--accent); }
.foot-contact { font-size: .9rem; color: var(--ink-2); font-style: normal; }
.foot-contact div { margin-bottom: 6px; }
.foot-bottom {
  border-top: 1px solid var(--line); margin-top: 38px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}

/* ---------- misc ---------- */
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.tick li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .93rem; }
.tick li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.prev-next { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 22px 0 0; margin-top: 40px; font-size: .9rem; }

@media print {
  .site-head, .site-foot, .pd-actions, .toolbar, .cta-band { display: none; }
  body { background: #fff; }
}

/* === review-patch enrich (senkosteel-inspired layout density) === */
:root{--fp-ink:#0B1220;--fp-blue:#1E5AA8;--fp-blue-soft:#8FB1DD;--fp-muted:#5B6B7C;--fp-bg:#F5F7FA;--fp-line:#D7DEE7;--fp-max:1160px;--fp-s-4:1rem;--fp-s-5:1.5rem;--fp-s-6:2rem;--fp-s-7:3rem;--fp-s-8:4rem;--fp-s-9:5rem}
.full-bleed,.hero.full-bleed,.hero-full,.banner-full{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;min-height:70vh;background-size:cover;background-position:center}
.hero.full-bleed{display:flex;align-items:flex-end;color:#fff;background:#0B1220}
.hero.full-bleed .hero-media,.hero-full .hero-media{position:absolute;inset:0;z-index:-2}
.hero.full-bleed .hero-media img,.hero-full .hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.hero.full-bleed::after,.hero-full::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(11,18,32,.78),rgba(11,18,32,.45) 55%,rgba(11,18,32,.55));pointer-events:none}
.hero.full-bleed .hero-inner,.hero.full-bleed .wrap{position:relative;z-index:1;padding:var(--fp-s-9) 1.25rem var(--fp-s-8);max-width:760px}
.hero.full-bleed h1{color:#fff;font-size:clamp(1.75rem,4vw,3rem);line-height:1.15;margin:0 0 1rem}
.hero.full-bleed p,.hero.full-bleed .hero-lead{color:#D5DFEB;font-size:1.05rem;line-height:1.6;max-width:44em}
.hero-strip{background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.14)}
.hero-strip .wrap,.fp-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:var(--fp-max);margin:0 auto;padding:0 1.25rem}
.hero-strip div,.fp-strip>div{padding:1.25rem 1.25rem 1.25rem 0;border-right:1px solid rgba(255,255,255,.12)}
.hero-strip div:last-child,.fp-strip>div:last-child{border-right:0}
.fp-section{padding:var(--fp-s-8) 1.25rem;background:#fff}
.fp-section.alt{background:var(--fp-bg)}
.fp-wrap{max-width:var(--fp-max);margin:0 auto}
.fp-section h2{font-size:clamp(1.35rem,2.5vw,1.85rem);margin:0 0 1rem;color:var(--fp-ink)}
.fp-section .lead{color:var(--fp-muted);font-size:1.05rem;line-height:1.65;max-width:48em;margin:0 0 1.75rem}
.fp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}
.fp-card{background:#fff;border:1px solid var(--fp-line);border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(11,18,32,.04)}
.fp-card img{width:100%;height:180px;object-fit:cover;display:block;background:#e8eef5}
.fp-card .body{padding:1rem 1.05rem 1.2rem}
.fp-card h3{margin:0 0 .4rem;font-size:1rem;color:var(--fp-ink)}
.fp-card p{margin:0;color:var(--fp-muted);font-size:.92rem;line-height:1.5}
.fp-split{display:grid;grid-template-columns:1.05fr .95fr;gap:2rem;align-items:center}
.fp-split img{width:100%;border-radius:12px;object-fit:cover;max-height:420px}
.fp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-top:1.5rem}
.fp-facts div{background:#fff;border:1px solid var(--fp-line);border-radius:10px;padding:1rem 1.1rem}
.fp-facts strong{display:block;font-size:1.35rem;color:var(--fp-blue);margin-bottom:.25rem}
.fp-cta{background:var(--fp-ink);color:#fff;padding:var(--fp-s-8) 1.25rem;text-align:center}
.fp-cta h2{color:#fff;margin:0 0 .75rem}
.fp-cta p{color:#D5DFEB;max-width:40em;margin:0 auto 1.25rem;line-height:1.6}
.fp-btn{display:inline-block;background:var(--fp-blue);color:#fff;padding:.85rem 1.35rem;border-radius:8px;text-decoration:none;font-weight:600}
@media (max-width:860px){
  .fp-split{grid-template-columns:1fr}
  .hero-strip .wrap,.fp-strip{grid-template-columns:1fr 1fr}
  .hero.full-bleed{min-height:60vh}
}
@media (max-width:560px){
  .hero-strip .wrap,.fp-strip{grid-template-columns:1fr}
}
