/* =========================================================
   商品详情页 主流电商（京东）风格 精修覆盖
   在已有 ProductShow v3 布局基础上打磨细节，不改业务逻辑
   ========================================================= */

/* ---- 页面底色与卡片统一 ---- */
body{ background:#f4f4f4; }
.pd-stage,.pd-content,.pd-buy{
  border:1px solid #ececec;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

/* ---- 缩略图列：翻页箭头默认隐藏（无需滚动时），按需由 JS 加 .can-scroll 显示 ---- */
.pd-stage .pic_small .bt_before,
.pd-stage .pic_small .bt_next{
  display:none !important;
  width:90px !important;
  height:20px !important;
  line-height:18px !important;
  color:#999 !important;
  background:#fafafa !important;
  border:1px solid #ececec !important;
  border-radius:4px !important;
  font-size:12px !important;
  text-align:center !important;
  padding:0 !important;
  margin:0 0 4px !important;
  cursor:pointer;
}
.pd-stage .pic_small .bt_next{ margin:4px 0 0 !important; }
.pd-stage .pic_small.can-scroll .bt_before,
.pd-stage .pic_small.can-scroll .bt_next{ display:block !important; }
.pd-stage .pic_small .bt_before:hover,
.pd-stage .pic_small .bt_next:hover{ color:#e4393c !important; border-color:#f0c0c0 !important; background:#fff5f5 !important; }

/* ---- 规格（颜色/包装）选项卡：自适应等宽、文字完整可换行不裁切 ---- */
.pd-buy li.color-zone ul.list_condition{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr)) !important;
  gap:8px !important;
}
/* wide desktop (>=1201): buy card fixed 600 -> exactly 3 equal option columns; <=1200 keeps auto-fill responsive 2/1 */
@media (min-width:1201px){
  .pd-buy li.color-zone ul.list_condition{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
.pd-buy li.color-zone ul.list_condition li{
  flex:none !important;
  width:auto !important;
}
.pd-buy li.color-zone ul.list_condition li a{
  width:100% !important;
  box-sizing:border-box !important;
  min-height:52px !important;
  padding:6px 8px !important;
  align-items:center !important;
  overflow:hidden !important;
}
.pd-buy li.color-zone ul.list_condition li a img{
  width:40px !important; height:40px !important; flex:0 0 40px !important;
}
.pd-buy li.color-zone ul.list_condition li a span,
.pd-buy li.color-zone ul.list_condition li a .span{
  white-space:normal !important;
  text-overflow:clip !important;
  line-height:1.2 !important;
  font-size:12px !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
  word-break:break-all !important;
}
.pd-buy ul.list_condition li.status_on a,
.pd-buy ul.list_condition li a:hover{
  border-color:#e4393c !important;
  box-shadow:0 0 0 1px #e4393c inset !important;
}

/* 包装规格（纯文字胶囊，若有数据） */
.pd-buy li.pack-zone ul.list_condition{
  display:flex !important; flex-wrap:wrap !important; gap:8px !important;
}
.pd-buy li.pack-zone ul.list_condition li{ flex:0 0 auto !important; width:auto !important; }
.pd-buy li.pack-zone ul.list_condition li a{
  width:auto !important; min-width:0 !important; min-height:34px !important;
  padding:6px 18px !important; justify-content:center !important;
}
.pd-buy li.pack-zone ul.list_condition li a .span{ white-space:nowrap !important; }

/* ---- 价格行右侧（累计评价等）不被裁切 ---- */
.pd-buy .pd-price-tools{ flex:0 0 auto; gap:14px; }
.pd-buy .pd-price-tools a,
.pd-buy .pd-price-tools span{ white-space:nowrap; }
.pd-buy ul#goods_detail_mate li.item_icson .pd-price-tools{ position:static !important; margin-left:12px !important; }

/* ---- 购买按钮：加入购物车红、立即购买红，统一圆角与高度 ---- */
.pd-buy .wrap_btn{ gap:10px; }
.pd-buy .wrap_btn .btn_cart,
.pd-buy .wrap_btn .btn_buynow{
  height:46px; line-height:46px; border-radius:6px; font-size:16px; font-weight:700;
}
.pd-buy .wrap_btn .btn_cart{ background:#e1251b; }
.pd-buy .wrap_btn .btn_cart:hover{ background:#c81e16; }
.pd-buy .wrap_btn .btn_buynow{ background:#ff7e00; }
.pd-buy .wrap_btn .btn_buynow:hover{ background:#f06f00; }

/* ---- 数量框圆角统一 ---- */
.pd-buy .number_box{ border-radius:4px !important; }

/* ---- 外层 Tab 吸顶与卡片衔接 ---- */
.pd-outer-tabs{ border-radius:10px 10px 0 0; }

/* ---- 右侧悬浮工具栏精修 ---- */
.side_bar a, #sider_toolbar a, .jd-side-tool a{ border-radius:6px; }

/* =========================================================
   「推荐」Tab：最近浏览 / 相关分类 / 同类品牌 主流电商重构
   ========================================================= */
#pd-pane-recommend .mod_aider{
  background:#fff; border:1px solid #ececec; border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.04); padding:16px 18px; margin-bottom:16px;
}
#pd-pane-recommend .mod_aider .hd{ margin-bottom:14px; }
#pd-pane-recommend .mod_aider .hd h3{ font-size:16px; font-weight:700; color:#333; }
#pd-pane-recommend .mod_aider .hd h3::before{
  content:""; display:inline-block; width:4px; height:16px; background:#e4393c;
  border-radius:2px; margin-right:8px; vertical-align:-2px;
}

/* ---- 最近浏览过的：统一商品网格卡 ---- */
#recent ul.list_goods{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:12px !important;
}
@media (max-width:760px){
  #recent ul.list_goods{ grid-template-columns:repeat(2,1fr) !important; }
}
#recent ul.list_goods li{
  background:#fff; border:1px solid #e3e3e3 !important; border-radius:8px; padding:12px 10px;
  display:flex !important; flex-direction:column !important;
  transition:transform .18s,box-shadow .18s,border-color .18s;
}
#recent ul.list_goods li:hover{
  transform:translateY(-3px); border:1px solid #f5c6c6 !important; box-shadow:0 8px 20px rgba(228,57,60,.14);
}
#recent ul.list_goods li a.img{
  display:flex !important; align-items:center; justify-content:center;
  width:100% !important; height:132px !important; flex:0 0 132px !important;
  margin-bottom:8px; overflow:hidden;
}
#recent ul.list_goods li a.img img{
  width:auto !important; height:120px !important; max-width:100%; object-fit:contain;
  transition:transform .2s;
}
#recent ul.list_goods li:hover a.img img{ transform:scale(1.05); }
#recent ul.list_goods li .link_info{ display:flex !important; flex-direction:column !important; padding-left:0 !important; }
#recent ul.list_goods li .link_info>a{ display:block; }
#recent ul.list_goods li .name{
  font-size:13px; color:#333; font-weight:400; line-height:1.3;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  margin-bottom:6px;
}
#recent ul.list_goods li a:hover .name{ color:#e4393c; }
#recent ul.list_goods li .price{ color:#e4393c; font-size:17px; font-weight:700; }

