/* =============================================
   马屯大鼓 - 前端样式 v3.2
   主题：故宫朱红 + 古铜金 · 典雅庄重
   ============================================= */

:root {
  --primary: #b01820;
  --primary-dark: #8c1420;
  --primary-deep: #6e1018;
  --primary-light: #cc2a32;
  --primary-soft: #fef8f8;
  --gold: #c9a227;
  --gold-light: #e2c875;
  --gold-deep: #9a7b0a;
  --gold-soft: #fbf6eb;
  --gold-border: rgba(201, 162, 39, 0.38);
  --gold-glow: rgba(226, 200, 117, 0.22);
  --heading: #8c1420;
  --text: #2c2c2c;
  --text-light: #5c5c5c;
  --text-muted: #8a8a8a;
  --bg: #fdfbf8;
  --bg-warm: #faf7f2;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(139, 20, 32, 0.07);
  --shadow-hover: 0 8px 32px rgba(139, 20, 32, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --nav-height: 68px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --mobile-bar-height: 56px;
  --gutter: 16px;
  --gutter-mobile: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--primary-deep);
  min-height: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  padding-top: var(--nav-height);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

main {
  background: var(--bg);
}

a { color: var(--primary); transition: color 0.25s ease, opacity 0.25s ease; }
a:hover, a:focus { color: var(--primary-dark); text-decoration: none; }
img { max-width: 100%; height: auto; }
strong { color: var(--primary); font-weight: 700; }
h1 strong, h2 strong, .hero-content h1 strong { color: var(--gold-light); text-shadow: 0 1px 8px rgba(0,0,0,0.15); }
.section-title h2 strong { color: var(--primary); }

/* ========== 全局布局 ========== */
.dagu-site .container {
  max-width: var(--site-max-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

/* ========== 导航栏 ========== */
.navbar-dagu {
  background: var(--primary-dark);
  backdrop-filter: blur(12px);
  border: none;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
  margin-bottom: 0;
  min-height: var(--nav-height);
  box-shadow: 0 2px 16px rgba(110, 16, 24, 0.25);
}
.navbar-dagu .navbar-brand {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 10px 0;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.navbar-dagu .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  background: linear-gradient(145deg, var(--gold-deep), var(--gold-light));
  border-radius: 6px;
  font-size: 18px;
  color: var(--primary-deep);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.navbar-dagu .navbar-nav > li > a {
  color: rgba(255,255,255,0.88) !important;
  padding: 24px 16px;
  font-size: 15px;
  transition: color 0.25s;
}
.navbar-dagu .navbar-nav > li > a:hover,
.navbar-dagu .navbar-nav > li.active > a {
  color: var(--gold-light) !important;
  background: transparent !important;
}
.navbar-dagu .navbar-nav > li.highlight > a {
  background: linear-gradient(145deg, var(--gold-deep), var(--gold));
  color: var(--primary-deep) !important;
  border-radius: 6px;
  margin: 18px 0 18px 12px;
  padding: 8px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  font-weight: 700;
}
.navbar-dagu .navbar-nav > li.highlight > a:hover {
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  color: var(--primary-deep) !important;
}
.navbar-dagu .dropdown-menu {
  background: var(--primary-deep);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  box-shadow: var(--shadow-hover);
  margin-top: 0;
}
.navbar-dagu .dropdown-menu > li > a {
  color: rgba(255,255,255,0.8) !important;
  padding: 10px 20px;
}
.navbar-dagu .dropdown-menu > li > a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--gold-light) !important;
}
.navbar-toggle .icon-bar { background: #fff; }

/* ========== 面包屑 ========== */
.breadcrumb-nav {
  background: #fff;
  border-bottom: 1px solid rgba(201, 31, 55, 0.08);
  box-shadow: none;
  padding: 10px 0;
  margin: 0;
}
.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 14px;
  line-height: 1.5;
}
.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: var(--text-light);
}
.breadcrumb-list li + li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 14px;
  border-top: 1.5px solid #ccc;
  border-right: 1.5px solid #ccc;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.breadcrumb-list a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-list a:hover {
  color: var(--primary);
}
.breadcrumb-list .breadcrumb-current,
.breadcrumb-list li:last-child span:not([itemprop="item"]) {
  color: var(--primary);
  font-weight: 600;
}

