/* ============================================================
   西红轩官网 · 全站样式
   品牌红取自 LOGO：#E70112
   ============================================================ */
:root {
  --red: #E70112;
  --red-dark: #C00010;
  --red-deep: #8E0009;
  --red-bg: #FDF3F2;
  --ink: #262421;
  --ink-2: #55524D;
  --ink-3: #8B8780;
  --line: #ECE6DF;
  --bg-soft: #FAF6F1;
  --gold: #C9A063;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow: 0 12px 32px rgba(38, 20, 16, .08);
  --radius: 10px;
  --maxw: 1360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 页内锚点：避开吸顶头部(96) + 子导航(~56)，否则跳转后标题被遮住 */
section[id] { scroll-margin-top: 158px; }
@media (max-width: 1200px) { section[id] { scroll-margin-top: 142px; } }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--red-deep);
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 34px;
}
.topbar a:hover { color: #fff; }

/* ---------- 主导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.logo { display: flex; align-items: center; gap: 4px; }
.logo-img { height: 68px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; align-items: flex-end; }
.logo-text .cn {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "楷体", var(--serif);
  font-weight: 700; font-size: 31px; line-height: 1.1;
  letter-spacing: 3px; display: block; color: var(--ink);
  margin-right: -3px; /* 补偿尾字间距，使右边缘对齐 */
}
.logo-text .en {
  font-size: 10px; color: var(--red); letter-spacing: 1.4px;
  display: block; margin-top: 3px; margin-right: -1.4px;
}
.main-nav { display: flex; margin-left: auto; margin-right: 76px; }
.main-nav a {
  display: block; padding: 10px 18px;
  font-size: 18.5px; font-weight: 500; color: var(--ink);
  border-radius: 6px; transition: all .2s;
  position: relative; white-space: nowrap;
}
/* 栏目之间的灰色小竖线 */
.main-nav a:not(:first-child)::before {
  content: ""; position: absolute; left: -1px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px; background: #D8D4CE;
}
.main-nav a:hover { color: var(--red); background: var(--red-bg); }
.main-nav a.active { color: var(--red); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 3px; border-radius: 2px; background: var(--red);
}
.nav-cta { font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 38px; height: 38px; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
  font-family: var(--sans);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-bg); }
.lang-btn { width: auto; min-width: 52px; padding: 0 13px; font-size: 13px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; }

/* ---------- 全站搜索弹层 ---------- */
.search-mask {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(30, 20, 18, .45); backdrop-filter: blur(3px);
}
.search-mask.open { display: block; }
.search-panel {
  max-width: 640px; margin: 12vh auto 0; background: #fff;
  border-radius: 14px; padding: 26px 28px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  animation: searchIn .25s ease both;
}
@keyframes searchIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.search-box { display: flex; gap: 10px; }
.search-box input {
  flex: 1; border: 2px solid var(--red); border-radius: 8px;
  padding: 12px 16px; font-size: 16px; font-family: var(--sans); outline: none;
}
.search-box button {
  border: 0; background: var(--red); color: #fff; border-radius: 8px;
  padding: 0 26px; font-size: 15px; cursor: pointer; font-family: var(--sans);
}
.search-box button:hover { background: var(--red-dark); }
.search-hot { margin-top: 14px; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-hot b { font-weight: 400; }
.search-hot span {
  cursor: pointer; border: 1px solid var(--line); border-radius: 20px;
  padding: 3px 12px; transition: all .2s;
}
.search-hot span:hover { border-color: var(--red); color: var(--red); }
.search-result { margin-top: 12px; max-height: 46vh; overflow-y: auto; }
.search-result li { border-bottom: 1px dashed var(--line); }
.search-result a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; font-size: 15px; }
.search-result a:hover { color: var(--red); }
.search-result .rc {
  flex-shrink: 0; font-size: 11px; color: var(--red); background: var(--red-bg);
  border-radius: 20px; padding: 2px 10px;
}
.search-result .none { justify-content: center; color: var(--ink-3); padding: 22px 0; cursor: default; }
.search-result a.more { justify-content: center; color: var(--red); font-size: 13.5px; }

