@charset "utf-8";
/* ============================================================================
   blue-flow.css — 购物流程全新视觉（购物车/结算/支付流程统一品牌蓝）
   用 !important 压制老 flow.css 与模板内联样式
   ============================================================================ */
:root {
    --fl-blue: #4A90E2;
    --fl-blue-deep: #2D6FC0;
    --fl-line: #E8EEF6;
    --fl-text: #2B3A4D;
    --fl-muted: #8A97A8;
}

/* ---------- 页面基底 ---------- */
body.cnt-inner .cart,
body.cnt-inner .w.cart,
body.cnt-inner .w.w1 {
    width: 1200px !important;
    max-width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* ---------- 步骤条：居中卡片式 ---------- */
body.cnt-inner .flowstep {
    position: static !important;
    width: 760px !important;
    max-width: 96%;
    margin: 18px auto 8px !important;
    padding: 22px 30px 18px !important;
    background: #fff !important;
    border: 1px solid var(--fl-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(74, 144, 226, .08) !important;
    box-sizing: border-box;
}
body.cnt-inner .flowstep ol {
    display: flex !important;
    justify-content: space-between;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}
body.cnt-inner .flowstep ol::before {
    content: "";
    position: absolute;
    left: 7%; right: 7%;
    top: 14px;
    height: 2px;
    background: #D8E6F7;
    z-index: 0;
}
body.cnt-inner .flowstep li {
    position: relative;
    z-index: 1;
    float: none !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 10px;
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 4px !important;
}
body.cnt-inner .flowstep .step-name {
    font-size: 13px !important;
    color: var(--fl-muted) !important;
    background: none !important;
    border: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    width: auto !important;
    white-space: nowrap;
    text-indent: 0 !important;
}
body.cnt-inner .flowstep li.step-cur .step-name,
body.cnt-inner .flowstep .step-cur .step-name { color: var(--fl-blue) !important; font-weight: 700 !important; }
body.cnt-inner .flowstep .step-no {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid #C9DDF5 !important;
    color: var(--fl-muted) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: Georgia, serif;
    background-image: none !important;
    text-indent: 0 !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
/* 已完成步骤：蓝色实心圆 + 白色对勾替代数字 */
body.cnt-inner .flowstep .step-done .step-no {
    background: linear-gradient(135deg, var(--fl-blue), var(--fl-blue-deep)) !important;
    border-color: transparent !important;
    color: transparent !important;
    position: relative;
}
body.cnt-inner .flowstep .step-done .step-no::after {
    content: "";
    position: absolute;
    left: 9px; top: 5px;
    width: 8px; height: 14px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
body.cnt-inner .flowstep li.step-cur .step-no,
body.cnt-inner .flowstep .step-cur .step-no {
    background: #fff !important;
    border-color: var(--fl-blue) !important;
    color: var(--fl-blue) !important;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, .16);
    background-image: none !important;
}

/* ---------- 我的购物车标题 ---------- */
body.cnt-inner .cart-hd {
    background: none !important;
    border: none !important;
    padding: 26px 4px 16px !important;
    margin: 0 !important;
    height: auto !important;
}
body.cnt-inner .cart-hd h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--fl-text) !important;
    margin: 0 !important;
    padding: 0 0 0 14px !important;
    border: none !important;
    background: none !important;
    position: relative;
    line-height: 1.3 !important;
    height: auto !important;
}
body.cnt-inner .cart-hd h2::before {
    content: "";
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--fl-blue), var(--fl-blue-deep));
}

/* ---------- 购物车表格：老内联样式全部压制 ---------- */
body.cnt-inner #formCart table {
    border: none !important;
    background: #fff !important;
    border-radius: 14px !important;
    overflow: hidden;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: 0 6px 18px rgba(74, 144, 226, .07) !important;
    width: 100% !important;
}
body.cnt-inner #formCart table th {
    background: #F0F7FE !important;
    color: var(--fl-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 14px 10px !important;
    border: none !important;
    height: auto !important;
    line-height: 1.5 !important;
}
body.cnt-inner #formCart table td {
    background: #fff !important;
    border: none !important;
    border-bottom: 1px solid var(--fl-line) !important;
    padding: 14px 10px !important;
    font-size: 13px !important;
    color: #5B6B80 !important;
    height: auto !important;
    line-height: 1.6 !important;
}
body.cnt-inner #formCart table tr:hover > td {
    background: #F7FAFF !important;
}
/* 商家分组行 */
body.cnt-inner #formCart table td[style*="edf7ff"],
body.cnt-inner #formCart table td[bgcolor="#edf7ff"] {
    background: #F0F7FE !important;
    border-top: 1px solid var(--fl-line) !important;
    color: var(--fl-text) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}
