@charset "utf-8";
/* ============================================================================
 * 结算页皮肤（flow.dwt / step=checkout 专用）
 * Checkout page skin
 * 深圳市爱租网络有限公司2016-2026
 * Shenzhen iZucn Network Co.,Ltd. 2016-2026
 * ============================================================================
 * 说明：
 *   1. 仅作用于 form#theForm，不影响购物车、续租结算（#thexuzuForm）等其它流程；
 *   2. 保留原始 DOM 结构、id / name / ectype / data-* / 隐藏字段与全部 JS 钩子，
 *      本文件只重写外观；
 *   3. 布局：左侧步骤卡片流 + 右侧订单详情（吸顶），由 .w.w1200 上的 CSS Grid
 *      完成，不移动 #MANMALL_ORDERTOTAL，Ajax 局部刷新不受影响；
 *   4. 颜色一律引用主题变量并保留兜底值，多站点 / 多语言 / 多货币无需改代码；
 *   5. 价格、数量、状态等列使用 CSS Grid 自适应列宽，长语言文案不挤压错位；
 *   6. 兼容 RTL（阿拉伯语等），方向相关属性优先使用逻辑属性。
 * ==========================================================================*/

/* ---------- 1. 页面两栏骨架 ---------- */
.flow-page #theForm > .w.w1200{
  display:grid;
  grid-template-columns:minmax(0,1fr) 364px;
  gap:20px;
  align-items:start;
}
/* .w 的 clearfix 伪元素在 Grid 中会成为真实布局项，必须移除 */
.flow-page #theForm > .w.w1200::before,
.flow-page #theForm > .w.w1200::after{ content:none !important; display:none !important; }

.flow-page #theForm .checkout-warp{
  grid-column:1;
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
  margin:0;
  padding:0;
  background:transparent;
}
.flow-page #theForm .checkout-warp::before,
.flow-page #theForm .checkout-warp::after{ content:none !important; display:none !important; }

.flow-page #theForm #MANMALL_ORDERTOTAL{
  grid-column:2;
  position:sticky;
  top:20px;
  align-self:start;
  min-width:0;
  background:#fff;
  border:1px solid var(--flow-border,#eef0f3);
  border-radius:16px;
  box-shadow:0 6px 24px rgba(35,47,62,.08);
  overflow:hidden;
}

/* ---------- 2. 左侧步骤卡片 ---------- */
.flow-page #theForm .ck-step{
  margin:0;
  padding:22px 24px 24px;
  background:#fff;
  border:1px solid var(--flow-border,#eef0f3);
  border-radius:16px;
  box-shadow:var(--flow-shadow-card,0 1px 4px rgba(35,47,62,.06));
  box-sizing:border-box;
}
.flow-page #theForm .ck-step-tit{
  display:flex;
  align-items:center;
  gap:12px;
  height:auto;
  line-height:1.4;
  margin:0 0 18px;
  padding:0 0 14px;
  border-bottom:1px solid var(--flow-border,#eef0f3);
}
.flow-page #theForm .ck-step-tit h3{
  float:none;
  flex:1 1 auto;
  min-width:0;
  margin:0;
  font-size:17px;
  font-weight:700;
  color:var(--flow-text,#333);
}
.flow-page #theForm .ck-step-tit .extra-r{
  float:none;
  flex:0 0 auto;
  font-size:13px;
  color:var(--color-primary,#232f3e);
  text-decoration:none;
  white-space:nowrap;
}
.flow-page #theForm .ck-step-tit .extra-r:hover{ text-decoration:underline; }
.flow-page #theForm .ck-step-cont{ margin-top:0; padding-bottom:0; }

/* ---------- 3. 收货地址 ---------- */
.flow-page #theForm .consignee-warp{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:12px;
}
.flow-page #theForm .consignee-warp > .clear{ display:none !important; }

.flow-page #theForm .cs-w-item{
  float:none;
  width:auto;
  height:auto;
  min-height:132px;
  margin:0;
  padding:16px 18px 36px;
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:12px;
  background:#fff;
  color:var(--flow-muted,#8c8c8c);
  font-size:13px;
  line-height:1.5;
  position:relative;
  cursor:pointer;
  box-sizing:border-box;
  transition:border-color .18s, box-shadow .18s, background-color .18s;
}
.flow-page #theForm .cs-w-item:hover{
  border-color:#b9c2cc;
  box-shadow:0 6px 16px rgba(35,47,62,.08);
}
.flow-page #theForm .cs-w-item.cs-selected{
  border-color:var(--color-primary,#232f3e);
  background:#f7f9fb;
  box-shadow:0 0 0 3px rgba(35,47,62,.08);
}
.flow-page #theForm .cs-w-item .item-tit{
  display:flex;
  align-items:center;
  gap:8px;
  height:auto;
  line-height:1.4;
  padding-inline-end:26px;
}
.flow-page #theForm .cs-w-item .username{
  float:none;
  margin:0;
  font-size:16px;
  font-weight:700;
  color:var(--flow-text,#333);
  word-break:break-word;
}
.flow-page #theForm .cs-w-item .remark{
  float:none;
  margin:0;
  font-size:12px;
  color:var(--flow-muted,#8c8c8c);
}
.flow-page #theForm .cs-w-item .item-tel{
  height:auto;
  line-height:1.5;
  margin-top:8px;
  font-size:13px;
  color:var(--flow-text,#333);
}
.flow-page #theForm .cs-w-item .item-address{
  margin-top:6px;
  font-size:13px;
  line-height:1.6;
  color:var(--flow-muted,#8c8c8c);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  word-break:break-word;
}

/* 选中标记：右上角圆形对勾 */
.flow-page #theForm .cs-w-item .icon{
  display:none;
  position:absolute;
  inset-inline-end:14px;
  inset-inline-start:auto;
  top:14px;
  bottom:auto;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--color-primary,#232f3e);
  background-image:none;
  z-index:2;
}
.flow-page #theForm .cs-w-item .icon::after{
  content:"";
  position:absolute;
  left:6px;
  top:3px;
  width:4px;
  height:8px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
}
.flow-page #theForm .cs-w-item.cs-selected .icon{ display:block; }

/* 修改 / 删除：固定右下角，避免与姓名、选中标记重叠 */
.flow-page #theForm .cs-w-item .cs-acts{
  position:absolute;
  inset-inline-end:16px;
  inset-inline-start:auto;
  bottom:12px;
  top:auto;
  display:flex;
  align-items:center;
  gap:14px;
  z-index:3;
}
.flow-page #theForm .cs-w-item .cs-acts .edit,
.flow-page #theForm .cs-w-item .cs-acts .delete{
  position:static;
  display:inline-block;
  float:none;
  margin:0;
  font-size:12px;
  line-height:18px;
  color:var(--color-primary,#232f3e);
  white-space:nowrap;
}
.flow-page #theForm .cs-w-item .cs-acts .edit:hover,
.flow-page #theForm .cs-w-item .cs-acts .delete:hover{ text-decoration:underline; }

/* 新增地址卡片 */
.flow-page #theForm .cs-w-item.cs-add-item{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  border-style:dashed;
  background:#fbfcfd;
}
.flow-page #theForm .cs-w-item.cs-add-item:hover{
  border-color:var(--color-primary,#232f3e);
  background:#f7f9fb;
}
.flow-page #theForm .cs-add-item .add-new-address{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:0;
  color:var(--flow-muted,#8c8c8c);
  font-size:13px;
  text-decoration:none;
}
.flow-page #theForm .cs-add-item .add-new-address .iconfont{
  width:auto;
  height:auto;
  line-height:1;
  font-size:28px;
  color:#c3cbd4;
}
.flow-page #theForm .cs-add-item:hover .add-new-address,
.flow-page #theForm .cs-add-item:hover .add-new-address .iconfont{ color:var(--color-primary,#232f3e); }

