/* =============================================
   青歌小提琴官网 Lite - 共享样式
   Brand: #8B4513 | #F5F5DC | #D4AF37 | #333
   ============================================= */

/* === CSS 变量 === */
:root {
  --primary: #8B4513;
  --primary-dark: #6d3410;
  --primary-light: #a0521a;
  --secondary: #F5F5DC;
  --accent: #D4AF37;
  --accent-dark: #b8962e;
  --text-dark: #333333;
  --text-mid: #666666;
  --text-light: #999999;
  --bg-white: #FFFFFF;
  --bg-light: #FAFAFA;
  --bg-warm: #FDF8F3;
  --border: #E8E0D5;
  --shadow-sm: 0 2px 8px rgba(139,69,19,0.08);
  --shadow-md: 0 4px 20px rgba(139,69,19,0.12);
  --shadow-lg: 0 8px 40px rgba(139,69,19,0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --nav-height: 72px;
  --transition: all 0.3s ease;
}

/* === 基础重置 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === 通用工具类 === */
.serif { font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }

/* === 段落标题 === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.section-header p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* === 按钮 === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn-gold:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-white { background: #fff; color: var(--primary); border: 2px solid #fff; }
.btn-white:hover { background: var(--secondary); transform: translateY(-2px); }

/* === 导航栏 === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo .logo-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo .logo-text {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 18px; font-weight: 700;
  color: var(--primary); line-height: 1.2;
}
.nav-logo .logo-text span {
  display: block; font-size: 10px;
  color: var(--text-mid);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 300; letter-spacing: 2px;
}
.navbar.scrolled .nav-logo .logo-text,
.navbar.white .nav-logo .logo-text { color: var(--primary); }

.nav-menu {
  display: flex; align-items: center;
  gap: 4px; flex: 1; justify-content: center;
}
.nav-menu a {
  padding: 8px 14px; font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; background: rgba(255,255,255,0.2); }
.navbar.scrolled .nav-menu a,
.navbar.white .nav-menu a { color: var(--text-dark); }
.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active,
.navbar.white .nav-menu a:hover,
.navbar.white .nav-menu a.active { color: var(--primary); background: rgba(139,69,19,0.08); }

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.9); transition: var(--transition);
}
.nav-phone:hover { color: #fff; }
.navbar.scrolled .nav-phone,
.navbar.white .nav-phone { color: var(--primary); }
.nav-search-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); transition: var(--transition);
}
.nav-search-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }
.navbar.scrolled .nav-search-btn,
.navbar.white .nav-search-btn { color: var(--text-dark); }

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; height: 2px; background: rgba(255,255,255,0.9); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .hamburger span,
.navbar.white .hamburger span { background: var(--text-dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 手机端抽屉菜单 */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0;
  height: 100vh; background: var(--bg-white); z-index: 999;
  flex-direction: column; padding: 100px 32px 40px;
  transform: translateX(-100%); transition: transform 0.35s ease;
}
.mobile-menu.open { display: flex; transform: translateX(0); }
.mobile-menu a {
  display: block; padding: 16px 0; font-size: 20px;
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  color: var(--text-dark); border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); padding-left: 8px; }
.mobile-menu .mobile-contact { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mobile-contact a {
  font-size: 15px; font-family: 'Noto Sans SC', sans-serif;
  border: none; color: var(--text-mid); padding: 8px 0;
}

/* === 桌面端下拉子菜单 === */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a {
  padding: 8px 14px; font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap;
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav-item-dropdown > a:hover { color: #fff; background: rgba(255,255,255,0.2); }
.navbar.scrolled .nav-item-dropdown > a,
.navbar.white .nav-item-dropdown > a { color: var(--text-dark); }
.navbar.scrolled .nav-item-dropdown > a:hover,
.navbar.white .nav-item-dropdown > a:hover { color: var(--primary); background: rgba(139,69,19,0.08); }
.nav-caret { font-size: 10px; transition: transform 0.25s; }
.nav-item-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 170px; background: #fff;
  border-radius: var(--radius-md); box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transition: all 0.25s ease; z-index: 100;
}
.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 10px 20px;
  font-size: 13px; color: var(--text-dark) !important;
  background: transparent !important; border-radius: 0;
  transition: var(--transition); white-space: nowrap; text-align: center;
}
.nav-dropdown a:hover {
  color: var(--primary) !important;
  background: rgba(139,69,19,0.08) !important;
}

/* === 手机端子菜单 === */
.mobile-has-sub .mobile-sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-size: 20px;
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  color: var(--text-dark); border-bottom: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.mobile-has-sub .mobile-sub-toggle.active { color: var(--primary); }
.mobile-caret { font-size: 14px; transition: transform 0.3s; }
.mobile-has-sub.open .mobile-caret { transform: rotate(180deg); }
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-has-sub.open .mobile-submenu { max-height: 260px; }
.mobile-submenu a {
  padding: 12px 0 12px 24px !important;
  font-size: 16px !important;
  color: var(--text-mid) !important;
  border-bottom: 1px solid var(--border-light) !important;
}
.mobile-submenu a:hover { color: var(--primary) !important; }

/* === 产品卡片 === */
.product-card {
  background: var(--bg-white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .card-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg-light); display: flex; align-items: center; justify-content: center;
}
.product-card .card-img .card-placeholder { font-size: 64px; opacity: 0.4; }
.product-card .card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.product-card:hover .card-img img { transform: scale(1.06); }
.product-card .card-body { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .card-title {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4;
}
.product-card .card-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--primary); font-weight: 500;
  transition: var(--transition); border-bottom: 1px solid transparent;
}
.product-card:hover .card-btn { color: var(--primary-dark); border-bottom-color: var(--primary); }