/* ---------- 搜索结果页 ---------- */
.search-page-box { display: flex; gap: 10px; max-width: 720px; margin: 0 auto 42px; }
.search-page-box input {
  flex: 1; border: 2px solid var(--red); border-radius: 8px;
  padding: 12px 16px; font-size: 16px; font-family: var(--sans); outline: none;
}
.search-page-box button {
  border: 0; background: var(--red); color: #fff; border-radius: 8px;
  padding: 0 30px; font-size: 15px; cursor: pointer; font-family: var(--sans);
}
.search-page-box button:hover { background: var(--red-dark); }
.search-empty { text-align: center; padding: 24px 0 8px; color: var(--ink-2); }
.search-empty .hint { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.search-empty .hint a { color: var(--red); }
.search-page-hot { margin-top: 18px; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.search-page-hot a { border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; transition: all .2s; }
.search-page-hot a:hover { border-color: var(--red); color: var(--red); }
.search-group { margin-bottom: 48px; }
.search-group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.search-group-head h2 { font-family: var(--serif); font-size: 22px; }
.search-group-head h2 small { margin-left: 10px; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-3); }
.search-group-head > a { font-size: 13.5px; color: var(--red); }
@media (max-width: 720px) {
  .search-page-box { flex-direction: column; }
  .search-page-box button { padding: 12px; }
}

/* ---------- 首页 Banner 轮播（左文右图整体式） ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #FFF7F3 0%, #FDEDE9 55%, #FBDDD6 100%);
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  min-height: 560px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px;
  gap: 48px;
}
.hero-slide.active { display: grid; animation: heroIn .7s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); font-size: 15px; font-weight: 600; letter-spacing: 3px;
  margin-bottom: 18px;
}
.hero-copy .eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--red); border-radius: 2px; }
.hero-copy h2 {
  font-family: var(--serif); font-size: 52px; line-height: 1.25;
  letter-spacing: 2px; margin-bottom: 20px;
}
.hero-copy h2 em { font-style: normal; color: var(--red); }
.hero-copy p { color: var(--ink-2); font-size: 18px; max-width: 460px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px; border-radius: 6px; font-size: 16px;
  transition: all .2s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(231,1,18,.3); }
.btn-ghost { border-color: var(--red); color: var(--red); background: transparent; }
.btn-ghost:hover { background: var(--red); color: #fff; }
.hero-visual {
  position: relative; height: 440px; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-nav {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.hero-dot {
  width: 34px; height: 5px; border-radius: 3px;
  background: rgba(231,1,18,.25); cursor: pointer; transition: all .3s;
  border: 0;
}
.hero-dot.active { background: var(--red); width: 52px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  cursor: pointer; z-index: 5; font-size: 18px; color: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.hero-arrow:hover { background: var(--red); color: #fff; border-color: var(--red); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ---------- 公司实力带 ---------- */
.strength-band {
  background: var(--red-deep);
  background-image: linear-gradient(115deg, #96121A 0%, var(--red-deep) 48%, #6C040A 100%);
  color: #fff; overflow: hidden;
}
.strength-inner {
  display: grid; grid-template-columns: 1.18fr 1fr; gap: 40px;
  align-items: center; padding-top: 80px; padding-bottom: 80px;
}
.strength-copy .eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 4px; font-weight: 600;
  color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.38);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
}
.strength-copy h2 {
  font-family: var(--serif); font-size: 40px; letter-spacing: 3px; line-height: 1.3;
}
.strength-copy .slogan {
  margin-top: 14px; font-size: 15.5px; line-height: 1.95;
  color: rgba(255,255,255,.86); max-width: 580px;
}
.strength-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 40px;
}
.kstat { text-align: center; position: relative; padding: 0 4px; }
.kstat + .kstat::before {
  content: ""; position: absolute; left: 0; top: 16%; bottom: 16%;
  width: 1px; background: rgba(255,255,255,.25);
}
.kstat .s-ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; color: #fff;
}
.kstat .s-ico svg { width: 21px; height: 21px; }
.kstat .num { font-family: var(--serif); font-weight: 700; font-size: 35px; line-height: 1.15; }
.kstat .num sup { font-size: 17px; margin-left: 2px; }
.kstat .s-label { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 5px; letter-spacing: 1px; }
/* 右侧菱形图组 */
.strength-visual { display: flex; justify-content: center; }
.dm-grid { display: grid; grid-template-columns: repeat(2, 130px); gap: 16px; transform: rotate(45deg); }
.dm {
  position: relative;
  width: 130px; height: 130px; border-radius: 14px; overflow: hidden; background: #fff;
  border: 3px solid rgba(255,255,255,.92); box-shadow: 0 14px 32px rgba(0,0,0,.3);
}
/* 图片放大到 145% 铺满菱形（菱形对角线大于边长），必须关掉全局 img{max-width:100%} 的钳制，
   否则宽度被压回 100%、高度仍是 145%，盒子变成竖长方形，cover 裁切后照片在菱形里跑偏 */
