/* =========================================================
   博世德 BEST M+E — 官网样式（工业稳重蓝）
   ========================================================= */
:root {
  --navy-900: #0a2540;
  --navy-800: #0d3158;
  --blue-700: #0f4c81;
  --blue-600: #1662a8;
  --blue-400: #5fb3ff;
  --blue-50: #eef4fa;
  --steel-50: #f4f7fa;
  --steel-100: #e9eef3;
  --steel-200: #d6dfe8;
  --steel-500: #5f7184;
  --ink: #142233;
  --accent: #eb6123;
  --accent-600: #c94e14;
  --wa: #25d366;
  --wa-600: #1da851;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 6px 20px rgba(10, 37, 64, .07);
  --shadow-lg: 0 10px 40px rgba(10, 37, 64, .16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.7; font-size: 16px; }
.lang-ru, .lang-en { --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; font-family: var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; color: var(--navy-900); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--steel-500); }
.center { text-align: center; margin-top: 32px; }
.mt { margin-top: 40px; }
.h3 { font-size: 1.15rem; }
.note { font-size: .85rem; color: var(--steel-500); }
.small { font-size: .875rem; }
.show-sm { display: none; }
@media (max-width: 767px) { .hide-sm { display: none !important; } .show-sm { display: inline; } }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 6px;
  font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s; line-height: 1.3; font-family: inherit; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-600); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--outline { border-color: var(--blue-700); color: var(--blue-700); }
