/* ============================================================
   安熵家官网 V2.0 - 产品详情页样式
   ============================================================ */
.pd{padding-top:var(--header-h)}

/* ---------- 面包屑 ---------- */
.breadcrumb{display:flex;align-items:center;gap:10px;padding:26px 0 8px;font-size:13.5px;color:var(--text-3)}
.breadcrumb a{transition:color .2s}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{color:var(--line)}
.breadcrumb em{font-style:normal;color:var(--text-2)}

/* ---------- 01 产品 Hero ---------- */
.pd-hero{background:var(--bg);padding:48px 0 88px;position:relative;overflow:hidden}
.pd-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(640px 460px at 82% 30%,rgba(2,187,93,.08),transparent 62%)}
.pd-hero-inner{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.pd-series{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:1.5px;color:var(--accent);border:1px solid rgba(2,187,93,.32);background:var(--accent-soft);padding:6px 15px;border-radius:999px;margin-bottom:22px}
.pd-position{display:block;width:fit-content;margin:-14px 0 20px;font-size:12.5px;font-weight:600;letter-spacing:1px;color:var(--text-2);background:var(--bg-soft);border:1px solid var(--line);padding:5px 12px;border-radius:999px}
.pd-hero h1{font-size:clamp(34px,4.4vw,52px);font-weight:800;line-height:1.15;letter-spacing:.5px}
.pd-tagline{font-size:17px;font-weight:600;color:var(--accent);margin:14px 0 8px}
.pd-desc{font-size:15.5px;color:var(--text-2);max-width:520px;margin-bottom:26px}
.pd-sell{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;margin-bottom:34px}
.pd-sell li{display:flex;align-items:center;gap:10px;font-size:14.5px;color:var(--text)}
.pd-sell li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);flex:0 0 6px}
.pd-actions{display:flex;gap:14px;flex-wrap:wrap}
.pd-hero-visual{display:flex;justify-content:center;align-items:center}
.pd-hero-img{width:min(430px,100%);border-radius:24px;box-shadow:var(--shadow-lg);animation:heroFloat 6s ease-in-out infinite}
@keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* ---------- 通用区块 ---------- */
.pd-section{padding:88px 0;border-top:1px solid var(--line)}
.pd-section.pd-health{background:var(--bg-soft)}
.pd-section.pd-spec{background:var(--bg-soft)}
.pd-section.pd-oem{background:var(--bg-green-grad);color:#fff;border-top:0}
.pd-head{margin-bottom:44px}
.pd-head h2{font-size:clamp(26px,3vw,36px);font-weight:800}
.pd-head .sec-tag{margin-bottom:12px}

/* ---------- 02 功能 ---------- */
.pd-feats{display:flex;flex-wrap:wrap;gap:12px}
.chip{
  background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:11px 22px;font-size:14.5px;color:var(--text-2);
  transition:border-color .25s,color .25s,transform .25s;
}
.chip:hover{border-color:rgba(2,187,93,.42);color:var(--accent);transform:translateY(-2px)}

/* ---------- 03 健康能力 ---------- */
.pd-health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.health-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px 26px;transition:transform .3s ease,box-shadow .3s ease}
.health-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.health-ic{width:48px;height:48px;border-radius:13px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.health-ic svg{width:24px;height:24px}
.health-card h4{font-size:16.5px;font-weight:700;margin-bottom:6px}
.health-card p{font-size:13.5px;color:var(--text-2)}
.health-note{margin-top:34px;font-size:12.5px;color:var(--text-3);border-left:3px solid var(--line);padding-left:14px}

/* ---------- 04 外观展示 ---------- */

  /* ---------- 05 参数 ---------- */
.spec-wrap{max-width:820px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.spec-table{width:100%;border-collapse:collapse;font-size:15px}
.spec-table th,.spec-table td{padding:15px 22px;text-align:left;border-bottom:1px solid var(--line)}
.spec-table th{width:200px;color:var(--text-3);font-weight:500;background:var(--bg-soft)}
.spec-table td{color:var(--text);font-weight:500}
.spec-table tr:last-child th,.spec-table tr:last-child td{border-bottom:0}

/* ---------- 06 OEM ---------- */
.pd-oem-inner{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap}
.pd-oem h2{font-size:clamp(24px,3vw,34px);font-weight:800;margin-bottom:10px}
.pd-oem p{color:rgba(255,255,255,.6);font-size:15px;max-width:560px}

/* ---------- 07 CTA ---------- */
.pd-cta{background:var(--bg-green-grad);color:#fff;padding:84px 0;position:relative;overflow:hidden}
.pd-cta::before{content:"";position:absolute;inset:0;background:radial-gradient(560px 400px at 15% 20%,rgba(2,187,93,.24),transparent 60%)}
.pd-cta-inner{position:relative;text-align:center}
.pd-cta h2{font-size:clamp(26px,3.4vw,38px);font-weight:800;margin-bottom:10px}
.pd-cta p{color:rgba(255,255,255,.62);margin-bottom:30px}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .pd-hero-inner{grid-template-columns:1fr;gap:48px;text-align:center}
  .pd-desc{margin-left:auto;margin-right:auto}
  .pd-actions{justify-content:center}
  .pd-sell{max-width:520px;margin-left:auto;margin-right:auto}
  .pd-hero-visual{order:-1}
  .pd-hero-img{width:min(340px,86%)}
  .pd-health-grid{grid-template-columns:repeat(2,1fr)}
  }
@media (max-width:768px){
  .pd-hero{padding:32px 0 60px}
  .pd-section{padding:64px 0}
  .pd-sell{grid-template-columns:1fr}
  }
@media (max-width:430px){
  .pd-health-grid{grid-template-columns:1fr}
  .pd-actions .btn{flex:1}
  .pd-hero h1{font-size:30px}
  .pd-hero-img{width:min(280px,100%)}
  .pd-sell{grid-template-columns:1fr;gap:8px}
  .pd-sell li{font-size:13px}
  .pd-tagline{font-size:15px}
  .pd-desc{font-size:14px}
  .health-card{padding:22px 18px}
  .health-card h4{font-size:15px}
  .health-card p{font-size:12.5px}
  .health-ic{width:42px;height:42px}
  .health-ic svg{width:21px;height:21px}
  .chip{padding:9px 16px;font-size:13px}
  .spec-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .spec-table{font-size:12.5px;min-width:340px}
  .spec-table th,.spec-table td{padding:10px 12px}
  .spec-table th{width:120px}
  .breadcrumb{font-size:12px}
}

/* ---------- 追加：产品图灯箱 ---------- */
.pd-lightbox{
  position:fixed;inset:0;z-index:3000;background:rgba(10,12,15,.92);
  display:none;align-items:center;justify-content:center;padding:30px;
}
.pd-lightbox.open{display:flex}
.pd-lightbox img{max-width:min(760px,92%);max-height:88vh;border-radius:14px;box-shadow:0 40px 90px rgba(0,0,0,.6)}
.pd-lightbox-close{
  position:absolute;top:22px;right:26px;width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.12);border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;
}
.pd-lightbox-close:hover{background:rgba(255,255,255,.24)}
/* ============================================================
   产品中心页（系列分组 + 配件）
   ============================================================ */

/* ---------- 系列快速导航 ---------- */
.series-nav{
  display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 46px;
  position:sticky;top:var(--header-h);z-index:60;
  padding:10px 0;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);
}
.series-nav a{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:600;color:var(--text-2);
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 18px;
  transition:color .2s,border-color .2s,background .2s,transform .2s;
}
.series-nav a:hover{color:var(--accent);border-color:rgba(2,187,93,.45);background:var(--accent-soft);transform:translateY(-2px)}
.series-nav a span{font-size:11px;font-weight:700;color:var(--text-3);background:var(--bg-soft);border-radius:999px;padding:1px 8px}
.series-nav a:hover span{color:var(--accent);background:var(--accent-soft)}

