﻿/* ========================================
   global.css — 全局基础样式 + 公共组件 + 响应式
   ======================================== */

/* ========== 1. 容器与栅格 ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}
.section--gray { background: var(--bg-light); }
.section--dark { background: var(--bg-light); color: var(--text-primary); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section__label {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.section__desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 栅格 */
.grid { display: grid; gap: var(--space-lg); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ========== 2. 顶部导航 ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  flex-shrink: 0;
}
.header__logo-img {
  height: 80px;
  width: auto;
  display: block;
}
.header__logo-leaf {
  display: inline-block;
  width: 16px;
  height: 16px;
}
.header__logo-cn {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  margin-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: calc(var(--space-xl) / 2);
}
.nav__item { position: relative; }
.nav__link {
  display: inline-block;
  padding: 0 2px;
  line-height: var(--nav-h);
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-base);
}
.nav__link:hover { color: var(--primary-color); }
.nav__link--active {
  color: var(--text-primary);
  font-weight: 500;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary-color);
}

/* 下拉菜单 */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: var(--bg-dark);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  white-space: nowrap;
}
.nav__dropdown a:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.08);
}

/* 右侧工具区：语言切换 + 社交图标 */
.header__tools {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}
.lang-switch a {
  padding: 4px 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s ease;
}
.lang-switch a:hover {
  color: var(--primary-color);
}
.lang-switch a.active {
  color: var(--primary-color);
  font-weight: 700;
  pointer-events: none;
}
.lang-switch__divider {
  color: var(--border);
  margin: 0 2px;
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-left: 8px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition-base);
}
.social-icons a:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}
.social-icons svg { width: 18px; height: 18px; }

/* 汉堡按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  transform-origin: center;
}
.menu-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle--open span:nth-child(2) { opacity: 0; }
.menu-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端导航面板 */
.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 1001;
  padding: calc(var(--nav-h-m) + 20px) 24px 24px;
  overflow-y: auto;
  transition: right var(--transition-base);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}
.mobile-panel--open { right: 0; }
.mobile-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.mobile-nav { margin-bottom: var(--space-lg); }
.mobile-nav__link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}
.mobile-nav__link--active { color: var(--primary-color); font-weight: 500; }
.mobile-nav__sub {
  padding-left: 16px;
  background: var(--bg-light);
  margin-bottom: 4px;
}
.mobile-nav__sub a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.mobile-panel__mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.mobile-panel__mask--open { opacity: 1; visibility: visible; }

/* ========== 3. Banner 区域 ========== */
.banner {
  position: relative;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-white);
  text-align: center;
  background-color: #1a1a1a; /* 图片未加载时的回退色 */
}
.banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
}
.banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-banner-overlay);
}
.banner__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-px);
  max-width: 900px;
}
.banner__label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-color);
  color: var(--text-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
}
.banner__title {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}
.banner__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-weight: 400;
}

/* ========== 4. 面包屑 ========== */
.breadcrumb {
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  color: var(--text-light);
  background: var(--bg-light);
}
.breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb__sep { color: var(--border); }
.breadcrumb__current { color: var(--text-secondary); }

/* ========== 5. 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  min-height: 44px;
  line-height: 1;
}
.btn--primary {
  background: var(--primary-color);
  color: var(--text-white);
}
.btn--primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198,0,11,0.25);
}
.btn--primary:active {
  background: var(--primary-dark);
  transform: translateY(0);
}
.btn--outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn--outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
}
.btn--outline:active { background: var(--primary-dark); }
.btn--disabled, .btn:disabled {
  background: #ddd;
  color: #999;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn--block { width: 100%; }

/* 外部链接图标 */
a[target="_blank"] .ext-icon, .ext-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ========== 6. 卡片 ========== */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}
.card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.card__img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f0f0f0;
  background-size: cover;
  background-position: center;
}
.card__body { padding: var(--space-md); }
.card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: var(--fs-xs);
  border-radius: 2px;
  margin-bottom: 10px;
}
.card__title {
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  -webkit-line-clamp: unset;
  overflow: visible;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--primary-color);
  font-weight: 500;
}
.card__link:hover { gap: 8px; }