.dm img {
  position: absolute; left: 50%; top: 50%;
  width: 145%; height: 145%; max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .en {
  color: var(--gold); font-size: 13.5px; letter-spacing: 5px; font-weight: 600;
  display: block; margin-bottom: 10px;
}
.sec-head h2 {
  font-family: var(--serif); font-size: 40px; letter-spacing: 2px;
}
.sec-head h2 i {
  font-style: normal; color: var(--red);
}
.sec-head .sub { color: var(--ink-3); margin-top: 10px; font-size: 16.5px; }
.sec-head.left { text-align: left; }
.sec-more {
  color: var(--ink-2); font-size: 14.5px; letter-spacing: .5px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 24px;
  transition: all .2s;
}
.sec-more:hover { color: var(--red); border-color: var(--red); background: var(--red-bg); }

/* ---------- 四大产品线入口 ---------- */
.cate-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.cate-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; transition: all .25s; display: block;
}
.cate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(231,1,18,.35);
}
.cate-card .pic { aspect-ratio: 3 / 2; overflow: hidden; background: #fff; }
.cate-card .pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.cate-card:hover .pic img { transform: scale(1.06); }
.cate-card .body { padding: 18px 18px 20px; }
.cate-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.cate-card h3 span { color: var(--red); }
.cate-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; min-height: 44px; }
.cate-card .go {
  margin-top: 12px; font-size: 14.5px; color: var(--red); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.cate-card .go::after { content: "→"; transition: transform .2s; }
.cate-card:hover .go::after { transform: translateX(4px); }

/* ---------- 关于/图文章 ---------- */
.split { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.split .pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow-line {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); font-size: 14.5px; font-weight: 600; letter-spacing: 3px; margin-bottom: 14px;
}
.eyebrow-line::before { content: ""; width: 26px; height: 3px; background: var(--red); border-radius: 2px; }
.split h2, .block-title {
  font-family: var(--serif); font-size: 36px; letter-spacing: 1px; margin-bottom: 18px;
}
.split p { color: var(--ink-2); margin-bottom: 14px; }
.mini-stats { display: flex; gap: 44px; margin: 22px 0 26px; }
.mini-stats .n { font-family: var(--serif); font-weight: 700; font-size: 32px; color: var(--red); }
.mini-stats .l { font-size: 14.5px; color: var(--ink-3); }

/* ---------- 新闻 ---------- */
.news-filter {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 34px; flex-wrap: wrap;
}
.nf-btn {
  font: inherit; font-size: 13.5px; line-height: 1;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line);
  transition: all .2s; letter-spacing: .5px;
}
.nf-btn:hover { color: var(--red); border-color: var(--red); }
.nf-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.news-card.hide { display: none; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(231,1,18,.3); }
/* 新闻封面：与产品卡统一 3:2（客服上传标准），避免 16:9 把竖图裁掉五分之一 */
.news-thumb { position: relative; overflow: hidden; }
.news-thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .45s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.94); color: var(--red);
  font-size: 12.5px; line-height: 1; padding: 6px 13px; border-radius: 999px; letter-spacing: 1px;
}
.news-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .meta { font-size: 13px; color: var(--ink-3); letter-spacing: .5px; }
.news-card h3 { font-size: 19px; line-height: 1.55; }
.news-card p { font-size: 15px; color: var(--ink-3); flex: 1; }
.news-card .more { font-size: 14.5px; color: var(--red); font-weight: 500; }