/* ---------- 系列分组 ---------- */
.series-group[id]{scroll-margin-top:calc(var(--header-h) + 16px)}
.series-group{margin-bottom:72px}
.series-group:last-child{margin-bottom:0}
.series-head{
  display:flex;align-items:center;gap:14px;margin-bottom:26px;
  padding-bottom:16px;border-bottom:1px solid var(--line);
}
.series-head::before{content:"";width:4px;height:26px;border-radius:3px;background:var(--accent);flex:0 0 4px}
.series-head h3{font-size:23px;font-weight:800;color:var(--text)}
.series-head p{
  margin-left:auto;font-size:12.5px;font-weight:600;color:var(--accent);
  background:var(--accent-soft);border:1px solid rgba(2,187,93,.28);
  padding:4px 14px;border-radius:999px;
}

/* 产品中心页网格：桌面 3 列（首页保持 4 列） */
.pd .product-grid{grid-template-columns:repeat(3,1fr)}
.pd .product-card:hover{border-color:rgba(2,187,93,.35)}
@media (max-width:768px){.pd .product-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:430px){.pd .product-grid{grid-template-columns:1fr}}

/* 单款系列：居中加宽展示 */
.series-group.single .product-grid{grid-template-columns:1fr;max-width:640px;margin:0 auto}

