@charset "utf-8";
/* ==========================================================================
   棱锐照明 · LED 驱动电源  |  PBootCMS V3.2.32 模板
   视觉体系：深色工业底 + 香槟金点缀
   ========================================================================== */

:root {
  --gold: #c8a464;
  --gold-light: #e4c994;
  --dark: #0f1115;
  --dark-2: #161920;
  --dark-3: #1b1f28;
  --card: #131519;
  --gray: #8a8f99;
  --gray-2: #7a7f89;
  --text: #a8adb8;
  --light: #f5f5f7;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --ease: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--ease); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; }

.container { width: 92%; max-width: 1280px; margin: 0 auto; }

/* ---------- 通用区块 ---------- */
.section { padding: 110px 0; }
.section.alt { background: var(--dark-2); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 62px; }
.section-label {
  display: block; font-size: 12px; color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: 40px; font-weight: 700; color: var(--white);
  letter-spacing: 1px; margin-bottom: 18px; line-height: 1.35;
}
.section-desc { color: var(--gray); font-size: 16px; font-weight: 300; line-height: 1.9; }

.section-footer { text-align: center; margin-top: 52px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 32px; border-radius: 4px;
  font-size: 14px; font-weight: 500; letter-spacing: 1px;
  border: 1px solid transparent; cursor: pointer; transition: var(--ease);
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200, 164, 100, 0.25); }
.btn-outline { border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(200, 164, 100, 0.06); }

/* ---------- 顶部导航 ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 17, 21, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: var(--ease);
}
header.scrolled { background: rgba(15, 17, 21, 0.97); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; width: 92%; max-width: 1280px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 42px; height: 42px; border: 2px solid var(--gold); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 1px;
  flex: 0 0 auto;
}
.logo-text { font-size: 18px; font-weight: 500; color: var(--white); letter-spacing: 0.5px; white-space: nowrap; }
.logo-text span { font-size: 13px; color: var(--gold); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; font-size: 14px; color: var(--gray);
  letter-spacing: 0.5px; position: relative; padding: 6px 0;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--white); }
.nav > li > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0;
  height: 1.5px; background: var(--gold); transition: var(--ease);
}
.nav > li > a:hover::after, .nav > li.active > a::after { width: 100%; }

/* 二级菜单 */
.nav .sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 190px; padding: 10px 0; background: var(--dark-2);
  border: 1px solid var(--line); border-radius: 10px;
  opacity: 0; visibility: hidden; transition: var(--ease);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}
.nav > li:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav .sub a { display: block; padding: 9px 22px; font-size: 13px; color: var(--gray); white-space: nowrap; }
.nav .sub a:hover { color: var(--gold); background: rgba(200, 164, 100, 0.06); }

.lang-switch {
  font-size: 12px; font-weight: 500; color: var(--gray);
  padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px;
  display: inline-flex; align-items: center; gap: 4px; line-height: 1.4;
  white-space: nowrap;
}
.lang-switch:hover { color: var(--gold); border-color: var(--gold); }

/* 联系方式入口：桌面端显示手机号，窄屏收成“微信”按钮，保证联系方式入口不丢失 */
.qr-trigger-icon { font-size: 12px; line-height: 1; }
.qr-trigger-short { display: none; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: 0;
  position: relative; z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); transition: var(--ease); pointer-events: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 720px; display: flex;
  align-items: center; justify-content: center; text-align: center;
  overflow: hidden; padding: 140px 0 100px;
  background:
    radial-gradient(circle at 20% 30%, rgba(200, 164, 100, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(200, 164, 100, 0.07) 0%, transparent 42%),
    linear-gradient(to bottom, rgba(15, 17, 21, 0.2), var(--dark));
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 8px 18px; margin-bottom: 30px;
  border: 1px solid rgba(200, 164, 100, 0.42); border-radius: 100px;
  font-size: 12px; color: var(--gold-light); letter-spacing: 2px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.2;
  color: var(--white); letter-spacing: 1px; margin-bottom: 6px;
}
.hero h1 em { display: block; color: var(--gold); font-style: normal; letter-spacing: 2px; }
.hero p {
  font-size: clamp(15px, 1.4vw, 18px); color: var(--gray); font-weight: 300;
  line-height: 2; max-width: 700px; margin: 22px auto 0;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* ---------- 品牌 / 双卡 ---------- */
.brand-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; }
.brand-card {
  padding: 42px; background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line); border-radius: var(--radius); transition: var(--ease);
}
.brand-card:hover { border-color: rgba(200, 164, 100, 0.3); background: rgba(200, 164, 100, 0.03); transform: translateY(-4px); }
.brand-card h3 { font-size: 22px; color: var(--white); font-weight: 600; margin-bottom: 12px; }
.brand-card h3 span { color: var(--gold); }
.brand-card p { color: var(--gray); font-size: 15px; font-weight: 300; line-height: 1.9; }
.brand-divider { width: 1px; height: 120px; background: linear-gradient(to bottom, transparent, rgba(200, 164, 100, 0.4), transparent); }