/* ========== 页面头部 ========== */
.page-header {
  background: var(--primary-dark);
  padding: 36px 0 40px;
  margin: 0;
  border-bottom: none;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, var(--gold-glow), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(176, 24, 32, 0.4), transparent 50%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: var(--font-h1, 32px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 1px;
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Hero 首页 ========== */
.hero-section {
  background: var(--primary-dark);
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--nav-height) * -1);
  padding-top: var(--nav-height);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 80%, var(--gold-glow), transparent 50%),
    radial-gradient(ellipse at 90% 15%, rgba(226, 200, 117, 0.12), transparent 45%);
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 80px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.25;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--gold-light);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.8;
  max-width: 540px;
  white-space: pre-line;
}
.hero-tags { margin-bottom: 32px; }
.hero-tags .tag {
  display: inline-block;
  padding: 5px 14px;
  margin: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 200, 117, 0.35);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}
.hero-cta .btn {
  margin-right: 12px;
  margin-bottom: 10px;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 600;
}
.hero-cta .btn-primary {
  background: linear-gradient(145deg, var(--gold-deep), var(--gold));
  border-color: var(--gold);
  color: var(--primary-deep);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}
.hero-cta .btn-primary:hover {
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  border-color: var(--gold-light);
  color: var(--primary-deep);
  transform: translateY(-1px);
}
.hero-cta .btn-outline {
  background: transparent;
  border: 1px solid rgba(226, 200, 117, 0.65);
  color: var(--gold-light);
}
.hero-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-light);
  color: #fff;
}

.hero-contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.contact-card h4 {
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}
.contact-card p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin-bottom: 14px;
}
.contact-card .contact-phone a {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.contact-card .contact-wechat {
  font-size: 17px;
  color: var(--gold-light);
}

/* ========== Section 通用 ========== */
.section-categories,
.section-products,
.section-articles,
.section-about,
.section-features,
.section-bottom-cta {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 32px;
  color: var(--heading);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.section-title h2 {
  font-size: 32px;
  color: var(--heading);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  border-radius: 2px;
}
.section-title-left h2::after {
  margin-left: 0;
  margin-right: auto;
}
.section-about { background: var(--white); }
.section-articles { background: var(--bg-warm); }
.section-features { background: var(--white); }
.section-categories,
.section-products { background: var(--bg); }
.section-bottom-cta {
  background: var(--primary-deep);
  color: #fff;
  border-top: none;
  margin-bottom: 0;
  padding-top: 64px;
  padding-bottom: 0;
}

/* ========== 特色优势 ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold-light);
  font-weight: 800;
  line-height: 1;
}
.feature-icon .icon-char {
  font-size: 20px;
  font-family: "PingFang SC", "Microsoft YaHei", serif;
}
.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ========== 分类卡片 ========== */
.category-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(200, 16, 46, 0.08);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-border);
}
.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border: 2px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--gold-light);
  font-weight: 800;
}
.category-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}
.category-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 0;
}

