/* ==========================================================================
   前台商城 · 高级版样式（Premium Storefront）
   设计语言：深藏青 + 金琥珀点缀 · 极简留白 · 细腻阴影 · 国际审美
   与会员中心 member.css 同一套设计令牌，保证全站风格统一。
   ========================================================================== */
:root {
  --sd-navy: #0d1830;
  --sd-navy-2: #1b2c4e;
  --sd-navy-3: #25406f;
  --sd-gold: #d99a2b;
  --sd-gold-2: #eab650;
  --sd-blue: #2d5bd7;
  --sd-green: #1f9d63;
  --sd-red: #d9534f;
  --sd-bg: #f4f5f9;
  --sd-card: #ffffff;
  --sd-border: #e8ebf1;
  --sd-border-soft: #f0f2f7;
  --sd-text: #1b2234;
  --sd-heading: #101830;
  --sd-muted: #8b93a7;
  --sd-faint: #b7bdcb;
  --sd-radius: 0;
  --sd-radius-lg: 0;
  --sd-shadow: 0 1px 2px rgba(16, 24, 48, .04), 0 8px 24px rgba(16, 24, 48, .05);
  --sd-shadow-hover: 0 4px 10px rgba(16, 24, 48, .06), 0 16px 40px rgba(16, 24, 48, .10);
}

/* ===== 全局 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--sd-text);
  background: var(--sd-bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
}
a { color: var(--sd-blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: #1d44a8; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.site-main { flex: 1; }

/* ===== 顶部导航 ===== */
.site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--sd-border);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sd-navy);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.brand:hover { color: var(--sd-navy); }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 0;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sd-navy-2), var(--sd-navy-3));
  box-shadow: 0 4px 12px rgba(13, 24, 48, .22);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { background: linear-gradient(135deg, #0d1830, #25406f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.main-nav { display: flex; gap: 4px; }
.nav-link {
  position: relative;
  color: #4b5468;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 0;
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: var(--sd-navy); background: #f1f3f8; text-decoration: none; }
.nav-link.active { color: var(--sd-navy); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--sd-gold), var(--sd-gold-2));
}

.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-form {
  display: flex;
  align-items: center;
  background: #f1f3f8;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 4px 4px 4px 16px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.search-form:focus-within {
  background: #fff;
  border-color: #c9d4ec;
  box-shadow: 0 0 0 4px rgba(45, 91, 215, .08);
}
.search-form input {
  border: none;
  background: transparent;
  padding: 7px 0;
  width: 190px;
  font-size: 14px;
  outline: none;
  color: var(--sd-text);
  font-family: inherit;
}
.search-form button {
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sd-gold), #d9852b);
  color: #0d1830;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: filter .18s ease, transform .18s ease;
}
.search-form button:hover { filter: brightness(1.08); transform: scale(1.04); }
.search-form button svg { width: 16px; height: 16px; }