/* === 文章卡片 === */
.article-card {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: var(--transition);
}
.article-card:hover { padding-left: 8px; }
.article-card:last-child { border-bottom: none; }
.article-card .article-date { flex-shrink: 0; text-align: center; width: 48px; }
.article-card .article-date .day {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1; display: block;
}
.article-card .article-date .mon { font-size: 11px; color: var(--text-light); display: block; margin-top: 2px; }
.article-card .article-content { flex: 1; }
.article-card .article-tag { font-size: 11px; color: var(--accent); font-weight: 500; letter-spacing: 1px; margin-bottom: 4px; }
.article-card .article-title { font-size: 15px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; line-height: 1.5; transition: color 0.3s; }
.article-card:hover .article-title { color: var(--primary); }
.article-card .article-desc {
  font-size: 13px; color: var(--text-light); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* === 面包屑 === */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-light); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text-dark); }

/* === 标签 === */
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.tag-gold { background: rgba(212,175,55,0.12); color: var(--accent-dark); }
.tag-primary { background: rgba(139,69,19,0.1); color: var(--primary); }
.tag-light { background: var(--bg-light); color: var(--text-mid); border: 1px solid var(--border); }

/* === Footer === */
.site-footer { background: #1a0f08; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo .logo-img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.footer-brand .logo .name {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 16px; font-weight: 700; color: #fff;
}
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 240px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: var(--transition); color: rgba(255,255,255,0.7);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h4 {
  font-size: 14px; font-weight: 600; color: #fff;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,0.6);
  transition: var(--transition); display: inline-flex; align-items: center; gap: 4px;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--accent); }

