/* Keep the native WooCommerce forms and the current Academy colours. */
.mf-basket-flow .mf-purchase-steps{margin:0 0 24px;clear:both}
.mf-basket-flow .mf-purchase-steps ol{display:flex;gap:28px;list-style:none;margin:0;padding:0;border-bottom:1px solid #445052}
.mf-basket-flow .mf-purchase-steps li{display:flex;align-items:center;gap:9px;padding:12px 0;color:#b8c6cb;line-height:1.7}
.mf-basket-flow .mf-purchase-steps li a{display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none}
.mf-basket-flow .mf-purchase-steps li span{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid #667073;border-radius:50%;flex:0 0 30px}
.mf-basket-flow .mf-purchase-steps li[aria-current=step]{color:#fff;border-bottom:2px solid #eb652d}
.mf-basket-flow .mf-purchase-steps li[aria-current=step] span{background:#eb652d;border-color:#eb652d;color:#fff}
.mf-cart-intro{color:#c6d6dc;line-height:1.9;margin-bottom:28px}
.mf-basket-flow.woocommerce-cart .woocommerce{max-width:1260px;margin-inline:auto}
.mf-basket-flow.woocommerce-cart .woocommerce::after{content:"";display:table;clear:both}
.mf-basket-flow.woocommerce-cart .woocommerce-cart-form{float:right;width:64%;margin-bottom:28px}
.mf-basket-flow.woocommerce-cart .cart-collaterals{float:left;width:33%}
.mf-basket-flow.woocommerce-cart .cart-collaterals .cart_totals{float:none;width:100%;background:#12191b;border:1px solid #445052;padding:24px;box-sizing:border-box;border-radius:8px}
.mf-basket-flow.woocommerce-cart table.shop_table,.mf-basket-flow.woocommerce-cart table.shop_table th,.mf-basket-flow.woocommerce-cart table.shop_table td{background:#12191b!important;color:#f2f2f2!important;border-color:#445052}
.mf-basket-flow.woocommerce-cart .product-name{line-height:1.9}
.mf-basket-flow.woocommerce-cart .product-name a{color:#f2f2f2}
.mf-basket-flow.woocommerce-cart .product-thumbnail{width:100px;min-width:76px}
.mf-basket-flow.woocommerce-cart .product-thumbnail img{width:100px;max-width:100%;height:auto;border-radius:4px}
.mf-basket-flow.woocommerce-cart a.remove{width:44px;height:44px;line-height:42px;font-size:28px;color:#ffa777!important;border:1px solid #667073;border-radius:6px;text-align:center}
.mf-basket-flow.woocommerce-cart a.remove:hover{background:#763820;color:#fff!important}
.mf-basket-flow.woocommerce-cart input.input-text,.mf-basket-flow.woocommerce-cart input[type=number]{background:#192022!important;color:#fff!important;border:1px solid #667073;border-radius:6px;min-height:44px;padding:10px}
.mf-basket-flow.woocommerce-cart #coupon_code{width:170px;max-width:100%}
.mf-basket-flow.woocommerce-cart .coupon{display:flex;flex-wrap:wrap;gap:8px}
.mf-basket-flow.woocommerce-cart .button{font-family:inherit;min-height:44px;border-radius:6px}
.mf-basket-flow.woocommerce-cart .button.alt,.mf-basket-flow.woocommerce-cart button[name=apply_coupon]{background:#eb652d!important;color:#fff!important}
.mf-basket-flow.woocommerce-cart .mf-add-course{display:inline-flex;align-items:center;justify-content:center;border:1px solid #eb652d;background:transparent;color:#ffa777;margin:8px 0 22px;text-decoration:none}
.mf-basket-flow .mf-edit-cart{margin-block:10px 18px}
.mf-basket-flow .mf-edit-cart a{color:#ffa777;line-height:1.8}
.mf-basket-flow .mf-payment-heading{margin-block:24px 12px}
.mf-basket-flow .mf-payment-unavailable{display:flex;align-items:center;gap:10px;border:1px solid #445052;border-radius:8px;padding:10px 14px;margin:0 0 8px;color:#e0e5e6}
.mf-basket-flow .mf-payment-unavailable img{max-width:84px;max-height:28px;object-fit:contain}
.mf-basket-flow .mf-payment-unavailable small{margin-inline-start:auto;color:#b8c6cb}
.mf-basket-flow #payment ul.payment_methods li.wc_payment_method+li.wc_payment_method{border-top:1px solid #526468;margin-top:12px;padding-top:12px}
.mf-basket-flow #payment ul.payment_methods li input[type=radio]{accent-color:#eb652d}
.mf-basket-flow #payment ul.payment_methods li label img{max-width:84px;max-height:28px;object-fit:contain}
.mf-basket-flow .mf-stage-payment-choices{border:0;margin:0;padding:0}
.mf-basket-flow .mf-stage-payment-choices legend{font-weight:700;margin-block-end:8px}
.mf-basket-flow .mf-stage-payment-choices label{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-block-end:8px;border:1px solid #667073;border-radius:8px;cursor:pointer}
.mf-basket-flow .mf-stage-payment-choices label:has(input:checked){border-color:#ffa777}
.mf-basket-flow .mf-stage-payment-choices label img{margin-inline-start:auto;float:none!important}
.mf-basket-flow .mf-stage-payment-choices p{margin-block:10px 0;color:#c6d6dc}
.mf-basket-flow :focus-visible{outline:3px solid #ff9c62;outline-offset:3px}
@media(max-width:900px){
 .mf-basket-flow.woocommerce-cart .woocommerce-cart-form,.mf-basket-flow.woocommerce-cart .cart-collaterals{float:none;width:100%}
 .mf-basket-flow.woocommerce-cart .cart-collaterals .cart_totals{margin-top:20px}
}
@media(max-width:600px){
 .mf-basket-flow .mf-purchase-steps ol{gap:15px}
 .mf-basket-flow .mf-purchase-steps li{font-size:14px;gap:6px}
 .mf-basket-flow .mf-purchase-steps li a{gap:6px}
 .mf-basket-flow.woocommerce-cart .woocommerce-cart-form .product-name{text-align:right!important}
 .mf-basket-flow.woocommerce-cart .coupon{float:none!important;width:100%;margin-bottom:12px}
 .mf-basket-flow.woocommerce-cart #coupon_code{flex:1;width:auto!important}
 .mf-basket-flow.woocommerce-cart .cart-collaterals .cart_totals{padding:20px}
}

/* Extend the dark title surface to the edges of the cart page. */
.mf-basket-flow.woocommerce-cart .entry-hero-container-inner,
.mf-basket-flow.woocommerce-cart .entry-hero-container-inner .hero-container {
    background: #0b1011 !important;
    background-image: none !important;
}

.mf-basket-flow.woocommerce-cart .woocommerce-cart-form .product-name a {
    color: #f2f2f2 !important;
    text-underline-offset: 3px;
}