/* ========== 产品卡片 ========== */
.product-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(200, 16, 46, 0.08);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-img {
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder {
  font-size: 48px;
  opacity: 0.3;
}
.product-info { padding: 20px; }
.product-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-specs {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.product-price {
  font-size: 17px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0;
}

/* ========== 关于版块 ========== */
.about-content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 20px;
  margin: 32px 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px;
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
}
.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  color: var(--text-light);
  font-size: 13px;
  margin-top: 4px;
}
.about-highlight {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 36px;
  height: 100%;
  border: 1px solid var(--gold-border);
}
.about-highlight h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
}
.about-highlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-highlight ul li {
  padding: 10px 0 10px 28px;
  font-size: 15px;
  color: var(--text);
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.about-highlight ul li:last-child { border-bottom: none; }
.about-highlight ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ========== 文章卡片 ========== */
.article-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(200, 16, 46, 0.08);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.article-card-horizontal .article-img { width: 200px; flex-shrink: 0; height: auto; min-height: 140px; }
.article-card-horizontal .article-info { flex: 1; }
.article-img {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-img-placeholder { font-size: 40px; opacity: 0.3; }
.article-info { padding: 20px; }
.article-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-date { font-size: 12px; color: var(--text-muted); }

/* ========== 底部 CTA ========== */
.section-bottom-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.section-bottom-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}
.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-divider { color: rgba(255,255,255,0.4); }
.cta-contacts .btn {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 600;
}
.cta-contacts .btn-wechat {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  border-color: var(--gold-deep);
  color: var(--primary-deep);
  cursor: default;
  font-weight: 700;
}

/* ========== 页脚 ========== */
.footer-dagu {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 0 0 24px;
  border-top: none;
  margin-top: 0;
}
.footer-dagu .container {
  padding-top: 48px;
  border-top: 1px solid rgba(226, 200, 117, 0.15);
}
.footer-dagu h4 {
  color: var(--gold-light);
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.footer-desc strong { color: var(--gold-light); }
.footer-contact { font-size: 14px; margin-bottom: 6px; }
.footer-contact a { color: var(--gold-light); font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-cta {
  margin-top: 8px;
  border-radius: 6px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-deep);
  font-weight: 700;
}
.footer-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--primary-deep);
}
.footer-bottom {
  border-top: 1px solid rgba(226, 200, 117, 0.2);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ========== 列表页布局 ========== */
.page-body, .content-page, .detail-section { padding: 48px 0 64px; }

.sidebar-categories,
.product-sidebar-card,
.sidebar-articles {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-categories h4,
.product-sidebar-card h4,
.sidebar-articles h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.sidebar-categories ul,
.sidebar-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-categories ul li { margin-bottom: 4px; }
.sidebar-categories ul li a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: all 0.2s;
}
.sidebar-categories ul li a:hover,
.sidebar-categories ul li a.active {
  background: var(--primary);
  color: #fff;
}
.sidebar-articles ul li {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f4;
}
.sidebar-articles ul li:last-child { border-bottom: none; }
.sidebar-articles ul li a {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  display: block;
}
.sidebar-articles ul li a:hover { color: var(--primary); }

.product-sidebar-card { text-align: center; }
.product-sidebar-card .phone-big {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.product-sidebar-card .wechat-note {
  font-size: 15px;
  color: var(--gold-deep);
  font-weight: 600;
}
.product-sidebar-card .sidebar-tip {
  color: var(--text-light);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.6;
}

/* ========== 分页 ========== */
.pagination { margin-top: 32px; }
.pagination > li > a,
.pagination > li > span {
  color: var(--primary);
  border-radius: 6px !important;
  margin: 0 3px;
  border-color: #e7e5e4;
}
.pagination > li.active > a,
.pagination > li.active > span {
  background: var(--primary);
  border-color: var(--primary);
}

/* ========== 产品详情 ========== */
.product-gallery {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.product-gallery .main-image {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.thumbnail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.thumbnail-list img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.thumbnail-list img:hover { opacity: 0.85; }
.thumbnail-list img.active { border-color: var(--primary); }

.product-detail-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.product-detail-info h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 10px;
}
.product-detail-info h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-warm);
}
.product-detail-info .product-subtitle {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.product-detail-info .product-meta p {
  font-size: 15px;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #f5f5f4;
}
.product-detail-info .product-meta .label-text {
  color: var(--text-light);
  display: inline-block;
  width: 72px;
}
.product-detail-info .price-highlight {
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}
.product-detail-info .product-desc {
  line-height: 1.9;
  font-size: 15px;
  color: var(--text);
}
.product-detail-info .product-desc img { border-radius: var(--radius-sm); }

/* ========== 文章详情 ========== */
.article-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.article-detail .article-cover {
  text-align: center;
  margin-bottom: 28px;
}
.article-detail .article-cover img {
  max-width: 100%;
  border-radius: var(--radius-sm);
}
.article-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f4;
}
.article-body {
  line-height: 1.95;
  font-size: 16px;
  color: var(--text);
}
.article-body h2, .article-body h3 {
  color: var(--heading);
  font-weight: 700;
  margin: 28px 0 16px;
}
.article-body img {
  max-width: 100%;
  margin: 20px 0;
  border-radius: var(--radius-sm);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.article-body td, .article-body th {
  border: 1px solid #e7e5e4;
  padding: 10px 14px;
}
.article-cta-box {
  margin-top: 32px;
  padding: 28px;
  background: var(--gold-soft);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--gold-border);
}
.article-cta-box p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.article-cta-box .phone-link {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-right: 24px;
}
.article-cta-box .wechat-link {
  font-size: 16px;
  color: var(--gold-deep);
  font-weight: 600;
}

/* ========== 关于/联系 ========== */
.content-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.content-box h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 28px;
}
.content-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
}
.content-body {
  line-height: 1.95;
  font-size: 16px;
  color: var(--text);
}
.content-body p { margin-bottom: 16px; }

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.advantage-item {
  padding: 24px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 16, 46, 0.08);
  transition: transform 0.2s;
}
.advantage-item:hover { transform: translateY(-2px); }
.advantage-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.advantage-item p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