/* ---------- 4. 支付方式 ---------- */
.flow-page #theForm .payment-warp .payment-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.flow-page #theForm .payment-warp .p-radio-item{
  min-width:168px;
  min-height:56px;
  padding:12px 18px;
  justify-content:flex-start;
  background:#fff;
}
.flow-page #theForm .payment-warp .p-radio-item span{
  display:inline-flex;
  align-items:center;
}
.flow-page #theForm .payment-warp .p-radio-item .pay-logo{
  display:inline-block;
  height:22px;
  width:auto;
  max-width:72px;
  margin-inline-end:8px;
  vertical-align:middle;
  flex:0 0 auto;
}
.flow-page #theForm .payment-warp .p-radio-item.item-selected{
  background:#f7f9fb;
}

/* ---------- 5. 商品信息 ---------- */
.flow-page #theForm .ck-goods-warp,
.flow-page #theForm .ck-goods-list,
.flow-page #theForm .ck-goods-item,
.flow-page #theForm .ck-goods-cont{ min-width:0; }

.flow-page #theForm .ck-goods-tit{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  height:auto;
  padding:0 0 12px;
}
.flow-page #theForm .ck-goods-tit .ck-store{
  float:none;
  display:flex;
  align-items:center;
  gap:8px;
  line-height:1.4;
  min-width:0;
}
.flow-page #theForm .ck-goods-tit .ck-store .shop-name{
  font-size:14px;
  font-weight:700;
  color:var(--flow-text,#333);
}
.flow-page #theForm .ck-goods-tit .ck-dis-modes{
  float:none;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:12px;
  line-height:1.4;
  position:relative;
}
.flow-page #theForm .ck-dis-tit{
  float:none;
  color:var(--flow-muted,#8c8c8c);
  height:auto;
  line-height:1.4;
}
.flow-page #theForm .ck-dis-info{
  float:none;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  height:auto;
  position:relative;
}
.flow-page #theForm .ck-dis-info .ck-sp-type{
  float:none;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.flow-page #theForm .ck-dis-info .ck-sp-type li{
  float:none;
  height:auto;
  line-height:1.4;
  min-width:0;
  margin:0;
  padding:6px 12px;
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:8px;
  font-size:12px;
  white-space:nowrap;
  cursor:pointer;
}
.flow-page #theForm .ck-dis-info .ck-sp-type li.item-selected{
  border-color:var(--color-primary,#232f3e);
  background:#f7f9fb;
  color:var(--color-primary,#232f3e);
}

/* 配送方式浮层 */
.flow-page #theForm .mwapper,
.flow-page #theForm .ck-dis-warp{
  top:calc(100% + 8px);
  right:auto;
  inset-inline-end:0;
  width:320px;
  max-width:calc(100vw - 60px);
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:10px;
  box-shadow:0 10px 26px rgba(35,47,62,.14);
  overflow:hidden;
}
.flow-page #theForm .mwapper .i-box,
.flow-page #theForm .ck-dis-warp .i-box{ display:none; }
.flow-page #theForm .mwapper-content,
.flow-page #theForm .ck-dis-warp .items{
  padding:14px 16px;
  background:#fff;
  font-size:12px;
  line-height:1.6;
}
.flow-page #theForm .mwapper-content li{ width:calc(50% - 6px); }
.flow-page #theForm .mwapper-content li.item-selected{ color:var(--color-primary,#232f3e); }
.flow-page #theForm .mwapper-logistics{ right:auto; inset-inline-end:0; }
.flow-page #theForm .mwapper-since{ right:auto; inset-inline-end:0; }

/* 商品表：表头与数据行共用列模板 */
.flow-page #theForm .ck-goods-cont{
  background:transparent;
  padding:0;
  overflow:visible;
}
.flow-page #theForm .ck-goods-cont .cg-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) 78px 52px 56px 64px 72px 100px;
  column-gap:8px;
  align-items:center;
  margin:0;
  padding:12px;
  border-bottom:1px solid var(--flow-border,#eef0f3);
  box-sizing:border-box;
}
.flow-page #theForm .ck-goods-cont .cg-item::before,
.flow-page #theForm .ck-goods-cont .cg-item::after{ content:none !important; display:none !important; }
.flow-page #theForm .ck-goods-cont .cg-item > .dian,
.flow-page #theForm .ck-goods-cont .cg-item > .cg-item-line,
.flow-page #theForm .ck-goods-cont .cg-item > .kuan{ display:none !important; }

/* 表头行（只有它是 .ck-goods-cont 的首个 .cg-item.last） */
.flow-page #theForm .ck-goods-cont > .cg-item.last:first-child{
  margin:0 0 6px;
  padding:10px 12px;
  background:#f7f8fa;
  border-bottom:0 !important;
  border-radius:10px;
  color:var(--flow-muted,#8c8c8c);
  font-size:12px;
  font-weight:600;
}
.flow-page #theForm .ck-goods-cont > .cg-item.last:first-child .c-col{
  color:inherit;
  font-size:12px;
}
/* 最后一条商品行不应继承表头样式 */
.flow-page #theForm .ck-goods-cont .cg-item.last:not(:first-child){ border-bottom:0; }