.btn--outline:hover { background: var(--blue-700); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-600); color: #fff; }
.link-arrow { font-weight: 600; color: var(--blue-600); font-size: .95rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #c9d6e3; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #c9d6e3; }
.topbar__item:hover { color: #fff; }
.topbar__item .ico { width: 15px; height: 15px; }
.topbar__wa .ico { color: var(--wa); }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { color: #c9d6e3; padding: 3px 9px; border-radius: 4px; font-weight: 600; font-size: .8rem; }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-switch a.is-active { background: var(--blue-600); color: #fff; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--steel-100); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 18px rgba(10, 37, 64, .08); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; min-width: 0; flex-shrink: 1; }
.logo img { height: 48px; width: auto; max-width: 100%; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); font-weight: 500; padding: 8px 12px; border-radius: 6px; font-size: .97rem; white-space: nowrap; position: relative; }
.nav a:not(.btn):hover { color: var(--blue-600); background: var(--blue-50); }
.nav a.is-active { color: var(--blue-700); }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); }
.nav__cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) {
  .lang-ru .nav a:not(.btn) { padding: 8px 8px; font-size: .92rem; }
}
@media (max-width: 960px) {
  .header__in { height: 64px; }
  .logo img { height: 40px; }
  .lang-zh .logo img { height: 36px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 102px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 24px; gap: 0; transform: translateX(100%); transition: transform .25s; overflow-y: auto; border-top: 1px solid var(--steel-100); }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--steel-100); border-radius: 0; font-size: 1.05rem; }
  .nav a.is-active::after { display: none; }
  .nav__cta { margin: 20px 0 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #174a7c 0%, transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%); color: #fff; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--blue-400); font-weight: 600; margin-bottom: 16px; }
.lang-zh .kicker { letter-spacing: .2em; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.18; margin-bottom: 20px; letter-spacing: -.01em; }
.lang-ru .hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.hero__sub { color: #c9d6e3; font-size: 1.05rem; max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__art { position: relative; }
/* 首页动画（templates/_hero_svg.html + main.js heroFlow） */
.flow-svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow-svg .pipe-o { fill: none; stroke: #cfe2f5; stroke-opacity: .75; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.flow-svg .pipe-i { fill: none; stroke: #0a2540; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.flow-svg .mat { fill: none; stroke: #ff7a59; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 15; animation: fsFlow 1.1s linear infinite; }
.flow-svg .mat--br, .flow-svg .mat--drain { opacity: 0; transition: opacity .6s; }
.flow-svg .mat--br.is-on, .flow-svg .mat--drain.is-on { opacity: 1; }
.flow-svg .mat--drain, .flow-svg .drop { stroke-width: 4; stroke-dasharray: 1 9; animation-name: fsFlow2; animation-duration: .8s; }
.flow-svg .drop { fill: none; stroke: #ff7a59; stroke-linecap: round; animation: fsFlow2 .8s linear infinite; }
.flow-svg .box { fill: #0d3158; stroke: #cfe2f5; stroke-width: 2; }
.flow-svg .silo { fill: url(#fsSilo); stroke: #cfe2f5; stroke-width: 2; }
.flow-svg .rib { fill: none; stroke: #cfe2f5; stroke-opacity: .28; stroke-width: 1.5; }
.flow-svg .door { stroke: #ff7a59; stroke-width: 3; }
.flow-svg .ctr { fill: #12406e; stroke: #cfe2f5; stroke-width: 2; }
.flow-svg .rail { stroke: #cfe2f5; stroke-opacity: .7; stroke-width: 2; }
.flow-svg .corner { fill: #cfe2f5; fill-opacity: .7; }
.flow-svg .chassis { stroke: #5f7184; stroke-width: 5; stroke-linecap: round; }
.flow-svg .ram-rod { stroke: #cfe2f5; stroke-width: 2; stroke-linecap: round; }
.flow-svg .frame, .flow-svg .leg { fill: none; stroke: #cfe2f5; stroke-opacity: .45; stroke-width: 2; }
.flow-svg .ram { stroke: #5fb3ff; stroke-width: 4; stroke-linecap: round; }
.flow-svg .ln { fill: none; stroke: #cfe2f5; stroke-width: 2; }
.flow-svg .ln-soft { stroke: #cfe2f5; stroke-opacity: .4; }
.flow-svg .stub { stroke: #cfe2f5; stroke-width: 2; }
.flow-svg .acc { fill: none; stroke: #5fb3ff; stroke-width: 2; stroke-linecap: round; }
.flow-svg .rotor { animation: spin 2.4s linear infinite; }
.flow-svg .fan { animation: spin .9s linear infinite; }
.flow-svg .div-flap { stroke-width: 3; transform: rotate(30deg); transition: transform .8s cubic-bezier(.5, 0, .2, 1); }
.flow-svg .lvl { fill: url(#fsFill); }
.flow-svg .lvl-top { stroke: #ffb08f; stroke-width: 2; }
.flow-svg .silo-name { fill: #cfe2f5; font-size: 12px; letter-spacing: .06em; }
.flow-svg .silo-pct { fill: #fff; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.flow-svg .silo-state { fill: #ffd2bd; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.flow-svg .silo-state.is-out { fill: #bfe0ff; }
.flow-svg .silo.is-active { stroke: #ffb08f; stroke-width: 2.6; }
.flow-svg .mat--main, .flow-svg .drop { transition: opacity .6s; }
.flow-svg.is-out .mat--main, .flow-svg.is-out .drop { opacity: 0; }
.flow-svg .hud rect { fill: #0a2540; fill-opacity: .72; stroke: #5fb3ff; stroke-opacity: .35; }
.flow-svg .hud-dot { fill: #3ddc84; animation: fsPulse 1.6s ease-in-out infinite; }
.flow-svg .hud-run { fill: #3ddc84; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.flow-svg .hud-k { fill: #9fb6cc; font-size: 12px; }
.flow-svg .hud-v { fill: #fff; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.flow-svg .hud-v--acc { fill: #ff9a6e; }
.flow-svg .lbl text { fill: #cfe2f5; fill-opacity: .85; font-size: 12px; letter-spacing: .04em; }
.flow-svg .hs { cursor: pointer; outline: none; }
.flow-svg .hs-b { transition: stroke .2s, filter .2s; }
.flow-svg .hs:hover .hs-b, .flow-svg .hs:focus-visible .hs-b { stroke: #fff; filter: drop-shadow(0 0 6px rgba(95, 179, 255, .85)); }
@keyframes fsFlow { to { stroke-dashoffset: -32; } }
@keyframes fsFlow2 { to { stroke-dashoffset: -30; } }
@keyframes fsPulse { 50% { opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .flow-svg .lbl, .flow-svg .hud, .flow-svg .silo-name { display: none; } }
@media (prefers-reduced-motion: reduce) { .flow-svg * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.stats { background: rgba(255, 255, 255, .04); border-top: 1px solid rgba(255, 255, 255, .08); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 16px; border-left: 1px solid rgba(255, 255, 255, .08); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 1.6rem; color: #fff; line-height: 1.2; }
.stat span { font-size: .85rem; color: #a9bccf; }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 32px; gap: 24px; }
  .hero__art { max-width: 520px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--first { padding-top: 48px; }
.section--tight { padding: 56px 0; }
.section--tint { background: var(--steel-50); }
.section--navy { background: var(--navy-900); color: #c9d6e3; }
.section__head { max-width: 760px; margin-bottom: 40px; }
.section__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); position: relative; padding-bottom: 14px; }
.section__head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--accent); }
.section__head p { color: var(--steel-500); font-size: 1.05rem; margin: 0; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: #a9bccf; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 20px; flex-wrap: wrap; }
@media (max-width: 767px) { .section { padding: 56px 0; } .section__head { margin-bottom: 28px; } }

/* ---------- Product lines ---------- */
.lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.lines--3 { grid-template-columns: repeat(3, 1fr); }
.lines--4 { grid-template-columns: repeat(4, 1fr); }
.lines + .lines__group { margin-top: 36px; }
.lines__group { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-500); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.lines__group::after { content: ""; flex: 1; height: 1px; background: var(--steel-200); }
@media (max-width: 900px) { .lines--3, .lines--4 { grid-template-columns: repeat(2, 1fr); } }
.line-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; color: inherit; transition: .2s; }
.line-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.line-card__img, .pcard__img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f7f9fb, #eaf0f5); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.line-card__img img, .pcard__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.line-card:hover img, .pcard:hover img { transform: scale(1.04); }
.is-missing { visibility: hidden; }
.line-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.line-card__body h3 { font-size: 1.1rem; }
.line-card__body p { color: var(--steel-500); font-size: .93rem; flex: 1; }

/* ---------- Advantages ---------- */
.adv, .values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values { grid-template-columns: repeat(5, 1fr); }
.adv__item, .values__item { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 3px solid var(--blue-700); }
.adv__num { display: block; font-weight: 700; color: var(--accent); font-size: .9rem; letter-spacing: .1em; margin-bottom: 10px; }
.adv__item h3 { font-size: 1.35rem; }
.lang-zh .adv__item h3 { font-size: 1.8rem; }
.adv__item p, .values__item p { color: var(--steel-500); font-size: .95rem; margin: 0; }
.values__item { background: var(--steel-50); box-shadow: none; }
.values__item h3 { font-size: 1.1rem; }
@media (max-width: 1000px) { .adv, .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adv, .values { grid-template-columns: 1fr; } }
.motto { font-size: 1.15rem !important; color: var(--blue-700) !important; font-weight: 600; margin-top: 8px !important; }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; color: inherit; transition: .2s; }
.pcard:hover { border-color: var(--blue-600); box-shadow: var(--shadow-lg); color: inherit; }
.pcard__body { padding: 16px 18px 20px; border-top: 1px solid var(--steel-100); flex: 1; }
.pcard__img { position: relative; }
.pcard__model { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: .75rem; font-weight: 700; letter-spacing: .06em; line-height: 1.5; color: #fff; background: var(--navy-900); padding: 3px 9px; border-radius: 4px; box-shadow: 0 2px 6px rgba(10, 37, 64, .18); }
@media (max-width: 600px) { .pcard__model { left: 8px; top: 8px; font-size: .68rem; padding: 2px 7px; } }
.pcard h3 { font-size: 1rem; margin-bottom: 6px; }
.pcard p { color: var(--steel-500); font-size: .88rem; margin: 0; }

/* ---------- Tech ---------- */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech__item { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px 24px; background: rgba(255, 255, 255, .03); }
.tech__item h3 { color: #fff; font-size: 1.1rem; }
.tech__item p { font-size: .93rem; margin: 0; color: #a9bccf; }
.tech__icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(95, 179, 255, .12); color: var(--blue-400); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tech__icon .ico { width: 28px; height: 28px; }
.tech--light .tech__item { border-color: var(--steel-200); background: #fff; box-shadow: var(--shadow); }
.tech--light .tech__item h3 { color: var(--navy-900); }
.tech--light .tech__item p { color: var(--steel-500); }
.tech--light .tech__icon { background: var(--blue-50); color: var(--blue-700); }
@media (max-width: 1000px) { .tech { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tech { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.industries span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.industries li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--steel-200); border-radius: var(--radius); font-weight: 600; color: var(--navy-900); background: #fff; }
.industries .ico { color: var(--blue-600); width: 22px; height: 22px; }

/* ---------- Clients ---------- */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.clients > .clients__item { flex: 0 0 calc((100% - 72px) / 7); }
.clients__item { background: #fff; border: 1px solid var(--steel-200); border-radius: 8px; aspect-ratio: 188 / 100; display: flex; align-items: center; justify-content: center; padding: 8px; }
.clients__item img { max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.clients__item:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .clients > .clients__item { flex-basis: calc((100% - 36px) / 4); } }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--blue-700), var(--navy-800)); color: #fff; padding: 56px 0; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta p { color: #c9d6e3; margin: 0; max-width: 640px; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page head ---------- */
.pagehead { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #c9d6e3; padding: 40px 0 44px; }
.pagehead h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 8px; }
.pagehead p { margin: 0; max-width: 760px; color: #a9bccf; }
.crumbs { font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; color: #8ea5bc; }
.crumbs a { color: #c9d6e3; }
.crumbs a:hover { color: #fff; }

/* ---------- Products page ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; position: sticky; top: 72px; background: #fff; padding: 12px 0; z-index: 5; }
.chip { border: 1px solid var(--steel-200); background: #fff; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
@media (max-width: 960px) { .filter { top: 64px; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 10px 16px; scrollbar-width: none; } .chip { white-space: nowrap; } }
.catblock { margin-bottom: 56px; scroll-margin-top: 140px; }
.catblock[hidden] { display: none; }
.catblock__head { border-left: 4px solid var(--accent); padding-left: 16px; margin-bottom: 24px; }
.catblock__head h2 { font-size: 1.5rem; margin-bottom: 2px; }
.catblock__head p { color: var(--steel-500); margin: 0; }
.subhead { font-size: 1.05rem; color: var(--blue-700); margin: 28px 0 14px; display: flex; align-items: center; gap: 12px; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--steel-200); }

/* ---------- Product detail ---------- */
.pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdetail__main { width: 100%; padding: 0; cursor: zoom-in; font: inherit; background: linear-gradient(135deg, #f7f9fb, #eaf0f5); border-radius: var(--radius); border: 1px solid var(--steel-200); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdetail__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdetail__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pdetail__gallery--one { grid-template-columns: 1fr; }
.pdetail__extra { width: 100%; font: inherit; cursor: zoom-in; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 8px; background: #fff; overflow: hidden; transition: border-color .2s; }
.pdetail__gallery--one .pdetail__extra { aspect-ratio: auto; }
.pdetail__extra:hover { border-color: var(--blue-600); }
.pdetail__extra img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 901px) { .pdetail__info { position: sticky; top: 96px; } }
.pdetail__cat { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--blue-700); background: var(--blue-50); padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }
.pdetail__summary { font-size: 1.15rem; color: var(--navy-900); font-weight: 500; }
.specs { margin: 0 0 8px; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 42% 1fr; border-top: 1px solid var(--steel-100); }
.specs div:first-child { border-top: 0; }
.specs dt { background: var(--steel-50); padding: 10px 14px; color: var(--steel-500); font-size: .9rem; }
.specs dd { margin: 0; padding: 10px 14px; font-weight: 600; font-size: .95rem; }
.pdetail__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pdetail__body { margin-top: 48px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.box { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 24px 26px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%230f4c81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose { max-width: 860px; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .lead { font-size: 1.1rem; color: var(--navy-900); }
.tcap { font-size: .95rem; color: var(--blue-700); margin: 24px 0 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--steel-200); border-radius: var(--radius); margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.dtable { border-collapse: collapse; width: 100%; font-size: .88rem; font-variant-numeric: tabular-nums; }
.dtable th, .dtable td { padding: 9px 12px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--steel-100); }
.dtable thead th { background: var(--navy-900); color: #fff; font-weight: 600; position: sticky; top: 0; }
.dtable tbody th { background: var(--steel-50); color: var(--navy-900); text-align: left; font-weight: 600; position: sticky; left: 0; }
.dtable tbody tr:hover td { background: var(--blue-50); }
@media (max-width: 900px) {
  .pdetail { grid-template-columns: 1fr; gap: 28px; }
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.about__stats div { background: var(--navy-900); color: #a9bccf; border-radius: 8px; padding: 16px; font-size: .85rem; }
.about__stats b { display: block; color: #fff; font-size: 1.4rem; }
.honors { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.honors li { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 8px; padding: 14px 16px; border: 1px solid var(--steel-200); font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.honors .ico { color: var(--accent); width: 24px; height: 24px; }
.certs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.certs__item { margin: 0; font: inherit; border: 0; cursor: zoom-in; width: 100%; background: #fff; border-radius: 6px; padding: 8px; box-shadow: var(--shadow); aspect-ratio: 467 / 672; display: flex; align-items: center; justify-content: center; }
.certs__item.is-missing { display: none; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 28px; } .certs { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Solutions ---------- */
.sol-list { display: grid; gap: 24px; }
.sol { display: grid; grid-template-columns: 340px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sol:nth-child(even) { grid-template-columns: 1fr 340px; }
.sol:nth-child(even) .sol__img { order: 2; }
.sol__img { background: linear-gradient(135deg, #f7f9fb, #eaf0f5); display: flex; align-items: center; justify-content: center; min-height: 220px; }
.sol__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; max-height: 260px; }
.sol__body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.sol__body h2 { font-size: 1.4rem; }
.sol__body p { color: var(--steel-500); }
@media (max-width: 800px) { .sol, .sol:nth-child(even) { grid-template-columns: 1fr; } .sol:nth-child(even) .sol__img { order: 0; } .sol__body { padding: 24px; } }

/* ---------- Service ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.flow__step { position: relative; padding: 24px 18px; border-radius: var(--radius); background: var(--steel-50); border: 1px solid var(--steel-200); }
.flow__n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.flow__step h3 { font-size: 1rem; }
.flow__step p { font-size: .88rem; color: var(--steel-500); margin: 0; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr 1fr; } }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc p { color: var(--steel-500); margin: 0; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.cinfo { list-style: none; padding: 0; margin: 0 0 24px; }
.cinfo li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--steel-100); }
.cinfo li > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); }
.cinfo--wa > .ico { background: #e7f9ee !important; color: var(--wa-600) !important; }
.cinfo span { display: block; font-size: .85rem; color: var(--steel-500); }
.cinfo a, .cinfo p { font-weight: 600; font-size: 1.05rem; color: var(--navy-900); margin: 0; word-break: break-word; }
.cinfo a.small { font-size: .85rem; color: var(--blue-600); font-weight: 600; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--steel-500); font-weight: 500; }
.form__full { grid-column: 1 / -1; }
.form input, .form select { height: 46px; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); border: 1px solid var(--steel-200); border-radius: 6px; padding: 10px 12px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue-400); outline-offset: 0; border-color: var(--blue-600); }
.form__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.form__err { color: var(--accent-600); font-weight: 600; margin: 12px 0 0; }
.form .note { margin: 12px 0 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .form__btns .btn { width: 100%; } }

/* ---------- Social ---------- */
.social { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--blue-600); color: #fff; }
.social--dark a { background: var(--navy-900); }

/* ---------- Footer ---------- */
.footer { background: #071b30; color: #a9bccf; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.4fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #a9bccf; }
.footer a:hover { color: #fff; }
.footer__logo { margin-bottom: 14px; }
.footer__logo img { height: 44px; width: auto; max-width: 100%; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__contact ul { list-style: none; padding: 0; margin: 0; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer__contact .ico { margin-top: 4px; color: var(--blue-400); }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer__bar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Floating ---------- */
.float-actions { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; z-index: 40; }
.float-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .9rem; }
.float-btn--wa { background: var(--wa); color: #fff; padding: 12px 18px 12px 14px; }
.float-btn--wa:hover { background: var(--wa-600); color: #fff; }
.float-btn--wa .ico { width: 24px; height: 24px; }
.float-btn--top { width: 44px; height: 44px; justify-content: center; background: #fff; color: var(--navy-900); opacity: 0; pointer-events: none; transition: .2s; }
.float-btn--top.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 600px) { .float-btn--wa span { display: none; } .float-btn--wa { padding: 13px; } }

/* ---------- Print ---------- */
@media print {
  .topbar, .header, .float-actions, .cta, .footer, .filter, .pdetail__btns { display: none !important; }
  .pagehead { background: none; color: #000; padding: 0; }
  .pagehead h1 { color: #000; }
  .dtable thead th { background: #eee; color: #000; }
}

/* ---------- Mobile refinements ---------- */
.lang-switch a { white-space: nowrap; }
@media (max-width: 600px) {
  .topbar__contact { gap: 14px; flex-wrap: nowrap; }
  .topbar__wa span { display: none; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard__body { padding: 12px 12px 14px; }
  .pcard h3 { font-size: .92rem; }
  .pcard p { font-size: .8rem; }
  .lines { grid-template-columns: 1fr; gap: 12px; }
  .line-card { flex-direction: row; }
  .line-card__img { width: 116px; flex: none; aspect-ratio: auto; }
  .line-card__body { padding: 14px 16px; }
  .line-card__body h3 { font-size: 1rem; margin-bottom: 4px; }
  .line-card__body p { font-size: .85rem; margin-bottom: 6px; }
  .clients > .clients__item { flex-basis: calc((100% - 12px) / 2); }
  .certs { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Testing & FAQ ---------- */
.test { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.test__text p { color: var(--steel-500); font-size: 1.02rem; }
.test__imgs { display: grid; grid-template-columns: .55fr 1fr; gap: 12px; align-items: stretch; }
.test__imgs img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; align-items: start; }
.faq__group h3 { font-size: 1.1rem; color: var(--blue-700); margin-bottom: 10px; }
.faq__item { background: #fff; border: 1px solid var(--steel-200); border-radius: 8px; margin-bottom: 8px; }
.faq__item summary { cursor: pointer; padding: 12px 40px 12px 16px; font-weight: 600; color: var(--navy-900); list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.2rem; color: var(--blue-600); }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 16px 14px; color: var(--steel-500); font-size: .93rem; }
@media (max-width: 900px) { .test, .faq { grid-template-columns: 1fr; } }
.clients__item.is-missing { display: none; }
section:has(.clients):not(:has(.clients__item:not(.is-missing))) { display: none; }
.certs__item.is-missing { display: none; }

@media (max-width: 400px) { .lang-zh .logo img { height: 31px; } .logo img { height: 36px; } }

/* ---------- Structured product blocks ---------- */
.pdetail__intro { font-size: 1.08rem; color: var(--navy-900); max-width: 900px; margin-bottom: 28px; padding-left: 16px; border-left: 4px solid var(--accent); }
.one-col { margin-bottom: 32px; }
.blk { margin: 40px 0 8px; }
.blk__lead { color: var(--steel-500); margin: -4px 0 16px; }
.cards { display: grid; gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 20px 20px 18px; border-top: 3px solid var(--blue-700); }
.card__num { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 6px; }
.card h3 { font-size: 1rem; margin-bottom: 6px; }
.card p { color: var(--steel-500); font-size: .9rem; margin: 0; }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7, 27, 48, .92); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; background: #fff; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ---------- Photos (real project photos fill the frame) ---------- */
img[src*="/photos/"] { object-fit: cover !important; mix-blend-mode: normal !important; }
.sol__img img[src*="/photos/"] { max-height: none; height: 100%; min-height: 220px; }
.pdetail__main img[src*="/photos/"], .pdetail__extra img[src*="/photos/"] { border-radius: calc(var(--radius) - 2px); }
.pdetail__extra:has(img[src*="/photos/"]) { padding: 0; }

/* ---------- Placeholder illustration (no photo yet) ---------- */
.ph { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f4f7fa, #e4ecf4); background-image:
  linear-gradient(rgba(15, 76, 129, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 76, 129, .06) 1px, transparent 1px),
  linear-gradient(135deg, #f4f7fa, #e4ecf4); background-size: 16px 16px, 16px 16px, auto; }
.ph svg { width: 78%; max-width: 360px; height: auto; }
.ph__s { fill: none; stroke: #0f4c81; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ph__f { fill: #fff; }
.ph__a { stroke: var(--accent); }
.ph__d { stroke-dasharray: 2 6; stroke: #5f7184; }
.ph__note { position: absolute; right: 12px; bottom: 10px; font-size: .78rem; color: var(--steel-500); background: rgba(255, 255, 255, .8); padding: 2px 8px; border-radius: 4px; }
.pdetail__main--ph { cursor: default; }
.line-card:hover .ph svg, .pcard:hover .ph svg { transform: scale(1.04); transition: transform .35s; }
.ph svg { transition: transform .35s; }

/* ---------- Product groups ---------- */
.filter__group { align-self: center; font-size: .78rem; font-weight: 700; color: var(--steel-500); letter-spacing: .04em; text-transform: uppercase; margin: 0 2px 0 10px; white-space: nowrap; }
.groupblock { margin-bottom: 24px; }
.groupblock[hidden] { display: none; }
.grouphead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 28px; border-bottom: 2px solid var(--navy-900); }
.grouphead h2 { font-size: 1.7rem; margin: 0; }
.grouphead p { color: var(--steel-500); margin: 0; }
.catblock__title { font-size: 1.4rem; margin-bottom: 2px; }
.subhead { font-size: 1.02rem; }
@media (max-width: 960px) { .filter__group { margin-left: 6px; } }

/* ---------- Project references & photo gallery ---------- */
.refs { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.refs li { display: flex; gap: 14px; align-items: center; background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: 8px; padding: 16px 18px; font-weight: 600; color: var(--navy-900); }
.refs .adv__num { margin: 0; flex: none; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item { margin: 0; }
.gallery__item button { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--steel-100); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery__item button:hover img { transform: scale(1.05); }
.gallery__item figcaption { font-size: .85rem; color: var(--steel-500); margin-top: 6px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* 深色背景的产品渲染图：铺满画面 */
img[src$="pipe-chain-conveyor.jpg"] { object-fit: cover !important; mix-blend-mode: normal !important; }
.blk + .prose, .blk + .tcap { margin-top: 24px; }
.pdetail__gallery--n3 { grid-template-columns: repeat(3, 1fr); }
.refs li.has-img { flex-wrap: wrap; padding-top: 0; overflow: hidden; }
.refs__img { display: block; width: calc(100% + 36px); margin: 0 -18px 4px; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--steel-100); }
.refs__img img { width: 100%; height: 100%; object-fit: cover; }
.refs__img--ph { cursor: default; display: flex; }
.refs li.has-img { align-content: flex-start; }
@media (max-width: 800px) { .sol__img { aspect-ratio: 4 / 3; min-height: 0; } .sol__img img, .sol__img img[src*="/photos/"] { height: 100%; max-height: none; min-height: 0; } }

/* ---------- 产品多图浏览：主图 + 缩略图 ---------- */
.pviewer__stage { position: relative; }
.pviewer .pdetail__main img { transition: opacity .18s ease; }
.pviewer .pdetail__main img.is-swapping { opacity: .35; }
.pviewer__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--steel-200); background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(10, 37, 64, .12); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s, border-color .2s; }
.pviewer__nav svg { width: 20px; height: 20px; fill: none; stroke: var(--navy-900); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pviewer__nav:hover { background: #fff; border-color: var(--blue-600); }
.pviewer__nav--prev { left: 10px; }
.pviewer__nav--next { right: 10px; }
.pviewer__stage:hover .pviewer__nav, .pviewer__nav:focus-visible { opacity: 1; }
@media (hover: none) { .pviewer__nav { opacity: .8; width: 34px; height: 34px; } .pviewer__nav--prev { left: 6px; } .pviewer__nav--next { right: 6px; } }
.pviewer__count { position: absolute; right: 12px; bottom: 10px; font-size: .78rem; line-height: 1.6; color: var(--steel-500); background: rgba(255, 255, 255, .88); padding: 1px 9px; border-radius: 10px; pointer-events: none; }
.pviewer__count b { color: var(--navy-900); font-weight: 600; }
.pviewer__thumbs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pviewer__thumb { position: relative; aspect-ratio: 4 / 3; padding: 4px; border: 1px solid var(--steel-200); border-radius: 6px; background: #fff; cursor: pointer; overflow: hidden; opacity: .72; transition: opacity .2s, border-color .2s, box-shadow .2s; }
.pviewer__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pviewer__thumb:hover { opacity: 1; border-color: var(--blue-600); }
.pviewer__thumb.is-active { opacity: 1; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pviewer__thumb:has(img[src*="/photos/"]) { padding: 0; }
@media (max-width: 600px) {
  .pviewer__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .pviewer__thumbs::-webkit-scrollbar { display: none; }
  .pviewer__thumb { flex: 0 0 76px; }
}
/* 放大查看时左右翻页 */
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox__nav svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__count { position: absolute; top: 24px; left: 24px; color: rgba(255, 255, 255, .85); font-size: .9rem; letter-spacing: .04em; }
.lightbox:has(.lightbox__count:not([hidden])) { padding: 64px 72px 32px; }
@media (max-width: 600px) { .lightbox:has(.lightbox__count:not([hidden])) { padding: 64px 12px 32px; } }
.lightbox__count[hidden] { display: none; }
@media (max-width: 600px) { .lightbox__nav { width: 40px; height: 40px; } .lightbox__nav--prev { left: 6px; } .lightbox__nav--next { right: 6px; } }

/* 安装场景效果图（文件名含 -container）：主图不做白底混合，左下角标注；缩略图铺满 */
.pdetail__main.is-scene img { mix-blend-mode: normal; }
.pviewer__tag { position: absolute; left: 12px; bottom: 10px; font-size: .75rem; font-weight: 600; line-height: 1.6; color: #fff; background: rgba(10, 37, 64, .78); padding: 1px 9px; border-radius: 4px; pointer-events: none; }
.pviewer__thumb.is-scene { padding: 0; }
.pviewer__thumb.is-scene img { object-fit: cover; }
.pviewer__note { margin: 8px 0 0; }
/* CDU 选型表：文字表格可换行，当前型号行高亮 */
.dtable--text th, .dtable--text td { white-space: normal; text-align: left; min-width: 110px; }
.dtable--text thead th { position: static; }
.dtable--text tr.is-current th, .dtable--text tr.is-current td { background: #fdeee6; }
/* 网格列不随缩略图条撑宽（手机上多图产品页曾出现横向滚动） */
.pdetail > * { min-width: 0; }
