/* ===============================================================
   户外钓鱼服饰 · 布局与区块（设计宽度 1440）
   分区高度按 03-ui/compare-log.md 的量稿预算落位
   =============================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; color: var(--ink-strong); line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ------------------------------------------------------------- 分区骨架 */
.section { padding: 0; }

.section-gap { height: 40px; }
.section-gap--sm { height: 24px; }
.section-gap--md { height: 25px; }
.section-gap--lg { height: 38px; }
.section-gap--xl { height: 65px; }
.section-gap--hero { height: 48px; }

.section-inner { display: block; }

/* ============================================================== M1 hero */
.hero {
  background: linear-gradient(180deg, #cbe7fb 0%, #dceefb 62%, var(--bg) 100%);
  min-height: 419px;
  display: flex;
  align-items: stretch;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 40px;
  align-items: start;
  padding-top: 26px;
  padding-bottom: 24px;
}

.hero-copy { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--brand);
  text-transform: none;
}

.hero-title {
  margin-top: 14px;
  font-size: var(--fs-hero);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin-top: 16px;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(34, 97, 156, 0.18);
}

.hero-stat { display: flex; align-items: baseline; gap: 8px; }
.hero-stat strong { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 20px; color: var(--ink-strong); }
.hero-stat span { font-size: var(--fs-sm); color: var(--ink-soft); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-media .hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink-strong);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
}

/* ========================================================= M2 分类索引 */
.categories { background: var(--bg); }

.category-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.category-heading h2 { font-size: 24px; }
.category-heading p { margin-top: 8px; font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.7; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.category-card { height: 100%; min-height: 205px; }

.category-card > a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 16px 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.category-card > a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.cat-icon {
  width: 32px;
  height: 32px;
  color: var(--brand);
}

.cat-name { margin-top: auto; font-size: 15px; font-weight: 800; color: var(--ink-strong); line-height: 1.4; }

.cat-desc { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.65; }

/* ====================================================== M3 精选款式 */
.featured { background: var(--bg); }

.featured-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.featured-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  min-height: 316px;
  padding: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background: var(--brand);
}

.featured-aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 38, 62, .12) 0%, rgba(10, 38, 62, .82) 100%);
}

.featured-aside > * { position: relative; z-index: 1; }

.featured-aside p { font-size: var(--fs-sm); line-height: 1.75; color: rgba(255,255,255,.9); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}

.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.product-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--bg-panel); }
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.product-body { display: flex; flex-direction: column; gap: 4px; padding: 9px 11px 11px; }

.product-name { font-size: 13.5px; font-weight: 800; line-height: 1.45; }

.product-desc { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.6; }

.product-price {
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
}

.product-price span { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: var(--fs-xs); color: var(--ink-mute); margin-right: 4px; }

.product-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-add {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand);
  line-height: 1;
  cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}

.product-add-icon { width: 14px; height: 14px; }
.product-add-check { display: none; width: 14px; height: 14px; }

.product-add:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.product-add.is-added,
.product-add[aria-pressed="true"] { background: var(--bg-deep); border-color: var(--brand-soft); color: var(--ink-strong); }
.product-add.is-added .product-add-icon,
.product-add[aria-pressed="true"] .product-add-icon { display: none; }
.product-add.is-added .product-add-check,
.product-add[aria-pressed="true"] .product-add-check { display: block; }

.featured-note { margin-top: 10px; font-size: var(--fs-xs); color: var(--ink-mute); }

/* ====================================================== M4 四步选型 */
.buying { background: var(--bg); }

.buying-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.buying-aside {
  min-height: 168px;
  padding: 16px 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
}

.buying-aside h2 { font-size: 22px; }

.buying-aside p { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-soft); }

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 12px 14px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-icon { width: 28px; height: 28px; color: var(--brand-soft); }

.step-num {
  display: block;
  margin-top: 8px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
}

.step h3 { margin-top: 4px; font-size: 16px; }

.step p { margin-top: 4px; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.62; }

/* ====================================================== M5 面料对照 */
.fabric { background: var(--bg); }

.fabric-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.fabric-aside {
  min-height: 244px;
  padding: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.fabric-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.fabric-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 38, 62, .1) 0%, rgba(10, 38, 62, .85) 100%);
}

.fabric-aside > * { position: relative; z-index: 1; }
.fabric-aside p { font-size: var(--fs-sm); line-height: 1.75; color: rgba(255,255,255,.92); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }

table.fabric-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 620px;
}

.fabric-table th, .fabric-table td {
  padding: 8px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.fabric-table thead th {
  background: var(--bg-panel);
  color: var(--ink-strong);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: .04em;
}

.fabric-table tbody th { font-weight: 700; color: var(--ink-strong); }

.fabric-table tbody tr:last-child th,
.fabric-table tbody tr:last-child td { border-bottom: 0; }

.fabric-table tbody tr:nth-child(even) { background: var(--surface-soft); }

.fabric-note { margin-top: 9px; font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.7; }

/* ====================================================== M6 选购保障 */
.trust { background: var(--bg); }

.trust-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.trust-head h2 { font-size: 20px; }
.trust-head p { margin-top: 6px; font-size: var(--fs-xs); color: var(--ink-mute); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 4px 0; }
.trust-icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--brand); }
.trust-item h3 { font-size: 14px; }
.trust-item p { margin-top: 2px; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.65; }

