/* ==========================================================================
   Photist · 产品资料快捷入口 + 产品规格书独立选择页
   独立样式文件：不改动 style.css 的任何既有规则
   - 探索产品页两个入口按钮：直接复用 .btn / .btn-ghost / .btn-sm，整体靠左、无标签与装饰线
   - 规格书页：复用 #materials 作用域下的 .res-* 组件
     （型号选择器 / 选中态鹅黄 / 下载按钮鹅黄，与产品资料页完全一致）
   ========================================================================== */

/* ------------------------- 一、产品资料快捷入口 ------------------------- */
.pq-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 2px 0 30px;
}
.pq-links .btn { gap: 7px; min-width: 132px; justify-content: center; }
.pq-links .btn .arrow { width: 14px; height: 14px; }

/* 两个资料入口整体靠左，与页面标题左侧边缘对齐 */
.pq-links,
.series-section .pq-links { justify-content: flex-start; }

@media (max-width: 600px) {
  .pq-links { gap: 8px; margin: 0 0 22px; }
    .pq-links .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 0 12px;
  }
}

/* ----------------------- 二、产品规格书独立选择页 ----------------------- */
.specs-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 34px;
  color: #8A7866;
  font-size: 13.5px;
  text-decoration: none;
  transition: color .2s;
}
.specs-back:hover { color: #705744; }

#materials .specs-block { max-width: 900px; margin: 0 auto; }

/* 每份资料：左侧名称 + 右侧「在线预览」「下载」 */
#materials .sp-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
#materials .sp-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #DCD4C8;
  border-radius: 999px;
  background: #fff;
  color: #705744;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
#materials .sp-view:hover {
  background: #F7F4EE;
  border-color: #B9A88F;
  transform: translateY(-1px);
}
/* .res-dl 复用为链接时去掉默认下划线，其余视觉完全沿用现有下载按钮 */
#materials a.res-dl { text-decoration: none; }

@media (max-width: 600px) {
  .specs-back { margin-bottom: 26px; }
  #materials .sp-actions { gap: 8px; }
  #materials .sp-view {
    min-width: 78px;
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* --------------------- 「更多系列」卡片：真实插画图片 ---------------------
   使用用户提供的原始 PNG，原始比例；contain 保证不拉伸、不裁切、主体完整清晰 */
.pc-more .pc-thumb .pc-more-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