/* ---- 最近浏览卡片：震坤行风格（图/名/编码/现结价 + 收藏·加购·对比） ---- */
#recent ul.list_goods li.rc-card{
  padding:12px 12px 10px !important;
  border:1px solid #e3e3e3 !important; border-radius:6px !important;
  background:#fff; display:flex !important; flex-direction:column !important;
  position:relative; transition:box-shadow .18s,border-color .18s,transform .18s;
}
#recent ul.list_goods li.rc-card:hover{
  border-color:#e4393c !important; box-shadow:0 6px 18px rgba(0,0,0,.10); transform:translateY(-2px);
}
#recent ul.list_goods li.rc-card .rc-img{
  display:block; height:140px; line-height:140px; text-align:center; margin-bottom:8px;
}
#recent ul.list_goods li.rc-card .rc-img img{
  width:auto; max-width:100%; height:130px; vertical-align:middle; object-fit:contain;
}
#recent ul.list_goods li.rc-card .rc-name{
  font-size:13px; color:#333; line-height:1.35; font-weight:400;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  min-height:35px; margin-bottom:6px;
}
#recent ul.list_goods li.rc-card .rc-name:hover{ color:#e4393c; }
#recent ul.list_goods li.rc-card .rc-code{ font-size:12px; color:#888; margin-bottom:4px; }
#recent ul.list_goods li.rc-card .rc-price{ margin-bottom:10px; display:flex; align-items:baseline; }
#recent ul.list_goods li.rc-card .rc-pl{ font-size:12px; color:#666; }
#recent ul.list_goods li.rc-card .rc-pv{ color:#e4393c; font-size:18px; font-weight:700; }
#recent ul.list_goods li.rc-card .rc-btns{ margin-top:auto; display:flex; align-items:center; gap:6px; }
#recent ul.list_goods li.rc-card .rc-btn{
  height:30px; border-radius:4px; font-size:12px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  padding:0 8px; border:1px solid #e4393c; background:#fff; color:#e4393c;
  transition:background .15s,color .15s;
}
#recent ul.list_goods li.rc-card .rc-fav{ flex:0 0 34px; width:34px; padding:0; }
#recent ul.list_goods li.rc-card .rc-fav svg{ display:block; }
#recent ul.list_goods li.rc-card .rc-fav.active svg path{ fill:#e4393c; }
#recent ul.list_goods li.rc-card .rc-add{ flex:1 1 auto; background:#e4393c; color:#fff; }
#recent ul.list_goods li.rc-card .rc-add:hover{ background:#d32f32; }
#recent ul.list_goods li.rc-card .rc-cmp{ flex:0 0 46px; }
#recent ul.list_goods li.rc-card .rc-cmp:hover{ background:#fdecec; }

