/* =========================================================
 * shop/shop.css — 优选商城（模拟购物）
 * 全部类名以 .sh- 前缀命名空间，复用 tokens/components 变量
 * 说明：不重定义任何已有通用类（.row/.btn/.card/.scroll/.navbar/
 *      .tabbar/.switch/.tag/.empty-state/.ava/.thumb 等）
 * ========================================================= */

/* ---------------------------------------------------------
 * 0. 容器 / 背景
 * ------------------------------------------------------- */
.sh-bg { background: #F5F5F7; }
html.dark .sh-bg { background: #000; }

.sh-empty { padding-bottom: 60px; }
.sh-emptybtn { padding: 0 60px; margin-top: -50px; }
.sh-sechead {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 12px 10px;
}
.sh-sectitle {
  font-size: 17px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 4px;
}
.sh-more {
  margin-left: auto; font-size: 12px; color: var(--text2);
  display: flex; align-items: center; gap: 1px;
}
.sh-sec { padding-bottom: 4px; }

/* ---------------------------------------------------------
 * 1. 首页
 * ------------------------------------------------------- */
.sh-hhead {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 2px 12px 10px; background: var(--card);
}
.sh-hsearch {
  flex: 1; height: 36px; border-radius: 16px;
  background: rgba(118,118,128,.12);
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px; color: var(--text2); font-size: 14px;
}
.sh-hmsg { position: relative; color: var(--text); display: flex; padding: 2px; }
.sh-hmsgb {
  position: absolute; top: -3px; right: -6px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: #FF3B30; color: #fff; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* Banner */
.sh-banner { position: relative; margin: 10px 12px 4px; overflow: hidden; border-radius: 12px; }
.sh-btrack { display: flex; height: 140px; transition: transform 350ms var(--ease); }
.sh-bit { flex: 0 0 100%; position: relative; height: 140px; overflow: hidden; }
.sh-bit .thumb { position: absolute; inset: 0; }
.sh-bmask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.05));
}
.sh-btxt { position: absolute; left: 14px; bottom: 20px; color: #fff; }
.sh-bt1 { font-size: 18px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.sh-bt2 { font-size: 12px; opacity: .92; margin-top: 3px; }
.sh-bdots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 5px;
}
.sh-bdots i {
  width: 5px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,.4); transition: all 250ms var(--ease);
}
.sh-bdots i.on { width: 14px; background: #fff; }

/* 金刚区 */
.sh-kk {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px 0; padding: 12px 6px;
  background: var(--card); margin: 8px 12px 0; border-radius: 12px;
}
.sh-kkitem { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sh-kkitem:active { opacity: .7; }
.sh-kkico {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.sh-kkname { font-size: 11px; color: var(--text); }

/* 限时秒杀 */
.sh-cd {
  display: flex; align-items: center; gap: 3px;
  font-size: 11px; color: #fff; background: #FF4A22;
  padding: 2px 7px; border-radius: 10px;
}
.sh-cd b { font-variant-numeric: tabular-nums; font-weight: 600; }
.sh-hscroll {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 0 12px 6px; scrollbar-width: none;
}
.sh-hscroll::-webkit-scrollbar { height: 0; }
.sh-scard { flex: none; width: 104px; }
.sh-scimg { border-radius: 10px; overflow: hidden; }
.sh-scname { font-size: 12px; color: var(--text); margin: 6px 0 4px; }
.sh-pbar { height: 8px; border-radius: 4px; background: #FFE4DA; overflow: hidden; margin-top: 5px; }
.sh-pbar i { display: block; height: 100%; background: linear-gradient(90deg,#FF8A3D,#FF4A22); border-radius: 4px; }
.sh-pbtxt { font-size: 10px; color: #FF4A22; margin-top: 3px; }

/* 品牌闪购 */
.sh-brand { padding: 0 12px; }
.sh-brbanner {
  position: relative; height: 84px; border-radius: 12px; overflow: hidden; margin-bottom: 10px;
}
.sh-brbanner .thumb { position: absolute; inset: 0; }

/* 双列瀑布流 */
.sh-wf { display: flex; gap: 8px; padding: 0 12px; }
.sh-wcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 4px 12px 12px; }
.sh-loadmore {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 0 20px; font-size: 12px; color: var(--text2);
}
.sh-mspin {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(120,120,128,.25); border-top-color: #FF6A00;
  animation: spin .8s linear infinite; display: none;
}
.sh-loadmore.busy .sh-mspin { display: inline-block; }
.sh-loadmore.done { color: #C7C7CC; }
.sh-top {
  position: absolute; right: 14px; bottom: 78px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: #FF6A00;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all 220ms var(--ease); z-index: 6;
  border: .5px solid var(--sep);
}
.sh-top.on { opacity: 1; pointer-events: auto; transform: none; }

/* ---------------------------------------------------------
 * 2. 商品卡（通用）
 * ------------------------------------------------------- */
.sh-pcard {
  background: var(--card); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.sh-pcard:active { opacity: .92; }
.sh-pimg { border-radius: 12px 12px 0 0; }
.sh-pimgw { overflow: hidden; }
.sh-pimtag {
  position: absolute; left: 6px; top: 6px; z-index: 2;
  background: rgba(255,74,34,.92); color: #fff;
  font-size: 10px; padding: 2px 6px; border-radius: 8px;
}
.sh-pbody { padding: 8px 9px 10px; }
.sh-ptitle {
  font-size: 13px; line-height: 1.35; color: var(--text); height: 35px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sh-prow { display: flex; align-items: baseline; gap: 5px; margin-top: 6px; }
.sh-price { font-size: 17px; font-weight: 700; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-old { font-size: 11px; color: var(--text3); text-decoration: line-through; }
.sh-pmeta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; margin-top: 5px; font-size: 11px; color: var(--text2);
}
.sh-pmeta .trunc { max-width: 70px; }
.sh-ptags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.sh-ptag {
  font-size: 10px; color: #FF6A00; background: rgba(255,106,0,.1);
  padding: 2px 6px; border-radius: 6px;
}

/* 缩略图容器 */
.sh-thmb { display: block; flex: none; border-radius: 8px; overflow: hidden; background: var(--group); }
.sh-thmb .thumb { width: 100%; height: 100%; }

/* ---------------------------------------------------------
 * 3. 分类页
 * ------------------------------------------------------- */
.sh-catwrap { flex: 1; display: flex; min-height: 0; background: var(--card); }
.sh-catside { width: 88px; flex: none; background: #F5F5F7; }
html.dark .sh-catside { background: #1C1C1E; }
.sh-catitem {
  position: relative; width: 100%; height: 50px;
  font-size: 13px; color: var(--text2); background: transparent;
}
.sh-catitem.on {
  background: var(--card); color: var(--text); font-weight: 600;
}
.sh-catitem.on::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; border-radius: 2px; background: #FF6A00;
}
.sh-catmain { flex: 1; min-width: 0; padding: 0 12px; }
.sh-catbar {
  font-size: 14px; font-weight: 600; color: var(--text);
  padding: 14px 0 10px;
}
.sh-catbar2 { padding-top: 18px; border-top: .5px solid var(--sep); margin-top: 14px; }
.sh-subgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 4px; }
.sh-subitem { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sh-subitem:active { opacity: .7; }
.sh-subico {
  width: 56px; height: 56px; border-radius: 12px;
  background: #F5F5F7; color: #FF6A00;
  display: flex; align-items: center; justify-content: center;
}
html.dark .sh-subico { background: #2C2C2E; }
.sh-subname { font-size: 11px; color: var(--text); }
.sh-catlist { display: flex; flex-direction: column; }
.sh-catrow {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: .5px solid var(--sep);
}
.sh-catrow:last-child { border-bottom: none; }
.sh-catrowtx { flex: 1; min-width: 0; }
.sh-catrowname { font-size: 13px; color: var(--text); }
.sh-catrowsub { font-size: 11px; color: var(--text2); margin-top: 2px; }
.sh-catrowprice { font-size: 13px; font-weight: 600; color: #FF4A22; flex: none; }
.sh-catall { padding: 16px 0 24px; }

/* ---------------------------------------------------------
 * 4. 商品列表
 * ------------------------------------------------------- */
.sh-sortbar {
  flex: none; display: flex; align-items: center;
  background: var(--card); border-bottom: .5px solid var(--sep);
}
.sh-sortitem {
  flex: 1; height: 42px; font-size: 13px; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.sh-sortitem.on { color: #FF6A00; font-weight: 600; }
.sh-filterbtn { color: var(--text2); }
.sh-arrows { display: inline-flex; flex-direction: column; gap: 1px; }
.sh-arrows i {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
}
.sh-arrows i:first-child { border-bottom: 5px solid #C7C7CC; }
.sh-arrows i:last-child { border-top: 5px solid #C7C7CC; }
.sh-arrows i.on:first-child { border-bottom-color: #FF6A00; }
.sh-arrows i.on:last-child { border-top-color: #FF6A00; }
.sh-chips {
  flex: none; display: flex; gap: 6px; overflow-x: auto;
  padding: 8px 12px; background: var(--card); scrollbar-width: none;
  border-bottom: .5px solid var(--sep);
}
.sh-chips::-webkit-scrollbar { height: 0; }
.sh-chip {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: #FF6A00; background: rgba(255,106,0,.1);
  padding: 4px 4px 4px 9px; border-radius: 12px;
}
.sh-chipx { display: flex; color: #FF6A00; padding: 1px; }

/* 筛选面板 */
.sh-fgroup { padding: 12px 14px; border-bottom: .5px solid var(--sep); }
.sh-fname { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 9px; }
.sh-fvals { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-fprice { display: flex; align-items: center; gap: 8px; }
.sh-fprice input {
  flex: 1; height: 34px; border-radius: 8px; text-align: center;
  background: rgba(118,118,128,.12); font-size: 14px; color: var(--text);
}
.sh-fprice span { color: var(--text2); }
.sh-fswitch { display: flex; align-items: center; justify-content: space-between; border-bottom: none; }
.sh-fswitch .sh-fname { margin-bottom: 0; }
.sh-pfoot { display: flex; gap: 10px; }
.sh-pfoot .btn { flex: 1; }

/* ---------------------------------------------------------
 * 5. 商品详情
 * ------------------------------------------------------- */
.sh-dbanner { position: relative; width: 100%; height: 380px; overflow: hidden; background: var(--group); }
.sh-dbtrack { display: flex; height: 100%; transition: transform 350ms var(--ease); }
.sh-dimg { flex: 0 0 100%; position: relative; height: 100%; }
.sh-dimg .thumb { position: absolute; inset: 0; }
.sh-ddots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 5px;
}
.sh-ddots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); transition: all 250ms var(--ease); }
.sh-ddots i.on { width: 16px; background: #fff; }
.sh-dcount {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(0,0,0,.4); color: #fff; font-size: 11px;
  padding: 2px 9px; border-radius: 10px;
}
.sh-dprice {
  background: var(--card);
  padding: 14px 14px 12px; color: var(--text);
  border-bottom: .5px solid var(--sep);
}
.sh-dprow { display: flex; align-items: baseline; gap: 8px; }
.sh-dnow { font-size: 24px; font-weight: 700; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-dold { font-size: 14px; color: var(--text3); text-decoration: line-through; }
.sh-dtag {
  margin-left: auto; font-size: 11px; color: #fff; background: #FF6A00;
  padding: 3px 9px; border-radius: 4px;
}
.sh-dmeta {
  display: flex; gap: 14px; font-size: 11px; color: var(--text2); margin-top: 7px;
}
.sh-dcoupon {
  display: flex; align-items: center; gap: 8px;
  margin: -1px 0 0; padding: 11px 14px; background: var(--card);
  border-bottom: .5px solid var(--sep);
}
.sh-cpbadge {
  flex: none; width: 18px; height: 18px; border-radius: 4px;
  background: #FF4A22; color: #fff; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.sh-cptext { flex: 1; font-size: 13px; color: var(--text); }
.sh-cpbtn {
  font-size: 12px; color: #fff; background: #FF4A22;
  padding: 4px 14px; border-radius: 12px;
}
.sh-cpbtn.done { background: rgba(118,118,128,.18); color: var(--text2); }
.sh-dcard {
  background: var(--card); border-radius: 12px; margin: 10px 12px;
  padding: 12px;
}
.sh-dmain { padding-bottom: 14px; }
.sh-dtitle { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--text); }
.sh-dsub { font-size: 14px; color: var(--text2); margin-top: 6px; line-height: 1.4; }
.sh-dshop { display: flex; align-items: center; gap: 10px; background: var(--card); margin: 10px 12px; padding: 12px; border-radius: 12px; }
.sh-dshopava { flex: none; display: flex; }
.sh-dshopmain { flex: 1; min-width: 0; }
.sh-dshopname { font-size: 15px; font-weight: 600; color: var(--text); }
.sh-dshopmeta { display: flex; gap: 10px; font-size: 11px; color: var(--text2); margin-top: 4px; }
.sh-dscore { color: #FF9500; display: flex; align-items: center; gap: 2px; }
.sh-fshop {
  flex: none; font-size: 12px; color: #FF6A00; border: .5px solid #FF6A00;
  padding: 4px 12px; border-radius: 12px;
}
.sh-fshop.on { background: rgba(255,106,0,.1); color: var(--text2); border-color: transparent; }
.sh-goshop {
  flex: none; font-size: 12px; color: #fff; background: #FF6A00;
  padding: 5px 12px; border-radius: 12px;
}
.sh-dspec {
  display: flex; align-items: center; gap: 8px; width: calc(100% - 24px);
  margin: 10px 12px; padding: 14px 12px; text-align: left;
  background: var(--card); border-radius: 12px;
}
.sh-dspeclabel { font-size: 13px; color: var(--text2); flex: none; }
.sh-dspecval { flex: 1; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-dservice {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 0 12px 10px; padding: 0 2px;
}
.sh-svcitem { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text2); }
.sh-svcitem svg { color: #FF6A00; }

/* 评价 */
.sh-rvhead { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sh-dcardtitle { font-size: 15px; font-weight: 600; color: var(--text); }
.sh-rvrate { font-size: 11px; color: #FF4A22; }
.sh-rvitem { display: flex; gap: 10px; padding: 10px 0; border-top: .5px solid var(--sep); }
.sh-rvitem:first-of-type { border-top: none; }
.sh-rvmain { flex: 1; min-width: 0; }
.sh-rvtop { display: flex; align-items: center; gap: 8px; }
.sh-rvname { font-size: 13px; color: var(--text2); }
.sh-stars { display: inline-flex; gap: 1px; }
.sh-rvtext { font-size: 13px; color: var(--text); line-height: 1.5; margin-top: 5px; }
.sh-rvimgs { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.sh-rvimg { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; display: block; }
.sh-rvimg .thumb { width: 100%; height: 100%; }
.sh-rvtime { font-size: 11px; color: var(--text3); margin-top: 6px; }
.sh-rvlist { padding: 0 14px 14px; }
.sh-rechscroll .sh-scard { width: 110px; }
.sh-dfoot { text-align: center; font-size: 11px; color: var(--text3); padding: 6px 0 24px; }

/* 底部操作栏 */
.sh-dbar { gap: 8px; }
.sh-dbarico {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; width: 44px; font-size: 10px; color: var(--text2); flex: none;
}
.sh-dbarico.on { color: #FF4A22; }
.sh-btn-cart, .sh-btn-buy {
  flex: 1; height: 40px; border-radius: 20px; color: #fff;
  font-size: 15px; font-weight: 600;
}
.sh-btn-cart { background: linear-gradient(90deg, #FFA53D, #FF7A1F); }
.sh-btn-buy { background: linear-gradient(90deg, #FF6A3D, #FF3B30); }
.sh-btn-cart:active, .sh-btn-buy:active { filter: brightness(.92); }

/* 规格选择面板 */
.sh-spgroup { padding: 12px 14px; }
.sh-spname { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 9px; display: block; }
.sh-spvals { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-spval {
  font-size: 13px; color: var(--text); background: rgba(118,118,128,.1);
  padding: 7px 14px; border-radius: 8px; border: 1px solid transparent;
}
.sh-spval.on {
  color: #FF6A00; background: rgba(255,106,0,.08); border-color: #FF6A00;
}
.sh-spqty { display: flex; align-items: center; gap: 12px; }
.sh-spqty .sh-spname { margin-bottom: 0; }
.sh-spstock { font-size: 12px; color: var(--text2); }

/* 全屏看图 */
.sh-viewimg {
  position: absolute; inset: 0; background: rgba(0,0,0,.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; padding: 40px 18px;
}
.sh-viewclose { position: absolute; top: 58px; right: 16px; color: #fff; }
.sh-viewbody { width: 100%; height: 60%; border-radius: 12px; overflow: hidden; }
.sh-viewbody .thumb { width: 100%; height: 100%; }
.sh-viewtip { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 18px; }

/* 活动弹层 */
.sh-actimg { width: 100%; height: 150px; border-radius: 12px; overflow: hidden; }
.sh-actimg .thumb { width: 100%; height: 100%; }
.sh-actname { font-size: 16px; font-weight: 600; color: var(--text); margin-top: 12px; }
.sh-actdesc { font-size: 13px; color: var(--text2); margin-top: 6px; line-height: 1.5; }
.sh-act { padding: 14px; }

/* ---------------------------------------------------------
 * 6. 购物车
 * ------------------------------------------------------- */
.sh-ctip { font-size: 12px; color: var(--text2); padding: 8px 14px; }
.sh-cgroup { background: var(--card); border-radius: 12px; margin: 0 12px 10px; padding: 0 12px; }
.sh-cshop {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--text);
  border-bottom: .5px solid var(--sep);
}
.sh-citem { display: flex; gap: 10px; padding: 12px 0; border-bottom: .5px solid var(--sep); }
.sh-citem:last-child { border-bottom: none; }
.sh-cmain { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sh-ctitle { font-size: 14px; color: var(--text); line-height: 1.35; }
.sh-ctitle.dim { color: var(--text3); }
.sh-invalid {
  font-size: 10px; color: var(--text2); background: rgba(118,118,128,.16);
  padding: 1px 5px; border-radius: 4px; margin-left: 5px;
}
.sh-cspec { font-size: 11px; color: var(--text2); margin-top: 4px; }
.sh-crow { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.sh-cprice { font-size: 15px; font-weight: 700; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-copts { display: flex; gap: 8px; margin-top: 8px; }
.sh-copt {
  font-size: 12px; color: var(--text2);
  border: .5px solid var(--sep); border-radius: 12px; padding: 4px 12px;
}
.sh-copt:active { background: rgba(0,0,0,.05); }
.sh-cbar { gap: 0; }
.sh-call { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); flex: none; }
.sh-ctotal { flex: 1; text-align: right; font-size: 13px; color: var(--text); padding-right: 10px; }
.sh-ctotal b { font-size: 18px; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-cbtn-buy, .sh-cbtn-del, .sh-cbtn-ghost, .sh-cbtn-red {
  flex: none; height: 40px; padding: 0 20px; border-radius: 20px;
  font-size: 15px; font-weight: 600;
}
.sh-cbtn-buy { background: linear-gradient(90deg, #FF8A3D, #FF6A00); color: #fff; }
.sh-cbtn-buy.off { background: #D8D8DC; color: #fff; }
.sh-cbtn-red { background: linear-gradient(90deg, #FF6A3D, #FF3B30); color: #fff; }
.sh-cbtn-red.off { background: #D8D8DC; color: #fff; }
.sh-cbtn-del { background: #FF3B30; color: #fff; flex: 1; }
.sh-cbtn-ghost { background: transparent; color: var(--text2); border: .5px solid var(--sep); }

/* 勾选框 */
.sh-ck {
  flex: none; display: inline-flex; position: relative;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #C7C7CC; background: transparent;
  align-self: center; transition: all 150ms var(--ease);
}
.sh-ck.on { background: #FF6A00; border-color: #FF6A00; }
.sh-ck.on::after {
  content: ''; position: absolute; left: 6px; top: 3px;
  width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------------------------------------------------------
 * 7. 结算页
 * ------------------------------------------------------- */
.sh-cocard {
  background: var(--card); border-radius: 12px; margin: 10px 12px; padding: 12px;
}
.sh-cocardhead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sh-cometa { font-size: 12px; color: var(--text2); margin-left: auto; }
.sh-coaddr { display: flex; align-items: center; gap: 10px; }
.sh-coaddrempty { display: flex; align-items: center; gap: 8px; color: #FF6A00; font-size: 15px; padding: 6px 0; }
.sh-coaddrico { flex: none; color: #FF6A00; display: flex; }
.sh-coaddrbox { flex: 1; min-width: 0; }
.sh-coname { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.sh-coname span { font-size: 13px; font-weight: 400; color: var(--text2); }
.sh-deftag {
  font-size: 10px; font-style: normal; color: #fff; background: #FF6A00;
  padding: 1px 5px; border-radius: 4px;
}
.sh-coaddrtext { font-size: 12px; color: var(--text2); margin-top: 4px; line-height: 1.45; }
.sh-coarrow { color: var(--text3); display: flex; flex: none; }
.sh-coitem { display: flex; gap: 10px; padding: 9px 0; border-top: .5px solid var(--sep); }
.sh-coitem:first-of-type { border-top: none; }
.sh-comain { flex: 1; min-width: 0; }
.sh-coip { text-align: right; flex: none; }
.sh-colist { padding: 0 12px; }
.sh-corow { padding: 0; min-height: 46px; }
.sh-corow .row-title { font-size: 14px; }
.sh-corow .row-value { font-size: 14px; }
.sh-corow::after { left: 0; }
.sh-corowar { color: var(--text3); display: flex; }
.sh-copay {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 8px;
  padding: 12px 0; border-top: .5px solid var(--sep);
  font-size: 14px; color: var(--text);
}
.sh-copay b { font-size: 20px; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-cormk { display: flex; align-items: center; gap: 10px; }
.sh-cormklabel { font-size: 14px; color: var(--text); flex: none; }
.sh-cormk input {
  flex: 1; font-size: 14px; color: var(--text); text-align: right;
  border: none; background: none;
}
.sh-cofoot { margin: 4px 14px 24px; }
.sh-cofrow {
  display: flex; align-items: flex-start; gap: 6px; font-size: 11px;
  color: var(--text2); line-height: 1.6;
}
.sh-cofrow svg { flex: none; margin-top: 2px; }
.sh-cobar { gap: 0; }
.sh-cototal { flex: 1; font-size: 13px; color: var(--text); }
.sh-cototal b { font-size: 19px; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-alertamt { font-size: 26px; font-weight: 700; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-alertmm { font-size: 13px; color: #555; margin-top: 4px; }

/* 优惠券选择面板 */
.sh-cplist { padding: 12px 14px; }
.sh-cpitem {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--sep); border-radius: 10px;
  padding: 12px; margin-bottom: 10px;
}
.sh-cpitem.on { border-color: #FF6A00; background: rgba(255,106,0,.05); }
.sh-cpitem.off { opacity: .45; }
.sh-cpleft { flex: 1; min-width: 0; }
.sh-cpleft b { font-size: 20px; color: #FF4A22; }
.sh-cpname { font-size: 13px; color: var(--text); margin-top: 3px; }
.sh-cpcond { font-size: 11px; color: var(--text2); margin-top: 3px; }
.sh-cpright { display: flex; align-items: center; gap: 8px; }
.sh-cpusable { font-size: 11px; color: #FF6A00; }
.sh-cpno { font-size: 11px; color: var(--text3); }
.sh-cpck { color: #FF6A00; display: flex; }

/* ---------------------------------------------------------
 * 8. 地址
 * ------------------------------------------------------- */
.sh-adwrap { padding: 10px 0 4px; }
.sh-aditem {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border-radius: 12px; margin: 0 12px 10px; padding: 14px 12px;
}
.sh-aditem.cur { box-shadow: inset 0 0 0 1px rgba(255,106,0,.5); }
.sh-admain { flex: 1; min-width: 0; }
.sh-adname { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.sh-adphone { font-size: 13px; font-weight: 400; color: var(--text2); }
.sh-adtext { font-size: 12px; color: var(--text2); margin-top: 6px; line-height: 1.45; }
.sh-adedit { color: var(--text3); padding: 4px; flex: none; }
.sh-adhint {
  display: flex; align-items: center; gap: 5px; justify-content: center;
  font-size: 11px; color: var(--text3); padding: 12px 20px 20px;
}
.sh-adclear { padding: 0 12px; }
.sh-form { background: var(--card); border-radius: 12px; margin: 10px 12px; padding: 0 12px; }
.sh-formrow {
  display: flex; align-items: center; min-height: 52px; gap: 10px;
  border-bottom: .5px solid var(--sep);
}
.sh-formrow:last-child { border-bottom: none; }
.sh-formrow label { font-size: 14px; color: var(--text); width: 78px; flex: none; }
.sh-formrow input {
  flex: 1; font-size: 14px; color: var(--text); text-align: right; background: none;
}
.sh-formrow input::placeholder { color: var(--text3); }
.sh-formarea { align-items: flex-start; padding: 12px 0; }
.sh-formarea textarea {
  flex: 1; font-size: 14px; color: var(--text); background: none;
  resize: none; line-height: 1.5; min-height: 60px;
}
.sh-formarea textarea::placeholder { color: var(--text3); }
.sh-formsw { justify-content: space-between; }
.sh-formsw label { width: auto; }

/* ---------------------------------------------------------
 * 9. 收银台
 * ------------------------------------------------------- */
.sh-paytop {
  background: var(--card); padding: 26px 16px 20px; text-align: center;
  border-radius: 0 0 16px 16px;
}
.sh-payamt { font-size: 34px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.sh-paycd { font-size: 12px; color: var(--text2); margin-top: 8px; }
.sh-paycd b { color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-payno { font-size: 11px; color: var(--text3); margin-top: 5px; }
.sh-payshop {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text); padding: 14px 16px 6px;
}
.sh-payshop span { margin-left: auto; font-size: 12px; color: var(--text2); }
.sh-paylist { background: var(--card); border-radius: 12px; margin: 8px 12px; padding: 0 12px; }
.sh-payitem {
  display: flex; align-items: center; gap: 10px;
  min-height: 62px; border-bottom: .5px solid var(--sep);
}
.sh-payitem:last-child { border-bottom: none; }
.sh-payico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.sh-paymain { flex: 1; min-width: 0; }
.sh-payname { font-size: 15px; color: var(--text); }
.sh-paysub { font-size: 11px; color: var(--text2); margin-top: 3px; }
.sh-payck {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 1.5px solid #C7C7CC; color: transparent;
  display: flex; align-items: center; justify-content: center;
}
.sh-payitem.on .sh-payck { background: #FF6A00; border-color: #FF6A00; color: #fff; }
.sh-paysafe {
  display: flex; align-items: center; gap: 5px; justify-content: center;
  font-size: 11px; color: var(--text3); padding: 10px 20px 24px;
}
.sh-paybar { gap: 0; }

/* 支付成功动画 */
.sh-payok {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 200px; padding: 26px 0; border-radius: 18px; text-align: center;
  background: rgba(255,255,255,.98); color: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  animation: shSpring 460ms var(--ease);
}
@keyframes shSpring {
  0% { transform: translate(-50%,-50%) scale(.7); opacity: 0; }
  60% { transform: translate(-50%,-50%) scale(1.06); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(1); }
}
.sh-okcircle {
  position: relative; width: 72px; height: 72px; margin: 0 auto 14px;
  border-radius: 50%; background: #34C759; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sh-okring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(52,199,89,.35);
  animation: shRing 900ms var(--ease) infinite;
}
@keyframes shRing {
  0% { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.25); opacity: 0; }
}
.sh-oktitle { font-size: 16px; font-weight: 600; }
.sh-okamt { font-size: 14px; color: #FF4A22; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* 支付结果 */
.sh-res { padding: 40px 16px 40px; text-align: center; }
.sh-resico {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  animation: shSpring 500ms var(--ease);
}
.sh-resico.ok { background: #34C759; }
.sh-resico.fail { background: #FF9500; }
.sh-restitle { font-size: 20px; font-weight: 700; color: var(--text); }
.sh-ressub { font-size: 13px; color: var(--text2); margin-top: 8px; }
.sh-resamt { font-size: 15px; color: #FF4A22; font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; }
.sh-rescard { background: var(--card); border-radius: 12px; margin: 20px 0 0; padding: 0 12px; text-align: left; }
.sh-resbtns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.sh-resbtns .btn { width: 100%; }

/* ---------------------------------------------------------
 * 10. 订单中心
 * ------------------------------------------------------- */
.sh-otabs {
  flex: none; display: flex; background: var(--card);
  border-bottom: .5px solid var(--sep); overflow-x: auto; scrollbar-width: none;
}
.sh-otabs::-webkit-scrollbar { height: 0; }
.sh-otab {
  flex: 1; min-width: 68px; height: 44px; font-size: 14px; color: var(--text2);
  display: flex; align-items: center; justify-content: center; gap: 3px;
  position: relative; white-space: nowrap;
}
.sh-otab.on { color: #FF6A00; font-weight: 600; }
.sh-otab.on::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 20px; height: 2.5px; border-radius: 2px; background: #FF6A00;
}
.sh-otab i { font-size: 11px; font-style: normal; color: #FF3B30; }
.sh-ogap { padding: 10px 0 4px; }
.sh-ocard { background: var(--card); border-radius: 12px; margin: 0 12px 10px; padding: 12px; }
.sh-ocardhead { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; border-bottom: .5px solid var(--sep); }
.sh-oshop { flex: 1; font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 4px; }
.sh-ostatus { font-size: 13px; font-weight: 600; }
.sh-oitem { display: flex; gap: 10px; padding: 10px 0; }
.sh-oimg { border-radius: 8px; }
.sh-omain { flex: 1; min-width: 0; }
.sh-otitle { font-size: 14px; color: var(--text); line-height: 1.35; }
.sh-ospec { font-size: 11px; color: var(--text2); margin-top: 4px; }
.sh-oprice { text-align: right; font-size: 14px; color: var(--text); flex: none; }
.sh-oqty { font-size: 11px; color: var(--text2); margin-top: 3px; }
.sh-oamount {
  text-align: right; font-size: 12px; color: var(--text2);
  padding: 8px 0 10px; border-top: .5px solid var(--sep);
}
.sh-oamount b { font-size: 17px; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-oacts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.sh-obtn {
  font-size: 13px; color: var(--text); padding: 7px 16px;
  border: .5px solid var(--sep); border-radius: 16px; background: transparent;
}
.sh-obtn:active { background: rgba(0,0,0,.05); }
.sh-obtn.main {
  color: #fff; background: linear-gradient(90deg,#FF8A3D,#FF6A00); border-color: transparent;
}
.sh-odbar { gap: 8px; }
.sh-odbar .sh-obtn { flex: 1; text-align: center; padding: 9px 0; }

/* 订单详情 */
.sh-odetop {
  background: linear-gradient(180deg, #FF8A3D, #FF6A00);
  color: #fff; padding: 22px 16px 20px 16px; border-radius: 0 0 16px 16px;
}
.sh-odestate { font-size: 20px; font-weight: 700; }
.sh-odetip { font-size: 12px; opacity: .92; margin-top: 6px; }
.sh-flow { display: flex; margin-top: 20px; }
.sh-flownode { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sh-flownode:not(:first-child)::before {
  content: ''; position: absolute; top: 8px; right: 50%; width: 100%; height: 2px;
  background: rgba(255,255,255,.35);
}
.sh-flownode.done::before, .sh-flownode.on::before { background: #fff; }
.sh-flowdot {
  position: relative; z-index: 1;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.35); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sh-flownode.done .sh-flowdot, .sh-flownode.on .sh-flowdot { background: #fff; color: #FF6A00; }
.sh-flownode.on .sh-flowdot i { width: 6px; height: 6px; border-radius: 50%; background: #FF6A00; }
.sh-flowtxt { font-size: 11px; opacity: .92; }
.sh-oaddr { display: flex; gap: 10px; align-items: center; margin-top: -12px; }
.sh-ofoot { padding: 4px 12px 14px; }
.sh-ofnx { justify-content: flex-end; gap: 16px; margin-top: 6px; }
.sh-ofnk { font-size: 12px; color: var(--text2); }

/* ---------------------------------------------------------
 * 11. 物流跟踪
 * ------------------------------------------------------- */
.sh-logihead {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 12px; margin: 10px 12px; padding: 14px 12px;
}
.sh-logiico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(255,106,0,.12); color: #FF6A00;
  display: flex; align-items: center; justify-content: center;
}
.sh-logimain { flex: 1; min-width: 0; }
.sh-logititle { font-size: 15px; font-weight: 600; color: var(--text); }
.sh-logisub { font-size: 11px; color: var(--text2); margin-top: 4px; }
.sh-logiphone {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: rgba(52,199,89,.12); color: #34C759;
  display: flex; align-items: center; justify-content: center;
}
.sh-logi { background: var(--card); border-radius: 12px; margin: 0 12px 20px; padding: 14px 12px; }
.sh-lognode { display: flex; gap: 10px; position: relative; padding-bottom: 18px; }
.sh-lognode:last-child { padding-bottom: 0; }
.sh-logdot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: #D8D8DC; margin-top: 5px; position: relative; z-index: 1;
}
.sh-lognode:not(:last-child)::before {
  content: ''; position: absolute; left: 4.5px; top: 12px; bottom: 0; width: 1px;
  background: var(--sep);
}
.sh-lognode.done .sh-logdot { background: #FF6A00; }
.sh-lognode.cur .sh-logdot { background: #FF6A00; box-shadow: 0 0 0 4px rgba(255,106,0,.16); }
.sh-logbody { flex: 1; min-width: 0; }
.sh-logtitle { font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.sh-lognode.done .sh-logtitle, .sh-lognode.cur .sh-logtitle { font-weight: 600; }
.sh-logcur {
  font-size: 10px; font-style: normal; color: #FF6A00;
  background: rgba(255,106,0,.12); padding: 1px 6px; border-radius: 6px;
}
.sh-logtime { font-size: 11px; color: var(--text3); margin-top: 4px; }
.sh-logplace { font-size: 12px; color: var(--text2); margin-top: 3px; line-height: 1.5; }
.sh-logcourier {
  font-size: 12px; color: var(--text2); margin-top: 8px;
  display: flex; align-items: center; gap: 10px;
}
.sh-logcall {
  font-size: 11px; color: #34C759; border: .5px solid rgba(52,199,89,.5);
  padding: 2px 10px; border-radius: 10px;
}

/* ---------------------------------------------------------
 * 12. 评价
 * ------------------------------------------------------- */
.sh-rvpage { padding-bottom: 10px; }
.sh-rvgoods { display: flex; align-items: center; gap: 10px; }
.sh-rvform { padding: 14px 12px; }
.sh-rvflabel { font-size: 13px; color: var(--text2); margin: 4px 0 8px; }
.sh-starpick { display: flex; gap: 6px; }
.sh-starbtn { color: #E5E5EA; font-size: 0; }
.sh-starbtn.on { color: #FF9500; }
.sh-rvfval { font-size: 12px; color: #FF9500; text-align: center; margin: 6px 0 14px; }
.sh-rvform textarea {
  width: 100%; font-size: 14px; color: var(--text); line-height: 1.6;
  background: rgba(118,118,128,.08); border-radius: 10px; padding: 10px 12px;
  resize: none; min-height: 96px; margin-bottom: 14px;
}
.sh-rvform textarea::placeholder { color: var(--text3); }
.sh-rvadd {
  width: 76px; height: 76px; border-radius: 8px; flex: none;
  border: 1px dashed var(--text3); color: var(--text3);
  display: flex; align-items: center; justify-content: center;
  background: rgba(118,118,128,.06);
}

/* ---------------------------------------------------------
 * 13. 售后
 * ------------------------------------------------------- */
.sh-asitem { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.sh-asitem:first-of-type { padding-top: 4px; }
.sh-asradios { display: flex; flex-direction: column; }
.sh-asradio {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 46px; font-size: 14px; color: var(--text); text-align: left;
  border-bottom: .5px solid var(--sep);
}
.sh-asradio:last-child { border-bottom: none; }
.sh-asradio.on { color: #FF6A00; }
.sh-asradios2 .sh-asradio { font-size: 13px; min-height: 42px; }
.sh-asnote textarea {
  width: 100%; font-size: 14px; color: var(--text); line-height: 1.6;
  background: rgba(118,118,128,.08); border-radius: 10px; padding: 10px 12px;
  resize: none; min-height: 86px;
}
.sh-asnote textarea::placeholder { color: var(--text3); }
.sh-asunit { font-size: 13px; color: var(--text2); flex: none; }
.sh-asbanner {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,106,0,.08); border-radius: 12px;
  padding: 12px; font-size: 13px; color: #FF6A00;
}
.sh-asbanner-tx { flex: 1; }
.sh-asbanner-btn {
  flex: none; font-size: 12px; color: #FF6A00;
  border: .5px solid #FF6A00; padding: 3px 12px; border-radius: 12px;
}
.sh-asdone { text-align: center; padding: 26px 16px 18px; }
.sh-asdoneico {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px;
  background: #34C759; color: #fff;
  display: flex; align-items: center; justify-content: center;
  animation: shSpring 500ms var(--ease);
}
.sh-asdonetitle { font-size: 18px; font-weight: 700; color: var(--text); }
.sh-asdoneamt { font-size: 26px; font-weight: 700; color: #34C759; margin-top: 8px; font-variant-numeric: tabular-nums; }
.sh-asdonesub { font-size: 12px; color: var(--text2); margin-top: 8px; }
.sh-asrej { text-align: center; padding: 20px 16px 14px; }
.sh-asrejico { color: #FF3B30; display: flex; justify-content: center; margin-bottom: 10px; }
.sh-asrejtitle { font-size: 16px; font-weight: 600; color: var(--text); }
.sh-asrejsub { font-size: 12px; color: var(--text2); margin-top: 8px; line-height: 1.5; }
.sh-asflow {
  display: flex; margin-top: 20px; padding: 0 2px;
  --shline: rgba(255,255,255,.35);
}
.sh-asfnode { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sh-asfnode:not(:first-child)::before {
  content: ''; position: absolute; top: 8px; right: 50%; width: 100%; height: 2px;
  background: var(--shline);
}
.sh-asfnode.done::before, .sh-asfnode.on::before { background: #fff; }
.sh-asfnode.done .sh-flowdot, .sh-asfnode.on .sh-flowdot { background: #fff; color: #FF6A00; }
.sh-asfnode.fail .sh-flowdot { background: #FF3B30; color: #fff; }
.sh-asfnode.on .sh-flowdot i { width: 6px; height: 6px; border-radius: 50%; background: #FF6A00; }

/* ---------------------------------------------------------
 * 14. 消息中心
 * ------------------------------------------------------- */
.sh-msgchips {
  flex: none; display: flex; gap: 8px; overflow-x: auto;
  padding: 9px 12px; background: var(--card);
  border-bottom: .5px solid var(--sep); scrollbar-width: none;
}
.sh-msgchips::-webkit-scrollbar { height: 0; }
.sh-msgchip {
  flex: none; font-size: 12px; color: var(--text2);
  background: rgba(118,118,128,.12); padding: 6px 14px; border-radius: 14px;
}
.sh-msgchip.on { background: rgba(255,106,0,.12); color: #FF6A00; font-weight: 600; }
.sh-msglist { padding: 10px 12px; }
.sh-msgrow {
  display: flex; align-items: center; gap: 11px;
  background: var(--card); border-radius: 12px; padding: 13px 12px; margin-bottom: 9px;
}
.sh-msgrow.read { opacity: .72; }
.sh-msgico {
  position: relative; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,122,255,.12); color: #007AFF;
}
.sh-msgico.sh-cat-order { background: rgba(255,106,0,.12); color: #FF6A00; }
.sh-msgico.sh-cat-sys { background: rgba(0,122,255,.12); color: #007AFF; }
.sh-msgico.sh-cat-service { background: rgba(52,199,89,.14); color: #34C759; }
.sh-msgico.sh-cat-promo { background: rgba(175,82,222,.12); color: #AF52DE; }
.sh-msgdot {
  position: absolute; top: -2px; right: -2px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #FF3B30; border: 1.5px solid var(--card);
}
.sh-msgmain { flex: 1; min-width: 0; }
.sh-msgtop { display: flex; align-items: baseline; gap: 8px; }
.sh-msgtitle { flex: 1; font-size: 14px; font-weight: 600; color: var(--text); }
.sh-msgtime { font-size: 11px; color: var(--text3); flex: none; }
.sh-msgtxt { font-size: 12px; color: var(--text2); margin-top: 4px; line-height: 1.45; }
.sh-msgarrow { color: var(--text3); display: flex; flex: none; }

.sh-msgdetail { padding: 8px 16px 30px; }
.sh-msgdhead { padding: 12px 0 16px; border-bottom: .5px solid var(--sep); }
.sh-msgdtitle { font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.4; }
.sh-msgdtime { font-size: 12px; color: var(--text3); margin-top: 8px; }
.sh-msgdbody { padding: 16px 0 0; }
.sh-msgdbody p { font-size: 14px; color: var(--text); line-height: 1.75; margin: 0 0 14px; }
.sh-msgdimg { width: 100%; height: 160px; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.sh-msgdimg .thumb { width: 100%; height: 100%; }
.sh-msgdbody p.sh-msgdsign { text-align: right; color: var(--text3); }
.sh-msgdact { padding: 0 16px 30px; }

/* ---------------------------------------------------------
 * 15. 我的
 * ------------------------------------------------------- */
.sh-mhead {
  flex: none; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(150deg, #FF9A4D, #FF6A00);
  color: #fff; padding: 18px 16px 26px; border-radius: 0 0 18px 18px;
}
.sh-mava { flex: none; display: flex; border-radius: 50%; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.sh-mmain { flex: 1; min-width: 0; }
.sh-mname { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.sh-mvip {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 500; color: #8A4A00;
  background: linear-gradient(90deg,#FFE7A8,#FFD06B);
  padding: 2px 8px; border-radius: 9px;
}
.sh-msub { font-size: 12px; opacity: .9; margin-top: 5px; }
.sh-mset { color: #fff; flex: none; padding: 4px; }
.sh-mwallet {
  display: flex; background: var(--card); border-radius: 14px;
  margin: -14px 12px 12px; padding: 14px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
}
.sh-mwcell { flex: 1; text-align: center; position: relative; }
.sh-mwcell:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: .5px; height: 24px; background: var(--sep);
}
.sh-mwcell b { display: block; font-size: 17px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.sh-mwcell span { font-size: 11px; color: var(--text2); }
.sh-mcard { background: var(--card); border-radius: 12px; margin: 0 12px 12px; padding: 14px 12px 6px; }
.sh-mcardhead { display: flex; align-items: center; margin-bottom: 10px; }
.sh-mcardtitle { font-size: 16px; font-weight: 700; color: var(--text); }
.sh-mmore { margin-left: auto; font-size: 12px; color: var(--text2); display: flex; align-items: center; gap: 1px; }
.sh-mogrid { display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 10px; }
.sh-moitem { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.sh-moico { position: relative; color: #FF6A00; display: flex; }
.sh-moname { font-size: 12px; color: var(--text); }
.sh-mobadge {
  position: absolute; top: -6px; right: -12px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: #FF3B30; color: #fff; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.sh-mtools { margin-bottom: 12px; }
.sh-mfoot { text-align: center; font-size: 11px; color: var(--text3); padding: 16px 0 26px; }

/* ---------------------------------------------------------
 * 16. 优惠券 / 收藏 / 足迹
 * ------------------------------------------------------- */
.sh-cpwrap { padding: 10px 12px 4px; }
.sh-cpcard {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 12px; padding: 12px; margin-bottom: 10px;
}
.sh-cpcard.off { opacity: .55; }
.sh-cpcardl {
  flex: none; width: 84px; text-align: center;
  border-right: .5px dashed var(--sep); padding-right: 10px;
}
.sh-cpcardl b { font-size: 22px; color: #FF4A22; font-variant-numeric: tabular-nums; }
.sh-cpcardc { font-size: 11px; color: var(--text2); margin-top: 3px; }
.sh-cpcardm { flex: 1; min-width: 0; }
.sh-cpcardn { font-size: 14px; color: var(--text); }
.sh-cpcarde { font-size: 11px; color: var(--text3); margin-top: 4px; }
.sh-cpcardb {
  flex: none; font-size: 12px; color: #fff; background: #FF6A00;
  padding: 5px 14px; border-radius: 13px;
}
.sh-cpcardb.done { background: rgba(118,118,128,.18); color: var(--text2); }
.sh-favdel {
  position: absolute; right: 6px; top: 6px; z-index: 3;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,.42); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sh-footlist { padding: 0 12px; }
.sh-footrow {
  display: flex; align-items: center; gap: 11px;
  background: var(--card); border-radius: 12px; padding: 12px; margin-bottom: 9px;
}
.sh-footmain { flex: 1; min-width: 0; }
.sh-foottime { font-size: 11px; color: var(--text3); margin-top: 5px; }

/* ---------------------------------------------------------
 * 17. 客服会话
 * ------------------------------------------------------- */
.sh-svbg { background: #F5F5F7; }
html.dark .sh-svbg { background: #000; }
.sh-svwarn {
  display: flex; align-items: center; gap: 5px; justify-content: center;
  font-size: 11px; color: var(--text2); padding: 12px 16px;
}
.sh-svlist { padding: 0 12px 16px; display: flex; flex-direction: column; gap: 14px; }
.sh-svrow { display: flex; align-items: flex-end; gap: 8px; }
.sh-svrow.me { justify-content: flex-end; }
.sh-svava { flex: none; display: flex; }
.sh-svbub {
  max-width: 74%; font-size: 14px; line-height: 1.5;
  background: var(--card); color: var(--text);
  padding: 10px 13px; border-radius: 14px 14px 14px 4px;
  word-break: break-word;
}
.sh-svrow.me .sh-svbub {
  background: linear-gradient(135deg,#FFA53D,#FF7A1F); color: #fff;
  border-radius: 14px 14px 4px 14px;
}
.sh-svbar { gap: 8px; }
.sh-svbar input {
  flex: 1; height: 38px; border-radius: 19px;
  background: rgba(118,118,128,.12); padding: 0 14px;
  font-size: 14px; color: var(--text);
}
.sh-svbar input::placeholder { color: var(--text3); }
.sh-svsend {
  flex: none; width: 40px; height: 38px; border-radius: 19px;
  background: linear-gradient(90deg,#FF8A3D,#FF6A00); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* ---------------------------------------------------------
 * 18. 设置
 * ------------------------------------------------------- */
.sh-setgroup { margin-bottom: 12px; }
.sh-setgroup:first-child { padding-top: 12px; }

/* ---------------------------------------------------------
 * 19. 搜索页
 * ------------------------------------------------------- */
.sh-shead {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 2px 12px 10px; background: var(--card);
}
.sh-sinput {
  flex: 1; height: 38px; border-radius: 12px;
  background: rgba(118,118,128,.12);
  display: flex; align-items: center; gap: 7px; padding: 0 12px;
  color: var(--text2);
}
.sh-sinput input { flex: 1; font-size: 15px; color: var(--text); background: none; }
.sh-sinput input::placeholder { color: var(--text2); }
.sh-scancel { font-size: 15px; color: #FF6A00; flex: none; }
.sh-sblock { background: var(--card); border-radius: 12px; margin: 10px 12px; padding: 14px 12px; }
.sh-sblockhead { display: flex; align-items: center; margin-bottom: 12px; }
.sh-stitle { font-size: 15px; font-weight: 600; color: var(--text); }
.sh-sclear {
  margin-left: auto; font-size: 12px; color: var(--text2);
  display: flex; align-items: center; gap: 3px;
}
.sh-shot { margin-left: auto; font-size: 11px; color: #FF6A00; display: flex; align-items: center; gap: 3px; }
.sh-schips { display: flex; flex-wrap: wrap; gap: 9px; }
.sh-schip {
  font-size: 13px; color: var(--text); background: rgba(118,118,128,.12);
  padding: 6px 14px; border-radius: 14px;
}
.sh-schip.hot { color: #FF4A22; background: rgba(255,74,34,.1); }
.sh-sguess { display: flex; flex-direction: column; }
.sh-sgrow {
  display: flex; align-items: center; gap: 8px;
  min-height: 42px; font-size: 13px; color: var(--text2);
  border-bottom: .5px solid var(--sep);
}
.sh-sgrow:last-child { border-bottom: none; }

/* ---------------------------------------------------------
 * 20. 店铺页
 * ------------------------------------------------------- */
.sh-shophead {
  background: var(--card); border-radius: 12px; margin: 10px 12px;
  padding: 14px 12px 0; overflow: hidden;
}
.sh-shoprow { display: flex; align-items: center; gap: 12px; }
.sh-shopmain { flex: 1; min-width: 0; }
.sh-shopname { font-size: 17px; font-weight: 700; color: var(--text); }
.sh-shopmeta { display: flex; gap: 10px; font-size: 11px; color: var(--text2); margin-top: 5px; }
.sh-shopstats {
  display: flex; margin-top: 14px; padding: 12px 0;
  border-top: .5px solid var(--sep);
}
.sh-shopstats span {
  flex: 1; text-align: center; font-size: 11px; color: var(--text2);
  display: flex; flex-direction: column; gap: 3px;
}
.sh-shopstats b { font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.sh-shopsec { padding-top: 4px; }
.sh-grid-fav { grid-template-columns: repeat(2, 1fr); }

/* ---------------------------------------------------------
 * 21. 零散修饰
 * ------------------------------------------------------- */
.sh-rec-head { padding-bottom: 6px; }
.sh-cqty { flex: none; margin-left: auto; }
.sh-spec-qty { flex: none; }
.sh-cqty .sv, .sh-spec-qty .sv { min-width: 30px; }
.sh-catall .btn { width: 100%; }
.sh-msgdact .btn { width: 100%; }
.sh-adclear .btn { width: 100%; }