/* 商品行左侧勾选列浅蓝（老 #FFFDEE 内联） */
body.cnt-inner #formCart table td[bgcolor="#FFFDEE"],
body.cnt-inner #formCart table td[bgcolor="#fffdee"],
body.cnt-inner #formCart table td[style*="FFFDEE"],
body.cnt-inner #formCart table td[style*="fffdee"] {
    background: #fff !important;
}
body.cnt-inner #formCart table a.f6 { color: var(--fl-text) !important; text-decoration: none; }
body.cnt-inner #formCart table a.f6:hover { color: var(--fl-blue) !important; }
body.cnt-inner #formCart table img { border-radius: 8px !important; border: 1px solid var(--fl-line) !important; }
body.cnt-inner #formCart table input[type="checkbox"] { accent-color: var(--fl-blue); width: 16px; height: 16px; }
/* 价格文字 */
body.cnt-inner #formCart table .price,
body.cnt-inner #formCart table b[style*="ff4a00"] { color: var(--fl-blue) !important; }

/* 数量加减输入框 */
body.cnt-inner #formCart input[type="text"] {
    border: 1px solid var(--fl-line) !important;
    border-radius: 6px !important;
    height: 32px !important;
    text-align: center;
    outline: none;
}
body.cnt-inner #formCart input[type="text"]:focus { border-color: var(--fl-blue) !important; }

/* ---------- 工具栏：清空 / 合计 ---------- */
body.cnt-inner .cart-toolbar {
    background: #fff !important;
    border: 1px solid var(--fl-line) !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
    padding: 16px 22px !important;
    margin: 0 0 18px !important;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(74, 144, 226, .07) !important;
}
body.cnt-inner .cart-toolbar .delete a {
    color: var(--fl-muted) !important;
    font-size: 13px !important;
    text-decoration: none;
}
body.cnt-inner .cart-toolbar .delete a:hover { color: #E4393C !important; }
body.cnt-inner .cart-toolbar .delete b { display: none !important; }
body.cnt-inner #cart_money_info {
    font-size: 15px !important;
    color: var(--fl-text) !important;
}
body.cnt-inner #cart_money_info span,
body.cnt-inner #cart_money_info b,
body.cnt-inner #cart_money_info .price { color: var(--fl-blue) !important; font-weight: 700 !important; }

/* ---------- 底部按钮 ---------- */
body.cnt-inner .cart-button {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 26px !important;
}
body.cnt-inner .cart-button .btn,
body.cnt-inner .cart-button a.btn.continue,
body.cnt-inner .cart-button a#continue {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 46px !important;
    padding: 0 30px !important;
    border-radius: 10px !important;
    background: #fff !important;
    border: 1px solid var(--fl-blue) !important;
    color: var(--fl-blue) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-shadow: none !important;
    float: none !important;
}
body.cnt-inner .cart-button .btn .btn-text,
body.cnt-inner .cart-button .btn span {
    line-height: 1 !important;
    display: inline !important;
    padding: 0 !important;
    color: inherit !important;
}
body.cnt-inner .cart-button a.btn.continue:hover,
body.cnt-inner .cart-button a#continue:hover { background: #F0F7FE !important; }
body.cnt-inner .cart-button a.checkout,
body.cnt-inner .cart-button a#toSettlement {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 46px !important;
    padding: 0 36px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--fl-blue), var(--fl-blue-deep)) !important;
    border: none !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    letter-spacing: 2px;
    box-shadow: 0 8px 18px rgba(74, 144, 226, .32) !important;
    float: none !important;
}
body.cnt-inner .cart-button a.checkout:hover { filter: brightness(1.06); }