.contact-methods { margin-top: 24px; }
.contact-method {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: background 0.2s;
}
.contact-method:hover { background: var(--bg-warm); }
.contact-method .method-icon {
  width: 48px;
  height: 48px;
  margin-right: 20px;
  background: linear-gradient(135deg, rgba(185,28,28,0.1), rgba(234,179,8,0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-method .method-info h4 {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-method .method-info p {
  font-size: 18px;
  color: var(--heading);
  font-weight: 600;
  margin-bottom: 0;
}
.contact-method .method-info a { color: var(--primary); }

.contact-tip-box {
  margin-top: 24px;
  padding: 24px;
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
}
.contact-tip-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.contact-tip-box p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.7;
}

.inquiry-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.inquiry-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}
.inquiry-form .form-intro {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 15px;
}
.inquiry-form .form-control {
  border-radius: var(--radius-sm);
  height: 48px;
  font-size: 15px;
  border-color: #e7e5e4;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.inquiry-form textarea.form-control { height: auto; min-height: 120px; }
.inquiry-form .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.inquiry-form .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.inquiry-form .captcha-row img {
  height: 48px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid #e7e5e4;
}
.inquiry-result {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.inquiry-result.success { background: #dcfce7; color: #166534; }
.inquiry-result.error { background: #fee2e2; color: #991b1b; }

/* ========== 按钮 ========== */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-lg { border-radius: 8px; font-weight: 600; }
.btn-default {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--heading);
  font-weight: 600;
}
.btn-default:hover,
.btn-default:focus {
  background: var(--gold);
  border-color: var(--gold-deep);
  color: var(--primary-deep);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state p { font-size: 16px; margin-bottom: 20px; }

/* ========== 响应式 ========== */
@media (max-width: 991px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card-horizontal { flex-direction: column; }
  .article-card-horizontal .article-img { width: 100%; height: 180px; }
}

/* ========== 间距与组件 ========== */
.page-row > [class*="col-"],
.category-row > [class*="col-"],
.product-row > [class*="col-"],
.article-row > [class*="col-"] {
  margin-bottom: var(--space-md);
}
.section-action {
  margin-top: var(--space-lg);
  text-align: center;
}
.section-action-left { text-align: left; }
.section-title-left { text-align: left; margin-bottom: var(--space-md); }
.section-title-left h2 { margin-bottom: 0; }
.pagination-wrap { margin-top: var(--space-lg); text-align: center; }

.contact-qrcode,
.sidebar-qrcode,
.contact-qrcode-block {
  margin-top: var(--space-sm);
  text-align: center;
}
.contact-qrcode img,
.sidebar-qrcode img,
.contact-qrcode-block img {
  max-width: 160px;
  border-radius: var(--radius-sm);
  border: 3px solid var(--gold-border);
  background: #fff;
  padding: 6px;
}
.contact-qrcode-block p {
  margin-top: var(--space-xs);
  font-size: 13px;
  color: var(--text-light);
}
.contact-card-tip {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-sm);
  margin-bottom: 0;
}
.sidebar-cta {
  margin-top: var(--space-sm);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.cta-contacts .btn-wechat {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  border-color: var(--gold-deep);
  color: var(--primary-deep);
  cursor: default;
  font-weight: 700;
}
.product-sidebar-card .wechat-note,
.contact-card .contact-wechat,
.article-cta-box .wechat-link {
  color: var(--gold-deep);
  font-weight: 600;
}

/* ========== 手机底部联系栏 ========== */
.mobile-contact-bar {
  display: none;
}

.footer-row > [class*="col-"] { margin-bottom: var(--space-md); }

/* ========== 移动端：边距 + 布局 ========== */
@media (max-width: 768px) {
  :root { --nav-height: 64px; --gutter-mobile: 16px; --site-header-h: 64px; }

  body {
    padding-bottom: 0;
    overflow-x: hidden;
    background: var(--primary-deep);
  }

  main {
    background: var(--bg);
  }

  .section-bottom-cta {
    padding-top: var(--space-xl);
    padding-bottom: 0;
  }

  /* 全站统一左右边距 */
  .site-wrap,
  .dagu-site .container,
  .container,
  .navbar-dagu > .container,
  .breadcrumb-nav > .container,
  .page-header > .container,
  .hero-section > .container,
  .footer-dagu > .container,
  main .container,
  .section-features > .container,
  .section-categories > .container,
  .section-products > .container,
  .section-about > .container,
  .section-articles > .container,
  .section-bottom-cta > .container,
  .page-body > .container,
  .content-page > .container,
  .detail-section > .container {
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    max-width: 100%;
    width: 100%;
  }

  /* 导航栏 */
  .navbar-dagu .navbar-header {
    margin-left: 0;
    margin-right: 0;
  }
  .navbar-dagu .navbar-brand {
    padding: 10px 0;
    max-width: calc(100% - 56px);
  }
  .navbar-dagu .navbar-toggle {
    margin-right: 0;
    margin-top: 12px;
    border-color: var(--gold-border);
  }
  .navbar-dagu .navbar-collapse {
    padding: var(--space-sm) 0 var(--space-md);
    margin-top: 0;
    border-top: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: none;
  }
  .navbar-dagu .navbar-nav {
    margin: 0;
  }
  .navbar-dagu .navbar-nav > li > a {
    padding: 14px var(--gutter-mobile);
  }
  .navbar-dagu .navbar-nav > li.highlight > a {
    margin: var(--space-xs) var(--gutter-mobile);
    text-align: center;
  }
  .navbar-dagu .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    background: rgba(122, 8, 28, 0.95);
    box-shadow: none;
  }
  .navbar-dagu .dropdown-menu > li > a {
    padding: 12px var(--gutter-mobile);
  }

  /* 面包屑 */
  .breadcrumb-nav {
    padding: 12px 0;
  }
  .breadcrumb-list {
    padding: 0;
  }

  /* Hero 首页顶部 */
  .hero-section {
    min-height: auto;
  }
  .hero-content {
    padding: var(--space-lg) 0 var(--space-xl);
  }
  .hero-content .row {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-content [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-content h1 { font-size: 28px; line-height: 1.35; }
  .hero-subtitle { font-size: 15px; margin-bottom: var(--space-md); }
  .hero-tags { margin-bottom: var(--space-md); }
  .hero-tags .tag { margin: 0 6px 8px 0; }
  .hero-contact-card { margin-top: var(--space-lg); }
  .contact-card { max-width: none; padding: var(--space-md); }
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--space-sm);
    text-align: center;
  }

  /* 内页页头 */
  .page-header {
    padding: var(--space-lg) 0;
  }
  .page-header h1 { font-size: 24px; }
  .page-header p { font-size: 14px; padding: 0; }

  /* 区块间距 */
  .section-categories, .section-products, .section-articles,
  .section-about, .section-features, .section-bottom-cta {
    padding: var(--space-xl) 0;
  }
  .section-title { margin-bottom: var(--space-lg); padding: 0; }
  .section-title h2 { font-size: 24px; }
  .section-title p { font-size: 14px; padding: 0 var(--space-xs); }
  .section-action { margin-top: var(--space-md); padding: 0; }

  .page-body, .content-page, .detail-section {
    padding: var(--space-lg) 0;
  }

  /* 栅格行：保证卡片不贴边 */
  .row,
  .category-row,
  .product-row,
  .article-row,
  .page-row,
  .footer-row {
    margin-left: -10px;
    margin-right: -10px;
  }
  .row > [class*="col-"],
  .category-row > [class*="col-"],
  .product-row > [class*="col-"],
  .article-row > [class*="col-"],
  .page-row > [class*="col-"],
  .footer-row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: var(--space-md);
  }

  .feature-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .advantage-grid { grid-template-columns: 1fr; gap: var(--space-sm); }

  .feature-item,
  .category-card,
  .product-card,
  .article-card,
  .sidebar-categories,
  .product-sidebar-card,
  .sidebar-articles,
  .content-box,
  .inquiry-form,
  .article-detail,
  .product-gallery,
  .product-detail-info {
    margin-bottom: var(--space-md);
  }

  .article-detail, .content-box, .inquiry-form,
  .product-gallery, .product-detail-info {
    padding: var(--space-md);
  }

  .article-card-horizontal { flex-direction: column; }
  .article-card-horizontal .article-img { width: 100%; height: 180px; }

  .about-stats { flex-direction: column; gap: var(--space-sm); }
  .stat-item { margin-bottom: 0; }

  .cta-divider { display: none; }
  .cta-contacts { flex-direction: column; gap: var(--space-sm); }
  .cta-contacts .btn { width: 100%; max-width: 100%; }

  .pagination-wrap { margin-top: var(--space-md); }

  /* 底部联系栏 */
  .mobile-contact-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    height: var(--mobile-bar-height);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--primary-deep);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.25);
    border-top: 2px solid var(--gold-border);
  }
  .mobile-bar-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
  }
  .mobile-bar-item + .mobile-bar-item {
    border-left: 1px solid rgba(255, 215, 0, 0.25);
  }
  .mobile-bar-item:active,
  .mobile-bar-item:hover {
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold-light) !important;
  }
  .mobile-bar-icon { font-size: 18px; }

  .footer-dagu {
    padding: var(--space-lg) 0 calc(var(--space-md) + var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  }
  .footer-bottom { margin-top: var(--space-lg); padding-top: var(--space-md); }
  .contact-methods { margin-top: var(--space-md); }
  .contact-method { padding: var(--space-sm) var(--space-md); }
  .inquiry-form .captcha-row .row {
    margin-left: -10px;
    margin-right: -10px;
  }
}