/* =================================================== M7 收录说明 */
.editorial { background: var(--bg); }

.editorial-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.editorial-head h2 { font-size: 20px; }
.editorial-head p { margin-top: 6px; font-size: var(--fs-xs); color: var(--ink-mute); }

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.note-item h3 {
  font-size: 13.5px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
}

.note-item p { margin-top: 6px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.62; }

.revisions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 26px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
}

.revisions h3 { font-size: var(--fs-xs); color: var(--ink-mute); font-weight: 700; letter-spacing: .08em; }

.revisions ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }

.revisions li { display: flex; gap: 8px; align-items: baseline; font-size: var(--fs-xs); color: var(--ink-soft); }

.revisions time { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; color: var(--brand); }

/* =========================================================== 内页补充 */
.page-hero {
  background: linear-gradient(180deg, #d9ecfb 0%, var(--bg) 100%);
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--ink-mute);
}

.breadcrumb a { color: var(--brand); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb .crumb-sep { color: var(--line-strong); }
.breadcrumb li { display: flex; gap: 8px; align-items: center; }

.page-title { margin-top: 10px; font-size: 34px; }

.page-lead { margin-top: 10px; max-width: 44em; font-size: 15px; color: var(--ink-soft); }

.page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 14px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.page-stats strong { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; color: var(--ink-strong); }

/* 列表工具条 */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { font-size: var(--fs-xs); color: var(--ink-mute); letter-spacing: .06em; }

.chip {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}

.chip:hover { border-color: var(--brand-soft); color: var(--brand); }

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.sort-select {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.result-count { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-mute); }
.result-count strong { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; color: var(--ink-strong); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 24px 0 8px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}

.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.card-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg-panel); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.card-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; flex: 1; }

.card-title { font-size: 15px; font-weight: 800; line-height: 1.45; }
.card-title a:hover { color: var(--brand); }

.card-summary { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.7; }

.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: var(--ink-mute);
}

.card-price { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); }

.empty-state {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.empty-state[hidden] { display: none; }

.list-description {
  padding: 26px 0 10px;
  border-top: 1px solid var(--line);
}

.list-description .prose { max-width: 760px; }
.list-description h2 { font-size: 20px; }

.prose p { margin-top: 12px; color: var(--ink-soft); line-height: 1.95; }
.prose h2 { margin-top: 26px; }
.prose h3 { margin-top: 20px; font-size: 17px; }
.prose ul { margin-top: 12px; padding-left: 0; }
.prose li { position: relative; padding-left: 18px; margin-top: 8px; color: var(--ink-soft); line-height: 1.85; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-soft); }

.cross-links { padding: 26px 0 10px; }

.cross-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.cross-card {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, border-color .16s ease;
}

.cross-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.cross-card h3 { font-size: 16px; }
.cross-card p { margin-top: 6px; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.7; }

/* 详情页 */
.article-head { padding: 22px 0 26px; background: linear-gradient(180deg, #d9ecfb 0%, var(--bg) 100%); }

.article-head-inner {
  display: block;
}

.article-title { margin-top: 12px; font-size: 34px; line-height: 1.24; }
.article-summary { margin-top: 12px; max-width: 40em; color: var(--ink-soft); line-height: 1.9; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  max-width: 760px;
}

.spec { padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.spec dt { font-size: 11px; letter-spacing: .08em; color: var(--ink-mute); }
.spec dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-strong); }

.article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* 正文章节图（详情页 H1 下不放整宽封面，图片只穿插在分节里） */
.article-figure {
  margin: 16px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}
.article-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 48px;
  align-items: start;
  padding: 30px 0 10px;
}

.article-body { max-width: 760px; }

.article-body section + section { margin-top: 30px; }

.article-body h2 {
  padding-top: 6px;
  font-size: 21px;
}

.article-body p { margin-top: 12px; color: var(--ink-soft); line-height: 1.95; }

.aside-card {
  position: sticky;
  top: 84px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.aside-card h2 { font-size: 14px; letter-spacing: .04em; }
.aside-card dl { margin: 12px 0 0; display: grid; gap: 10px; }
.aside-card dt { font-size: 11px; color: var(--ink-mute); letter-spacing: .06em; }
.aside-card dd { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-strong); }

.related { padding: 26px 0 12px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, border-color .16s ease;
}

.related-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.related-card h3 { font-size: 15px; }
.related-card p { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.7; }