/* ---- 相关分类：胶囊标签 ---- */
#c3id_same ul.cate-capsules{ display:flex; flex-wrap:wrap; gap:12px; }
#c3id_same ul.cate-capsules li{
  list-style:none; height:auto !important; min-height:0 !important;
  line-height:normal !important; overflow:visible !important;
}
#c3id_same ul.cate-capsules a{
  display:inline-block; padding:7px 22px; background:#f7f7f7;
  border:1px solid #e8e8e8; border-radius:18px; color:#666; font-size:13px; transition:all .15s;
}
#c3id_same ul.cate-capsules a:hover{ background:#fff5f5; border-color:#e4393c; color:#e4393c; }

/* ---- 同类品牌：品牌 logo 墙（图片为主，失败回退文字） ---- */
#cmd_manu ul.brand-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(172px,1fr)) !important;
  grid-auto-rows:minmax(96px,auto) !important;
  gap:10px !important;
}
#cmd_manu ul.brand-grid li.brand-item{
  list-style:none; height:auto !important; min-height:0 !important;
  line-height:normal !important; overflow:visible !important;
}
#cmd_manu ul.brand-grid .brand-card{
  display:flex !important; flex-direction:column; align-items:center; justify-content:center;
  height:96px; background:#fff; border:1px solid #ececec; border-radius:8px;
  padding:10px; overflow:hidden; transition:all .16s;
}
#cmd_manu ul.brand-grid .brand-card:hover{
  border-color:#e4393c; box-shadow:0 6px 16px rgba(228,57,60,.13); transform:translateY(-2px);
}
#cmd_manu ul.brand-grid .brand-logo{
  display:flex !important; align-items:center; justify-content:center;
  width:100%; flex:1 1 auto; min-height:0;
}
#cmd_manu ul.brand-grid .brand-initial{ display:none !important; }
#cmd_manu ul.brand-grid .brand-img{
  display:block !important; width:auto !important; height:auto !important;
  max-width:92% !important; max-height:66px !important; object-fit:contain; border-radius:0;
}
#cmd_manu ul.brand-grid .brand-name{ display:none; }
/* logo 加载失败（JS 加 .no-logo）回退为文字品牌名 */
#cmd_manu ul.brand-grid .brand-card.no-logo .brand-logo{ display:none !important; }
#cmd_manu ul.brand-grid .brand-card.no-logo .brand-name{
  display:block !important; font-size:14px; color:#333; font-weight:500;
  text-align:center; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
}
#cmd_manu ul.brand-grid .brand-card.no-logo:hover .brand-name{ color:#e4393c; }

/* =====================================================================
   大家评 / 售后保障 —— 主流电商风格重构
   ===================================================================== */