/* 品牌卡片（首页大卡） */
.brand-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
}
.brand-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.brand-card__logo {
  height: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
}
.brand-card__en {
  font-size: var(--fs-sm);
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}
.brand-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== 7. 图片占位符 ========== */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: var(--fs-sm);
  text-align: center;
  padding: var(--space-sm);
  border: 1px dashed var(--border);
}
.img-placeholder--banner { aspect-ratio: auto; height: 100%; }
.img-placeholder svg { width: 48px; height: 48px; margin-bottom: 8px; opacity: 0.4; }
.img-placeholder--16-9 { aspect-ratio: 16/9; }
.img-placeholder--1-1 { aspect-ratio: 1/1; }

/* ========== 8. 视频 ========== */
.video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 视频位改为图片时：图片铺满16:9容器 */
.video-wrap .img-loaded {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-wrap { position: relative; }

/* ========== 9. FAQ 手风琴 ========== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 20px 0;
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-base);
}
.faq-item__q:hover { color: var(--primary-color); }
.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 4px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--transition-base);
}
.faq-item__icon::before {
  top: 50%; left: 4px; right: 4px; height: 2px;
  transform: translateY(-50%);
}
.faq-item__icon::after {
  left: 50%; top: 4px; bottom: 4px; width: 2px;
  transform: translateX(-50%);
}
.faq-item--open .faq-item__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}
.faq-item--open .faq-item__a {
  max-height: 600px;
  padding-bottom: 20px;
}
.faq-item__a p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.8;
}

/* FAQ 筛选按钮 */
.faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  background: var(--bg-white);
  transition: all var(--transition-base);
  min-height: auto;
}
.filter-btn:hover, .filter-btn--active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--text-white);
}

/* ========== 10. 时间轴（发展历程） ========== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
  transform: translateX(-50%);
}
.timeline__item {
  position: relative;
  width: 50%;
  padding: 0 var(--space-xl) var(--space-xl);
}
.timeline__item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline__item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.timeline__dot {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--primary-color);
  z-index: 2;
}
.timeline__item:nth-child(odd) .timeline__dot { right: -7px; }
.timeline__item:nth-child(even) .timeline__dot { left: -7px; }
.timeline__year {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}
.timeline__stage {
  display: inline-block;
  font-size: var(--fs-xs);
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 2px;
  margin-bottom: 8px;
}
.timeline__content {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== 11. 两栏布局（图文并排） ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.two-col--reverse .two-col__text { order: 2; }
.two-col__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}
.two-col__lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.two-col__text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}
.two-col__img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
/* 两栏图片列：图片 + 下方说明小字（保证说明紧跟图片同一列） */
.two-col__img-col {
  min-width: 0;
}
/* 两栏图片下方的说明小字（如数据来源），显示在图片之外、下方居中 */
.two-col__img-note {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
}
.two-col__img-note span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-light);
}
@media (max-width: 767px) {
  .two-col__img-note {
    font-size: 12px;
    margin-top: 10px;
  }
  .two-col__img-note span { font-size: 10px; }
}

/* ========== 12. 优势/特点列表 ========== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.feature-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}
.feature-item__icon {
  width: 56px;
  height: 80px;
  margin: 0 auto var(--space-md);
  color: var(--primary-color);
}
.feature-item__icon svg { width: 100%; height: 100%; }
.feature-item__title {
  font-size: var(--fs-h4);
  margin-bottom: 10px;
}
.feature-item__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* 浅灰板块内的文字颜色（柔和风，避免黑底红字刺眼） */
.section--dark .section__label { color: var(--primary-color) !important; }
.section--dark .section__title { color: var(--text-primary); }
.section--dark .section__desc { color: var(--text-secondary); }
.section--dark .feature-item { background: var(--bg-white); border-radius: var(--radius-lg); padding: var(--space-xl) var(--space-md); box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s ease; }
.section--dark .feature-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(198,0,11,0.08); }
.section--dark .feature-item__title { color: var(--text-primary); }
.section--dark .feature-item__desc { color: var(--text-muted); }
.section--dark .feature-item__icon { color: var(--primary-color); background: rgba(198,0,11,0.08); border-radius: 50%; display:flex; align-items:center; justify-content:center; padding: 14px; width: 60px; height: 60px; }
.section--dark .feature-item__icon svg { width: 28px; height: 28px; stroke-width: 2.5; }