/* === 手机端悬浮按钮 === */
.mobile-float-btns {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900; background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1); padding: 12px 16px; gap: 12px;
}
.mobile-float-btns a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
  transition: var(--transition);
}
.mobile-float-btns .btn-call { background: var(--bg-light); color: var(--primary); border: 1px solid var(--border); }
.mobile-float-btns .btn-consult { background: var(--primary); color: #fff; }

/* === 桌面端右侧悬浮面板 === */
.desk-side-panel {
  position: fixed; right: 16px; bottom: 120px; z-index: 800;
  display: flex; flex-direction: column; gap: 10px;
}
.desk-side-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; text-decoration: none;
}
.desk-side-btn i { font-size: 18px; color: var(--primary); transition: color 0.3s; }
.desk-side-btn svg.svg-inline--fa { width: 18px; height: 18px; color: var(--primary); transition: color 0.3s; }
.desk-side-btn:hover {
  background: var(--primary); border-color: var(--primary);
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.desk-side-btn:hover i { color: #fff; }
.desk-side-btn:hover svg.svg-inline--fa { color: #fff; }
.desk-side-btn.btn-service {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(139,69,19,0.3);
  animation: pulse-service 2.5s infinite;
}
.desk-side-btn.btn-service i { color: #fff; font-size: 19px; }
.desk-side-btn.btn-service svg.svg-inline--fa { color: #fff; width: 19px; height: 19px; }
.desk-side-btn.btn-service:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
@keyframes pulse-service {
  0%   { box-shadow: 0 4px 16px rgba(139,69,19,0.3); }
  50%  { box-shadow: 0 4px 28px rgba(139,69,19,0.5), 0 0 0 8px rgba(139,69,19,0.08); }
  100% { box-shadow: 0 4px 16px rgba(139,69,19,0.3); }
}
.desk-side-btn .tooltip {
  position: absolute; right: 54px; background: rgba(0,0,0,0.78); color: #fff;
  font-size: 12px; white-space: nowrap; padding: 5px 10px; border-radius: var(--radius-sm);
  opacity: 0; visibility: hidden; transition: all 0.25s; pointer-events: none;
  font-family: 'PingFang SC','Microsoft YaHei',sans-serif; line-height: 1;
}
.desk-side-btn:hover .tooltip { opacity: 1; visibility: visible; }
.desk-side-btn.back-to-top {
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.desk-side-btn.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* === 搜索浮层 === */
.search-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(28,13,5,0.6); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 15vh;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  position: relative;
  width: 90%; max-width: 640px; background: #fff;
  border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden; transform: translateY(-20px); transition: transform 0.3s;
}
.search-overlay.active .search-box { transform: translateY(0); }
.search-box-inner { padding: 24px; }
.search-input-wrap {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 2px solid var(--border); padding-bottom: 16px;
  padding-right: 40px;
}
.search-input-wrap i { font-size: 20px; color: var(--text-muted); }
.search-input-wrap input {
  flex: 1; border: none; outline: none; font-size: 18px;
  font-family: inherit; color: var(--text-dark); background: transparent;
}
.search-input-wrap input::placeholder { color: var(--text-muted); }
.search-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--bg-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
}
.search-close:hover { background: var(--border); color: var(--text-dark); }

/* === 动画 === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   文章详情页通用样式（about/promise/appointment/
   contact/service/product-detail 共用）
   ============================================= */

/* 非首页：导航栏默认白色 */
.navbar.white { background: rgba(255,255,255,0.97) !important; backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.navbar.white .nav-menu a { color: var(--text-dark) !important; }
.navbar.white .nav-menu a:hover, .navbar.white .nav-menu a.active { color: var(--primary) !important; background: rgba(139,69,19,0.08) !important; }
.navbar.white .nav-phone { color: var(--primary) !important; }
.navbar.white .nav-search-btn { color: var(--text-dark) !important; }
.navbar.white .hamburger span { background: var(--text-dark) !important; }

/* 文章页容器 */
.article-page { padding-top: var(--nav-height); background: var(--bg-light); }

/* 横幅已统一为 .page-hero（自身 margin-top 已避让固定导航），
   故内容区只需普通内容间距，与 .products-page 的 40px 对齐，
   否则面包屑会被 .article-page 的 nav-height 内边距再推低一截 */
.page-hero + .article-page { padding-top: 20px; }
.page-hero + .article-page .article-layout { padding-top: 0; }

/* 文章头部横幅 */
.article-hero {
  background: linear-gradient(135deg, #2c1a0e 0%, #4a2510 50%, #3d1e0c 100%);
  padding: 56px 0; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.article-hero .cat-label {
  display: inline-block; background: rgba(212,175,55,0.2);
  color: var(--accent); border: 1px solid rgba(212,175,55,0.3);
  padding: 4px 16px; border-radius: 20px; font-size: 12px;
  font-weight: 500; letter-spacing: 2px; margin-bottom: 16px;
}

/* 主体布局：左侧边栏 + 右内容（统一宽度 280px + 间距 40px） */
.article-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 40px; padding: 48px 0 60px; align-items: start;
  position: relative;
}
.article-layout > aside { order: 1; }
.article-layout > main { order: 2; }

/* 文章标题区（从横幅移至正文上方） */
.article-header {
  background: #fff; border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.article-header h1 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: clamp(20px, 3vw, 28px); font-weight: 700;
  line-height: 1.4; color: var(--text-dark); margin-bottom: 16px;
}
.article-header .meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-light);
  padding-top: 16px; border-top: 1px solid var(--border);
}
.article-header .meta span { display: flex; align-items: center; gap: 6px; }

/* 文章正文 */
.article-body {
  background: #fff; border-radius: var(--radius-md);
  padding: 48px; border: 1px solid var(--border);
}
.article-body h2 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 22px; font-weight: 700; color: var(--text-dark);
  margin: 36px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary); line-height: 1.4;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 17px; font-weight: 600; color: var(--primary);
  margin: 24px 0 10px;
}
.article-body p { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; }
.article-body strong { color: var(--text-dark); font-weight: 600; }
.article-body em { font-style: normal; color: var(--primary); font-weight: 500; }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 16px; }
.article-body li { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 6px; }
.article-body blockquote {
  background: var(--bg-warm); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 24px 0; font-style: italic;
  font-size: 15px; color: var(--text-mid); line-height: 1.8;
}

/* 图片占位块（方便替换为真实图片） */
.article-body .img-block {
  margin: 28px 0; border-radius: var(--radius-md);
  overflow: hidden; background: var(--bg-warm);
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  font-size: 80px; opacity: 0.4; border: 1px solid var(--border);
}
.article-body .img-caption { font-size: 12px; color: var(--text-light); text-align: center; margin-top: -16px; margin-bottom: 24px; }

/* 品牌掠影：3列图片 */
.brand-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; 
}
.brand-gallery .gallery-link { display: block; text-decoration: none; color: inherit; }
.brand-gallery .gallery-item {
  position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-light);
}
.brand-gallery .gallery-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.brand-gallery .gallery-item:hover img { transform: scale(1.05); }
.brand-gallery .gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px; text-align: center;
  font-size: 14px; color: #fff; letter-spacing: 1px;
  background: rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  pointer-events: none;
}

