/* =====================================================
   Aozoom Style Guide - 共享样式
   主色: #ff6e00 (橙)  深色: #232323  浅灰: #f5f5f5
   ===================================================== */
:root {
  --orange: #ff6e00;
  --orange-dark: #e86200;
  --dark: #232323;
  --darker: #1b1b1b;
  --gray: #f5f5f5;
  --gray-2: #ececec;
  --text: #333;
  --text-light: #777;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------------- 顶部信息条 ---------------- */
.topbar {
  background: var(--dark);
  color: #ddd;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding: 6px 0;
}
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--orange); }

/* ---------------- 主导航 ---------------- */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.site-header .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 26px;
  color: var(--orange);
  font-style: italic;
  letter-spacing: 1px;
  margin-right: 8px;
}
.logo small { font-size: 12px; color: #fff; font-style: normal; letter-spacing: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .main-nav > .nav-item > a {
  display: block;
  padding: 8px 14px;
  color: #eee;
  font-size: 15px;
  border-radius: 4px;
  position: relative;
  white-space: nowrap;
}
.main-nav > a:hover, .main-nav > .nav-item:hover > a { background: var(--orange); color: #fff; }
.main-nav > a.active { background: var(--orange); color: #fff; }
.main-nav > a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: rgba(255, 255, 255, .85);
}
.btn-quote {
  /*background: var(--orange);*/
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  margin: 0 6px;
  transition: .2s;
}
.btn-quote:hover { background: var(--orange-dark); }
.btn-quote::after { display: none !important; }

/* 下拉菜单 */
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item .dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--text);
  font-size: 14px;
}
.nav-item .dropdown a:hover { background: #fff3ea; color: var(--orange); }
.nav-caret { font-size: 10px; margin-left: 4px; }
.cart-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
  background: #fafafa;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: var(--text-light);
  padding: 10px 0;
}
.breadcrumb .container { display: flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 60px 0; }
.section.gray { background: var(--gray); }
.sec-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--dark);
}
.sec-title.left { text-align: left; }
.sec-title.orange { color: var(--orange); }
.sec-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 760px;
  margin: 0 auto 40px;
}

