/* ============================================================
   SUNTECH — 外贸产品站 主样式
   ============================================================ */
:root {
  --navy: #0b2138;
  --navy-2: #12324f;
  --blue: #0f62b0;
  --blue-d: #0b4d8c;
  --blue-l: #eaf2fb;
  --accent: #e8541f;
  --accent-d: #c9420f;
  --ink: #16202c;
  --body: #4a586b;
  --muted: #7d8a9c;
  --line: #e3e8ef;
  --soft: #f5f7fa;
  --white: #fff;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 56, 0.06);
  --shadow: 0 10px 30px rgba(16, 32, 56, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 33, 56, 0.18);
  --container: 1220px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------------- 顶部信息栏 ---------------- */
.topbar {
  background: var(--navy); color: #b9c9da; font-size: 12.5px; letter-spacing: 0.02em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar a { color: #cfdcea; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .ico { opacity: 0.75; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { color: #8fa5bc; }
.topbar-social a:hover { color: #fff; }

/* 语言切换 */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14); color: #dbe6f1; height: 26px; padding: 0 10px;
  border-radius: 4px; font-size: 12px; letter-spacing: 0.03em;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.lang-caret { font-size: 9px; opacity: 0.8; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 158px; background: #fff;
  border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.18s ease; z-index: 90;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; background: none;
  border: 0; padding: 8px 10px; border-radius: 4px; font-size: 13px; color: var(--body); text-align: left;
}
.lang-menu button:hover { background: var(--soft); color: var(--ink); }
.lang-menu button.on { color: var(--blue); font-weight: 600; }
.lang-menu .code { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------------- 主头部 ---------------- */
.header {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow 0.2s ease;
}
.header.scrolled { box-shadow: 0 6px 22px rgba(16, 32, 56, 0.08); }
.header .container { display: flex; align-items: center; gap: 28px; height: 74px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
img { max-width: 100%; }
.logo-mark-img { display: block; width: 40px; height: 43px; object-fit: contain; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 6px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -0.04em;
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px;
  background: var(--accent); transform: rotate(45deg);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 20px; letter-spacing: 0.06em; color: var(--navy); font-weight: 800; }
.logo-text span { font-size: 10px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav > a, .nav-item > a {
  position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  border-radius: 6px; display: inline-block;
}
.nav > a:hover, .nav-item > a:hover { color: var(--blue); background: var(--soft); }
.nav > a.active, .nav-item > a.active { color: var(--blue); }
.nav > a[target="_blank"]::after {
  content: "\2197"; position: static; display: inline-block; margin-left: 3px;
  font-size: 12px; color: var(--accent); line-height: 1; vertical-align: 1px; font-weight: 700;
}
.nav > a.active::after, .nav-item > a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* ---------------- Products 巨型下拉 ---------------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { padding-right: 8px; }
.nav-caret {
  display: grid; place-items: center; width: 20px; height: 28px; padding: 0; margin: 0 4px 0 -2px;
  border: 0; background: transparent; color: var(--ink); border-radius: 4px; cursor: pointer;
  transition: color 0.15s;
}
.nav-caret svg { transition: transform 0.2s ease; }
.nav-item:hover .nav-caret, .nav-item.open .nav-caret { color: var(--blue); }
.nav-item.open .nav-caret svg, .nav-item:hover .nav-caret svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 4px); left: -222px; width: 560px; padding: 18px 22px 0;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 0 0 10px 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 70;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item:hover .mega, .nav-item.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding-bottom: 16px; }
.mega-cat {
  display: flex; align-items: center; gap: 9px; padding: 11px 12px;
  font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; white-space: nowrap;
  border-radius: 8px; transition: background 0.15s, color 0.15s;
}
.mega-cat .gear { display: flex; color: var(--accent); flex-shrink: 0; }
.mega-cat .mega-cat-t { flex: 1; }
.mega-cat .mega-cat-n {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  background: var(--soft); border-radius: 20px; padding: 1px 8px; flex-shrink: 0;
}
.mega-cat:hover { background: var(--soft); color: var(--blue); }
.mega-cat:hover .mega-cat-n { background: #fff; color: var(--blue); }
.mega-subs { list-style: none; margin: 0 0 6px; padding: 0 0 0 5px; }
.mega-subs a {
  display: flex; gap: 8px; align-items: flex-start; padding: 3px 0;
  font-size: 13.5px; color: var(--body); line-height: 1.5;
}
.mega-subs .arw { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.mega-subs a:hover { color: var(--blue); }
.mega-more {
  display: inline-block; margin: 0 0 2px 27px; font-size: 12.5px; color: var(--muted);
}
.mega-more:hover { color: var(--blue); }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 -22px; padding: 12px 22px; border-top: 1px solid var(--line); background: var(--soft);
  border-radius: 0 0 9px 9px; font-size: 13px; font-weight: 600;
}
.mega-foot a { color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.mega-foot .mega-note { font-size: 12px; font-weight: 400; color: var(--muted); }
.mega-load { padding: 10px 0 24px; font-size: 13px; color: var(--muted); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.header-phone b { color: var(--navy); font-size: 14.5px; display: block; line-height: 1.2; }
.header-phone small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }
.mobile-nav { display: none; }

/* ---------------- 首页 Hero ---------------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.08); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(6, 20, 35, 0.96) 0%, rgba(8, 26, 44, 0.9) 42%, rgba(10, 30, 50, 0.55) 72%, rgba(10, 30, 50, 0.35) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 78px; padding-bottom: 78px; }
.hero-inner { max-width: 640px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #ffd9c9; background: rgba(232, 84, 31, 0.16);
  border: 1px solid rgba(232, 84, 31, 0.4); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ff8a5c; }
.hero p.lead { font-size: 16px; color: #c6d5e4; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 24px; }
.hero-stats div b { display: block; font-size: 26px; color: #fff; letter-spacing: -0.02em; }
.hero-stats div span { font-size: 12.5px; color: #93a8bd; letter-spacing: 0.04em; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 70px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head .eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.section-head p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; max-width: 560px; }
.link-more {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  color: var(--blue); white-space: nowrap; padding-bottom: 2px;
}
.link-more:hover { gap: 11px; }

/* ---------------- 分类卡 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: #fff;
  transition: all 0.2s ease; display: block;
}
.cat-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card .ico-wrap {
  width: 44px; height: 44px; border-radius: 8px; background: var(--blue-l); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 14px;
}
.cat-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--muted); margin: 0; }
.cat-card .count { font-size: 12px; color: var(--blue); font-weight: 600; margin-top: 12px; display: block; }

/* ---------------- 产品卡（对齐参考图） ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard {
  border: 1px solid #e2e6eb; border-radius: 6px; background: #fff; overflow: hidden;
  display: flex; flex-direction: column; transition: all 0.2s ease;
}
.pcard:hover { box-shadow: 0 12px 28px rgba(16, 32, 56, 0.1); border-color: #cbd4df; }
.pcard-media { position: relative; background: #fff; padding: 14px 14px 4px; }
.pcard-media img { width: 100%; aspect-ratio: 1 / 0.92; object-fit: contain; transition: transform 0.35s ease; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.badge {
  position: absolute; font-size: 11px; line-height: 1; letter-spacing: 0.02em;
  padding: 5px 9px; border-radius: 11px; display: inline-flex; align-items: center; gap: 4px;
}
.badge-video { right: 14px; bottom: 12px; background: rgba(72, 78, 86, 0.72); color: #fff; }
.badge-cat { left: 14px; top: 14px; background: var(--blue-l); color: var(--blue-d); font-weight: 600; }
.pcard-body { padding: 12px 14px 0; flex: 1; }
.pcard-title {
  font-size: 13.5px; line-height: 1.55; color: #2f3b4a; font-weight: 500; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 42px;
}
.pcard-foot { padding: 14px; }
.pcard-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px;
  border: 1.5px solid #1666b4; border-radius: 999px; color: #10579c; font-size: 13.5px;
  font-weight: 600; background: #fff; transition: all 0.18s ease;
}
.pcard-btn:hover { background: #1666b4; color: #fff; }

/* ---------------- 优势 / 数据 ---------------- */
.usp-band { background: var(--navy); color: #fff; padding: 54px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.usp { display: flex; gap: 14px; }
.usp .ico-wrap { flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #ff8a5c; display: grid; place-items: center; }
.usp h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.usp p { color: #9fb3c7; font-size: 13px; margin: 0; }

/* ---------------- 关于 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; }
.about-media .stamp {
  position: absolute; left: -18px; bottom: 26px; background: var(--accent); color: #fff;
  padding: 16px 20px; border-radius: 8px; box-shadow: var(--shadow);
}
.about-media .stamp b { display: block; font-size: 26px; line-height: 1; }
.about-media .stamp span { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.about-copy h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.about-copy p { color: var(--body); }
.about-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink); }
.about-list li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; border-radius: 50%;
  background: var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f62b0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------------- 博客卡 ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all 0.2s ease;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d3dbe5; }
.post-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.post-meta .dot { width: 3px; height: 3px; background: #c3ccd8; border-radius: 50%; }
.post-meta .tag { color: var(--blue); font-weight: 600; }
.post-body h3 { font-size: 16.5px; line-height: 1.45; margin-bottom: 8px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .link-more { margin-top: auto; font-size: 13px; }

/* ---------------- 询盘 CTA ---------------- */
.cta-band {
  position: relative; overflow: hidden; background: linear-gradient(100deg, #0b2138 0%, #12395c 55%, #17527f 100%);
  color: #fff; padding: 56px 0;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 84, 31, 0.35) 0%, rgba(232, 84, 31, 0) 70%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.cta-inner p { color: #b7c9da; margin: 0; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-contact { display: flex; gap: 28px; margin-top: 20px; flex-wrap: wrap; }
.cta-contact a { color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* ---------------- 面包屑 / 页头 ---------------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 22px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: #c0c9d5; }
.breadcrumb .cur { color: var(--ink); min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

/* ---------------- 产品列表页 ---------------- */
.plist-head { padding: 34px 0 0; }
.plist-head h1 { font-size: clamp(24px, 3vw, 30px); color: var(--blue-d); padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.plist-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 26px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--body); display: inline-flex; align-items: center; transition: all 0.16s ease;
}
.chip:hover { border-color: #b9c7d6; color: var(--ink); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-box { position: relative; }
.search-box input {
  height: 40px; width: 260px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px 0 38px;
  outline: none; background: #fff; color: var(--ink);
}
.search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 98, 176, 0.1); }
.search-box .ico { position: absolute; left: 14px; top: 12px; color: var(--muted); }
.empty { padding: 70px 0; text-align: center; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; color: var(--body); font-size: 13.5px;
}
.pager button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pager button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------------- 产品详情 ---------------- */
/* 原样镜像页（iframe 自适应高度） */
.pd-full { background: #fff; }
.pd-full iframe { display: block; width: 100%; border: 0; min-height: 800px; background: #fff; }

.pd-wrap { padding: 34px 0 60px; }
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.pd-gallery { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: #fff; }
.pd-main { aspect-ratio: 1 / 0.86; display: grid; place-items: center; }
.pd-main img { max-height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pd-thumbs button { width: 68px; height: 68px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 6px; }
.pd-thumbs button.on { border-color: var(--blue); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info .cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.pd-info h1 { font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 14px; }
.pd-info .excerpt { font-size: 15px; color: var(--body); border-left: 3px solid var(--accent); padding-left: 14px; }
.pd-specs { margin: 22px 0; border-top: 1px solid var(--line); }
.pd-specs .row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.pd-specs .k { color: var(--muted); }
.pd-specs .v { color: var(--ink); font-weight: 500; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; }
.pd-meta { display: flex; gap: 22px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pd-meta b { color: var(--ink); }

.pd-section { margin-top: 46px; }
.pd-section h2 { font-size: 21px; padding-bottom: 12px; border-bottom: 2px solid var(--line); margin-bottom: 22px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; list-style: none; padding: 0; }
.feature-list li { display: flex; gap: 10px; font-size: 14px; }
.feature-list li::before { content: "✓"; color: var(--blue); font-weight: 700; }

.page-frame-wrap { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.page-frame-wrap iframe { width: 100%; border: 0; display: block; min-height: 600px; }
.frame-note {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
  background: var(--soft); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------------- 博客列表 / 详情 ---------------- */
.blog-head { padding: 44px 0 26px; text-align: center; }
.blog-head h1 { font-size: clamp(26px, 3.4vw, 36px); }
.blog-head p { color: var(--muted); margin: 10px auto 0; max-width: 560px; }
.article { max-width: 800px; margin: 0 auto; }
.article-head { padding: 34px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article-head h1 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.25; margin: 12px 0 16px; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.article-cover { border-radius: 10px; overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.article-cover img { width: 100%; }
.prose { font-size: 16px; line-height: 1.85; color: #33404f; }
.prose h2 { font-size: 23px; margin: 34px 0 12px; }
.prose h3 { font-size: 18.5px; margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 24px 0; padding: 16px 22px; background: var(--blue-l); border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0; color: var(--blue-d); font-style: italic;
}
.prose img { border-radius: 8px; margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--soft); }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill { font-size: 12px; padding: 5px 12px; background: var(--soft); border-radius: 999px; color: var(--body); }

/* ---------------- 页脚 ---------------- */
.footer { background: #071a2c; color: #8fa3b8; padding: 58px 0 0; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.04em; margin-bottom: 16px; text-transform: uppercase; }
.footer a { color: #8fa3b8; }
.footer a:hover { color: #fff; }
.footer-brand .logo-mark-img { background: #fff; border-radius: 8px; padding: 5px; width: 44px; height: 44px; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: #6c849c; }
.footer-brand p { margin: 16px 0 0; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; line-height: 1.6; }
.footer-contact .ico { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; display: flex;
  justify-content: space-between; gap: 16px; font-size: 12.5px; color: #6c849c; flex-wrap: wrap;
}
.footer-bottom a { color: #8fa3b8; }

/* ---------------- 在线客服 ---------------- */
.chat-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); border: 0; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(232, 84, 31, 0.42); transition: transform 0.2s ease, background 0.2s ease;
}
.chat-fab:hover { transform: scale(1.06); background: var(--accent-d); }
.chat-fab .dot {
  position: absolute; top: 4px; right: 4px; width: 11px; height: 11px; border-radius: 50%;
  background: #2ecc71; border: 2px solid #fff;
}
.chat-fab .badge-num {
  position: absolute; top: -3px; left: -3px; min-width: 20px; height: 20px; border-radius: 10px;
  background: #fff; color: var(--accent); font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--accent);
}
.chat-panel {
  position: fixed; right: 26px; bottom: 96px; z-index: 81; width: 352px; max-width: calc(100vw - 32px);
  height: 508px; max-height: calc(100vh - 140px); background: #fff; border-radius: 14px;
  box-shadow: 0 26px 70px rgba(11, 33, 56, 0.3); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.98); transition: all 0.22s ease;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.chat-head {
  background: linear-gradient(120deg, #0b2138, #164a76); color: #fff; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chat-head .avatar {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.14);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; position: relative;
}
.chat-head .avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%;
  background: #2ecc71; border: 2px solid #12395c;
}
.chat-head b { display: block; font-size: 14px; }
.chat-head span { font-size: 11.5px; color: #a8c0d6; }
.chat-close { margin-left: auto; background: none; border: 0; color: #b8cbdc; font-size: 20px; line-height: 1; padding: 4px; }
.chat-close:hover { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #f7f9fc; display: flex; flex-direction: column; gap: 10px; }
.chat-intro { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; padding: 2px 10px 6px; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg .t { display: block; font-size: 10px; opacity: 0.6; margin-top: 4px; }
.chat-form { border-top: 1px solid var(--line); padding: 10px 12px 12px; background: #fff; }
.chat-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.chat-fields input, .chat-input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; outline: none; font-size: 13px;
}
.chat-fields input:focus, .chat-input:focus { border-color: var(--blue); }
.chat-send-row { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.chat-input { resize: none; height: 40px; max-height: 130px; line-height: 1.4; padding: 10px; }
.chat-send {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; border: 0; background: var(--accent); color: #fff;
  display: grid; place-items: center;
}
.chat-send:hover { background: var(--accent-d); }
.chat-send:disabled { opacity: 0.5; }

/* ---------------- 表单通用 ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; outline: none;
  background: #fff; color: var(--ink); transition: border-color 0.16s, box-shadow 0.16s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 98, 176, 0.1); }
.textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 12px); background: var(--navy); color: #fff;
  padding: 11px 20px; border-radius: 8px; font-size: 13.5px; z-index: 200; opacity: 0; pointer-events: none;
  transition: all 0.24s ease; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .pd-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .logo-mark-img { width: 34px; height: 37px; }
  .burger { display: block; }
  .header .container { height: 64px; }
  .mobile-nav {
    display: none; position: fixed; inset: 64px 0 auto 0; background: #fff; z-index: 59;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 24px 18px;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 13px 4px; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--soft); }
  .mobile-nav .mnav-group { border-bottom: 1px solid var(--soft); }
  .mobile-nav .mnav-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 13px 4px; font-size: 15px; font-weight: 600; color: var(--ink); background: none; border: 0;
  }
  .mobile-nav .mnav-toggle svg { transition: transform 0.2s; color: var(--muted); }
  .mobile-nav .mnav-group.open .mnav-toggle svg { transform: rotate(180deg); }
  .mobile-nav .mnav-panel { display: none; padding: 0 0 10px 10px; }
  .mobile-nav .mnav-group.open .mnav-panel { display: block; }
  .mobile-nav .mnav-panel a { border: 0; padding: 9px 4px; font-size: 14px; font-weight: 600; }
  .mobile-nav .mnav-panel a.mnav-sub { padding: 6px 4px 6px 22px; font-size: 13px; font-weight: 400; color: var(--body); }
  .mobile-nav .mnav-cat .gear { color: var(--accent); margin-right: 7px; display: inline-flex; vertical-align: -2px; }
  .mobile-nav .mnav-sub .arw { color: var(--accent); }
  .mobile-nav .cnt { float: right; font-size: 12px; color: var(--muted); font-weight: 400; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-head { padding-top: 24px; }
  .section { padding: 52px 0; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .hero-stats { gap: 26px; }
}
@media (max-width: 640px) {
  .topbar .container { height: auto; min-height: 34px; padding: 7px 16px; gap: 10px; }
  .topbar-left { gap: 12px; font-size: 11px; min-width: 0; }
  .topbar-left a { white-space: nowrap; }
  .topbar-left a:nth-child(2) { display: none; }
  .topbar-social { display: none; }
  .topbar-right { gap: 8px; }
  .lang-btn { height: 24px; padding: 0 8px; font-size: 11px; }
  .header-actions .btn { display: none; }
  .header .container { gap: 12px; }
  .logo-mark-img { width: 32px; height: 35px; }
  .logo-text b { font-size: 17px; }
  .logo-text span { font-size: 9px; letter-spacing: 0.16em; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard-media { padding: 8px 8px 0; }
  .pcard-title { font-size: 12.5px; min-height: 38px; }
  .pcard-foot { padding: 10px; }
  .pcard-btn { height: 36px; font-size: 12.5px; }
  .badge-cat { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .search-box input { width: 100%; }
  .search-box { width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .btn { flex: 1; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 84px; height: 74vh; }
  .chat-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .pd-specs .row { grid-template-columns: 110px 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
