/* ============================================================
   HormLab Portal · 产品详情页（参照小程序详情页结构）
   节奏：浅(面包屑+主区) → 浅灰(详情长图) → 浅(同线套餐) → 金(CTA)
   ============================================================ */

/* ============ 面包屑 ============ */
.pd-hero {
  padding: calc(var(--nav-h) + 28px) 0 12px;
  background: var(--space-dark);
}
.pd-crumb { font-size: 13px; color: rgba(255,255,255,0.55); }
.pd-crumb a { color: rgba(255,255,255,0.72); text-decoration: none; }
.pd-crumb a:hover { color: #fff; }
.pd-crumb span { color: var(--accent-gold); }

/* ============ 主区：左图右信息 ============ */
.pd-main { padding: 40px 0 56px; }
.pd-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

/* 图集 */
.pd-gallery { position: sticky; top: calc(var(--nav-h) + 20px); }
.pd-stage {
  position: relative;
  background: #f4f1fa; border-radius: var(--r-lg, 16px);
  overflow: hidden; aspect-ratio: 1500 / 1290;
}
.pd-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 0.45s var(--ease-out, ease);
}
.pd-slide.on { opacity: 1; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumb {
  width: 76px; height: 76px; padding: 0; cursor: pointer;
  border: 2px solid transparent; border-radius: 12px;
  overflow: hidden; background: #f4f1fa;
  transition: border-color 0.2s var(--ease-out, ease);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.on { border-color: var(--accent-purple, #6b3fa0); }
.pd-thumb:hover { border-color: rgba(107,63,160,0.5); }

/* 信息 */
.pd-info .section-eyebrow { display: block; margin-bottom: 10px; }
.pd-title {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700;
  color: var(--text-dark); line-height: 1.2; margin: 0 0 8px;
}
.pd-sub { font-size: 15px; color: var(--text-mid); margin: 0 0 18px; }
.pd-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.pd-price .cur { font-size: 20px; color: var(--accent-gold); font-weight: 600; }
.pd-price .num { font-size: 40px; font-weight: 700; color: var(--accent-gold); line-height: 1; }
.pd-price .unit { font-size: 13px; color: var(--text-light); margin-left: 6px; }

.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.pd-tags li {
  font-size: 12.5px; color: var(--text-mid);
  background: #f4f1fa; border: 1px solid #e6dff5;
  border-radius: 999px; padding: 6px 13px;
}
.pd-tags li b { color: var(--accent-purple, #6b3fa0); font-weight: 700; }

.pd-desc { font-size: 14.5px; line-height: 1.8; color: var(--text-mid); margin: 0 0 22px; }
.pd-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
/* .btn-ghost 原为「深底白字」（首页 hero 用），详情页是浅色底 → 白字不可见，此处收敛为深字浅边 */
.pd-ctas .btn-ghost {
  background: transparent; color: var(--text-dark);
  border: 1.5px solid rgba(26,26,26,0.18); backdrop-filter: none;
}
.pd-ctas .btn-ghost:hover {
  background: rgba(107,63,160,0.06); border-color: rgba(107,63,160,0.45);
  transform: translateY(-2px);
}

.pd-spec { margin: 0 0 18px; border-top: 1px solid var(--border, #eee); }
.pd-spec > div {
  display: flex; gap: 16px; padding: 11px 0;
  border-bottom: 1px solid var(--border, #eee); font-size: 13.5px;
}
.pd-spec dt { flex: 0 0 88px; color: var(--text-light); }
.pd-spec dd { margin: 0; color: var(--text-dark); }
.pd-note { font-size: 11.5px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ============ 详情长图 ============ */
.pd-longimg { max-width: 760px; margin: 0 auto; }
.pd-longimg img {
  width: 100%; height: auto; display: block;
  border-radius: 12px; margin-bottom: 14px;
  box-shadow: 0 2px 14px rgba(26,15,60,0.08);
}

/* ============ 同线其他套餐 ============ */
.pd-sib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pd-sib-card {
  display: block; text-decoration: none;
  background: #fff; border: 1px solid #e6dff5; border-radius: 14px;
  padding: 20px; transition: transform 0.22s var(--ease-out, ease), box-shadow 0.22s var(--ease-out, ease);
}
.pd-sib-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,15,60,0.1); }
.pd-sib-name { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.pd-sib-sub { font-size: 13px; color: var(--text-mid); margin-top: 4px; }
.pd-sib-price { font-size: 13.5px; color: var(--accent-gold); font-weight: 600; margin-top: 10px; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { position: static; }
  .pd-sib-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pd-stage { aspect-ratio: 1500 / 1290; }
  .pd-thumb { width: 64px; height: 64px; }
  .pd-sib-grid { grid-template-columns: 1fr; }
}