/* ---------- 产品配件 ---------- */
.acc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.acc-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.acc-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:rgba(2,187,93,.35)}
.acc-img{display:flex;background:var(--bg-soft);aspect-ratio:16/9;overflow:hidden}
.acc-img img{width:50%;height:100%;object-fit:contain;transition:transform .5s ease}
.acc-img img + img{border-left:1px solid var(--line)}
.acc-card:hover .acc-img img{transform:scale(1.04)}
.acc-body{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1}
.acc-tag{
  align-self:flex-start;font-size:11.5px;font-weight:700;letter-spacing:1px;
  color:var(--accent);background:var(--accent-soft);border:1px solid rgba(2,187,93,.32);
  padding:4px 12px;border-radius:999px;margin-bottom:12px;
}
.acc-body h3{font-size:19px;font-weight:800;color:var(--text);margin-bottom:8px}
.acc-body > p{font-size:13.5px;color:var(--text-2);line-height:1.7;margin-bottom:18px;flex:1}
.spec-list{
  display:flex;flex-direction:column;border:1px solid var(--line);
  border-radius:12px;overflow:hidden;
}
.spec-list li{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:10px 15px;font-size:13px;border-bottom:1px solid var(--line);
}
.spec-list li:last-child{border-bottom:0}
.spec-list li:nth-child(odd){background:var(--bg-soft)}
.spec-list span{color:var(--text-3);white-space:nowrap}
.spec-list b{color:var(--text);font-weight:600;text-align:right}
.acc-wide{grid-column:1 / -1;flex-direction:row;align-items:stretch}
.acc-wide .acc-img{flex:0 0 46%;aspect-ratio:auto}
.acc-wide .acc-body{flex:1}

@media (max-width:768px){
  .series-nav{position:static;margin:22px 0 34px}
  .series-nav a{padding:8px 14px;font-size:13px}
  .series-group{margin-bottom:56px}
  .acc-grid{grid-template-columns:1fr}
  .acc-wide{flex-direction:column}
  .acc-wide .acc-img{aspect-ratio:16/9}
}
@media (max-width:430px){
  .series-nav{gap:8px;margin:18px 0 28px}
  .series-nav a{padding:7px 12px;font-size:12px}
  .series-nav a span{font-size:10px;padding:1px 6px}
  .acc-body{padding:18px 16px 20px}
  .acc-body h3{font-size:16px}
  .acc-body > p{font-size:12.5px}
  .spec-list li{padding:8px 12px;font-size:12px}
  .series-head h3{font-size:18px}
  .series-head p{font-size:12px}
}
