/* ============================================================
   产品截图 / 转化版块样式
   依赖 shop.css 的令牌（--paper / --ink / --accent …）
   被 index.html（首页）与 product.html（商品页）共同引用。
   ============================================================ */

/* ---------- 截图组件 ---------- */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.shots--single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; gap: 24px; } }

.shot { margin: 0; }
.shot-frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; box-shadow: 0 26px 48px -40px rgba(21, 20, 27, .65);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.shot:hover .shot-frame {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 34px 60px -38px rgba(21, 20, 27, .7);
}
.shot-bar {
  height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: var(--paper-2); border-bottom: 1px solid var(--line-2);
}
.shot-bar span { width: 7px; height: 7px; border-radius: 50%; background: #d6d1c6; }
.shot-bar em {
  margin-left: auto; font-style: normal; font-size: 10.5px;
  color: var(--ink-3); letter-spacing: .12em;
}
.shot-frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top center; background: var(--paper);
}
.shot figcaption { margin-top: 13px; padding-right: 4px; }
.shot figcaption b {
  display: block; font-family: var(--serif); font-size: 15.5px;
  font-weight: 600; color: var(--ink); line-height: 1.5;
}
.shot figcaption span {
  display: block; margin-top: 5px; font-size: 13px; color: var(--ink-2); line-height: 1.7;
}

/* 图注统一说明（截图区底部） */
.shot-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-3); }
.shot-note a { color: var(--accent); }

/* ---------- 首页 Hero 双栏 ---------- */
.hero-layout {
  position: relative; max-width: var(--wrap); margin: 0 auto; padding: 88px 28px 78px;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 56px; align-items: center;
}
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 38px; padding: 62px 28px 56px; }
}
.hero-layout .hero-copy { min-width: 0; }
.hero-shot { position: relative; }
.hero-shot .shot-frame { box-shadow: 0 40px 70px -46px rgba(21, 20, 27, .7); }
.hero-shot .shot figcaption { display: none; }
@media (max-width: 980px) { .hero-shot { max-width: 640px; } }

/* ---------- Hero 行动按钮行 ---------- */
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .btn { padding: 15px 28px; font-size: 15.5px; }
.hero-cta .btn-buy { border-radius: 100px; }
.hero-cta .hint-inline { font-size: 12.5px; color: var(--ink-3); margin-left: 4px; }

/* ---------- 信任条 ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 15px 28px;
  display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 13px; color: var(--ink-2);
}
.trustbar-inner span { display: inline-flex; align-items: center; gap: 8px; }
.trustbar-inner span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); flex: none;
}

/* ---------- 商品卡缩略图 + 价格 ---------- */
.prod-card .thumb {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border-bottom: 1px solid var(--line-2); background: var(--paper-2);
}
.prod-card .thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.prod-card:hover .thumb img { transform: scale(1.03); }
.prod-card .price-row {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.prod-card .price-row .now {
  font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink);
}
.prod-card .price-row .now small { font-size: 14px; margin-right: 1px; }
.prod-card .price-row .what { font-size: 12.5px; color: var(--ink-3); }
.prod-card .foot { border-top: none; padding-top: 6px; margin-top: 6px; }

/* ---------- 价格对照（锚点） ---------- */
.anchor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .anchor-grid { grid-template-columns: 1fr; } }
.anchor {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px;
}
.anchor.is-ours { border-color: var(--accent); background: #fff; box-shadow: 0 20px 40px -34px rgba(21, 20, 27, .5); }
.anchor .k { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; }
.anchor .p { font-family: var(--serif); font-size: 30px; color: var(--ink); margin-top: 12px; line-height: 1.1; }
.anchor .p small { font-size: 15px; }
.anchor.is-ours .p { color: var(--accent); }
.anchor ul { list-style: none; margin: 16px 0 0; padding: 0; }
.anchor li {
  font-size: 13.5px; color: var(--ink-2); padding: 8px 0 8px 18px; position: relative;
  border-top: 1px solid var(--line-2);
}
.anchor li:first-child { border-top: none; }
.anchor li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.anchor.is-ours li::before { content: "✓"; color: var(--accent); }
.anchor-foot { margin-top: 26px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ---------- 收尾 CTA 带 ---------- */
.closing {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(760px 300px at 78% -20%, rgba(79, 70, 229, .10), transparent 66%),
    var(--paper-2);
}
.closing-inner {
  max-width: 820px; margin: 0 auto; padding: 76px 28px 80px; text-align: center;
}
.closing h2 { font-size: clamp(25px, 3.4vw, 36px); }
.closing p { margin-top: 16px; font-size: 15.5px; color: var(--ink-2); }
.closing .hero-cta { justify-content: center; }
.closing .small { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- 商品页：截图区（与 pbody 视觉对齐） ---------- */
.pbody .shots { margin-top: 4px; }
.pbody .shot-note { border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------- 视觉修正（首屏字号 / 卡片等高 / 价格贴底） ---------- */
.hero-layout h1 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.22; }
.hero-layout .sub { font-size: 16px; max-width: 33em; }
.hero-meta { margin-top: 30px; gap: 10px 28px; }
.hero-meta .m b { font-size: 22px; }
.prod-grid { align-items: stretch; }
.prod-card { height: 100%; }
.prod-card .lead {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-card .price-row { margin-top: auto; }

/* 商品页恰好三张时：首图通栏，后两张并排（避免右下留空） */
.shots > .shot:first-child:nth-last-child(3) { grid-column: 1 / -1; }
.anchor-sub { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
