/* 产品详情页扩展样式（依赖 style.css 的变量与基础类） */

.pp-body { background: #f4f6f8; }

/* 顶部条 */
.pp-topbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.pp-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 68px;
}
.pp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.pp-brand .brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em;
  border-radius: var(--radius);
}
.pp-brand strong { font-size: 15px; display: block; line-height: 1.2; }
.pp-brand em { font-style: normal; font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.pp-nav { display: flex; align-items: center; gap: 26px; }
.pp-nav a { font-size: 14px; color: var(--ink-2, #24313d); text-decoration: none; }
.pp-nav a:hover { color: var(--accent); }
.pp-tel {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 11px 20px; font-size: 14px; font-weight: 600; border-radius: var(--radius);
}
.pp-tel:hover { background: var(--accent-dark); }
.pp-menu-btn {
  display: none; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); cursor: pointer; position: relative;
}
.pp-menu-btn span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.pp-menu-btn span:nth-child(1) { top: 12px; }
.pp-menu-btn span:nth-child(2) { top: 18px; }
.pp-menu-btn span:nth-child(3) { top: 24px; }

/* 面包屑 */
.pp-crumb { background: #fff; border-bottom: 1px solid var(--line); }
.pp-crumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 14px 0; font-size: 13px; color: var(--muted);
}
.pp-crumb li::after { content: "/"; margin-left: 8px; color: #c3cbd4; }
.pp-crumb li:last-child::after { content: ""; margin: 0; }
.pp-crumb a { color: var(--muted); text-decoration: none; }
.pp-crumb a:hover { color: var(--accent); }
.pp-crumb li[aria-current] { color: var(--ink); font-weight: 600; }

/* 产品头部 */
.pp-hero {
  background: linear-gradient(140deg, #0f1720 0%, #1b2a38 58%, #24374a 100%);
  color: #fff; padding: 62px 0 66px; position: relative; overflow: hidden;
}
.pp-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/100% 46px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/46px 100%;
  pointer-events: none;
}
.pp-hero .container { position: relative; z-index: 1; }
.pp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.pp-hero .eyebrow { color: rgba(255,255,255,.72); }
.pp-hero h1 { font-size: 40px; line-height: 1.18; margin: 14px 0 10px; letter-spacing: -.01em; }
.pp-hero h1 .pp-model { color: var(--accent); }
.pp-hero-sub { font-size: 15px; color: rgba(255,255,255,.78); margin: 0 0 22px; }
.pp-hero-desc { font-size: 15.5px; line-height: 1.85; color: rgba(255,255,255,.86); margin: 0 0 28px; max-width: 660px; }
.pp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.pp-hero-actions .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.pp-hero-facts {
  list-style: none; margin: 0; padding: 22px 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
}
.pp-hero-facts li { padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.pp-hero-facts li:first-child { padding-top: 0; }
.pp-hero-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.pp-hero-facts dt { font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.6); margin: 0 0 5px; }
.pp-hero-facts dd { margin: 0; font-size: 15px; font-weight: 600; color: #fff; }

/* 主体布局 */
.pp-main { padding: 56px 0 80px; }
.pp-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 40px; align-items: start; }

/* 侧栏目录 */
.pp-aside { position: sticky; top: 92px; }
.pp-toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 0; box-shadow: var(--shadow-sm);
}
.pp-toc h2 { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin: 0 0 10px; padding: 0 20px; font-weight: 600; }
.pp-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.pp-toc a {
  display: block; padding: 9px 20px; font-size: 13.5px; color: var(--ink-2, #24313d);
  text-decoration: none; border-left: 2px solid transparent;
}
.pp-toc a:hover { color: var(--accent); background: #f7f9fb; }
.pp-toc a.is-active { color: var(--accent); border-left-color: var(--accent); background: #fff7f2; font-weight: 600; }
.pp-aside-cta {
  margin-top: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 13px; color: var(--muted); line-height: 1.7;
}
.pp-aside-cta strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.pp-aside-cta a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* 内容块 */
.pp-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 34px; margin-bottom: 22px; scroll-margin-top: 92px;
}
.pp-block > h2 {
  font-size: 21px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px;
}
.pp-block > h2 i {
  font-style: normal; font-size: 12px; letter-spacing: .08em; color: var(--accent);
  font-weight: 700; font-family: var(--f-sans);
}
.pp-block p { font-size: 15px; line-height: 1.9; color: #33414e; margin: 0 0 14px; }
.pp-block p:last-child { margin-bottom: 0; }
.pp-block ul, .pp-block ol { margin: 0; padding-left: 20px; }
.pp-block li { font-size: 14.5px; line-height: 1.85; color: #33414e; margin-bottom: 9px; }
.pp-block li:last-child { margin-bottom: 0; }
.pp-note { font-size: 13px; color: var(--muted); background: #f7f9fb; border-left: 2px solid var(--line); padding: 12px 14px; margin: 14px 0 0; }

/* 数据表 */
.pp-table-wrap { overflow-x: auto; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.pp-table caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 10px; }
.pp-table th, .pp-table td { padding: 13px 16px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.pp-table thead th { background: #0f1720; color: #fff; font-weight: 600; font-size: 13.5px; border-color: #0f1720; }
.pp-table tbody tr:nth-child(even) { background: #f9fafb; }
.pp-table td:first-child { width: 46%; color: #33414e; }
.pp-table td strong { color: var(--accent-dark); font-weight: 700; }

/* 特点卡片 */
.pp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pp-feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fbfcfd; }
.pp-feature h3 { font-size: 14.5px; margin: 0 0 8px; color: var(--ink); }
.pp-feature p { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin: 0; }

/* 施工工艺 */
.pp-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.pp-steps > li { position: relative; padding: 0 0 22px 46px; counter-increment: step; }
.pp-steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  color: var(--accent); background: #fff2ea; border: 1px solid #ffd7c2; border-radius: 50%;
}
.pp-steps > li::after {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: #e6ebf0;
}
.pp-steps > li:last-child::after { display: none; }
.pp-steps h3 { font-size: 15px; margin: 3px 0 8px; }
.pp-steps ul { padding-left: 18px; }
.pp-steps ul li { font-size: 14px; line-height: 1.85; color: #33414e; margin-bottom: 7px; }

/* FAQ */
.pp-faq { border-top: 1px solid var(--line); }
.pp-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.pp-faq summary {
  cursor: pointer; padding: 14px 30px 14px 0; font-size: 14.5px; font-weight: 600; color: var(--ink);
  position: relative; list-style: none;
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 12px; font-size: 18px; color: var(--accent);
  font-weight: 400; transition: transform .2s ease;
}
.pp-faq details[open] summary::after { content: "–"; }
.pp-faq p { padding: 0 0 16px; font-size: 14px; line-height: 1.85; color: #33414e; margin: 0; }

/* 询盘区 */
.pp-inquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; scroll-margin-top: 92px; }
.pp-inquiry-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; }
.pp-inquiry h2 { font-size: 21px; margin: 0 0 12px; }
.pp-inquiry > .pp-inquiry-grid > div > p { font-size: 14px; line-height: 1.85; color: var(--muted); margin: 0 0 16px; }
.pp-contact-list { list-style: none; margin: 0; padding: 0; }
.pp-contact-list li { font-size: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: #33414e; }
.pp-contact-list li:last-child { border-bottom: 0; }
.pp-contact-list span { display: inline-block; min-width: 68px; color: var(--muted); font-size: 13px; }
.pp-contact-list a { color: var(--accent-dark); text-decoration: none; font-weight: 600; }

.pp-form { display: grid; gap: 13px; }
.pp-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.pp-field { display: block; }
.pp-field > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.pp-field > span i { color: #e0451f; font-style: normal; }
.pp-field input, .pp-field textarea, .pp-field select {
  width: 100%; box-sizing: border-box; padding: 11px 13px; font-size: 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  font-family: inherit;
}
.pp-field input:focus, .pp-field textarea:focus, .pp-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,101,34,.12);
}
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pp-submit {
  margin-top: 4px; padding: 13px 24px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.pp-submit:hover { background: var(--accent-dark); }
.pp-submit[disabled] { opacity: .6; cursor: not-allowed; }
.pp-form-tip { font-size: 13px; min-height: 18px; margin: 0; color: var(--muted); }
.pp-form-tip.is-error { color: #c8341a; }
.pp-form-tip.is-ok { color: #17794a; }

/* 页脚 */
.pp-footer { background: #0f1720; color: rgba(255,255,255,.7); padding: 40px 0; font-size: 13px; }
.pp-footer-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.pp-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.pp-footer a:hover { color: var(--accent); }
.pp-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* 返回顶部 */
.pp-top {
  position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; border-radius: 50%;
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
  z-index: 60; font-size: 15px;
}
.pp-top.is-show { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .pp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pp-layout { grid-template-columns: 1fr; gap: 24px; }
  .pp-aside { position: static; }
  .pp-toc ol { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px; }
  .pp-toc a { border-left: 0; border-bottom: 2px solid transparent; padding: 7px 10px; }
  .pp-toc a.is-active { border-left: 0; border-bottom-color: var(--accent); }
  .pp-aside-cta { display: none; }
  .pp-features { grid-template-columns: 1fr; }
  .pp-inquiry-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .pp-topbar-inner { height: 60px; }
  .pp-nav {
    position: absolute; left: 0; right: 0; top: 60px; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 14px; display: none; box-shadow: var(--shadow-md);
  }
  .pp-nav.is-open { display: flex; }
  .pp-nav a { padding: 12px 0; border-bottom: 1px solid #eef1f4; }
  .pp-nav a:last-child { border-bottom: 0; }
  .pp-menu-btn { display: block; }
  .pp-tel { padding: 10px 14px; font-size: 13px; }
  .pp-hero { padding: 42px 0 46px; }
  .pp-hero h1 { font-size: 27px; }
  .pp-hero-desc { font-size: 14.5px; }
  .pp-main { padding: 32px 0 56px; }
  .pp-block, .pp-inquiry { padding: 22px 18px; }
  .pp-block > h2 { font-size: 18px; }
  .pp-form-row { grid-template-columns: 1fr; }
  .pp-table td:first-child { width: auto; }
  .pp-footer-inner { flex-direction: column; align-items: flex-start; }
  .pp-top { right: 14px; bottom: 14px; }
}