/* ---------- 推荐区 tabs ---------- */
body.cnt-inner #c-tabs .m,
body.cnt-inner #c-tabs .plist { background: none !important; border: none !important; }
body.cnt-inner #c-tabs .cm .cmt {
    background: #fff !important;
    border: 1px solid var(--fl-line) !important;
    border-radius: 14px 14px 0 0 !important;
    border-bottom: none !important;
    padding: 16px 24px 0 !important;
    height: auto !important;
}
body.cnt-inner #c-tabs .cmt h3 {
    display: inline-block;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--fl-muted) !important;
    margin: 0 30px 0 0 !important;
    padding: 0 0 14px !important;
    border: none !important;
    background: none !important;
    cursor: pointer;
    line-height: 1.4 !important;
    height: auto !important;
    position: relative;
}
body.cnt-inner #c-tabs .cmt h3 i { display: none !important; }
body.cnt-inner #c-tabs .cm.curr .cmt h3,
body.cnt-inner #c-tabs .cmt h3.curr { color: var(--fl-blue) !important; font-weight: 700 !important; }
body.cnt-inner #c-tabs .cm.curr .cmt h3::after,
body.cnt-inner #c-tabs .cmt h3.curr::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--fl-blue), #6BA6EF);
}
/* 推荐商品卡容器 */
body.cnt-inner #c-tabs .cmc,
body.cnt-inner #recommend-products .cmc {
    background: #fff !important;
    border: 1px solid var(--fl-line) !important;
    border-radius: 0 0 14px 14px !important;
    padding: 18px !important;
    box-sizing: border-box;
}
body.cnt-inner #c-tabs ul.list,
body.cnt-inner #c-tabs .list {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}
body.cnt-inner #c-tabs .list li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: #fff !important;
    border: 1px solid var(--fl-line) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    text-align: center !important;
    transition: box-shadow .18s, transform .18s;
}
body.cnt-inner #c-tabs .list li:hover {
    box-shadow: 0 10px 24px rgba(74, 144, 226, .14) !important;
    transform: translateY(-2px);
}
body.cnt-inner #c-tabs .list li .pic,
body.cnt-inner #c-tabs .list li .pic img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    background: #FAFCFF;
}
body.cnt-inner #c-tabs .list li .name,
body.cnt-inner #c-tabs .list li .name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px !important;
    color: #5B6B80 !important;
    padding: 8px 10px 4px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    height: auto !important;
    width: auto !important;
    text-decoration: none !important;
}
body.cnt-inner #c-tabs .list li .name a:hover { color: var(--fl-blue) !important; }
body.cnt-inner #c-tabs .list li .price,
body.cnt-inner #c-tabs .list li p.price {
    font-size: 15px !important;
    color: var(--fl-blue) !important;
    font-weight: 700 !important;
    padding: 0 10px 12px !important;
    text-align: left !important;
    margin: 0 !important;
    background: none !important;
}

/* 购物车推荐区旧 j_AddCart 已由 blue-inner.css 统一为蓝色图标 */