/* ============================================================== 响应式 */
@media (max-width: 1180px) {
  .container { padding: 0 28px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .featured-inner, .buying-inner, .fabric-inner, .trust-inner, .editorial-inner { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .product-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-grid, .trust-grid, .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .aside-card { position: static; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; max-width: 520px; }
  .hero-title { font-size: 36px; }
  .featured-inner, .buying-inner, .fabric-inner, .trust-inner, .editorial-inner { grid-template-columns: minmax(0, 1fr); }
  .featured-aside, .fabric-aside { min-height: 180px; }
  .buying-aside { min-height: 0; }
  .article-head-inner { grid-template-columns: minmax(0, 1fr); }
  .cross-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 30px; }
  .hero-lead { font-size: 15px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-grid, .card-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step-grid, .trust-grid, .editorial-grid { grid-template-columns: minmax(0, 1fr); }
  .cross-grid, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .page-title, .article-title { font-size: 26px; }
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { gap: 10px 18px; }
  .toolbar { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ================================================================
   v2 结构修正：M2 左标题 + 8 列卡；CTA 行；页脚两行压缩
   ================================================================ */

/* CTA 行（稿面 y1321–1367） */
.cta-band {
  padding: 10px 0 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  text-align: center;
}

.cta-text {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: .01em;
}

.cta-band .btn { padding: 8px 16px; font-size: 12.5px; }

/* 页脚：一行长导航 + 一行说明（稿面 169px 高） */
.site-footer { padding: 0; }

.footer-main { padding: 22px 40px 18px; }

.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}

.footer-brand .brand-name { color: #fff; font-size: 16px; }
.footer-brand .brand-mark { color: #9fcdf3; width: 22px; height: 22px; }

.footer-tagline { font-size: 13px; color: rgba(255, 255, 255, .74); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-links a { font-size: 12.5px; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
}

.footer-scope { color: rgba(255, 255, 255, .62); }
.footer-copy { color: rgba(255, 255, 255, .5); }

@media (max-width: 960px) {
  .footer-main { padding: 20px 20px 16px; }
}

@media (max-width: 1180px) {
  .category-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}

/* ================================================================
   v3：页脚按稿拆成「浅色快捷导航条 + 深色说明块」
   ================================================================ */
.footer-navband {
  background: var(--bg);
  border-top: 1px solid var(--line);
  min-height: 74px;
  display: flex;
  align-items: center;
}

.footer-navband-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.footer-brand-light { color: var(--ink-strong); }
.footer-brand-light .brand-mark { color: var(--brand); width: 22px; height: 22px; }
.footer-brand-light .brand-name { font-size: 15px; color: var(--ink-strong); }

.footer-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.footer-quicknav a {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.footer-quicknav a:hover { color: var(--brand); text-decoration: underline; }

.footer-navband .footer-copy {
  font-size: 12px;
  color: var(--ink-mute);
  white-space: nowrap;
}

.site-footer { background: var(--deep); color: rgba(255,255,255,.78); }

.footer-main { padding: 14px 40px 11px; }

.footer-brandline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brandname { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }

.footer-tagline { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.72); }

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
}

.footer-col { flex: 1 1 180px; min-width: 160px; }

.footer-col--brand { flex: 1.5 1 260px; }

.footer-col .footer-label { display: block; flex: none; margin-bottom: 7px; }

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 7px;
}

.footer-label {
  flex: 0 0 62px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: #8fc2ea;
  font-weight: 700;
}

.footer-inline { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-inline a { font-size: 12.5px; color: rgba(255,255,255,.8); white-space: nowrap; }
.footer-inline a:hover { color: #fff; text-decoration: underline; }

.footer-row--scope { align-items: baseline; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-scope { flex: 1 1 auto; font-size: 12px; line-height: 1.65; color: rgba(255,255,255,.64); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.5); white-space: nowrap; }

@media (max-width: 960px) {
  .footer-main { padding: 14px 20px 14px; }
  .footer-navband { min-height: 0; }
  .footer-label { flex-basis: 100%; }
}

@media (max-width: 640px) {
  .footer-navband-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-top: 4px; }
}

/* ------------------------------------------------- 数据化补充：模块与链接 */
/* 首页「最新收录」分类内容模块（与相邻 section 同底色 + 纵向留白） */
.latest { background: var(--bg); padding: 26px 0 24px; }

/* 卡片缩略图与精选图被 <a> 包裹后内联元素 height 不生效，需转块级 */
.card-thumb > a { display: block; height: 100%; }
.product-thumb { display: block; }

/* 列表分页（demo 无分页，按需补：与 toolbar/chip 同一套描边风格） */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 6px; }
.pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  transition: border-color .14s ease, color .14s ease, background .14s ease;
}
.pager-num:hover { border-color: var(--brand-soft); color: var(--brand); }
.pager-num.is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager-num.is-disabled { color: var(--ink-mute); background: var(--surface-soft); cursor: default; }
.pager-gap { padding: 0 2px; color: var(--ink-mute); }
.pager-prev, .pager-next { padding: 0 14px; font-weight: 600; }
.pager-next { margin-left: auto; }

@media (max-width: 640px) {
  .pager { gap: 6px; padding-top: 18px; }
  .pager-num { min-width: 30px; height: 30px; padding: 0 9px; font-size: 11.5px; }
  .pager-prev, .pager-next { flex-basis: 100%; margin-left: 0; justify-content: center; }
  .pager-next { order: 9; }
}
