/* ============================================================
 * 掌上万维 - 全站样式
 * 松墨绿 #142823 / 青竹 #2E6B5A / 陶土朱 #D4553A / 琥珀 #E0A33C
 * 米纸底 #F4F1EA
 * ============================================================ */
:root {
  --ink: #142823;
  --ink-2: #1E3B34;
  --pine: #2E6B5A;
  --pine-l: #E3EFE9;
  --clay: #D4553A;
  --clay-d: #B23F27;
  --clay-l: #FBE9E3;
  --amber: #C98A22;
  --amber-l: #FBF0DA;
  --paper: #F4F1EA;
  --card: #FFFFFF;
  --line: #E3DDD0;
  --line-2: #EFEAE0;
  --txt: #22312C;
  --txt-2: #6E7C75;
  --red: #C0392B;
  --green: #1F7A4D;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(20, 40, 35, .05), 0 4px 14px rgba(20, 40, 35, .06);
  --shadow-h: 0 4px 10px rgba(20, 40, 35, .08), 0 12px 28px rgba(20, 40, 35, .13);
  --num: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--txt);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* ============================================================
 * 页头一：三要素细条 + 品牌搜索行（随页面滚走）
 * ============================================================ */
.topbar { background: var(--ink); color: #B9CCC4; font-size: 12px; }
.masthead { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.masthead .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap;
}
.mast-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mast-left .mast-item { display: inline-flex; align-items: center; gap: 6px; }
.mast-left .mast-item + .mast-item::before {
  content: ""; width: 1px; height: 10px; background: rgba(255, 255, 255, .2); margin-right: 2px;
}
.mast-left a:hover { color: #fff; }
.mast-left .mast-icp { color: #93AAA1; }
.topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-tel { color: #fff; font-weight: 700; letter-spacing: .3px; }
.topbar-tel i { font-style: normal; color: #E9B04A; font-weight: 400; margin-right: 4px; }
.topbar-join {
  display: inline-block; padding: 2px 12px; border-radius: 20px;
  background: var(--clay); color: #fff; font-weight: 700; font-size: 12px;
  transition: background .2s;
}
.topbar-join:hover { background: #E4664A; color: #fff; }

.brandbar { background: var(--ink); color: #fff; }
.brandbar .container {
  display: flex; align-items: center; gap: 26px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand-txt { display: flex; flex-direction: column; flex: none; }
.brand-txt strong {
  font-size: 21px; font-weight: 800; color: #fff; letter-spacing: 1px; line-height: 1.3;
}
.nav-search { display: flex; flex: 1; min-width: 0; max-width: 560px; align-self: center; }
.nav-search input {
  flex: 1; min-width: 0; height: 42px; border: none; border-radius: 4px 0 0 4px;
  padding: 0 16px; font-size: 14px; color: var(--txt); background: #fff; outline: none;
}
.nav-search input::placeholder { color: #9AA9A2; }
.nav-search button {
  flex: none; height: 42px; padding: 0 26px; background: var(--clay); color: #fff;
  border-radius: 0 4px 4px 0; font-size: 15px; font-weight: 700; letter-spacing: 2px;
  transition: background .2s;
}
.nav-search button:hover { background: var(--clay-d); }
.brand-hot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #93AAA1; }
.brand-hot a { color: #C9DAD2; padding: 1px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; }
.brand-hot a:hover { color: var(--ink); background: #fff; border-color: #fff; }
.brand-service { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; margin-left: auto; }
.brand-service b { font-size: 17px; color: #fff; font-family: var(--num); letter-spacing: .5px; }
.brand-service span { font-size: 11px; color: #9DB6AC; }

/* ============================================================
 * 页头二：吸顶主导航
 * ============================================================ */
.mainnav { position: sticky; top: 0; z-index: 60; background: var(--ink-2); box-shadow: 0 2px 10px rgba(20, 40, 35, .18); }
.navbar { display: flex; align-items: center; gap: 4px; min-height: 46px; }
.nav-links { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  position: relative; flex: none; padding: 13px 20px; font-size: 15px; font-weight: 600;
  color: #D3E2DA; transition: color .18s, background .18s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links a.active { color: #fff; background: var(--clay); }
.nav-badge {
  position: absolute; top: 6px; right: 3px;
  background: var(--amber); color: #3A2405; font-size: 10px; font-weight: 800;
  line-height: 1; padding: 2px 5px; border-radius: 8px 8px 8px 0; letter-spacing: .5px;
}
.nav-side { flex: none; display: flex; align-items: center; gap: 14px; font-size: 12px; color: #9DB6AC; padding-left: 14px; }
.nav-side a { color: #D3E2DA; font-weight: 600; }
.nav-side a:hover { color: #fff; }
.nav-side .nav-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }

/* ---------- 通用 chip ---------- */
.chip {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 2px 8px; border-radius: 3px; line-height: 1.5; letter-spacing: .3px;
}
.chip-pine { background: var(--pine-l); color: var(--pine); }
.chip-ink { background: var(--ink); color: #fff; }
.chip-clay { background: var(--clay-l); color: var(--clay-d); }
.chip-amber { background: var(--amber-l); color: var(--amber); }
.chip-red { background: var(--red); color: #fff; }
.chip-gray { background: #EDEAE2; color: var(--txt-2); }

/* ============================================================
 * 首页：三栏英雄区
 * ============================================================ */
.hero-grid {
  display: grid; grid-template-columns: 250px minmax(0, 1fr) 320px;
  gap: 14px; margin-top: 16px; align-items: stretch;
}

/* 分类面板 */
.cat-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.cat-panel-head {
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 700;
  letter-spacing: 2px; padding: 12px 16px;
}
.cat-list { padding: 6px 0; flex: 1; }
.cat-list a {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  font-size: 14px; color: var(--txt); border-left: 3px solid transparent;
  transition: background .16s, border-color .16s;
}
.cat-list a .cat-name { flex: 1; min-width: 0; font-weight: 600; }
.cat-list a .cat-count { flex: none; font-size: 11px; color: var(--txt-2); font-family: var(--num); }
.cat-list a .cat-arrow { flex: none; color: #C6CFC9; font-size: 12px; }
.cat-list a:hover { background: var(--pine-l); border-left-color: var(--clay); color: var(--ink); }
.cat-panel-foot { border-top: 1px dashed var(--line); padding: 12px 16px; font-size: 12px; color: var(--txt-2); }
.cat-panel-foot b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 13px; }

/* 轮播 */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); min-height: 340px; background: var(--ink); }
.carousel .slides { display: flex; height: 100%; position: absolute; inset: 0; transition: transform .5s ease; }
.carousel .slide {
  flex: none; width: 100%; height: 100%; display: flex; align-items: center;
  padding: 0 46px; color: #fff; position: relative; overflow: hidden;
}
.slide-1 { background: linear-gradient(105deg, #142823 0%, #1E3B34 46%, #2E6B5A 100%); }
.slide-2 { background: linear-gradient(105deg, #2A1C18 0%, #6D2E1E 52%, #B2482C 100%); }
.slide-3 { background: linear-gradient(105deg, #142823 0%, #234038 44%, #C98A22 130%); }
.carousel .slide-body { position: relative; z-index: 2; max-width: 54%; }
.carousel .slide-kicker { font-size: 12px; letter-spacing: 5px; opacity: .78; margin-bottom: 12px; }
.carousel .slide h2 { font-size: 32px; letter-spacing: 2px; line-height: 1.28; margin-bottom: 12px; font-weight: 800; }
.carousel .slide p { font-size: 14px; opacity: .88; line-height: 1.85; }
.carousel .slide .slide-btn {
  display: inline-block; margin-top: 22px; background: var(--clay); color: #fff;
  padding: 10px 30px; border-radius: 3px; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  transition: background .2s;
}
.carousel .slide .slide-btn:hover { background: var(--clay-d); }
.carousel .slide-media {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 236px; height: 236px; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22); z-index: 1;
}
.carousel .slide-media img { width: 100%; height: 100%; object-fit: cover; }
.carousel .dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.carousel .dots i { width: 24px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .2s; }
.carousel .dots i.on { background: var(--clay); }
.carousel .arr {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .16);
  color: #fff; font-size: 16px; line-height: 30px; text-align: center; cursor: pointer; user-select: none;
}
.carousel .arr:hover { background: rgba(255, 255, 255, .34); }
.carousel .arr-prev { left: 10px; }
.carousel .arr-next { right: 10px; }

/* 排行榜卡 */
.rank-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.rank-tabs { display: flex; border-bottom: 1px solid var(--line); }
.rank-tabs button {
  flex: 1; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--txt-2);
  border-bottom: 2px solid transparent; transition: color .18s, border-color .18s;
}
.rank-tabs button:hover { color: var(--ink); }
.rank-tabs button.on { color: var(--clay); border-bottom-color: var(--clay); }
.rank-list { padding: 4px 0; flex: 1; }
.rank-row {
  display: grid; grid-template-columns: 26px 74px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 9px 14px; transition: background .16s;
}
.rank-row:hover { background: #FAF8F3; }
.rank-no {
  width: 22px; height: 22px; border-radius: 3px; background: #EDEAE2; color: var(--txt-2);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-family: var(--num);
}
.rank-row.r1 .rank-no { background: var(--clay); color: #fff; }
.rank-row.r2 .rank-no { background: var(--amber); color: #fff; }
.rank-row.r3 .rank-no { background: var(--pine); color: #fff; }
.rank-thumb { width: 74px; height: 56px; border-radius: 4px; object-fit: cover; background: var(--line-2); }
.rank-info { min-width: 0; }
.rank-name {
  display: block;
  font-size: 13px; color: var(--txt); font-weight: 600; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-row:hover .rank-name { color: var(--clay); }
.rank-meta { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.rank-meta .rp { font-size: 15px; font-weight: 800; color: var(--clay); font-family: var(--num); }
.rank-meta .rp::before { content: "¥"; font-size: 11px; }
.rank-meta .rv { font-size: 11px; color: var(--txt-2); }
.rank-foot { border-top: 1px dashed var(--line); padding: 10px 14px; font-size: 12px; color: var(--txt-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rank-foot a { color: var(--pine); font-weight: 700; }
.rank-foot a:hover { color: var(--clay); }

/* ---------- 服务承诺条 ---------- */
.promise {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 14px;
}
.promise-item { background: var(--card); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.promise-item svg { flex: none; width: 30px; height: 30px; }
.promise-txt b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 1px; }
.promise-txt span { font-size: 12px; color: var(--txt-2); }

/* ---------- 区块标题 ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 30px 0 14px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.sec-head h2 { font-size: 21px; color: var(--ink); letter-spacing: 1px; display: flex; align-items: baseline; gap: 10px; font-weight: 800; }
.sec-head h2 em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--txt-2); letter-spacing: 2px; }
.sec-head .tabs { display: flex; gap: 6px; flex: 1; padding-left: 18px; }
.sec-head .tabs button { padding: 3px 12px; border-radius: 20px; font-size: 13px; color: var(--txt-2); background: #EDEAE2; }
.sec-head .tabs button.on { background: var(--ink); color: #fff; font-weight: 700; }
.sec-head .more { font-size: 13px; color: var(--txt-2); flex: none; }
.sec-head .more:hover { color: var(--clay); }

/* ---------- 商品网格 / 卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.p-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: var(--pine); }
.p-card .p-media { position: relative; padding-top: 72%; background: #F7F5F0; }
.p-card .p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-card .p-sup {
  position: absolute; top: 8px; left: 8px; background: rgba(20, 40, 35, .82); color: #fff;
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 2px; letter-spacing: 1px; z-index: 2;
}
.p-card .p-cut {
  position: absolute; top: 8px; right: 8px; background: var(--clay); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 2px; z-index: 2; font-family: var(--num);
}
.p-card .p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.p-card .p-name {
  font-size: 14px; color: var(--txt); font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 42px;
}
.p-card:hover .p-name { color: var(--ink); }
.p-card .p-cat { font-size: 11px; color: var(--txt-2); }
.p-card .p-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.p-card .p-price { color: var(--clay); font-size: 21px; font-weight: 800; font-family: var(--num); font-variant-numeric: tabular-nums; }
.p-card .p-price::before { content: "¥"; font-size: 13px; margin-right: 1px; }
.p-card .p-mkt { font-size: 12px; color: #A9B3AC; text-decoration: line-through; font-family: var(--num); }
.p-card .p-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--txt-2); border-top: 1px dashed var(--line-2); padding-top: 7px; }
.p-card .p-meta .stock-low { color: var(--red); }

/* ---------- 品类楼层 ---------- */
.floor {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-top: 16px; align-items: stretch;
}
.floor-side { background: var(--pine-l); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; }
.floor-side.f2 { background: var(--clay-l); }
.floor-side.f3 { background: var(--amber-l); }
.floor-side .fs-kicker { font-size: 11px; letter-spacing: 3px; color: var(--txt-2); margin-bottom: 6px; }
.floor-side h3 { font-size: 22px; color: var(--ink); letter-spacing: 1px; margin-bottom: 8px; }
.floor-side p { font-size: 12px; color: var(--txt-2); line-height: 1.8; margin-bottom: 14px; }
.floor-side .fs-list { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--pine); }
.floor-side .fs-list span::before { content: "·"; margin-right: 5px; font-weight: 800; }
.floor-side .fs-more {
  margin-top: auto; align-self: flex-start; padding: 7px 18px; border-radius: 3px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
}
.floor-side .fs-more:hover { background: var(--clay); }
.floor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-content: start; }
.floor .p-card { border-color: var(--line-2); box-shadow: none; }

/* ---------- 首页双列：新品 + 资讯 ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; margin-top: 30px; }
.two-col .sec-head { margin-top: 0; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-card .nc-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.news-card .nc-head b { font-size: 16px; color: var(--ink); letter-spacing: 1px; }
.news-card .nc-head a { font-size: 12px; color: var(--txt-2); }
.news-card .nc-head a:hover { color: var(--clay); }
.nc-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-bottom: 1px dashed var(--line-2); }
.nc-row:last-child { border-bottom: none; }
.nc-row:hover { background: #FAF8F3; }
.nc-no { flex: none; width: 20px; height: 20px; border-radius: 3px; background: #EDEAE2; color: var(--txt-2); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--num); margin-top: 2px; }
.nc-row.top .nc-no { background: var(--clay); color: #fff; }
.nc-main { min-width: 0; flex: 1; }
.nc-t { font-size: 14px; font-weight: 600; color: var(--txt); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-row:hover .nc-t { color: var(--clay); }
.nc-m { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--txt-2); margin-top: 4px; flex-wrap: wrap; }
.nc-m .n-price-tag { margin-left: auto; }

/* ---------- 入驻横幅 ---------- */
.join-band {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink-2) 55%, var(--pine) 130%);
  border-radius: var(--radius); padding: 26px 30px; margin-top: 30px; color: #fff;
}
.join-band .jb-txt { flex: 1; min-width: 240px; }
.join-band .jb-txt h3 { font-size: 22px; letter-spacing: 1px; margin-bottom: 6px; }
.join-band .jb-txt p { font-size: 13px; color: #B9CCC4; line-height: 1.8; }
.join-band .jb-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.join-band .jb-tel { font-size: 12px; color: #9DB6AC; }
.join-band .jb-tel b { display: block; font-size: 20px; color: #fff; font-family: var(--num); letter-spacing: .5px; }
.btn-join-ghost {
  display: inline-block; padding: 11px 30px; border-radius: 3px; background: var(--clay);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 2px; transition: background .2s;
}
.btn-join-ghost:hover { background: var(--clay-d); }

/* ============================================================
 * 列表骨架（商城 / 首页侧栏共用）
 * ============================================================ */
.layout { display: flex; gap: 16px; margin-top: 16px; align-items: flex-start; }
.side { width: 226px; flex: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.main { flex: 1; min-width: 0; }
.side-title { background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 16px; letter-spacing: 2px; }
.side-extra { border-top: 1px dashed var(--line); padding: 14px 16px; }
.side-extra h4 { font-size: 13px; color: var(--ink); margin-bottom: 8px; letter-spacing: 1px; }
.side-extra p { font-size: 12px; color: var(--txt-2); line-height: 1.9; }
.side-tel { border-top: 1px dashed var(--line); padding: 14px 16px; background: #FAF8F3; }
.side-tel span { font-size: 12px; color: var(--txt-2); }
.side-tel b { display: block; font-size: 19px; color: var(--clay); font-family: var(--num); letter-spacing: .5px; }

.filter-block { padding: 14px 16px; border-bottom: 1px dashed var(--line); }
.filter-block:last-child { border-bottom: none; }
.filter-block h4 { font-size: 14px; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.filter-block h4::before { content: ""; width: 3px; height: 14px; background: var(--clay); border-radius: 2px; }
.filter-list li { margin-bottom: 6px; }
.filter-list a { display: block; padding: 6px 10px; font-size: 13px; color: var(--txt-2); border-radius: 4px; }
.filter-list a:hover, .filter-list a.active { background: var(--pine-l); color: var(--ink); font-weight: 700; }
.price-range { display: flex; align-items: center; gap: 6px; }
.price-range input { width: 68px; height: 30px; border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; font-size: 12px; outline: none; background: #FCFBF8; }
.price-range input:focus { border-color: var(--pine); background: #fff; }
.price-range button { height: 30px; padding: 0 12px; background: var(--ink); color: #fff; border-radius: 4px; font-size: 12px; }
.price-range button:hover { background: var(--clay); }
.price-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-tags a { font-size: 12px; color: var(--txt-2); background: #F1EEE7; padding: 2px 9px; border-radius: 3px; }
.price-tags a:hover { background: var(--clay-l); color: var(--clay-d); }

.list-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 16px; margin-bottom: 14px; font-size: 13px; color: var(--txt-2);
}
.list-toolbar .lt-result b { color: var(--clay); font-weight: 800; font-family: var(--num); }
.sort-bar { display: flex; gap: 6px; }
.sort-bar a { padding: 4px 14px; border-radius: 3px; background: #F1EEE7; color: var(--txt-2); font-size: 13px; }
.sort-bar a:hover { color: var(--ink); }
.sort-bar a.active { background: var(--ink); color: #fff; font-weight: 600; }
.empty-tip { padding: 60px 0; text-align: center; color: var(--txt-2); font-size: 14px; grid-column: 1 / -1; }

/* ============================================================
 * 商品详情
 * ============================================================ */
.crumbs { margin: 14px 0; font-size: 13px; color: var(--txt-2); }
.crumbs a:hover { color: var(--clay); }
.crumbs .sep { margin: 0 8px; color: #C6CFC9; }
.detail-wrap { display: flex; gap: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.d-gallery { width: 40%; flex: none; }
.d-gallery .d-main { border-radius: var(--radius); overflow: hidden; background: #F7F5F0; border: 1px solid var(--line-2); }
.d-main img { width: 100%; height: auto; }
.d-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.d-thumbs img { width: 68px; height: 68px; border-radius: 4px; object-fit: cover; cursor: pointer; border: 2px solid transparent; background: #F7F5F0; }
.d-thumbs img.on { border-color: var(--clay); }
.d-info { flex: 1; min-width: 0; }
.d-info h1 { font-size: 21px; color: var(--ink); line-height: 1.5; margin-bottom: 10px; }
.d-sub { font-size: 13px; color: var(--txt-2); line-height: 1.9; margin-bottom: 14px; }
.buy-box { background: linear-gradient(120deg, #FBF6EE, #F6EFE3); border: 1px solid #EADFCC; border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.buy-box .b-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy-box .b-price .n { font-size: 34px; font-weight: 800; color: var(--clay); font-family: var(--num); font-variant-numeric: tabular-nums; }
.buy-box .b-price .n::before { content: "¥"; font-size: 17px; margin-right: 2px; }
.buy-box .b-price .m { color: #A9B3AC; text-decoration: line-through; font-size: 14px; font-family: var(--num); }
.buy-box .b-price .chip { margin-left: auto; }
.buy-box .b-meta { display: flex; gap: 26px; margin-top: 12px; font-size: 13px; color: var(--txt-2); flex-wrap: wrap; }
.buy-box .b-meta b { color: var(--txt); font-weight: 600; }
.b-qty { display: flex; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.b-qty .lbl { font-size: 13px; color: var(--txt-2); }
.qty-ctl { display: flex; }
.qty-ctl button { width: 34px; height: 34px; background: #EFEAE0; color: var(--txt); font-size: 16px; }
.qty-ctl button:hover { background: #E2DBCC; }
.qty-ctl input { width: 60px; height: 34px; text-align: center; border: 1px solid var(--line); border-left: none; border-right: none; font-size: 14px; outline: none; font-family: var(--num); }
.b-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-buy { background: var(--clay); color: #fff; font-size: 16px; font-weight: 800; padding: 12px 46px; border-radius: 3px; letter-spacing: 3px; transition: background .2s; }
.btn-buy:hover { background: var(--clay-d); }
.btn-fav { background: #fff; color: var(--ink); border: 1px solid var(--ink); padding: 12px 28px; border-radius: 3px; font-size: 15px; font-weight: 600; }
.btn-fav:hover { background: var(--pine-l); }
.btn-fav:disabled { color: var(--txt-2); border-color: var(--line); background: #F4F1EA; cursor: default; }
.d-params { margin-top: 18px; }
.d-params h3, .d-desc h3 { font-size: 15px; color: var(--ink); margin-bottom: 10px; padding-left: 9px; border-left: 3px solid var(--clay); }
.d-params table { width: 100%; border-collapse: collapse; font-size: 13px; }
.d-params td { padding: 9px 12px; border: 1px solid var(--line-2); }
.d-params td:first-child { width: 132px; background: #FAF8F3; color: var(--txt-2); }
.d-desc { margin-top: 18px; }
.d-desc p { font-size: 14px; color: var(--txt-2); line-height: 1.95; }
.d-service { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.d-service span { font-size: 12px; color: var(--pine); background: var(--pine-l); padding: 3px 10px; border-radius: 3px; }

/* ============================================================
 * 资讯
 * ============================================================ */
.news-cat-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
}
.news-cat-bar a { padding: 5px 16px; border-radius: 20px; font-size: 14px; color: var(--txt-2); background: #F1EEE7; }
.news-cat-bar a:hover { color: var(--ink); background: var(--pine-l); }
.news-cat-bar a.active { background: var(--ink); color: #fff; font-weight: 700; }

.n-hero {
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--pine) 140%);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow);
  margin-bottom: 14px; cursor: pointer; position: relative; overflow: hidden;
}
.n-hero::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; background: rgba(212, 85, 58, .2); }
.n-hero:hover { box-shadow: var(--shadow-h); }
.n-hero .n-title { font-size: 24px; color: #fff; font-weight: 800; line-height: 1.4; position: relative; z-index: 1; }
.n-hero .n-summary { font-size: 14px; color: #C2D5CC; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; position: relative; z-index: 1; }
.n-hero .n-foot { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #9DB6AC; flex-wrap: wrap; position: relative; z-index: 1; }
.n-hero .n-read-btn { margin-left: auto; background: var(--clay); color: #fff; font-weight: 700; padding: 7px 24px; border-radius: 3px; font-size: 13px; }
.n-hero .n-read-btn:hover { background: var(--clay-d); }

.n-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.n-card-h { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; }
.n-card-h:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); border-color: var(--pine); }
.n-card-h .n-no { flex: none; width: 40px; height: 40px; border-radius: 4px; background: var(--pine-l); color: var(--pine); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; font-family: var(--num); }
.n-card-h .n-t { font-size: 16px; font-weight: 700; color: var(--txt); margin-bottom: 6px; line-height: 1.5; }
.n-card-h:hover .n-t { color: var(--clay); }
.n-card-h .n-s { font-size: 13px; color: var(--txt-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.n-foot { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #8FA096; flex-wrap: wrap; }
.n-price-tag { color: #fff; background: var(--red); font-weight: 700; padding: 1px 7px; border-radius: 3px; font-size: 12px; font-family: var(--num); }

.n-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.n-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.n-row:last-child { border-bottom: none; }
.n-row:hover { background: #FAF8F3; }
.n-row .n-no { flex: none; width: 32px; height: 32px; border-radius: 4px; background: #F1EEE7; color: var(--txt-2); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--num); }
.n-row:nth-child(-n+5) .n-no { background: var(--clay-l); color: var(--clay-d); }
.n-row .n-t { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-row:hover .n-t { color: var(--clay); }
.n-row .n-foot { flex: none; }

/* ---------- 资讯详情 / 付费墙 ---------- */
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.article .a-cat { margin-bottom: 10px; }
.article h1 { font-size: 26px; color: var(--ink); line-height: 1.45; margin-bottom: 12px; }
.article .a-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--txt-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.a-body { margin-top: 20px; font-size: 15px; color: #35463E; line-height: 1.95; }
.a-body p { margin-bottom: 16px; text-indent: 2em; }
.a-body.is-locked { max-height: 260px; overflow: hidden; position: relative; }
.a-body.is-locked::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .96) 78%, #fff); pointer-events: none; }
.paywall-card { margin: -26px auto 0; position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-h); max-width: 420px; padding: 26px 30px; text-align: center; }
.pw-seal { width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.paywall-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.paywall-card .pw-sub { font-size: 13px; color: var(--txt-2); margin-bottom: 12px; }
.paywall-card .pw-price { font-size: 30px; font-weight: 800; color: var(--red); font-family: var(--num); margin-bottom: 16px; }
.paywall-card .pw-price::before { content: "¥"; font-size: 17px; }
.btn-pay { width: 100%; background: var(--clay); color: #fff; font-size: 16px; font-weight: 700; padding: 13px 0; border-radius: 4px; letter-spacing: 1px; transition: background .2s; }
.btn-pay:hover { background: var(--clay-d); }
.paywall-card .pw-tip { margin-top: 12px; font-size: 12px; color: #93A29A; line-height: 1.8; }
.paywall-card .pw-tip a { color: var(--pine); font-weight: 600; white-space: nowrap; }

/* ---------- 关于我们 ---------- */
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.about-card h1 { font-size: 24px; color: var(--ink); margin-bottom: 16px; }
.about-card h2 { font-size: 17px; color: var(--ink); margin: 24px 0 10px; display: flex; align-items: center; gap: 8px; }
.about-card h2::before { content: ""; width: 4px; height: 16px; background: var(--clay); border-radius: 2px; }
.about-card p { color: var(--txt-2); margin-bottom: 10px; line-height: 1.9; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table td { padding: 11px 14px; border: 1px solid var(--line-2); word-break: break-all; }
.info-table td:first-child { width: 120px; background: #FAF8F3; color: var(--txt-2); word-break: keep-all; }
.info-table a { color: var(--pine); }
.info-table a:hover { color: var(--clay); }

/* ============================================================
 * 页脚
 * ============================================================ */
footer { background: var(--ink); color: #9DB6AC; margin-top: 44px; }
.foot-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 30px; padding: 38px 0 28px; }
.foot-main h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.foot-main li { margin-bottom: 9px; font-size: 13px; line-height: 1.7; }
.foot-main a:hover { color: var(--amber); }
.foot-brand b { color: #fff; font-size: 19px; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.foot-main .about-txt { font-size: 13px; line-height: 1.95; margin-bottom: 12px; }
.foot-contact li { display: flex; gap: 8px; }
.foot-contact li span { flex: none; color: #6E8C80; }
.foot-contact li em { font-style: normal; color: #D3E2DA; word-break: break-all; }
.foot-contact .fh { white-space: nowrap; }
.foot-contact a.tel { color: #fff; font-family: var(--num); font-size: 17px; letter-spacing: .5px; }
a[href^="tel:"] { white-space: nowrap; }
.foot-copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; text-align: center; font-size: 12px; line-height: 2.1; color: #7C9A8D; }
.foot-copy a { color: #B9CCC4; }
.foot-copy a:hover { color: var(--amber); }

/* ============================================================
 * 收银台弹窗
 * ============================================================ */
.modal-mask { position: fixed; inset: 0; background: rgba(12, 24, 20, .58); z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-mask.show { display: flex; }
.modal { width: 360px; max-width: 100%; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .32); animation: pop .18s ease; border-top: 4px solid var(--clay); }
@keyframes pop { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { background: var(--ink); color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-head b { font-size: 15px; letter-spacing: 3px; }
.modal-close { color: #fff; font-size: 18px; line-height: 1; opacity: .75; }
.modal-close:hover { opacity: 1; }
.modal-body { padding: 22px 24px 8px; text-align: center; }
.modal-body .m-brand { font-size: 13px; color: var(--txt-2); margin-bottom: 14px; letter-spacing: 1px; }
.modal-body .m-title { font-size: 15px; color: var(--txt); font-weight: 600; margin-bottom: 4px; line-height: 1.6; }
.modal-body .m-note { font-size: 12px; color: var(--txt-2); margin-bottom: 14px; word-break: break-all; }
.modal-body .m-amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #FAF8F3; border: 1px solid var(--line-2); border-radius: 6px; padding: 12px 16px; margin-bottom: 14px; font-size: 14px; color: var(--txt-2); }
.modal-body .m-amount .num { font-size: 24px; font-weight: 800; color: var(--clay); font-family: var(--num); }
.modal-body .m-amount .num::before { content: "¥"; font-size: 14px; }
.modal-body .m-status { margin-left: auto; }
.modal-body .m-tel { font-size: 13px; color: var(--txt-2); padding-bottom: 16px; }
.modal-body .m-tel a { color: var(--clay); font-weight: 700; font-family: var(--num); white-space: nowrap; }
.modal-foot { padding: 0 24px 22px; }
.btn-cancel { width: 100%; background: #F1EEE7; color: var(--txt-2); font-size: 14px; padding: 11px 0; border-radius: 4px; font-weight: 600; }
.btn-cancel:hover { background: #E6E1D6; color: var(--txt); }

/* ============================================================
 * 商家入驻
 * ============================================================ */
.join-hero { display: flex; gap: 22px; align-items: stretch; background: linear-gradient(115deg, var(--ink) 0%, var(--ink-2) 58%, var(--pine) 130%); border-radius: var(--radius); padding: 34px 36px; color: #fff; margin-bottom: 18px; }
.join-hero-txt { flex: 1; min-width: 0; }
.join-hero-txt h1 { font-size: 30px; margin: 12px 0; letter-spacing: 2px; }
.join-hero-txt p { font-size: 14px; line-height: 1.95; color: #C2D5CC; max-width: 580px; }
.join-cta { display: inline-block; margin-top: 16px; padding: 11px 30px; border-radius: 3px; background: var(--clay); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 2px; transition: background .2s; }
.join-cta:hover { background: var(--clay-d); color: #fff; }
.join-hero-side { width: 250px; flex: none; display: flex; flex-direction: column; gap: 10px; }
.join-point { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px; padding: 12px 14px; }
.join-point b { display: block; font-size: 14px; color: #E9B04A; margin-bottom: 4px; }
.join-point span { font-size: 12px; color: #B9CCC4; line-height: 1.7; }

.join-flow { margin-bottom: 18px; }
.join-flow h3, .join-form-wrap h3 { font-size: 17px; color: var(--ink); margin-bottom: 14px; padding-left: 10px; border-left: 4px solid var(--clay); }
.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.flow-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; position: relative; overflow: hidden; }
.flow-steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 10px; top: 2px; font-size: 34px; font-weight: 800; color: #F0ECE2; font-family: var(--num); }
.flow-steps li b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.flow-steps li span { font-size: 12px; color: var(--txt-2); position: relative; }

.join-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 30px; scroll-margin-top: 80px; }
.join-form .j-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.join-form label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.join-form label > span { font-size: 13px; color: var(--txt); font-weight: 600; }
.join-form label > span i { color: var(--red); font-style: normal; margin-left: 2px; }
.join-form input[type="text"], .join-form input[type="tel"], .join-form select {
  height: 40px; border: 1px solid var(--line); border-radius: 4px; padding: 0 12px;
  font-size: 14px; color: var(--txt); background: #FCFBF8; outline: none; transition: border-color .2s, background .2s;
}
.join-form input:focus, .join-form select:focus { border-color: var(--pine); background: #fff; }
.j-agree { font-size: 12px; color: var(--txt-2); line-height: 1.8; margin: 2px 0 4px; }
.j-agree label { display: flex; flex-direction: row; align-items: flex-start; gap: 7px; margin-bottom: 0; }
.j-agree input { flex: none; margin-top: 4px; width: 14px; height: 14px; accent-color: var(--clay); }
.j-err { display: none; color: var(--red); font-size: 13px; margin-bottom: 8px; }
.btn-join { height: 44px; padding: 0 46px; border-radius: 3px; background: var(--clay); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 2px; transition: background .2s; }
.btn-join:hover { background: var(--clay-d); }
.j-tip { font-size: 12px; color: var(--txt-2); margin-top: 10px; }
.j-done { text-align: center; padding: 34px 10px; }
.j-done h3 { color: var(--green); font-size: 20px; margin-bottom: 10px; }
.j-done p { font-size: 14px; color: var(--txt-2); line-height: 1.9; max-width: 460px; margin: 0 auto 18px; }
.btn-back { display: inline-block; padding: 10px 28px; border-radius: 3px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.btn-back:hover { background: var(--pine); color: #fff; }
.join-link { color: var(--clay-d); font-weight: 700; border-bottom: 1px dashed var(--clay); padding-bottom: 1px; }
.join-link:hover { color: var(--clay); border-bottom-style: solid; }

/* ============================================================
 * 登录注册弹窗
 * ============================================================ */
.ax-tip { position: fixed; top: 62px; left: 50%; transform: translate(-50%, -16px); z-index: 999; background: var(--ink); color: #fff; font-size: 13px; padding: 10px 20px; border-radius: 4px; opacity: 0; transition: all .25s; pointer-events: none; max-width: 90vw; }
.ax-tip.show { opacity: 1; transform: translate(-50%, 0); }
.ax-tip.ok { background: var(--green); }
.ax-error { display: none; font-size: 12px; color: var(--red); margin-bottom: 10px; }
.ax-error.on { display: block; }
.ax-entry { display: inline-flex; align-items: center; gap: 10px; }
.ax-trigger { color: #D3E2DA; font-size: 12px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; padding: 2px 10px; }
.ax-trigger:hover { color: #fff; border-color: #fff; }
.ax-hello { font-size: 12px; color: #D3E2DA; }
.ax-out { font-size: 12px; color: #9DB6AC; text-decoration: underline; cursor: pointer; }
.ax-only-reg { display: none; }
[data-mode="reg"] .ax-only-reg { display: block; }
[data-mode="reg"] label.ax-only-reg { display: flex; }
.ax-form:not([data-mode="reg"]) .ax-only-reg { display: none !important; }

.ax-sr { position: fixed; inset: 0; z-index: 900; display: none; align-items: center; justify-content: center; background: rgba(12, 24, 20, .58); padding: 16px; }
#axRoot.show .ax-sr { display: flex; }
.ax-sr .ax-panel { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); width: 700px; max-width: 100%; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.ax-sr .ax-side { background: linear-gradient(160deg, var(--ink), var(--pine)); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.ax-sr .ax-big { font-size: 96px; font-weight: 900; opacity: .13; line-height: 1; }
.ax-sr .ax-side-txt b { display: block; font-size: 17px; margin-bottom: 6px; letter-spacing: 1px; }
.ax-sr .ax-side-txt span { font-size: 12px; color: #B9CCC4; letter-spacing: 1px; line-height: 1.8; }
.ax-sr .ax-main { padding: 28px 32px 24px; }
.ax-sr .ax-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.ax-sr .ax-tabs button { flex: 1; padding: 9px 0; border: 1px solid var(--line); background: #FAF8F3; border-radius: 4px; font-size: 14px; color: var(--txt-2); }
.ax-sr .ax-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.ax-sr label { display: flex; flex-direction: column; margin-bottom: 14px; }
.ax-sr label span { font-size: 12px; color: var(--txt-2); margin-bottom: 5px; }
.ax-sr input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; background: #FCFBF8; }
.ax-sr input:focus { outline: none; border-color: var(--pine); background: #fff; }
.ax-sr .ax-go { width: 100%; padding: 12px 0; border-radius: 4px; background: var(--clay); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 6px; }
.ax-sr .ax-go:hover { background: var(--clay-d); }
.ax-sr .ax-swap { text-align: center; font-size: 12px; color: var(--txt-2); margin: 14px 0 0; }
.ax-sr .ax-swap a { color: var(--clay); }
.ax-sr .ax-x { position: absolute; top: 10px; right: 12px; color: var(--txt-2); font-size: 18px; z-index: 3; }
.ax-sr .ax-x:hover { color: var(--clay); }

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .cat-panel { display: none; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 980px) {
  .layout { flex-direction: column; }
  .side { width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rank-card { min-height: 300px; }
  .carousel { min-height: 260px; }
  .carousel .slide { padding: 0 26px; }
  .carousel .slide h2 { font-size: 25px; }
  .carousel .slide-body { max-width: 100%; }
  .carousel .slide-media { width: 168px; height: 168px; right: 12px; opacity: .5; }
  .brandbar .container { flex-wrap: wrap; gap: 14px; }
  .brand-service { display: none; }
  .nav-search { order: 3; flex-basis: 100%; max-width: none; }
  .floor { grid-template-columns: minmax(0, 1fr); }
  .floor-side { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
  .floor-side p { margin-bottom: 0; }
  .floor-side .fs-list { display: none; }
  .floor-side .fs-more { margin-top: 0; }
  .detail-wrap { flex-direction: column; }
  .d-gallery { width: 100%; }
  .n-duo { grid-template-columns: minmax(0, 1fr); }
  .join-hero { flex-direction: column; padding: 26px 22px; }
  .join-hero-side { width: 100%; flex-direction: row; }
  .join-hero-side .join-point { flex: 1; min-width: 0; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-form .j-row { grid-template-columns: 1fr; }
  .mast-left .mast-icp { display: none; }
  .article, .about-card { padding: 22px 18px; }
  .sec-head { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .nav-side { display: none; }
  .nav-links a { padding: 12px 13px; font-size: 14px; }
  .brand-txt strong { font-size: 17px; letter-spacing: 0; }
  .brand-hot { display: none; }
  .topbar-right { gap: 10px; }
  .mast-left { display: none; }
  .carousel .slide { padding: 0 22px; }
  .carousel .slide-media { display: none; }
  .carousel .arr { display: none; }
  .carousel .slide-body { max-width: 100%; }
  .carousel .slide h2 { font-size: 25px; letter-spacing: 1px; }
  .foot-main { grid-template-columns: minmax(0, 1fr); }
  .promise { grid-template-columns: minmax(0, 1fr); }
  .n-row .n-foot span.hide-sm { display: none; }
  .n-hero { padding: 20px 18px; }
  .n-hero .n-title { font-size: 19px; }
  .join-band { padding: 22px 20px; }
  .ax-sr .ax-panel { grid-template-columns: minmax(0, 1fr); }
  .ax-sr .ax-side { display: none; }
  .buy-box .b-price .n { font-size: 28px; }
  .btn-buy { flex: 1; padding: 12px 0; }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .floor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-row { grid-template-columns: 24px 58px minmax(0, 1fr); gap: 8px; padding: 8px 10px; }
  .rank-thumb { width: 58px; height: 46px; }
}

/* ============================================================
 * 资讯列表 · 杂志封面式（页面级覆盖）
 * ============================================================ */
body[data-page="news"] #newsList { display: grid; grid-template-columns: 1.15fr minmax(0, 1fr); gap: 14px; align-items: start; }
body[data-page="news"] #newsList::before {
  content: "WANXIAOGUI WEEKLY · 行业观察特辑"; grid-column: 1 / -1;
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--radius);
  font-weight: 800; letter-spacing: 3px; font-size: 14px; border-left: 5px solid var(--clay);
}
body[data-page="news"] .n-hero { grid-row: span 2; margin-bottom: 0; border-top: 3px solid var(--clay); }
body[data-page="news"] .n-duo, body[data-page="news"] .n-list { display: flex; flex-direction: column; }
body[data-page="news"] .n-row + .n-row { border-top: 1px solid var(--line-2); }
@media (max-width: 980px) {
  body[data-page="news"] #newsList { grid-template-columns: minmax(0, 1fr); }
}

/* 资讯详情 · 首字下沉 */
body[data-page="news-detail"] .article .a-body > p:first-of-type::first-letter { float: left; font-size: 46px; line-height: 1; color: var(--clay); font-weight: 800; margin: 6px 10px 0 0; text-indent: 0; }
