@charset "utf-8";
/* ==========================================================
   klxpure.com 产品详情页 + 内容排版增强样式
   依赖：style.css（主样式 / 主色 #1a86d6）
   作者：WorkBuddy  版本：v1.1 浅蓝主题
   说明：本文件只做「新增」，不覆盖 style.css 任何原有规则
   ========================================================== */

/* ---------- 0. 变量与基础 ---------- */
:root{
  --pd-brand: #1a86d6;
  --pd-brand-dark: #0d5fa8;
  --pd-dark: #1e1d1d;
  --pd-text: #333;
  --pd-muted: #888;
  --pd-line: #e8e8e8;
  --pd-soft: #f5f6f7;
  --pd-blue: #1a6fc4;
}

/* 面包屑（全站通用，若主题已有 .position 则被覆盖增强） */
.position{border-bottom:1px solid var(--pd-line);background:#fff;}
.position .container{line-height:52px;font-size:14px;color:#999;}
.position a{color:#666;}
.position a:hover{color:var(--pd-brand);}

/* ---------- 1. 产品概览区（图集 + 信息） ---------- */
.pd-hero{
  background:#fff;border:1px solid var(--pd-line);
  padding:30px;margin-bottom:30px;
}
.pd-gallery{float:left;width:460px;}
.pd-stage{
  position:relative;height:380px;line-height:376px;
  border:1px solid var(--pd-line);background:#fafafa;overflow:hidden;cursor:zoom-in;
}
.pd-stage img{max-width:100%;max-height:100%;width:auto;vertical-align:middle;transition:transform .4s;}
.pd-stage:hover img{transform:scale(1.03);}
.pd-stage .pd-zoom{
  position:absolute;right:10px;bottom:10px;z-index:2;
  background:rgba(0,0,0,.5);color:#fff;font-size:12px;line-height:24px;
  padding:0 10px;border-radius:2px;pointer-events:none;
}
.pd-thumbs{margin:12px 0 0 -12px;font-size:0;}
.pd-thumbs li{display:inline-block;vertical-align:middle;margin:12px 0 0 12px;}
.pd-thumbs li a{
  display:block;width:84px;height:64px;line-height:60px;text-align:center;
  border:1px solid var(--pd-line);background:#fff;overflow:hidden;transition:all .3s;
}
.pd-thumbs li a img{max-width:100%;max-height:100%;width:auto;vertical-align:middle;}
.pd-thumbs li.on a,.pd-thumbs li a:hover{border-color:var(--pd-brand);}

.pd-info{margin-left:500px;min-height:380px;position:relative;}
.pd-info h1{font-size:30px;line-height:1.35;margin:0;font-weight:bold;color:#222;}
.pd-sub{margin:8px 0 0;font-size:15px;color:var(--pd-brand);}
.pd-sub:empty{display:none;} /* 未填副标题时不占位 */
.pd-meta{margin:18px 0 0;padding:14px 0;border-top:1px dashed var(--pd-line);border-bottom:1px dashed var(--pd-line);font-size:0;}
.pd-meta li{display:inline-block;vertical-align:top;width:50%;font-size:14px;color:#666;line-height:26px;}
.pd-meta li span{color:#999;}
.pd-summary{margin:16px 0 0;font-size:15px;line-height:1.9;color:#555;}
.pd-tags{margin:16px 0 0;font-size:0;}
.pd-tags span{
  display:inline-block;vertical-align:middle;margin:0 8px 8px 0;
  font-size:12px;line-height:24px;padding:0 10px;color:#666;
  background:var(--pd-soft);border-radius:2px;
}
.pd-actions{margin:22px 0 0;font-size:0;}
.pd-actions a{
  display:inline-block;vertical-align:middle;height:46px;line-height:46px;
  padding:0 32px;font-size:16px;margin:0 12px 0 0;transition:all .3s;
}
.pd-actions .btn-ask{background:var(--pd-brand);color:#fff;border:1px solid var(--pd-brand);}
.pd-actions .btn-ask:hover{background:var(--pd-brand-dark);border-color:var(--pd-brand-dark);color:#fff;}
.pd-actions .btn-dl{background:#fff;color:#333;border:1px solid #ddd;}
.pd-actions .btn-dl:hover{border-color:var(--pd-brand);color:var(--pd-brand);}
.pd-hotline{margin:18px 0 0;font-size:14px;color:#666;}
.pd-hotline strong{color:var(--pd-brand);font-size:24px;vertical-align:middle;margin-left:6px;}

/* ---------- 2. 吸顶锚点导航 ---------- */
.pd-nav{background:#fff;border-bottom:1px solid var(--pd-line);}
.pd-nav .container{display:flex;align-items:center;justify-content:space-between;height:56px;}
.pd-nav ul{font-size:0;overflow:hidden;}
.pd-nav li{display:inline-block;vertical-align:middle;}
.pd-nav li a{
  display:block;font-size:15px;color:#444;line-height:56px;padding:0 22px;
  border-bottom:2px solid transparent;transition:all .25s;
}
.pd-nav li a:hover{color:var(--pd-brand);}
.pd-nav li.on a{color:var(--pd-brand);border-bottom-color:var(--pd-brand);font-weight:bold;}
.pd-nav .pd-nav-btn{
  display:block;height:36px;line-height:36px;padding:0 20px;font-size:14px;
  background:var(--pd-brand);color:#fff;transition:all .3s;
}
.pd-nav .pd-nav-btn:hover{background:var(--pd-brand-dark);color:#fff;}
.pd-nav.fixed{position:fixed;top:0;left:0;width:100%;z-index:60;box-shadow:0 2px 10px rgba(0,0,0,.08);animation:pdDrop .25s ease;}
@keyframes pdDrop{from{transform:translateY(-100%);}to{transform:translateY(0);}}

/* ---------- 3. 主体两栏（侧栏居左 290px，主内容居右） ---------- */
.pd-body{padding-top:30px;}
/* flexbox 强制约束：左栏固定 290px，主内容填满剩余；不依赖 DOM 顺序与 float */
.pd-body-grid{display:flex;flex-wrap:wrap;align-items:flex-start;}
.pd-side{flex:0 0 290px;width:290px;max-width:290px;margin-right:30px;}
.pd-main{flex:1;min-width:0;}
.pd-block{background:#fff;border:1px solid var(--pd-line);padding:30px;margin-bottom:30px;}
.pd-block-hd{margin:0 0 22px;border-bottom:2px solid var(--pd-line);line-height:24px;}
.pd-block-hd h2,.pd-block-hd h3{
  display:inline-block;margin:0;font-size:22px;font-weight:bold;color:#222;
  border-bottom:2px solid var(--pd-brand);padding-bottom:12px;margin-bottom:-2px;
}
.pd-block-hd em{float:right;font-size:13px;color:#aaa;font-style:normal;line-height:24px;}

/* ---------- 4. 正文排版增强（文字 + 表格 + 图片） ---------- */
.pd-content{font-size:15px;line-height:1.95;color:#3c3c3c;word-wrap:break-word;}
.pd-content p{margin:0 0 16px;}
.pd-content a{color:var(--pd-blue);text-decoration:underline;}
.pd-content a:hover{color:var(--pd-brand);}
.pd-content strong{color:#222;}
.pd-content h2,.pd-content h3,.pd-content h4{
  margin:34px 0 16px;color:#222;line-height:1.5;font-weight:bold;
  padding-left:14px;border-left:4px solid var(--pd-brand);
}
.pd-content h2:first-child,.pd-content h3:first-child{margin-top:0;}
.pd-content h2{font-size:21px;}
.pd-content h3{font-size:18px;}
.pd-content h4{font-size:16px;border-left-color:#bbb;}
.pd-content ul,.pd-content ol{margin:0 0 18px;padding-left:24px;}
.pd-content ul li{list-style:disc;line-height:1.9;margin-bottom:6px;}
.pd-content ol li{list-style:decimal;line-height:1.9;margin-bottom:6px;}
.pd-content blockquote{
  margin:20px 0;padding:14px 20px;background:var(--pd-soft);
  border-left:4px solid var(--pd-brand);color:#666;
}
.pd-content blockquote p:last-child{margin-bottom:0;}
.pd-content hr{border:0;border-top:1px dashed var(--pd-line);margin:28px 0;}
.pd-content img{
  display:block;max-width:100% !important;height:auto !important;
  margin:18px auto;border:1px solid var(--pd-line);cursor:zoom-in;transition:box-shadow .3s;
}
.pd-content img:hover{box-shadow:0 4px 18px rgba(0,0,0,.12);}
.pd-content figure{text-align:center;margin:20px 0;}
.pd-content figcaption{font-size:13px;color:#999;margin-top:8px;}

/* 表格：自动包裹 + 响应式横向滚动 */
.pd-table-wrap{
  width:100%;overflow-x:auto;margin:20px 0;
  -webkit-overflow-scrolling:touch;
}
.pd-content table,.pd-table-wrap table{
  width:100%;border-collapse:collapse;background:#fff;font-size:14px;line-height:1.8;
}
.pd-content table th,.pd-table-wrap table th,
.pd-content table td,.pd-table-wrap table td{
  border:1px solid var(--pd-line);padding:11px 14px;vertical-align:middle;
}
.pd-content table th,.pd-table-wrap table th{
  background:#f3f4f6;color:#222;font-weight:bold;text-align:center;white-space:nowrap;
}
.pd-content table thead th,.pd-table-wrap table thead th{
  background:var(--pd-dark);color:#fff;border-color:#3a3a3a;
}
.pd-content table tbody tr:nth-child(even),.pd-table-wrap table tbody tr:nth-child(even){background:#fbfbfb;}
.pd-content table tbody tr:hover,.pd-table-wrap table tbody tr:hover{background:#fdf2f2;}
.pd-content table td:first-child,.pd-table-wrap table td:first-child{text-align:center;color:#555;white-space:nowrap;}
.pd-content table td img,.pd-table-wrap table td img{margin:0;border:0;}
.pd-table-tip{
  display:none;font-size:12px;color:#aaa;margin:-12px 0 18px;
}
@media (max-width:767px){.pd-table-tip{display:block;}}

/* ---------- 5. 参数速览卡（侧栏，JS 自动生成） ---------- */
.pd-spec{border:1px solid var(--pd-line);background:#fff;margin-bottom:20px;}
.pd-spec-hd{
  background:var(--pd-dark);color:#fff;font-size:16px;line-height:46px;
  padding:0 18px;font-weight:bold;
}
.pd-spec-bd{padding:6px 18px 12px;}
.pd-spec-bd dl{margin:0;border-bottom:1px dashed var(--pd-line);padding:9px 0;font-size:0;}
.pd-spec-bd dl:last-child{border-bottom:0;}
.pd-spec-bd dt,.pd-spec-bd dd{display:inline-block;vertical-align:top;font-size:13px;line-height:1.7;}
.pd-spec-bd dt{width:42%;color:#999;}
.pd-spec-bd dd{width:58%;margin:0;color:#333;text-align:right;}

/* ---------- 6. 侧栏组件 ---------- */
.pd-widget{background:#fff;border:1px solid var(--pd-line);margin-bottom:20px;}
.pd-widget-hd{
  font-size:17px;font-weight:bold;color:#222;line-height:22px;
  padding:16px 18px;border-bottom:1px solid var(--pd-line);
  border-left:4px solid var(--pd-brand);
}
.pd-widget-bd{padding:14px 18px;}
.pd-cate li{border-bottom:1px dashed var(--pd-line);}
.pd-cate li:last-child{border-bottom:0;}
.pd-cate li a{
  display:block;font-size:15px;line-height:42px;color:#444;padding-left:14px;position:relative;transition:all .3s;
}
.pd-cate li a:before{
  content:'';position:absolute;left:0;top:50%;margin-top:-2px;
  width:4px;height:4px;background:#ccc;
}
.pd-cate li a:hover,.pd-cate li.on a{color:var(--pd-brand);padding-left:20px;}
.pd-cate li a:hover:before,.pd-cate li.on a:before{background:var(--pd-brand);}

.pd-rel li{margin-bottom:14px;}
.pd-rel li:last-child{margin-bottom:0;}
.pd-rel li a{display:block;overflow:hidden;}
/* v20260905d：侧栏同系列产品缩略图改 88×88 正方形（与列表基线一致） */
.pd-rel .img-cover{float:left;width:88px;padding-top:88px;}
.pd-rel .text{margin-left:100px;}
.pd-rel .text h5{margin:0;font-size:14px;font-weight:normal;line-height:1.5;color:#333;height:42px;overflow:hidden;}
.pd-rel .text p{margin:6px 0 0;font-size:12px;color:#aaa;}
.pd-rel li a:hover .text h5{color:var(--pd-brand);}

.pd-contact{background:var(--pd-dark);color:#fff;text-align:center;border:0;}
.pd-contact .pd-widget-hd{color:#fff;border-bottom-color:#3a3a3a;}
.pd-contact .tel{font-size:26px;color:var(--pd-brand);font-weight:bold;line-height:1.4;margin:8px 0;}
.pd-contact p{margin:6px 0;font-size:13px;color:#bbb;}
.pd-contact .qr{width:120px;margin:12px auto 0;background:#fff;padding:6px;}
.pd-contact .btn{
  display:block;margin-top:14px;line-height:40px;background:var(--pd-brand);color:#fff;font-size:15px;
}
.pd-contact .btn:hover{background:var(--pd-brand-dark);color:#fff;}

/* ---------- 7. 询价表单 ---------- */
.pd-form{margin-top:6px;}
.pd-form ul{margin:0 0 0 -20px;}
.pd-form li{float:left;width:50%;margin-bottom:16px;padding-left:20px;box-sizing:border-box;}
.pd-form li.full{width:100%;}
.pd-form label{display:block;font-size:14px;color:#555;margin-bottom:6px;}
.pd-form label i{color:var(--pd-brand);font-style:normal;margin-right:3px;}
.pd-form input[type=text],.pd-form input[type=tel],.pd-form input[type=email],.pd-form textarea{
  width:100%;box-sizing:border-box;border:1px solid #ddd;background:#fff;
  height:42px;line-height:40px;padding:0 12px;font-size:14px;color:#333;transition:border-color .3s;
}
.pd-form textarea{height:110px;line-height:1.7;padding:10px 12px;resize:vertical;}
.pd-form input:focus,.pd-form textarea:focus{border-color:var(--pd-brand);outline:0;}
.pd-form .code{display:flex;align-items:center;}
.pd-form .code input{flex:1;}
.pd-form .code img{margin-left:10px;height:40px;cursor:pointer;border:1px solid #ddd;}
.pd-form .submit{
  display:inline-block;min-width:180px;height:46px;line-height:46px;text-align:center;
  background:var(--pd-brand);color:#fff;font-size:16px;border:0;cursor:pointer;transition:all .3s;
}
.pd-form .submit:hover{background:var(--pd-brand-dark);}
.pd-form .tip{font-size:13px;color:#999;margin:12px 0 0;}
.pd-tips{
  margin:0;padding:16px 20px;background:#fffaf2;border:1px solid #ffe0c2;
  color:#0d5fa8;font-size:13px;line-height:1.9;
}

/* ---------- 8. 服务保障 ---------- */
.pd-promise{margin:0 0 -20px;}
.pd-promise li{float:left;width:25%;}
.pd-promise .wrap{margin:0 10px 20px;padding:20px 10px;text-align:center;background:#fff;border:1px solid var(--pd-line);transition:all .3s;}
.pd-promise .wrap:hover{border-color:var(--pd-brand);box-shadow:0 4px 16px rgba(0,0,0,.06);}
.pd-promise .num{font-size:26px;color:var(--pd-brand);font-weight:bold;line-height:1.2;}
.pd-promise .txt{font-size:14px;color:#666;margin-top:8px;}

/* ---------- 8.1 列表空状态 ---------- */
.pd-empty{padding:60px 20px;text-align:center;background:#fff;border:1px solid var(--pd-line);}
.pd-empty p{margin:0 0 20px;font-size:16px;color:#999;}
.pd-empty a{
  display:inline-block;height:42px;line-height:42px;padding:0 30px;
  background:var(--pd-brand);color:#fff;font-size:15px;
}
.pd-empty a:hover{background:var(--pd-brand-dark);color:#fff;}

/* ---------- 9. 相关产品（底部通栏） ---------- */
.pd-related .tit{font-size:24px;color:#222;margin:0 0 24px;font-weight:bold;border-left:6px solid var(--pd-brand);padding-left:14px;}

/* ---------- 10. 图片灯箱 ---------- */
.pd-lightbox{
  position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999;
  background:rgba(0,0,0,.88);display:none;
}
.pd-lightbox .lb-close{
  position:absolute;right:26px;top:20px;width:44px;height:44px;cursor:pointer;
  background:rgba(255,255,255,.08);border-radius:50%;
}
.pd-lightbox .lb-close:before,.pd-lightbox .lb-close:after{
  content:'';position:absolute;left:12px;top:21px;width:20px;height:2px;background:#fff;
}
.pd-lightbox .lb-close:before{transform:rotate(45deg);}
.pd-lightbox .lb-close:after{transform:rotate(-45deg);}
.pd-lightbox .lb-inner{
  display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:60px;box-sizing:border-box;
}
.pd-lightbox img{max-width:100%;max-height:100%;box-shadow:0 0 40px rgba(0,0,0,.6);}
.pd-lightbox .lb-cap{position:absolute;bottom:40px;left:0;width:100%;text-align:center;color:#ddd;font-size:14px;}
.pd-lightbox .lb-nav{
  position:absolute;top:50%;margin-top:-30px;width:60px;height:60px;line-height:60px;
  text-align:center;color:#fff;font-size:38px;cursor:pointer;background:rgba(255,255,255,.08);
}
.pd-lightbox .lb-prev{left:20px;}
.pd-lightbox .lb-next{right:20px;}

/* ---------- 12. 栏目 banner 优化（浅色设计图适配） ---------- */
.banner-sub{height:360px;font-size:30px;text-shadow:0 0 10px rgba(255,255,255,.75),0 1px 0 rgba(255,255,255,.6);color:#2e2e2e;}
.banner-sub .inner{padding-top:20px;}

/* ---------- 13. 关于我们 CTA 按钮（原模板按钮固定 236px 导致换行） ---------- */
.about-2 .text a,.in-desc .text a{
  background:none;width:auto;padding:0 30px;line-height:46px;
  border:1px solid rgba(255,255,255,.85);white-space:nowrap;font-size:16px;transition:all .3s;
}
.about-2 .text a:hover,.in-desc .text a:hover{background:#fff;color:var(--pd-brand);}
@media screen and (max-width:767px){
  .about-2 .text a,.in-desc .text a{white-space:normal;line-height:1.8;padding:10px 18px;}
}

/* ---------- 11. 移动端适配 ---------- */
@media screen and (max-width:1200px){
  /* 移动端：两栏上下堆叠（侧栏在上、主内容在下） */
  .pd-body-grid{flex-direction:column;}
  .pd-side{flex:0 0 100%;width:100%;max-width:100%;margin-right:0;margin-bottom:30px;}
  .pd-main{flex:0 0 100%;width:100%;max-width:100%;}
  .pd-gallery{float:none;width:auto;}
  .pd-info{margin-left:0;margin-top:24px;min-height:0;}
}
@media screen and (max-width:767px){
  .pd-hero{padding:16px;margin-bottom:16px;}
  .pd-stage{height:auto;line-height:normal;padding:10px;}
  .pd-info h1{font-size:22px;}
  .pd-meta li{width:100%;}
  .pd-actions a{width:100%;text-align:center;margin:0 0 10px;padding:0;}
  .pd-block{padding:18px;margin-bottom:16px;}
  .pd-nav .container{height:48px;overflow-x:auto;}
  .pd-nav ul{white-space:nowrap;}
  .pd-nav li a{padding:0 14px;line-height:48px;font-size:14px;}
  .pd-nav .pd-nav-btn{display:none;}
  .pd-promise li{width:50%;}
  .pd-form li{width:100%;}
  .pd-content{font-size:15px;}
}