/* 售后顶部服务说明条 */
#pd-pane-service .pd-service-note{
  background:#f2f8ff; border:1px solid #dcecff; border-radius:8px;
  padding:12px 16px 12px 42px; color:#4a6a8a; font-size:13px; line-height:1.65; margin:0 0 16px;
  position:relative;
}
#pd-pane-service .pd-service-note::before{
  content:"i"; position:absolute; left:14px; top:13px; width:19px; height:19px; border-radius:50%;
  background:#316ac5; color:#fff; font-size:13px; font-weight:700; font-style:italic;
  text-align:center; line-height:19px;
}

/* 评论 / 咨询卡片统一 */
#review_box.mod_goods_info,
#asking_box.mod_goods_info{
  background:#fff; border:1px solid #ececec; border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.04); overflow:hidden; margin:0 0 16px;
}
/* 无咨询数据时也展示咨询框架（与主流电商一致） */
#asking_box.asking_box{ display:block !important; }

/* 子标签 header：横向 tab */
#review_header.hd,
#asking_header.hd{
  display:flex !important; align-items:center; gap:2px; list-style:none;
  border-bottom:1px solid #ececec; padding:0 12px; margin:0; background:#fafafa;
}
#review_header.hd li,
#asking_header.hd li{ list-style:none; margin:0; padding:0; border:none; background:none; }
#review_header.hd li h3,
#asking_header.hd li h3{ margin:0; font-size:14px; font-weight:400; background:transparent !important; border:0 !important; }
#review_header.hd li a,
#asking_header.hd li a{
  display:block; padding:13px 18px; color:#666; font-size:14px; position:relative;
  border:none; background:none; transition:color .15s;
}
#review_header.hd li a:hover,
#asking_header.hd li a:hover{ color:#e4393c; }
#review_header.hd li.status_on a,
#asking_header.hd li.status_on a{ color:#e4393c; font-weight:700; }
#review_header.hd li.status_on a::after,
#asking_header.hd li.status_on a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:3px;
  background:#e4393c; border-radius:2px 2px 0 0;
}

/* 内容区 */
#review_content.bd,
#asking_content.bd{ padding:0; background:#fff; }

/* 发表按钮（右侧胶囊） */
#review_content .more,
#asking_content .more{ display:flex; justify-content:flex-end; padding:14px 16px 2px; }
#review_content .more a,
#asking_content .more a{
  display:inline-flex; align-items:center; padding:7px 18px; border-radius:18px;
  border:1px solid #e4393c; color:#e4393c; background:#fff; font-size:13px; transition:all .15s;
}
#review_content .more a:hover,
#asking_content .more a:hover{ background:#e4393c; color:#fff; box-shadow:0 3px 10px rgba(228,57,60,.25); }

/* 咨询提示条 */
#asking_content .comment_tips{
  margin:12px 16px 2px; padding:10px 14px; background:#fffbe6; border:1px solid #ffe9a8;
  border-radius:8px; color:#8a6d3b; font-size:12.5px; line-height:1.65;
}
#asking_content .comment_tips .tit{ color:#b8860b; font-weight:700; margin-right:4px; }

/* 评论 / 咨询列表 */
.comment_all{ padding:8px 16px 16px; }
.comment_all .content{ min-height:56px; }
ul.list_comment, ul.list_refer{ list-style:none; margin:0; padding:0; }
/* 原始空态 .tips_cont 主流化：居中、灰字、图标 */
.comment_all .tips_cont{
  display:flex !important; flex-direction:column; align-items:center; justify-content:center;
  padding:46px 0 38px; text-align:center;
}
.comment_all .tips_cont p{ margin:0; }
.comment_all .tips_cont strong.strong{
  color:#999 !important; font-size:13px !important; font-weight:400 !important;
}
ul.list_comment .tips_cont::before,
ul.list_refer .tips_cont::before{
  content:""; width:56px; height:56px; flex:0 0 56px; margin-bottom:14px;
  background-position:center; background-size:contain; background-repeat:no-repeat;
}
ul.list_comment .tips_cont::before{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 48 48'><path d='M40 4H8C5.8 4 4 5.8 4 8v36l8-8h28c2.2 0 4-1.8 4-4V8c0-2.2-1.8-4-4-4z' fill='%23e0e0e0'/><circle cx='16' cy='24' r='3' fill='%23bdbdbd'/><circle cx='24' cy='24' r='3' fill='%23bdbdbd'/><circle cx='32' cy='24' r='3' fill='%23bdbdbd'/></svg>");
}
ul.list_refer .tips_cont::before{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 48 48'><circle cx='24' cy='24' r='20' fill='%23e0e0e0'/><path d='M24 13c3.3 0 6 2.2 6 5.3 0 2.2-1.4 3.6-2.8 4.5-1.1.7-1.5 1.2-1.5 2.4v.6h-3.4v-.9c0-1.9.9-2.9 2.2-3.8 1.1-.7 2-1.3 2-2.6 0-1.3-1-2.1-2.5-2.1-1.5 0-2.5.8-2.7 2.2h-3.4C18.2 15 20.7 13 24 13z' fill='%23ffffff'/><circle cx='24' cy='33' r='2' fill='%23ffffff'/></svg>");
}
.page_wrap{ padding:10px 0 2px; }

