/* ==========================================================================
   BTX — Shenzhen BTX Electronics · 外贸独立站
   Design language: 深蓝科技 + 电光橙，工业级音频制造
   ========================================================================== */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f1e35;
  --navy-700: #16294a;
  --navy-600: #1e3760;
  --navy-400: #4a6291;
  --steel: #6b7f9e;

  --orange: #ff6b1a;
  --orange-2: #ff9142;
  --amber: #ffb020;
  --cyan: #00c2d1;
  --green: #12b886;

  --ink: #0d1b2e;
  --ink-2: #33455f;
  --ink-3: #63748d;
  --ink-4: #93a1b6;

  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #e3e9f2;
  --line-2: #eef2f7;

  --grad-orange: linear-gradient(100deg, #ff6b1a 0%, #ff9142 100%);
  --grad-navy: linear-gradient(135deg, #0a1628 0%, #16294a 60%, #1e3760 100%);
  --grad-tech: linear-gradient(120deg, #00c2d1 0%, #0a1628 55%, #1e3760 100%);

  --shadow-sm: 0 1px 3px rgba(13, 27, 46, .06);
  --shadow: 0 8px 26px -10px rgba(13, 27, 46, .18);
  --shadow-lg: 0 26px 60px -22px rgba(13, 27, 46, .3);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;

  --max: 1200px;
  --nav-h: 68px;

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 80;
  height: var(--nav-h);
  background: rgba(10, 22, 40, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-txt { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1.05; }
.logo-txt span { display: block; font-size: 8.5px; font-weight: 600; letter-spacing: .16em; color: rgba(255, 255, 255, .5); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; color: rgba(255, 255, 255, .72); font-weight: 500; transition: color .18s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--orange-2); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; }

/* --------------------------------------------------------------- button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px; padding: 11px 22px;
  font-size: 14px; font-weight: 700; transition: transform .16s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--grad-orange); box-shadow: 0 10px 24px -10px rgba(255, 107, 26, .75); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(255, 107, 26, .9); transform: translateY(-1px); }
.btn-outline { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .28); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 15.5px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 520px at 78% 18%, rgba(0, 194, 209, .16), transparent 62%),
    radial-gradient(ellipse 760px 480px at 12% 88%, rgba(255, 107, 26, .14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 34%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 34%, #000 30%, transparent 78%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 78px 0 74px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--cyan); background: rgba(0, 194, 209, .1); border: 1px solid rgba(0, 194, 209, .26);
  letter-spacing: .02em;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hero h1 { font-size: clamp(30px, 4.2vw, 52px); margin: 20px 0 0; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--orange-2); }
.hero h1 .ln2 { display: block; }
.hero-lead { margin-top: 20px; font-size: 16.5px; color: rgba(255, 255, 255, .72); max-width: 540px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 42px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats div { min-width: 92px; }
.hero-stats div b { display: block; font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.35; white-space: nowrap; }
.hero-stats div b em { font-style: normal; color: var(--orange-2); font-size: .68em; margin-left: 2px; }
.hero-stats div b span[data-count] { display: inline; font-size: inherit; color: inherit; font-weight: inherit; }
.hero-stats div > span { font-size: 12.5px; color: rgba(255, 255, 255, .5); display: block; margin-top: 1px; }

.hero-visual { position: relative; }
.hero-ring {
  position: absolute; inset: -6%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .09);
  animation: spin 26s linear infinite;
}
.hero-ring::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 16px 3px rgba(255, 107, 26, .75);
}
.hero-ring.r2 { inset: -16%; animation-duration: 38s; animation-direction: reverse; border-color: rgba(0, 194, 209, .1); }
.hero-ring.r2::before { background: var(--cyan); box-shadow: 0 0 16px 3px rgba(0, 194, 209, .7); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-card {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-xl); padding: 26px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-card h4 { font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.hero-card-row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); align-items: center; }
.hero-card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card-row .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.hero-card-row .ic svg { width: 20px; height: 20px; }
.hero-card-row b { display: block; font-size: 14.5px; }
.hero-card-row span { font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* --------------------------------------------------------------- trust */
.trust { background: #fff; border-bottom: 1px solid var(--line-2); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 46px; flex-wrap: wrap; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.trust-item svg { width: 20px; height: 20px; color: var(--orange); flex: none; }

/* ------------------------------------------------------------- section */
.section { padding: 84px 0; position: relative; }
.section.dark { background: var(--grad-navy); color: #fff; }
.section.tint { background: linear-gradient(180deg, #fff, #f7f9fc); }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(25px, 3.2vw, 38px); }
.sec-head .sub { color: var(--ink-3); margin-top: 14px; font-size: 15.5px; }
.section.dark .sec-head .sub { color: rgba(255, 255, 255, .6); }
.hl { color: var(--orange); }

/* --------------------------------------------------------------- cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 26px;
  transition: transform .26s cubic-bezier(.2, .8, .3, 1), box-shadow .26s, border-color .26s;
  position: relative; overflow: hidden;
}
.why-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-orange); transform: scaleY(0); transform-origin: top; transition: transform .3s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d5dfec; }
.why-card:hover::after { transform: scaleY(1); }
.why-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fff2e8, #ffe4d1); margin-bottom: 18px;
}
.why-ic svg { width: 23px; height: 23px; color: var(--orange); }
.why-card h3 { font-size: 16.5px; margin-bottom: 9px; }
.why-card p { font-size: 14px; color: var(--ink-3); line-height: 1.72; }

/* -------------------------------------------------------------- metrics */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-l); padding: 26px 24px; transition: transform .25s, background .25s;
}
.metric:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.metric .v { font-size: 38px; font-weight: 800; letter-spacing: -.035em; color: #fff; line-height: 1.25; white-space: nowrap; }
.metric .v em { font-style: normal; color: var(--orange-2); font-size: .55em; margin-left: 2px; }
.metric .v span[data-count] { display: inline; font-size: inherit; color: inherit; font-weight: inherit; }
.metric .l { font-size: 14px; color: rgba(255, 255, 255, .82); margin-top: 8px; font-weight: 600; }
.metric .n { font-size: 12.5px; color: rgba(255, 255, 255, .42); margin-top: 4px; }

/* --------------------------------------------------------------- cats */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: block; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d5dfec; }
.cat-img { aspect-ratio: 1; background: linear-gradient(160deg, #f7f9fc, #eef2f8); display: grid; place-items: center; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .8, .3, 1); }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-b { padding: 18px 20px 20px; }
.cat-b h3 { font-size: 15.5px; }
.cat-b .cn { font-size: 12.5px; color: var(--ink-4); margin-top: 3px; }
.cat-b p { font-size: 13px; color: var(--ink-3); margin-top: 10px; line-height: 1.65; }
.cat-count { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--orange); }

/* ------------------------------------------------------------ products */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .26s, box-shadow .26s, border-color .26s;
}
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d5dfec; }
.prod-img { aspect-ratio: 1; background: #fff; position: relative; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s cubic-bezier(.2, .8, .3, 1); }
.prod:hover .prod-img img { transform: scale(1.05); }
.prod-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--orange);
  box-shadow: 0 4px 12px -4px rgba(255, 107, 26, .7);
}
.prod-badge.gray { background: var(--navy-600); box-shadow: none; }
.prod-badge.green { background: var(--green); box-shadow: none; }
.prod-b { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.prod-b .brand { font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: .04em; text-transform: uppercase; }
.prod-b h3 { font-size: 15.5px; margin: 6px 0 8px; }
.prod-b .desc { font-size: 13px; color: var(--ink-3); line-height: 1.65; flex: 1; }
.prod-price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.prod-price b { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.prod-price span { font-size: 12px; color: var(--ink-4); }
.prod-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pill { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: #f1f4f9; padding: 3px 9px; border-radius: 999px; }
.prod-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--orange); }

/* --------------------------------------------------------------- table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { background: #f7f9fc; font-weight: 700; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.spec-table td { color: var(--ink-2); }
.spec-table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ capability */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.cap-item { background: #fff; padding: 22px 20px; transition: background .22s; }
.cap-item:hover { background: #fffaf6; }
.cap-item b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.cap-item span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

/* -------------------------------------------------------------- markets */
.market-bar { display: flex; height: 40px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.market-seg { display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #fff; transition: flex .3s; position: relative; }
.market-seg:hover { filter: brightness(1.12); }
.market-legend { display: flex; flex-wrap: wrap; gap: 16px 26px; margin-top: 20px; }
.market-legend div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.market-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.market-legend b { font-weight: 700; }

/* --------------------------------------------------------------- certs */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-m); padding: 20px; text-align: center; transition: background .22s, transform .22s;
}
.cert:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.cert .seal {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff;
}
.cert b { display: block; font-size: 14.5px; }
.cert span { display: block; font-size: 12px; color: rgba(255, 255, 255, .5); margin-top: 5px; line-height: 1.5; }

/* --------------------------------------------------------------- flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow-step { position: relative; }
.flow-step .n {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 14px; font-weight: 800; color: #fff; background: var(--grad-orange);
  box-shadow: 0 10px 22px -10px rgba(255, 107, 26, .8); margin-bottom: 16px;
}
.flow-step h4 { font-size: 15.5px; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.68; }
.flow-step::after {
  content: ""; position: absolute; top: 23px; left: 58px; right: -6px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.flow-step:last-child::after { display: none; }

/* --------------------------------------------------------------- faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 19px 22px; font-size: 15.5px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink);
}
.faq-q .pm { position: relative; width: 15px; height: 15px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; transition: transform .25s; }
.faq-q .pm::before { left: 0; top: 6.5px; width: 15px; height: 2px; }
.faq-q .pm::after { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }

/* ---------------------------------------------------------------- cta */
.cta-box {
  border-radius: var(--r-xl); padding: 54px 44px; color: #fff; position: relative; overflow: hidden;
  background: var(--grad-navy);
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 26, .3), transparent 68%);
  top: -180px; right: -100px;
}
.cta-box::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 209, .22), transparent 68%);
  bottom: -150px; left: -80px;
}
.cta-box h2 { font-size: clamp(23px, 2.9vw, 34px); position: relative; }
.cta-box p { opacity: .72; margin: 14px auto 28px; max-width: 580px; position: relative; font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }

/* -------------------------------------------------------------- footer */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer h5 { font-size: 13.5px; color: #fff; margin: 0 0 15px; font-weight: 700; letter-spacing: .02em; }
.footer li { margin-bottom: 9px; }
.footer a { font-size: 13.5px; color: rgba(255, 255, 255, .55); transition: color .18s; }
.footer a:hover { color: var(--orange-2); }
.footer .brand p { font-size: 13.5px; margin-top: 15px; max-width: 320px; line-height: 1.75; }
.footer-bot { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .35); }

/* ============================================================ workbench */
/* 产品筛选 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .18s; user-select: none;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.on { background: var(--navy-800); border-color: transparent; color: #fff; }
.chip .n { opacity: .6; margin-left: 5px; font-size: 11.5px; }

.search { position: relative; flex: 1; min-width: 210px; max-width: 320px; }
.search input {
  width: 100%; padding: 10px 13px 10px 36px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; outline: none; transition: border-color .18s, box-shadow .18s;
}
.search input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 26, .12); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-4); }

/* 产品详情弹层 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10, 22, 40, .72); backdrop-filter: blur(4px);
  z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: var(--r-xl); max-width: 860px; width: 100%;
  max-height: 88vh; overflow-y: auto; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5);
  transform: translateY(20px) scale(.98); transition: transform .28s cubic-bezier(.2, .8, .3, 1);
}
.modal-mask.show .modal { transform: none; }
.modal-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; }
.modal-img { background: linear-gradient(160deg, #f7f9fc, #eef2f8); display: grid; place-items: center; padding: 30px; }
.modal-img img { max-height: 300px; width: auto; object-fit: contain; }
.modal-info { padding: 30px 32px; }
.modal-info .brand { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .05em; }
.modal-info h3 { font-size: 24px; margin: 8px 0 10px; }
.modal-info .lead { font-size: 14px; color: var(--ink-3); line-height: 1.75; }
.modal-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0; }
.modal-price b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.modal-price span { font-size: 13px; color: var(--ink-3); }
.modal-specs { margin: 18px 0; }
.modal-specs dt { font-size: 12px; color: var(--ink-4); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.modal-specs dd { margin: 3px 0 12px; font-size: 14px; color: var(--ink); font-weight: 600; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .9); cursor: pointer; z-index: 3;
  box-shadow: var(--shadow-sm); font-size: 19px; color: var(--ink-2); line-height: 1;
}
.modal-close:hover { background: #fff; color: var(--orange); }

/* 询盘表单 */
.contact-grid { grid-template-columns: 1.25fr .75fr; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--r-s); border: 1px solid var(--line);
  background: #fbfcfe; font-size: 14px; outline: none; transition: border-color .18s, box-shadow .18s;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 26, .12); background: #fff;
}
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2393748d' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }

.form-note { font-size: 12.5px; color: var(--ink-4); margin-top: 12px; line-height: 1.6; }
.form-ok {
  text-align: center; padding: 46px 20px;
}
.form-ok .tick {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #0b9c73); display: grid; place-items: center;
}
.form-ok .tick svg { width: 30px; height: 30px; color: #fff; }
.form-ok h3 { font-size: 20px; margin-bottom: 10px; }
.form-ok p { color: var(--ink-3); font-size: 14.5px; max-width: 440px; margin: 0 auto 20px; }

/* 联系方式卡 */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-card + .contact-card { margin-top: 16px; }
.contact-card h4 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.contact-card h4 svg { width: 17px; height: 17px; color: var(--orange); }
.contact-row { display: flex; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--line-2); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .k { color: var(--ink-4); width: 84px; flex: none; font-size: 13px; }
.contact-row .v { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-row .v a { color: var(--orange); }

/* ------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: var(--navy-900); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none; z-index: 300;
  transition: all .3s cubic-bezier(.2, .8, .3, 1); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* -------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .hero-visual { max-width: 520px; }
  .grid-4, .cat-grid, .prod-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .metrics { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-top { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 6px 24px 18px;
    display: none; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 15px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta .btn { display: none; }
  .grid-3, .grid-4, .grid-2, .metrics, .cat-grid, .prod-grid, .cert-grid, .flow, .cap-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-box { padding: 38px 22px; }
  .hero-stats { gap: 20px; }
  .hero-stats div b { font-size: 22px; }
  .trust-inner { gap: 18px 26px; }
  .market-bar { height: auto; flex-direction: column; }
  .market-seg { padding: 8px; }
  .modal-info { padding: 22px; }
  .form-panel { padding: 22px; }
}

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.pg-btn {
  min-width: 40px; padding: 8px 14px; border: 1px solid var(--line, #dde4ec);
  background: #fff; color: var(--ink-2);
  border-radius: 9px; font-size: 13.5px; cursor: pointer; transition: all .15s;
}
.pg-btn:hover:not(:disabled) { border-color: #ff6b1a; color: #ffb066; }
.pg-btn.on { background: #ff6b1a; border-color: #ff6b1a; color: #fff; font-weight: 600; }
.pg-btn:disabled { opacity: .35; cursor: default; }

/* ---------- 产品弹窗：图册 / 颜色 / 详情 ---------- */
.gal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gal-thumbs img {
  width: 58px; height: 58px; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: .65; transition: all .15s;
}
.gal-thumbs img.on { border-color: #ff6b1a; opacity: 1; }
.gal-thumbs img:hover { opacity: 1; }
.clr-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 13px; }
.clr-label { color: var(--ink-3, #8fa6bd); }
.clr { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line, #dde4ec); border-radius: 999px; color: var(--ink-2); background: #fff; }
.clr i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(13, 27, 46, .18); }
.modal-details { border-top: 1px solid var(--line, #e3e9f0); margin-top: 26px; padding: 20px 34px 28px; }
.modal-details h4 { font-size: 15px; margin-bottom: 12px; color: var(--ink); }
.modal-details p { color: var(--ink-2); font-size: 14px; line-height: 1.75; margin-bottom: 10px; }

@media (max-width: 760px) { .modal-details { padding: 18px 20px 22px; } }

/* ---------- 颜色分类（可选图片卡，点选即选定下单颜色） ---------- */
.clr-row { display: block; margin-top: 16px; }
.clr-label {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 8px;
}
.clr-thumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.clr-chip {
  width: 82px; padding: 4px; border-radius: 10px; cursor: pointer; text-align: left;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.clr-thumb { display: block; height: 54px; border-radius: 7px; overflow: hidden; background: #f4f7fb; }
.clr-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.clr-thumb.dot { display: grid; place-items: center; }
.clr-thumb.dot i {
  display: block; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(13, 27, 46, .22);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .45), inset 0 -1px 2px rgba(0, 0, 0, .12);
}
.clr-nm {
  display: block; margin-top: 4px; font-size: 11px; line-height: 1.35; text-align: center;
  color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.clr-chip:hover { border-color: #ffb066; }
.clr-chip.on { border-color: #ff6b1a; box-shadow: 0 0 0 2px rgba(255, 107, 26, .16); }
.clr-chip.on .clr-nm { color: #d2540d; font-weight: 700; }

/* ---------- 产品卡片：颜色小图 ---------- */
.prod-clrs { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.psw-set { display: flex; align-items: center; gap: 5px; }
.psw {
  width: 26px; height: 26px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; background: #f4f7fb; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 2px 5px -2px rgba(13, 27, 46, .22);
  transition: transform .15s, box-shadow .15s;
}
.psw i { display: block; width: 100%; height: 100%; }
.psw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.psw:hover { transform: scale(1.14); box-shadow: 0 0 0 2px var(--orange); }
.psw-more { font-size: 11px; font-weight: 700; color: var(--ink-4); margin-left: 2px; }
.psw-n { font-size: 11.5px; color: var(--ink-4); }

/* ---------- 弹窗购买区（颜色 + 数量 + 询价） ---------- */
.buy-box { margin: 16px 0 6px; padding: 13px 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.buy-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; }
.buy-k { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }
.buy-v { font-size: 13.5px; font-weight: 700; color: var(--ink); text-align: right; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; }
.qty-btn { width: 34px; height: 36px; border: 0; background: #fff; cursor: pointer; font-size: 16px; line-height: 1; color: var(--ink-2); }
.qty-btn:hover { background: #fff4ec; color: var(--orange); }
.qty-input {
  width: 64px; height: 36px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-weight: 700; font-size: 14px; background: #fff; outline: none;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input { -moz-appearance: textfield; }
.qty-unit { font-size: 12px; color: var(--ink-4); padding: 0 10px; }
.buy-sum { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 8px; padding-top: 9px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-3); }
.buy-sum b { color: var(--ink); font-size: 15px; }
.buy-actions { display: flex; gap: 9px; margin-top: 11px; flex-wrap: wrap; }
.buy-actions .btn { flex: 1 1 148px; justify-content: center; padding: 11px 14px; font-size: 13.5px; }
.buy-note { margin-top: 8px; font-size: 11.5px; color: var(--ink-4); line-height: 1.5; }
.modal-tools { margin-top: 14px; }
.mini-link { border: 0; background: none; padding: 0; font-size: 12px; color: var(--ink-4); text-decoration: underline; cursor: pointer; }
.mini-link:hover { color: var(--orange); }

/* ---------- 询价车 ---------- */
.cart-fab {
  position: fixed; right: 18px; bottom: 84px; z-index: 120; width: 54px; height: 54px;
  border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(10, 22, 40, .7); transition: transform .15s, background .15s;
}
.cart-fab:hover { transform: translateY(-3px); background: var(--navy-700); }
.cart-fab svg { width: 24px; height: 24px; }
.cart-fab .n {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 2px 7px rgba(0, 0, 0, .28);
}
.cart-fab .n[hidden] { display: none; }
.cart-mask {
  position: fixed; inset: 0; z-index: 300; background: rgba(10, 22, 40, .55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.cart-mask.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 408px; max-width: 94vw; z-index: 310;
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .32s cubic-bezier(.2, .8, .3, 1);
  box-shadow: -30px 0 80px -40px rgba(10, 22, 40, .55);
}
.cart-drawer.show { transform: none; }
.cart-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.cart-hd h3 { font-size: 17px; }
.cart-hd .sub { font-size: 12px; color: var(--ink-4); font-weight: 600; margin-top: 2px; }
.cart-x { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-3); }
.cart-x:hover { color: var(--orange); border-color: #ffb066; }
.cart-bd { flex: 1; overflow-y: auto; padding: 6px 20px 14px; }
.cart-ft { border-top: 1px solid var(--line); padding: 14px 20px 18px; background: #fff; }
.cart-ft .btn { width: 100%; justify-content: center; }
.cart-empty { text-align: center; padding: 46px 8px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.cart-link { display: block; width: 100%; margin-top: 10px; border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--ink-4); text-decoration: underline; cursor: pointer; text-align: center; }
.cart-link:hover { color: var(--orange); }
.ci { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.ci-th { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--line); background: #f7f9fc; overflow: hidden; }
.ci-th img { width: 100%; height: 100%; object-fit: cover; }
.ci-t { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.ci-c { font-size: 11.5px; color: var(--ink-4); margin-top: 2px; line-height: 1.5; }
.ci-b { display: flex; align-items: center; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.ci-q { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.ci-q button { width: 26px; height: 28px; border: 0; background: #fff; cursor: pointer; color: var(--ink-3); font-size: 14px; line-height: 1; }
.ci-q button:hover { background: #fff4ec; color: var(--orange); }
.ci-q input {
  width: 46px; height: 28px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-size: 12.5px; font-weight: 700; outline: none;
  -moz-appearance: textfield;
}
.ci-q input::-webkit-outer-spin-button, .ci-q input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ci-del { border: 0; background: none; padding: 0; font-size: 11.5px; color: var(--ink-4); text-decoration: underline; cursor: pointer; }
.ci-del:hover { color: #d2540d; }
.ci-p { margin-left: auto; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.cart-tot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.cart-tot em { font-style: normal; color: var(--ink-4); font-size: 11.5px; }
.cart-tot b { font-size: 21px; color: var(--ink); letter-spacing: -.02em; }
.cart-note { font-size: 11.5px; color: var(--ink-4); margin: 6px 0 12px; line-height: 1.55; }
.cart-h { font-size: 17px; margin: 14px 0 4px; }
.cart-csub { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin-bottom: 14px; }
.cart-form .field { margin-bottom: 12px; }
.cart-form .field label { font-size: 12px; margin-bottom: 5px; }
.cart-form .field input, .cart-form .field textarea { font-size: 13.5px; padding: 9px 11px; background: #fbfcfe; }
.cf-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-err { font-size: 12.5px; color: #d93025; background: #fdecea; border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; line-height: 1.55; }
.cart-err a { color: #b3261e; font-weight: 700; text-decoration: underline; }
.cart-ok { text-align: center; padding: 26px 4px 8px; }
.cart-ok .ok-tick { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--green), #0b9c73); display: grid; place-items: center; }
.cart-ok .ok-tick svg { width: 30px; height: 30px; }
.cart-ok h4 { font-size: 20px; margin-bottom: 8px; }
.cart-ok p { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.cart-ok .btn { margin-top: 16px; }

@media (max-width: 560px) {
  .buy-actions .btn { flex: 1 1 100%; }
  .cf-2 { grid-template-columns: 1fr; }
  .cart-fab { bottom: 82px; }
}

/* 移动端：弹窗图片区收紧，颜色/购买区更早出现 */
@media (max-width: 760px) {
  .modal-img { padding: 16px; }
  .modal-img img { max-height: 190px; }
  .gal-thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .gal-thumbs img { width: 50px; height: 50px; flex: none; }
  .clr-chip { width: 76px; }
  .clr-thumb { height: 48px; }
}

/* ---------- 阿里店铺风：公司概览卡 ---------- */
.ov-sec { padding-top: 44px !important; }
.ov-card {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: 0 18px 44px -30px rgba(10, 22, 40, .35); overflow: hidden;
}
.ov-left { padding: 26px 30px 24px; }
.ov-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ov-name h3 { font-size: 21px; margin: 0; }
.ov-verified {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 800; color: #0b9c73;
  background: rgba(18, 184, 134, .12); border-radius: 999px; padding: 4px 11px; letter-spacing: .02em;
}
.ov-verified svg { width: 12px; height: 12px; }
.ov-tags { display: flex; gap: 8px; margin-top: 13px; flex-wrap: wrap; }
.ov-tag {
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: #f4f7fb; border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px;
}
.ov-tag.strong { color: #d2540d; background: #fff4ec; border-color: #ffceaa; }
.ov-cats { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.ov-note { margin: 9px 0 0; font-size: 12px; color: var(--ink-4); line-height: 1.65; }
.ov-right {
  padding: 26px 28px 24px; background: #fbfcfe; border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.ov-person { display: flex; align-items: center; gap: 11px; }
.ov-ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; font-weight: 800; font-size: 17px; display: grid; place-items: center;
}
.ov-person b { display: block; font-size: 14.5px; }
.ov-person span { font-size: 12px; color: var(--ink-4); }
.ov-stats { list-style: none; margin: 14px 0 16px; padding: 0; }
.ov-stats li { font-size: 13px; color: var(--ink-3); padding: 4px 0; }
.ov-stats b { color: var(--ink); margin-right: 4px; }
.ov-btn { width: 100%; justify-content: center; }
.ov-alibaba { display: block; margin-top: 11px; font-size: 12.5px; color: var(--ink-4); text-align: center; text-decoration: underline; }
.ov-alibaba:hover { color: var(--orange); }

/* ---------- 四项定制路线 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.custom-card {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 22px 20px 18px; display: flex; flex-direction: column;
}
.custom-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 107, 26, .12); color: var(--orange); margin-bottom: 14px;
}
.custom-ic svg { width: 22px; height: 22px; }
.custom-card h3 { font-size: 15.5px; margin: 0 0 8px; }
.custom-card p { font-size: 12.8px; color: var(--ink-3); line-height: 1.65; flex: 1; }
.custom-note { font-size: 11px; color: var(--ink-4); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 12px; }

/* ---------- 贸易能力 ---------- */
.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trade-card {
  border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px 20px;
}
.trade-card h4 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 12px; }
.trade-items { display: flex; flex-wrap: wrap; gap: 7px; }
.trade-items .pill { background: #f4f7fb; }

@media (max-width: 980px) {
  .ov-card { grid-template-columns: 1fr; }
  .ov-right { border-left: 0; border-top: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trade-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .trade-grid { grid-template-columns: 1fr; }
  .ov-name h3 { font-size: 18px; }
}

/* ---------- 阿里店铺风：产品页左分类栏 + 排序 ---------- */
.cat-layout { display: grid; grid-template-columns: 232px 1fr; gap: 24px; align-items: start; }
.cat-side {
  position: sticky; top: 86px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 14px 10px 12px; box-shadow: 0 14px 34px -28px rgba(10, 22, 40, .3);
}
.side-h {
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-4); padding: 0 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.side-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 9px 10px; border-radius: 9px; transition: background .15s, color .15s;
}
.side-item:hover { background: #fff4ec; color: #d2540d; }
.side-item.on { background: var(--navy-900); color: #fff; }
.side-item .n {
  font-size: 11px; font-weight: 800; color: var(--ink-4);
  background: #f4f7fb; border-radius: 999px; padding: 2px 8px; min-width: 26px; text-align: center;
}
.side-item.on .n { background: rgba(255, 255, 255, .16); color: #fff; }
.cat-main { min-width: 0; }
.count-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 20px;
}
.count-bar > span:first-child { font-size: 13.5px; color: var(--ink-3); }
.count-bar .hint { font-size: 13px; color: var(--ink-4); }
.sort-box {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  color: var(--ink-4); flex: none;
}
.sort-box select {
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 600; padding: 9px 10px; outline: none; cursor: pointer;
}
.sort-box select:focus { border-color: #ffb066; }

@media (max-width: 960px) {
  .cat-layout { grid-template-columns: 1fr; gap: 16px; }
  .cat-side { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
  .side-h { display: none; }
  .side-item { width: auto; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
  .side-item.on { border-color: var(--navy-900); }
}

/* ---------- 概览卡产品图墙 ---------- */
.ov-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.ov-photos a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f4f7fb; }
.ov-photos img { display: block; width: 100%; height: 76px; object-fit: cover; transition: transform .25s; }
.ov-photos a:hover img { transform: scale(1.07); }
.ov-photo-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 8px; font-size: 12px; color: var(--ink-4);
}
.ov-photo-cap a { color: #d2540d; font-weight: 700; text-decoration: underline; }
.ov-photo-cap a:hover { color: var(--orange); }

/* 侧栏布局下产品列数（避免卡片过窄） */
.cat-main .prod-grid { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1520px) { .cat-main .prod-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) { .cat-main .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cat-main .prod-grid { grid-template-columns: 1fr; } }

/* 移动端分类栏改为横向滑动条（阿里店铺式） */
@media (max-width: 960px) {
  .cat-side { display: block; white-space: nowrap; overflow-x: auto; padding: 10px; scrollbar-width: none; }
  .cat-side::-webkit-scrollbar { display: none; }
  .side-item { display: inline-flex; width: auto; margin-right: 8px; vertical-align: middle; }
  .side-item .n { margin-left: 6px; }
}

/* ---------- 阿里式筛选面板 ---------- */
.filter-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px;
  margin-bottom: 16px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.fgroup { display: inline-flex; align-items: center; gap: 7px; }
.fk { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-4); }
.fgroup select {
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
  font-size: 12.5px; font-weight: 600; padding: 7px 9px; outline: none; cursor: pointer;
}
.fgroup select:hover { border-color: #ffb066; }
.fgroup select:focus { border-color: var(--orange); }
.fclear {
  margin-left: auto; border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 12px; color: var(--ink-4); text-decoration: underline;
}
.fclear:hover { color: var(--orange); }
@media (max-width: 760px) {
  .filter-row { gap: 8px; }
  .fgroup { flex: 1 1 45%; }
  .fgroup select { flex: 1; }
  .fclear { margin-left: 0; flex: 1 1 100%; text-align: center; }
}

/* ---------- 独立产品详情页 ---------- */
.pd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-4); margin-bottom: 20px; }
.pd-crumb a { color: var(--ink-3); text-decoration: none; }
.pd-crumb a:hover { color: var(--orange); }
.pd-crumb span { color: var(--ink-4); }
.pd-crumb .cur { color: var(--ink); font-weight: 700; }
.pd-mount .modal-top { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 30px; align-items: start; }
.pd-mount .modal-img { padding: 26px; border-radius: 16px; }
.pd-mount .modal-details { margin-top: 28px; }
.modal-close[hidden] { display: none; }
@media (max-width: 760px) {
  .pd-mount .modal-top { grid-template-columns: 1fr; gap: 20px; }
  .pd-mount .modal-img { padding: 16px; }
}

/* ---------- QC 检验流程条（capability 页） ---------- */
.qc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.qc-step {
  border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px 18px 16px;
  position: relative;
}
.qc-step b { display: block; font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: .04em; }
.qc-step span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.qc-step p { font-size: 12.3px; color: var(--ink-3); line-height: 1.6; margin: 8px 0 0; }
@media (max-width: 960px) { .qc-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .qc-flow { grid-template-columns: 1fr; } }

/* 详情页：更大的主图与表格式规格 */
.pd-mount .modal-img img { max-height: 400px; }
.pd-mount .modal-specs { display: grid; grid-template-columns: 104px 1fr 104px 1fr; gap: 0 20px; margin-top: 20px; }
.pd-mount .modal-specs dt, .pd-mount .modal-specs dd { border-bottom: 1px solid var(--line-2); padding: 10px 0; margin: 0; }
.pd-mount .modal-specs dt { font-size: 11px; }
.pd-mount .modal-specs dd { font-size: 13.5px; }
@media (max-width: 960px) {
  .pd-mount .modal-specs { grid-template-columns: 96px 1fr; }
}
@media (max-width: 760px) {
  .pd-mount .modal-img img { max-height: 280px; }
}

/* ---------- 详情页底部转化条 ---------- */
#pdBar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 22px; background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -18px rgba(10, 22, 40, .45);
}
body.pd-page { padding-bottom: 74px; }
body.pd-page #waFloat { bottom: 86px; }
body.pd-page .cart-fab { bottom: 148px; }
.pdb-info { display: flex; flex-direction: column; min-width: 0; }
.pdb-info b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.pdb-info span { font-size: 12px; color: var(--ink-4); white-space: nowrap; }
.pdb-trust { display: flex; gap: 14px; margin-left: 8px; flex: 1; flex-wrap: wrap; }
.pdb-trust span { font-size: 11.5px; color: var(--ink-4); position: relative; padding-left: 15px; white-space: nowrap; }
.pdb-trust span::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #0b9c73; font-weight: 800; }
.pdb-actions { display: flex; gap: 9px; flex: none; }
.pdb-wa, .pdb-quote {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.pdb-wa { background: #25d366; color: #fff; }
.pdb-wa:hover { background: #1fbd59; }
.pdb-quote { background: #ff6b1a; color: #fff; }
.pdb-quote:hover { background: #e85a0d; }
@media (max-width: 760px) {
  #pdBar { padding: 9px 12px; gap: 10px; }
  .pdb-trust { display: none; }
  .pdb-info b { font-size: 12.5px; max-width: 130px; }
  .pdb-info span { font-size: 11px; }
  .pdb-wa, .pdb-quote { padding: 9px 10px; font-size: 12.5px; flex: 1; }
  body.pd-page .cart-fab { bottom: 138px; }
}

/* 详情页加载态 */
.pd-loading { text-align: center; padding: 70px 10px; color: var(--ink-4); font-size: 13px; }
.pd-loading span {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: #ff6b1a; animation: pdspin .8s linear infinite;
}
.pd-loading p { margin: 12px 0 0; }
@keyframes pdspin { to { transform: rotate(360deg); } }

/* 转化条：移动端按钮文案精简，浮层错位避免相碰 */
.pdb-wa-short { display: none; }
@media (max-width: 760px) {
  .pdb-wa-full { display: none; }
  .pdb-wa-short { display: inline; }
  .pdb-wa, .pdb-quote { white-space: nowrap; padding: 9px 14px; }
  .pdb-info b { max-width: 118px; }
  body.pd-page .cart-fab { bottom: 152px; }
  body.pd-page #waFloat { bottom: 92px; }
}

/* ==========================================================================
   工厂实拍图集（首页 / 关于 / 制造能力通用）
   ========================================================================== */
.fac-sec { padding-top: 74px; padding-bottom: 78px; }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fac-grid .fac-item { aspect-ratio: 3 / 4; }
.fac-grid .fac-big { grid-column: span 2; aspect-ratio: 4 / 3; }
.fac-item {
  position: relative; display: block; overflow: hidden; border-radius: 16px;
  background: #0d1a2c; box-shadow: 0 18px 44px -26px rgba(0, 0, 0, .75);
}
.fac-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.fac-item:hover img { transform: scale(1.055); }
.fac-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(5, 12, 22, .82) 0%, rgba(5, 12, 22, .22) 44%, rgba(5, 12, 22, 0) 70%);
}
.fac-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; }
.fac-cap b { display: block; font-size: 14px; font-weight: 700; letter-spacing: .01em; line-height: 1.35; }
.fac-cap span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .74); margin-top: 3px; }
.fac-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
  display: grid; place-items: center; color: #fff; font-size: 14px; line-height: 1;
  opacity: 0; transition: opacity .25s;
}
.fac-zoom::before { content: "⤢"; }
.fac-item:hover .fac-zoom { opacity: 1; }

/* 两图并排（能力页 / 关于页） */
.fac-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.fac-2 .fac-item { aspect-ratio: 16 / 10; }

/* 灯箱 */
.fac-lb {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 44px 76px;
  background: rgba(6, 12, 22, .94); backdrop-filter: blur(4px);
}
.fac-lb.show { display: flex; }
.fac-lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.fac-lb img {
  max-width: 100%; max-height: calc(100vh - 148px); border-radius: 10px;
  box-shadow: 0 34px 90px -34px #000; display: block;
}
.fac-lb-fig figcaption { color: rgba(255, 255, 255, .82); font-size: 13px; margin-top: 14px; text-align: center; }
.fac-lb-close, .fac-lb-nav {
  position: absolute; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1);
  color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.fac-lb-close { top: 18px; right: 20px; width: 40px; height: 40px; font-size: 22px; line-height: 1; }
.fac-lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 26px; line-height: 1; }
.fac-lb-prev { left: 18px; }
.fac-lb-next { right: 18px; }
.fac-lb-close:hover, .fac-lb-nav:hover { background: rgba(255, 255, 255, .24); }
.fac-lb-nav:hover { transform: translateY(-50%) scale(1.06); }
body.lb-open { overflow: hidden; }

@media (max-width: 900px) {
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .fac-grid .fac-big { grid-column: span 2; aspect-ratio: 16 / 11; }
  .fac-grid .fac-item:not(.fac-big) { aspect-ratio: 4 / 5; }
  .fac-zoom { display: none; }
}
@media (max-width: 700px) {
  .fac-2 { grid-template-columns: 1fr; }
  .fac-sec { padding-top: 54px; padding-bottom: 58px; }
  .fac-lb { padding: 30px 14px 78px; }
  .fac-lb img { max-height: calc(100vh - 180px); }
  .fac-lb-nav { width: 40px; height: 40px; font-size: 22px; bottom: 22px; top: auto; transform: none; }
  .fac-lb-prev { left: calc(50% - 54px); }
  .fac-lb-next { right: calc(50% - 54px); }
}

.fac-item { cursor: zoom-in; }

.fac-sec { scroll-margin-top: 84px; }

/* 无 JS / JS 被拦截时保证内容可见（防白屏） */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