/* ---------- 产品网格 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: var(--ease);
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: var(--ease);
}
.product-card:hover { border-color: rgba(200, 164, 100, 0.35); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.product-card:hover::before { opacity: 1; }
.product-image {
  height: 190px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a2823 0%, #12141a 100%);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--ease); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-tag {
  display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 4px;
  font-size: 11px; letter-spacing: 1px; color: var(--gold-light);
  background: rgba(200, 164, 100, 0.12);
}
.product-title { font-size: 18px; font-weight: 600; color: var(--white); line-height: 1.5; }
.product-spec { font-size: 13px; color: var(--gray); font-weight: 300; line-height: 1.9; flex: 1; }
.product-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gold); font-weight: 500; }
.product-link svg { width: 14px; height: 14px; transition: var(--ease); }
.product-card:hover .product-link { color: var(--gold-light); }
.product-card:hover .product-link svg { transform: translateX(4px); }

/* 紧凑列表卡（列表页） */
.product-card.compact .product-image { height: 185px; }
.product-card.compact .product-body { padding: 20px; gap: 9px; }
.product-card.compact .product-title { font-size: 16px; }
.product-card.compact .product-tag { background: none; padding: 0; font-size: 11px; color: var(--gold); }
.product-card.compact .product-spec { font-size: 12px; flex: 0; }

