/* 导入共享样式 */
/* === base.css === */
/* base.css - 基础样式（重置、排版） */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body, 'Inter', sans-serif); color: var(--text, #333); line-height: 1.6; background: var(--background, #fff); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading, 'Inter', sans-serif); color: var(--text, #333); line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin: 2rem 0 1rem; }
h3 { font-size: 1.4rem; margin: 1.5rem 0 0.75rem; }
p { margin-bottom: 1rem; }
a { color: var(--link-color, var(--primary, #1a1a2e)); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent, #e94560); }
img { max-width: 100%; height: auto; }
ul, ol { margin-inline-start: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.btn-primary { background: var(--accent, #e94560); color: var(--btn-text, #fff); border: none; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent, #e94560); border: 2px solid var(--accent, #e94560); }
.btn-outline:hover { background: var(--accent, #e94560); color: #fff; transform: translateY(-2px); }

/* Screen reader only - 对搜索引擎可见，对用户隐藏 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 隐藏文章内容中的第一个H1标题（避免与模板标题重复） */
.article-content > h1:first-child {
  display: none;
}

/* 导航栏样式 - 风格原型变量驱动 */
.site-header {
  background: var(--header-bg, var(--card-bg, #fff));
  border-bottom: var(--header-border, 1px solid var(--border, #eef0f2));
  box-shadow: var(--header-shadow, none);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: var(--header-padding-y, 15px) 0;
  flex-wrap: nowrap;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--header-nav-gap, 0.25rem);
  flex-wrap: nowrap;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo,
.site-header .logo a {
  color: var(--logo-color, var(--primary, #1a1a2e));
  font-weight: var(--header-logo-weight, 700);
  font-size: var(--header-logo-size, 1.4rem);
  letter-spacing: var(--header-logo-spacing, normal);
}

.site-header nav a,
.site-header .nav-link {
  color: var(--nav-text-color, var(--text, #333));
  font-size: var(--header-nav-size, 0.95rem);
  font-weight: var(--header-nav-weight, 500);
  text-transform: var(--header-nav-transform, none);
  letter-spacing: var(--header-nav-spacing, normal);
}

.site-header nav a:hover,
.site-header .nav-link:hover {
  color: var(--header-text-hover, var(--primary, #1a1a2e));
}

.site-header nav a.active,
.site-header .nav-link.active {
  color: var(--header-text-hover, var(--primary, #1a1a2e));
  font-weight: 600;
}

/* Header CTA 按钮 — 风格原型可覆盖 */
.header-actions .btn-primary {
  border-radius: var(--header-cta-radius, 5px);
  font-weight: var(--header-cta-weight, 600);
  padding: var(--header-cta-padding, 10px 24px);
  font-size: var(--header-cta-size, 0.9rem);
}

/* 语言切换器样式 */
.lang-switcher {
  position: relative;
  display: inline-block;
  margin-inline-start: 1rem;
}

.lang-switcher-btn {
  background: none;
  border: 1px solid var(--border, #ddd);
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text, #333);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.lang-switcher-btn:hover {
  border-color: var(--primary, #1a1a2e);
}

.lang-switcher-btn .fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.lang-switcher.open .lang-switcher-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: 100%;
  margin-top: 4px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #ddd);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
  min-width: 180px;
  overflow: hidden;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  color: var(--text, #333);
  font-size: 0.8rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.lang-dropdown a:hover {
  background: var(--background, #f5f5f5);
}

.lang-dropdown a.active {
  color: var(--primary, #1a1a2e);
  font-weight: 600;
  background: var(--background, #f5f5f5);
}

.lang-dropdown.show {
  display: block;
}

.lang-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
  margin-inline-end: 2px;
  flex-shrink: 0;
}

/* ===== 货币切换器 ===== */
.currency-switcher {
  position: relative;
  display: inline-block;
  margin-inline-start: 0.5rem;
}

.currency-switcher-btn {
  background: none;
  border: 1px solid var(--border, #ddd);
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text, #333);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.currency-switcher-btn:hover {
  border-color: var(--primary, #1a1a2e);
}

.currency-switcher-btn .fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.currency-switcher.open .currency-switcher-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.currency-dropdown {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: 100%;
  margin-top: 4px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #ddd);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
  min-width: 130px;
  overflow: hidden;
}

.currency-dropdown a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  color: var(--text, #333);
  font-size: 0.8rem;
  white-space: nowrap;
  transition: background 0.2s;
  cursor: pointer;
}

.currency-dropdown a:hover {
  background: var(--background, #f5f5f5);
}

.currency-dropdown a.active {
  color: var(--primary, #1a1a2e);
  font-weight: 600;
  background: var(--background, #f5f5f5);
}

.currency-dropdown.show {
  display: block;
}

/* ===== B3 导航结构变体样式 ===== */

/* nav-v-classic: 由 .site-header 默认样式控制 */

/* nav-v-minimal: 精简导航 */
.site-header--minimal { border-bottom: none; box-shadow: none; }
.main-nav--minimal { gap: 1.25rem; }
.main-nav--minimal .nav-link { font-size: 0.95rem; font-weight: 500; }

/* nav-v-split: 三分栏（logo | nav | actions） */
.site-header--split .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.main-nav--center { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.5rem; }
.nav-links a { display: block; padding: 0.5rem 0.85rem; text-decoration: none; color: inherit; border-radius: 6px; transition: background 0.2s; }
.nav-links a:hover, .nav-links a.active { background: var(--light, #f5f5f5); }

/* nav-v-tabs: 标签式导航 */
.site-header--tabs .main-nav--tabs { display: flex; gap: 0; }
.nav-tab { display: block; padding: 0.75rem 1.25rem; text-decoration: none; color: inherit; border-bottom: 3px solid transparent; font-weight: 500; transition: border-color 0.2s, color 0.2s; }
.nav-tab:hover { color: var(--link-color, var(--primary, #1a1a2e)); }
.nav-tab.active { border-bottom-color: var(--primary, #1a1a2e); color: var(--link-color, var(--primary, #1a1a2e)); }

/* nav-v-overlay: 透明悬浮 */
.site-header--overlay { background: transparent; position: absolute; top: 0; inset-inline-start: 0; inset-inline-end: 0; z-index: 100; border-bottom: none; transition: background 0.3s, box-shadow 0.3s; }
.site-header--overlay .nav-link, .site-header--overlay .logo { color: #fff; }
.site-header--overlay .nav-link:hover, .site-header--overlay .nav-link.active { color: rgba(255,255,255,0.85); }
.site-header--overlay.scrolled { background: var(--background, #fff); position: fixed; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.site-header--overlay.scrolled .nav-link, .site-header--overlay.scrolled .logo { color: var(--text, #333); }

/* nav-v-cta-strong: B2B 强 CTA */
.site-header--bulk .header-actions { margin-inline-start: 1rem; }
.site-header--bulk .header-actions .btn { padding: 0.55rem 1.25rem; font-weight: 600; white-space: nowrap; }

/* === hero.css === */
/* hero.css - Hero 区域样式 */
.page-header { position: relative; overflow: hidden; }

/* Hero 样式（默认） */
.page-header.hero {
  background: linear-gradient(135deg, var(--primary, #1a1a2e) 0%, var(--gradient-secondary, #16213e) 100%);
  color: var(--header-text-color, #fff);
  padding: 80px 0;
  text-align: center;
}
.page-header.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.page-header.hero .subtitle { font-size: 1.2rem; opacity: 0.9; margin-bottom: 1.5rem; }

/* Classic 样式 */
.page-header.classic {
  background: var(--background, #fff);
  color: var(--text, #333);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border, #eef0f2);
}
.page-header.classic h1 { font-size: 2.2rem; color: var(--text, #333); }

/* Minimal 样式 */
.page-header.minimal {
  background: var(--background, #fff);
  color: var(--text, #333);
  padding: 40px 0;
  text-align: start;
}
.page-header.minimal h1 { font-size: 1.8rem; color: var(--text, #333); }

/* Centered 样式 */
.page-header.centered {
  background: var(--light, #f8f9fa);
  color: var(--text, #333);
  padding: 60px 0;
  text-align: center;
}
.page-header.centered h1 { font-size: 2rem; color: var(--primary, #1a1a2e); }

/* Transparent 样式 */
.page-header.transparent {
  background: transparent;
  color: var(--text, #333);
  padding: 60px 0;
  text-align: center;
}
.page-header.transparent h1 { font-size: 2.2rem; }

/* Banner 样式 */
.page-header.banner {
  background-color: var(--primary, #1a1a2e);
  color: #fff;
  padding: 40px 0;
  text-align: start;
}
.page-header.banner h1 { font-size: 2rem; }

/* Image 样式 */
.page-header.image {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.page-header.image::before {
  content: '';
  position: absolute;
  top: 0; inset-inline-start: 0; inset-inline-end: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}
.page-header.image h1 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ===== B3 结构变体样式 ===== */

/* hero-v-fullscreen: 由 .page-header.hero / .classic 等 header_style 类控制 */

/* hero-v-split: 左右分栏 */
.hero-split-inner { display: flex; align-items: center; gap: 40px; }
.hero-split-text { flex: 1; }
.hero-split-text h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero-split-desc { font-size: 1.15rem; opacity: 0.85; margin-bottom: 1.5rem; line-height: 1.6; }
.hero-split-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-split-media { flex: 0 0 45%; }
.hero-split-img { width: 100%; border-radius: 12px; object-fit: cover; }
@media (max-width: 768px) {
  .hero-split-inner { flex-direction: column; text-align: center; }
  .hero-split-actions { justify-content: center; }
  .hero-split-media { flex: none; width: 100%; }
}

/* hero-v-banner-search: 居中横幅 + CTA 条 */
.hero-v-banner-search { background: linear-gradient(135deg, var(--primary, #1a1a2e) 0%, var(--gradient-secondary, #16213e) 100%); color: #fff; padding: 60px 0; text-align: center; }
.hero-v-banner-search h1 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.hero-banner-sub { font-size: 1.15rem; opacity: 0.9; margin-bottom: 1.5rem; }
.hero-search-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* hero-v-editorial: 叙事型 + 重叠图片 */
.hero-v-editorial { background: var(--light, #f8f9fa); padding: 80px 0 100px; }
.hero-editorial-inner { display: flex; align-items: flex-end; gap: 40px; }
.hero-editorial-text { flex: 1; }
.hero-editorial-text h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1rem; color: var(--text, #333); }
.hero-editorial-sub { font-size: 1.2rem; color: var(--text, #555); line-height: 1.6; }
.hero-editorial-media { flex: 0 0 45%; position: relative; bottom: -40px; }
.hero-editorial-img { width: 100%; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
@media (max-width: 768px) {
  .hero-editorial-inner { flex-direction: column; align-items: center; text-align: center; }
  .hero-editorial-media { bottom: 0; width: 100%; }
}

/* hero-v-compact: 矮横幅 + 信任条 */
.hero-v-compact { background: var(--primary, #1a1a2e); color: #fff; padding: 36px 0; text-align: center; }
.hero-v-compact h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hero-compact-sub { font-size: 1rem; opacity: 0.85; margin: 0; }
.hero-v-compact + .trust-bar, .page-header.hero-v-compact ~ .trust-bar { background: var(--light, #f8f9fa); padding: 16px 0; border-bottom: 1px solid var(--border, #eef0f2); }
.trust-bar-inner { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text, #555); }
.trust-item i { color: var(--primary, #1a1a2e); }

/* hero-v-centered-cta: 居中大标题 + CTA */
.hero-v-centered-cta { background: linear-gradient(135deg, var(--primary, #1a1a2e) 0%, var(--gradient-secondary, #16213e) 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero-v-centered-cta h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-centered-desc { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; max-width: 640px; margin-inline-start: auto; margin-inline-end: auto; }
.hero-centered-actions .btn-lg { padding: 14px 36px; font-size: 1.1rem; }

/* hero-v-visual-cover: 全屏背景图覆盖 */
.hero-v-visual-cover { min-height: 480px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.hero-visual-overlay { background: rgba(0,0,0,0.45); width: 100%; padding: 80px 0; text-align: center; color: #fff; }
.hero-v-visual-cover h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-visual-desc { font-size: 1.25rem; opacity: 0.95; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

/* hero-v-catalog-search: 目录/搜索型 */
.hero-v-catalog-search { background: var(--light, #f8f9fa); padding: 60px 0; text-align: center; }
.hero-v-catalog-search h1 { font-size: 2.2rem; color: var(--text, #333); margin-bottom: 0.75rem; }
.hero-catalog-desc { color: var(--text, #666); margin-bottom: 1.5rem; font-size: 1.1rem; }
.hero-catalog-form { display: flex; gap: 0; max-width: 520px; margin: 0 auto; }
.hero-catalog-input { flex: 1; padding: 12px 16px; border: 2px solid var(--border, #ddd); border-inline-end: none; border-start-start-radius: 8px; border-end-start-radius: 8px; font-size: 1rem; outline: none; }
.hero-catalog-input:focus { border-color: var(--primary, #1a1a2e); }
.hero-catalog-form .btn { border-start-end-radius: 8px; border-end-end-radius: 8px; }

/* hero-v-split-metrics: 左右分栏 + 指标条 */
.hero-v-split-metrics { background: var(--light, #f8f9fa); padding: 80px 0; }
.hero-split-metrics-inner { display: flex; align-items: center; gap: 48px; }
.hero-split-metrics-text { flex: 1; }
.hero-split-metrics-text h1 { font-size: 2.5rem; color: var(--text, #333); margin-bottom: 1rem; }
.hero-split-metrics-desc { font-size: 1.15rem; color: var(--text, #555); margin-bottom: 1.5rem; line-height: 1.6; }
.hero-split-metrics-stats { flex: 0 0 35%; display: flex; flex-direction: column; gap: 20px; }
.metric-item { background: var(--background, #fff); border-radius: 12px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); text-align: center; }
.metric-num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary, #1a1a2e); }
.metric-label { font-size: 0.95rem; color: var(--text, #666); }
@media (max-width: 768px) {
  .hero-split-metrics-inner { flex-direction: column; text-align: center; }
  .hero-split-metrics-stats { flex: none; width: 100%; flex-direction: row; }
  .metric-item { flex: 1; }
}

/* hero-v-minimal: 极简排版 — 发丝线 + 纯文字，无色块无按钮 */
.hero-v-minimal { background: transparent; padding: 48px 0 40px; border-bottom: 1px solid var(--border, #eef0f2); }
.hero-minimal-inner { max-width: 720px; }
.hero-minimal-rule { width: 48px; height: 2px; background: var(--primary, #1a1a2e); border: none; margin: 0 0 24px; }
.hero-v-minimal h1 { font-size: 2.25rem; font-weight: 700; color: var(--text, #222); margin: 0 0 12px; line-height: 1.25; letter-spacing: -0.02em; }
.hero-minimal-desc { font-size: 1.1rem; color: var(--text-light, #666); margin: 0; line-height: 1.7; max-width: 560px; }
@media (max-width: 768px) {
  .hero-v-minimal { padding: 32px 0 28px; }
  .hero-v-minimal h1 { font-size: 1.75rem; }
  .hero-minimal-desc { font-size: 1rem; }
}

/* === sidebar.css === */
/* sidebar.css - 侧边栏样式 */
/* 文章页/产品页双栏：侧栏不挤压正文宽度，占满浏览器宽度 */
.article-page > .container,
.product-detail-page > .container { max-width: none; }
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.content-main { min-width: 0; }
.sidebar { width: 300px; }
.sidebar-widget { padding: 20px; background: var(--light, #f5f5f5); border-radius: 8px; margin-bottom: 20px; }
.sidebar-widget h3 { font-size: 1.1rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary, #1a1a2e); color: var(--text, #333); }

/* 标签列表（树形样式，无背景框） */
.tag-list { list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: 6px 0; font-size: 0.9rem; border-bottom: 1px solid var(--border, #eee); }
.tag-list li:last-child { border-bottom: none; }
.tag-list li::before { content: "•"; color: var(--primary, #1a1a2e); margin-inline-end: 8px; font-weight: bold; }
.tag-list li a { color: var(--text, #555); text-decoration: none; transition: color 0.3s; }
.tag-list li a:hover { color: var(--accent, #e94560); }

/* 侧边栏相关文章 */
.related-articles { display: flex; flex-direction: column; gap: 12px; }
.related-article { display: flex; flex-direction: column; gap: 4px; }
.related-article a { font-size: 0.9rem; color: var(--text, #1a1a2e); text-decoration: none; line-height: 1.4; transition: color 0.3s; }
.related-article a:hover { color: var(--accent, #e94560); }
.related-date { font-size: 0.8rem; color: var(--text, #999); }
.no-related { font-size: 0.85rem; color: var(--text, #999); font-style: italic; margin: 0; }

/* 侧边栏 FAQ */
.faq-section { display: flex; flex-direction: column; gap: 0; }
.faq-item { display: flex; flex-direction: column; gap: 0; margin-bottom: 4px; border-bottom: 1px solid var(--border, #e5e7eb); }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-weight: 600; font-size: 0.9rem; color: var(--text, #1a1a2e); cursor: pointer; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { font-size: 0.85rem; color: var(--text, #666); line-height: 1.4; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 0 8px 0; }

/* ===== B3 页面级双栏/三栏布局（render-sections.html） ===== */
/* 有侧栏时占满浏览器宽度，主区域拿剩余空间，图片/商品卡片不被挤窄 */
.page-cols {
  display: grid;
  gap: 32px;
  padding: 40px 20px;
}
.page-cols--right { grid-template-columns: 1fr 320px; }
.page-cols--left  { grid-template-columns: 320px 1fr; }
.page-cols--both  { grid-template-columns: 320px 1fr 320px; }
.page-cols-main { min-width: 0; }
.page-cols-side { width: 320px; }
.page-cols .sidebar-widget { padding: 20px; background: var(--light, #f5f5f5); border-radius: 8px; margin-bottom: 20px; }

/* ===== 侧栏内区块适配（sidebar-widget 内的 section 压缩为窄栏卡片样式） ===== */
.page-cols-side .sidebar-widget { overflow: hidden; }
.page-cols-side .sidebar-widget .container { max-width: 100%; padding: 0; }
.page-cols-side .sidebar-widget section { padding: 0; margin: 0; }
.page-cols-side .sidebar-widget section h2,
.page-cols-side .sidebar-widget section h3 { font-size: 1rem; margin-bottom: 12px; text-align: start; }
.page-cols-side .sidebar-widget section p { font-size: 0.85rem; line-height: 1.5; }
.page-cols-side .sidebar-widget section .section-subtitle { display: none; }

/* --- 1. article-list / blog-card --- */
.page-cols-side .blog-list { padding: 0; }
.page-cols-side .blog-grid {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  grid-template-columns: none !important;
}
.page-cols-side .blog-card {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
  border-radius: 0;
  box-shadow: none;
}
.page-cols-side .blog-card:last-child { border-bottom: none; }
.page-cols-side .blog-card-image { width: 72px; flex-shrink: 0; }
.page-cols-side .blog-card-image img { height: 56px; object-fit: cover; border-radius: 4px; }
.page-cols-side .blog-card-content { padding: 0; }
.page-cols-side .blog-card-content h2 { font-size: 0.82rem; margin: 0 0 4px; line-height: 1.3; }
.page-cols-side .blog-card-content h2 a { color: var(--text, #333); }
.page-cols-side .blog-card-excerpt { display: none; }
.page-cols-side .blog-card-meta { font-size: 0.72rem; }
.page-cols-side .blog-card-category { font-size: 0.7rem; padding: 2px 6px; }

/* --- 2. brand-story --- */
.page-cols-side .brand-story { padding: 0; }
.page-cols-side .brand-story-inner {
  flex-direction: column;
  gap: 12px;
  direction: ltr !important;
}
.page-cols-side .brand-story-inner > * { direction: ltr !important; width: 100% !important; }
.page-cols-side .brand-story-image img { width: 100%; border-radius: 6px; }
.page-cols-side .brand-story-content h2 { font-size: 1.05rem; }
.page-cols-side .brand-story-content p { font-size: 0.82rem; }

/* --- 3. case-study --- */
.page-cols-side .sec-case-study { padding: 0; }
.page-cols-side .sec-case-study h2 { text-align: start; margin: 0 0 12px; }
.page-cols-side .sec-case-grid {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  grid-template-columns: none !important;
}
.page-cols-side .sec-case-card { padding: 10px; border-radius: 6px; }
.page-cols-side .sec-case-image img { height: 100px; object-fit: cover; border-radius: 4px; }
.page-cols-side .sec-case-content h3 { font-size: 0.85rem; margin: 0 0 4px; }
.page-cols-side .sec-case-content p { font-size: 0.8rem; }
.page-cols-side .sec-case-link { font-size: 0.8rem; }

/* --- 4. category-nav --- */
.page-cols-side .category-nav { padding: 0; }
.page-cols-side .category-nav-grid {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  grid-template-columns: none !important;
}
.page-cols-side .category-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
}
.page-cols-side .category-nav-item i { font-size: 1rem; }

/* --- 5. content-body --- */
.page-cols-side .category-article { padding: 0; }
.page-cols-side .article-content { font-size: 0.85rem; line-height: 1.6; }
.page-cols-side .article-content h2 { font-size: 1rem; margin: 16px 0 8px; }
.page-cols-side .article-content img { border-radius: 6px; }

/* --- 6. cta-banner --- */
.page-cols-side .cta-section { padding: 0; text-align: center; }
.page-cols-side .cta-section h2 { font-size: 1.05rem; }
.page-cols-side .cta-section p { font-size: 0.82rem; }

/* --- 7. faq（已有 sidebar-widget .faq-* 基础样式，仅做间距微调） --- */
.page-cols-side .faq-section { padding: 0; }
.page-cols-side .faq-question { font-size: 0.85rem; }
.page-cols-side .faq-answer { font-size: 0.8rem; }

/* --- 8. feature-grid --- */
.page-cols-side .feature-grid { padding: 0; }
.page-cols-side .feature-grid-columns {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  grid-template-columns: none !important;
}
.page-cols-side .feature-item {
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  text-align: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.page-cols-side .feature-item:last-child { border-bottom: none; }
.page-cols-side .feature-item .feature-icon {
  grid-row: 1 / 3;
  font-size: 1.15rem;
  margin-bottom: 0;
  align-self: start;
}
.page-cols-side .feature-item h3 {
  grid-column: 2;
  font-size: 0.85rem;
  margin: 0;
}
.page-cols-side .feature-item p {
  grid-column: 2;
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-secondary, #666);
}
.page-cols-side .feature-link { font-size: 0.8rem; margin-top: 8px; }

/* --- 9. gallery --- */
.page-cols-side .sec-gallery { padding: 0; }
.page-cols-side .sec-gallery h2 { text-align: start; margin: 0 0 12px; }
.page-cols-side .sec-gallery-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px;
}
.page-cols-side .sec-gallery-item img { border-radius: 4px; }
.page-cols-side .sec-gallery-caption { font-size: 0.75rem; padding: 4px 0 0; }

/* --- 10. hero-banner（区块级 hero，非页面 hero） --- */
.page-cols-side .sec-hero-banner { padding: 20px 16px; border-radius: 8px; }
.page-cols-side .sec-hero-banner-content h2 { font-size: 1.1rem; margin: 0 0 8px; }
.page-cols-side .sec-hero-banner-content p { font-size: 0.82rem; margin: 0 0 12px; }
.page-cols-side .sec-hero-banner .sec-hero-btn { font-size: 0.82rem; padding: 8px 16px; }

/* --- 11. pricing --- */
.page-cols-side .sec-pricing { padding: 0; }
.page-cols-side .sec-pricing h2 { text-align: start; margin: 0 0 4px; }
.page-cols-side .sec-pricing .sec-pricing-subtitle { text-align: start; margin: 0 0 12px; font-size: 0.82rem; }
.page-cols-side .sec-pricing-grid {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  grid-template-columns: none !important;
}
.page-cols-side .sec-pricing-card { padding: 14px; border-radius: 8px; }
.page-cols-side .sec-pricing-price { font-size: 1.3rem; }
.page-cols-side .sec-pricing-features { font-size: 0.8rem; padding: 0; }
.page-cols-side .sec-pricing-features li { padding: 4px 0; font-size: 0.8rem; }
.page-cols-side .sec-pricing-btn { width: 100%; text-align: center; }

/* --- 12. product-grid --- */
.page-cols-side .sec-product-grid { padding: 0; }
.page-cols-side .sec-product-grid-columns {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  grid-template-columns: none !important;
}
.page-cols-side .sec-product-card { display: flex; gap: 10px; border-radius: 6px; overflow: hidden; }
.page-cols-side .sec-product-card-image { width: 80px; flex-shrink: 0; }
.page-cols-side .sec-product-card-image img { height: 80px; object-fit: cover; }
.page-cols-side .sec-product-card-content { padding: 8px 10px; }
.page-cols-side .sec-product-card-content h3 { font-size: 0.82rem; margin: 0 0 4px; }
.page-cols-side .sec-product-price { font-size: 0.85rem; }

/* --- 13. product-highlight --- */
.page-cols-side .product-highlight { padding: 0; }
.page-cols-side .product-highlight-inner {
  flex-direction: column;
  gap: 12px;
}
.page-cols-side .product-highlight-image img { border-radius: 6px; }
.page-cols-side .product-highlight-content h3 { font-size: 1rem; }
.page-cols-side .product-highlight-content p { font-size: 0.82rem; }

/* --- 14. stats --- */
.page-cols-side .sec-stats-bar { padding: 0; background: transparent; }
.page-cols-side .sec-stats-bar h2 { text-align: start; margin: 0 0 12px; }
.page-cols-side .sec-stats-bar-items {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
}
.page-cols-side .sec-stat-item {
  text-align: start;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.page-cols-side .sec-stat-number { font-size: 1.3rem; }
.page-cols-side .sec-stat-label { font-size: 0.8rem; }

/* --- 15. team --- */
.page-cols-side .sec-team { padding: 0; }
.page-cols-side .sec-team h2 { text-align: start; margin: 0 0 12px; }
.page-cols-side .sec-team-grid {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  grid-template-columns: none !important;
}
.page-cols-side .sec-team-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.page-cols-side .sec-team-card:last-child { border-bottom: none; }
.page-cols-side .sec-team-avatar { width: 48px; height: 48px; }
.page-cols-side .sec-team-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.page-cols-side .sec-team-card h3 { font-size: 0.85rem; margin: 0; }
.page-cols-side .sec-team-role { font-size: 0.75rem; }

/* --- 16. testimonials --- */
.page-cols-side .testimonials { padding: 0; }
.page-cols-side .testimonials h2 { text-align: start; margin: 0 0 12px; }
.page-cols-side .testimonials-grid {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  grid-template-columns: none !important;
}
.page-cols-side .testimonial-card { padding: 14px; border-radius: 8px; }
.page-cols-side .testimonial-quote { font-size: 0.82rem; line-height: 1.5; }
.page-cols-side .testimonial-rating { margin-bottom: 6px; }
.page-cols-side .testimonial-author { font-size: 0.82rem; }
.page-cols-side .testimonial-role { font-size: 0.72rem; }

/* --- 17. trust-bar --- */
.page-cols-side .sec-trust-bar { padding: 0; background: transparent; }
.page-cols-side .sec-trust-bar h2 { text-align: start; margin: 0 0 12px; }
.page-cols-side .sec-trust-bar-items {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
}
.page-cols-side .sec-trust-item {
  text-align: start;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-cols-side .sec-trust-item i { font-size: 1.15rem; width: 24px; text-align: center; }

@media (max-width: 768px) {
  .page-cols { grid-template-columns: 1fr !important; padding: 20px 16px; }
  .page-cols-side { width: 100%; }
}

/* === faq.css === */
/* faq.css - FAQ 折叠面板样式 */
.faq-section { margin: 16px 0; }
.faq-item { margin-bottom: 4px; border-bottom: 1px solid var(--border, #e5e7eb); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  padding: 10px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  line-height: 1.5;
}
.faq-question:hover { color: var(--primary, #1a1a2e); }
.faq-question::after { content: '+'; font-size: 1.2rem; font-weight: 400; transition: transform 0.3s; flex-shrink: 0; margin-inline-start: 12px; }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light, #666);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 0 12px 0;
}

/* 产品页 FAQ 样式 */
.product-section .faq-list {
  margin: 0;
}
.product-section .faq-item {
  margin-bottom: 3px;
}
.product-section .faq-question {
  padding: 8px 0;
  font-size: 0.9rem;
}
.product-section .faq-answer {
  font-size: 0.85rem;
}
.product-section .faq-item.active .faq-answer {
  padding: 0 0 10px 0;
}

/* 侧边栏 FAQ 样式 */
.sidebar-widget .faq-section {
  margin: 0;
}
.sidebar-widget .faq-item {
  margin-bottom: 3px;
}
.sidebar-widget .faq-question {
  padding: 8px 0;
  font-size: 0.85rem;
}
.sidebar-widget .faq-answer {
  font-size: 0.8rem;
}
.sidebar-widget .faq-item.active .faq-answer {
  padding: 0 0 8px 0;
}

/* === related.css === */
/* related.css - 相关文章样式 */
.related-articles { margin: 40px 0; }
.related-articles h2 { margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.related-card img { width: 100%; height: 180px; object-fit: cover; }
.related-card .card-content { padding: 15px; }
.related-card h4 { font-size: 1rem; margin-bottom: 8px; }
.related-card p { font-size: 0.9rem; color: var(--text-secondary, #666); line-height: 1.5; }

/* 文章列表页 - 与模板风格统一 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  min-height: 240px;
}

.article-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.article-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* 有图片的卡片 - 使用渐变背景与header一致 */
.article-card.has-image {
  background: linear-gradient(135deg, var(--primary, #1a1a2e) 0%, var(--gradient-secondary, #16213e) 100%);
  border: none;
  color: var(--header-text-color, #fff);
}

.article-card.has-image .article-card-image {
  position: relative;
  padding-top: 55%;
  overflow: hidden;
}

.article-card.has-image .article-card-image img {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card.has-image:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card.has-image .article-card-body {
  padding: 1rem 1.25rem;
}

.article-card.has-image .article-card-body h3 {
  color: var(--header-text-color, #fff);
  font-size: 0.95rem;
}

.article-card.has-image .article-card-body .article-card-date {
  color: rgba(255, 255, 255, 0.7);
}

/* 无图片的卡片 - 渐变背景 */
.article-card.no-image {
  background: linear-gradient(135deg, var(--primary, #1a1a2e) 0%, var(--gradient-secondary, #16213e) 100%);
  color: var(--header-text-color, #fff);
}

.article-card.no-image .article-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
}

.article-card.no-image .article-card-body h3 {
  color: var(--header-text-color, #fff);
  font-size: 0.95rem;
}

.article-card.no-image .article-card-body .article-card-date {
  color: var(--header-text-color, #fff);
  opacity: 0.7;
}

/* 通用样式 */
.article-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-body h3 a {
  color: inherit;
  transition: opacity 0.2s;
}

.article-card-body h3 a:hover {
  opacity: 0.8;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.article-card-date {
  font-size: 0.85rem;
}

.latest-articles {
  padding: 60px 0;
  background: var(--bg, #fff);
}

.latest-articles h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text, #333);
}

/* === responsive.css === */
/* responsive.css - 响应式样式 */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr !important; }
  .sidebar { width: 100%; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .page-header.hero { padding: 60px 0; }
  .page-header.hero h1 { font-size: 1.8rem; }
  .page-header.image { height: 300px; }
  .page-header.image h1 { font-size: 2rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-menu.active { display: flex; flex-direction: column; }
  .menu-toggle { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .page-header.hero { padding: 40px 0; }
  .page-header.banner { padding: 30px 0; }
  .btn { padding: 10px 20px; }
}

/* === blog.css === */
/* blog.css - 博客列表和文章卡片样式 */

/* 博客列表页 */
.blog-list {
  padding: 3rem 0;
}

.blog-list h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text, #333);
}

/* 博客网格布局 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* 博客卡片 */
.blog-card {
  background: var(--card-bg, #fff);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 博客卡片图片 */
.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* 博客卡片内容 */
.blog-card-content {
  padding: 1.5rem;
}

.blog-card-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light, #e8eaf6);
  color: var(--primary, #1a1a2e);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.blog-card-content h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.blog-card-content h2 a {
  color: var(--text, #333);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-card-content h2 a:hover {
  color: var(--primary, #1a1a2e);
}

.blog-card-excerpt {
  color: var(--text-light, #666);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 博客卡片元信息 */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light, #888);
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-date::before {
  content: "📅";
  font-size: 0.9rem;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-card-tags .tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--background, #f5f5f5);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-light, #666);
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--card-bg, #fff);
  color: var(--text, #333);
  border: 1px solid var(--border, #ddd);
  border-radius: var(--radius, 8px);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.pagination .page-link:hover {
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-color: var(--primary, #1a1a2e);
}

.pagination .page-link.active {
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-color: var(--primary, #1a1a2e);
}

/* 首页文章区域 */
.latest-articles {
  padding: 3rem 0;
  background: var(--background-alt, #f8f9fa);
}

.latest-articles h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* 文章卡片 */
.article-card {
  background: var(--card-bg, #fff);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.article-card a {
  text-decoration: none;
  color: inherit;
}

.article-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-content {
  padding: 1.25rem;
}

.article-card-content h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  color: var(--text, #333);
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light, #666);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  font-size: 0.8rem;
  color: var(--text-light, #888);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .blog-list {
    padding: 2rem 0;
  }

  .blog-list h1 {
    font-size: 1.5rem;
  }
}
/* === contact.css === */
/* contact.css - 联系页面样式 */
.contact-page {
  padding: 4rem 0;
}

.contact-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--text, #333);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: start;
  color: var(--text-secondary, #666);
  line-height: 1.8;
}

.contact-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text, #333);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary, #1a1a2e), var(--secondary, #16213e));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.contact-icon i.fab {
  font-size: 1.8rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text, #333);
  font-weight: 600;
}

.contact-card p {
  color: var(--text-secondary, #666);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.contact-card a {
  color: var(--primary, #1a1a2e);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--accent, #e94560);
}

/* 一键复制：纯图标，无边框背景 */
.contact-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 2px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 0.85em;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
}

.contact-copy-btn:hover {
  opacity: 1;
}

.contact-copy-btn.copied {
  opacity: 1;
  color: #52c41a;
}

/* footer 内嵌复制按钮 */
.footer-copy-btn {
  font-size: 0.8em;
}

/* 账号文本 + 二维码 左右布局 */
.contact-card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.contact-card-text {
  min-width: 0;
}

.contact-card-text p {
  margin: 0;
  overflow-wrap: anywhere;
}

/* 二维码 — Contact 页缩略图 */
.contact-card-qr {
  flex-shrink: 0;
}

.contact-card-qr img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

/* footer 联系方式：Label：值 + 二维码缩略图 */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-contact-text {
  min-width: 0;
  overflow-wrap: anywhere;
  flex: 1;
}

.footer-contact-qr {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* 品牌图标颜色 */
.contact-icon i.fab.fa-whatsapp { background: #25D366; }
.contact-icon i.fab.fa-telegram { background: #0088cc; }
.contact-icon i.fab.fa-facebook-f { background: #1877F2; }
.contact-icon i.fab.fa-instagram { background: #E4405F; }
.contact-icon i.fab.fa-twitter { background: #1DA1F2; }
.contact-icon i.fab.fa-linkedin-in { background: #0A66C2; }
.contact-icon i.fab.fa-youtube { background: #FF0000; }
.contact-icon i.fab.fa-pinterest { background: #BD081C; }
.contact-icon i.fab.fa-tiktok { background: #000000; }
.contact-icon i.fab.fa-line { background: #00B900; }
.contact-icon i.fab.fa-viber { background: #7360F2; }
.contact-icon i.fab.fa-skype { background: #00AFF0; }
.contact-icon i.fab.fa-weixin { background: #07C160; }

/* 响应式 */
@media (max-width: 768px) {
  .contact-page {
    padding: 2rem 0;
  }

  .contact-page h1 {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

/* === theme.css === */
:root {
  --header-bg: #ffffff;
  --header-border: 1px solid #f0f0f0;
  --header-shadow: none;
  --header-padding-y: 12px;
  --header-logo-weight: 600;
  --header-logo-size: 1.3rem;
  --header-logo-spacing: 0.01em;
  --header-nav-size: 0.88rem;
  --header-nav-weight: 400;
  --header-nav-transform: none;
  --header-nav-spacing: 0.01em;
  --header-nav-gap: 0.25rem;
  --header-cta-radius: 4px;
  --header-cta-weight: 500;
  --header-cta-padding: 8px 20px;
  --header-cta-size: 0.85rem;
    --footer-text: #555555;
  --footer-heading: #1a1a1a;
  --footer-text-muted: #666666;
  --footer-text-dim: #999999;
  --footer-border: #e5e7eb;
  --footer-icon-bg: #e9ecef;
    --footer-bg: #f8f9fa;
    --btn-text: #1a1a2e;
    --nav-text-color: #333333;
  --gradient-secondary: #0c5e58;
  --primary: #0f766e;
  --secondary: #0f766e15;
  --accent: #14b8a6;
  --background: #ffffff;
  --bg: #ffffff;
  --text: #042f2e;
  --text-secondary: #032524;
  --text-light: #4f6d6c;
  --light: #f0fdfa;
  --bg-light: #f0fdfa;
  --card-bg: #ffffff;
  --border: #d8d8d8;
  --radius: 2px;
  --radius-sm: 2px;
  --heading-font: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: none;
  --shadow-md: 0 1px 3px rgba(0,0,0,0.06);
}


/* 模板特有样式 */
:root {
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
  --header-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --card-shadow: 0 4px 20px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body, 'Inter', sans-serif); color: var(--text, #333); line-height: 1.6; background: var(--background, #fff); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius, 8px);
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* 头部 */
.site-header {
  background: var(--card-bg, #fff);
  box-shadow: var(--header-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}
nav a {
  margin-inline-start: 24px;
  text-decoration: none;
  color: var(--text, #333);
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover { color: var(--primary, #1a1a2e); }

/* Hero */
.hero {
  background: var(--gradient-primary);
  color: #fff;
  padding: 120px 0;
  text-align: center;
}
.hero h1 {
  font-size: 56px;
  margin-bottom: 24px;
  font-weight: 800;
}

/* 特性区域 */
.features {
  padding: 100px 0;
  background: var(--bg-light, var(--light, #f8f9fa));
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.feature {
  text-align: center;
  padding: 40px;
  background: var(--card-bg, #fff);
  border-radius: var(--radius, 16px);
  box-shadow: var(--card-shadow);
}
.feature i {
  font-size: 56px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

/* 产品预览 */
.products-preview, .products-page {
  padding: 100px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--card-bg, #fff);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.price {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px;
  font-weight: 800;
}

/* 页脚 */
.site-footer {
  background: var(--primary, #1a1a2e);
  color: #fff;
  padding: 3rem 0 0;
  margin-top: 3rem;
  text-align: start;
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  text-align: start;
}
.footer-section h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: start;
}
.footer-section p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: start;
}
.footer-section p i.fab { font-size: 1.1rem; width: 1.2rem; text-align: center; }
.footer-section p i.fab.fa-whatsapp { color: #25D366; }
.footer-section p i.fab.fa-telegram { color: #0088cc; }
.footer-section p i.fab.fa-facebook-f { color: #1877F2; }
.footer-section p i.fab.fa-instagram { color: #E4405F; }
.footer-section p i.fab.fa-twitter { color: #1DA1F2; }
.footer-section p i.fab.fa-linkedin-in { color: #0A66C2; }
.footer-section p i.fab.fa-youtube { color: #FF0000; }
.footer-section p i.fab.fa-pinterest { color: #BD081C; }
.footer-section p i.fab.fa-tiktok { color: #000000; }
.footer-section p i.fab.fa-line { color: #00B900; }
.footer-section p i.fab.fa-viber { color: #7360F2; }
.footer-section p i.fab.fa-skype { color: #00AFF0; }
.footer-section p i.fab.fa-weixin { color: #07C160; }
.footer-section p i.fas { color: rgba(255,255,255,0.5); font-size: 1rem; width: 1.2rem; text-align: center; }
.footer-section ul { list-style: none; margin: 0; padding: 0; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-section ul li a:hover { color: #fff; }
.footer-section a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: #fff; }
.footer-section i { margin-inline-end: 0.5rem; width: 1rem; text-align: center; }
.footer-social {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: center;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.footer-social a:hover {
  background: var(--accent, #e94560);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .footer-grid, .site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-social { justify-content: flex-start; }
  .features-grid, .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}

/* === footer.css (auto-appended) === */
/* footer.css - 页脚样式（全变量驱动，支持深/浅/品牌色 footer） */
.site-footer {
  background: var(--footer-bg, linear-gradient(135deg, #1a1a2e 0%, #16213e 100%));
  color: var(--footer-text, #e0e0e0);
  padding: 3rem 0 0;
  margin-top: 3rem;
  text-align: start;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  text-align: start;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  text-align: start;
}

.footer-section h3,
.site-footer .footer-section h3 {
  color: var(--footer-heading, #fff);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: start;
}

.footer-section p,
.site-footer .footer-section p {
  color: var(--footer-text-muted, rgba(255, 255, 255, 0.8));
  line-height: 1.6;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: start;
}

/* 品牌图标颜色（固定品牌色，不随 footer 主题变） */
.footer-section p i.fab {
  font-size: 1.1rem;
  width: 1.2rem;
  text-align: center;
}

.footer-section p i.fab.fa-whatsapp { color: #25D366; }
.footer-section p i.fab.fa-telegram { color: #0088cc; }
.footer-section p i.fab.fa-facebook-f { color: #1877F2; }
.footer-section p i.fab.fa-instagram { color: #E4405F; }
.footer-section p i.fab.fa-twitter { color: #1DA1F2; }
.footer-section p i.fab.fa-linkedin-in { color: #0A66C2; }
.footer-section p i.fab.fa-youtube { color: #FF0000; }
.footer-section p i.fab.fa-pinterest { color: #BD081C; }
.footer-section p i.fab.fa-tiktok { color: #000000; }
.footer-section p i.fab.fa-line { color: #00B900; }
.footer-section p i.fab.fa-viber { color: #7360F2; }
.footer-section p i.fab.fa-skype { color: #00AFF0; }
.footer-section p i.fab.fa-weixin { color: #07C160; }

/* 通用图标颜色 */
.footer-section p i.fas {
  color: var(--footer-text-dim, rgba(255, 255, 255, 0.6));
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--footer-text-muted, rgba(255, 255, 255, 0.8));
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--footer-heading, #fff);
}

.footer-section a {
  color: var(--footer-text-muted, rgba(255, 255, 255, 0.8));
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--footer-heading, #fff);
}

.footer-section i {
  margin-inline-end: 0.5rem;
  width: 1rem;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--footer-icon-bg, rgba(255, 255, 255, 0.1));
  color: var(--footer-text, #e0e0e0);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--primary, #0369a1);
  color: var(--footer-heading, #fff);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--footer-text-dim, rgba(255, 255, 255, 0.6));
  font-size: 0.85rem;
  margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .footer-grid,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* === products.css (auto-appended) === */
/* 产品页样式 - 结构共享，视觉通过 CSS 变量适配各模板风格 */

/* 面包屑 */
.breadcrumb {
  padding: 20px 0;
  font-size: 13px;
  color: var(--text-secondary, #606060);
}
.breadcrumb a {
  color: var(--text-secondary, #606060);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--text, #2b2b2b);
}
.breadcrumb span {
  margin: 0 8px;
  color: var(--text-light, #909090);
}

/* 产品详情页布局 */
.product-detail-page {
  padding: 24px 0 60px;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 992px) {
  .product-layout {
    grid-template-columns: 1fr 320px;
    justify-content: center;
    gap: 40px;
  }
}

/* 左侧主内容卡片 */
.product-main {
  min-width: 0;
  background: var(--light, #f5f5f5);
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius, 8px);
  padding: 32px;
  box-shadow: var(--shadow-sm, 0 2px 16px rgba(0,0,0,0.03));
}

/* 右侧边栏 */
.product-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--light, #f5f5f5);
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius, 8px);
  padding: 24px;
  box-shadow: var(--shadow-sm, 0 2px 16px rgba(0,0,0,0.03));
}
.sidebar-widget h3 {
  font-family: var(--heading-font, inherit);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 0.3px;
  color: var(--text, #2b2b2b);
}

/* 图片轮播 */
.product-gallery {
  margin-bottom: 28px;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  background: var(--bg-light, #f7f7f7);
}
.product-main-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius, 8px);
}
.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.thumbnail {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  opacity: 0.7;
}
.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary, #2b2b2b);
  opacity: 1;
}

/* 基本信息 */
.product-info {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border, #eef0f2);
}
.product-title {
  font-family: var(--heading-font, inherit);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.3;
  color: var(--text, #2b2b2b);
}
.product-brand {
  color: var(--text-secondary, #606060);
  margin: 0 0 12px;
  font-size: 14px;
}
.product-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.product-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent, #3e5463);
}
.product-actions {
  display: flex;
  gap: 10px;
}
.btn-add-cart,
.btn-buy,
.btn-inquiry {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm, 4px);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.btn-add-cart {
  background: var(--light, #f5f5f5);
  color: var(--text, #2b2b2b);
  border: 1.5px solid var(--border, #d0d0d0);
}
.btn-add-cart:hover {
  border-color: var(--text, #2b2b2b);
}
.btn-buy {
  background: var(--primary, #2b2b2b);
  color: #fff;
  border: 1.5px solid var(--primary, #2b2b2b);
}
.btn-buy:hover {
  opacity: 0.85;
}
.btn-inquiry {
  background: var(--accent, #3e5463);
  color: #fff;
  border: 1.5px solid var(--accent, #3e5463);
}
.btn-inquiry:hover {
  opacity: 0.85;
}
.product-short-desc {
  color: var(--text-secondary, #606060);
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
}

/* 产品详情区块 */
.product-content {
  margin-top: 0;
}
.product-section {
  margin-bottom: 32px;
}
.product-section h2 {
  font-family: var(--heading-font, inherit);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--text, #2b2b2b);
  color: var(--text, #2b2b2b);
}
.section-content {
  line-height: 1.8;
  color: var(--text, #2b2b2b);
  font-size: 15px;
}
.section-content p {
  margin-bottom: 18px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-list li {
  position: relative;
  padding-inline-start: 20px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text-secondary, #606060);
  font-size: 14px;
}
.features-list li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent, #3e5463);
}
.use-case-content {
  line-height: 1.8;
  color: var(--text-secondary, #606060);
  font-size: 15px;
}

/* Specifications 表格 */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  font-size: 14px;
}
.specs-table th,
.specs-table td {
  padding: 14px 18px;
  text-align: start;
}
.specs-table th {
  background: var(--bg-light, #f0f2f4);
  color: var(--text, #2b2b2b);
  font-weight: 600;
  border-bottom: 1px solid var(--border, #eef0f2);
}
.specs-table td {
  border-bottom: 1px solid var(--border, #eef0f2);
  color: var(--text-secondary, #606060);
}
.specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table tr:nth-child(even) {
  background: var(--bg-light, #f8f9fa);
}
.spec-label {
  font-weight: 600;
  color: var(--text, #2b2b2b);
  width: 35%;
}
.spec-value {
  color: var(--text-secondary, #606060);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-light, #f8f9fa);
  border: 1px solid var(--border, #eef0f2);
  border-inline-start: 3px solid var(--accent, #3e5463);
  border-radius: var(--radius-sm, 4px);
  padding: 18px;
}
.faq-question {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text, #2b2b2b);
  font-size: 14px;
}
.faq-answer {
  color: var(--text-secondary, #606060);
  line-height: 1.7;
  font-size: 14px;
}

/* CTA 提示框 */
.product-cta {
  background: var(--bg-light, #f8f9fa);
  border: 1px solid var(--border, #eef0f2);
  border-inline-start: 3px solid var(--accent, #3e5463);
  border-radius: var(--radius-sm, 4px);
  padding: 28px;
  margin: 32px 0;
}
.product-cta h3 {
  font-family: var(--heading-font, inherit);
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--text, #2b2b2b);
}
.product-cta p {
  font-size: 13px;
  color: var(--text-secondary, #606060);
  margin: 0 0 20px;
  line-height: 1.6;
}

/* 侧边栏推荐产品 */
.related-products-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.related-product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius-sm, 6px);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  background: var(--light, #f5f5f5);
}
.related-product-card:hover {
  border-color: var(--primary, #d0d0d0);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
}
.related-product-card img,
.related-product-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm, 6px);
  flex-shrink: 0;
  background: var(--bg-light, #f7f7f7);
}
.related-product-info {
  flex: 1;
  min-width: 0;
}
.related-product-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text, #2b2b2b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.related-product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent, #3e5463);
}

/* 产品列表页 */
.product-list-page {
  padding: 32px 0 60px;
}
.product-list-header {
  margin-bottom: 28px;
}
.product-list-header h1 {
  font-family: var(--heading-font, inherit);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text, #2b2b2b);
}
.product-list-desc {
  color: var(--text-secondary, #606060);
  font-size: 15px;
  line-height: 1.6;
  max-width: 680px;
}

/* 搜索栏 */
.product-search-bar {
  margin-bottom: 20px;
}
.product-search-bar input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius-sm, 6px);
  background: var(--light, #f5f5f5);
  color: var(--text, #2b2b2b);
  transition: border-color 0.2s;
}
.product-search-bar input:focus {
  outline: none;
  border-color: var(--primary, #2b2b2b);
}
.product-search-bar input::placeholder {
  color: var(--text-light, #909090);
}

/* 分类筛选按钮 */
.product-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border, #eef0f2);
}
.product-filter-btn {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius-sm, 4px);
  background: var(--light, #f5f5f5);
  color: var(--text-secondary, #606060);
  cursor: pointer;
  transition: all 0.2s;
}
.product-filter-btn:hover {
  border-color: var(--text, #2b2b2b);
  color: var(--text, #2b2b2b);
}
.product-filter-btn.active {
  background: var(--text, #2b2b2b);
  color: #fff;
  border-color: var(--text, #2b2b2b);
}

/* 产品结果计数 */
.product-result-count {
  font-size: 13px;
  color: var(--text-light, #909090);
  margin-bottom: 20px;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 产品卡片 - 参考 aromamatrix 风格 */
.product-card {
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  background: var(--light, #f5f5f5);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.08));
  border-color: var(--primary, #d0d0d0);
  transform: translateY(-2px);
}
.product-card-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-light, #f7f7f7);
}
.product-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-card-image img {
  transform: scale(1.03);
}
.product-card-category {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary, #606060);
  background: var(--light, #f5f5f5);
  padding: 4px 10px;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid var(--border, #eef0f2);
}
.product-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-name {
  font-family: var(--heading-font, inherit);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text, #2b2b2b);
  line-height: 1.3;
}
.product-card-brand {
  color: var(--text-light, #909090);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-card-desc {
  color: var(--text-secondary, #606060);
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border, #eef0f2);
}
.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent, #3e5463);
}
.product-card-action {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary, #606060);
  transition: color 0.2s;
}
.product-card:hover .product-card-action {
  color: var(--text, #2b2b2b);
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.page-link {
  padding: 8px 14px;
  border: 1px solid var(--border, #eef0f2);
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  color: var(--text, #2b2b2b);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.page-link:hover {
  border-color: var(--text, #2b2b2b);
}
.page-link.active {
  background: var(--primary, #2b2b2b);
  color: #fff;
  border-color: var(--primary, #2b2b2b);
}

/* 响应式 */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .product-main {
    padding: 20px;
  }
  .product-title {
    font-size: 22px;
  }
  .product-price {
    font-size: 22px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-card-image img {
    height: 180px;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* === about.css (auto-appended) === */
/* about.css - About Us 页面样式（左侧图片轮播 + 右侧内容） */

/* 面包屑 */
.about-detail-page .breadcrumb {
  padding: 1rem 0;
  background: var(--light, #f5f5f5);
  margin-bottom: 2rem;
}

.about-detail-page .breadcrumb a {
  color: var(--primary, #1a1a2e);
  text-decoration: none;
}

.about-detail-page .breadcrumb a:hover {
  color: var(--accent, #e94560);
}

.about-detail-page .breadcrumb span {
  color: var(--text-secondary, #666);
}

/* 页面容器 */
.about-detail-page {
  padding: 0 0 4rem;
}

/* 左右分栏布局 */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* 左侧：图片展示 */
.about-gallery {
  position: sticky;
  top: 2rem;
}

/* 第一栏：固定主图 */
.about-main-image {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-main-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* 第二栏：轮播 */
.about-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #000;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}

.carousel-slide {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 轮播按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text, #333);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
}

.about-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  inset-inline-start: 12px;
}

.carousel-next {
  inset-inline-end: 12px;
}

/* 轮播指示点 */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dots .dot.active {
  background: #fff;
  transform: scale(1.2);
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* 右侧：内容 */
.about-content-wrapper {
  min-width: 0;
}

.about-title {
  font-size: 2.5rem;
  color: var(--text, #333);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-content {
  color: var(--text-secondary, #666);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.about-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--text, #333);
  font-weight: 600;
}

.about-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text, #333);
  font-weight: 600;
}

.about-content p {
  margin-bottom: 1.25rem;
}

.about-content ul,
.about-content ol {
  margin-bottom: 1.25rem;
  padding-inline-start: 1.5rem;
}

.about-content li {
  margin-bottom: 0.5rem;
}

.about-content strong {
  color: var(--text, #333);
  font-weight: 600;
}

.about-content a {
  color: var(--primary, #1a1a2e);
  text-decoration: none;
  border-bottom: 1px solid var(--primary, #1a1a2e);
  transition: color 0.3s, border-color 0.3s;
}

.about-content a:hover {
  color: var(--accent, #e94560);
  border-color: var(--accent, #e94560);
}

/* 响应式 */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-gallery {
    position: static;
  }
}

@media (max-width: 768px) {
  .about-detail-page {
    padding: 0 0 2rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-content {
    font-size: 1rem;
  }

  .carousel-track {
    aspect-ratio: 16/10;
  }

  .carousel-btn {
    opacity: 1;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

/* === content.css (auto-appended) === */
/* Content Shortcode Styles */

/* Product Card in Content (matches product page style) */
.content-product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  margin: 2rem auto;
  max-width: 320px;
}
.content-product-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.content-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.content-product-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #f3f4f6;
}
.content-product-image img {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.content-product-card:hover .content-product-image img {
  transform: scale(1.05);
}
.content-product-body {
  padding: 1.25rem;
}
.content-product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.content-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #dc2626;
}
.content-product-action {
  font-size: 0.875rem;
  font-weight: 500;
  color: #dc2626;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}
.content-product-card:hover .content-product-action {
  opacity: 1;
  transform: translateX(0);
}

/* Product Grid (multiple products side by side) */
.content-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 660px;
  margin: 2rem auto;
}
.content-product-grid .content-product-card {
  margin: 0;
  max-width: none;
}
@media (max-width: 600px) {
  .content-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Ad Block in Content */
.content-ad-block {
  margin: 2rem 0;
}

/* Floating Ad */
.content-ad-block .floating-ad {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 9999;
  animation: floatAdSlideIn 0.5s ease-out;
}
@keyframes floatAdSlideIn {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Content Image Center */
.content-area img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* 文章内表格样式 */
.article-content table,
.content-area table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: auto;
  display: block;
}

.article-content thead,
.content-area thead {
  background: var(--primary, #1a1a2e);
  color: #fff;
}

.article-content th,
.content-area th {
  padding: 12px 16px;
  text-align: start;
  font-weight: 600;
  white-space: nowrap;
}

.article-content td,
.content-area td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border, #e5e7eb);
}

.article-content tbody tr:hover,
.content-area tbody tr:hover {
  background: var(--background-alt, #f8f9fa);
}

.article-content tbody tr:nth-child(even),
.content-area tbody tr:nth-child(even) {
  background: var(--background-alt, #f9fafb);
}

.article-content tbody tr:nth-child(even):hover,
.content-area tbody tr:nth-child(even):hover {
  background: var(--background-alt, #f3f4f6);
}

/* 表格响应式 */
@media (max-width: 768px) {
  .article-content table,
  .content-area table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .article-content th,
  .content-area th,
  .article-content td,
  .content-area td {
    padding: 8px 12px;
    min-width: 120px;
  }
}