/* ---------- 页内子导航（二级栏目） ---------- */
.subnav {
  background: #fff; border-bottom: 1px solid var(--line);
  /* top 必须等于主导航实际高度（.nav-wrap 96px + 1px 底边框），
     否则滚动时二级导航会钻进固定头部底下、看起来被压掉一截。 */
  position: sticky; top: 97px; z-index: 90;
}
.subnav .container { display: flex; gap: 8px; overflow-x: auto; }
.subnav a {
  padding: 15px 20px; font-size: 16.5px; color: var(--ink-2); white-space: nowrap;
  border-bottom: 3px solid transparent; transition: all .2s;
}
.subnav a:hover, .subnav a.active { color: var(--red); border-bottom-color: var(--red); font-weight: 500; }

/* ---------- 页面头图 ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.08);
}
.page-banner .crumb { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.page-banner .crumb a:hover { color: #fff; }
.page-banner h1 { font-family: var(--serif); font-size: 38px; letter-spacing: 3px; }
.page-banner p { margin-top: 10px; color: rgba(255,255,255,.85); font-size: 15px; }

/* ---------- 产品页 ---------- */
.prod-cate-block { padding: 64px 0 30px; }
.prod-cate-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.prod-cate-head .idx {
  font-family: var(--serif); font-size: 40px; font-weight: 700; color: rgba(231,1,18,.18);
}
.prod-cate-head h2 { font-family: var(--serif); font-size: 31px; }
.prod-cate-head h2 small { font-size: 15px; color: var(--ink-3); margin-left: 12px; font-family: var(--sans); font-weight: 400; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 26px; }
.prod-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: all .25s;
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
/* 产品主图统一 600×400（3:2），容器按 3:2 定比例 = 原图比例，绝不裁切主体 */
.prod-card .pic { height: auto; aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: #fff; }
.prod-card .pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.prod-card:hover .pic img { transform: scale(1.05); }
.prod-card .tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: #fff; font-size: 12px;
  padding: 3px 10px; border-radius: 20px; letter-spacing: 1px;
}
.prod-card .tag.gold { background: var(--gold); }
.prod-card .body { padding: 16px 16px 18px; }
.prod-card h3 { font-size: 19px; margin-bottom: 5px; }
.prod-card .spec { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.prod-card .desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }

/* ---------- 品质保障 / 资质 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s;
}
.feat-card:hover { box-shadow: 0 14px 34px rgba(42,20,16,.10); transform: translateY(-3px); }
.feat-card .feat-img { width: 100%; height: 172px; object-fit: cover; display: block; }
.feat-card .ico {
  width: 76px; height: 76px; border-radius: 20px;
  background: linear-gradient(135deg, #FDECEC 0%, #FBD9D9 100%);
  border: 1px solid rgba(231,1,18,.14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: all .3s;
}
.feat-card .ico svg { width: 40px; height: 40px; stroke: var(--red); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: all .3s; }
.feat-card:hover .ico { background: linear-gradient(135deg, var(--red) 0%, #C4000E 100%); border-color: transparent; box-shadow: 0 10px 22px rgba(231,1,18,.28); transform: translateY(-2px); }
.feat-card:hover .ico svg { stroke: #fff; }
.feat-card .feat-body { padding: 20px 24px 26px; }
.feat-card h3 { font-size: 20px; margin-bottom: 8px; }
.feat-card p { font-size: 15px; color: var(--ink-2); }
/* 合作伙伴 logo 墙 */
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; margin: 10px 0 0;
}
.logo-cell {
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  overflow: hidden; transition: all .25s;
}
.logo-cell:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(60,50,30,.13); border-color: rgba(201,169,97,.55); }
.logo-cell img { width: 100%; display: block; }
@media (max-width: 1024px) { .logo-wall { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 9px; } }