/* 语言切换 */
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--sd-border);
  background: #fff;
  border-radius: 0;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  color: #4b5468;
  transition: border-color .18s ease;
}
.lang-current svg { width: 14px; height: 14px; color: var(--sd-muted); }
.lang-switch:hover .lang-current { border-color: #c9d4ec; }
.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 115%;
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 0;
  box-shadow: var(--sd-shadow-hover);
  min-width: 130px;
  overflow: hidden;
  padding: 6px;
  z-index: 110;
}
/* 悬停桥：覆盖触发器与列表之间的间隙，宽度随列表自身，任意角度移入均不闪失 */
.lang-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}
/* 展开状态由 common.js 的 initLangSwitch 控制（悬停展开 + 200ms 延迟关闭） */
.lang-dropdown.open { display: block; }
.lang-option {
  display: block;
  padding: 8px 14px;
  border-radius: 0;
  color: var(--sd-text);
  font-size: 13.5px;
  font-weight: 500;
}
.lang-option:hover { background: #f1f3f8; color: var(--sd-navy); text-decoration: none; }
.lang-option.active { color: var(--sd-blue); font-weight: 700; }

/* 头部按钮 */
.nav-btn {
  background: none;
  border: none;
  color: #4b5468;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 0;
  font-family: inherit;
  transition: color .18s ease, background .18s ease;
}
.nav-btn:hover { color: var(--sd-navy); background: #f1f3f8; }
.nav-btn-link {
  color: #4b5468;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 0;
}
.nav-btn-link:hover { color: var(--sd-navy); background: #f1f3f8; text-decoration: none; }
.nav-btn-link.accent {
  background: linear-gradient(135deg, var(--sd-gold), #d9852b);
  color: #0d1830;
  font-weight: 600;
  padding: 8px 18px;
  box-shadow: 0 4px 12px rgba(217, 154, 43, .28);
}
.nav-btn-link.accent:hover { filter: brightness(1.06); color: #0d1830; }
.member-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sd-navy);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 0;
}
.member-link svg { width: 16px; height: 16px; color: var(--sd-gold); }
.member-link:hover { background: #f1f3f8; color: var(--sd-navy); text-decoration: none; }
.member-link .unread-dot {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--sd-gold), #d9852b);
  color: #0d1830;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sd-border);
  background: #fff;
  color: var(--sd-navy);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.nav-toggle:hover { background: #f1f3f8; border-color: #c9d4ec; }
.nav-toggle svg { width: 19px; height: 19px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle.open .ic-open { display: none; }
.nav-toggle.open .ic-close { display: block; }

/* 移动端展开面板 */
.mobile-panel {
  display: none;
  border-top: 1px solid var(--sd-border);
  background: #fff;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.mobile-panel.open { max-height: 480px; }
.mobile-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 16px 0 6px;
}
.mobile-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  font-size: 14px;
  background: #f4f5f9;
}
.mobile-nav .nav-link.active { background: linear-gradient(135deg, var(--sd-navy-2), var(--sd-navy-3)); color: #fff; font-weight: 600; }
.mobile-nav .nav-link.active::after { display: none; }
.mobile-panel .search-form { display: flex; margin: 10px 0 18px; }
.mobile-panel .search-form input { flex: 1; width: auto; }

/* ===== 首页 Banner ===== */
.banner-wrap {
  position: relative;
  overflow: hidden;
  background: var(--sd-navy);
  height: min(70vh, 640px);
  min-height: 440px;
}
.banner-wrap::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 182, 80, .20) 0%, transparent 62%);
  z-index: 1;
  pointer-events: none;
}
.banner-wrap::after {
  content: "";
  position: absolute;
  left: 38%;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 138, 255, .14) 0%, transparent 62%);
  z-index: 1;
  pointer-events: none;
}
.banner-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.banner-slide { min-width: 100%; position: relative; height: 100%; overflow: hidden; }
.banner-slide > a, .banner-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-slide img { will-change: transform; animation: bannerKenburns 10s cubic-bezier(.25, .46, .45, .94) both; }
@keyframes bannerKenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 24, 48, .78) 0%, rgba(13, 24, 48, .35) 52%, rgba(13, 24, 48, .12) 100%),
              linear-gradient(0deg, rgba(13, 24, 48, .55) 0%, transparent 42%);
  z-index: 1;
}
.banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 20px;
  color: #fff;
}
.banner-caption-inner { max-width: 1200px; margin: 0 auto; }
.banner-caption .banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sd-gold-2);
  margin-bottom: 16px;
}
.banner-caption .banner-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--sd-gold), transparent);
}
.banner-caption h2 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.5px;
  max-width: 640px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .4);
}
.banner-caption p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, .84);
  max-width: 520px;
  margin-top: 14px;
  line-height: 1.8;
}
.banner-caption-inner.run .banner-eyebrow,
.banner-caption-inner.run h2,
.banner-caption-inner.run p,
.banner-caption-inner.run .banner-cta {
  animation: bannerUp .6s cubic-bezier(.22, .61, .36, 1) both;
}
.banner-caption-inner.run h2 { animation-delay: .08s; }
.banner-caption-inner.run p { animation-delay: .18s; }
.banner-caption-inner.run .banner-cta { animation-delay: .28s; }
@keyframes bannerUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.banner-dot {
  width: 26px;
  height: 4px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.banner-dot:hover { background: rgba(255, 255, 255, .6); }
.banner-dot.active { background: var(--sd-gold-2); width: 40px; }
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.banner-arrow:hover { background: rgba(255, 255, 255, .28); border-color: var(--sd-gold-2); }
.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }
.banner-arrow.prev:hover { transform: translateY(-50%) translateX(-3px); }
.banner-arrow.next:hover { transform: translateY(-50%) translateX(3px); }
.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--sd-gold), #d9852b);
  color: #0d1830;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(217, 154, 43, .38);
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.banner-cta:hover { filter: brightness(1.07); transform: translateY(-2px); color: #0d1830; box-shadow: 0 14px 34px rgba(217, 154, 43, .45); }
.banner-cta svg { width: 16px; height: 16px; transition: transform .18s ease; }
.banner-cta:hover svg { transform: translateX(3px); }

/* ===== 首页区块 ===== */
.home-section { padding: 46px 0 8px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.section-title {
  position: relative;
  font-size: 24px;
  font-weight: 800;
  color: var(--sd-heading);
  letter-spacing: -.3px;
  line-height: 1.3;
}
.section-title .en {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--sd-gold);
  margin-bottom: 6px;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 0;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--sd-gold), var(--sd-gold-2));
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sd-muted);
  padding-bottom: 6px;
  transition: color .18s ease;
}
.section-more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.section-more:hover { color: var(--sd-blue); text-decoration: none; }
.section-more:hover svg { transform: translateX(3px); }