/* 信息框 */
.info-box {
  background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0;
}
.info-box .info-title {
  font-weight: 600; color: var(--accent-dark); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px; font-size: 15px;
}
.info-box p { margin: 0; font-size: 14px; }

/* 表格 */
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; border-radius: var(--radius-md); overflow: hidden; }
.compare-table th { background: var(--primary); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-mid); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-light); }
.compare-table .highlight { color: var(--primary); font-weight: 600; }

/* 文章底部 */
.article-footer { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px; }
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.article-tags .t-label { font-size: 13px; color: var(--text-light); }

/* 侧边栏组件 */
.sidebar-widget {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 24px;
}
.widget-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--text-dark); background: var(--bg-warm);
}
.widget-head i { color: var(--primary); }
.widget-body { padding: 16px 20px; }

/* 目录 */
/* =============================================
   首页轮播简化样式
   ============================================= */
.hero-carousel {
  margin-top:70px;
  position: relative; height: 50vh;
  overflow: hidden; background: #1a0f08;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex; align-items: center; justify-content: center;
}
.hero-slide.active { opacity: 1; }
/* 轮播图片链接 — 让 a 标签铺满整个 slide */
.hero-slide-link {
  display: block;
  position: absolute; inset: 0;
}
/* 轮播图片占位 — 替换为真实图片时改 background-image 即可 */
/* 例如: <div class="hero-slide-img" style="background-image:url('images/slide1.jpg');"></div> */
.hero-slide-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 默认占位渐变（无图片时显示） */
.hero-slide-img:not([style*="background-image"]) {
  background: linear-gradient(135deg, #1c0d05 0%, #2e1508 25%, #4a1f08 50%, #3d1a06 75%, #1c0d05 100%);
}
.hero-dots {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: var(--transition); border: none;
}
.hero-dot.active { background: var(--accent); width: 32px; border-radius: 5px; }

/* =============================================
   首页品牌故事图片区
   ============================================= */
.brand-image-section {
  position: relative; height: 30vh;
  display: flex; align-items: center; overflow: hidden; color: #fff;
}
/* 品牌故事背景图占位 — 替换为真实图片时改 background-image 即可 */
/* 例如: <div class="brand-image-bg" style="background-image:url('images/brand-story.jpg');"></div> */
.brand-image-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 默认占位渐变（无图片时显示） */
.brand-image-bg:not([style*="background-image"]) {
  background: linear-gradient(135deg, #2c1a0e 0%, #4a2510 50%, #3d1e0c 100%);
}
.brand-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 1;
}

/* =============================================
   首页产品宫格
   ============================================= */
.products-section { background: var(--bg-warm); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* =============================================
   常见问题 FAQ 手风琴
   ============================================= */
.faq-section { background: var(--bg-white); }
.faq-list { max-width: 100%; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
}
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer; font-size: 15px;
  font-weight: 600; color: var(--text-dark); transition: var(--transition);
}
.faq-item.active .faq-question { color: var(--primary); }
.faq-question .faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-warm); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 14px; flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-question .faq-icon { background: var(--primary); color: #fff; transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 400px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin: 0; }

/* =============================================
   首页琴言琴语（原版样式）
   ============================================= */
.qyqy-section { background: var(--bg-warm); }
.qyqy-filter {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 20px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); color: var(--text-mid);
  transition: var(--transition); background: #fff;
  cursor: pointer; font-family: inherit;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.qyqy-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 40px; align-items: start;
}
.qyqy-feature-card {
  background: var(--bg-white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky; top: calc(var(--nav-height) + 20px);
}
.qyqy-feature-img {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #2c1a0e 0%, #4a2510 60%, #6b3010 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; color: rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.qyqy-feature-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(212,175,55,0.1) 100%);
}
.qyqy-feature-body { padding: 24px; }
.qyqy-feature-body .tag { margin-bottom: 12px; }
.qyqy-feature-body h3 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 18px; font-weight: 700; margin-bottom: 10px;
  line-height: 1.5; color: var(--text-dark);
}
.qyqy-feature-body p {
  font-size: 13px; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 16px;
}
.qyqy-more { text-align: center; margin-top: 32px; }