/* 特别声明卡片 */
#pd-pane-service .id_state{
  background:#fffdf5; border:1px solid #f3e6c0; border-radius:10px; padding:16px 18px;
}
#pd-pane-service .id_state .hd{
  background:transparent !important; border:0 !important; padding:0 0 8px;
}
#pd-pane-service .id_state .hd h3{
  font-size:15px; color:#8a6d3b; font-weight:700; margin:0;
}
#pd-pane-service .id_state .hd h3::before{
  content:"!"; display:inline-flex; width:19px; height:19px; border-radius:50%; background:#e6a23c;
  color:#fff; font-size:13px; font-weight:700; align-items:center; justify-content:center; margin-right:8px; vertical-align:-3px;
}
#pd-pane-service .id_state .state_cont{
  color:#7a5c2e; font-size:13px; line-height:1.85; margin:10px 0 0; background:none;
}

/* ========== 商品详情 Tab 内层重构 ========== */
#introduction{ background:#fff; border:1px solid #f0f0f0; border-radius:10px; padding:18px 20px; }
/* 内层子标签：简洁文字 tab */
#introduction ul.hd{
  display:flex; flex-wrap:wrap; gap:0; list-style:none; margin:0 0 18px; padding:0;
  background:transparent !important; border:0 !important; border-bottom:1px solid #eee;
}
#introduction ul.hd li{
  background:transparent !important; border:0 !important; margin:0; padding:0; float:none; position:relative;
}
#introduction ul.hd li h3{
  margin:0; font-size:14px; font-weight:400; background:transparent !important; border:0 !important;
}
#introduction ul.hd li h3 a{
  display:inline-block; padding:10px 18px; color:#666; font-size:14px; line-height:1.4;
  background:transparent !important; border:0 !important; border-radius:0;
}
#introduction ul.hd li h3 a:hover{ color:#e4393c; }
#introduction ul.hd li.status_on h3 a{ color:#e4393c; font-weight:700; }
#introduction ul.hd li.status_on::after{
  content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:2px; background:#e4393c; border-radius:1px;
}
/* 内容面板 */
#introduction .intro-main{ border:0; padding:0; background:transparent; }
#introduction .intro-main p{ margin:0 0 12px; color:#555; font-size:13px; line-height:1.8; }
#introduction .intro-main p img, #introduction .intro-main img{ max-width:100%; height:auto; border-radius:6px; }
/* 参数网格 */
#introduction .bd .intro-main ul.detail-list{
  list-style:none; margin:0 0 16px; padding:14px 18px !important; background:#fafafa !important;
  border:1px solid #f0f0f0 !important; border-radius:8px; display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 24px; overflow:visible !important; zoom:1;
}
#introduction .bd .intro-main ul.detail-list li{
  margin:0 !important; padding:0 !important; font-size:13px; line-height:1.6; background:transparent;
  border:0 !important; display:flex !important; align-items:baseline; gap:4px; float:none !important;
  width:auto !important; white-space:normal !important; height:auto !important;
  overflow:visible !important; text-overflow:clip !important;
}
#introduction .bd #c_introduce > ul.detail-list li:first-child{ grid-column:1 / -1; }
#introduction .bd .intro-main ul.detail-list li .dl-key{ color:#999; flex:0 0 auto; }
#introduction .bd .intro-main ul.detail-list li .dl-val{ color:#333; font-weight:500; word-break:break-all; }
/* 商品简介 / 商品特性 标题 */
#introduction .mod_detail_info{ margin:20px 0 0; }
#introduction .mod_detail_info .mod_hd{
  display:flex; align-items:center; margin:0 0 12px; padding:0; background:transparent; border:0;
}
#introduction .mod_detail_info .mod_hd h3{
  margin:0; font-size:12px; font-weight:400; color:#999; display:flex; align-items:center; flex-wrap:wrap;
}
#introduction .mod_detail_info .mod_hd h3 .tit{
  font-size:15px; font-weight:700; color:#333; margin-right:10px; position:relative; padding-left:11px;
}
#introduction .mod_detail_info .mod_hd h3 .tit::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:4px; height:15px; border-radius:2px; background:#e4393c;
}
#introduction .mod_detail_info .mod_hd i.line{ display:none; }
#introduction .mod_detail_info .mod_bd{ color:#555; font-size:13px; line-height:1.8; }
#introduction .mod_detail_info .mod_bd p{ margin:0 0 10px; }
#introduction .mod_detail_info .mod_bd img{ max-width:100%; height:auto; border-radius:6px; }