/* 商品网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card {
  background: var(--sd-card);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  overflow: hidden;
  box-shadow: var(--sd-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sd-shadow-hover);
  border-color: #d9e0ee;
}
.card-link { display: block; color: var(--sd-text); }
.card-link:hover { text-decoration: none; color: var(--sd-text); }
.card-cover-wrap { position: relative; overflow: hidden; background: #eef0f5; }
.card-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.product-card:hover .card-cover { transform: scale(1.05); }
.card-cover-placeholder {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef1f7, #e3e8f2);
  color: var(--sd-faint);
}
.card-cover-placeholder svg { width: 42px; height: 42px; }
.card-body { padding: 16px 18px 18px; }
.card-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--sd-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 46px;
}
.card-desc {
  color: var(--sd-muted);
  font-size: 13px;
  margin-top: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.tag {
  background: #eef1f8;
  color: var(--sd-navy-2);
  font-size: 12px;
  font-weight: 600;
  border-radius: 0;
  padding: 3px 10px;
}
.tag.cat { background: #faf0dc; color: #b0760f; }
.tag.gold { background: #faf0dc; color: #b0760f; }

/* 分类 chips */
.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 0;
  padding: 10px 22px;
  color: #4b5468;
  font-size: 14px;
  font-weight: 500;
  transition: all .18s ease;
  box-shadow: var(--sd-shadow);
}
.chip svg { width: 15px; height: 15px; color: var(--sd-gold); }
.chip:hover {
  border-color: var(--sd-navy-2);
  color: var(--sd-navy);
  transform: translateY(-2px);
  box-shadow: var(--sd-shadow-hover);
  text-decoration: none;
}

