/* ========================================
   纽辰生物官网 - 产品页样式表
   产品目录 + 产品详情页
   ======================================== */

/* ===== 顶部 Utility Bar ===== */
.utility-bar{background:#1a1a2e;border-bottom:1px solid rgba(255,255,255,.08);position:fixed;top:0;left:0;right:0;z-index:1001;height:32px}
.utility-bar-inner{max-width:1400px;margin:0 auto;display:flex;justify-content:flex-end;align-items:center;padding:0 32px;height:32px;gap:20px;font-size:12px}
.utility-bar a{color:rgba(255,255,255,.55);text-decoration:none;transition:all .2s;display:flex;align-items:center;gap:5px}
.utility-bar a:hover{color:#fff}
.utility-bar .nbs-entry{color:#38bdf8;font-weight:600;padding:2px 12px;border:1px solid rgba(56,189,248,.3);border-radius:4px;transition:all .2s;line-height:1.4}
.utility-bar .nbs-entry:hover{background:rgba(56,189,248,.15);border-color:rgba(56,189,248,.6);color:#7dd3fc}

/* 让导航和页面补偿 utility bar 高度 */
.nav{top:32px !important}

/* ===== 面包屑 ===== */
.breadcrumb-bar{background:var(--bg-light);border-bottom:1px solid var(--border);padding:14px 0;margin-top:104px}
.breadcrumb-bar .container{display:flex;align-items:center;gap:8px;font-size:0.875rem;color:var(--text-secondary);flex-wrap:wrap}
.breadcrumb-bar a{color:var(--text-secondary)}
.breadcrumb-bar a:hover{color:var(--primary)}
.breadcrumb-bar .sep{color:#cbd5e1}
.breadcrumb-bar .current{color:var(--text-primary);font-weight:600}

/* ===== 页头 ===== */
.page-header{padding:56px 0 40px;text-align:center}
.page-header h1{font-size:2.5rem;font-weight:800;margin-bottom:14px;color:var(--text-primary)}
.page-header p{color:var(--text-secondary);font-size:1.125rem;max-width:680px;margin:0 auto;line-height:1.7}

/* ===== 分类导航（产品目录页） ===== */
.category-nav{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding:8px 0 24px}
.category-nav a{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;border:1px solid var(--border);border-radius:999px;color:var(--text-secondary);font-weight:500;font-size:0.9rem;transition:all .2s;background:#fff}
.category-nav a:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-1px)}
.category-nav a.active{background:var(--primary);border-color:var(--primary);color:#fff}

/* ===== 产品目录区块 ===== */
.catalog-section{padding:48px 0}
.catalog-section-head{display:flex;align-items:center;gap:14px;margin-bottom:32px}
.catalog-section-head .icon{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0}
.catalog-section-head h2{font-size:1.5rem;font-weight:700}
.catalog-section-head p{color:var(--text-secondary);font-size:0.9rem;margin-top:2px}

/* 产品目录卡片列表（横向大卡片） */
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:28px}
.catalog-card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:all .3s;box-shadow:var(--shadow)}
.catalog-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:rgba(0,102,204,.3)}
.catalog-card .card-visual{height:200px;display:flex;align-items:center;justify-content:center;font-size:4rem;flex-shrink:0}
.catalog-card .card-body{padding:26px;display:flex;flex-direction:column;flex:1}
.catalog-card .card-tag{display:inline-block;background:rgba(0,102,204,.1);color:var(--primary);padding:4px 12px;border-radius:12px;font-size:0.75rem;font-weight:600;margin-bottom:12px;align-self:flex-start}
.catalog-card h3{font-size:1.2rem;font-weight:600;margin-bottom:10px;line-height:1.4}
.catalog-card p{color:var(--text-secondary);font-size:0.92rem;line-height:1.7;margin-bottom:20px;flex:1}
.catalog-card .card-link{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-weight:600;font-size:0.9rem}
.catalog-card .card-link:hover{gap:10px}

/* ===== 产品详情页 ===== */

/* Hero */
.product-hero{padding:40px 0 60px}
.product-hero .container{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.product-gallery{background:linear-gradient(135deg,#E8F4FD,#D1E9FB);border-radius:20px;padding:48px;display:flex;align-items:center;justify-content:center;min-height:420px}
.product-gallery .gallery-icon{font-size:8rem;line-height:1;filter:drop-shadow(0 16px 24px rgba(0,102,204,.25))}
.product-gallery .gallery-caption{text-align:center;color:var(--primary);font-weight:600;margin-top:20px;font-size:0.95rem;letter-spacing:.02em}
.product-info .product-tag{display:inline-block;background:rgba(0,102,204,.1);color:var(--primary);padding:6px 14px;border-radius:12px;font-size:0.8rem;font-weight:600;margin-bottom:16px}
.product-info h1{font-size:2.25rem;font-weight:800;line-height:1.25;margin-bottom:16px}
.product-info .product-lead{color:var(--text-secondary);font-size:1.1rem;line-height:1.75;margin-bottom:24px}
.product-info .key-points{list-style:none;margin-bottom:32px}
.product-info .key-points li{display:flex;align-items:flex-start;gap:10px;padding:7px 0;color:var(--text-primary);font-size:0.95rem}
.product-info .key-points li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);margin-top:9px;flex-shrink:0}
.product-actions{display:flex;gap:14px;flex-wrap:wrap}

/* 核心优势 */
.advantages-section{padding:70px 0;background:var(--bg-light)}
.advantages-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.advantage-card{background:#fff;border-radius:14px;padding:30px;box-shadow:var(--shadow);transition:all .3s;border:1px solid var(--border)}
.advantage-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.advantage-card .adv-icon{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:18px}
.advantage-card h3{font-size:1.05rem;font-weight:600;margin-bottom:10px}
.advantage-card p{color:var(--text-secondary);font-size:0.9rem;line-height:1.7}
.advantage-card .adv-stat{font-size:1.6rem;font-weight:800;color:var(--primary);margin-bottom:6px}

/* 技术规格 */
.specs-section{padding:70px 0}
.specs-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:32px}
.spec-group{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}
.spec-group h3{padding:18px 24px;background:var(--bg-light);font-size:1rem;font-weight:600;border-bottom:1px solid var(--border)}
.spec-table{width:100%;border-collapse:collapse}
.spec-table th,.spec-table td{padding:14px 24px;text-align:left;border-bottom:1px solid var(--border);font-size:0.9rem}
.spec-table tr:last-child th,.spec-table tr:last-child td{border-bottom:none}
.spec-table th{color:var(--text-secondary);font-weight:500;width:42%;background:rgba(248,250,252,.6)}
.spec-table td{color:var(--text-primary)}

/* 应用场景 */
.applications-section{padding:70px 0;background:var(--bg-light)}
.applications-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.application-card{background:#fff;border-radius:14px;padding:30px;box-shadow:var(--shadow);border:1px solid var(--border)}
.application-card .app-icon{font-size:2rem;margin-bottom:16px}
.application-card h3{font-size:1.05rem;font-weight:600;margin-bottom:10px}
.application-card p{color:var(--text-secondary);font-size:0.9rem;line-height:1.7}

/* 相关产品 */
.related-section{padding:70px 0}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.related-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:20px 24px;transition:all .3s;color:var(--text-primary)}
.related-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);color:var(--text-primary)}
.related-card .rel-icon{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.6rem;flex-shrink:0}
.related-card .rel-info h4{font-size:0.98rem;font-weight:600;margin-bottom:4px}
.related-card .rel-info span{color:var(--text-secondary);font-size:0.82rem}

/* ===== 响应式 ===== */
@media (max-width:1024px){
  .product-hero .container{grid-template-columns:1fr;gap:36px}
  .product-gallery{min-height:300px}
}
@media (max-width:768px){
  .page-header h1{font-size:1.9rem}
  .product-info h1{font-size:1.7rem}
  .breadcrumb-bar{margin-top:104px}
  .catalog-grid,.advantages-grid,.specs-wrap,.applications-grid,.related-grid{grid-template-columns:1fr}
}