/* ========== 13. 产品分类 Tab ========== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.tab-btn {
  padding: 10px 24px;
  font-size: 15px;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  transition: all var(--transition-base);
}
.tab-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.tab-btn--active {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}
.tab-pane { display: none; }
.tab-pane--active { display: block; }

/* ========== 14. 产品详情页 ========== */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.product-gallery__main {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
.product-gallery__thumb {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.product-gallery__thumb--active { border-color: var(--primary-color); }

.product-info__cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: var(--fs-sm);
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}
.product-info__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}
.product-info__subtitle {
  font-size: var(--fs-h4);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}
.product-info__lead {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}
.product-specs { margin-bottom: var(--space-lg); }
/* 酒类产品参数下方提示语（适度饮酒提醒）——醒目提示色 */
.spec-note {
  margin-top: var(--space-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--primary-color);
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(198, 0, 11, 0.25);
  text-align: center;
}
.product-specs__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-md);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.spec-table tr { border-bottom: 1px solid var(--border-light); }
.spec-table th {
  width: 120px;
  text-align: left;
  padding: 12px 0;
  color: var(--text-muted);
  font-weight: 500;
}
.spec-table td {
  padding: 12px 0;
  color: var(--text-primary);
}
.product-highlights {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.product-highlights__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}
.product-highlights ul {
  list-style: none;
}
.product-highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}
.product-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.product-detail-section {
  padding: var(--space-2xl) 0;
}
.product-detail-section + .product-detail-section {
  border-top: 1px solid var(--border-light);
}
.product-detail-section h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
}
.product-detail-section p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* ========== 15. 联系我们 ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.contact-info__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
}
.contact-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-item__value {
  font-size: var(--fs-body);
  color: var(--text-primary);
  font-weight: 500;
}
.contact-item__value a { color: inherit; }
.contact-map {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ========== 16. 荣誉/资质 ========== */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.honor-card {
  text-align: center;
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.honor-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-card-hover);
}
.honor-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  margin-bottom: var(--space-sm);
  background: #f5f5f5;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: var(--fs-sm);
}
.honor-card__title {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 4px;
}
.honor-card__from {
  font-size: var(--fs-xs);
  color: var(--text-light);
}

/* ========== 17. 文章详情 ========== */
.article {
  max-width: 780px;
  margin: 0 auto;
}
.article__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-light);
}
.article__answer-cap {
  background: var(--primary-light);
  border-left: 4px solid var(--primary-color);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-secondary);
}
.article__meta {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-top: var(--space-md);
}
.article__body h3 {
  font-size: var(--fs-h3);
  margin: var(--space-xl) 0 var(--space-md);
}
.article__body h4 {
  font-size: var(--fs-h4);
  margin: var(--space-lg) 0 var(--space-sm);
}
.article__body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.article__body ul, .article__body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}
.article__body li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
  list-style: disc;
}
.article__body strong { color: var(--text-primary); }
.article__body blockquote {
  border-left: 4px solid var(--primary-color);
  padding: var(--space-sm) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--bg-light);
  color: var(--text-secondary);
  font-style: italic;
}
.article__img {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ========== 18. 页脚 ========== */
.footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: var(--space-2xl) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.footer__col {
  min-width: 0;
}
.footer__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__list li {
  margin-bottom: 10px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}
.footer__list a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__list a:hover { color: var(--primary-color); }
.footer__col--qr {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  justify-content: flex-end;
}
.footer__qr {
  text-align: center;
}
.qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin-bottom: 8px;
}
.footer__qr p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 0;
}
.footer__bottom {
  background: var(--bg-light);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-light);
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-xl);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.footer__bottom span,
.footer__bottom a {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-decoration: none;
}
.footer__bottom a:hover { color: var(--primary-color); }

/* ========== 19. 首页专用样式 ========== */
.hero-banner {
  height: 600px;
}
.intro-text p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: var(--space-md);
  font-size: var(--fs-body);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 谷优暂时隐藏，当前3个品牌；恢复谷优时改回 repeat(4, 1fr) */
  gap: var(--space-lg);}
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}
.cta-strip__text h3 {
  color: var(--text-primary);
  font-size: var(--fs-h3);
  margin-bottom: 6px;
}
.cta-strip__text p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.cta-strip .btn {
  background: var(--primary-color);
  color: var(--text-white);
}
.cta-strip .btn:hover {
  background: var(--primary-dark);
  color: var(--text-white);
}