/* 文章列表 */
.article-item {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: var(--sd-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.article-item:hover { transform: translateY(-2px); box-shadow: var(--sd-shadow-hover); }
.article-item .art-ic {
  width: 46px;
  height: 46px;
  border-radius: 0;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef1f8, #e2e8f3);
  color: var(--sd-navy-2);
}
.article-item .art-ic svg { width: 20px; height: 20px; }
.article-item h3 { font-size: 17px; font-weight: 700; color: var(--sd-heading); margin-bottom: 6px; }
.article-item h3 a { color: var(--sd-heading); }
.article-item h3 a:hover { color: var(--sd-blue); }
.article-meta { color: var(--sd-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.article-meta .sep { color: var(--sd-faint); }
.article-excerpt { color: #55607a; font-size: 14px; margin-top: 8px; line-height: 1.7; }

/* 主题卡片 */
.thumb-card {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  overflow: hidden;
  box-shadow: var(--sd-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.thumb-card:hover { transform: translateY(-4px); box-shadow: var(--sd-shadow-hover); }
.thumb-card > a { display: block; }
.thumb-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.thumb-card-body { padding: 16px 18px 18px; }
.thumb-card-body h3 { font-size: 15.5px; font-weight: 600; color: var(--sd-heading); }
.thumb-card-body .card-desc { margin-top: 6px; }

/* ===== 列表页 ===== */
.page-head {
  padding: 30px 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.page-head h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--sd-heading);
  letter-spacing: -.3px;
}
.page-head .sub {
  font-size: 13px;
  color: var(--sd-muted);
  margin-top: 5px;
}
.breadcrumb { font-size: 13px; color: var(--sd-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--sd-muted); }
.breadcrumb a:hover { color: var(--sd-blue); }
.breadcrumb .crumb-cur { color: #4b5468; font-weight: 500; }
.filter-bar {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  box-shadow: var(--sd-shadow);
}
.filter-bar .filter-label { color: var(--sd-muted); font-size: 13px; font-weight: 500; }
.filter-link {
  padding: 6px 16px;
  border-radius: 0;
  border: 1px solid var(--sd-border);
  font-size: 13px;
  font-weight: 500;
  color: #4b5468;
  background: #fff;
  transition: all .16s ease;
}
.filter-link:hover { border-color: #c9d4ec; color: var(--sd-navy); text-decoration: none; }
.filter-link.active {
  background: linear-gradient(135deg, var(--sd-navy-2), var(--sd-navy-3));
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(27, 44, 78, .22);
}
.empty-tip {
  text-align: center;
  color: var(--sd-muted);
  padding: 80px 20px;
  font-size: 14px;
}
.empty-tip svg { width: 44px; height: 44px; color: var(--sd-faint); margin-bottom: 12px; }

/* ===== 详情页 ===== */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 26px 0 56px; }
.detail-main {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-lg);
  padding: 34px 38px;
  box-shadow: var(--sd-shadow);
  min-width: 0;
}
.detail-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.detail-title { font-size: 30px; line-height: 1.35; margin-bottom: 14px; font-weight: 800; color: var(--sd-heading); letter-spacing: -.3px; }
.detail-meta {
  color: var(--sd-muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sd-border-soft);
}
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta svg { width: 14px; height: 14px; color: var(--sd-gold); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0;
  cursor: zoom-in;
  border: 1px solid var(--sd-border-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery img:hover { transform: scale(1.02); box-shadow: var(--sd-shadow-hover); }
.detail-content { font-size: 15px; line-height: 1.9; word-break: break-word; color: #333c52; }
.detail-content h2, .detail-content h3 { color: var(--sd-heading); margin: 24px 0 12px; }
.detail-content h2 { font-size: 21px; }
.detail-content h3 { font-size: 18px; }
.detail-content img { max-width: 100%; border-radius: 0; margin: 8px 0; }
.detail-content ul, .detail-content ol { padding-left: 22px; margin: 10px 0; }
.side-box {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  padding: 20px 22px;
  box-shadow: var(--sd-shadow);
}
.side-box h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--sd-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-box h3 svg { width: 15px; height: 15px; color: var(--sd-gold); }
.side-list { list-style: none; }
.side-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--sd-border-soft);
  font-size: 13.5px;
}
.side-list li:last-child { border-bottom: none; padding-bottom: 2px; }
.side-list a { color: #4b5468; display: flex; align-items: center; gap: 8px; }
.side-list a::before { content: "›"; color: var(--sd-faint); font-weight: 700; }
.side-list a:hover { color: var(--sd-blue); }

/* 留言区 */
.message-box {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  padding: 26px 30px;
  margin-top: 26px;
  box-shadow: var(--sd-shadow);
}
.message-box > h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sd-heading);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.message-box > h3 svg { width: 17px; height: 17px; color: var(--sd-gold); }
.message-form { margin-top: 16px; }
.message-form textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--sd-border);
  border-radius: 0;
  padding: 12px 16px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  color: var(--sd-text);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.message-form textarea:focus { outline: none; border-color: #6f8be0; box-shadow: 0 0 0 4px rgba(45, 91, 215, .08); }
.message-form .submit-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.message-list { margin-top: 22px; }
.message-item { border-bottom: 1px solid var(--sd-border-soft); padding: 16px 0; }
.message-item:last-child { border-bottom: none; }
.message-item .msg-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--sd-muted); margin-bottom: 6px; }
.message-item .msg-head .msg-name { font-weight: 600; color: #4b5468; display: inline-flex; align-items: center; gap: 8px; }
.message-item .msg-head .msg-name .avatar-dot {
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: linear-gradient(135deg, #eef1f8, #e2e8f3);
  color: var(--sd-navy-2);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.message-item .msg-content { font-size: 14px; color: #333c52; line-height: 1.7; }
.msg-reply {
  background: #f5f8ff;
  border-left: 3px solid var(--sd-blue);
  border-radius: 0;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 10px;
  color: #2a4eac;
  line-height: 1.6;
}

/* ===== 在线询盘（产品详情下方独立卡片） ===== */
.inquiry-card {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-lg);
  padding: 34px 38px;
  box-shadow: var(--sd-shadow);
  margin-top: 24px;
}
.inquiry-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.inquiry-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--sd-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}
.inquiry-head h3 svg { width: 19px; height: 19px; color: var(--sd-gold); }
.inquiry-form { margin-top: 18px; }
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 18px;
}
.inquiry-field { min-width: 0; }
.inquiry-field .form-label { margin-top: 14px; }
.inquiry-form .submit-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.inquiry-list { margin-top: 26px; border-top: 1px dashed var(--sd-border); padding-top: 8px; }
.inquiry-list-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sd-muted);
  margin: 12px 0 2px;
}
.inquiry-empty {
  margin-top: 20px;
  padding: 26px;
  text-align: center;
  color: var(--sd-muted);
  font-size: 13.5px;
  background: #fafbfd;
  border: 1px dashed var(--sd-border);
}
.inquiry-result {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 13.5px;
  border: 1px solid transparent;
}
.inquiry-result.success { background: #eef8f2; color: #187a4c; border-color: #d0ecdd; }
.inquiry-result.error { background: #fdf1f1; color: #b33834; border-color: #f6d4d2; }
.msg-contact { color: var(--sd-muted); font-weight: 400; font-size: 12.5px; }

/* ===== 联系我们（右侧板块） ===== */
.contact-list { margin-top: 4px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--sd-border-soft);
}
.contact-item:last-child { border-bottom: none; }
.contact-ic {
  width: 38px;
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4f0e2, #faf0dc);
  color: #b0760f;
}
.contact-ic svg { width: 18px; height: 18px; }
.contact-body { min-width: 0; }
.contact-label { font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--sd-muted); }
.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--sd-navy);
  margin-top: 1px;
  word-break: break-all;
}
a.contact-value { color: var(--sd-navy); }
a.contact-value:hover { color: var(--sd-blue); }
.contact-copy { cursor: pointer; position: relative; transition: color .18s ease; }
.contact-copy:hover { color: var(--sd-blue); }
.contact-copy::after {
  content: attr(data-copy-tip);
  position: absolute;
  right: 0;
  top: -8px;
  transform: translateY(-100%);
  background: #0d1830;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.contact-copy.copied::after { opacity: 1; }

/* ===== 关于我们（右侧板块） ===== */
.company-box { margin-top: 4px; }
.company-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--sd-navy);
  line-height: 1.5;
  margin-bottom: 6px;
  word-break: break-word;
}
.company-intro {
  font-size: 13.5px;
  line-height: 1.75;
  color: #55607a;
  word-break: break-word;
  white-space: pre-line;
}

/* ===== 订阅我们（右侧板块） ===== */
.subscribe-hint { font-size: 13px; color: var(--sd-muted); line-height: 1.7; margin: 2px 0 12px; }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--sd-border);
  border-radius: 0;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--sd-navy);
  background: #fff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.subscribe-input:focus { border-color: #6f8be0; box-shadow: 0 0 0 3px rgba(45, 91, 215, .12); }