/* ---------- 空购物车提示 ---------- */
body.cnt-inner .cart-no-goods,
body.cnt-inner .no-goods {
    background: #fff !important;
    border-radius: 14px !important;
    text-align: center;
    padding: 48px 20px !important;
    color: var(--fl-muted) !important;
    font-size: 14px !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    body.cnt-inner #c-tabs .list { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ============================================================================
   flow_jm.dwt（商家分组购物车模板）专属规则
   ============================================================================ */
/* 步骤条内嵌套结构（li > div.step-done > name/no） */
body.cnt-inner .flowstep .step-done {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 10px;
    background: none !important;
    border: none !important;
    height: auto !important;
    width: auto !important;
}

/* 顶部标题/表头表格（.title_jm） */
body.cnt-inner .title_jm {
    background: #fff !important;
    border: none !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.cnt-inner .title_jm table { border: none !important; background: #fff !important; }
body.cnt-inner .title_jm table td {
    background: #F0F7FE !important;
    color: var(--fl-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 14px 8px !important;
    border: none !important;
    height: auto !important;
    text-indent: 0 !important;
}
body.cnt-inner .title_jm table td input[type="checkbox"] { accent-color: var(--fl-blue); vertical-align: middle; margin: 0 !important; height: 16px !important; width: 16px !important; }

/* 商家分组行（内联 #FAFAFA + #ff4a00） */
body.cnt-inner #formCart1 table td[style*="FAFAFA"],
body.cnt-inner #formCart1 table td[style*="fafafa"] {
    background: #F0F7FE !important;
    color: var(--fl-text) !important;
    border-radius: 0 !important;
}
body.cnt-inner #formCart1 table td[style*="ff4a00"] { color: var(--fl-text) !important; }

/* 商品表格通用 */
body.cnt-inner #formCart1 table {
    background: #fff !important;
}
body.cnt-inner #formCart1 table td {
    background: #fff !important;
    border: none !important;
    font-size: 13px !important;
    color: #5B6B80 !important;
    padding: 12px 8px !important;
    vertical-align: middle !important;
}
body.cnt-inner #formCart1 table td[style*="border-bottom"] { border-bottom: 1px solid var(--fl-line) !important; }
body.cnt-inner #formCart1 table a.f6 { color: var(--fl-text) !important; text-decoration: none; }
body.cnt-inner #formCart1 table a.f6:hover { color: var(--fl-blue) !important; }
body.cnt-inner #formCart1 table .thumb_name img { border-radius: 8px !important; border: 1px solid var(--fl-line) !important; }
body.cnt-inner #formCart1 table .attrname { color: var(--fl-muted) !important; font-size: 12px !important; }
body.cnt-inner #formCart1 table font[style*="ff4a00"],
body.cnt-inner #formCart1 table span[style*="ff4a00"],
body.cnt-inner #formCart1 table b[style*="ff4a00"] { color: var(--fl-blue) !important; }

/* 数量步进器 */
body.cnt-inner .jm_cartnum input[type="text"],
body.cnt-inner .jm_cartnum input { border: 1px solid var(--fl-line) !important; border-radius: 6px !important; text-align: center; height: 30px !important; box-sizing: border-box; }
body.cnt-inner .jm_cartnum a { text-decoration: none !important; color: var(--fl-blue) !important; }

/* 工具栏表格（form 后的兄弟 table：继续购物/清空/应付总额/去结算） */
body.cnt-inner #formCart1 + table {
    background: #fff !important;
    border: none !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 6px 18px rgba(74, 144, 226, .07) !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    height: auto !important;
}
body.cnt-inner #formCart1 + table td {
    background: #fff !important;
    border: none !important;
    padding: 16px 14px !important;
    height: auto !important;
}
body.cnt-inner a.continue_buy {
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 42px !important;
    padding: 0 26px !important;
    border-radius: 10px !important;
    background: #fff !important;
    border: 1px solid var(--fl-blue) !important;
    color: var(--fl-blue) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    width: auto !important;
    box-sizing: border-box;
}
body.cnt-inner a.continue_buy:hover { background: #F0F7FE !important; }
body.cnt-inner #formCart1 + table td { white-space: nowrap; }
body.cnt-inner a.jmclear { color: var(--fl-muted) !important; font-size: 13px !important; text-decoration: none !important; }
body.cnt-inner a.jmclear:hover { color: #E4393C !important; }
body.cnt-inner #formCart1 + table #cart_money_info {
    font-size: 15px !important;
    color: var(--fl-text) !important;
}
body.cnt-inner #formCart1 + table #cart_money_info span,
body.cnt-inner #formCart1 + table #cart_money_info b { color: var(--fl-blue) !important; font-weight: 700 !important; }
body.cnt-inner a.jmcheckout {
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 42px !important;
    padding: 0 32px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--fl-blue), var(--fl-blue-deep)) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(74, 144, 226, .32) !important;
    width: auto !important;
    box-sizing: border-box;
}
body.cnt-inner a.jmcheckout:hover { filter: brightness(1.06); }

/* flow_jm 推荐区标题 */
body.cnt-inner .block_jm .title_jm h3,
body.cnt-inner .block_jm .jm-tit {
    font-size: 16px !important;
    color: var(--fl-text) !important;
    background: none !important;
    border: none !important;
    padding-left: 14px !important;
    position: relative !important;
    height: auto !important;
    line-height: 1.5 !important;
}
body.cnt-inner .block_jm .title_jm h3::before,
body.cnt-inner .block_jm .jm-tit::before {
    content: "";
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--fl-blue), var(--fl-blue-deep));
}