/* ===== 大图下方“PK 商品对比”入口（与图片/视频同一行，排在图片左侧） ===== */
.gallery-compare-entry{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;vertical-align:top;
  height:28px;padding:0 12px;margin:0 8px 0 0;box-sizing:border-box;
  background:#fafafa;border:0;border-radius:4px;
  color:#e1251b;font-size:13px;cursor:pointer;text-decoration:none;user-select:none;
}
.gallery-compare-entry .gce-pk{font-weight:800;font-style:italic;color:#e1251b;font-size:14px;letter-spacing:.5px;}
.gallery-compare-entry .gce-txt{color:#333;}
.gallery-compare-entry .gce-arrow{color:#999;font-size:17px;line-height:1;margin-left:2px;transition:transform .15s;}
.gallery-compare-entry:hover{background:#fff5f5;}
.gallery-compare-entry:hover .gce-txt{color:#e1251b;}
.gallery-compare-entry:hover .gce-arrow{color:#e1251b;transform:translateX(2px);}
/* PK 对比入口独立条：定位在大图正下方左侧，不受 goodsVideoTab（有视频才显示）影响 */
.gallery-compare-bar{
  position:absolute;top:726px;left:0;width:720px;height:28px;z-index:68;
  text-align:center;line-height:28px;white-space:nowrap;
}
.gallery-compare-bar .gallery-compare-entry{margin:0;}

/* ===== 详情页隐藏右侧“回顶部”按钮（保留代码，仅隐藏） ===== */
#backtop.backtop{ display:none !important; }

/* ===== 详情页隐藏“管家询价”模块（保留代码，仅隐藏） ===== */
.jd-steward{ display:none !important; }

/* ===== 缩略图列“规格参数”卡片：图标在上、文字在下，垂直居中 ===== */
.pic_small #specThumbLi > a,
.pic_small #list_smallpic #specThumbLi a{
 display:flex !important;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 text-align:center;
}
.pic_small #specThumbLi > a > span:first-child{ margin:0 0 4px; }
.pic_small #specThumbLi > a > span:last-child{
 line-height:1.2 !important;
 white-space:nowrap;
 font-size:12px;
}

/* ===== 精美图片相册：左侧缩略图列 + 主图左右切换 ===== */
.pic-album{
 display:flex; gap:14px; align-items:stretch;
 background:#fff; border:1px solid #f0f0f0; border-radius:8px; padding:16px;
 box-sizing:border-box;
}
.pa-thumbs{
 flex:0 0 84px; display:flex; flex-direction:column; gap:8px;
 overflow-y:auto; max-height:520px; padding-right:4px;
}
.pa-thumbs::-webkit-scrollbar{width:6px;}
.pa-thumbs::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px;}
.pa-thumb{
 width:80px; height:80px; object-fit:cover; flex:0 0 auto;
 border:1px solid #e5e5e5; border-radius:6px; cursor:pointer; background:#fafafa;
 transition:border-color .15s, box-shadow .15s;
}
.pa-thumb:hover{border-color:#bbb;}
.pa-thumb.active{border-color:#e1251b; box-shadow:0 0 0 1px #e1251b;}
.pa-stage{
 flex:1; position:relative; display:flex; align-items:center; justify-content:center;
 background:#f7f7f7; border-radius:6px; min-height:480px; overflow:hidden;
}
.pa-mainwrap{display:flex; align-items:center; justify-content:center; width:100%; height:100%;}
.pa-main{max-width:100%; max-height:500px; object-fit:contain;}
.pa-nav{
 position:absolute; top:50%; transform:translateY(-50%);
 width:40px; height:60px; border:0; background:rgba(0,0,0,.32);
 color:#fff; font-size:32px; line-height:1; cursor:pointer; border-radius:6px;
 display:flex; align-items:center; justify-content:center; z-index:2;
 transition:background .15s;
}
.pa-nav:hover{background:rgba(0,0,0,.55);}
.pa-prev{left:10px;}
.pa-next{right:10px;}
.pa-count{
 position:absolute; right:14px; bottom:12px;
 background:rgba(0,0,0,.45); color:#fff; font-size:12px;
 padding:3px 10px; border-radius:12px; z-index:2;
}

/* ===== 相册灯箱（点击主图全屏放大） ===== */
.pa-lightbox{
 position:fixed; inset:0; background:rgba(0,0,0,.88); z-index:100000;
 display:flex; align-items:center; justify-content:center;
 animation:paFade .18s ease;
}
@keyframes paFade{from{opacity:0;}to{opacity:1;}}
.pa-lb-img{max-width:84vw; max-height:84vh; object-fit:contain; box-shadow:0 8px 40px rgba(0,0,0,.5);}
.pa-lb-nav{
 position:absolute; top:50%; transform:translateY(-50%);
 width:54px; height:80px; border:0; background:rgba(255,255,255,.12);
 color:#fff; font-size:48px; line-height:1; cursor:pointer; border-radius:8px;
 display:flex; align-items:center; justify-content:center; transition:background .15s;
}
.pa-lb-nav:hover{background:rgba(255,255,255,.26);}
.pa-lb-prev{left:24px;}
.pa-lb-next{right:24px;}
.pa-lb-close{
 position:absolute; top:20px; right:28px; width:44px; height:44px;
 border:0; background:rgba(255,255,255,.12); color:#fff;
 font-size:28px; line-height:1; cursor:pointer; border-radius:50%;
 display:flex; align-items:center; justify-content:center; transition:background .15s;
}
.pa-lb-close:hover{background:rgba(255,255,255,.26);}
.pa-lb-count{position:absolute; bottom:26px; left:50%; transform:translateX(-50%); color:#ddd; font-size:14px;}

/* ===== 售后服务兜底内容 ===== */
.warranty-box{padding:8px 4px;color:#333;}
.wb-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px;}
.wb-card{
 display:flex;flex-direction:column;align-items:center;text-align:center;
 background:#fafafa;border:1px solid #f0f0f0;border-radius:8px;padding:18px 10px;
}
.wb-ico{font-size:30px;line-height:1;margin-bottom:8px;}
.wb-t{font-size:15px;font-weight:600;color:#e1251b;margin-bottom:4px;}
.wb-d{font-size:12px;color:#888;}
.wb-detail h4{font-size:16px;font-weight:600;margin:0 0 12px;padding-left:10px;border-left:3px solid #e1251b;}
.wb-detail ul{list-style:none;margin:0;padding:0;}
.wb-detail li{
 font-size:13px;line-height:1.9;color:#555;
 padding:8px 0;border-bottom:1px dashed #eee;
}
.wb-detail li b{color:#333;font-weight:600;margin-right:4px;}
.wb-tip{
 margin-top:14px;font-size:12px;color:#999;line-height:1.7;
 background:#fff8e6;border:1px solid #ffe6a8;border-radius:6px;padding:10px 14px;
}
@media (max-width:900px){.wb-cards{grid-template-columns:repeat(2,1fr);}}
/* ===== 2880宽屏（实际视口1280-1599档 wrap_1280=1225）：详情页紧凑布局，左大图保持720 ===== */
/* 右购买卡收窄至373、规格2列、标签列压窄，释放宽度给左侧大图；缩略图列左移，PK对比条回大图正下方，详情下段与图片区同宽 */
body.wrap_1280 .pd-right{flex:0 0 373px !important;width:373px !important;max-width:373px !important;}
body.wrap_1280 .pd-buy{padding-left:10px !important;padding-right:10px !important;}
body.wrap_1280 .pd-buy li.color-zone ul.list_condition{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
/* 选项卡左右撑满：清除遗留 a 的右侧6px外边距，使两列卡片贴齐左右内边距、卡片更宽；收紧内边距/间距/小图，为文字多腾出约一个汉字宽度 */
body.wrap_1280 .pd-buy li.color-zone ul.list_condition li a{margin-right:0 !important;margin-left:0 !important;padding:6px 5px !important;gap:4px !important;}
body.wrap_1280 .pd-buy li.color-zone>.t,
body.wrap_1280 .pd-buy li.pack-zone>.t,
body.wrap_1280 .pd-buy li.qty-zone>.t{flex:0 0 40px !important;width:40px !important;min-width:40px !important;margin-right:5px !important;}
body.wrap_1280 .pd-buy li.color-zone ul.list_condition li a img{width:34px !important;height:34px !important;flex:0 0 34px !important;}
body.wrap_1280 .pd-buy li.color-zone ul.list_condition li a span,
body.wrap_1280 .pd-buy li.color-zone ul.list_condition li a .span{flex:1 1 auto !important;min-width:0 !important;}
/* 图片区：去掉 -29px 负外边距使缩略图列左移对齐卡片内边距，大图720居中 */
body.wrap_1280 .pd-stage #imageViewerFrame.gallery{margin-right:0 !important;}
/* 缩略图列固定：首屏 CSS 的 left 即 JS positionGallery 最终值（1225档=-90px、1600档=-164px），
   避免刷新时先按默认 -160px 渲染、再向左闪动约70px后才归位 */
body.wrap_1280 .pd-stage #pic_small_wrapper.pic_small,
body.wrap_1280 .pd-stage .pic_small{left:-96.5px !important;}
body.wrap_1600 .pd-stage #pic_small_wrapper.pic_small,
body.wrap_1600 .pd-stage .pic_small{left:-164px !important;}
/* 缩略图列纵向固定：上下箭头绝对定位到固定的24px预留区（首屏即显示），列表填充中间，
   避免刷新时箭头先隐藏、约700ms后才出现把整列小图向下推约24px的闪动 */
body.wrap_1280 .pd-stage .pic_small,
body.wrap_1600 .pd-stage .pic_small{box-sizing:border-box !important;padding-top:24px !important;padding-bottom:24px !important;}
body.wrap_1280 .pd-stage .pic_small .bt_before,
body.wrap_1600 .pd-stage .pic_small .bt_before{display:block !important;position:absolute !important;top:0 !important;left:0 !important;margin:0 !important;}
body.wrap_1280 .pd-stage .pic_small .bt_next,
body.wrap_1600 .pd-stage .pic_small .bt_next{display:block !important;position:absolute !important;bottom:0 !important;top:auto !important;left:0 !important;margin:0 !important;}
body.wrap_1280 .pd-stage #list_smallpic,
body.wrap_1600 .pd-stage #list_smallpic{flex:1 1 auto !important;min-height:0 !important;}
/* 商品详情下段：与上方图片区同宽，左右内边距收窄到12px，内容横向铺开 */
body.wrap_1280 .pd-pane{padding-left:12px !important;padding-right:12px !important;}
/* 商品描述图文：去掉编辑器遗留的多层20px横向内边距，填满最大宽度；覆盖内联固定高、按比例缩放不左右变形 */
body.wrap_1280 .pd-pane #introduction{padding-left:0 !important;padding-right:0 !important;}
body.wrap_1280 .pd-pane #c_introduce{padding-left:0 !important;padding-right:0 !important;}
body.wrap_1280 #introduction .intro-main,
body.wrap_1280 #introduction .mod_detail_info,
body.wrap_1280 #introduction .mod_detail_info .mod_bd{width:100% !important;max-width:100% !important;}
body.wrap_1280 #introduction .mod_detail_info .mod_bd img{display:block !important;width:100% !important;max-width:100% !important;height:auto !important;min-height:0 !important;object-fit:contain !important;}