
:root {
    --mw-cart-blue: #103b8d;
    --mw-cart-blue-dark: #072963;
    --mw-cart-ink: #06152f;
    --mw-cart-muted: #5f6f8a;
    --mw-cart-line: #dce6f5;
    --mw-cart-soft: #f6f9fe;
    --mw-cart-radius: 18px;
    --mw-cart-shadow: 0 18px 46px rgba(8, 24, 56, .09);
}

.mw-cart-page,
.mw-cart-page * {
    box-sizing: border-box;
}

.mw-cart-page {
    width: 100%;
    background: #fff;
    color: var(--mw-cart-ink);
    font-family: inherit;
    font-weight: 300;
}

.mw-cart-container {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

/* HERO */

.mw-cart-hero {
    padding: 54px 0 28px;
    background:
        radial-gradient(circle at 12% 0%, rgba(16, 59, 141, .08), transparent 32%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border-bottom: 1px solid rgba(16, 59, 141, .08);
}

.mw-cart-kicker {
    margin: 0 0 10px;
    color: var(--mw-cart-blue);
    font-size: 11px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.mw-cart-hero h1 {
    margin: 0;
    color: var(--mw-cart-ink);
    font-size: clamp(42px, 4.1vw, 56px);
    font-weight: 620;
    line-height: .95;
    letter-spacing: -0.065em;
    text-transform: none;
}

.mw-cart-intro {
    max-width: 660px;
    margin: 16px 0 0;
    color: #33466b;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

/* MAIN */

.mw-cart-main {
    padding: 36px 0 58px;
    background: #fff;
}

.mw-cart-stage > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
    gap: 28px;
    align-items: start;
    width: 100%;
}

.mw-cart-stage .woocommerce-notices-wrapper,
.mw-cart-stage .woocommerce-message,
.mw-cart-stage .woocommerce-error,
.mw-cart-stage .woocommerce-info {
    grid-column: 1 / -1;
}

.mw-cart-stage .woocommerce-cart-form {
    grid-column: 1;
    width: 100%;
    margin: 0;
}

.mw-cart-stage .cart-collaterals {
    grid-column: 2;
    width: 100% !important;
    margin: 0 !important;
    align-self: start;
}

.mw-cart-stage th.product-quantity,
.mw-cart-stage td.product-quantity,
.mw-cart-stage th.product-subtotal,
.mw-cart-stage td.product-subtotal,
.mw-cart-stage button[name="update_cart"],
.mw-cart-stage tr.cart-subtotal {
    display: none !important;
}

/* CART TABLE */

.mw-cart-stage table.shop_table.cart {
    width: 100%;
    margin: 0 !important;
    border: 1px solid var(--mw-cart-line) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(8, 24, 56, .04);
}

.mw-cart-stage table.cart thead th {
    padding: 14px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mw-cart-line) !important;
    background: #fbfdff !important;
    color: #425476;
    font-size: 10.5px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mw-cart-stage table.cart thead th.product-remove {
    width: 50px;
}

.mw-cart-stage table.cart thead th.product-thumbnail {
    width: 100px;
}

.mw-cart-stage table.cart thead th.product-price {
    width: 140px;
    text-align: right;
}

.mw-cart-stage table.cart tr.cart_item td {
    padding: 15px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mw-cart-line) !important;
    background: #fff !important;
    vertical-align: middle;
}

.mw-cart-stage table.cart tr.cart_item:last-of-type td {
    border-bottom: 1px solid var(--mw-cart-line) !important;
}

.mw-cart-stage table.cart td.product-remove {
    width: 50px;
    text-align: center;
}

.mw-cart-stage table.cart td.product-price {
    width: 140px;
    text-align: right;
}

.mw-cart-stage table.cart td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 26px !important;
    height: 26px !important;
    border-radius: 999px !important;
    background: #f2f6fc !important;
    color: #07111f !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.mw-cart-stage table.cart td.product-remove a.remove:hover {
    background: #07111f !important;
    color: #fff !important;
    transform: scale(1.04);
}

.mw-cart-stage table.cart td.product-thumbnail img {
    width: 66px !important;
    height: auto !important;
    max-width: 66px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mw-cart-stage table.cart td.product-name a {
    color: var(--mw-cart-blue);
    font-size: 15px;
    font-weight: 520;
    line-height: 1.35;
    letter-spacing: -0.015em;
    text-decoration: none;
}

.mw-cart-stage table.cart td.product-name a:hover {
    color: var(--mw-cart-blue-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mw-cart-stage table.cart td.product-price,
.mw-cart-stage table.cart td.product-price .amount {
    color: var(--mw-cart-ink);
    font-size: 15px;
    font-weight: 820;
    letter-spacing: -0.015em;
}

.mw-cart-stage table.cart td.product-price del {
    display: block;
    margin-bottom: 3px;
    color: #7a8497;
    opacity: .68;
    font-size: 13px;
    line-height: 1.2;
}

.mw-cart-stage table.cart td.product-price del .amount {
    color: #7a8497;
    font-size: 13px;
    font-weight: 650;
}

.mw-cart-stage table.cart td.product-price ins {
    display: block;
    color: var(--mw-cart-ink);
    text-decoration: none;
}

/* COUPON */

.mw-cart-stage table.cart td.actions {
    padding: 16px 18px !important;
    border: 0 !important;
    background:
        radial-gradient(circle at 0% 50%, rgba(16, 59, 141, .055), transparent 34%),
        #fbfdff !important;
}

.mw-cart-stage table.cart td.actions::before {
    display: none !important;
}

.mw-cart-stage table.cart .coupon {
    display: flex !important;
    float: none !important;
    align-items: center;
    gap: 12px;
    width: min(100%, 520px) !important;
    margin: 0 !important;
}

.mw-cart-stage table.cart .coupon::before {
    content: "";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: var(--mw-cart-blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.59 13.41 12 22l-9-9V4h9l8.59 8.59a2 2 0 0 1 0 2.82Z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.2' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.59 13.41 12 22l-9-9V4h9l8.59 8.59a2 2 0 0 1 0 2.82Z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.2' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mw-cart-stage table.cart .coupon input.input-text {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: 44px;
    padding: 0 14px !important;
    border: 1px solid var(--mw-cart-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--mw-cart-ink);
    font-size: 13.5px;
    font-weight: 300;
    box-shadow: none !important;
}

.mw-cart-stage table.cart .coupon input.input-text:focus {
    outline: none;
    border-color: var(--mw-cart-blue) !important;
    box-shadow: 0 0 0 3px rgba(16, 59, 141, .12) !important;
}

.mw-cart-stage table.cart .coupon button.button {
    flex: 0 0 auto;
    min-width: 142px;
    height: 44px;
    padding: 0 18px !important;
    border: 1px solid #07111f !important;
    border-radius: 8px !important;
    background: #07111f !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: .01em;
    transition: background .2s ease, transform .2s ease;
}

.mw-cart-stage table.cart .coupon button.button:hover {
    background: #182033 !important;
    transform: translateY(-1px);
}

/* ORDER SUMMARY */

@media (min-width: 1101px) {
    .mw-cart-stage .cart-collaterals {
        position: sticky !important;
        top: 112px !important;
        z-index: 5;
    }

    body.admin-bar .mw-cart-stage .cart-collaterals {
        top: 144px !important;
    }
}

.mw-cart-stage .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    padding: 24px;
    border: 1px solid var(--mw-cart-line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 15% 0%, rgba(16, 59, 141, .055), transparent 34%),
        #fff;
    box-shadow: var(--mw-cart-shadow);
}

.mw-cart-stage .cart_totals h2 {
    margin: 0 0 18px;
    color: var(--mw-cart-ink);
    font-size: 0;
    line-height: 1;
}

.mw-cart-stage .cart_totals h2::before {
    content: "Order summary";
    color: var(--mw-cart-ink);
    font-size: 22px;
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: none;
}

.mw-cart-stage .cart_totals table.shop_table {
    width: 100%;
    margin: 0 0 18px !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: transparent !important;
}

.mw-cart-stage .cart_totals table.shop_table th,
.mw-cart-stage .cart_totals table.shop_table td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.mw-cart-stage .cart_totals tr.order-total th,
.mw-cart-stage .cart_totals tr.order-total td {
    padding: 16px 0 !important;
    border-top: 1px solid var(--mw-cart-line) !important;
    border-bottom: 1px solid var(--mw-cart-line) !important;
    color: var(--mw-cart-ink);
    font-size: 14.5px;
    font-weight: 620;
    text-transform: none;
}

.mw-cart-stage .cart_totals tr.order-total td {
    text-align: right;
}

.mw-cart-stage .cart_totals tr.order-total .amount {
    color: var(--mw-cart-blue);
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -0.05em;
}

/* BUTTONS */

.mw-cart-stage .wc-proceed-to-checkout {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 0 !important;
}

.mw-cart-stage .wc-proceed-to-checkout a.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 13px 16px !important;
    border-radius: 9px !important;
    font-size: 13.5px !important;
    font-weight: 780 !important;
    line-height: 1.1 !important;
    letter-spacing: .01em;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.mw-cart-stage .wc-proceed-to-checkout a.checkout-button {
    border: 1px solid var(--mw-cart-blue) !important;
    background: linear-gradient(135deg, var(--mw-cart-blue) 0%, #0b57c6 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(16, 59, 141, .22);
}

.mw-cart-stage .wc-proceed-to-checkout a.checkout-button::before {
    content: "";
    width: 17px;
    height: 17px;
    margin-right: 9px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 10V8a5 5 0 0 1 10 0v2'/%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 10V8a5 5 0 0 1 10 0v2'/%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mw-cart-stage .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, var(--mw-cart-blue-dark) 0%, var(--mw-cart-blue) 100%) !important;
    border-color: var(--mw-cart-blue-dark) !important;
    transform: translateY(-1px);
}

.mw-cart-stage .wc-proceed-to-checkout a.offrir-button {
    border: 1px solid var(--mw-cart-blue) !important;
    background: #fff !important;
    color: var(--mw-cart-blue) !important;
}

.mw-cart-stage .wc-proceed-to-checkout a.offrir-button::before {
    content: "";
    width: 17px;
    height: 17px;
    margin-right: 9px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='10' width='16' height='10' rx='1.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 10v10M4 14h16M8.5 10C6 8.5 6.5 5 9 5c2 0 3 2.5 3 5M15.5 10C18 8.5 17.5 5 15 5c-2 0-3 2.5-3 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='10' width='16' height='10' rx='1.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 10v10M4 14h16M8.5 10C6 8.5 6.5 5 9 5c2 0 3 2.5 3 5M15.5 10C18 8.5 17.5 5 15 5c-2 0-3 2.5-3 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mw-cart-stage .wc-proceed-to-checkout a.offrir-button:hover {
    background: #f3f7ff !important;
    transform: translateY(-1px);
}

.mw-cart-stage .wc-proceed-to-checkout a.empty_cart {
    min-height: 34px;
    border: 0 !important;
    background: transparent !important;
    color: #07111f !important;
    box-shadow: none !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.mw-cart-stage .wc-proceed-to-checkout a.empty_cart::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-right: 7px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 14h10l1-14M9 7V4h6v3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 14h10l1-14M9 7V4h6v3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mw-cart-stage .wc-proceed-to-checkout a.empty_cart:hover {
    color: var(--mw-cart-blue) !important;
    transform: none;
}

/* TRUST INSIDE SUMMARY */

.mw-cart-summary-trust {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(16, 59, 141, .075), transparent 38%),
        linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.mw-cart-summary-trust-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mw-cart-summary-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    color: var(--mw-cart-blue);
    box-shadow: 0 8px 20px rgba(8, 24, 56, .05);
}

.mw-cart-summary-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mw-cart-summary-trust-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--mw-cart-ink);
    font-size: 13.5px;
    font-weight: 740;
    line-height: 1.15;
}

.mw-cart-summary-trust-item span {
    display: block;
    color: #536075;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.35;
}

.mw-cart-summary-trust-item a {
    color: var(--mw-cart-blue);
    font-weight: 680;
    text-decoration: none;
}

.mw-cart-summary-trust-item a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* BOTTOM STRIP */

.mw-cart-bottom-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 32px;
    border: 1px solid var(--mw-cart-line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(16, 59, 141, .065), transparent 30%),
        #fbfdff;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(8, 24, 56, .04);
}

.mw-cart-bottom-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 108px;
    padding: 22px 28px;
    border-right: 1px solid var(--mw-cart-line);
}

.mw-cart-bottom-item:last-child {
    border-right: 0;
}

.mw-cart-bottom-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--mw-cart-blue);
}

