/* 悬浮购物车按钮 + 展开清单（挂 body 顶层，滚动时始终可见） */
#aizxCartBarMount{display:none!important;}
.aizx-cart-float{
  position:fixed!important;
  top:max(12px, env(safe-area-inset-top, 0px));
  right:max(12px, env(safe-area-inset-right, 0px));
  z-index:10050;
  pointer-events:none;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.aizx-cart-fab{
  width:62px;height:62px;border-radius:50%;border:none;cursor:pointer;
  background:linear-gradient(145deg,#ff8f1f 0%,#ff7d00 55%,#e86a00 100%);
  color:#fff;font-size:28px;line-height:1;
  box-shadow:0 6px 24px rgba(255,125,0,.45),0 2px 8px rgba(0,0,0,.12);
  display:flex;align-items:center;justify-content:center;
  position:relative;transition:transform .15s ease,box-shadow .15s ease;
  pointer-events:auto;
  -webkit-tap-highlight-color:transparent;
}
.aizx-cart-fab:active{transform:scale(.94);}
.aizx-cart-fab.is-open{
  box-shadow:0 4px 16px rgba(255,125,0,.35);
}
.aizx-cart-badge{
  position:absolute;top:-4px;right:-4px;
  min-width:26px;height:26px;padding:0 6px;box-sizing:border-box;
  background:#f53f3f;color:#fff;border-radius:13px;
  font-size:16px;font-weight:800;line-height:26px;text-align:center;
  border:2px solid #fff;box-shadow:0 2px 8px rgba(245,63,63,.4);
  pointer-events:none;
}
.aizx-cart-badge[hidden]{display:none!important;}
.aizx-cart-sheet{
  position:fixed!important;inset:0;z-index:10049;
  display:flex;align-items:flex-start;justify-content:flex-end;
  padding:max(70px, calc(12px + env(safe-area-inset-top, 0px))) 12px 16px;
  pointer-events:none;
}
.aizx-cart-sheet[hidden]{display:none!important;}
.aizx-cart-sheet.is-open{pointer-events:auto;}
.aizx-cart-sheet-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.35);
  opacity:0;transition:opacity .2s ease;
}
.aizx-cart-sheet.is-open .aizx-cart-sheet-backdrop{opacity:1;}
.aizx-cart-sheet-panel{
  position:relative;z-index:1;
  width:min(96vw,420px);max-height:min(78vh,560px);
  display:flex;flex-direction:column;
  background:linear-gradient(165deg,#fff 0%,#f8fbff 100%);
  border:1px solid #c5d9f5;border-radius:16px;
  box-shadow:0 16px 48px rgba(0,0,0,.18);
  transform:translateY(-8px) scale(.96);opacity:0;
  transition:transform .22s ease,opacity .22s ease;
  overflow:hidden;
  font-size:17px;
}
.aizx-cart-sheet.is-open .aizx-cart-sheet-panel{
  transform:translateY(0) scale(1);opacity:1;
}
.aizx-cart-sheet-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:16px 18px 12px;border-bottom:1px dashed #d6e4ff;flex-shrink:0;
}
.aizx-cart-sheet-head strong{font-size:21px;color:#1d2129;}
.aizx-cart-sheet-head span{font-size:16px;color:#4e5969;display:block;margin-top:4px;}
.aizx-cart-sheet-close{
  border:none;background:#f2f3f5;color:#4e5969;width:40px;height:40px;
  border-radius:50%;font-size:26px;line-height:1;cursor:pointer;flex-shrink:0;
}
.aizx-cart-sheet-body{
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:12px 14px 16px;flex:1;min-height:0;
}
.aizx-cart-empty{
  text-align:center;padding:32px 18px;color:#4e5969;font-size:18px;line-height:1.65;
}
.aizx-cart-groups{padding:0;}
.aizx-cart-group{
  background:#fff;border:1px solid #e5e9f2;border-radius:12px;
  padding:12px 14px;margin-bottom:12px;
}
.aizx-cart-group:last-child{margin-bottom:0;}
.aizx-cart-group-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px;
}
.aizx-cart-shop{font-size:18px;font-weight:700;color:#1d2129;line-height:1.4;}
.aizx-cart-shop-meta{font-size:15px;color:#4e5969;margin-top:4px;}
.aizx-cart-line{
  display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px dashed #eef0f4;
  font-size:16px;color:#1d2129;
}
.aizx-cart-line-title{
  flex:1;min-width:0;font-size:17px;font-weight:600;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;text-overflow:ellipsis;white-space:normal;
}
.aizx-cart-qty-wrap{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.aizx-cart-qty-btn{
  width:36px;height:36px;border:1px solid #d6e4ff;background:#f7f9ff;border-radius:8px;
  font-size:22px;line-height:1;cursor:pointer;color:#3682ed;padding:0;
}
.aizx-cart-qty-val{min-width:24px;text-align:center;font-weight:700;font-size:19px;color:#1d2129;}
.aizx-cart-line-price{flex-shrink:0;font-weight:700;font-size:18px;color:#ff7d00;min-width:68px;text-align:right;}
.aizx-cart-line-del{
  border:none;background:transparent;color:#86909c;font-size:24px;cursor:pointer;padding:0 4px;line-height:1;
}
.aizx-cart-group-foot{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;
  border-top:1px solid #eef0f4;
}
.aizx-cart-total{font-size:17px;color:#1d2129;}
.aizx-cart-total strong{color:#ff7d00;font-size:22px;}
.aizx-cart-checkout{
  flex-shrink:0;border:none;border-radius:22px;padding:11px 20px;font-size:18px;font-weight:700;
  cursor:pointer;background:linear-gradient(90deg,#ff7d00,#ff9a2e);color:#fff;
}
.aizx-cart-checkout:disabled{opacity:.55;cursor:not-allowed;}
.aizx-cart-clear-shop{
  border:none;background:transparent;color:#4e5969;font-size:15px;cursor:pointer;padding:4px 0;
}
.aizx-cart-toast{
  position:fixed;bottom:72px;left:50%;transform:translateX(-50%);
  background:rgba(0,0,0,.78);color:#fff;padding:12px 20px;border-radius:22px;
  font-size:17px;z-index:10060;max-width:92vw;text-align:center;line-height:1.5;
}
.product-chat-card .pc-btn-cart{
  border:none;cursor:pointer;font-family:inherit;
  font-size:16px!important;font-weight:700!important;padding:10px 14px!important;
}
.aizx-settle-page{max-width:480px;margin:0 auto;padding:16px 14px 32px;font-size:17px;}
.aizx-settle-card{
  background:#fff;border-radius:14px;border:1px solid #e5e9f2;padding:18px;
  box-shadow:0 4px 16px rgba(0,0,0,.06);margin-bottom:12px;
}
.aizx-settle-line{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px dashed #eef0f4;font-size:17px;line-height:1.45;}
.aizx-settle-line:last-child{border-bottom:none;}
.aizx-settle-pay-btn{
  display:block;width:100%;margin-top:14px;padding:16px;border:none;border-radius:12px;
  font-size:20px;font-weight:700;cursor:pointer;
  background:linear-gradient(90deg,#00b578,#00a870);color:#fff;
}
.aizx-settle-pay-btn:disabled{opacity:.55;cursor:not-allowed;}