/* ---------- 优势 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item {
  padding: 36px; text-align: center; background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius); transition: var(--ease);
}
.why-item:hover { border-color: rgba(200, 164, 100, 0.28); transform: translateY(-4px); }
.why-icon {
  width: 54px; height: 54px; margin: 0 auto 20px; border: 1px solid rgba(200, 164, 100, 0.35);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.why-icon svg { width: 24px; height: 24px; }
.why-item h4 { font-size: 17px; color: var(--white); font-weight: 600; margin-bottom: 10px; }
.why-item p { font-size: 14px; color: var(--gray); font-weight: 300; line-height: 1.85; }

/* ---------- 新闻 ---------- */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 46px; }
.news-head .section-label { margin-bottom: 12px; }
.news-head h2 { font-size: 40px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gold); font-weight: 500; white-space: nowrap; }
.more-link:hover { color: var(--gold-light); }
.more-link svg { width: 15px; height: 15px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: var(--ease);
}
.news-card:hover { border-color: rgba(200, 164, 100, 0.32); transform: translateY(-5px); }
.news-image { height: 200px; overflow: hidden; background: linear-gradient(135deg, #2a2823 0%, #12141a 100%); }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--ease); }
.news-card:hover .news-image img { transform: scale(1.05); }
.news-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-date { font-size: 12px; color: var(--gold); letter-spacing: 1px; font-weight: 500; }
.news-title { font-size: 18px; font-weight: 600; color: var(--white); line-height: 1.55; }
.news-excerpt { font-size: 13px; color: var(--gray); font-weight: 300; line-height: 1.9; flex: 1; }
.news-card:hover .news-title { color: var(--gold-light); }

/* ---------- CTA ---------- */
.cta-section { background: var(--dark-2); padding: 88px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: 30px; font-weight: 700; color: var(--white); letter-spacing: 1px; margin-bottom: 12px; }
.cta-inner p { font-size: 15px; color: var(--gray); font-weight: 300; }

/* ---------- 内页头部 ---------- */
.page-banner {
  padding: 150px 0 64px; background: var(--dark-2); border-bottom: 1px solid var(--line);
}
.page-banner h1 { font-size: 42px; font-weight: 700; color: var(--white); letter-spacing: 2px; margin: 16px 0 14px; line-height: 1.3; }
.page-banner .desc { font-size: 16px; color: var(--gray); font-weight: 300; max-width: 800px; line-height: 1.9; }

.crumb { font-size: 13px; color: var(--gray); letter-spacing: 1px; }
.crumb a { color: var(--gray); }
.crumb a:hover { color: var(--gold); }
.crumb span, .crumb em { color: var(--gray-2); font-style: normal; margin: 0 8px; }

/* ---------- 筛选栏 ---------- */
.filter-bar { padding: 44px 0; }
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.filter-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-tabs a {
  padding: 9px 22px; border-radius: 100px; font-size: 13px; color: var(--gray);
  border: 1px solid var(--line-2); white-space: nowrap;
}
.filter-tabs a:hover { color: var(--white); border-color: rgba(200, 164, 100, 0.5); }
.filter-tabs a.on { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 500; }
.filter-count { font-size: 13px; color: var(--gray); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; padding: 40px 0 0; }
.pagebar, .pagination { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.pagebar a, .pagebar span, .pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px;
  border: 1px solid var(--line-2); color: var(--gray); font-size: 13px;
}
.pagebar a:hover, .pagination a:hover { color: var(--gold); border-color: var(--gold); }
.page-num-current, .pagebar .current, .pagination .current {
  background: var(--gold) !important; border-color: var(--gold) !important;
  color: var(--dark) !important; font-weight: 600;
}
.page-status { border: 0 !important; color: var(--gray-2) !important; }

/* ---------- 产品详情 ---------- */
.product-main { padding: 116px 0 84px; }
.product-main .crumb { margin-bottom: 28px; }
.product-main .inner { display: flex; gap: 56px; align-items: flex-start; }
.gallery { width: 540px; flex: 0 0 540px; }
.gallery-main {
  width: 100%; height: 440px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #2e2c26 0%, #12141a 100%);
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumbs li {
  width: 88px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line-2); cursor: pointer; background: #1a1d24;
}
.gallery-thumbs li.on { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info { flex: 1; min-width: 0; }
.product-info .tag {
  display: inline-block; padding: 6px 12px; border-radius: 4px; margin-bottom: 18px;
  font-size: 11px; letter-spacing: 1px; color: var(--gold-light); background: rgba(200, 164, 100, 0.12);
}
.product-info h1 { font-size: 34px; font-weight: 700; color: var(--white); letter-spacing: 1px; line-height: 1.35; margin-bottom: 16px; }
.product-info .summary { font-size: 15px; color: var(--gray); font-weight: 300; line-height: 2; margin-bottom: 12px; }

.spec-inline { margin: 8px 0 30px; }
.spec-inline li { display: flex; gap: 24px; padding: 12px 0; font-size: 14px; }
.spec-inline li span { width: 96px; flex: 0 0 96px; color: var(--gray-2); font-weight: 300; }
.spec-inline li em { color: #e6e8ec; font-style: normal; }
.product-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 参数表 ---------- */
.spec-section { background: var(--dark-2); padding: 84px 0 90px; }
.spec-section h2 { font-size: 34px; font-weight: 700; color: var(--white); letter-spacing: 1px; margin-bottom: 32px; }
.spec-table { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 17px 26px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--dark-3); color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: 1px; }
.spec-table tbody tr:nth-child(even) { background: #191d25; }
.spec-table tbody td:first-child { width: 300px; color: var(--gray); font-weight: 300; }
.spec-table tbody td:last-child { color: #e6e8ec; }
.spec-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 富文本正文 ---------- */
.article-wrap { padding: 60px 0 90px; }
.article-body { max-width: 880px; margin: 0 auto; font-size: 15px; color: var(--text); font-weight: 300; line-height: 2.4; }
.article-body p { margin-bottom: 26px; }
.article-body h2, .article-body h3, .article-body h4 { color: var(--white); font-weight: 600; margin: 34px 0 18px; line-height: 1.5; }
.article-body h2 { font-size: 21px; }
.article-body h3 { font-size: 18px; }
.article-body img { border-radius: 10px; margin: 26px auto; }
.article-body ul, .article-body ol { margin: 0 0 26px 22px; }
.article-body ul li { list-style: disc; margin-bottom: 10px; }
.article-body ol li { list-style: decimal; margin-bottom: 10px; }
.article-body a { color: var(--gold); }
.article-body blockquote {
  border-left: 2px solid var(--gold); padding: 6px 0 6px 22px; margin: 28px 0;
  color: var(--gray); font-style: normal;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14px; }
.article-body table th, .article-body table td { border: 1px solid var(--line-2); padding: 12px 16px; text-align: left; }
.article-body table th { background: var(--dark-3); color: var(--gold); font-weight: 500; }

.article-meta { font-size: 13px; color: var(--gray-2); }
.article-meta em { font-style: normal; margin: 0 8px; }

.article-nav { background: var(--dark-2); padding: 32px 0; border-top: 1px solid var(--line); }
.article-nav .inner { max-width: 880px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; }
.article-nav a { font-size: 14px; color: var(--gray); }
.article-nav a:hover { color: var(--gold); }

/* 新闻列表行 */
.article-list li { border-bottom: 1px solid var(--line); }
.article-list li:last-child { border-bottom: 0; }
.article-row { display: flex; align-items: center; gap: 24px; padding: 26px 0; }
.article-row .date { width: 96px; flex: 0 0 96px; font-size: 12px; color: var(--gray-2); }
.article-row .txt { flex: 1; min-width: 0; }
.article-row h3 { font-size: 17px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.article-row p { font-size: 13px; color: var(--gray); font-weight: 300; line-height: 1.85; }
.article-row:hover h3 { color: var(--gold-light); }

/* 置顶文章 */
.feature { display: flex; gap: 40px; align-items: center; padding-bottom: 30px; }
.feature .pic { width: 560px; flex: 0 0 560px; height: 320px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #2a2823 0%, #12141a 100%); }
.feature .pic img { width: 100%; height: 100%; object-fit: cover; }
.feature .txt { flex: 1; min-width: 0; }
.feature .date { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.feature h2 { font-size: 26px; font-weight: 700; color: var(--white); line-height: 1.5; margin: 16px 0; }
.feature p { font-size: 14px; color: var(--gray); font-weight: 300; line-height: 1.95; margin-bottom: 18px; }

/* ---------- 单页 ---------- */
.single-wrap { padding: 72px 0 80px; }
.single-body { max-width: 880px; margin: 0 auto; font-size: 16px; color: var(--text); font-weight: 300; line-height: 2.4; }
.single-body p { margin-bottom: 26px; }
.single-body h2, .single-body h3 { color: var(--white); font-weight: 600; margin: 36px 0 18px; }
.single-body h2 { font-size: 21px; }
.single-body h3 { font-size: 18px; }
.single-body img { border-radius: 10px; margin: 26px auto; }
.single-body ul, .single-body ol { margin: 0 0 26px 22px; }
.single-body ul li { list-style: disc; margin-bottom: 10px; }
.single-body ol li { list-style: decimal; margin-bottom: 10px; }
.single-body a { color: var(--gold); }
.single-lead { font-size: 17px; color: #cfd3da; line-height: 2.3; margin-bottom: 30px; }

.stats-row { display: flex; justify-content: space-between; gap: 30px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 34px 0; flex-wrap: wrap; }
.stats-row .item strong { display: block; font-size: 34px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.stats-row .item span { font-size: 13px; color: var(--gray); }

/* 联系我们（单页扩展） */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.contact-card { padding: 34px 30px; background: var(--dark-3); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .ico { width: 44px; height: 44px; border: 1px solid rgba(200, 164, 100, 0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 18px; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 15px; color: var(--white); font-weight: 600; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--gray); font-weight: 300; line-height: 1.9; word-break: break-all; }

/* ---------- 表单 ---------- */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-item { margin-bottom: 22px; }
.form-item label { display: block; font-size: 13px; color: var(--gray); margin-bottom: 9px; }
.form-item input, .form-item textarea, .form-item select {
  width: 100%; padding: 13px 16px; font-size: 14px; color: var(--white);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
  border-radius: 6px; outline: none; transition: var(--ease);
}
.form-item input:focus, .form-item textarea:focus, .form-item select:focus { border-color: var(--gold); background: rgba(200, 164, 100, 0.04); }
.form-item textarea { min-height: 140px; resize: vertical; }
.form-item select option { background: var(--dark-2); }
.form-submit { margin-top: 10px; }
.form-tip { font-size: 12px; color: var(--gray-2); margin-top: 14px; }

/* 搜索页 */
.search-form { display: flex; gap: 12px; max-width: 640px; margin: 0 auto 50px; }
.search-form input {
  flex: 1; padding: 14px 18px; font-size: 14px; color: var(--white);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
  border-radius: 6px; outline: none;
}
.search-form input:focus { border-color: var(--gold); }
.search-form button {
  padding: 0 30px; height: 52px; border: 0; border-radius: 6px;
  background: var(--gold); color: var(--dark); font-size: 14px; font-weight: 500; cursor: pointer;
}
.search-form button:hover { background: var(--gold-light); }
.empty-tip { text-align: center; color: var(--gray); font-size: 15px; padding: 60px 0; }

/* ---------- 页脚 ---------- */
footer { background: #0a0b0e; border-top: 1px solid var(--line); padding: 68px 0 28px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 420px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--gray); font-weight: 300; line-height: 1.95; }
.footer-nav { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 15px; color: var(--white); font-weight: 600; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col p { font-size: 14px; color: var(--gray); font-weight: 300; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-size: 13px; color: var(--gray-2); font-weight: 300; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 28px; bottom: 32px; width: 46px; height: 46px; z-index: 900;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(200, 164, 100, 0.12); border: 1px solid rgba(200, 164, 100, 0.4);
  border-radius: 50%; color: var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--dark); }

/* ---------- 入场动画：已移除 ----------
   历史教训：曾用 `opacity:0` + 脚本加类的方式做淡入，脚本或样式一旦不同步，
   产品卡、新闻卡会永久透明 —— 元素占位，页面看起来一片空白。
   结论：正文内容不做入场动画。内容必须无条件可见，装饰性的动效不值得这个风险。
   若日后确要加，请只对纯装饰元素（如分隔线）做，且不要改动 opacity 初始值。 */

/* ---------- 列表页 ---------- */
.list-wrap { padding: 0 0 90px; }

/* 置顶标记 */
.badge-gold {
  display: inline-block; margin-left: 10px; padding: 3px 8px;
  font-size: 11px; font-style: normal; font-weight: 400; letter-spacing: 1px;
  color: var(--gold-light); background: rgba(200, 164, 100, 0.12);
  border-radius: 4px; vertical-align: 3px;
}

/* ---------- 404 ---------- */
.error-box { text-align: center; padding: 20px 0 40px; }
.error-code { font-size: 120px; font-weight: 700; line-height: 1; color: rgba(200, 164, 100, 0.25); letter-spacing: 6px; }
.error-text { margin: 24px auto 32px; max-width: 520px; font-size: 15px; color: var(--gray); font-weight: 300; line-height: 1.9; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .product-main .inner { gap: 36px; }
  .gallery { width: 440px; flex: 0 0 440px; }
  .gallery-main { height: 380px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .section-title { font-size: 30px; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .news-head h2 { font-size: 30px; }

  /* 汉堡按钮：44px 触控区，展开时变 X */
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; margin-right: -6px;
    position: relative; z-index: 1002;
  }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* 导航收进抽屉后，联系方式按钮与汉堡菜单靠在一起，保持在右上角 */
  .contact-qr-trigger { margin-left: auto; margin-right: 8px; }

  /* 菜单展开 */
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; width: 100%;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 0; padding: 12px 4% 32px;
    background: #0f1115;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  }
  .nav.open { transform: translateX(0); }
  /* 菜单展开时锁住页面滚动，避免背景跟着滑 */
  body.menu-open { overflow: hidden; }

  .nav > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav > li:last-child { border-bottom: 0; }
  .nav > li > a { font-size: 16px; padding: 15px 0; }
  .nav > li.active > a { color: var(--gold); }
  .nav > li.active > a::after { width: 32px; }
  .nav > li > a:active { color: var(--gold); }

  .nav .sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: 0; box-shadow: none; min-width: 0;
    padding: 0 0 10px 12px; margin: 0 0 4px 1px;
    border-left: 1px solid var(--line-2); border-radius: 0;
  }
  .nav .sub a { padding: 9px 0; font-size: 14px; }
  .nav .sub a:active { color: var(--gold); }
  .nav > li:hover .sub { transform: none; }

  .hero { min-height: auto; padding: 130px 0 80px; }
  .brand-grid { grid-template-columns: 1fr; gap: 24px; }
  .brand-divider { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .product-main .inner { flex-direction: column; }
  .gallery { width: 100%; flex: 0 0 auto; }
  .gallery-main { height: 360px; }
  .feature { flex-direction: column; gap: 24px; }
  .feature .pic { width: 100%; flex: 0 0 auto; height: 240px; }
  .article-nav .inner { flex-direction: column; gap: 14px; }
  .spec-table tbody td:first-child { width: 140px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { gap: 36px; }
  .footer-nav { gap: 40px; }
}

@media (max-width: 680px) {
  /* 联系方式在移动端必须可见：手机号收起，只留“微信”图标按钮，不与汉堡菜单抢位置 */
  .lang-switch {
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; padding: 0 12px; margin-right: 8px;
    font-size: 12px; letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
  }
  .qr-trigger-icon, .qr-trigger-tel { display: none; }
  .qr-trigger-short { display: inline; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-body { padding: 18px; }
  .product-title { font-size: 15px; }
  .product-image { height: 150px; }
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 220px; }
  .page-banner { padding: 120px 0 46px; }
  .page-banner h1 { font-size: 30px; }
  .article-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .article-row .date { width: auto; flex: 0 0 auto; }
  .spec-table th, .spec-table td { padding: 13px 16px; font-size: 13px; }
  .spec-table tbody td:first-child { width: 110px; }
  .stats-row { gap: 22px; }
  .stats-row .item strong { font-size: 26px; }
  .product-info h1 { font-size: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .to-top { right: 16px; bottom: 20px; }
}

/* ==========================================================================
   WordPress 适配层
   1) 正文表格在窄屏可横向滑动（导入时给每张表包了 .table-scroll）
   2) 搜索页、图集空态、画册长图
   3) 分页条：把 WP 的 .page-numbers 映射到原模板的 .pagination 外观
   ========================================================================== */

.table-scroll {
  width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  /* 右侧渐隐，暗示还能往右滑 */
  background:
    linear-gradient(to left, rgba(15, 17, 21, 0.9), rgba(15, 17, 21, 0)) right center / 28px 100% no-repeat local;
}
.table-scroll table { margin: 0; min-width: 540px; }
.table-scroll::-webkit-scrollbar { height: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 3px; }

.gallery-empty {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--gray-2); font-size: 13px; letter-spacing: 1px;
}

/* 画册类长图文：解除 880px 正文宽度限制 */
.catalog-body { max-width: 100%; }
.catalog-body img { width: 100%; height: auto; border-radius: 8px; margin: 18px 0; }
.catalog-body hr.pagebreak {
  height: 1px; border: 0; margin: 34px 0;
  background: var(--line);
}

/* ---------- 搜索结果 ---------- */
.search-summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.search-summary p { font-size: 14px; color: var(--gray); font-weight: 300; }
.search-summary p em { color: var(--gold); font-style: normal; font-weight: 600; padding: 0 2px; }
.page-banner .kw { color: var(--gold); font-style: normal; font-weight: 500; margin-left: 10px; }

.search-form--inline { display: flex; gap: 8px; }
.search-form--inline input {
  flex: 1 1 auto; width: 230px; min-width: 0;
  height: 42px; padding: 0 14px; font-size: 13px; color: var(--white);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
  border-radius: 8px; outline: none;
}
.search-form--inline input::placeholder { color: var(--gray-2); }
.search-form--inline input:focus { border-color: var(--gold); background: rgba(200, 164, 100, 0.04); }
.search-form--inline button {
  flex: 0 0 auto; white-space: nowrap;
  height: 42px; padding: 0 20px; border: 0; border-radius: 8px;
  background: var(--gold); color: var(--dark); font-size: 13px; font-weight: 500; cursor: pointer;
}
.search-form--inline button:hover { background: var(--gold-light); }

.search-cat {
  display: inline-block; font-size: 11px; line-height: 1; letter-spacing: 0.5px;
  padding: 4px 7px; margin-right: 8px; border-radius: 4px; vertical-align: 2px;
  color: var(--gold); background: rgba(200, 164, 100, 0.12);
}
.search-list .article-row .txt p {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 680px) {
  .search-summary { flex-direction: column; align-items: stretch; gap: 14px; }
  .search-form--inline input { width: 100%; }
}

/* ---------- 分页条：承接 WP 的 .page-numbers ---------- */
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px; margin: 0 4px;
  border: 1px solid var(--line-2); border-radius: 8px;
  font-size: 13px; color: var(--gray); transition: var(--ease);
}
.pagination .page-numbers:hover { color: var(--gold); border-color: var(--gold); }
.pagination .page-numbers.current {
  color: var(--dark); background: var(--gold); border-color: var(--gold); font-weight: 600;
}
.pagination .page-numbers.dots { border: 0; pointer-events: none; }

/* 后台编辑器里的正文预览，避免深色底上的白字看不见 */

/* ==========================================================================
   GEO 内容模块 · v1.0.2
   规格书式左对齐 + 细线分隔；不引入新配色、不用圆角卡片堆。
   ========================================================================== */

/* 要点摘要：标签—值定义列表，结论用香槟金细线锚定 */
.geo-brief { padding: 46px 0; background: var(--dark-2); border-top: 1px solid var(--line); }
.geo-brief-title,
.geo-faq-title {
  font-size: 18px; font-weight: 600; color: var(--white);
  margin: 0 0 22px; line-height: 1.5;
}
.geo-brief-title::before,
.geo-faq-title::before {
  content: ""; display: inline-block; width: 20px; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 12px;
}
.geo-brief-list { max-width: 880px; }
.geo-brief-row {
  display: flex; gap: 20px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.geo-brief-row:first-child { border-top: 1px solid var(--line); }
.geo-brief-row dt {
  flex: 0 0 26px; font-size: 12px; font-weight: 600; color: var(--gold);
  letter-spacing: 1px; font-variant-numeric: tabular-nums;
}
.geo-brief-row dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text); }
.geo-brief-row dd strong { color: var(--light); font-weight: 600; }

/* 多角度章节：每个结论一段，标题即用户会问的原话 */
.geo-angles { padding: 76px 0 20px; }
.geo-angle { max-width: 880px; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.geo-angle:last-child { border-bottom: 0; margin-bottom: 0; }
.geo-angle h2 {
  font-size: 22px; font-weight: 600; color: var(--white);
  margin: 0 0 12px; line-height: 1.5;
}
.geo-angle p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--text); }

/* 常见问题：原生 details，键盘可用，无 JS 依赖 */
.geo-faq { padding: 60px 0 20px; }
.geo-faq-list { max-width: 880px; border-top: 1px solid var(--line); }
.geo-faq-item { border-bottom: 1px solid var(--line); }
.geo-faq-item summary {
  position: relative; padding: 18px 40px 18px 0; cursor: pointer;
  font-size: 16px; font-weight: 500; color: var(--light);
  line-height: 1.6; list-style: none;
}
.geo-faq-item summary::-webkit-details-marker { display: none; }
.geo-faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 300; color: var(--gold); line-height: 1;
}
.geo-faq-item[open] summary::after { content: "\2212"; }
.geo-faq-item summary:hover { color: var(--white); }
.geo-faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.geo-faq-answer {
  padding: 0 40px 20px 0; max-width: 76ch;
  font-size: 15px; line-height: 1.85; color: var(--text);
}

/* 结论：收束段，浅底一行 */
.geo-conclusion { padding: 30px 0 70px; }
.geo-conclusion .container { border-left: 2px solid var(--gold); padding: 6px 0 6px 22px; max-width: 902px; }
.geo-conclusion h2 { font-size: 16px; font-weight: 600; color: var(--gold); margin: 0 0 8px; }
.geo-conclusion p { margin: 0; max-width: 76ch; font-size: 15px; line-height: 1.85; color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .geo-faq-item summary, .geo-faq-item summary::after { transition: none; }
}

@media (max-width: 680px) {
  .geo-brief { padding: 34px 0; }
  .geo-brief-row { gap: 12px; }
  .geo-brief-row dd { font-size: 14px; }
  .geo-angles { padding: 52px 0 10px; }
  .geo-angle h2 { font-size: 19px; }
  .geo-faq { padding: 44px 0 10px; }
  .geo-faq-item summary { font-size: 15px; }
  .geo-conclusion { padding: 20px 0 48px; }
}