.mw-cart-bottom-icon svg {
    width: 39px;
    height: 39px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mw-cart-bottom-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--mw-cart-ink);
    font-size: 14.5px;
    font-weight: 740;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.mw-cart-bottom-item span:not(.mw-cart-bottom-icon) {
    display: block;
    max-width: 240px;
    color: var(--mw-cart-muted);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
}

/* NOTICES / EMPTY */

/* NOTICES / EMPTY */

.mw-cart-stage .woocommerce-message,
.mw-cart-stage .woocommerce-info,
.mw-cart-stage .woocommerce-error {
    position: relative !important;
    margin: 0 0 18px !important;
    padding: 14px 16px 14px 54px !important;
    min-height: 58px;
    border: 1px solid var(--mw-cart-line) !important;
    border-radius: 14px !important;
    background: #f8fbff !important;
    color: var(--mw-cart-ink) !important;
    box-shadow: none !important;
    list-style: none !important;
}

/* Repositionne proprement l’icône WooCommerce */
.mw-cart-stage .woocommerce-message::before,
.mw-cart-stage .woocommerce-info::before,
.mw-cart-stage .woocommerce-error::before {
    top: 50% !important;
    left: 20px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

/* Nettoyage spécifique des erreurs WooCommerce, souvent en ul/li */
.mw-cart-stage .woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Bouton View cart / View basket à droite */
.mw-cart-stage .woocommerce-message .button.wc-forward,
.mw-cart-stage .woocommerce-info .button.wc-forward,
.mw-cart-stage .woocommerce-error .button.wc-forward {
    float: right !important;
    margin: -2px 0 -2px 18px !important;
}

/* Mobile */
@media (max-width: 767px) {
    .mw-cart-stage .woocommerce-message,
    .mw-cart-stage .woocommerce-info,
    .mw-cart-stage .woocommerce-error {
        padding: 46px 16px 16px 16px !important;
    }

    .mw-cart-stage .woocommerce-message::before,
    .mw-cart-stage .woocommerce-info::before,
    .mw-cart-stage .woocommerce-error::before {
        top: 18px !important;
        left: 18px !important;
        transform: none !important;
    }

    .mw-cart-stage .woocommerce-message .button.wc-forward,
    .mw-cart-stage .woocommerce-info .button.wc-forward,
    .mw-cart-stage .woocommerce-error .button.wc-forward {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        text-align: center !important;
    }
}

.mw-cart-stage .cart-empty,
.mw-cart-stage .return-to-shop {
    grid-column: 1 / -1;
    text-align: center;
}

.mw-cart-stage .cart-empty {
    padding: 36px 22px !important;
    border: 1px solid var(--mw-cart-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: var(--mw-cart-ink) !important;
    font-size: 16px;
}

.mw-cart-stage .return-to-shop a.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px !important;
    border-radius: 9px !important;
    background: var(--mw-cart-blue) !important;
    color: #fff !important;
    font-weight: 760 !important;
    text-decoration: none !important;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .mw-cart-container {
        width: min(100% - 44px, 1180px);
    }

    .mw-cart-stage > .woocommerce {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mw-cart-stage .woocommerce-cart-form,
    .mw-cart-stage .cart-collaterals {
        grid-column: 1;
    }

    .mw-cart-stage .cart-collaterals {
        position: static !important;
        top: auto !important;
    }

    .mw-cart-bottom-strip {
        grid-template-columns: 1fr;
    }

    .mw-cart-bottom-item {
        border-right: 0;
        border-bottom: 1px solid var(--mw-cart-line);
    }

    .mw-cart-bottom-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    .mw-cart-container {
        width: min(100% - 32px, 1180px);
    }

    .mw-cart-hero {
        padding: 40px 0 22px;
    }

    .mw-cart-hero h1 {
        font-size: clamp(36px, 11vw, 46px);
    }

    .mw-cart-intro {
        font-size: 15px;
    }

    .mw-cart-main {
        padding: 26px 0 46px;
    }

    .mw-cart-stage table.shop_table.cart {
        display: block;
        border-radius: 16px !important;
    }

    .mw-cart-stage table.cart thead {
        display: none !important;
    }

    .mw-cart-stage table.cart tbody,
    .mw-cart-stage table.cart tr,
    .mw-cart-stage table.cart td {
        display: block;
        width: 100% !important;
    }

    .mw-cart-stage table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 30px 70px minmax(0, 1fr);
        gap: 0 12px;
        padding: 14px;
        border-bottom: 1px solid var(--mw-cart-line);
        background: #fff;
    }

    .mw-cart-stage table.cart tr.cart_item td {
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .mw-cart-stage table.cart tr.cart_item td::before {
        display: none !important;
    }

    .mw-cart-stage table.cart td.product-remove {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        text-align: left;
    }

    .mw-cart-stage table.cart td.product-thumbnail {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .mw-cart-stage table.cart td.product-thumbnail img {
        width: 66px !important;
        height: auto !important;
        max-width: 66px !important;
        max-height: 100px !important;
    }

    .mw-cart-stage table.cart td.product-name {
        grid-column: 3;
        grid-row: 1;
        align-self: end;
        padding-bottom: 7px !important;
    }

    .mw-cart-stage table.cart td.product-name a {
        font-size: 14.5px;
        line-height: 1.32;
    }

    .mw-cart-stage table.cart td.product-price {
        grid-column: 3;
        grid-row: 2;
        align-self: start;
        text-align: left;
    }

    .mw-cart-stage table.cart td.actions {
        display: block !important;
        padding: 16px !important;
    }

    .mw-cart-stage table.cart .coupon {
        flex-direction: column;
        align-items: stretch;
        width: 100% !important;
    }

    .mw-cart-stage table.cart .coupon::before {
        display: none;
    }

    .mw-cart-stage table.cart .coupon input.input-text,
    .mw-cart-stage table.cart .coupon button.button {
        width: 100% !important;
        min-width: 0;
    }

    .mw-cart-stage .cart-collaterals .cart_totals {
        padding: 20px;
        border-radius: 18px;
    }

    .mw-cart-stage .cart_totals tr.order-total .amount {
        font-size: 23px;
    }

    .mw-cart-summary-trust {
        padding: 16px;
    }

    .mw-cart-bottom-strip {
        margin-top: 24px;
        border-radius: 16px;
    }

    .mw-cart-bottom-item {
        min-height: auto;
        padding: 20px;
    }

    .mw-cart-bottom-icon {
        width: 40px;
        height: 40px;
    }

    .mw-cart-bottom-icon svg {
        width: 35px;
        height: 35px;
    }
}
  /* =========================================================
   PATCH — Cart final alignment fixes
   1. Order summary inner padding
   2. Summary trust text overflow
   3. Coupon input / button alignment
   ========================================================= */

/* 1. Order summary: padding plus propre et total mieux aligné */
.mw-cart-stage .cart-collaterals .cart_totals {
    padding: 24px 26px 22px !important;
}

.mw-cart-stage .cart_totals h2 {
    margin: 0 0 18px !important;
}

.mw-cart-stage .cart_totals tr.order-total th,
.mw-cart-stage .cart_totals tr.order-total td {
    vertical-align: middle !important;
}

.mw-cart-stage .cart_totals tr.order-total td {
    line-height: 1 !important;
}

/* 2. Bloc reassurance dans Order summary : empêche le texte de sortir/couper */
.mw-cart-summary-trust {
    padding: 16px !important;
    gap: 13px !important;
    overflow: hidden !important;
}

.mw-cart-summary-trust-item {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: start !important;
}

.mw-cart-summary-icon {
    width: 38px !important;
    height: 38px !important;
}

.mw-cart-summary-icon svg {
    width: 19px !important;
    height: 19px !important;
}

.mw-cart-summary-trust-item > div {
    min-width: 0 !important;
    max-width: 100% !important;
}

.mw-cart-summary-trust-item strong {
    margin: 0 0 3px !important;
    font-size: 13.2px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
}

.mw-cart-summary-trust-item span {
    max-width: 100% !important;
    font-size: 12.2px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

.mw-cart-summary-trust-item a {
    white-space: nowrap !important;
}

/* 3. Coupon row : input et bouton même hauteur, alignement propre */
.mw-cart-stage table.cart td.actions {
    padding: 18px !important;
}

.mw-cart-stage table.cart .coupon {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) 150px !important;
    align-items: center !important;
    gap: 12px !important;
    width: min(100%, 560px) !important;
}

.mw-cart-stage table.cart .coupon::before {
    width: 20px !important;
    height: 20px !important;
    align-self: center !important;
}

.mw-cart-stage table.cart .coupon input.input-text {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    line-height: 44px !important;
    box-sizing: border-box !important;
    appearance: none !important;
}

.mw-cart-stage table.cart .coupon button.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 150px !important;
    min-width: 150px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

/* Mobile : coupon en colonne propre */
@media (max-width: 767px) {
    .mw-cart-stage table.cart .coupon {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .mw-cart-stage table.cart .coupon::before {
        display: none !important;
    }

    .mw-cart-stage table.cart .coupon button.button {
        width: 100% !important;
        min-width: 0 !important;
    }
}
/* =========================================================
   PATCH FINAL — Order summary aligned + sticky + small fixes
   ========================================================= */

/* Table: pas de padding parasite autour du bloc panier */
.mw-cart-stage table.shop_table.cart {
    padding: 0 !important;
}

/* Grille : résumé aligné en haut du détail de commande */
.mw-cart-stage > .woocommerce {
    align-items: start !important;
}

.mw-cart-stage .cart-collaterals {
    align-self: start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.mw-cart-stage .cart-collaterals .cart_totals {
    margin-top: 0 !important;
}

/* Sticky desktop : plus proche du haut, pas au milieu de page */
@media (min-width: 1101px) {
    .mw-cart-stage .cart-collaterals {
        position: sticky !important;
        top: 24px !important;
        z-index: 5 !important;
    }

    body.admin-bar .mw-cart-stage .cart-collaterals {
        top: 56px !important;
    }
}

/* Si ton header Oxygen est sticky/fixed, utilise plutôt ce bloc à la place :
@media (min-width: 1101px) {
    .mw-cart-stage .cart-collaterals {
        position: sticky !important;
        top: 92px !important;
        z-index: 5 !important;
    }

    body.admin-bar .mw-cart-stage .cart-collaterals {
        top: 124px !important;
    }
}
*/

/* Mobile / tablette : pas de sticky */
@media (max-width: 1100px) {
    .mw-cart-stage .cart-collaterals {
        position: static !important;
        top: auto !important;
    }
}

/* Bloc trust : texte centré verticalement, pas coupé */
.mw-cart-summary-trust-item {
    align-items: center !important;
}

.mw-cart-summary-trust-item span {
    display: flex !important;
    align-items: center !important;
    min-height: 16px !important;
}

/* Le lien Contact us reste propre dans la ligne */
.mw-cart-summary-trust-item span a {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 3px !important;
}

/* Coupon : input et bouton bien alignés */
.mw-cart-stage table.cart .coupon {
    align-items: center !important;
}

.mw-cart-stage table.cart .coupon input.input-text {
    height: 44px !important;
    min-height: 44px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 44px !important;
}

.mw-cart-stage table.cart .coupon button.button {
    height: 44px !important;
    min-height: 44px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}
/* Cart notice — vertical centering */
.mw-cart-stage .woocommerce-message,
.mw-cart-stage .woocommerce-info,
.mw-cart-stage .woocommerce-error {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 74px !important;
    padding: 14px 16px 14px 54px !important;
}

/* Si WooCommerce sort l'erreur sous forme de li */
.mw-cart-stage .woocommerce-error li {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Bouton à droite, centré verticalement */
.mw-cart-stage .woocommerce-message .button.wc-forward,
.mw-cart-stage .woocommerce-info .button.wc-forward,
.mw-cart-stage .woocommerce-error .button.wc-forward {
    margin-left: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center !important;
    flex: 0 0 auto !important;
}

/* Icône WooCommerce bien centrée */
.mw-cart-stage .woocommerce-message::before,
.mw-cart-stage .woocommerce-info::before,
.mw-cart-stage .woocommerce-error::before {
    top: 50% !important;
    transform: translateY(-50%) !important;
}