/* ===== 歌音科技 · 渠道订货中心专用样式（仅 mall/ 两个页面引入，不影响官网其它页面） ===== */
:root{
  --sh-red:#e1251b;          /* 价格红（京东风） */
  --sh-red-d:#c11f16;
  --sh-orange:#ff6a00;
  --sh-line:#ececec;
  --sh-line2:#e0e0e0;
  --sh-gray:#f7f8fa;
  --sh-txt:#1f2329;
  --sh-sub:#8c8c8c;
}

/* —— 搜索 + 购物车条 —— */
.sh-head{background:#fff;border-bottom:1px solid var(--sh-line);}
.sh-head .in{max-width:var(--maxw);margin:0 auto;padding:16px 18px;display:flex;align-items:center;gap:14px;}
.sh-logo{display:flex;align-items:center;gap:9px;flex:none;}
.sh-logo img{height:38px;width:auto;}
.sh-logo b{font-size:17px;letter-spacing:.5px;white-space:nowrap;}
.sh-search{flex:1;display:flex;min-width:0;border:2px solid var(--brand);border-radius:6px;overflow:hidden;background:#fff;max-width:620px;}
.sh-search input{flex:1;min-width:0;border:0;outline:0;padding:11px 14px;font-size:15px;font-family:inherit;color:var(--sh-txt);}
.sh-search input::placeholder{color:#b5b5b5;}
.sh-search button{border:0;background:var(--brand);color:#fff;font-size:15px;font-weight:600;padding:0 26px;cursor:pointer;font-family:inherit;}
.sh-cart{flex:none;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--sh-line2);background:#fff;border-radius:6px;padding:10px 16px;font-size:14px;font-weight:600;color:var(--sh-txt);cursor:pointer;position:relative;}
.sh-cart:hover{border-color:var(--brand);color:var(--brand);}
.sh-cart em{font-style:normal;background:var(--sh-red);color:#fff;font-size:11px;line-height:1;padding:3px 6px;border-radius:9px;font-weight:700;}

/* —— 促销提示条 —— */
.sh-notice{background:linear-gradient(90deg,#fff5ef,#fffaf5);border-bottom:1px solid #ffe6d6;}
.sh-notice .in{max-width:var(--maxw);margin:0 auto;padding:9px 18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13.5px;color:#a8500f;}
.sh-notice b{color:var(--sh-orange);font-weight:700;}

/* —— 分类 + 排序 —— */
.sh-nav{background:#fff;border-bottom:1px solid var(--sh-line);}
.sh-nav .in{max-width:var(--maxw);margin:0 auto;padding:0 18px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:52px;}
.sh-cat{border:0;background:transparent;font-family:inherit;font-size:15px;color:#4a4a4a;padding:9px 14px;border-radius:20px;cursor:pointer;font-weight:500;white-space:nowrap;}
.sh-cat:hover{color:var(--brand);background:var(--brand-soft);}
.sh-cat.on{background:var(--brand);color:#fff;font-weight:700;}
.sh-sort{margin-left:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.sh-sort span{font-size:13px;color:var(--sh-sub);margin-right:2px;}
.sh-sort button{border:1px solid var(--sh-line2);background:#fff;font-family:inherit;font-size:13.5px;color:#4a4a4a;padding:6px 12px;border-radius:4px;cursor:pointer;}
.sh-sort button:hover{border-color:var(--brand);color:var(--brand);}
.sh-sort button.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:700;}

/* —— 主体 —— */
.sh-main{max-width:var(--maxw);margin:0 auto;padding:20px 18px 40px;}
.sh-sec{display:flex;align-items:baseline;gap:10px;margin:26px 0 14px;}
.sh-sec:first-child{margin-top:6px;}
.sh-sec h2{margin:0;font-size:20px;font-weight:800;letter-spacing:.3px;}
.sh-sec em{font-style:normal;font-size:13.5px;color:var(--sh-sub);}
.sh-sec .bar{width:4px;height:19px;border-radius:2px;background:var(--brand);display:inline-block;transform:translateY(2px);margin-right:2px;}

/* —— 商品网格 —— */
.sh-grid{display:grid;gap:12px;grid-template-columns:repeat(2,1fr);}
@media(min-width:768px){.sh-grid{gap:16px;grid-template-columns:repeat(3,1fr);}}
@media(min-width:1024px){.sh-grid{grid-template-columns:repeat(4,1fr);}}

.sh-card{background:#fff;border:1px solid var(--sh-line);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;transition:.18s;position:relative;}
.sh-card:hover{border-color:#c9d9ff;box-shadow:0 12px 26px rgba(30,60,130,.12);transform:translateY(-3px);}
.sh-card .tagline{position:absolute;top:0;left:0;background:var(--sh-red);color:#fff;font-size:11.5px;font-weight:700;padding:3px 9px;border-bottom-right-radius:8px;z-index:2;letter-spacing:.3px;}
.sh-thumb{aspect-ratio:1/1;background:linear-gradient(135deg,#f2f6ff,#eefaf7);display:flex;align-items:center;justify-content:center;color:#8fa6cc;font-size:15px;font-weight:700;letter-spacing:.6px;border-bottom:1px solid var(--sh-line);}
.sh-body{padding:10px 12px 12px;display:flex;flex-direction:column;flex:1;}
.sh-t{font-size:14px;line-height:1.45;color:var(--sh-txt);margin:0 0 5px;height:40px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:500;}
.sh-sell{font-size:12.5px;color:var(--sh-sub);margin:0 0 8px;height:34px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;}
.sh-pricebox{display:flex;align-items:baseline;gap:5px;margin-bottom:8px;flex-wrap:wrap;}
.sh-price{color:var(--sh-red);font-weight:800;font-size:22px;line-height:1;letter-spacing:-.5px;}
.sh-price i{font-style:normal;font-size:14px;font-weight:700;margin-right:1px;}
.sh-price.ask{font-size:16px;letter-spacing:0;}
.sh-unit{font-size:12.5px;color:var(--sh-sub);}
.sh-svclist{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px;min-height:20px;}
.sh-svc{font-size:11.5px;color:#6b7b95;border:1px solid #e3e9f5;background:#f7f9fe;border-radius:3px;padding:1px 6px;white-space:nowrap;}
.sh-svc.hot{color:var(--sh-red);border-color:#ffd9d6;background:#fff4f3;}
.sh-acts{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.sh-btn{display:block;text-align:center;font-size:13.5px;font-weight:700;padding:9px 6px;border-radius:6px;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:.16s;line-height:1.3;white-space:nowrap;}
.sh-btn.buy{background:var(--sh-red);color:#fff;border-color:var(--sh-red);}
.sh-btn.buy:hover{background:var(--sh-red-d);border-color:var(--sh-red-d);}
.sh-btn.cart{background:#fff7f6;color:var(--sh-red);border-color:#ffc9c4;}
.sh-btn.cart:hover{background:var(--sh-red);color:#fff;border-color:var(--sh-red);}
.sh-btn.info{background:#f5f7fb;color:#3b5a8a;border-color:#e2e9f6;}
.sh-btn.info:hover{background:var(--brand);color:#fff;border-color:var(--brand);}
.sh-btn.ghost{background:#fff;color:#4a4a4a;border-color:var(--sh-line2);}
.sh-btn.ghost:hover{border-color:var(--brand);color:var(--brand);}

/* 询价卡片的单按钮 */
.sh-acts.solo{grid-template-columns:1fr;}

/* —— 服务保障条 —— */
.sh-promise{background:#fff;border:1px solid var(--sh-line);border-radius:8px;margin-top:26px;padding:18px 16px;display:grid;gap:14px;grid-template-columns:repeat(2,1fr);}
@media(min-width:768px){.sh-promise{grid-template-columns:repeat(4,1fr);padding:22px 20px;}}
.sh-promise>div{display:flex;align-items:center;gap:10px;min-width:0;}
.sh-promise .ic{width:38px;height:38px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:18px;flex:none;font-weight:700;}
.sh-promise b{display:block;font-size:14px;font-weight:700;white-space:nowrap;}
.sh-promise span{display:block;font-size:12px;color:var(--sh-sub);line-height:1.45;}

/* —— 窄屏微调 —— */
@media(max-width:640px){
  .sh-nav .in{min-height:auto;padding:7px 14px;}
  .sh-cat{font-size:13.5px;padding:7px 11px;}
  .sh-promise{padding:16px 14px;gap:12px;}
  .sh-promise .ic{width:34px;height:34px;font-size:16px;}
  .sh-promise b{white-space:normal;font-size:13.5px;}
  /* 手机端：搜索框独占整行，第一行留 logo + 购物车 */
  .sh-head .in{flex-wrap:wrap;gap:10px;padding:12px 14px;align-items:stretch;}
  .sh-logo{flex:1 1 auto;min-width:0;}
  .sh-cart{order:2;flex:none;}
  .sh-search{order:3;flex:1 1 100%;max-width:none;}
  .sh-search input{padding:13px 14px;font-size:16px;}   /* ≥16px 避免 iOS 聚焦自动缩放 */
  .sh-search button{padding:0 24px;font-size:16px;}
}
@media(max-width:480px){
  .sh-acts .sh-btn{font-size:12.5px;padding:9px 2px;}
  .sh-price{font-size:20px;}
  .sh-dacts .sh-btn{padding:13px 20px;min-width:120px;font-size:15px;}
}

.sh-empty{padding:60px 10px;text-align:center;color:var(--sh-sub);font-size:15px;}

/* ============ 商品详情页 ============ */
.sh-crumb{max-width:var(--maxw);margin:0 auto;padding:14px 18px 0;font-size:13px;color:var(--sh-sub);}
.sh-crumb a:hover{color:var(--brand);}
.sh-crumb i{font-style:normal;margin:0 7px;color:#c8c8c8;}

.sh-dtop{max-width:var(--maxw);margin:10px auto 0;padding:0 18px;display:grid;gap:22px;grid-template-columns:1fr;}
@media(min-width:900px){.sh-dtop{grid-template-columns:460px 1fr;gap:34px;}}
.sh-gallery{background:#fff;border:1px solid var(--sh-line);border-radius:8px;padding:14px;}
.sh-gmain{aspect-ratio:1/1;background:linear-gradient(135deg,#f2f6ff,#eefaf7);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#8fa6cc;font-size:22px;font-weight:800;letter-spacing:1px;}
.sh-gthumbs{display:flex;gap:8px;margin-top:10px;}
.sh-gthumbs i{flex:1;aspect-ratio:1/1;border:1px solid var(--sh-line);border-radius:4px;background:#fafbfe;display:flex;align-items:center;justify-content:center;font-size:11px;color:#9fb0c8;font-style:normal;text-align:center;padding:2px;}
.sh-gthumbs i.on{border-color:var(--brand);}

.sh-dinfo h1{font-size:22px;line-height:1.4;margin:0 0 8px;font-weight:700;}
.sh-dsub{font-size:14px;color:var(--sh-sub);margin:0 0 14px;line-height:1.6;}
.sh-dtags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px;}
.sh-dprice{background:#fff6f5;border:1px solid #ffe0dd;border-radius:8px;padding:14px 16px;margin-bottom:16px;}
.sh-dprice .lbl{font-size:13px;color:var(--sh-sub);margin-bottom:4px;}
.sh-dprice .v{color:var(--sh-red);font-weight:800;font-size:32px;line-height:1.1;letter-spacing:-1px;}
.sh-dprice .v i{font-style:normal;font-size:17px;font-weight:700;margin-right:2px;}
.sh-dprice .v.ask{font-size:20px;letter-spacing:0;color:#c15b12;}
.sh-dprice .note{font-size:12.5px;color:var(--sh-sub);margin-top:6px;}

.sh-rowline{display:flex;gap:14px;padding:11px 0;border-bottom:1px dashed #eee;font-size:14px;align-items:flex-start;}
.sh-rowline .k{color:var(--sh-sub);flex:none;width:66px;}
.sh-rowline .v{flex:1;color:var(--sh-txt);}
.sh-rowline .v span{display:inline-block;margin:0 10px 4px 0;color:#4a5a72;font-size:13.5px;}

.sh-qty{display:inline-flex;align-items:center;border:1px solid var(--sh-line2);border-radius:4px;overflow:hidden;margin-top:4px;}
.sh-qty button{width:32px;height:32px;border:0;background:#fafafa;font-size:17px;color:#666;cursor:pointer;font-family:inherit;}
.sh-qty input{width:50px;height:32px;border:0;border-left:1px solid var(--sh-line2);border-right:1px solid var(--sh-line2);text-align:center;font-size:14px;font-family:inherit;outline:0;}

.sh-dacts{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap;}
.sh-dacts .sh-btn{padding:14px 34px;font-size:16px;border-radius:6px;min-width:140px;}

.sh-dsec{max-width:var(--maxw);margin:38px auto 0;padding:0 18px;}
.sh-tabbar{display:flex;gap:0;border-bottom:1px solid var(--sh-line);}
.sh-tabbar button{border:0;background:transparent;font-family:inherit;font-size:15px;font-weight:600;color:#5a5a5a;padding:12px 22px;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;}
.sh-tabbar button.on{color:var(--brand);border-bottom-color:var(--brand);}
.sh-panel{background:#fff;border:1px solid var(--sh-line);border-top:0;padding:22px 20px 26px;border-radius:0 0 8px 8px;}
.sh-panel.hide{display:none;}
.sh-para{width:100%;border-collapse:collapse;}
.sh-para td{padding:11px 14px;border:1px solid var(--sh-line);font-size:14.5px;}
.sh-para td:first-child{width:140px;color:var(--sh-sub);background:#fafbfd;}
.sh-intro p{margin:0 0 14px;font-size:15px;line-height:1.85;color:#333c4d;}
.sh-intro p b{color:#16233a;}

/* ---------- 结算页 ---------- */
.ck-wrap{max-width:720px;margin:0 auto;}
.ck-card{background:#fff;border:1px solid var(--sh-line);border-radius:12px;padding:18px 16px;margin-bottom:14px;}
.ck-tt{font-size:16px;font-weight:700;margin-bottom:14px;padding-left:9px;border-left:3px solid var(--sh-red);line-height:1.2;}
.ck-f{margin-bottom:13px;}
.ck-f label{display:block;font-size:13px;color:var(--sh-sub);margin-bottom:5px;}
.ck-f label b{color:var(--sh-red);font-weight:400;}
.ck-f input,.ck-f textarea{width:100%;padding:11px;border:1px solid var(--sh-line2);border-radius:8px;font-size:15px;font-family:inherit;color:var(--sh-txt);background:#fff;box-sizing:border-box;}
.ck-f input:focus,.ck-f textarea:focus{outline:0;border-color:var(--sh-red);}
.ck-f textarea{resize:vertical;line-height:1.65;}
.ck-err{color:#d9534f;font-size:13.5px;min-height:18px;line-height:1.5;}

.ck-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f0f0;}
.ck-item .ph{width:58px;height:58px;flex:none;background:#f2f6ff;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#8fa6cc;font-weight:700;text-align:center;padding:2px;box-sizing:border-box;}
.ck-item .md{flex:1;min-width:0;}
.ck-item .nm{font-size:14px;color:var(--sh-txt);display:block;line-height:1.4;font-weight:500;}
.ck-item .un{font-size:12.5px;color:var(--sh-sub);margin-top:3px;}
.ck-item .un .ask{color:#c98a2e;}
.ck-item .qc{display:flex;align-items:center;gap:8px;margin-top:7px;}
.ck-item .qc .sh-btn{padding:3px 11px;font-size:14px;}
.ck-item .qc span{font-size:13px;min-width:18px;text-align:center;}
.ck-item .sub{font-size:15px;font-weight:800;color:var(--sh-red);white-space:nowrap;}
.ck-total{display:flex;align-items:baseline;gap:8px;justify-content:flex-end;padding-top:14px;font-size:14px;flex-wrap:wrap;}
.ck-total b{font-size:22px;color:var(--sh-red);}
.ck-total em{font-size:12px;color:var(--sh-sub);font-style:normal;}
.ck-submit{display:block;width:100%;padding:15px;font-size:17px;}
.ck-tip{font-size:12.5px;color:var(--sh-sub);line-height:1.75;text-align:center;padding:4px 6px 30px;}

.ck-done{text-align:center;padding:28px 18px;}
.ck-done .ok{width:56px;height:56px;border-radius:50%;background:#e7f6f1;color:#0d8a72;font-size:30px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.ck-done h2{margin:0 0 8px;font-size:20px;}
.ck-done .no{font-size:14px;color:var(--sh-sub);margin-bottom:14px;}
.ck-done .no b{color:var(--sh-txt);font-size:16px;}
.ck-done p{font-size:13.5px;color:var(--sh-sub);line-height:1.75;margin:0 0 10px;}
.ck-done p.small{font-size:12.5px;}
.ck-done .amt{font-size:14px;margin:4px 0 12px;}
.ck-done .amt b{color:var(--sh-red);font-size:20px;}
.ck-done .amt em{font-style:normal;color:var(--sh-sub);font-size:12.5px;}
@media(max-width:520px){
  .ck-item .sub{display:none;}
  .ck-card{padding:15px 13px;}
}

/* ============ 侧边悬浮购物车 + 侧滑抽屉（列表 / 详情 / 结算通用） ============ */

/* —— 悬浮入口：桌面＝右侧竖卡；手机＝右下圆钮。始终 fixed，不随页面滚动消失 —— */
.sh-float{
  position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:70;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  background:linear-gradient(180deg,#fff,#f5f9ff); border:1px solid #d7e2f6; border-right:0;
  border-radius:10px 0 0 10px; padding:15px 11px 13px;
  cursor:pointer; font-family:inherit; color:var(--sh-txt);
  box-shadow:-3px 3px 16px rgba(20,32,64,.14);
  transition:background .18s, box-shadow .18s, opacity .22s, visibility .22s;
  -webkit-tap-highlight-color:transparent;
}
.sh-float:hover{background:var(--brand-soft); box-shadow:-4px 4px 20px rgba(30,60,130,.22);}
.sh-float .sh-fico{position:relative; display:block; width:25px; height:25px;}
.sh-float .sh-fico svg{width:25px; height:25px; display:block; stroke:var(--brand); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.sh-float .sh-fnum{
  position:absolute; top:-8px; right:-10px; min-width:18px; height:18px; line-height:18px;
  padding:0 4px; border-radius:9px; background:var(--sh-red); color:#fff;
  font-size:11px; font-weight:700; font-style:normal; text-align:center;
  box-shadow:0 1px 5px rgba(225,37,27,.42);
}
.sh-float .sh-ftxt{font-size:12.5px; font-weight:600; letter-spacing:1.5px; writing-mode:vertical-rl; line-height:1;}
.sh-float .sh-fsum{font-size:11.5px; font-weight:800; color:var(--sh-red); white-space:nowrap;}
.sh-float .sh-fsum:empty{display:none;}

/* 抽屉打开时收起悬浮栏，避免重叠；同时锁住页面滚动 */
html.sh-lock, body.sh-lock{overflow:hidden;}
body.sh-lock .sh-float{opacity:0; visibility:hidden; pointer-events:none;}

@media(max-width:767px){
  .sh-float{
    right:14px; top:auto; bottom:78px; transform:none;   /* 上移避开右下角 FAB 客服，避免两按钮重叠 */
    flex-direction:row; justify-content:center;
    width:54px; height:54px; padding:0; border:0; border-radius:50%;
    background:var(--brand); box-shadow:0 8px 22px rgba(43,107,243,.38);
  }
  .sh-float:hover{background:var(--brand);}
  .sh-float .sh-fico, .sh-float .sh-fico svg{width:25px; height:25px;}
  .sh-float .sh-fico svg{stroke:#fff;}
  .sh-float .sh-fnum{top:-4px; right:-5px; border:2px solid #fff; box-sizing:content-box;}
  .sh-float .sh-ftxt{display:none;}
}

/* —— 遮罩 + 抽屉（各自 fixed；抽屉内部独立滚动，与页面滚动彻底解耦） —— */
.sh-mask{
  position:fixed; inset:0; z-index:90; background:rgba(18,24,40,.46);
  opacity:0; visibility:hidden; transition:opacity .22s, visibility .22s;
}
.sh-mask.on{opacity:1; visibility:visible;}

.sh-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:91;
  width:100%; max-width:420px; background:#fff;
  display:flex; flex-direction:column;
  box-shadow:-10px 0 34px rgba(12,22,48,.24);
  transform:translateX(102%);
  transition:transform .26s cubic-bezier(.22,.72,.28,1);
  will-change:transform;
}
.sh-drawer.on{transform:translateX(0);}
@media(min-width:768px){ .sh-drawer{height:100vh;} }

.sh-dhead{flex:none; display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid var(--sh-line);}
.sh-dhead b{font-size:16px;}
.sh-dhead .sh-dcnt{font-size:12.5px; color:var(--sh-sub);}
.sh-dclose{margin-left:auto; padding:6px 14px;}

.sh-dbody{
  flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch; padding:12px 16px;
}
.sh-dfoot{
  flex:none; border-top:1px solid var(--sh-line); padding:14px 16px;
  padding-bottom:calc(14px + env(safe-area-inset-bottom));
  background:#fff;
}
.sh-dsum{display:flex; align-items:baseline; gap:8px; margin-bottom:10px; flex-wrap:wrap;}
.sh-dsum span{font-size:13px; color:var(--sh-sub);}
.sh-dsum b{color:var(--sh-red); font-size:20px; font-weight:800;}
.sh-dgo{display:block; padding:13px;}
.sh-dgo.off{pointer-events:none; opacity:.5;}

/* 抽屉里的商品行 */
.sh-citem{display:flex; gap:10px; padding:12px 0; border-bottom:1px solid #f0f0f0;}
.sh-citem:last-child{border-bottom:0;}
.sh-citem .ph{width:58px; height:58px; flex:none; background:#f2f6ff; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:11px; color:#8fa6cc; font-weight:700; text-align:center; padding:2px; box-sizing:border-box;}
.sh-citem .md{flex:1; min-width:0;}
.sh-citem .nm{font-size:13.5px; line-height:1.45; margin-bottom:5px; color:var(--sh-txt);}
.sh-citem .pr{color:var(--sh-red); font-weight:800; font-size:16px;}
.sh-citem .pr.ask{font-size:13.5px; color:#c15b12;}
.sh-citem .qc{display:flex; align-items:center; gap:8px; margin-top:7px;}
.sh-citem .qc .sh-btn{padding:2px 11px; font-size:14px; line-height:1.5;}
.sh-citem .qc .q{font-size:13px; min-width:20px; text-align:center;}
.sh-citem .qc .del{margin-left:auto; padding:2px 10px; font-size:12.5px;}
.sh-citem .lnk{font-size:12px; color:var(--brand);}

/* ===== 经销商登录状态条 ===== */
.sh-dbar{background:#fff7ef; border-bottom:1px solid #f3e2cf;}
.sh-dbar .in{max-width:var(--maxw); margin:0 auto; padding:9px 18px; display:flex; align-items:center; gap:12px; flex-wrap:wrap;}
.sh-dbar .dm{flex:1; min-width:0; font-size:13.5px; color:#8a5a1b;}
.sh-dbar .dm b{color:#7a4a10;}
.sh-dbar .sh-btn{flex:none; padding:6px 16px; font-size:13px;}
.sh-dbar.on{background:#eef7f3; border-bottom-color:#cfe9df;}
.sh-dbar.on .dm{color:#0f6e56;}
.sh-dbar.on .dm b{color:#0b5a46;}
.sh-dbar.wait{background:#f2f6ff; border-bottom-color:#d8e4ff;}
.sh-dbar.wait .dm{color:#2b5bb8;}

.ck-badge{margin-left:8px; font-size:11.5px; font-weight:700; color:#0f6e56; background:#e6f5ef; border:1px solid #cfe9df; border-radius:4px; padding:1px 6px; vertical-align:2px;}

/* ===== 经销商登录 / 注册页 ===== */
.dl-wrap{max-width:1000px; margin:0 auto; padding:30px 18px 10px; display:flex; gap:26px; align-items:flex-start;}
.dl-card{flex:1; min-width:0; background:#fff; border:1px solid var(--sh-line2); border-radius:12px; padding:24px 24px 26px;}
.dl-tabs{display:flex; gap:6px; background:var(--sh-gray); border-radius:9px; padding:5px; margin-bottom:20px;}
.dl-tabs button{flex:1; border:0; background:transparent; font-family:inherit; font-size:15px; font-weight:700; color:var(--sh-sub); padding:10px 0; border-radius:6px; cursor:pointer; transition:.16s;}
.dl-tabs button.on{background:#fff; color:var(--brand); box-shadow:0 1px 3px rgba(20,40,90,.1);}
.dl-f{margin-bottom:15px;}
.dl-f label{display:block; font-size:13.5px; font-weight:700; color:#39424e; margin-bottom:7px;}
.dl-f label b{color:var(--sh-red);}
.dl-f input,.dl-f textarea{width:100%; box-sizing:border-box; border:1px solid var(--sh-line2); border-radius:7px; padding:11px 13px; font-size:15px; font-family:inherit; color:var(--sh-txt); outline:0; transition:.16s; background:#fff; resize:vertical;}
.dl-f input:focus,.dl-f textarea:focus{border-color:var(--brand); box-shadow:0 0 0 3px rgba(43,107,243,.1);}
.dl-submit{display:block; width:100%; padding:14px; font-size:16px; margin-top:6px;}
.dl-tip{font-size:12.5px; color:var(--sh-sub); line-height:1.6; margin:12px 0 0;}
.dl-msg{font-size:13.5px; line-height:1.6; margin-top:14px;}
.dl-msg.err{color:var(--sh-red);}
.dl-msg.ok{color:#0f6e56;}
.dl-done{text-align:center; padding:16px 6px 6px;}
.dl-done .ok{width:54px; height:54px; border-radius:50%; margin:0 auto 16px; background:#e6f5ef; color:#0f6e56; font-size:27px; line-height:54px; font-weight:700;}
.dl-done .ok.wait{background:#eef2ff; color:#2b5bb8;}
.dl-done h2{font-size:20px; margin:0 0 10px;}
.dl-done p{font-size:14px; color:#4b5563; line-height:1.75; margin:0 0 10px;}
.dl-done p.sm{font-size:12.5px; color:var(--sh-sub);}
.dl-done .sh-btn{display:inline-block;}
.dl-side{flex:none; width:270px; background:#f7f9ff; border:1px solid #e2eafb; border-radius:12px; padding:20px 20px 18px;}
.dl-side h3{font-size:15px; margin:0 0 12px;}
.dl-side ul{margin:0; padding-left:18px;}
.dl-side li{font-size:13px; color:#4b5563; line-height:1.85;}
.dl-side .dl-hot{font-size:13px; color:#39424e; line-height:1.8; margin:16px 0 0; padding-top:14px; border-top:1px solid #e2eafb;}
.dl-side .dl-hot b{color:#c0392b;}
@media(max-width:820px){
  .dl-wrap{flex-direction:column; padding:20px 14px 0;}
  .dl-side{width:auto;}
  .dl-card{padding:20px 16px 22px;}
}

/* ===== 商品图片（列表卡 / 购物车行 / 结算行 / 详情图区）2026-09-18 ===== */

/* —— 小方图位：有图时铺满，无图仍是型号文字 —— */
.sh-thumb.has-img,
.sh-citem .ph.has-img,
.ck-item .ph.has-img{background:#fff;padding:0;overflow:hidden;position:relative;}
.sh-thumb.has-img img,
.sh-citem .ph.has-img img,
.ck-item .ph.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;}

/* —— 详情页图区：主图 + 缩略图切换 —— */
.sh-gmain.has-img{background:#fff;padding:0;overflow:hidden;position:relative;cursor:zoom-in;}
.sh-gmain.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;}
.sh-gthumbs i.has-img{padding:0;overflow:hidden;position:relative;cursor:pointer;background:#fff;}
.sh-gthumbs i.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.sh-gthumbs i:not(.has-img){cursor:default;}

/* —— 大图查看 —— */
.sh-lb{position:fixed;inset:0;z-index:130;background:rgba(0,0,0,.84);display:none;align-items:center;justify-content:center;padding:26px;}
.sh-lb.on{display:flex;}
.sh-lb img{max-width:96vw;max-height:88vh;border-radius:8px;background:#fff;display:block;}
.sh-lb .x{position:absolute;top:14px;right:18px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:22px;line-height:42px;cursor:pointer;font-family:inherit;}

/* —— 详情页「商品介绍」里的图片资料（横向滚动画廊） —— */
.sh-figbox{margin-top:16px;}
.sh-figbox .ft{font-size:13.5px;font-weight:600;color:var(--sh-txt);margin:0 0 10px;display:flex;align-items:center;gap:7px;}
.sh-figbox .ft span{font-size:12px;color:var(--sh-sub);font-weight:400;}
.sh-figs{display:flex;gap:10px;overflow-x:auto;padding-bottom:9px;scroll-snap-type:x mandatory;}
.sh-figs figure{flex:none;width:172px;margin:0;border:1px solid var(--sh-line);border-radius:8px;overflow:hidden;background:#fff;cursor:zoom-in;scroll-snap-align:start;}
.sh-figs.sh-figs-wide figure{width:236px;}
.sh-figs img{display:block;width:100%;height:auto;}
.sh-figs figcaption{font-size:11.5px;color:var(--sh-sub);padding:6px 8px;border-top:1px solid #f2f2f2;line-height:1.4;}

/* —— 详情页「商品介绍」· 京东式图文流（大图 + 居中标题 + 文案） —— */
.sh-flow{margin:0 auto;max-width:760px;}
.sh-flow-lead{margin:0;padding:2px 22px 16px;text-align:center;font-size:14.5px;line-height:1.8;color:#5a6a80;}
.sh-flow-i{margin:0;}
.sh-flow-i img{display:block;width:100%;max-width:720px;margin:0 auto;height:auto;cursor:zoom-in;background:#f4f7ff;}
.sh-flow-i figcaption{padding:18px 22px 24px;text-align:center;}
.sh-flow-i figcaption b{display:block;font-size:19px;font-weight:800;color:#16233a;letter-spacing:.2px;margin-bottom:8px;}
.sh-flow-i figcaption span{display:block;font-size:14.5px;line-height:1.85;color:#5a6a80;max-width:620px;margin:0 auto;}

@media(max-width:640px){
  .sh-gallery{padding:10px;}
  .sh-figs figure{width:146px;}
  .sh-figs.sh-figs-wide figure{width:196px;}
  .sh-flow-i figcaption{padding:15px 18px 20px;}
  .sh-flow-i figcaption b{font-size:17px;}
  .sh-flow-i figcaption span{font-size:14px;}
  .sh-lb{padding:14px;}
  .sh-grid{gap:12px;}
  .sh-dprice .v{font-size:27px;}
  .sh-dinfo h1{font-size:19px;line-height:1.35;}
  .sh-dinfo{margin-top:4px;}
  .sh-citem .ph{width:52px;height:52px;}
}

/* ===== 购物车 / 结算 · 已下架（售罄）提示 2026-09-21 ===== */
.sh-cwarn{margin:0 0 10px;padding:9px 12px;background:#fff4e6;color:#d9480f;border:1px solid #ffd8a8;border-radius:8px;font-size:13px;line-height:1.5}
.sh-citem.soldout{opacity:.92}
.sh-citem.soldout .nm{color:#868e96}
.sh-citem.soldout .ph{background:#f1f3f5}
.sh-sold{display:inline-block;margin-left:6px;padding:1px 8px;font-size:12px;line-height:1.6;color:#fff;background:#e03131;border-radius:10px;vertical-align:middle}
.sh-cart.has-sold{position:relative}
.sh-cart.has-sold::after{content:"";position:absolute;top:4px;right:4px;width:9px;height:9px;background:#e03131;border:2px solid #fff;border-radius:50%;box-sizing:content-box}
.ck-item.soldout{opacity:.92}
.ck-item.soldout .nm{color:#868e96}
.ck-item.soldout .ph{background:#f1f3f5}
.ck-sold{display:inline-block;margin-left:6px;padding:1px 8px;font-size:12px;line-height:1.6;color:#fff;background:#e03131;border-radius:10px;vertical-align:middle}
.ck-warn{margin-left:8px;padding:2px 10px;font-size:12.5px;color:#d9480f;background:#fff4e6;border:1px solid #ffd8a8;border-radius:10px;vertical-align:middle}
.sh-btn.off{pointer-events:none;opacity:.5}