.subscribe-btn {
  flex: none;
  border: 1px solid var(--sd-gold);
  border-radius: 0;
  background: var(--sd-gold);
  color: #0d1830;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s ease;
}
.subscribe-btn:hover { background: var(--sd-gold-2); }
.subscribe-btn:disabled { opacity: .6; cursor: not-allowed; }
.subscribe-result { font-size: 12.5px; margin-top: 10px; line-height: 1.6; }
.subscribe-result.ok { color: #187a4c; }
.subscribe-result.err { color: #b33834; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--sd-navy-2), var(--sd-navy-3));
  color: #fff;
  border-radius: 0;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .18s ease;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(27, 44, 78, .18);
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); color: #fff; text-decoration: none; }
.btn svg { width: 15px; height: 15px; }
.btn.accent { background: linear-gradient(135deg, var(--sd-gold), #d9852b); color: #0d1830; box-shadow: 0 4px 14px rgba(217, 154, 43, .3); }
.btn.accent:hover { color: #0d1830; filter: brightness(1.06); }
.btn.small { padding: 6px 14px; font-size: 12.5px; border-radius: 0; }
.btn.block { width: 100%; text-align: center; }
.btn.danger { background: #fef2f2; color: var(--sd-red); border-color: #f7d4d4; box-shadow: none; }
.btn.danger:hover { background: #fde4e4; color: var(--sd-red); }
.btn.ghost { background: #fff; color: var(--sd-navy); border-color: var(--sd-border); box-shadow: none; }
.btn.ghost:hover { background: #f4f6fb; color: var(--sd-navy); transform: none; filter: none; }

/* ===== 表单 ===== */
.form-label { display: block; font-size: 13px; font-weight: 600; color: #4b5468; margin: 16px 0 7px; letter-spacing: .2px; }
.form-input {
  width: 100%;
  border: 1px solid var(--sd-border);
  border-radius: 0;
  padding: 11px 15px;
  font-size: 14px;
  font-family: inherit;
  color: var(--sd-text);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
  box-sizing: border-box;
}
.form-input:focus { outline: none; border-color: #6f8be0; box-shadow: 0 0 0 4px rgba(45, 91, 215, .08); }
.form-input[disabled] { background: #f5f6f9; color: #a0a6b5; }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; line-height: 1.7; }
.form-alert {
  border-radius: 0;
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.form-alert.error { background: #fdf1f1; color: #b33834; border: 1px solid #f6d4d2; }
.form-alert.success { background: #eef8f2; color: #187a4c; border: 1px solid #d0ecdd; }
.inline-form { display: inline; }

/* ===== 验证码 ===== */
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row .form-input { flex: 1; }
.captcha-img {
  flex: none;
  width: 120px;
  height: 44px;
  border: 1px solid var(--sd-border);
  border-radius: 0;
  background: #f4f6fa;
  object-fit: cover;
}

/* ===== 认证页 ===== */
.auth-wrap { padding: 56px 0 80px; }
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-lg);
  padding: 40px 38px;
  box-shadow: var(--sd-shadow-hover);
}
.auth-logo {
  width: 52px;
  height: 52px;
  border-radius: 0;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sd-navy-2), var(--sd-navy-3));
  box-shadow: 0 8px 20px rgba(13, 24, 48, .25);
}
.auth-logo svg { width: 26px; height: 26px; }
.auth-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: var(--sd-heading);
  margin-bottom: 6px;
  letter-spacing: -.2px;
}
.auth-sub {
  font-size: 13px;
  color: var(--sd-muted);
  text-align: center;
  margin-bottom: 26px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--sd-muted);
}
.auth-links a { font-weight: 600; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 32px 0 8px; flex-wrap: wrap; }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 0;
  text-align: center;
  font-size: 14px;
  color: #4b5468;
  transition: all .15s ease;
  box-shadow: var(--sd-shadow);
}
.page-btn:hover { border-color: var(--sd-blue); color: var(--sd-blue); text-decoration: none; transform: translateY(-1px); }
.page-btn.current {
  background: linear-gradient(135deg, var(--sd-navy-2), var(--sd-navy-3));
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(27, 44, 78, .25);
}

/* ===== 404 ===== */
.error-page { text-align: center; padding: 110px 20px; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-code {
  font-size: 110px;
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1;
  background: linear-gradient(135deg, var(--sd-navy-2), var(--sd-navy-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-page h2 { font-size: 22px; font-weight: 700; color: var(--sd-heading); margin: 18px 0 8px; }
.error-page p { color: var(--sd-muted); margin: 0 0 28px; }

/* ===== 底部 ===== */
.site-footer {
  background: linear-gradient(180deg, #0d1830 0%, #0a1224 100%);
  color: #a7b0c3;
  margin-top: 60px;
}
.footer-inner { padding: 46px 20px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  display: block;
}
.footer-brand .brand-desc {
  font-size: 13.5px;
  color: #7d88a3;
  margin-top: 12px;
  line-height: 1.8;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a7b0c3; font-size: 14px; }
.footer-col a:hover { color: var(--sd-gold-2); text-decoration: none; }
.footer-contact li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #a7b0c3; }
.footer-contact svg { width: 15px; height: 15px; color: var(--sd-gold); flex: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
  font-size: 13px;
  color: #6d7896;
}
.footer-bottom .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom .footer-links a { color: #6d7896; font-size: 13px; }
.footer-bottom .footer-links a:hover { color: var(--sd-gold-2); }

/* ===== 页脚订阅 ===== */
.footer-sub-hint { font-size: 13px; color: #7d88a3; line-height: 1.7; margin-bottom: 14px; }
.footer-sub-form { display: flex; gap: 8px; }
.footer-sub-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s ease;
}
.footer-sub-input::placeholder { color: #7d88a3; }
.footer-sub-input:focus { border-color: var(--sd-gold); }
.footer-sub-btn {
  flex: none;
  border: 1px solid var(--sd-gold);
  border-radius: 0;
  background: var(--sd-gold);
  color: #0d1830;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s ease, color .18s ease;
}
.footer-sub-btn:hover { background: var(--sd-gold-2); color: #0d1830; }
.footer-sub-btn:disabled { opacity: .6; cursor: not-allowed; }
.footer-sub-result { font-size: 12.5px; margin-top: 10px; line-height: 1.6; }
.footer-sub-result.ok { color: #6fcf97; }
.footer-sub-result.err { color: #f2994a; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 920px) {
  .detail-layout { grid-template-columns: 1fr; }
  .banner-wrap { height: 420px; }
  .banner-caption h2 { font-size: 34px; }
  .header-inner { gap: 10px; }
  .main-nav { display: none; }
  .search-form { display: none; }
  .mobile-panel { display: block; }
  .nav-toggle { display: inline-flex; }
  .member-link span:not(.unread-dot) { display: none; }
}
@media (min-width: 921px) {
  .mobile-panel { display: none; }
}
@media (max-width: 640px) {
  .header-inner { height: 60px; padding: 0; }
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-btn-link { padding: 6px 8px; font-size: 13px; }
  .nav-btn-link.accent { padding: 6px 12px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .detail-title { font-size: 22px; }
  .detail-main { padding: 22px 18px; }
  .banner-wrap { height: 340px; min-height: 0; }
  .banner-caption h2 { font-size: 26px; }
  .banner-caption p { font-size: 14px; }
  .banner-arrow { width: 38px; height: 38px; font-size: 18px; }
  .banner-arrow.prev { left: 12px; }
  .banner-arrow.next { right: 12px; }
  .home-section { padding-top: 34px; }
  .section-title { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .auth-card { padding: 30px 22px; }
  .article-item { padding: 18px; }
  .mobile-panel .mobile-nav { grid-template-columns: 1fr 1fr; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .inquiry-card { padding: 24px 20px; }
}