/* =============================================
   产品列表页样式（原版 sidebar 布局）
   ============================================= */
.page-hero {
  height: 260px;
  background: linear-gradient(135deg, #2c1a0e 0%, #4a2510 50%, #3d1e0c 100%);
  display: flex; align-items: flex-end;
  padding-bottom: 72px; margin-top: var(--nav-height);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '\1F3BB'; position: absolute;
  right: 8%; top: 50%; transform: translateY(-50%);
  font-size: 180px; opacity: 0.07;
}
.page-hero .container { width: 100%; }
.page-hero .label {
  display: inline-block; background: rgba(212,175,55,0.2);text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(212,175,55,0.3);
  padding: 4px 16px; border-radius: 20px; font-size: 12px;
  font-weight: 500; letter-spacing: 2px; margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: #fff; line-height: 1.3;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }

.products-page { background: var(--bg-light); min-height: 60vh; padding: 20px 0 40px; }
.products-layout {
  display: block;
}
/* 侧边栏 */
.sidebar-card {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 20px;
}
.sidebar-card .card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-card .card-head h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.sidebar-card .card-head i { color: var(--primary); font-size: 14px; }
.sidebar-card .card-body { padding: 12px 0; }
/* 分类列表 */
.cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; font-size: 14px; color: var(--text-mid);
  cursor: pointer; transition: var(--transition);
  border-left: 3px solid transparent; text-decoration: none;
}
.cat-item:hover { color: var(--primary); background: rgba(139,69,19,0.05); border-left-color: var(--primary); }
.cat-item.active { color: var(--primary); font-weight: 600; background: rgba(139,69,19,0.06); border-left-color: var(--primary); }
/* 工具栏 */
.products-toolbar {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border); padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.toolbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar-left .result-count { font-size: 13px; color: var(--text-mid); }
.toolbar-left .result-count strong { color: var(--text-dark); }
/* 产品网格 */
.products-grid-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.products-grid-list .product-card { position: relative; }
/* 标签 */
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #fff; z-index: 2;
}
.badge-new { background: var(--primary); }
.badge-hot { background: #e74c3c; }
.badge-sale { background: var(--accent); }
.product-card .card-img { position: relative; }
/* 分页（产品列表用） */
.page-btn {
  width: 38px; height: 38px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-mid); cursor: pointer;
  transition: var(--transition); background: #fff; text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* =============================================
   文章列表页样式（原版 articles-layout 布局）
   ============================================= */
.articles-hero {
  background: linear-gradient(135deg, #2c1a0e 0%, #4a2510 40%, #3d1e0c 100%);
  padding: 64px 0; color: #fff; text-align: center;
  position: relative; overflow: hidden; margin-top: var(--nav-height);
}
.articles-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%),
              radial-gradient(circle at 75% 30%, rgba(212,175,55,0.05) 0%, transparent 50%);
}
.articles-hero .hero-inner { position: relative; z-index: 1; }
.articles-hero .hero-icon { font-size: 56px; margin-bottom: 16px; display: block; opacity: 0.9; }
.articles-hero h1 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: clamp(28px, 5vw, 48px); font-weight: 700; margin-bottom: 12px;
}
.articles-hero p { font-size: 15px; color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto; line-height: 1.8; }
/* 分类筛选 */
.cat-tabs-wrap {
  background: var(--bg-white); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: sticky; top: var(--nav-height); z-index: 10;
}
.cat-tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  padding: 10px 24px; border-radius: 24px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  white-space: nowrap; cursor: pointer; transition: all 0.25s;
  border: 1px solid transparent;
}
.cat-tab:hover { background: var(--bg-warm); color: var(--primary); }
.cat-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.cat-tab .count { font-size: 11px; opacity: 0.7; margin-left: 4px; }
/* 主内容区 */
.articles-main { padding: 48px 0 80px; }
.articles-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.articles-layout > .articles-sidebar { order: 1; }
.articles-layout > .article-list { order: 2; }
/* 文章列表 */
.article-list-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.article-list-header .count-text { font-size: 14px; color: var(--text-light); }
.article-list-header .count-text strong { color: var(--primary); font-weight: 600; }
/* 文章条目（带缩略图） */
.article-item {
  display: flex; gap: 20px; padding: 24px;
  background: var(--bg-white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
  transition: all 0.3s; text-decoration: none; color: inherit;
  border: 1px solid transparent;
}
.article-item:hover { transform: translateX(6px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.article-item .ai-thumb {
  flex-shrink: 0; width: 180px; height: 128px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(135deg, #f0ebe3 0%, #e8dcc8 100%);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.article-item .ai-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.article-item .ai-cat {
  display: inline-block; width: fit-content;
  font-size: 11px; padding: 3px 10px; border-radius: 12px;
  font-weight: 500; letter-spacing: 1px; margin-bottom: 8px;
}
.ai-cat.cat-guide { background: rgba(139,69,19,0.1); color: var(--primary); }
.ai-cat.cat-km { background: rgba(39,174,96,0.1); color: #27ae60; }
.ai-cat.cat-heart { background: rgba(212,175,55,0.15); color: var(--accent-dark); }
.ai-cat.cat-qa { background: rgba(41,128,185,0.1); color: #2980b9; }
.article-item .ai-title {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 17px; font-weight: 600; line-height: 1.5;
  margin-bottom: 8px; color: var(--text-dark); transition: color 0.3s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-item:hover .ai-title { color: var(--primary); }
.article-item .ai-desc {
  font-size: 13px; color: var(--text-light); line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-item .ai-meta {
  margin-top: 10px; display: flex; align-items: center;
  gap: 16px; font-size: 12px; color: var(--text-light);
}
.article-item .ai-meta span { display: flex; align-items: center; gap: 4px; }
/* 文章侧边栏 */
.articles-sidebar { position: sticky; top: calc(var(--nav-height) + 20px); }
.articles-sidebar .sidebar-card { padding: 24px; border: 1px solid var(--border); }
.articles-sidebar .sidebar-card h4 {
  font-family: 'SimSun', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 16px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary); display: inline-block;
}
/* 搜索 */
.art-sidebar-search {
  display: flex; border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.3s;
}
.art-sidebar-search:focus-within { border-color: var(--primary); }
.art-sidebar-search input {
  flex: 1; border: none; outline: none; padding: 10px 14px;
  font-size: 13px; font-family: inherit; color: var(--text-dark);
}
.art-sidebar-search button {
  padding: 10px 14px; background: var(--primary); color: #fff;
  font-size: 14px; border: none; cursor: pointer; transition: background 0.3s;
}
.art-sidebar-search button:hover { background: var(--primary-dark); }
/* 热门文章 */
.hot-list { counter-reset: hot; }
.hot-list a {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed var(--border); text-decoration: none;
  color: var(--text-dark); transition: all 0.3s; align-items: flex-start;
}
.hot-list a:last-child { border-bottom: none; }
.hot-list a:hover { padding-left: 6px; }
.hot-list a::before {
  counter-increment: hot; content: counter(hot);
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 4px;
  background: var(--bg-light); color: var(--text-light);
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.hot-list a:nth-child(-n+3)::before { background: var(--primary); color: #fff; }
.hot-list a span {
  font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 6px 14px; font-size: 12px; border-radius: 16px;
  background: var(--bg-light); color: var(--text-mid);
  text-decoration: none; transition: all 0.3s; border: 1px solid transparent;
  cursor: pointer;
}
.tag-cloud a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tag-cloud a.hot { border-color: var(--accent); color: var(--accent-dark); }

/* =============================================
   产品详情页样式
   ============================================= */
.product-detail-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin: 28px 0;
}
.product-detail-gallery .gallery-item {
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-warm); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.spec-table {
  width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px;
}
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.spec-table th {
  text-align: left; font-weight: 600; color: var(--text-dark);
  background: var(--bg-warm); width: 120px;
}
.spec-table td { color: var(--text-mid); }
.product-price-box {
  background: linear-gradient(135deg, var(--bg-warm), #fff);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px; margin: 24px 0; text-align: center;
}
.product-price-box .price-label { font-size: 12px; color: var(--text-mid); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.product-price-box .price-value { font-size: 32px; color: var(--primary); font-weight: 700; font-family: 'SimSun', 'STSong', serif; }
.product-price-box .price-note { font-size: 13px; color: var(--text-mid); margin-top: 8px; }

/* 分页 */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 48px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: var(--radius-sm); font-size: 14px;
  border: 1px solid var(--border); color: var(--text-mid);
  transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page_nowindex { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =============================================
   响应式
   ============================================= */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { display: none; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .qyqy-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 991px) {
  :root { --nav-height: 64px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
  .section-header { margin-bottom: 40px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { display: block; }
  .mobile-float-btns { display: flex; }
  body { padding-bottom: 68px; }
  .desk-side-panel { display: none; }
  /* 首页 */
  .hero-carousel { height: auto; aspect-ratio: 16/9; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products-grid-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-detail-gallery { grid-template-columns: 1fr; }
  .brand-stat-item .num { font-size: 36px; }
  .qyqy-layout { grid-template-columns: 1fr; }
  .qyqy-feature-card { display: none; }
  /* 列表页 */
  .sidebar-card { display: none; }
  .articles-layout { grid-template-columns: 1fr; gap: 32px; }
  .articles-sidebar { display: none; }
  .article-item .ai-thumb { width: 120px; height: 96px; font-size: 36px; }
  .articles-hero { padding: 48px 0; }
  .page-hero { height: 200px; padding-bottom: 72px; text-align:center;}
  /* 文章页 */
  .article-layout { grid-template-columns: 1fr; }
  .article-body { padding: 28px 20px; }
  /* 品牌掠影图廊：平板显示 2 列 */
  .brand-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --nav-height: 60px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14px; }
  .site-footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 24px; padding-bottom: 32px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: 12px; max-width: 100%; }
  .footer-social a { width: 30px; height: 30px; font-size: 13px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 10px; padding-bottom: 6px; }
  .footer-col ul li { margin-bottom: 5px; }
  .footer-col ul li a { font-size: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; font-size: 11px; }
  .btn { padding: 11px 22px; font-size: 13px; }
  /* 首页 */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-stats { flex-wrap: wrap; gap: 16px; }
  .brand-stat-item { border-right: none; padding: 0; margin-right: 0; }
  .brand-stat-item .num { font-size: 32px; }
  /* 列表页 */
  .article-item { padding: 16px; gap: 12px; }
  .article-item .ai-thumb { width: 80px; height: 72px; font-size: 28px; }
  .article-item .ai-title { font-size: 14px; }
  .article-item .ai-desc { display: none; }
  .article-item .ai-meta { font-size: 11px; gap: 8px; }
  .cat-tab { padding: 8px 16px; font-size: 13px; }
  .page-hero h1 { font-size: 22px; }
  /* 文章页 */
  .article-body h2 { font-size: 18px; }
  .article-header { padding: 24px 20px 20px; }
  .article-header h1 { font-size: 20px; }
  .article-header .meta { gap: 12px; font-size: 12px; }
  .brand-gallery { grid-template-columns: 1fr; }
}
