/* ============================================================
   产品详情页样式 product-detail.css
   ============================================================ */

.pd-top { padding: 50px 0; background: #fff; }
.pd-top-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }

/* ---- 相册 ---- */
.pd-gallery { position: sticky; top: 90px; }
.pd-main { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #dfe8f2, #cdd9e8); border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 51, 102, .12); }
.pd-main img, .pd-main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.pd-main .pd-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #7d92aa; font-size: 20px; letter-spacing: 2px; z-index: 1; }

.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 92px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: linear-gradient(135deg, #dfe8f2, #cdd9e8); display: flex; align-items: center; justify-content: center; font-size: 12px; color: #7d92aa; position: relative; transition: all .2s; }
.pd-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.pd-thumb.active { border-color: #ff6b35; }

/* ---- 产品概要 ---- */
.pd-info .cat { color: #ff6b35; font-size: 14px; margin-bottom: 10px; font-weight: 600; }
.pd-info h1 { font-size: 30px; color: #003366; line-height: 1.3; margin-bottom: 16px; }
.pd-summary { font-size: 15px; color: #555; line-height: 1.9; padding-bottom: 18px; border-bottom: 1px dashed #d9e2ec; margin-bottom: 18px; }
.pd-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 28px; }
.pd-features li { position: relative; padding-left: 22px; font-size: 14px; color: #333; }
.pd-features li::before { content: "✔"; position: absolute; left: 0; top: 0; color: #ff6b35; font-weight: 700; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-actions .btn-primary { display: inline-block; padding: 13px 34px; background: #ff6b35; color: #fff; border-radius: 4px; font-size: 15px; transition: background .2s; }
.pd-actions .btn-primary:hover { background: #e5561f; }
.pd-actions .btn-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 13px 28px; border: 1px solid #003366; color: #003366; border-radius: 4px; font-size: 15px; transition: all .2s; }
.pd-actions .btn-ghost:hover { background: #003366; color: #fff; }

/* ---- 区块 ---- */
.pd-section { padding: 60px 0; }
.pd-section.pd-gray { background: #f5f7fa; }
.pd-desc p { font-size: 15px; line-height: 2.1; color: #444; text-align: justify; margin-bottom: 16px; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---- 参数表 ---- */
.pd-specs { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; background: #fff; box-shadow: 0 4px 16px rgba(0, 51, 102, .06); border-radius: 6px; overflow: hidden; }
.pd-specs th, .pd-specs td { padding: 14px 24px; font-size: 14px; text-align: left; border-bottom: 1px solid #eef2f7; }
.pd-specs tr:last-child th, .pd-specs tr:last-child td { border-bottom: none; }
.pd-specs th { width: 180px; color: #003366; font-weight: 600; background: #f8fafc; }
.pd-specs td { color: #444; }

/* ---- 产品简介下方的视频 ---- */
.pd-video-box { position: relative; max-width: 900px; margin: 30px auto 0; aspect-ratio: 16 / 9; background: #0a1f33; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 51, 102, .12); }
.pd-video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pd-video-box .pd-video-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8ea6bf; font-size: 18px; letter-spacing: 2px; text-align: center; line-height: 1.8; pointer-events: none; }
.pd-video-box .pd-video-ph span { font-size: 12px; letter-spacing: 0; color: #6c8299; margin-top: 6px; }

/* ---- 上一款/下一款 ---- */
.pd-nav { padding: 30px 0 60px; }
.pd-nav-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pd-nav-bar a { color: #003366; font-size: 14px; text-decoration: none; transition: color .2s; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-nav-bar a:hover { color: #ff6b35; }
.pd-nav-bar .btn-ghost { padding: 10px 26px; border: 1px solid #003366; border-radius: 4px; }

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .pd-top-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-specs th { width: 120px; }
  .pd-info h1 { font-size: 24px; }
}