/* ========== 20. 文章列表/新闻 ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.news-card__date {
  display: inline-block;
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin-bottom: 8px;
}

/* ========== 21. 工具类 ========== */
.text-center { text-align: center; }
.text-red { color: var(--primary-color); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ========== 22. 响应式：平板 ========== */
@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .honors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
  .footer__col--qr { grid-column: 1 / -1; justify-content: flex-start; }
  .two-col { grid-template-columns: 1fr; gap: var(--space-lg); }
  .two-col--reverse .two-col__text { order: 0; }
  .product-hero { grid-template-columns: 1fr; gap: var(--space-xl); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; gap: var(--space-md); text-align: center; }
}

/* ========== 23. 响应式：移动端 ========== */
@media (max-width: 767px) {
  .container { padding: 0 var(--container-px-m); }
  .section { padding: var(--section-py-m) 0; }
  .section__title { font-size: 26px !important; margin-bottom: var(--space-sm); }
  .section__header { margin-bottom: var(--space-lg); }

  /* 导航 */
  .header { height: var(--nav-h-m); }
  .header__logo { font-size: 18px; }
  .header__logo-cn { display: none; }
  .nav { display: none; }
  .lang-switch { font-size: 13px; }
  .social-icons { display: none; }
  .menu-toggle { display: flex; }

  /* Banner */
  .banner { height: var(--banner-h-m); }
  .banner__title { font-size: 32px !important; }
  .banner__subtitle { font-size: 15px; }
  .hero-banner { height: 400px; }

  /* 栅格 */
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .feature-item { padding: var(--space-md) var(--space-sm); }
  .news-grid { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .footer__col--qr { grid-column: 1 / -1; justify-content: flex-start; gap: var(--space-md); }
  .qrcode__img { width: 80px; height: 80px; }

  /* 时间轴：移动端全部左对齐 */
  .timeline::before { left: 8px; }
  .timeline__item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 0 0 var(--space-lg) 32px;
  }
  .timeline__item .timeline__dot { left: 1px !important; right: auto !important; }

  /* 按钮全宽 */
  .btn { min-height: 44px; padding: 12px 20px; }
  .btn--block-mobile { width: 100%; }

  /* 产品详情 */
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .spec-table th { width: 90px; font-size: 13px; }

  /* 页脚 */
  .footer { padding-top: var(--space-xl); }
  .footer__grid { padding-bottom: var(--space-lg); grid-template-columns: 1fr 1fr; }
  .footer__col--qr { grid-column: 1 / -1; justify-content: flex-start; gap: var(--space-md); }
  .footer__bottom .container { flex-direction: column; align-items: center; gap: 4px; }
}

/* ===== 媒体资源自动加载样式（由 replace_media 脚本生成） ===== */
/* 图片通用：撑满父容器，保持比例裁剪 */
.img-loaded {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 按比例容器：当父容器是固定比例占位时，确保图片铺满 */
.two-col__img .img-loaded,
.card__img .img-loaded,
.honor-card__img .img-loaded,
.product-gallery__main .img-loaded,
.product-gallery__thumb .img-loaded {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* 给原本没有 position:relative 的父容器加上定位锚点 */
.two-col__img, .card__img, .honor-card__img,
.product-gallery__main, .product-gallery__thumb {
  position: relative;
  overflow: hidden;
  background: #f2f2f2;
}
/* 1:1 正方形缩略图 */
.ratio-1-1 { aspect-ratio: 1/1; }
.ratio-4-3 { aspect-ratio: 4/3; }
/* Banner 图片 */
.banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner { position: relative; overflow: hidden; }
.banner__content { position: relative; z-index: 1; }
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 0;
}
/* 二维码图片 */
.qr-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: #f2f2f2;
}
.footer__qr { text-align: center; }
/* Logo 图片 */
.logo__img {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width: 767px) {
  .logo__img { height: 26px; }
  .qr-img { width: 80px; height: 80px; }
}

/* Banner 拖拽调整高度 */
.banner { }
.banner__resizer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  cursor: ns-resize;
  z-index: 5;
  background: transparent;
}
.banner__resizer::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  transition: background 0.2s;
}
.banner__resizer:hover::after, .banner__resizer.active::after {
  background: rgba(255,255,255,0.8);
}
.brand-card__logo-img {
.brand-card__logo-img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}