.flow-page #theForm .ck-goods-cont .cg-item .c-col{
  float:none;
  width:auto;
  margin:0;
  padding:0;
  min-width:0;
  font-size:12px;
  line-height:1.5;
  text-align:center;
  word-break:break-word;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name{
  display:flex;
  align-items:flex-start;
  gap:12px;
  text-align:start !important;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-price,
.flow-page #theForm .ck-goods-cont .cg-item .cg-sum{ text-align:end !important; }

.flow-page #theForm .ck-goods-cont .cg-item .cg-name > a{
  display:flex;
  flex:1 1 auto;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  font-size:12px;
  color:inherit;
  text-decoration:none;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .p-img{
  float:none;
  flex:0 0 56px;
  width:56px;
  height:56px;
  border:1px solid var(--flow-border,#eef0f3);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .p-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .p-info{
  float:none;
  flex:1 1 auto;
  width:auto;
  min-width:0;
  margin-left:0;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .p-name{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  width:auto;
  height:auto;
  overflow:hidden;
  white-space:normal;
  font-size:13px;
  line-height:1.5;
  color:var(--flow-text,#333);
  overflow-wrap:anywhere;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .p-name:hover{ color:var(--color-primary,#232f3e); }
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .p-attr{
  margin-top:4px;
  font-size:12px;
  line-height:1.5;
  color:var(--flow-muted,#8c8c8c);
  overflow-wrap:anywhere;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .package_goods .title{ font-size:12px; color:var(--flow-muted,#8c8c8c); }
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .package_goods li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  justify-content:space-between;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-name .package_goods li .goodsName{
  width:auto;
  min-width:0;
  flex:1 1 auto;
}

.flow-page #theForm .ck-goods-cont .cg-item .cg-price > span{
  float:none;
  display:block;
  font-weight:600;
  color:var(--flow-text,#333);
  overflow-wrap:anywhere;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-states{ font-size:11px; color:var(--flow-muted,#8c8c8c); }
.flow-page #theForm .ck-goods-cont .cg-item .cg-number{ font-size:12px; }
.flow-page #theForm .ck-goods-cont .cg-item .cg-state{ font-size:11px; color:var(--flow-muted,#8c8c8c); }
.flow-page #theForm .ck-goods-cont .cg-item .cg-time{
  font-size:11px;
  color:var(--flow-muted,#8c8c8c);
  overflow-wrap:anywhere;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-sum{
  font-size:13px;
  font-weight:700;
  color:var(--color-price,#2f2f34);
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-sum strong{ font-weight:700; }
.flow-page #theForm .ck-goods-cont .cg-item .cg-sum .fr,
.flow-page #theForm .ck-goods-cont .cg-item .cg-sum .cl{
  float:none;
  display:block;
}
.flow-page #theForm .ck-goods-cont .cg-item .cg-sum .cg-zuyajin{
  display:block;
  margin-top:2px;
  font-size:11px;
  font-weight:400;
  color:var(--flow-amber,#b97a10);
}

/* 活动商品块 */
.flow-page #theForm .ck-prom{
  margin:0;
  padding:0;
  border:0;
  position:relative;
}
.flow-page #theForm .ck-prom .ck-prom-header{
  margin:0;
  padding:12px 0 2px;
  font-size:12px;
  color:var(--flow-muted,#8c8c8c);
  line-height:1.6;
}
.flow-page #theForm .ck-prom-first .ck-prom-header{ padding-top:0; }
.flow-page #theForm .ck-prom .ck-prom-header .f-txt{ line-height:1.6; }
.flow-page #theForm .ck-prom .full-icon{
  display:inline-flex;
  align-items:center;
  margin-inline-end:8px;
  padding:2px 8px;
  border-radius:6px;
  background:var(--flow-amber-bg,#fff7e8);
  color:var(--flow-amber,#b97a10);
  font-size:11px;
  font-weight:600;
  line-height:1.6;
}
.flow-page #theForm .ck-prom .full-icon .i-left,
.flow-page #theForm .ck-prom .full-icon .i-right{ display:none; }
.flow-page #theForm .ck-prom .cg-item{
  padding:12px;
  border-bottom:1px solid var(--flow-border,#eef0f3);
}
/* 赠品行浅色底（模板内联背景色，需 !important 覆盖） */
.flow-page #theForm .ck-goods-cont .cg-item[style*="fff7f0"]{
  background:#fffaf3 !important;
  border-radius:8px;
}

/* ---------- 6. 订单备注 ---------- */
.flow-page #theForm .ck-order-remark{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:18px;
  overflow:visible;
}
.flow-page #theForm .ck-order-remark .text{
  float:none;
  width:100%;
  height:42px;
  line-height:42px;
  padding:0 12px;
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:8px;
  background:#fff;
  color:var(--flow-text,#333);
  font-size:13px;
  font-family:inherit;
  box-sizing:border-box;
  outline:none;
  transition:border-color .18s, box-shadow .18s;
}
.flow-page #theForm .ck-order-remark .text:focus{
  border-color:var(--color-primary,#232f3e);
  box-shadow:0 0 0 3px rgba(35,47,62,.08);
}
.flow-page #theForm .ck-order-remark .prompt{
  float:none;
  margin:0;
  font-size:12px;
  line-height:1.5;
  color:var(--flow-muted,#8c8c8c);
}

/* ---------- 7. 发票 ---------- */
.flow-page #theForm .ck-step-tit .tips-new-white{
  float:none;
  position:static;
  top:auto;
  margin:0;
  flex:0 1 auto;
  max-width:62%;
  text-align:end;
}
.flow-page #theForm .tips-new-white b{ display:none; }
.flow-page #theForm .tips-new-white span{
  float:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:0;
  border:0;
  box-shadow:none;
  background:transparent;
  color:var(--flow-muted,#8c8c8c);
  font-size:12px;
  font-weight:400;
  line-height:1.5;
}
.flow-page #theForm .tips-new-white span i{ display:none; }

.flow-page #theForm .invoice-part{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:12px 16px;
  background:#f7f8fa;
  border:1px solid var(--flow-border,#eef0f3);
  border-radius:10px;
}
.flow-page #theForm .invoice-part > span{
  float:none;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:13px;
}
.flow-page #theForm .invoice-part > span em{
  float:none;
  margin:0;
  padding:3px 8px;
  border:1px solid var(--flow-border,#eef0f3);
  border-radius:6px;
  background:#fff;
  color:var(--flow-text,#333);
  font-size:12px;
  font-style:normal;
  line-height:1.5;
}
.flow-page #theForm .invoice-part .i-edit{
  float:none;
  margin:0;
  font-size:13px;
  color:var(--color-primary,#232f3e);
  white-space:nowrap;
}
.flow-page #theForm .invoice-part .i-edit:hover{ text-decoration:underline; }

/* ---------- 8. 其他信息（余额 / 积分 / 支付密码 / 缺货处理） ---------- */
.flow-page #theForm .other-warp .qt_item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  height:auto;
  min-height:0;
  margin:0 0 14px;
  line-height:1.5;
  overflow:visible;
}
.flow-page #theForm .other-warp .qt_item:last-child{ margin-bottom:0; }
.flow-page #theForm .other-warp .qt_item .item_label{
  float:none;
  flex:0 0 auto;
  min-width:96px;
  margin:0;
  padding-top:9px;
  font-size:13px;
  color:var(--flow-text,#333);
}
.flow-page #theForm .other-warp .qt_item .item_value{
  float:none;
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.flow-page #theForm .other-warp .qt_item .qt_text{
  float:none;
  width:220px;
  max-width:100%;
  height:40px;
  line-height:40px;
  padding:0 12px;
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:8px;
  background:#fff;
  color:var(--flow-text,#333);
  font-size:13px;
  font-family:inherit;
  box-sizing:border-box;
  outline:none;
  transition:border-color .18s, box-shadow .18s;
}
.flow-page #theForm .other-warp .qt_item .qt_text:focus{
  border-color:var(--color-primary,#232f3e);
  box-shadow:0 0 0 3px rgba(35,47,62,.08);
}
.flow-page #theForm .other-warp .qt_item .sp{
  float:none;
  margin:0;
  font-size:12px;
  line-height:1.5;
  color:var(--flow-muted,#8c8c8c);
}
/* 校验提示独占一行，避免与说明文字挤在一起 */
.flow-page #theForm .other-warp .qt_item .item_value .sp[id$="_NOTICE"],
.flow-page #theForm .other-warp .qt_item .item_value .sp#MANMALL_PAY_PAYPWD{ flex-basis:100%; }
.flow-page #theForm .other-warp .qt_item .radio-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  line-height:1.5;
}
.flow-page #theForm .other-warp .qt_item .radio-item .ui-radio-label{ margin:0; }

/* ---------- 9. 优惠券 / 储值卡 / 红包 ---------- */
.flow-page #theForm .ck-step-other .ck-step-tit{
  cursor:pointer;
  user-select:none;
}
.flow-page #theForm .ck-step-other .ck-step-tit h3{ pointer-events:none; }
.flow-page #theForm .ck-step-other .ck-step-cont{ padding-top:16px; }
.flow-page #theForm .ck-toggle .iconfont{
  flex:0 0 auto;
  margin:0;
  font-size:14px;
  color:var(--flow-muted,#8c8c8c);
}
.flow-page #theForm .ck-toggle .tag{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  width:auto;
  height:22px;
  margin:0;
  padding:0 9px;
  border-radius:999px;
  background:var(--flow-amber-bg,#fff7e8);
  color:var(--flow-amber,#b97a10);
  font-size:11px;
  font-weight:600;
  line-height:1;
}

.flow-page #theForm .order-virtual-tabs{
  height:auto;
  margin:0 0 14px;
  border:0;
  background:transparent;
}
.flow-page #theForm .order-virtual-tabs ul{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.flow-page #theForm .order-virtual-tabs li{
  float:none;
  padding:0;
  font-size:13px;
  line-height:1;
}
.flow-page #theForm .order-virtual-tabs li span{
  display:inline-flex;
  align-items:center;
  height:34px;
  padding:0 14px;
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:999px;
  background:#fff;
  color:var(--flow-muted,#8c8c8c);
}
.flow-page #theForm .order-virtual-tabs li.curr span{
  border-color:var(--color-primary,#232f3e);
  background:var(--color-primary,#232f3e);
  color:#fff;
}
.flow-page #theForm .order-virtual-tabs li b{ display:none !important; }

.flow-page #theForm .toggle-panel-main{
  padding:0;
  border:0;
  overflow:visible;
}
.flow-page #theForm .panl-coupon .panl-top,
.flow-page #theForm .panl-coupon .panl-bot{
  margin:0;
  padding:0;
  border:0;
}
.flow-page #theForm .panl-coupon .panl-bot{ margin-top:12px; }
.flow-page #theForm .panl-coupon .panl-items{
  width:auto;
  max-width:100%;
  max-height:none;
  overflow:visible;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.flow-page #theForm .panl-coupon .panl-item{
  float:none;
  flex:1 1 calc(50% - 6px);
  min-width:220px;
  max-width:100%;
  height:auto;
  margin:0;
  padding:14px 16px;
  border:1px solid var(--flow-amber-line,rgba(254,189,105,.55));
  border-radius:12px;
  background:var(--flow-amber-bg,#fff7e8);
  color:var(--flow-text,#333);
  box-sizing:border-box;
  position:relative;
  cursor:pointer;
  transition:border-color .18s, box-shadow .18s;
}
.flow-page #theForm .panl-coupon .panl-item:hover{
  border-color:var(--flow-amber,#b97a10);
  box-shadow:0 6px 16px rgba(35,47,62,.08);
}
.flow-page #theForm .panl-coupon .panl-item i{ display:none; }
.flow-page #theForm .panl-coupon .panl-item .panl-item-warp{ position:relative; }
.flow-page #theForm .panl-coupon .panl-item .panl-item-top{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:0;
  padding:0;
  overflow:visible;
}
.flow-page #theForm .panl-coupon .panl-item .panl-item-top strong{
  float:none;
  font-size:22px;
  line-height:1.2;
  font-weight:700;
  color:var(--flow-amber,#b97a10);
}
.flow-page #theForm .panl-coupon .panl-item .panl-item-top span{
  float:none;
  margin:0;
  font-size:12px;
  color:var(--flow-muted,#8c8c8c);
}
.flow-page #theForm .panl-coupon .panl-item .panl-item-top .icon-my{ display:none; }
.flow-page #theForm .panl-coupon .panl-item .panl-item-bot{
  margin-top:8px;
  padding:0;
}
.flow-page #theForm .panl-coupon .panl-item .panl-item-bot p{
  margin:0;
  font-size:12px;
  line-height:1.5;
  color:var(--flow-muted,#8c8c8c);
  overflow-wrap:anywhere;
}
.flow-page #theForm .panl-coupon .panl-item.selected{
  border-color:var(--color-primary,#232f3e);
  background:#f7f9fb;
  box-shadow:0 0 0 3px rgba(35,47,62,.08);
}
.flow-page #theForm .panl-coupon .panl-item.selected b{
  position:absolute;
  inset-inline-end:10px;
  inset-inline-start:auto;
  top:10px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--color-primary,#232f3e) no-repeat;
  display:block;
}
.flow-page #theForm .panl-coupon .panl-item.selected b::after{
  content:"";
  position:absolute;
  left:6px;
  top:3px;
  width:4px;
  height:8px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
}
.flow-page #theForm .panl-coupon .panl-item-disabled{
  background:#f5f6f8;
  border-color:var(--flow-border,#eef0f3);
  color:var(--flow-muted-2,#9aa2af);
  cursor:default;
  box-shadow:none;
}
.flow-page #theForm .panl-coupon .panl-item-disabled .panl-item-top strong{ color:var(--flow-muted,#8c8c8c); }

/* 储值卡 / 红包 */
.flow-page #theForm .panl-stored .panl-warp{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.flow-page #theForm .panl-stored .panl-item{
  float:none;
  flex:1 1 calc(50% - 6px);
  width:auto;
  min-width:220px;
  height:auto;
  margin:0;
  padding:14px 16px;
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:12px;
  background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%);
  color:#fff;
  text-align:start;
  box-sizing:border-box;
}
.flow-page #theForm .panl-stored .panl-item-new{
  background:#fbfcfd;
  border-style:dashed;
  color:var(--flow-muted,#8c8c8c);
}
.flow-page #theForm .panl-stored .panl-item-new a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:18px 0;
  color:inherit;
}
.flow-page #theForm .panl-redBag .panl-items{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  width:auto;
  max-width:100%;
  overflow:visible;
  max-height:none;
}
.flow-page #theForm .panl-redBag .panl-item{
  float:none;
  flex:1 1 calc(50% - 6px);
  width:auto;
  min-width:220px;
  height:auto;
  margin:0;
  padding:14px 16px;
  border:1px solid var(--flow-amber-line,rgba(254,189,105,.55));
  border-radius:12px;
  background:var(--flow-amber-bg,#fff7e8) no-repeat;
  color:var(--flow-text,#333);
  box-sizing:border-box;
}
.flow-page #theForm .panl-redBag .panl-item strong{ display:block; text-align:start; color:var(--flow-amber,#b97a10); }
.flow-page #theForm .panl-redBag .panl-item p{ padding:0; color:var(--flow-muted,#8c8c8c); }
.flow-page #theForm .panl-redBag .panl-item-disabled{ background:#f5f6f8; border-color:var(--flow-border,#eef0f3); }

/* ---------- 10. 右侧订单详情 ---------- */
.flow-page #MANMALL_ORDERTOTAL .money_title{
  display:flex;
  align-items:center;
  gap:8px;
  padding:18px 22px 14px;
  border-bottom:1px solid var(--flow-border,#eef0f3);
  font-size:16px;
  font-weight:700;
  color:var(--flow-text,#333);
}
.flow-page #MANMALL_ORDERTOTAL .money_title::before{
  content:"";
  flex:0 0 auto;
  width:4px;
  height:16px;
  border-radius:2px;
  background:var(--color-primary,#232f3e);
}
.flow-page #MANMALL_ORDERTOTAL .order-summary{
  padding:16px 22px 8px;
  background:transparent;
  overflow:visible;
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic{
  width:auto;
  float:none;
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  line-height:1.6;
  overflow:visible;
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list > span{
  float:none;
  width:auto;
  min-width:0;
  margin:0;
  text-align:start;
  font-size:13px;
  color:var(--flow-muted,#8c8c8c);
  overflow-wrap:anywhere;
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list > .price{
  float:none;
  width:auto;
  text-align:end;
  font-size:13px;
  color:var(--flow-text,#333);
  white-space:nowrap;
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list-goods > span,
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list-goods > .price{
  color:var(--flow-text,#333);
  font-weight:600;
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list-discount > .price{ color:var(--color-primary,#232f3e); }
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list-total{
  align-items:flex-end;
  margin:14px 0 0;
  padding-top:14px;
  border-top:1px dashed var(--flow-border-2,#dfe3e8);
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .list-total > span{
  padding-bottom:3px;
  font-size:13px;
  font-weight:600;
  color:var(--flow-text,#333);
}
.flow-page #MANMALL_ORDERTOTAL .order-summary .statistic .price-total{
  float:none;
  width:auto;
  text-align:end;
  font-size:24px;
  line-height:1.2;
  font-weight:800;
  color:var(--color-price,#2f2f34);
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.flow-page #MANMALL_ORDERTOTAL .amount-sum{
  margin-top:10px;
  font-size:12px;
  line-height:1.5;
  color:var(--flow-muted,#8c8c8c);
}

/* ---------- 11. 提交区 ---------- */
.flow-page #MANMALL_ORDERTOTAL .checkout-foot{
  height:auto;
  line-height:1.5;
  margin:0;
  padding:0 22px 20px;
  background:transparent;
  overflow:visible;
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .checkout-footpro,
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .checkout-footpro2{
  height:auto;
  line-height:1.5;
  margin:0;
  padding:0;
  overflow:visible;
  background:transparent;
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .w.w1200{
  width:auto !important;
  max-width:100%;
  margin:0;
  padding:0;
  box-sizing:border-box;
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .w.w1200::before,
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .w.w1200::after{ content:none !important; display:none !important; }
.flow-page #MANMALL_ORDERTOTAL .checkout-footpro{ margin-bottom:12px; }
.flow-page #MANMALL_ORDERTOTAL .checkout-footpro > .w.w1200 > div{
  float:none !important;
  margin:0 !important;
  padding-top:14px;
  border-top:1px dashed var(--flow-border-2,#dfe3e8);
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:4px;
  font-size:12px;
  line-height:1.6;
  color:var(--flow-muted,#8c8c8c);
}
.flow-page #MANMALL_ORDERTOTAL .checkout-footpro a{
  color:var(--color-primary,#232f3e);
  text-decoration:none;
}
.flow-page #MANMALL_ORDERTOTAL .checkout-footpro a:hover{ text-decoration:underline; }
.flow-page #MANMALL_ORDERTOTAL .checkout-footpro a font{ color:inherit !important; }

.flow-page #MANMALL_ORDERTOTAL .checkout-foot .btn-area{
  float:none;
  width:100%;
  margin:0 !important;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .submit-btn{
  float:none;
  width:100%;
  height:50px;
  line-height:50px;
  padding:0 12px;
  border:0;
  border-radius:10px;
  background:var(--color-primary,#232f3e);
  color:#fff;
  font-size:16px;
  font-weight:700;
  letter-spacing:.2px;
  text-align:center;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(35,47,62,.22);
  transition:transform .15s, box-shadow .15s, background-color .15s;
  box-sizing:border-box;
  white-space:normal;
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .submit-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(35,47,62,.28);
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .submit-btn:active{ transform:translateY(0); }
.flow-page #MANMALL_ORDERTOTAL .checkout-foot #nocheck{
  float:none !important;
  width:100% !important;
  height:50px !important;
  line-height:50px !important;
  margin:0 !important;
  padding:0 12px;
  border:0 !important;
  border-radius:10px;
  background:#c3c9d0 !important;
  color:#fff !important;
  font-size:16px !important;
  font-weight:700;
  box-sizing:border-box;
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .d-address{
  float:none;
  margin:12px 0 0;
  padding-top:12px;
  border-top:1px dashed var(--flow-border-2,#dfe3e8);
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12px;
  line-height:1.5;
  color:var(--flow-muted,#8c8c8c);
}
.flow-page #MANMALL_ORDERTOTAL .checkout-foot .d-address span{
  margin:0;
  overflow-wrap:anywhere;
}

/* 桌面端：提交区留在卡片内，不用整屏悬浮条 */
@media screen and (min-width:1200px){
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom{
    position:static;
    width:auto;
    left:auto;
    bottom:auto;
    border:0;
    box-shadow:none;
    background:transparent;
  }
}

/* ---------- 12. 头部步骤条（结算页 / 购物车共用） ---------- */
.flow-page .header-cart .cart-stepflex{
  height:auto;
  overflow:visible;
}
.flow-page .header-cart .cart-step-item{ float:none; display:flex; align-items:center; }
.flow-page .header-cart .cart-step-item span{
  float:none;
  width:auto;
  height:36px;
  line-height:36px;
  padding:0 18px;
  border:1px solid var(--flow-border-2,#dfe3e8);
  border-radius:999px;
  background:#fff;
  color:var(--flow-muted,#8c8c8c);
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}
.flow-page .header-cart .cart-step-item .iconfont{
  width:auto;
  margin:0 10px;
  color:#cfd6dd;
  font-size:12px;
}
.flow-page .header-cart .cart-step-item.curr span{
  background:var(--color-primary,#232f3e);
  border-color:var(--color-primary,#232f3e);
  color:#fff;
}
.flow-page .header-cart .cart-step-item.cur span{
  border-color:var(--color-primary,#232f3e);
  color:var(--color-primary,#232f3e);
}
.flow-page .header-cart .cart-step-item.curr .iconfont,
.flow-page .header-cart .cart-step-item.cur .iconfont{ color:var(--color-primary,#232f3e); }

/* ---------- 13. 响应式：1200 基准内的窄桌面 ---------- */
@media screen and (max-width:1659px){
  .flow-page #theForm > .w.w1200{ grid-template-columns:minmax(0,1fr) 348px; }
  .flow-page .header-cart .cart-stepflex{ margin-top:28px; }
}
@media screen and (max-width:1339px){
  .flow-page #theForm > .w.w1200{ grid-template-columns:minmax(0,1fr) 336px; gap:16px; }
  .flow-page #theForm .ck-step{ padding:20px; }
  .flow-page #theForm .consignee-warp{ grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
  .flow-page .header-cart .cart-step-item span{ padding:0 14px; font-size:12px; }
  .flow-page .header-cart .cart-step-item .iconfont{ margin:0 6px; }
}
/* 窄视口：单列 + 底部悬浮提交条（隐藏地址摘要，压缩高度） */
@media screen and (max-width:1199px){
  /* 单列：订单详情回到文档流末尾，取消吸顶 */
  .flow-page #theForm > .w.w1200{ grid-template-columns:minmax(0,1fr); }
  .flow-page #theForm .checkout-warp{ grid-column:1; }
  .flow-page #theForm #MANMALL_ORDERTOTAL{
    grid-column:1;
    position:static;
    top:auto;
  }

  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom{
    padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));
    box-sizing:border-box;
    border-radius:16px 16px 0 0;
    background:#fff;
    border-top:1px solid var(--flow-border,#eef0f3);
    box-shadow:0 -6px 24px rgba(35,47,62,.12);
  }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom .w.w1200{
    width:100% !important;
    max-width:none;
  }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom .d-address{ display:none; }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom .checkout-footpro{ margin-bottom:8px; }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom .checkout-footpro > .w.w1200 > div{ padding-top:8px; }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom .btn-area{ margin:0 !important; }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom .submit-btn{ box-shadow:none; }

  /* 商品表压缩固定列，名称列保持可读 */
  .flow-page #theForm .ck-goods-cont .cg-item{
    grid-template-columns:minmax(0,1fr) 68px 44px 48px 56px 64px 88px;
    column-gap:6px;
    padding:10px;
  }
}

/* 手机窄屏：商品行改为「名称整行 + 价格/数量/小计」四列 */
@media screen and (max-width:767px){
  .flow-page #theForm .ck-step{ padding:16px; }
  .flow-page #theForm .consignee-warp{ grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); }
  .flow-page #theForm .ck-goods-cont .cg-item{
    grid-template-columns:minmax(0,1fr) 64px 48px 84px;
    column-gap:6px;
    row-gap:4px;
  }
  .flow-page #theForm .ck-goods-cont .cg-item .cg-states,
  .flow-page #theForm .ck-goods-cont .cg-item .cg-state,
  .flow-page #theForm .ck-goods-cont .cg-item .cg-time{ display:none !important; }
  .flow-page #theForm .ck-goods-cont .cg-item .cg-name .p-img{
    flex:0 0 44px;
    width:44px;
    height:44px;
  }
  .flow-page #MANMALL_ORDERTOTAL .money_title{ padding:16px 16px 12px; }
  .flow-page #MANMALL_ORDERTOTAL .order-summary{ padding:14px 16px 6px; }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot{ padding:0 16px 16px; }
}

/* ---------- 14. 结算页窄屏容器解绑（仅本页，解除全站 1200 最小宽度） ---------- */
@media screen and (max-width:1239px){
  body.flow-page.flow-checkout-page{ min-width:0; }
  body.flow-page.flow-checkout-page .w1200{
    width:auto !important;
    max-width:100%;
    padding-left:18px;
    padding-right:18px;
    box-sizing:border-box;
  }
  .flow-page #MANMALL_ORDERTOTAL .checkout-foot.fixed-bottom .w.w1200{
    padding-left:0;
    padding-right:0;
  }
}
@media screen and (max-width:479px){
  body.flow-page.flow-checkout-page .w1200{ padding-left:12px; padding-right:12px; }
}

/* ---------- 15. RTL 方向微调 ---------- */
html[dir="rtl"] .flow-page .header-cart .cart-step-item .iconfont{ transform:scaleX(-1); }
html[dir="rtl"] .flow-page #theForm .cs-w-item .icon::after{ transform:rotate(-45deg); }
html[dir="rtl"] .flow-page #theForm .ck-goods-cont .cg-item .cg-name{ text-align:right !important; }

/* ---------- 16. 在线支付渠道不可用提示 ---------- */
.flow-page .single-btn .pay-error,
.flow-page .payOrder-mode .pay-error{
  margin:0;
  padding:18px 0;
  color:#d93025;
  font-size:14px;
  line-height:1.6;
  text-align:center;
}

/* ---------- 17. 支付结果页（step=done / xuzudone） ---------- */
.flow-page .pay-result{
  --pay-line:#e6e8eb;
  --pay-muted:#6b7280;
  --pay-title:#1f2937;
  --pay-text:#4b5563;
  --pay-primary:var(--color-primary,#232f3e);
  --pay-price:var(--color-price,#2f2f34);
  margin-bottom:50px;
}

/* 17.1 订单状态区：覆盖旧 payorder.png 背景与 300px 左内边距 */
.flow-page .pay-result .payOrder-desc.pay-result-hero{
  background:#fff;
  background-image:none;
  padding:28px 32px;
  min-height:0;
  border-radius:8px;
  box-shadow:0 1px 2px rgba(16,24,40,.05);
}
.flow-page .pay-result .pay-top{
  padding-top:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}
.flow-page .pay-result .pay-top h3{
  float:none;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:22px;
  font-weight:600;
  line-height:1.4;
  color:var(--pay-title);
}
.flow-page .pay-result .pay-top h3::before{
  content:'';
  flex:0 0 34px;
  width:34px;
  height:34px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='15' fill='%23e8f7ee' stroke='%2316a34a' stroke-width='2'/%3E%3Cpath d='M10 17.5l5 5 9-11' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.flow-page .pay-result .pay-top .pay-total{
  float:none;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1;
}
.flow-page .pay-result .pay-top .pay-total span{
  float:none;
  font-size:13px;
  color:var(--pay-muted);
}
.flow-page .pay-result .pay-top .pay-price{
  float:none;
  margin-top:8px;
  min-width:0;
  font-size:30px;
  font-weight:700;
  line-height:1;
  color:var(--pay-price);
  text-align:right;
}
.flow-page .pay-result .pay-txt{
  margin-top:16px;
  padding:0;
  font-size:14px;
  line-height:1.9;
  color:var(--pay-text);
}
.flow-page .pay-result .pay-txt em{
  color:var(--pay-title);
  font-style:normal;
  font-weight:600;
}
.flow-page .pay-result .o-list{
  margin-top:10px;
}
.flow-page .pay-result .o-list .o-list-info{
  display:flex;
  flex-wrap:wrap;
  gap:6px 24px;
  font-size:14px;
  line-height:1.7;
  color:var(--pay-text);
}
.flow-page .pay-result .o-list .o-list-info span{
  margin:0;
}
.flow-page .pay-result .orderPrint{
  margin:16px 8px 0 0;
  display:inline-flex;
  align-items:center;
  height:34px;
  padding:0 14px;
  border:1px solid var(--pay-line);
  border-radius:6px;
  background:#fff;
  font-size:13px;
  color:#4b5563;
  text-decoration:none;
  transition:border-color .18s,color .18s;
}
.flow-page .pay-result .orderPrint:hover{
  border-color:#b8c0cc;
  color:var(--pay-primary);
}

/* 17.2 支付方式面板 */
.flow-page .pay-result .payOrder-mode{
  margin-top:16px;
  padding:28px 32px 32px;
  background:#fff;
  border-radius:8px;
  box-shadow:0 1px 2px rgba(16,24,40,.05);
}
.flow-page .pay-result .pay-method-head h3{
  padding:0;
  border:0;
  font-size:20px;
  font-weight:600;
  line-height:1.4;
  color:var(--pay-title);
}
.flow-page .pay-result .pay-method-head p{
  margin-top:6px;
  font-size:14px;
  line-height:1.5;
  color:var(--pay-muted);
}
.flow-page .pay-result .pay-method-list{
  margin-top:20px;
  width:auto;
  overflow:visible;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:14px;
}
.flow-page .pay-result .pay-method-item{
  position:relative;
  float:none;
  width:auto;
  height:auto;
  min-height:76px;
  margin:0;
  padding:16px 18px;
  display:flex;
  align-items:center;
  gap:14px;
  box-sizing:border-box;
  border:1.5px solid var(--pay-line);
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  text-align:left;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
.flow-page .pay-result .pay-method-item:hover{
  border-color:#b8c0cc;
  box-shadow:0 2px 8px rgba(16,24,40,.06);
}
.flow-page .pay-result .pay-method-item:focus-visible{
  outline:2px solid var(--pay-primary);
  outline-offset:2px;
}
.flow-page .pay-result .pay-method-item.is-selected{
  border-color:var(--pay-primary);
  background:#f7f9fb;
  box-shadow:inset 0 0 0 1px var(--pay-primary);
}
.flow-page .pay-result .pay-method-radio{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.flow-page .pay-result .pay-method-logo{
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:#f4f6f8;
}
.flow-page .pay-result .pay-method-logo img{
  display:block;
  max-width:36px;
  max-height:30px;
}
.flow-page .pay-result .pay-method-info{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.flow-page .pay-result .pay-method-info strong{
  font-size:16px;
  font-weight:600;
  line-height:1.4;
  color:var(--pay-title);
}
.flow-page .pay-result .pay-method-info small{
  font-size:12px;
  line-height:1.45;
  color:var(--pay-muted);
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.flow-page .pay-result .pay-method-check{
  flex:0 0 20px;
  width:20px;
  height:20px;
  position:relative;
  box-sizing:border-box;
  border:1.5px solid #c7ccd4;
  border-radius:50%;
  background:#fff;
}
.flow-page .pay-result .pay-method-item.is-selected .pay-method-check{
  border-color:var(--pay-primary);
  background:var(--pay-primary);
}
.flow-page .pay-result .pay-method-item.is-selected .pay-method-check::after{
  content:'';
  position:absolute;
  left:6px;
  top:2px;
  width:6px;
  height:10px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.flow-page .pay-result .pay-method-native{
  display:none;
}
/* 无 JS 降级：隐藏不可用的“立即支付”，保留渠道原生按钮 */
.flow-page .pay-result:not(.js-pay-enhanced) .pay-submit-bar{
  display:none;
}
.flow-page .pay-result:not(.js-pay-enhanced) .pay-method-native{
  display:block;
  flex:0 0 100%;
  margin-top:8px;
}
.flow-page .pay-result:not(.js-pay-enhanced) .pay-method-item{
  flex-wrap:wrap;
}
.flow-page .pay-result:not(.js-pay-enhanced) .pay-method-native a.pay-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  height:42px;
  padding:0 20px;
  border-radius:6px;
  background:var(--pay-primary);
  color:#fff;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}

/* 17.3 立即支付 */
.flow-page .pay-result .pay-submit-bar{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--pay-line);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.flow-page .pay-result .pay-submit-btn{
  min-width:220px;
  height:48px;
  padding:0 40px;
  border:0;
  border-radius:6px;
  background:var(--pay-primary);
  color:#fff;
  font-size:16px;
  font-weight:600;
  letter-spacing:.5px;
  cursor:pointer;
  transition:opacity .18s,transform .06s;
}
.flow-page .pay-result .pay-submit-btn:hover{
  opacity:.9;
}
.flow-page .pay-result .pay-submit-btn:active{
  transform:translateY(1px);
}
.flow-page .pay-result .pay-secure-tip{
  margin:0;
  font-size:12px;
  line-height:1.5;
  color:var(--pay-muted);
}

/* 17.4 窄屏适配 */
@media screen and (max-width:991px){
  .flow-page .pay-result .payOrder-desc.pay-result-hero{
    padding:20px;
  }
  .flow-page .pay-result .pay-top{
    flex-direction:column;
    gap:14px;
  }
  .flow-page .pay-result .pay-top .pay-total{
    align-items:flex-start;
  }
  .flow-page .pay-result .pay-top .pay-price{
    text-align:left;
  }
  .flow-page .pay-result .payOrder-mode{
    margin-top:14px;
    padding:20px;
  }
  .flow-page .pay-result .pay-method-list{
    grid-template-columns:1fr;
  }
  .flow-page .pay-result .pay-submit-bar{
    align-items:stretch;
  }
  .flow-page .pay-result .pay-submit-btn{
    width:100%;
    min-width:0;
  }
}

/* 17.5 RTL 适配 */
html[dir="rtl"] .flow-page .pay-result .pay-method-item{
  text-align:right;
}
html[dir="rtl"] .flow-page .pay-result .pay-method-item.is-selected .pay-method-check::after{
  left:auto;
  right:6px;
}
html[dir="rtl"] .flow-page .pay-result .pay-submit-bar{
  align-items:flex-start;
}
html[dir="rtl"] .flow-page .pay-result .pay-top .pay-total{
  align-items:flex-start;
}
html[dir="rtl"] .flow-page .pay-result .pay-top .pay-price{
  text-align:left;
}

/* ---------- 18. 收货地址弹窗表单（两列布局，参考 Banggood 结算页，20261020） ---------- */
/* 18.1 弹窗骨架：标题栏 / 内容区 / 底部按钮 */
#new_address .pb-hd,
#edit_address .pb-hd{
  height:58px;
  line-height:58px;
  padding:0;
  padding-inline:26px 56px;
  border-bottom:1px solid #eef0f3;
}
#new_address .pb-hd .pb-title,
#edit_address .pb-hd .pb-title{
  font-size:17px;
  font-weight:700;
  color:#1f2733;
}
#new_address .pb-bd,
#edit_address .pb-bd{
  padding:22px 26px 8px;
  max-height:calc(100vh - 188px);
  box-sizing:border-box;
}
#new_address .pb-ct,
#edit_address .pb-ct{ height:auto !important; }
#new_address .pb-ft,
#edit_address .pb-ft{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-start;
  align-items:center;
  gap:12px;
  margin:0;
  padding:18px 0 12px;
  border-top:1px solid #eef0f3;
}
#new_address .pb-ft a.pb-btn,
#edit_address .pb-ft a.pb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  height:42px;
  line-height:42px;
  margin:0;
  padding:0 24px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  box-sizing:border-box;
}
#new_address .pb-ft a.pb-ok,
#edit_address .pb-ft a.pb-ok{
  border-color:var(--color-primary,#232f3e);
  background:var(--color-primary,#232f3e);
  color:#fff;
}
#new_address .pb-ft a.pb-ok:hover,
#edit_address .pb-ft a.pb-ok:hover{ background:var(--color-primary-dark,#1b2530); border-color:var(--color-primary-dark,#1b2530); }
#new_address .pb-ft a.pb-cl,
#edit_address .pb-ft a.pb-cl{ border-color:#d9dde3; color:#4a5562; }
#new_address .pb-ft a.pb-cl:hover,
#edit_address .pb-ft a.pb-cl:hover{ border-color:#b9c2cc; color:#1f2733; }

/* 18.2 表单网格：一行两列，标签在输入框上方 */
.addr-form.user-form{ padding:0; font-size:14px; color:#1f2733; }
.addr-form .addr-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 20px;
}
.addr-form .form-row{
  display:flex;
  flex-direction:column;
  min-width:0;
  margin:0;
}
.addr-form.user-form .form-row::after{ content:none; }
.addr-form .form-row-full{ grid-column:1 / -1; }
.addr-form .form-label{
  float:none;
  width:auto;
  height:auto;
  margin:0 0 7px;
  padding:0;
  line-height:1.45;
  font-size:13px;
  font-weight:600;
  color:#333;
  text-align:left; /* 字段名靠左上（20261020）：.user-form 默认右对齐，弹窗内视觉上会跑到输入框右侧 */
}
.addr-form .form-label .red{
  margin:0 2px 0 0;
  color:#e0362c;
}
.addr-form .form-value{
  float:none;
  width:100%;
  min-width:0;
  line-height:1.4;
}

/* 18.3 输入框 */
.addr-form.user-form .form-value .form-input{
  float:none;
  width:100%;
  height:42px;
  line-height:42px;
  margin:0;
  padding:0 13px;
  border:1px solid #d9dde3;
  border-radius:8px;
  background:#fff;
  color:#1f2733;
  font-size:14px;
  box-sizing:border-box;
  outline:none;
  transition:border-color .18s, box-shadow .18s;
}
.addr-form.user-form .form-value .form-input::placeholder{ color:#aab2bd; }
.addr-form.user-form .form-value .form-input:hover{ border-color:#c2c9d2; }
.addr-form.user-form .form-value .form-input:focus{
  border-color:var(--color-primary,#232f3e);
  box-shadow:0 0 0 3px rgba(35,47,62,.09);
}
.addr-form.user-form .form-value input.error{
  border-color:#e0362c;
  color:#1f2733;
}
.addr-form.user-form .form-value input.error:focus{ box-shadow:0 0 0 3px rgba(224,54,44,.12); }

/* 18.4 校验提示 / 辅助说明 */
.addr-form.user-form .form-value .form_prompt,
.addr-form.user-form .form-value .form_prompt.lh40{
  height:auto;
  line-height:1.4;
}
.addr-form .form_prompt:not(:empty){ padding-top:6px; }
.addr-form .form_prompt label.error{
  display:block;
  margin:0;
  padding:0;
  color:#e0362c;
  font-size:12px;
  line-height:1.45;
  font-weight:400;
}
.addr-form .status.error:not(.hide):not(:empty){
  display:block;
  margin:0;
  padding-top:6px;
  color:#e0362c;
  font-size:12px;
  line-height:1.45;
}
.addr-form .addr-hint{
  margin-top:6px;
  color:#8c96a2;
  font-size:12px;
  line-height:1.5;
}

/* 18.5 地区联动下拉：与输入框同规格 */
.addr-form .addr-region-grid{
  display:grid;
  /* auto-fit：地区层级为 1 级时国家占满整行，出现 2 级及以上时自动两列 */
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px 20px;
}
.addr-form.user-form .form-value .mod-select{
  float:none;
  display:block;
  width:100%;
  height:42px;
  margin:0;
  border:1px solid #d9dde3;
  border-radius:8px;
  background:#fff;
  font-size:14px;
  box-sizing:border-box;
  transition:border-color .18s, box-shadow .18s;
}
.addr-form.user-form .form-value .mod-select:hover{ border-color:#c2c9d2; }
.addr-form.user-form .form-value .mod-select.visible,
.addr-form.user-form .form-value .mod-select.mod-select-open{
  border-color:var(--color-primary,#232f3e);
  box-shadow:0 0 0 3px rgba(35,47,62,.09);
  z-index:100;
}
.addr-form.user-form .form-value .mod-select dt{ height:40px; line-height:40px; padding:0; }
.addr-form.user-form .form-value .mod-select dt .txt{
  display:block;
  width:auto;
  padding:0;
  padding-inline:13px 34px;
  color:#1f2733;
}
.addr-form.user-form .form-value .mod-select dt:after{
  right:auto;
  inset-inline-end:13px;
  top:17px;
}
.addr-form.user-form .form-value .mod-select dd{
  top:calc(100% + 5px);
  left:0;
  width:100%;
  border:1px solid #d9dde3;
  border-radius:10px;
  box-shadow:0 14px 34px -10px rgba(31,39,51,.22);
  max-height:260px;
  overflow:hidden;
  box-sizing:border-box;
}
.addr-form.user-form .form-value .mod-select dd .option{
  height:38px;
  line-height:38px;
  padding:0 13px;
  width:auto;
  font-size:13px;
}
.addr-form.user-form .form-value .mod-select dd .option:hover{
  background:#f5f7fa;
  color:var(--color-primary,#232f3e);
}

/* 18.6 手机号：区号与号码合并为同一控件 */
.addr-form.user-form .form-value .intl-tel-wrap{
  float:none;
  display:flex;
  align-items:center;
  width:100%;
  height:42px;
  margin:0;
  padding:0;
  border:1px solid #d9dde3;
  border-radius:8px;
  background:#fff;
  box-sizing:border-box;
  transition:border-color .18s, box-shadow .18s;
}
.addr-form.user-form .form-value .intl-tel-wrap:hover{ border-color:#c2c9d2; }
.addr-form.user-form .form-value .intl-tel-wrap:focus-within{
  border-color:var(--color-primary,#232f3e);
  box-shadow:0 0 0 3px rgba(35,47,62,.09);
}
.addr-form.user-form .form-value .intl-tel-wrap > input:not([type="hidden"]){
  flex:1 1 auto;
  min-width:0;
  width:auto;
  height:40px;
  line-height:40px;
  margin:0;
  padding:0 13px 0 10px;
  padding-inline:10px 13px;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:14px;
  outline:none;
  box-shadow:none;
  box-sizing:border-box;
}
.addr-form.user-form .form-value .intl-tel-wrap > input.error{
  border:0;
  box-shadow:none;
  color:#1f2733;
}
/* 号码主体校验失败时红框标在“区号 + 号码”整体控件上（20261020） */
.addr-form.user-form .form-value .intl-tel-wrap.error{
  border-color:#e0362c;
}
.addr-form.user-form .form-value .intl-tel-wrap.error:focus-within{
  box-shadow:0 0 0 3px rgba(224,54,44,.12);
}

/* 18.7 窄屏降级：单列排布 */
@media screen and (max-width:719px){
  .addr-form .addr-grid,
  .addr-form .addr-region-grid{ grid-template-columns:1fr; }
}

/* 18.8 地址弹窗窄屏适配（20261020）：purebox 按 760px 固定尺寸注入，窄视口会横向溢出 */
@media screen and (max-width:819px){
  #new_address,
  #edit_address{
    width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important;
    left:12px !important;
    top:12px !important;
  }
  #new_address .pb-bd,
  #edit_address .pb-bd{ max-height:calc(100vh - 130px); }
  /* 底部按钮吸底（20261020）：窄屏降为单列后表单变高，按钮若随内容滚到末尾会离开视口，
     用户需先滚完整个表单才能提交；吸底后按钮常驻可点，并压一层阴影与表单内容分隔 */
  #new_address .pb-bd > .tip-box,
  #edit_address .pb-bd > .tip-box{
    position:sticky;
    bottom:-8px;
    z-index:5;
    margin:16px -26px -8px;
    padding:0 26px;
    background:#fff;
    box-shadow:0 -8px 12px -10px rgba(31,39,51,.18);
  }
}
@media screen and (min-width:720px) and (max-width:819px){
  #new_address .addr-grid,
  #edit_address .addr-grid{ grid-template-columns:1fr 1fr; }
}

/* ---------- 19. 配送档案（购物车 / 结算 / 续租共用） ---------- */
/* 与商品详情页配送栏同源：承运商 / 备货 / 运输 / 可追踪 / 预计送达。
   数据由 includes/lib_goods_shipping_block.php::gsb_delivery_meta() 提供，
   模板只渲染 gsb_* 字段；颜色引用主题变量并保留兜底，多站点 / 多语言 / 多货币无需改样式。 */
.flow-page .ck-delivery-rail{
  flex:1 0 100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 20px;
  min-width:0;
  margin-top:2px;
  padding:8px 12px;
  background:var(--flow-surface,#fbfbfc);
  border:1px solid var(--flow-border,#eef0f3);
  border-radius:8px;
  font-size:12px;
  line-height:1.5;
  color:var(--flow-ink2,#3c4757);
}
.flow-page .ck-delivery-rail .ck-rail-cell{
  display:flex;
  align-items:baseline;
  gap:6px;
  min-width:0;
}
.flow-page .ck-delivery-rail .ck-rail-label{
  color:var(--flow-muted,#8a909c);
  white-space:nowrap;
}
.flow-page .ck-delivery-rail .ck-rail-value{
  font-weight:600;
  color:var(--flow-ink,#232f3e);
  word-break:break-word;
}
.flow-page .ck-delivery-rail .ck-rail-cell--track{ gap:0; }
.flow-page .ck-delivery-rail .ck-rail-track{
  display:inline-flex;
  align-items:center;
  padding:1px 8px;
  border-radius:999px;
  background:#f0f2f5;
  color:var(--flow-muted,#8a909c);
  font-size:11px;
  white-space:nowrap;
}
.flow-page .ck-delivery-rail .ck-rail-track.is-trackable{
  background:#e8f7ee;
  color:#1a9c56;
}
.flow-page .ck-delivery-rail .ck-rail-cell--eta{
  align-items:center;
  gap:6px;
  font-weight:600;
  color:#1a9c56;
}
.flow-page .ck-delivery-rail .ck-rail-cell--eta .iconfont{ font-size:14px; }

/* 下拉配送方式里的时效提示：跟在名称后弱化显示 */
.flow-page .ck-dis-info .ck-sp-eta{
  margin-inline-start:6px;
  color:var(--flow-muted,#8a909c);
  font-style:normal;
  font-size:12px;
}

@media screen and (max-width:719px){
  .flow-page .ck-delivery-rail{ gap:4px 14px; padding:8px 10px; }
}

