/* 攀岩鞋图鉴 — 桌面版独立样式。不依赖手机版 CSS，不用媒体查询套手机版。
   token 沿用手机版的黑白基调（同一个产品的两个界面要能认出是一家），
   加一个信号色 --accent：橡胶大底常见的燃橙色，只用在硬度量表和当前选中态上。 */
:root {
  --ink:    #0F1113;
  --paper:  #EFEDE7;
  --plate:  #FFFFFF;
  --rule:   #D8D5CD;
  --rule-2: #C7C4BD;
  --mute:   #9A9EA2;
  --accent: #C1440E;
  --accent-soft: #F4E3D8;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Menlo", "Consolas", monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font-family: var(--sans); }

/* ── 顶栏：黑底，产品身份 + 全站统计 ── */
.top {
  background: var(--ink); color: var(--paper);
  padding: 22px 40px;
  display: flex; align-items: baseline; justify-content: space-between;
  position: sticky; top: 0; z-index: 30;
}
.top .id { display: flex; align-items: baseline; gap: 14px; }
/* 手机版/桌面版标识：跟手机版 index.html 的 .verbadge 是同一件事的两端——
   同一个 /shoes/ URL 按 UA 分流两份独立源码，页面上必须标出当前是哪一版。 */
.top .verbadge {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(239,237,231,.45); border: 1px solid rgba(239,237,231,.28); border-radius: 999px;
  padding: 3px 10px;
}
.top h1 {
  margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.01em;
}
.top .en {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(239,237,231,.55);
}
.top .stats { display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; color: rgba(239,237,231,.75); }
.top .stats b { color: var(--paper); font-weight: 600; font-size: 13px; }
.top nav { display: flex; gap: 4px; }
.top nav button {
  background: none; border: 1px solid rgba(239,237,231,.28); color: rgba(239,237,231,.75);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.top nav button.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.top nav button:not(.on):hover { border-color: rgba(239,237,231,.6); }

/* ── 页面骨架 ── */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 40px; padding: 32px 0 80px; align-items: start; }

/* ── 左：筛选轨。2026-09-09 简化：去掉每个选项下的说明文字（挪进 title 悬浮提示），
   胶囊改成单行小 chip，能一行放下 2~3 个，视觉密度大幅降低。 */
.rail { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.filt-h {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: .06em; color: #8b8779; text-transform: uppercase; font-family: var(--mono);
  padding-bottom: 4px; border-bottom: 1px solid var(--rule);
}
.filt-clear {
  background: none; border: none; color: var(--accent); font-size: 12px; cursor: pointer; padding: 0;
  font-family: var(--sans); text-decoration: underline; text-underline-offset: 2px;
}
.grp { display: flex; flex-direction: column; gap: 7px; }
.grp-t { font-size: 11px; font-weight: 600; color: #928e80; text-transform: uppercase; letter-spacing: .04em; }
.grp-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  border: 1px solid var(--rule-2); background: var(--plate); color: var(--ink);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; line-height: 1.2;
  transition: border-color .15s, background .15s, color .15s;
}
.pill:hover { border-color: var(--ink); }
.pill.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* 脚型/脚宽/脚跟胶囊上的手绘轮廓图标（跟手机版同一份矢量素材）。桌面是紧凑 chip，
   图标压到一个小方框里，靠 svg 默认 preserveAspectRatio 居中不变形，不用逐个换算宽高比。 */
.pill.hasart { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; }
.pill.hasart .fa { width: 30px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pill.hasart .fa svg { width: 100%; height: 100%; display: block; }
.footart .body { fill: var(--plate); stroke: var(--ink); stroke-width: 3.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.footart .cleft { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.footart .nail { fill: var(--plate); stroke: var(--ink); stroke-width: 1.9; vector-effect: non-scaling-stroke; }
.footart .tip { fill: none; stroke: var(--ink); stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.heelart .body { fill: var(--plate); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.heelart .ref { fill: none; stroke: var(--mute); stroke-width: 1.4; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.pill.on .footart .body, .pill.on .footart .nail, .pill.on .heelart .body { fill: var(--ink); stroke: var(--paper); }
.pill.on .footart .cleft, .pill.on .footart .tip { stroke: var(--paper); }
.pill.on .heelart .ref { stroke: rgba(239,237,231,.55); }
.rail-note {
  font-size: 11px; color: #928e80; line-height: 1.6; border-top: 1px solid var(--rule); padding-top: 12px;
}

/* ── 硬度量表：信号元素，PSR 0~10 的横条 ── */
.psr { display: flex; align-items: center; gap: 6px; }
.psr-bar { flex: 1; height: 4px; background: var(--rule); border-radius: 2px; position: relative; overflow: hidden; }
.psr-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; }
.psr-n { font-family: var(--mono); font-size: 10.5px; color: #8b8779; width: 26px; text-align: right; }

/* ── 主区：结果条 + 网格 ── */
.main-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.main-h .count { font-size: 14px; color: #6b675c; }
.main-h .count b { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.sortbar { display: flex; gap: 6px; }
.sortbar button {
  background: none; border: none; font-size: 12.5px; color: #928e80; cursor: pointer; padding: 4px 8px;
}
.sortbar button.on { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 18px; }
.card {
  background: var(--plate); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
  cursor: pointer; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--ink); box-shadow: 0 8px 20px rgba(15,17,19,.08); transform: translateY(-2px); }
.card .ph {
  aspect-ratio: 4/3; background: var(--paper); display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--rule); overflow: hidden;
}
.card .ph img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card .ph .noph { font-family: var(--mono); font-size: 10.5px; color: #b3afa3; }
.card .body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .brand { font-size: 10.5px; color: #928e80; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.card .name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.card .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.card .tag { font-size: 10.5px; border: 1px solid var(--rule-2); border-radius: 5px; padding: 2px 6px; color: #57544a; }

.empty { padding: 80px 0; text-align: center; color: #928e80; font-size: 14px; }

/* ── 品牌 / 明星款：简单卡片流。logo/头像图片跟手机版一样保留（品牌用 img/brands/*.png 素材，
   明星款用 img/pros/*.jpg 素材），没有图的退回旗子+首字缩写占位（跟手机版一致的兜底）。 */
.blist, .plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 16px; }
.bcard, .pcard {
  background: var(--plate); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px;
  cursor: pointer; transition: border-color .15s; display: flex; gap: 14px;
}
.bcard:hover, .pcard:hover { border-color: var(--ink); }
.bcard .badge, .pcard .badge {
  flex: 0 0 auto; border-radius: 10px; background: var(--paper);
  border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bcard .badge, .pcard .badge { width: 84px; height: 84px; }
.bcard .badge img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pcard .badge img { width: 100%; height: 100%; object-fit: cover; }
.bcard .badge .ini { font-size: 26px; font-weight: 700; color: #928e80; }
.pcard .badge .ini { font-size: 26px; font-weight: 700; color: #928e80; }
.bcard .main, .pcard .main { min-width: 0; flex: 1; }
.bcard .bt, .pcard .bt { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; font-family: var(--sans); }
.bcard .bc, .pcard .bc { font-size: 11.5px; color: #928e80; margin-top: 3px; font-family: var(--sans); }
.bcard .bn, .pcard .bn { font-size: 12px; color: #57544a; margin-top: 8px; line-height: 1.55; font-family: var(--sans); }

/* ── 右侧详情抽屉：不是全屏弹窗，压出一条右栏，主区仍可见（略压暗） ── */
.scrim {
  position: fixed; inset: 0; background: rgba(15,17,19,.25); opacity: 0; pointer-events: none;
  transition: opacity .2s; z-index: 40;
}
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 460px; max-width: 92vw;
  background: var(--plate); box-shadow: -20px 0 40px rgba(15,17,19,.18);
  transform: translateX(100%); transition: transform .22s ease; z-index: 41;
  display: flex; flex-direction: column;
}
.drawer.show { transform: translateX(0); }
.drawer-h {
  padding: 18px 24px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between;
}
.drawer-h button {
  background: none; border: none; font-size: 20px; cursor: pointer; color: #928e80; line-height: 1; padding: 4px;
}
.drawer-h button:hover { color: var(--ink); }
.drawer-body { padding: 24px; overflow-y: auto; flex: 1; }
.d-hero { aspect-ratio: 16/10; background: var(--paper); border-radius: 10px; overflow: hidden; margin-bottom: 18px; display:flex; align-items:center; justify-content:center; }
.d-hero img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.d-en { font-family: var(--mono); font-size: 11px; color: #928e80; text-transform: uppercase; letter-spacing: .05em; }
.d-cn { font-size: 22px; font-weight: 800; margin: 4px 0 10px; }
.d-sub { font-size: 13px; color: #57544a; margin-bottom: 18px; }
.d-dials { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.d-dials > div { background: var(--plate); padding: 10px 14px; }
.d-dials .k { font-size: 10.5px; color: #928e80; margin-bottom: 3px; }
.d-dials .v { font-size: 13.5px; font-weight: 600; }
.d-spec { display: flex; flex-direction: column; gap: 14px; }
.d-row .k { font-size: 11px; color: #928e80; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; font-family: var(--mono); }
.d-row .v { font-size: 13.5px; line-height: 1.65; }
.d-row.risk .v { background: var(--accent-soft); border-left: 2px solid var(--accent); padding: 8px 10px; border-radius: 0 6px 6px 0; }
.d-row b { font-weight: 700; }
.d-sisters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.d-sisters .sc { border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; cursor: pointer; }
.d-sisters .sc:hover { border-color: var(--ink); }

.foot { text-align: center; padding: 24px 0 40px; font-size: 11px; color: #a09c8f; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 999px) {
  .top, .wrap { padding-left: 20px; padding-right: 20px; }
  .layout { grid-template-columns: 1fr; }
  .rail { position: static; }
}
