/* 凯泉泵业 B2B 商城前台样式 */
.shop-page{ padding:26px 0 60px; }
.shop-back-bar{ background:#fff; border-bottom:1px solid #eef1f6; }
.shop-back-bar .container{ padding-top:10px; padding-bottom:10px; }
.shop-back-bar a{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600; color:#1E3A8A; text-decoration:none; }
.shop-back-bar a:hover{ color:#b91c1c; }
.pay-plan{ background:#fff7ed; border:1px solid #fed7aa; color:#9a3412; border-radius:10px; padding:12px 16px; font-size:13.5px; line-height:1.9; margin-bottom:18px; }
.pay-plan b{ color:#b91c1c; }
.shop-title{ font-size:26px; font-weight:800; color:#1f2937; margin:6px 0 20px; }
.shop-title .sub{ font-size:13px; font-weight:400; color:#6b7280; margin-left:10px; }
.shop-btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px; border:none; border-radius:8px; cursor:pointer;
  font-size:14px; font-weight:600; padding:10px 22px; text-decoration:none; transition:.2s; }
.shop-btn.primary{ background:#1E3A8A; color:#fff; }
.shop-btn.primary:hover{ background:#172a63; color:#fff; }
.shop-btn.ghost{ background:#fff; color:#1E3A8A; border:1px solid #cbd7ee; }
.shop-btn.ghost:hover{ border-color:#1E3A8A; color:#1E3A8A; }
.shop-btn.danger{ background:#fff; color:#b91c1c; border:1px solid #fecaca; }
.shop-btn.danger:hover{ background:#fef2f2; color:#b91c1c; }
.shop-btn.block{ width:100%; margin-top:14px; }
.shop-btn.sm{ padding:6px 14px; font-size:13px; }
.shop-badge{ display:inline-block; padding:3px 10px; border-radius:20px; font-size:12px; font-weight:600; }
.st-gray{ background:#f1f5f9; color:#64748b; }
.st-orange{ background:#fff7ed; color:#c2410c; }
.st-blue{ background:#eff6ff; color:#1d4ed8; }
.st-green{ background:#ecfdf5; color:#047857; }
.st-red{ background:#fef2f2; color:#b91c1c; }
.shop-empty{ text-align:center; padding:60px 16px; color:#94a3b8; background:#fff; border:1px dashed #e2e8f0; border-radius:12px; }
.shop-empty i{ font-size:40px; color:#cbd5e1; margin-bottom:12px; display:block; }
.shop-empty p{ margin-bottom:16px; }
.shop-empty.small{ padding:26px 12px; }

/* 产品页购买区 */
.buy-block{ border:1px solid #eef1f6; background:linear-gradient(120deg,#f8fafc,#eef2fb); border-radius:12px; padding:20px 22px; margin:6px 0 22px; }
.buy-price-row{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.buy-label{ font-size:13px; color:#64748b; }
.buy-amount{ font-size:32px; font-weight:800; color:#b91c1c; line-height:1.1; }
.buy-tier{ font-size:13px; color:#047857; background:#ecfdf5; border:1px solid #a7f3d0; padding:3px 10px; border-radius:20px; font-weight:600; }
.buy-note{ font-size:13px; color:#64748b; margin-top:8px; }
.buy-note a{ color:#1E3A8A; font-weight:600; text-decoration:none; }
.buy-actions{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:16px; }
.buy-qty{ display:flex; align-items:center; gap:8px; font-size:13px; color:#475569; }
.buy-qty button{ width:32px; height:36px; border:1px solid #dbe3ef; background:#fff; border-radius:7px; font-size:16px; line-height:1; color:#475569; cursor:pointer; }
.buy-qty input{ width:64px; height:36px; border:1px solid #dbe3ef; border-radius:7px; text-align:center; font-size:14px; outline:none; }

/* 采购车 */
.cart-layout{ display:grid; grid-template-columns:1fr 330px; gap:20px; align-items:start; }
.cart-main{ background:#fff; border:1px solid #eef1f6; border-radius:12px; overflow:hidden; }
.cart-head{ display:grid; grid-template-columns:44px 1fr 120px 140px 120px 44px; gap:10px; padding:12px 18px; background:#f8fafc;
  border-bottom:1px solid #eef1f6; font-size:13px; color:#64748b; font-weight:600; }
.cart-row{ display:grid; grid-template-columns:44px 1fr 120px 140px 120px 44px; gap:10px; align-items:center; padding:18px;
  border-bottom:1px solid #f1f5f9; }
.cart-check input{ display:none; }
.cart-check span{ display:inline-block; width:18px; height:18px; border:1px solid #cbd5e1; border-radius:4px; position:relative; }
.cart-check input:checked + span{ background:#1E3A8A; border-color:#1E3A8A; }
.cart-check input:checked + span::after{ content:""; position:absolute; left:5px; top:1px; width:5px; height:10px;
  border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.cart-prod{ display:flex; gap:14px; min-width:0; }
.cart-img{ width:78px; height:78px; border:1px solid #eef1f6; border-radius:8px; background:#fff; display:flex; align-items:center;
  justify-content:center; overflow:hidden; flex-shrink:0; }
.cart-img img{ max-width:100%; max-height:100%; object-fit:contain; }
.cart-img .noimg{ font-size:26px; color:#cbd5e1; }
.cart-info{ min-width:0; }
.cart-name{ font-size:14px; font-weight:600; color:#1f2937; text-decoration:none; display:block; line-height:1.5; }
.cart-name:hover{ color:#1E3A8A; }
.cart-spec{ font-size:12px; color:#94a3b8; margin-top:5px; display:flex; flex-wrap:wrap; gap:4px 14px; }
.cart-remark{ font-size:12px; color:#c2410c; margin-top:4px; }
.cart-price .price-now{ display:block; color:#b91c1c; font-weight:700; font-size:15px; }
.cart-price .price-old{ font-size:12px; color:#94a3b8; text-decoration:line-through; }
.cart-qty{ display:flex; align-items:center; border:1px solid #dbe3ef; border-radius:7px; overflow:hidden; width:118px; }
.cart-qty button{ width:30px; height:34px; border:none; background:#f8fafc; color:#475569; font-size:16px; cursor:pointer; }
.cart-qty input{ width:56px; height:34px; border:none; border-left:1px solid #eef1f6; border-right:1px solid #eef1f6;
  text-align:center; font-size:14px; outline:none; }
.cart-subtotal{ font-weight:700; color:#1f2937; }
.cart-del{ border:none; background:none; color:#cbd5e1; font-size:16px; cursor:pointer; }
.cart-del:hover{ color:#b91c1c; }
.cart-side{ position:sticky; top:92px; }
.side-box{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:20px; }
.side-box h4{ font-size:16px; font-weight:800; margin-bottom:14px; color:#1f2937; }
.sum-row{ display:flex; justify-content:space-between; font-size:13.5px; color:#475569; padding:7px 0; }
.sum-row b{ color:#1f2937; font-weight:600; }
.sum-row.discount b{ color:#047857; }
.sum-row.total{ border-top:1px dashed #e2e8f0; margin-top:8px; padding-top:14px; font-size:15px; }
.sum-row.total b{ color:#b91c1c; font-size:22px; }
.sum-tip{ font-size:12px; color:#94a3b8; margin-top:10px; text-align:center; line-height:1.6; }
.coupon-box{ display:flex; gap:6px; margin:6px 0 10px; }
.coupon-box input{ flex:1; height:36px; border:1px solid #dbe3ef; border-radius:7px; padding:0 10px; font-size:13px; outline:none; }
.coupon-box button{ height:36px; padding:0 14px; border:1px solid #1E3A8A; background:#fff; color:#1E3A8A; border-radius:7px;
  font-size:13px; font-weight:600; cursor:pointer; }
.side-tip{ margin-top:12px; font-size:12px; color:#94a3b8; line-height:1.8; padding:12px 14px; background:#f8fafc;
  border-radius:10px; }

/* 结算 */
.co-layout{ display:grid; grid-template-columns:1fr 340px; gap:20px; align-items:start; }
.co-box{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:22px; margin-bottom:18px; }
.co-box h3{ font-size:16px; font-weight:800; color:#1f2937; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.co-box h3 i{ color:#1E3A8A; }
.choice-card{ display:block; border:1px solid #e2e8f0; border-radius:10px; padding:14px 16px; margin-bottom:10px; cursor:pointer; }
.choice-card:hover{ border-color:#93a9d8; }
.choice-card input{ float:left; margin:3px 12px 0 0; accent-color:#1E3A8A; }
.choice-card .card-body{ overflow:hidden; }
.choice-card .card-title{ font-size:14px; font-weight:700; color:#1f2937; }
.choice-card .card-title span{ font-weight:400; color:#64748b; margin-left:8px; font-size:13px; }
.choice-card .card-sub{ font-size:13px; color:#64748b; margin-top:4px; }
.choice-add{ display:inline-block; font-size:13px; color:#1E3A8A; text-decoration:none; margin-top:2px; }
.co-item{ display:grid; grid-template-columns:1fr 120px 60px 100px; gap:10px; padding:10px 0; border-bottom:1px dashed #eef1f6;
  font-size:13.5px; color:#374151; }
.co-item .co-name{ font-weight:600; }
.co-item .co-spec{ color:#94a3b8; }
.co-item .co-price{ text-align:right; font-weight:600; }
.co-side{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:20px; position:sticky; top:92px; }
.co-side h4{ font-size:16px; font-weight:800; margin-bottom:12px; }

/* 合同 */
.contract-wrap{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:36px 44px; font-size:14px; line-height:1.9;
  color:#1f2937; overflow-x:auto; }
.contract-wrap h2{ text-align:center; font-size:22px; font-weight:800; letter-spacing:2px; margin-bottom:24px; }
.contract-wrap .ct-table{ width:100%; border-collapse:collapse; margin:14px 0; font-size:13px; }
.contract-wrap .ct-table th,.contract-wrap .ct-table td{ border:1px solid #334155; padding:6px 8px; }
.contract-wrap .ct-table th{ background:#f1f5f9; font-weight:600; }
.contract-wrap .ct-seal{ position:absolute; right:120px; width:130px; opacity:.92; }
.contract-wrap .ct-seal-row{ position:relative; }
.ct-seal-text{ display:inline-block; color:#c0392b; border:2px solid #c0392b; border-radius:50%; width:118px; height:118px;
  text-align:center; font-size:11px; line-height:1.35; padding-top:36px; box-sizing:border-box; font-weight:700;
  transform:rotate(-12deg); letter-spacing:.5px; }
.contract-wrap p{ margin-bottom:6px; }
.sign-panel{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:24px; margin-top:18px; }
.sign-panel h3{ font-size:17px; font-weight:800; margin-bottom:6px; }
.sign-tip{ font-size:13px; color:#64748b; margin-bottom:16px; }
.sign-tabs{ display:flex; gap:8px; margin-bottom:18px; }
.sign-tabs button{ flex:1; padding:10px; border:1px solid #e2e8f0; background:#f8fafc; border-radius:8px; font-size:14px;
  font-weight:600; color:#475569; cursor:pointer; }
.sign-tabs button.on{ background:#eef2fb; border-color:#1E3A8A; color:#1E3A8A; }
.form-row{ margin-bottom:14px; }
.form-row label{ display:block; font-size:13px; color:#475569; margin-bottom:6px; font-weight:600; }
.form-row input[type=text],.form-row input[type=number],.form-row input[type=datetime-local],.form-row input[type=file],
.form-row select,.form-row textarea{ width:100%; border:1px solid #dbe3ef; border-radius:8px; padding:10px 12px; font-size:14px;
  outline:none; background:#fff; }
.form-row input:focus,.form-row select:focus{ border-color:#1E3A8A; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.form-grid .full{ grid-column:1 / -1; }
.agree{ font-size:13px; color:#475569; display:flex; align-items:center; gap:6px; }
.agree.inline{ display:inline-flex; margin-right:18px; }
.sign-done{ text-align:center; background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:40px; margin-top:18px; }
.sign-done i{ font-size:44px; color:#10b981; margin-bottom:12px; }
.sign-done.reject i{ color:#ef4444; }
.sign-done h3{ font-size:18px; font-weight:800; margin-bottom:8px; }
.sign-done p{ color:#64748b; font-size:14px; margin-bottom:12px; }

/* 付款 */
.pay-box{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:24px; margin-bottom:18px; }
.pay-box h3{ font-size:16px; font-weight:800; margin-bottom:16px; }
.pay-amount{ display:flex; gap:36px; flex-wrap:wrap; background:#f8fafc; border-radius:10px; padding:18px 22px; margin-bottom:18px; }
.pay-amount div{ font-size:13px; color:#64748b; }
.pay-amount b{ display:block; font-size:24px; color:#b91c1c; margin-top:2px; }
.pay-amount b.gray{ color:#1f2937; font-size:20px; }
.bank-info{ font-size:13.5px; line-height:2; color:#374151; }
.bank-info b{ display:inline-block; min-width:82px; color:#64748b; font-weight:600; }
.pay-head,.pay-row{ display:grid; grid-template-columns:1fr 1fr 1.4fr 1fr 80px; gap:10px; padding:10px 0; font-size:13px;
  border-bottom:1px dashed #eef1f6; }
.pay-head{ color:#94a3b8; font-weight:600; border-bottom:1px solid #eef1f6; }
.pay-empty{ text-align:center; color:#94a3b8; font-size:13px; padding:20px 0; }
.pay-tabs{ display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; }
.pay-tabs button{ padding:8px 18px; border:1px solid #e2e8f0; background:#fff; border-radius:20px; font-size:13px;
  color:#475569; cursor:pointer; }
.pay-tabs button.on{ background:#1E3A8A; border-color:#1E3A8A; color:#fff; }

/* 订单列表 */
.order-card{ background:#fff; border:1px solid #eef1f6; border-radius:12px; margin-bottom:14px; }
.order-head{ display:flex; justify-content:space-between; align-items:center; padding:14px 20px; border-bottom:1px solid #f1f5f9;
  font-size:13px; color:#64748b; }
.order-no{ font-weight:700; color:#1f2937; margin-right:14px; }
.order-body{ display:flex; justify-content:space-between; align-items:center; padding:16px 20px; gap:20px; }
.order-items{ font-size:14px; color:#374151; line-height:1.7; flex:1; min-width:0; }
.order-amount{ font-size:20px; font-weight:800; color:#b91c1c; white-space:nowrap; }
.order-foot{ display:flex; justify-content:flex-end; gap:10px; padding:0 20px 16px; }

/* 订单详情 */
.od-grid{ display:grid; grid-template-columns:1fr 320px; gap:20px; align-items:start; }
.od-box{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:22px; margin-bottom:18px; }
.od-box h3{ font-size:15px; font-weight:800; margin-bottom:14px; color:#1f2937; }
.od-table{ width:100%; border-collapse:collapse; font-size:13.5px; }
.od-table th,.od-table td{ border-bottom:1px solid #f1f5f9; padding:10px 8px; text-align:left; }
.od-table thead th{ background:#f8fafc; color:#64748b; font-weight:600; }
.od-table a{ color:#1f2937; text-decoration:none; }
.od-table a:hover{ color:#1E3A8A; }
.info-row{ display:flex; gap:14px; font-size:13.5px; color:#374151; padding:8px 0; border-bottom:1px dashed #f1f5f9; line-height:1.8; }
.info-row label{ min-width:76px; color:#94a3b8; }
.od-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.ship-row{ display:flex; flex-wrap:wrap; gap:8px 18px; font-size:13px; color:#475569; padding:8px 0;
  border-bottom:1px dashed #f1f5f9; }

/* 地址 / 开票 */
.addr-grid{ display:grid; grid-template-columns:1fr 420px; gap:20px; align-items:start; }
.addr-card{ background:#fff; border:1px solid #eef1f6; border-radius:10px; padding:16px 18px; margin-bottom:12px;
  display:flex; justify-content:space-between; gap:14px; }
.addr-title{ font-size:14.5px; font-weight:700; color:#1f2937; }
.addr-sub{ font-size:13px; color:#64748b; margin-top:4px; }
.addr-ops{ display:flex; gap:12px; align-items:center; font-size:13px; }
.addr-ops .link{ color:#1E3A8A; text-decoration:none; }
.addr-ops .link.danger{ color:#b91c1c; }
.addr-form{ background:#fff; border:1px solid #eef1f6; border-radius:12px; padding:22px; position:sticky; top:92px; }

@media (max-width:992px){
  .cart-layout,.co-layout,.od-grid,.addr-grid{ grid-template-columns:1fr; }
  .cart-head{ display:none; }
  .cart-row{ grid-template-columns:36px 1fr; grid-template-areas:"check prod" "qty price"; row-gap:10px; }
  .cart-check{ grid-area:check; } .cart-prod{ grid-area:prod; } .cart-price{ grid-area:price; text-align:right; }
  .cart-qty{ grid-area:qty; } .cart-subtotal{ text-align:right; } .cart-del{ position:absolute; right:12px; }
  .cart-row{ position:relative; }
  .form-grid{ grid-template-columns:1fr; }
  .contract-wrap{ padding:22px; }
  .pay-head,.pay-row{ grid-template-columns:1fr 1fr; }
}

/* 开票提示 */
.invoice-tip{ background:#eff6ff; border:1px solid #bfdbfe; color:#1e40af; border-radius:8px; padding:10px 14px; font-size:13px; margin-bottom:10px; }
