:root {
    --cart-navy:#071f32;
    --cart-text:#13263a;
    --cart-muted:#607387;
    --cart-line:#dce4eb;
    --cart-soft:#f7f9fb;
    --cart-blue:#066ee8;
    --cart-orange:#ff9800;
    --cart-green:#05a84f;
    --cart-red:#c0392b;
}
.cart-v2-body { background:#fff; color:var(--cart-text); }
.cart-v2-body .mp-trust { display:none; }
.cart-breadcrumb { max-width:1435px; margin:0 auto; padding:12px 28px 0; display:flex; gap:10px; align-items:center; font-size:.78rem; color:var(--cart-muted); }
.cart-breadcrumb a { color:var(--cart-text); text-decoration:none; }
.cart-v2-page { max-width:1435px; margin:0 auto; padding:8px 28px 18px; }
.cart-flash { padding:10px 14px; border-radius:6px; margin:8px 0 12px; font-size:.82rem; border:1px solid #bde3ca; background:#eefaf2; color:#18753a; }
.cart-flash.error { border-color:#f0c4bf; background:#fff3f1; color:#a63228; }
.cart-title-row { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:12px; }
.cart-title-row h1 { font-size:2rem; line-height:1.05; margin:0; color:#0a2034; }
.cart-title-row h1 span { font-size:1rem; font-weight:500; color:#526a7f; }
.cart-title-row p { margin:5px 0 0; color:#5f7286; font-size:.85rem; }
.continue-shopping { color:var(--cart-blue); font-weight:700; text-decoration:none; font-size:.82rem; white-space:nowrap; margin-bottom:6px; }
.continue-shopping span { font-size:1.05rem; padding-left:7px; }
.cart-main-grid { display:grid; grid-template-columns:minmax(0, 1fr) 350px; gap:14px; align-items:start; }
.cart-items-card, .cart-summary-card { border:1px solid var(--cart-line); border-radius:6px; background:#fff; overflow:hidden; }
.cart-table-head { display:grid; grid-template-columns:36px minmax(255px,2.1fr) 110px 105px 120px 125px 105px 105px; gap:10px; align-items:center; padding:10px 12px; background:#f6f8fa; border-bottom:1px solid var(--cart-line); font-weight:700; font-size:.72rem; text-align:center; }
.cart-table-head > :nth-child(2) { text-align:left; }
.cart-product-row { display:grid; grid-template-columns:36px minmax(255px,2.1fr) 110px 105px 120px 125px 105px 105px; gap:10px; align-items:center; padding:10px 12px; border-bottom:1px solid var(--cart-line); min-height:78px; font-size:.78rem; }
.cart-select-cell { text-align:center; }
.cart-select-cell input, .cart-bulk-row input { width:17px; height:17px; accent-color:#0b7be8; }
.cart-product-cell { display:flex; gap:11px; align-items:center; min-width:0; }
.cart-product-placeholder { width:62px; height:62px; flex:0 0 62px; border-radius:5px; background:#f5f7f9; border:1px solid #e1e7ec; display:flex; align-items:center; justify-content:center; color:#74889a; text-decoration:none; }
.cart-product-placeholder .icon { width:33px; height:33px; }
.cart-product-copy { min-width:0; }
.cart-brand-text { font-weight:800; color:#0872c9; font-size:.78rem; margin-bottom:2px; }
.cart-product-name { color:#102337; font-weight:700; text-decoration:none; display:block; line-height:1.15; }
.cart-product-name:hover, .cart-rec-name:hover { color:var(--cart-blue); }
.cart-product-sub { color:var(--cart-muted); font-size:.68rem; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:330px; }
.cart-part-number { color:#324d65; text-align:center; font-size:.7rem; }
.cart-unit-price, .cart-line-total { font-size:.92rem; font-weight:800; text-align:center; color:#0c2033; }
.cart-qty-form { display:flex; align-items:center; justify-content:center; }
.qty-btn { width:32px; height:34px; border:1px solid #d2dce5; background:#fff; color:#163149; cursor:pointer; font-size:1.1rem; }
.qty-btn:first-of-type { border-radius:5px 0 0 5px; }
.qty-btn:last-of-type { border-radius:0 5px 5px 0; }
.qty-input { width:45px; height:34px; padding:0 3px; text-align:center; border:1px solid #d2dce5; border-left:0; border-right:0; color:#102437; background:#fff; -moz-appearance:textfield; }
.qty-input::-webkit-outer-spin-button,.qty-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.cart-stock-cell { text-align:center; }
.cart-stock-cell strong { color:var(--cart-green); display:block; font-size:.72rem; }
.stock-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--cart-green); margin-right:6px; }
.cart-stock-cell small { color:#78899a; font-size:.62rem; display:block; margin-top:2px; }
.cart-row-actions form { display:flex; flex-direction:column; gap:7px; }
.cart-link-btn { border:0; background:none; padding:0; color:#31495f; cursor:pointer; font-size:.68rem; text-align:left; white-space:nowrap; }
.cart-link-btn:hover { color:var(--cart-blue); }
.cart-bulk-row { min-height:42px; display:flex; align-items:center; gap:28px; padding:8px 12px; font-size:.72rem; }
.cart-bulk-row label { display:flex; align-items:center; gap:7px; font-weight:600; }
.cart-bulk-btn { border:0; background:none; color:var(--cart-blue); cursor:pointer; font-size:.7rem; }
.cart-summary-card { padding:17px 16px; position:sticky; top:10px; }
.cart-summary-card h2 { font-size:1.22rem; margin:0 0 16px; }
.summary-line { display:flex; justify-content:space-between; gap:16px; margin:0 0 14px; font-size:.82rem; align-items:flex-start; }
.summary-line strong { font-weight:500; color:#111f2d; white-space:nowrap; }
.summary-line small { color:#647b91; display:block; margin-top:2px; font-size:.7rem; }
.summary-right { text-align:right; }
.summary-change { border:0; background:none; color:var(--cart-blue); padding:0; cursor:pointer; display:block; margin:3px 0 0 auto; font-size:.7rem; }
.summary-info { width:15px; height:15px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #263f54; border-radius:50%; font-size:.58rem; font-weight:800; }
.summary-discount { color:#168347; }
.summary-discount strong { color:#168347; }
.summary-divider { border-top:1px solid #cfd9e2; margin:4px 0 15px; }
.summary-total { display:flex; justify-content:space-between; align-items:center; font-size:1.07rem; font-weight:800; margin-bottom:14px; }
.summary-total strong { font-size:1.25rem; }
.cart-country-form { display:flex; gap:6px; margin:-4px 0 14px; }
.cart-country-form select, .coupon-form input { min-width:0; flex:1; border:1px solid #cdd8e1; border-radius:5px; padding:9px 10px; background:#fff; color:#1d3449; }
.cart-country-form button, .coupon-form button { border:1px solid #ccd5dd; background:#eef1f4; color:#1a2c3c; border-radius:5px; font-weight:700; padding:0 14px; cursor:pointer; }
.coupon-form { display:flex; gap:8px; margin-bottom:8px; }
.coupon-remove-form button { background:none; border:0; color:var(--cart-blue); font-size:.68rem; cursor:pointer; padding:0 0 8px; }
.coupon-message { font-size:.68rem; margin:-2px 0 8px; }
.coupon-message.error { color:#a63228; }
.checkout-btn, .cart-primary-btn { width:100%; border:0; border-radius:5px; background:var(--cart-orange); color:#131f2b; font-weight:800; padding:13px 14px; cursor:pointer; font-size:.9rem; text-decoration:none; text-align:center; display:block; }
.checkout-lock { margin-right:8px; }
.cart-assurance-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px 16px; border-top:1px solid #e0e6eb; margin-top:16px; padding-top:16px; }
.cart-assurance-grid > div { display:flex; gap:9px; align-items:flex-start; color:#0570db; }
.cart-assurance-grid .icon { width:25px; height:25px; flex:0 0 25px; }
.cart-assurance-grid span { color:#152b40; }
.cart-assurance-grid b { display:block; font-size:.7rem; }
.cart-assurance-grid small { display:block; color:#677c8f; font-size:.61rem; margin-top:2px; }
.cart-section-head { display:flex; justify-content:space-between; align-items:end; margin:18px 0 9px; gap:20px; }
.cart-section-head > div { display:flex; align-items:baseline; gap:18px; }
.cart-section-head h2 { margin:0; font-size:1.05rem; }
.cart-section-head span { color:#687d90; font-size:.72rem; }
.cart-section-head > a { color:var(--cart-blue); text-decoration:none; font-size:.7rem; }
.cart-recommendation-grid { display:grid; grid-template-columns:repeat(6, minmax(0,1fr)) 2fr; gap:8px; }
.cart-rec-card { border:1px solid var(--cart-line); border-radius:5px; padding:8px; min-width:0; display:flex; flex-direction:column; }
.cart-rec-placeholder { height:90px; background:#f6f8f9; display:flex; justify-content:center; align-items:center; color:#768b9b; text-decoration:none; margin:-2px -2px 7px; border-radius:4px; }
.cart-rec-placeholder .icon { width:42px; height:42px; }
.cart-rec-brand { color:#0874ca; font-weight:800; font-size:.68rem; }
.cart-rec-name { color:#13273a; text-decoration:none; font-size:.68rem; font-weight:700; margin-top:2px; line-height:1.2; min-height:2.4em; }
.cart-rec-sku { color:#6f8395; font-size:.58rem; margin:3px 0; }
.cart-rec-rating { color:#ff8c00; font-size:.63rem; }
.cart-rec-rating span { color:#788b9b; }
.cart-rec-price { font-weight:800; font-size:.83rem; margin-top:4px; }
.cart-rec-stock { color:#129747; font-size:.62rem; margin:2px 0 5px; }
.cart-rec-card form { margin-top:auto; }
.cart-rec-card button { width:100%; background:var(--cart-orange); border:0; border-radius:3px; padding:6px; font-size:.62rem; font-weight:700; cursor:pointer; }
.cart-sourcing-card { min-height:235px; border-radius:5px; background:linear-gradient(135deg,#e8f0f5,#f9fbfc); border:1px solid var(--cart-line); padding:20px; position:relative; overflow:hidden; }
.cart-sourcing-card:after { content:''; position:absolute; right:-50px; bottom:-50px; width:190px; height:190px; border-radius:50%; border:28px solid rgba(5,65,101,.08); }
.sourcing-icon { color:#244b66; float:right; }
.sourcing-icon .icon { width:62px; height:62px; }
.cart-sourcing-card h3 { font-size:1.08rem; line-height:1.03; margin:0 0 10px; }
.cart-sourcing-card p { font-size:.7rem; color:#536a7e; max-width:170px; }
.cart-sourcing-card a { display:inline-block; margin-top:25px; background:var(--cart-orange); color:#142535; text-decoration:none; padding:9px 14px; border-radius:4px; font-size:.68rem; font-weight:800; position:relative; z-index:1; }
.cart-saved-section { margin-top:10px; }
.cart-saved-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; }
.cart-saved-card { border:1px solid var(--cart-line); border-radius:6px; padding:10px; display:grid; grid-template-columns:70px 1fr; gap:10px; align-items:start; }
.cart-saved-placeholder { width:70px; height:70px; background:#f4f7f9; display:flex; align-items:center; justify-content:center; color:#70879a; border-radius:5px; }
.cart-saved-placeholder .icon { width:34px; height:34px; }
.cart-saved-card a { color:#13273a; text-decoration:none; font-size:.75rem; font-weight:700; display:block; }
.cart-saved-card strong { font-size:.82rem; display:block; margin-top:5px; }
.cart-saved-card form { grid-column:1/-1; display:flex; gap:7px; }
.cart-saved-card button { border:0; background:#0d6fd8; color:#fff; border-radius:4px; padding:7px 10px; font-size:.65rem; cursor:pointer; }
.cart-saved-card button.secondary { background:#eef2f5; color:#263f54; }
.cart-empty-card { text-align:center; border:1px solid var(--cart-line); border-radius:8px; padding:60px 20px; }
.cart-empty-icon { color:#6b8295; }
.cart-empty-icon .icon { width:64px; height:64px; }
.cart-empty-card h2 { margin:12px 0 5px; }
.cart-empty-card p { color:#6b7d8d; margin:0 0 18px; }
.cart-empty-card .cart-primary-btn { max-width:230px; margin:0 auto; }

@media (max-width:1250px) {
    .cart-main-grid { grid-template-columns:1fr 320px; }
    .cart-table-head { display:none; }
    .cart-product-row { grid-template-columns:28px minmax(230px,2fr) 90px 110px 115px 90px; }
    .cart-product-row > :nth-child(3) { display:none; }
    .cart-product-row > :nth-child(8) { grid-column:2/-1; }
    .cart-row-actions form { flex-direction:row; gap:18px; }
    .cart-recommendation-grid { grid-template-columns:repeat(4,1fr); }
    .cart-sourcing-card { grid-column:span 2; }
}
@media (max-width:900px) {
    .cart-v2-page { padding:8px 14px 18px; }
    .cart-breadcrumb { padding-left:14px; padding-right:14px; }
    .cart-main-grid { grid-template-columns:1fr; }
    .cart-summary-card { position:static; }
    .cart-product-row { grid-template-columns:28px 1fr 110px; }
    .cart-product-row > :nth-child(3), .cart-product-row > :nth-child(4), .cart-product-row > :nth-child(6) { display:none; }
    .cart-product-row > :nth-child(5) { grid-column:3; }
    .cart-product-row > :nth-child(7) { grid-column:3; }
    .cart-product-row > :nth-child(8) { grid-column:2/-1; }
    .cart-bulk-row { gap:14px; flex-wrap:wrap; }
    .cart-recommendation-grid { grid-template-columns:repeat(3,1fr); }
    .cart-sourcing-card { grid-column:span 3; }
    .cart-saved-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px) {
    .cart-title-row { align-items:flex-start; }
    .cart-title-row h1 { font-size:1.55rem; }
    .continue-shopping { display:none; }
    .cart-product-row { grid-template-columns:24px 1fr; align-items:start; }
    .cart-product-row > :nth-child(5), .cart-product-row > :nth-child(7) { grid-column:2; justify-self:start; }
    .cart-product-row > :nth-child(8) { grid-column:2; }
    .cart-product-placeholder { width:52px; height:52px; flex-basis:52px; }
    .cart-recommendation-grid { grid-template-columns:repeat(2,1fr); }
    .cart-sourcing-card { grid-column:span 2; }
    .cart-saved-grid { grid-template-columns:1fr; }
    .cart-section-head > div { display:block; }
    .cart-section-head span { display:block; margin-top:4px; }
}

/* ---- Checkout integration ---- */
.checkout-v2-page { max-width:1200px; margin:0 auto; padding:10px 28px 28px; }
.checkout-v2-grid { display:grid; grid-template-columns:minmax(0,1fr) 350px; gap:18px; align-items:start; }
.checkout-form-card { border:1px solid var(--cart-line); border-radius:7px; padding:20px; background:#fff; }
.checkout-form-card h2 { margin:0 0 14px; font-size:1.05rem; }
.checkout-form-card h2:not(:first-child) { margin-top:24px; padding-top:18px; border-top:1px solid #e5ebef; }
.checkout-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.checkout-field-grid label { display:block; font-size:.72rem; color:#405b72; font-weight:700; }
.checkout-field-grid label.full { grid-column:1/-1; }
.checkout-field-grid input, .checkout-field-grid textarea { width:100%; box-sizing:border-box; margin-top:5px; border:1px solid #ccd8e1; border-radius:5px; padding:10px; background:#fff; color:#183047; font:inherit; }
.checkout-payment-options { display:grid; gap:8px; }
.checkout-payment-options label { border:1px solid #d7e0e7; border-radius:5px; padding:11px 12px; font-size:.78rem; cursor:pointer; }
.checkout-line-list { border:1px solid #e0e7ec; border-radius:5px; overflow:hidden; }
.checkout-product-line { display:grid; grid-template-columns:50px minmax(0,1fr) 120px 95px; gap:10px; align-items:center; padding:9px 10px; border-bottom:1px solid #e7edf1; font-size:.72rem; }
.checkout-product-line:last-child { border-bottom:0; }
.checkout-product-icon { width:46px; height:46px; display:flex; align-items:center; justify-content:center; background:#f4f7f9; color:#72889a; border-radius:4px; }
.checkout-product-icon .icon { width:26px; height:26px; }
.checkout-product-line strong { display:block; }
.checkout-product-line small { display:block; color:#738698; margin-top:2px; }
.checkout-product-line > span, .checkout-product-line > b { text-align:right; }
.checkout-summary-card { position:sticky; top:10px; }
.checkout-note { font-size:.68rem; line-height:1.45; color:#657b8e; background:#f4f8fb; border:1px solid #dce8ef; padding:9px; border-radius:5px; }
.checkout-confirm-page { max-width:760px; margin:0 auto; padding:50px 20px 70px; text-align:center; }
.confirm-icon { margin:0 auto 12px; width:60px; height:60px; border-radius:50%; background:#eaf8ef; color:#118342; display:flex; align-items:center; justify-content:center; font-size:2rem; font-weight:900; }
.checkout-confirm-page h1 { margin:0 0 6px; }
.checkout-confirm-page > p { color:#64798b; }
.confirm-card { margin:24px auto 18px; max-width:650px; border:1px solid var(--cart-line); border-radius:7px; padding:18px; text-align:left; }
.confirm-line { display:flex; justify-content:space-between; gap:18px; padding:8px 0; font-size:.78rem; }
.confirm-line small { display:block; color:#728599; margin-top:2px; }
.confirm-line.discount { color:#168347; }
.confirm-total { display:flex; justify-content:space-between; font-size:1.05rem; font-weight:800; padding-top:10px; }
.confirm-payment { margin-top:14px; padding-top:12px; border-top:1px solid #e3e9ee; color:#526a7f; font-size:.74rem; }
.confirm-continue { max-width:240px; margin:0 auto; }
@media (max-width:900px) { .checkout-v2-grid{grid-template-columns:1fr;} .checkout-summary-card{position:static;} }
@media (max-width:600px) { .checkout-v2-page{padding:10px 14px 22px;} .checkout-field-grid{grid-template-columns:1fr;} .checkout-field-grid label.full{grid-column:auto;} .checkout-product-line{grid-template-columns:44px 1fr;} .checkout-product-line > span,.checkout-product-line > b{grid-column:2;text-align:left;} }