.cert-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cert-chip {
  border: 1px solid var(--gold); color: #8A6B33; border-radius: 6px;
  padding: 11px 22px; font-size: 15px; font-weight: 500; background: #fff;
}
a.cert-chip { text-decoration: none; transition: background .2s, box-shadow .2s; }
a.cert-chip:hover { background: #FFF9EC; box-shadow: 0 6px 16px rgba(42,20,16,.08); }
/* 资质证书样图墙 */
.cert-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  margin-top: 34px; align-items: start;
}
.cert-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .cert-grid.cols3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cert-grid.cols3 { grid-template-columns: 1fr; } }
.cert-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px; box-shadow: 0 4px 14px rgba(96,74,32,.08);
  transition: all .25s; cursor: pointer;
}
.cert-item:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(96,74,32,.16); border-color: rgba(201,169,97,.6); }
.cert-item img { width: 100%; height: auto; display: block; border-radius: 5px; }
.cert-item figcaption { text-align: center; padding: 12px 4px 4px; }
.cert-item figcaption b { display: block; font-size: 15px; color: var(--ink); letter-spacing: .5px; }
.cert-item figcaption span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 1024px) { .cert-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- 关于页时间线/文化 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  text-align: center; padding: 34px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s;
}
.value-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.value-card .zi {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--red); color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.value-card h3 { font-size: 19px; margin-bottom: 6px; }
.value-card p { font-size: 14.5px; color: var(--ink-2); }
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.honor-item {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  background: #fff; transition: all .2s;
}
.honor-item:hover { border-color: rgba(231,1,18,.35); }
.honor-item .medal { font-size: 26px; }
.honor-item h4 { font-size: 16.5px; }
.honor-item span { font-size: 13px; color: var(--ink-3); }

/* ---------- 联系/表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; }
.info-list li {
  display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line);
}
.info-list .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--red-bg); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.info-list .ico svg { width: 23px; height: 23px; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info-list li { align-items: center; }
.info-list h4 { font-size: 15px; color: var(--ink-3); font-weight: 400; }
.info-list p { font-size: 17px; font-weight: 500; }
.info-list p a:hover { color: var(--red); }
.form-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 34px;
}
.form-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.form-card .tip { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card input, .form-card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px;
  padding: 13px 15px; font-size: 15.5px; font-family: var(--sans);
  margin-bottom: 14px; background: #fff; outline: none; transition: border .2s;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--red); }
.form-card textarea { height: 110px; resize: vertical; }
.form-card button { width: 100%; border: 0; }

/* ---------- 招聘/活动列表 ---------- */
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; background: #fff; transition: all .2s;
}
.job-item:hover { border-color: rgba(231,1,18,.4); box-shadow: var(--shadow); }
.job-item h3 { font-size: 20px; margin-bottom: 4px; }
.job-item .req { font-size: 14.5px; color: var(--ink-3); }
.job-item .tags { display: flex; gap: 8px; margin-top: 8px; }
.job-item .tag2 {
  font-size: 13px; color: var(--red); background: var(--red-bg);
  padding: 3px 12px; border-radius: 20px;
}
.job-item .apply { flex-shrink: 0; }

