/* ================================================================
   林氏毛织厂 · product-detail.css
   产品详情页专属样式
   依赖：base.css · components.css · header-footer.css
   ================================================================ */

/* ── Hero 区 ─────────────────────────────────────── */
.pd-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.pd-hero .breadcrumb { padding-top: 24px; margin-bottom: 0; }

.pd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 48px;
}
@media (max-width: 900px) {
  .pd-hero-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ── 图片展示 ────────────────────────────────────── */
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }

.pd-main-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 2/3;
  border: 1px solid var(--line-lt);
}
.pd-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pd-main-img:hover img { transform: scale(1.03); }

.pd-badge-hot {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 6px;
  font-family: var(--fe);
}

.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pd-thumb {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 2/3;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  background: var(--bg);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: var(--blue); transform: translateY(-2px); }
.pd-thumb.on    { border-color: var(--orange); }

/* ── 产品信息 ────────────────────────────────────── */
.pd-tag {
  font-family: var(--fe); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.pd-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  color: var(--t1); line-height: 1.2; margin-bottom: 12px;
}
.pd-lead {
  font-size: 14px; color: var(--t2); line-height: 1.8;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--line-lt);
}

/* 参数表 */
.pd-specs { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.pd-spec-item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-lt);
  font-size: 13px;
}
.pd-spec-item:first-child { padding-top: 0; }
.pd-spec-label {
  flex-shrink: 0; width: 72px;
  color: var(--t3); font-size: 12px; font-weight: 600;
}
.pd-spec-val { color: var(--t1); font-weight: 500; }
.pd-spec-val em { color: var(--t2); font-style: normal; font-size: 11px; }

/* CTA 按钮组 */
.pd-cta-wrap {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.pd-cta-main {
  display: inline-flex; align-items: center; gap: 7px;
  flex: 1; justify-content: center; min-width: 180px;
}
.pd-cta-note {
  font-size: 11px; color: var(--t3); line-height: 1.7;
}

/* ── 款式系列 ────────────────────────────────────── */
.pd-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .pd-style-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pd-style-grid { grid-template-columns: 1fr; } }

.pd-style-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-lt);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
}
.pd-style-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.pd-style-img {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg2);
}
.pd-style-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.pd-style-card:hover .pd-style-img img { transform: scale(1.04); }

.pd-style-body { padding: 16px 16px 18px; }
.pd-style-name {
  font-size: 14px; font-weight: 700; color: var(--t1);
  margin-bottom: 6px;
}
.pd-style-desc {
  font-size: 12px; color: var(--t2); line-height: 1.65;
  margin-bottom: 12px;
}
.pd-style-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pd-style-tags span {
  padding: 2px 8px; border-radius: 4px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 10px; font-weight: 700; font-family: var(--fe);
  letter-spacing: .04em;
}

/* ── 工艺材质 详情块 ─────────────────────────────── */
.pd-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pd-detail-grid { grid-template-columns: 1fr; } }

.pd-detail-block {
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-lt);
}
.pd-detail-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pd-detail-icon svg { width: 22px; height: 22px; stroke: rgba(255,255,255,.75); }
.pd-detail-block h3 {
  font-size: 15px; font-weight: 700; color: var(--t1);
  margin-bottom: 14px;
}
.pd-detail-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.pd-detail-list li {
  font-size: 13px; color: var(--t2); line-height: 1.65;
  padding-left: 14px; position: relative;
}
.pd-detail-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange);
}
.pd-detail-list li strong { color: var(--t1); }

/* ── 合作流程 ────────────────────────────────────── */
.pd-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .pd-flow { flex-direction: column; gap: 0; }
  .pd-flow-arrow { display: none; }
}

.pd-flow-item {
  flex: 1; min-width: 120px;
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-md);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--sh);
  transition: box-shadow .2s, transform .2s;
}
.pd-flow-item:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

@media (max-width: 960px) {
  .pd-flow-item {
    flex-direction: row; align-items: flex-start; gap: 14px;
    margin-bottom: 10px;
  }
}

.pd-flow-num {
  font-family: var(--fe); font-size: 28px; font-weight: 800;
  color: var(--navy); line-height: 1; opacity: .12;
}
@media (max-width: 960px) {
  .pd-flow-num { font-size: 22px; flex-shrink: 0; width: 40px; opacity: 1; color: var(--orange); }
}
.pd-flow-title {
  font-size: 13px; font-weight: 700; color: var(--t1);
}
.pd-flow-desc {
  font-size: 12px; color: var(--t2); line-height: 1.65;
}
.pd-flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--t3); font-size: 20px; padding: 0 4px;
  flex-shrink: 0; align-self: center;
}

/* ── 工厂优势 ────────────────────────────────────── */
.pd-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .pd-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pd-why-grid { grid-template-columns: 1fr 1fr; } }

.pd-why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-lt);
  background: var(--white);
  box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
}
.pd-why-item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.pd-why-num {
  font-family: var(--fe); font-size: 36px; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 8px;
}
.pd-why-title {
  font-size: 14px; font-weight: 700; color: var(--t1);
  margin-bottom: 8px;
}
.pd-why-desc {
  font-size: 12px; color: var(--t2); line-height: 1.7;
}

/* ── 相关产品 ────────────────────────────────────── */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .pd-related-grid { grid-template-columns: repeat(2, 1fr); } }

.pd-related-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-lt);
  background: var(--white);
  box-shadow: var(--sh);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.pd-related-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.pd-related-img {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg2);
}
.pd-related-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.pd-related-card:hover .pd-related-img img { transform: scale(1.04); }

.pd-related-name {
  font-size: 14px; font-weight: 700; color: var(--t1);
  padding: 12px 14px 4px;
}
.pd-related-link {
  font-size: 12px; color: var(--orange); font-weight: 700;
  padding: 0 14px 14px;
  display: block;
}

/* ── 单品页新增样式 ──────────────────────────────── */
.pd-subtitle-tag {
  font-size: 12px; color: var(--blue); font-weight: 600;
  letter-spacing: .06em; margin-bottom: 10px;
  font-family: var(--fe); text-transform: uppercase;
}

/* 产品亮点列表 */
.pd-highlights {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-lt);
  display: flex; flex-direction: column; gap: 12px;
}
.pd-highlight-item { display: flex; flex-direction: column; gap: 3px; }
.pd-highlight-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--t1);
}
.pd-highlight-title svg { color: var(--orange); flex-shrink: 0; }
.pd-highlight-desc {
  font-size: 12px; color: var(--t2); line-height: 1.65;
  padding-left: 20px;
}