/* ---------------- 占位图 ---------------- */
.ph {
  background: linear-gradient(135deg, #d8d8d8, #efefef);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  overflow: hidden;
  border-radius: 6px;
  min-height: 120px;
}
.ph::after {
  content: attr(data-label);
  padding: 6px 10px;
  text-align: center;
}
.ph::before {
  content: "";
  width: 34px; height: 34px;
  border: 2px solid #bbb;
  border-radius: 50%;
  margin-bottom: 6px;
  background:
    linear-gradient(45deg, transparent 44%, #bbb 44%, #bbb 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #bbb 44%, #bbb 56%, transparent 56%);
  position: absolute;
  top: 26%;
}
.ph.dark { background: linear-gradient(135deg, #2c2c2c, #4a4a4a); color: #aaa; }
.ph.orange { background: linear-gradient(135deg, #ff8a2b, #ff6e00); color: #fff; }
.ph.orange::before { border-color: rgba(255,255,255,.8); background:
  linear-gradient(45deg, transparent 44%, rgba(255,255,255,.8) 44%, rgba(255,255,255,.8) 56%, transparent 56%),
  linear-gradient(-45deg, transparent 44%, rgba(255,255,255,.8) 44%, rgba(255,255,255,.8) 56%, transparent 56%); }

/* 指定区块背景图铺满（覆盖 dark/placeholder 渐变与占位图标/文字） */
.ph.bg-cate {
  background-image: url('../img/cate_1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate::before, .ph.bg-cate::after { display: none; }

/* 卓越品质区块背景图铺满 */
.ph.bg-cate2 {
  background-image: url('../img/cate_2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate2::before, .ph.bg-cate2::after { display: none; }

/* R&D 区块背景图铺满 */
.ph.bg-cate3 {
  background-image: url('../img/cate_3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate3::before, .ph.bg-cate3::after { display: none; }
.ph.bg-cate4 {
  background-image: url('../img/cate_4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate4::before, .ph.bg-cate4::after { display: none; }
.ph.bg-cate5 {
  background-image: url('../img/cate_5.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate5::before, .ph.bg-cate5::after { display: none; }
.ph.bg-cate6 {
  background-image: url('../img/cate_6.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate6::before, .ph.bg-cate6::after { display: none; }
.ph.bg-cate7 {
  background-image: url('../img/cate_7.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate7::before, .ph.bg-cate7::after { display: none; }
.ph.bg-cate8 {
  background-image: url('../img/cate_8.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph.bg-cate8::before, .ph.bg-cate8::after { display: none; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 11px 30px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: .2s;
}
.btn:hover { background: var(--orange-dark); }
.btn.ghost { background: transparent; border: 1px solid var(--orange); color: var(--orange); }
.btn.ghost:hover { background: var(--orange); color: #fff; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #14161c 0%, #23262f 45%, #3a2c22 100%);
  color: #fff;
  overflow: hidden;
}
/* 全宽 banner 背景层 */
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(8,10,14,.88) 0%,
    rgba(8,10,14,.66) 36%,
    rgba(8,10,14,.22) 72%,
    rgba(8,10,14,.05) 100%);
}
.hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 60px 0;
}
.hero-copy { max-width: 560px; }
.hero-copy .slogan {
  font-size: 52px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 1px;
}
.hero-copy .slogan em { color: var(--orange); font-style: italic; }
.hero-copy .badge {
  display: inline-block;
  background: var(--orange);
  padding: 4px 14px;
  border-radius: 4px;
  font-weight: 700;
  margin: 18px 0 10px;
}
.hero-copy p { color: #cfcfcf; max-width: 480px; margin-bottom: 26px; }
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-tags span {
  border: 1px solid rgba(255,255,255,.35);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #ddd;
}
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); }
.hero-dots i.on { background: var(--orange); }

/* ---------------- 首页产品分类 ---------------- */
.cat-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.cat-tabs a {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: var(--text-light);
}
.cat-tabs a.on, .cat-tabs a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-grid .ph { height: 180px; }
.cat-grid .promo { grid-row: span 2; }
.cat-grid .promo .ph { height: 100%; min-height: 380px; }
.cat-name {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: var(--text);
}
.cat-card:hover .cat-name { color: var(--orange); }

/* ---------------- 质量板块 ---------------- */
.quality { display: flex; gap: 44px; align-items: center; }
.quality .txt { flex: 1; }
.quality .pic { flex: 1; }
.quality .pic .ph { min-height: 340px; }
.quality h3 { font-size: 28px; margin-bottom: 16px; }
.check-list { margin-top: 16px; }
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-light);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 19px; height: 19px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------------- 数据带 ---------------- */
.stats {
  background:
    linear-gradient(rgba(20,20,20,.9), rgba(20,20,20,.9)),
    linear-gradient(135deg, #333, #111);
  color: #fff;
  padding: 56px 0;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { font-size: 44px; color: var(--orange); }
.stat span { display: block; color: #bbb; margin-top: 6px; font-size: 14px; }

/* ---------------- 产品卡片 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s;
  background: #fff;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.product-card .ph { height: 190px; border-radius: 0; }
.product-card .info { padding: 14px 16px 18px; text-align: center; }
.product-card .info h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.product-card .info h4 a:hover { color: var(--orange); }

/* ---------------- 新闻卡片 ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #eee; transition: .25s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card .ph { height: 180px; border-radius: 0; }
.news-card .body { padding: 16px 18px 20px; }
.news-card .date { font-size: 12px; color: var(--orange); }
.news-card h4 { font-size: 15px; margin: 6px 0 8px; line-height: 1.5; }
.news-card p { font-size: 13px; color: var(--text-light); }

/* ---------------- 合作伙伴 ---------------- */
.partner-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-strip span {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 26px;
  font-weight: 700;
  color: #999;
  letter-spacing: 1px;
}

/* ---------------- 文章/新闻列表行 ---------------- */
.post-row {
  display: flex;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}
.post-row .ph { width: 260px; min-width: 260px; height: 170px; }
.post-row .meta { font-size: 13px; color: var(--orange); margin-bottom: 6px; }
.post-row h3 { font-size: 19px; margin-bottom: 10px; }
.post-row h3 a:hover { color: var(--orange); }
.post-row > div { flex: 1; min-width: 0; }   /* flex 子项允许收缩，否则长文本撑成一行溢出 */
.post-row p { color: var(--text-light); font-size: 14px; word-break: break-word; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }  /* 最多 2 行，超出省略号 */
.post-row:first-of-type { padding-top: 0; }

/* ---- v2 文章列表行（article.html 截图样式） ---- */
.post-row.v2 { align-items: flex-start; }
.post-row.v2 .ph { background: #fff; }
.post-row.v2 .meta { color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.post-row.v2 .meta .cal { font-style: normal; }
.post-row.v2 h3 { font-size: 20px; }
.post-row.v2 h3 a { color: var(--orange); font-weight: 700; }
.post-row.v2 h3 a:hover { color: var(--orange); opacity: .85; }
.post-row.v2 p { line-height: 1.7; }
.view-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 8px 9px 8px 22px;
  border-radius: 999px; background: #f5f6f8; border: 1px solid #ececec;
  color: #555; font-size: 14px; text-decoration: none;
  transition: background .2s, color .2s;
}
.view-more .vm-ico {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1;
}
.view-more:hover { background: var(--orange); color: #fff; }
.view-more:hover .vm-ico { background: #fff; color: var(--orange); }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  padding: 0 8px;
}
.pagination .on { background: var(--orange); border-color: var(--orange); color: #fff; }
.pagination a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------------- 询盘表单 ---------------- */
.send-inquiry { background: var(--gray); padding: 46px 0; }
.send-inquiry h3 { font-size: 22px; margin-bottom: 18px; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form .full { grid-column: 1 / -1; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: none;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--orange); }
.inquiry-form textarea { min-height: 110px; resize: vertical; }
.send-inquiry .btn { margin-top: 20px; }

/* ---------------- 页脚 ---------------- */
.footer {
  position: relative;
  background: var(--gray-2);
  padding: 70px 0 40px;
}
.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 26px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 0%);
}
.footer h4 { font-size: 17px; margin-bottom: 18px; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr .9fr; gap: 30px; }
.footer-cols li { margin-bottom: 9px; font-size: 14px; color: var(--text-light); }
.footer-cols a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 8px; }
.qr {
  width: 120px; height: 120px;
  background:
    repeating-linear-gradient(0deg, #222 0 6px, #fff 6px 12px),
    repeating-linear-gradient(90deg, #222 0 6px, #fff 6px 12px);
  background-blend-mode: multiply;
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
}
.copyright {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 12px 0;
}

/* ---------------- 右侧浮动按钮 ---------------- */
.float-side {
  position: fixed;
  right: 12px;
  top: 130px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-side a {
  width: 52px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  padding: 8px 4px;
}
.float-side a i {
  display: block;
  font-style: normal;
  font-size: 17px;
  margin-bottom: 2px;
  color: var(--orange);
}
.float-side a:hover { background: var(--orange); color: #fff; }
.float-side a:hover i { color: #fff; }
/* 悬浮按钮 hover 弹出信息卡片 */
.float-side a { position: relative; }
.fs-pop {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  padding: 12px 20px 12px 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.fs-pop::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: #fff;
}
.float-side a:hover .fs-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.fs-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 19px;
  font-style: normal;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-txt { text-align: left; }
.fs-txt em { display: block; font-style: normal; color: #999; font-size: 12px; margin-bottom: 2px; }
.fs-txt strong { color: #333; font-size: 15px; }
.back-top {
  position: fixed;
  right: 16px; bottom: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 18px;
  z-index: 90;
}

/* ---------------- 页面页头 ---------------- */
.page-head { padding: 26px 0 6px; }
.page-head h1 { font-size: 28px; }
.page-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  margin-bottom: 10px;
}

/* ---------------- 联系我们 ---------------- */
.contact-wrap { display: flex; gap: 40px; align-items: flex-start; }
.contact-intro { flex: 1; }
.contact-intro h2 { font-size: 30px; margin-bottom: 14px; }
.contact-cards { flex: 2.2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  background: #fff6ef;
  border: 1px solid #ffe2cc;
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.contact-card h4 { margin-bottom: 8px; font-size: 16px; }
.contact-card p { font-size: 14px; color: var(--text-light); }
.collab { text-align: center; }
.collab h2 { font-size: 30px; margin: 20px 0 10px; }
.collab .form { text-align: left; max-width: 960px; margin: 30px auto 0; }
.collab .btn { margin-top: 26px; }

/* ---------------- 关于我们 ---------------- */
.timeline { position: relative; padding: 20px 0 50px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 58px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ddd 8%, #ddd 92%, transparent 100%);
  z-index: 0;
}
.timeline-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.tl-item {
  flex: 1 1 0;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tl-item::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--orange);
  margin: 14px 0 20px;
  position: relative;
  z-index: 2;
  flex: none;
}
.tl-item .year { color: var(--orange); font-weight: 700; font-size: 18px; }
.tl-item p { font-size: 13px; color: var(--text-light); line-height: 1.7; max-width: 240px; margin: 0 auto; }
.tl-item .tl-topic { display: block; color: var(--dark); font-weight: 700; font-size: 14px; line-height: 1.4; margin-bottom: 8px; }
.about-block { margin-bottom: 56px; }
.about-block h3 { text-align: center; font-size: 26px; margin-bottom: 24px; }
.about-flex { display: flex; gap: 36px; align-items: center; }
.about-flex .txt { flex: 1; color: var(--text-light); font-size: 14px; }
.about-flex .pic { flex: 1.1; }
.about-flex .pic .ph { min-height: 280px;
 }
.about-flex.rev { flex-direction: row-reverse; }
.product-list { columns: 2; column-gap: 60px; }
.product-list li {
  break-inside: avoid;
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px dashed #ddd;
  font-size: 14px;
}
.product-list li::before {
  content: "▸";
  position: absolute; left: 4px;
  color: var(--orange);
}
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-grid .ph { height: 160px; }
.app-grid p { text-align: center; font-size: 13px; margin-top: 8px; color: var(--text-light); }
.cert-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cert-row .ph { height: 150px; }
.honor-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.honor-row .ph { height: 180px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 26px 22px; }
.service-card b { color: var(--orange); font-size: 22px; }
.service-card h4 { margin: 8px 0; }
.service-card p { font-size: 13px; color: var(--text-light); }

/* ---------------- 产品页 ---------------- */
.product-layout { display: flex; gap: 30px; align-items: flex-start; }
.filter-side { width: 250px; min-width: 250px; background: #fff; border: 1px solid #eee; border-radius: var(--radius); overflow: hidden; }
.filter-side h4 {
  background: var(--orange);
  color: #fff;
  padding: 13px 18px;
  font-size: 16px;
}
.filter-side a { display: block; padding: 11px 18px; font-size: 14px; border-bottom: 1px solid #f2f2f2; }
.filter-side a.on, .filter-side a:hover { background: #fff3ea; color: var(--orange); padding-left: 24px; transition: .2s; }
.filter-side .cap { padding: 14px 18px 6px; font-weight: 600; }
.filter-side .tags { padding: 0 14px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-side .tags a {
  border: 1px solid #ddd; border-radius: 999px;
  padding: 3px 12px; font-size: 12px;
}
.filter-main { flex: 1; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { text-align: center; padding: 26px 18px; border: 1px solid #eee; border-radius: var(--radius); }
.why-card .ico {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff3ea;
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.why-card h4 { font-size: 15px; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--text-light); }
.faq-item { border: 1px solid #eee; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  background: #fafafa;
}
.faq-item summary::after { content: "+"; position: absolute; right: 18px; color: var(--orange); font-size: 18px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans { padding: 14px 18px; font-size: 14px; color: var(--text-light); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
  .main-nav > a, .main-nav > .nav-item > a { padding: 8px 8px; font-size: 13px; }
  .cat-grid, .product-grid, .stats .container { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { flex-direction: column; text-align: center; min-height: 460px; }
  .hero-copy { max-width: 100%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8,10,14,.82) 0%, rgba(8,10,14,.55) 50%, rgba(8,10,14,.25) 100%); }
  .hero-copy p { margin: 0 auto 26px; }
  .hero-tags, .hero-dots { justify-content: center; }
  .quality, .about-flex, .contact-wrap { flex-direction: column; }
  .about-flex.rev { flex-direction: column; }
  .product-layout { flex-direction: column; }
  .filter-side { width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .timeline-grid { flex-wrap: wrap; justify-content: center; }
  .tl-item { flex: 0 0 calc(50% - 16px); min-width: auto; margin-bottom: 24px; }
  .timeline::before { left: 12%; right: 12%; top: 56px; }
  .why-grid, .app-grid, .honor-row, .service-grid { grid-template-columns: 1fr 1fr; }
  .cert-row { grid-template-columns: repeat(3, 1fr); }
  .post-row { flex-direction: column; }
  .post-row .ph { width: 100%; }
  .float-side { display: none; }
}
@media (max-width: 600px) {
  .cat-grid, .product-grid, .news-grid, .contact-cards,
  .footer-cols, .why-grid, .app-grid,
  .honor-row, .service-grid, .stats .container { grid-template-columns: 1fr; }
  .timeline-grid { flex-direction: column; align-items: center; gap: 28px; }
  .tl-item { flex: 0 0 auto; width: 100%; max-width: 320px; margin-bottom: 0; }
  .timeline::before { display: none; }
  .cert-row { grid-template-columns: 1fr 1fr; }
  .inquiry-form { grid-template-columns: 1fr; }
  .sec-title { font-size: 24px; }
  .hero-copy .slogan { font-size: 36px; }
  .topbar .container { justify-content: center; }
}

/* ===================== Detail Pages ===================== */
.detail-bar { background: var(--dark); color: #fff; padding: 12px 0; }
.detail-bar .container { display: flex; gap: 26px; align-items: center; font-size: 14px; }
.detail-bar a { color: #ddd; }
.detail-bar a:hover, .detail-bar a.on { color: var(--orange); }

.article-wrap { max-width: 960px; margin: 0 auto; }
.article-wrap h1.title { font-size: 26px; line-height: 1.4; margin: 18px 0 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #999; font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid #eee; }
.article-meta b { color: var(--orange); font-weight: 600; }

.author-box { display: flex; gap: 14px; align-items: center; margin: 22px 0; padding: 14px 16px; background: var(--gray); border-radius: 8px; }
.author-box .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #ff8a2b, #ff6e00); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex: none; }
.author-box .name { font-weight: 700; font-size: 15px; }
.author-box .desc { color: #888; font-size: 13px; margin-top: 3px; }

.article-body { font-size: 15px; line-height: 1.9; color: #444; }
.article-body h3 { font-size: 18px; margin: 28px 0 12px; color: #222; }
.article-body p { margin-bottom: 14px; }
.article-body .ph { min-height: 380px; border-radius: 8px; margin: 20px 0; }
.article-body ul { margin: 0 0 16px 20px; }
.article-body ul li { list-style: disc; margin-bottom: 6px; }

.share-row { display: flex; align-items: center; gap: 10px; margin: 26px 0 10px; padding-top: 16px; border-top: 1px solid #eee; }
.share-row span { font-size: 13px; color: #999; }
.share-row a { width: 34px; height: 34px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; }
.share-row a:hover { background: var(--orange); color: #fff; }

.prev-next { display: flex; justify-content: space-between; gap: 20px; margin: 20px 0 8px; font-size: 14px; }
.prev-next a { color: #666; max-width: 48%; }
.prev-next a:hover { color: var(--orange); }

/* ===== Product Detail ===== */
.pd-layout { display: grid; grid-template-columns: 5fr 4fr; gap: 40px; align-items: start; }
.pd-gallery .main { border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.pd-gallery .main .ph { min-height: 340px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs .th { width: 72px; height: 72px; border: 1px solid #eee; border-radius: 6px; flex: none; cursor: pointer; position: relative; }
.pd-thumbs .th.on { border-color: var(--orange); }
.pd-thumbs .th::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #999; text-align: center; padding: 4px; }

.pd-info h1 { font-size: 24px; line-height: 1.4; margin-bottom: 16px; }
.pd-info ul.feat { margin-bottom: 20px; }
.pd-info ul.feat li { padding-left: 22px; position: relative; margin-bottom: 8px; font-size: 14px; color: #555; line-height: 1.6; }
.pd-info ul.feat li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 22px; }
.pd-attrs { border-top: 1px solid #eee; padding-top: 16px; font-size: 14px; }
.pd-attrs div { margin-bottom: 8px; color: #666; }
.pd-attrs b { color: #222; font-weight: 600; }
.pd-share { display: flex; align-items: center; gap: 10px; margin-top: 16px; }

.pd-desc { max-width: 960px; margin: 0 auto; font-size: 15px; line-height: 1.9; color: #444; }
.pd-desc h3 { font-size: 18px; margin: 26px 0 12px; color: #222; }
.pd-desc .ph { min-height: 320px; border-radius: 8px; margin: 18px 0; }
.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 20px 0; }
.pd-cols .ph { min-height: 240px; margin: 0 0 12px; }

.param-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.param-table th, .param-table td { border: 1px solid #f0d9c8; padding: 10px 14px; text-align: left; }
.param-table th { background: var(--orange); color: #fff; font-weight: 600; width: 32%; }
.param-table tr:nth-child(even) td { background: #fff7f0; }

.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.scene-card { position: relative; border-radius: 8px; overflow: hidden; }
.scene-card .ph { min-height: 200px; }
.scene-card .cap { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; text-align: center; padding: 8px; letter-spacing: 1px; }

.pattern-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.pattern-grid .ph { min-height: 240px; border-radius: 8px; }
.pattern-grid p { text-align: center; font-size: 13px; color: #666; margin-top: 8px; }

.faq-list { max-width: 960px; margin: 0 auto; }
.faq-item { border: 1px solid #eee; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 14px 46px 14px 16px; font-weight: 600; font-size: 14px; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 18px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans { padding: 0 16px 14px; color: #666; font-size: 14px; line-height: 1.8; }

@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-cols { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .pattern-grid { grid-template-columns: 1fr; }
}

/* ===================== 接口数据驱动组件 ===================== */
/* 占位图内的图片与标签 */
/* 真实图片：绝对定位铺满整个 .ph，并隐藏无图时的占位图标/文字 */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.ph:has(img)::before, .ph:has(img)::after { display: none; }
.ph-label { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55);
  color: #fff; font-size: 12px; padding: 6px 10px; text-align: center; }

/* 首页轮播图 */
.hero-banner { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.banner-slides { position: relative; width: 100%; height: 100%; min-height: 320px; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block; }
.banner-slide.on { opacity: 1; z-index: 2; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.hero-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: .3s; }
.hero-dots i.on { background: var(--orange); width: 22px; border-radius: 6px; }

/* 产品分类链接（产品页筛选） */
.cat-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.cat-links a { display: block; padding: 9px 12px; border-radius: 6px; color: #555; text-decoration: none; font-size: 14px; }
.cat-links a:hover { background: #fff3ea; color: var(--orange); }
.cat-links a.on { background: #5f94d9; color: #fff; }

/* 合作伙伴 logo */
.partner-strip { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.partner-strip span { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 14px 22px;
  font-weight: 700; letter-spacing: 1px; color: #555; min-width: 90px; text-align: center; }
.partner-strip .partner-logo { padding: 0; border: none; background: none; display: flex; align-items: center; }
.partner-strip .partner-logo img { height: 46px; width: auto; object-fit: contain; }

/* 友情链接 */
.friend-links { display: flex; gap: 10px 18px; flex-wrap: wrap; margin: 6px 0 24px; }
.friend-links a { color: #888; text-decoration: none; font-size: 13px; }
.friend-links a:hover { color: var(--orange); }
.friend-links:empty { display: none; }