/* ---------- CTA 条 ---------- */
.cta-band { background: var(--red-deep); color: #fff; }
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 46px; padding-bottom: 46px; gap: 24px;
}
.cta-band h2 { font-family: var(--serif); font-size: 31px; letter-spacing: 2px; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 6px; font-size: 15.5px; }
.btn-gold { background: var(--gold); color: #3A2A10; font-weight: 600; }
.btn-gold:hover { background: #B98D4F; transform: translateY(-2px); }

/* ---------- 页脚 ---------- */
.site-footer { background: #2A2724; color: #B9B4AC; font-size: 15px; }
.footer-top {
  display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between;
  gap: 32px; padding: 60px 0 44px;
}
.site-footer h4 { color: #F5EFE3; font-size: 17.5px; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; text-wrap: pretty; }
.site-footer a:hover { color: #fff; }
/* 页脚左侧：logo + 简介并排 */
.footer-intro { display: flex; align-items: flex-start; gap: 14px; }
.footer-intro .logo-img { height: 46px; flex: none; margin-top: 2px; }
.footer-intro p { font-size: 14px; line-height: 1.75; max-width: 336px; }
/* 页脚 · 扫码进店 */
.footer-qr-label { margin-top: 18px; font-size: 14.5px; font-weight: 600; color: #F5EFE3; }
.footer-qr-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.footer-qr { width: 60px; text-align: center; }
.footer-qr .im {
  display: block; background: #fff; border-radius: 5px; padding: 3px;
  transition: transform .2s;
}
.footer-qr:hover .im { transform: translateY(-3px); }
.footer-qr .im img { width: 100%; display: block; }
.footer-qr > span:last-child {
  display: block; font-size: 11px; line-height: 1.45;
  color: rgba(255, 255, 255, .72); margin-top: 5px;
}
.footer-qr:hover > span:last-child { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-img { height: 46px; }
.footer-logo .cn {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "楷体", var(--serif);
  font-weight: 700; font-size: 24px; color: #F5EFE3; letter-spacing: 3px;
}
.footer-logo .en { font-size: 10px; color: #C9A063; letter-spacing: 1.4px; }
.footer-bottom {
  border-top: 1px solid #45403A; padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #8B867E;
}

/* ---------- 新闻详情 ---------- */
.article { max-width: 860px; margin: 0 auto; padding: 56px 24px; }
.article .meta { color: var(--ink-3); font-size: 15px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article h1 { font-family: var(--serif); font-size: 34px; line-height: 1.4; margin-bottom: 14px; }
.article p { margin-bottom: 18px; color: var(--ink-2); font-size: 17px; line-height: 1.85; }
.article img { border-radius: var(--radius); margin: 10px auto 26px; }
.article .back { margin-top: 34px; }

/* ---------- 响应式 ---------- */
/* 平板宽度：桌面导航放不下（logo+7栏目+工具 ≈ 1130px），提前折叠成汉堡菜单 */
@media (max-width: 1200px) {
  .nav-wrap { height: 64px; }
  .logo-img { height: 46px; }
  .logo-text { gap: 0; }
  .logo-text .cn { font-size: 21px; letter-spacing: 2px; margin-right: -2px; }
  .logo-text .en { font-size: 8.5px; letter-spacing: 1.1px; margin-top: 2px; margin-right: -1.1px; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    margin: 0; /* 覆盖桌面态的 margin-right:76px，否则下拉面板右侧会缺一条 */
    background: #fff; flex-direction: column; padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 8px; border-bottom: 1px solid var(--bg-soft); }
  .main-nav a.active::after { display: none; }
  .main-nav a::before { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: block; }
  .nav-tools { gap: 6px; }
  .icon-btn { width: 34px; height: 34px; }
  /* 头部高度随 .nav-wrap 压到 64px，二级导航同步上移（+1px 底边框） */
  .subnav { top: 65px; }
}
@media (max-width: 1024px) {
  .cate-grid, .prod-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding-top: 40px; padding-bottom: 80px; }
  .hero-visual { height: 320px; box-shadow: var(--shadow); }
  .hero-copy h2 { font-size: 38px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-grid, .feat-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .strength-inner { grid-template-columns: 1fr; gap: 46px; padding-top: 60px; padding-bottom: 60px; }
  .strength-copy h2 { font-size: 34px; }
  .strength-stats { gap: 12px; }
  .kstat + .kstat::before { display: none; }
  .dm-grid { grid-template-columns: repeat(2, 106px); gap: 14px; }
  .dm { width: 106px; height: 106px; }
}
@media (max-width: 720px) {
  .topbar .container span.hide-m { display: none; }
  .search-panel { margin: 8vh 16px 0; }
  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 28px; }
  .hero-copy h2 { font-size: 30px; }
  .hero-btns { flex-wrap: wrap; }
  .hero-arrow { display: none; }
  .strength-inner { gap: 36px; }
  .strength-copy h2 { font-size: 25px; letter-spacing: 1px; }
  .strength-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; margin-top: 30px; }
  .kstat .num { font-size: 30px; }
  .dm-grid { grid-template-columns: repeat(2, 88px); gap: 12px; }
  .dm { width: 88px; height: 88px; border-radius: 10px; }
  .cate-grid, .prod-grid, .news-grid, .feat-grid, .honor-grid, .value-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-qr-row { gap: 8px; }
  .footer-qr { width: 46px; }
  .footer-qr > span:last-child { font-size: 10px; }
  .footer-bottom { flex-direction: column; }
  .job-item { flex-direction: column; align-items: flex-start; }
  .page-banner h1 { font-size: 30px; }
  .split h2, .block-title { font-size: 26px; }
  .mini-stats { flex-wrap: wrap; gap: 20px 30px; }
}

/* ---------- 产品中心 · 分类"查看更多"按钮 ---------- */
.cat-more-wrap { text-align: center; margin-top: 34px; }
.cat-more {
  display: inline-block; min-width: 176px; padding: 11px 38px;
  border: 1px solid var(--red); color: var(--red); border-radius: 2px;
  font-size: 15px; letter-spacing: 2px; background: #fff;
  transition: all .22s;
}
.cat-more:hover { background: var(--red); color: #fff; }
.prod-cate-head h2 a { transition: color .2s; }
.prod-cate-head h2 a:hover { color: var(--red); }

/* ---------- 产品二级页（单分类列表） ---------- */
.cat-layout {
  display: grid; grid-template-columns: 236px 1fr; gap: 44px; align-items: start;
}
.cat-side { position: sticky; top: 116px; }
.cat-side h3 {
  font-family: var(--serif); font-size: 19px; letter-spacing: 2px;
  padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.cat-side ul { margin-top: 6px; }
.cat-side li a {
  display: block; padding: 14px 14px 13px; border-bottom: 1px solid var(--line);
  font-size: 15.5px; transition: all .2s;
}
.cat-side li a span {
  display: block; font-size: 11.5px; letter-spacing: .6px;
  color: var(--ink-3); margin-top: 2px;
}
.cat-side li a:hover { color: var(--red); padding-left: 20px; }
.cat-side li a.active {
  color: #fff; background: var(--red-deep); border-bottom-color: var(--red-deep);
  padding-left: 20px; position: relative;
}
.cat-side li a.active span { color: rgba(255,255,255,.72); }
.side-cta {
  margin-top: 28px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
}
.side-cta b { font-family: var(--serif); font-size: 17px; letter-spacing: 1px; }
.side-cta p { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 14px; line-height: 1.7; }
.side-btn {
  display: inline-block; padding: 9px 22px; background: var(--red); color: #fff;
  border-radius: 2px; font-size: 14px; letter-spacing: 1px; transition: background .2s;
}
.side-btn:hover { background: var(--red-dark); }

.cat-main-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.cat-main-head h2 { font-family: var(--serif); font-size: 26px; letter-spacing: 2px; }
.cat-main-head h2 small {
  font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px;
  color: var(--ink-3); margin-left: 12px; font-weight: 400;
}
.cat-main-head .count { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.cat-main-intro { font-size: 14.5px; color: var(--ink-2); margin: 16px 0 26px; max-width: 820px; }
.cat-main .prod-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .cat-layout { grid-template-columns: 200px 1fr; gap: 30px; }
  .cat-main .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; gap: 26px; }
  .cat-side { position: static; }
  .cat-side h3 { display: none; }
  .cat-side ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .cat-side li a {
    border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 16px; font-size: 14px;
  }
  .cat-side li a span { display: none; }
  .cat-side li a.active, .cat-side li a:hover { padding-left: 16px; }
  .side-cta { display: none; }
  .cat-main .prod-grid { grid-template-columns: 1fr; }
  .cat-main-head h2 { font-size: 22px; }
  .cat-main-head h2 small { display: block; margin: 4px 0 0; }
}

/* ============================================================
   产品详情页
   ============================================================ */
.pd-top {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 52px;
  align-items: start;
}

/* —— 大图 + 缩略图（JS 切换 is-active） —— */
.pd-gallery input { display: none; }
/* 详情页主图同样按原图 3:2，与列表卡比例一致，任何上传图都不裁切 */
.pd-stage {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 3 / 2; background: #fff;
}
.pd-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .35s ease;
}
.pd-stage img.is-active { opacity: 1; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pd-thumbs .pd-thumb {
  width: 92px; height: 68px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; opacity: .68; padding: 0;
  background: none; display: block;
  transition: border-color .2s, opacity .2s;
}
.pd-thumbs .pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumbs .pd-thumb:hover { opacity: 1; }
.pd-thumbs .pd-thumb.is-active { border-color: var(--red); opacity: 1; }

/* —— 右侧产品信息 —— */
.pd-cat {
  display: inline-block; font-size: 13px; letter-spacing: 1px;
  color: var(--red-deep); background: var(--red-bg);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.pd-info h2 { font-family: var(--serif); font-size: 34px; letter-spacing: 2px; }
.pd-info .pd-en { font-size: 13px; letter-spacing: 2.5px; color: var(--ink-3); text-transform: uppercase; margin-top: 6px; }
.pd-desc { color: var(--ink-2); margin: 16px 0 4px; }
.pd-spec { width: 100%; border-collapse: collapse; margin: 16px 0 12px; font-size: 14.5px; }
.pd-spec th {
  width: 96px; text-align: left; padding: 9px 12px; font-weight: 500;
  background: var(--bg-soft); color: var(--ink-2);
  border: 1px solid var(--line); white-space: nowrap;
}
.pd-spec td { padding: 9px 14px; border: 1px solid var(--line); }
.pd-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* —— 产品详情正文（富文本，展示在「产品展示」区块内） —— */
.pd-show { padding: 76px 0 40px; }
.pd-show-body { max-width: 1100px; margin: 0 auto; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.pd-show-body p { margin-bottom: 18px; }
.pd-show-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 10px auto 26px; display: block; }
.pd-show-body h2, .pd-show-body h3 { font-family: var(--serif); margin: 28px 0 14px; color: var(--ink); }
.pd-show-body ul, .pd-show-body ol { margin: 0 0 18px; padding-left: 24px; }
.pd-show-body ul { list-style: disc; }
.pd-show-body ol { list-style: decimal; }
.pd-show-body li { margin-bottom: 8px; }
.pd-show-body blockquote { margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--red, #c8102e); background: var(--bg-soft); color: var(--ink-2); }
.pd-show-body table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.pd-show-body th, .pd-show-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.pd-show-body a { color: var(--red, #c8102e); }

/* —— 全宽大图展示 —— */
.pd-show .sec-head { margin-bottom: 36px; }
.pd-show-item { position: relative; overflow: hidden; }
.pd-show-item + .pd-show-item { border-top: 6px solid var(--red-deep); }
.pd-show-item img { width: 100%; height: 540px; object-fit: cover; }
.pd-show-item .cap {
  position: absolute; left: 26px; top: 26px;
  writing-mode: vertical-rl; font-family: var(--serif);
  font-size: 17px; letter-spacing: 6px; color: #fff;
  background: rgba(142, 0, 9, .84); padding: 16px 8px; border-radius: 4px;
}

/* —— 详情页响应式 —— */
@media (max-width: 1024px) {
  .pd-top { gap: 36px; }
  .pd-show-item img { height: 420px; }
}
@media (max-width: 860px) {
  .pd-top { grid-template-columns: 1fr; }
  .pd-info h2 { font-size: 28px; }
  .pd-show-item img { height: 300px; }
  .pd-show-item .cap { left: 16px; top: 16px; font-size: 14px; padding: 10px 6px; letter-spacing: 4px; }
}


/* 分页器 */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin: 30px 0 10px; flex-wrap: wrap;
}
.pg-btn {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: all .2s;
}
.pg-btn:hover:not(.disabled):not(.active) { border-color: rgba(201,169,97,.65); color: var(--ink); transform: translateY(-2px); }
.pg-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-btn.disabled { opacity: .38; cursor: not-allowed; }
@media (max-width: 640px) {
  .pg-btn { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
}

/* ---------- 走进西红轩 · 官方商城（扫码进店） ---------- */
.shop-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.shop-card {
  position: relative; display: block;
  background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 14px 20px; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shop-brand {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px;font-weight: bold;letter-spacing: 1.5px; color: #fff;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--red);
}
.shop-card .qr {
  display: block; width: 74%; max-width: 132px; margin: 0 auto 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px;
}
.shop-card .qr img { width: 100%; height: auto; display: block; }
.shop-card h3 { font-size: 14.5px; letter-spacing: .5px; margin-bottom: 6px; color: var(--ink); }
.shop-card p { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; white-space: nowrap; }

/* 编辑模式：模块背景色小按钮（仅后台编辑态可见） */
.he-bg-swatch {
  display: none; align-items: center; gap: 6px;
  margin: 14px auto 0; padding: 8px 22px;
  font-size: 12.5px; color: var(--ink-2); white-space: nowrap;
  background: #fff; border: 1px dashed var(--ink-3); border-radius: 999px;
  cursor: pointer;
}
.he-bg-swatch span.dot { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); display: inline-block; background: var(--swatch, transparent); flex: none; }
body.he-editing .he-bg-swatch { display: inline-flex; }

@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shop-card { padding: 38px 6px 16px; }
  .shop-card h3 { font-size: 13.5px; }
  .shop-card p { font-size: 11.5px; }
}
