
/* Works on the rendered checkout only. WooCommerce remains the source of all totals/payment logic. */

#order_review.sbac-sp-ready{
    display:block!important;
    width:100%!important;
}

/* 03 Summary */
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table{
    width:100%!important;
    table-layout:auto!important;
    border:0!important;
    border-collapse:collapse!important;
    margin:0!important;
    background:transparent!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table thead{
    display:none!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr{
    border:0!important;
    border-bottom:1px solid #e7ece9!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table th,
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table td{
    border:0!important;
    padding:15px 0!important;
    background:transparent!important;
    vertical-align:middle!important;
    font-size:14px!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table td.product-name{
    width:70%!important;
    color:#26352d!important;
    font-weight:600!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table td.product-total,
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tfoot td{
    text-align:right!important;
    white-space:nowrap!important;
    font-weight:700!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tfoot th{
    color:#526159!important;
    font-weight:600!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.cart-subtotal{
    display:none!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.cart-discount th{
    color:#526159!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.cart-discount .woocommerce-remove-coupon{
    display:block!important;
    margin-top:5px!important;
    color:#6c7771!important;
    font-size:11px!important;
    font-weight:500!important;
    text-decoration:underline!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.order-total{
    border-bottom:0!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.order-total th,
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.order-total td{
    padding-top:20px!important;
    font-size:17px!important;
    color:#17221d!important;
    font-weight:800!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.order-total th{
    font-size:0!important;
}
#order_review.sbac-sp-ready .woocommerce-checkout-review-order-table tr.order-total th:after{
    content:"REGISTRATION TOTAL";
    font-size:12px!important;
    letter-spacing:.08em;
}

/* Visual divider/title injected around existing payment node */
.sbac-sp-payment-heading{
    margin:25px 0 0!important;
    padding:19px 0 14px!important;
    border-top:1px solid #e1e7e3!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
}
.sbac-sp-payment-heading .sbac-sp-num{
    display:grid;
    place-items:center;
    width:34px;height:34px;
    flex:0 0 34px;
    border-radius:10px;
    background:#f5f8f6;
    color:#12633e;
    font-size:12px;
    font-weight:800;
}
.sbac-sp-payment-heading strong{
    display:block;
    font-size:15px;
    color:#17221d;
}
.sbac-sp-payment-heading small{
    display:block;
    margin-top:3px;
    color:#69756f;
    font-size:11px;
    font-weight:400;
}

/* 04 Payment */
#order_review.sbac-sp-ready #payment{
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
}
#order_review.sbac-sp-ready #payment ul.payment_methods{
    margin:0!important;
    padding:0!important;
    border:0!important;
    list-style:none!important;
}
#order_review.sbac-sp-ready #payment ul.payment_methods > li{
    margin:0 0 12px!important;
    padding:16px!important;
    border:1px solid #e1e7e3!important;
    border-radius:12px!important;
    background:#fbfcfb!important;
}
#order_review.sbac-sp-ready #payment label{
    font-size:14px!important;
    font-weight:700!important;
    color:#17221d!important;
}
#order_review.sbac-sp-ready #payment .payment_box{
    margin:10px 0 0!important;
    padding:11px 13px!important;
    border-radius:9px!important;
    background:#f5f8f6!important;
    color:#66736c!important;
    font-size:12px!important;
}
#order_review.sbac-sp-ready #payment .payment_box:before{display:none!important}

#order_review.sbac-sp-ready #payment .place-order{
    padding:12px 0 0!important;
    margin:0!important;
}
#order_review.sbac-sp-ready #payment .woocommerce-privacy-policy-text{
    color:#69756f!important;
    font-size:11px!important;
    line-height:1.55!important;
    margin:4px 0 12px!important;
}
#order_review.sbac-sp-ready #payment .woocommerce-terms-and-conditions-wrapper{
    margin:13px 0!important;
    padding:13px 14px!important;
    border:1px solid #e1e7e3!important;
    border-radius:11px!important;
    background:#f8faf9!important;
}
#order_review.sbac-sp-ready #payment .woocommerce-form__label-for-checkbox{
    font-size:12px!important;
    font-weight:600!important;
    line-height:1.5!important;
}
#order_review.sbac-sp-ready #place_order{
    width:100%!important;
    min-height:54px!important;
    margin-top:8px!important;
    border:0!important;
    border-radius:12px!important;
    background:#12633e!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:800!important;
    box-shadow:none!important;
}
#order_review.sbac-sp-ready #place_order:hover{
    background:#0b4d2f!important;
}

/* If portal v1.1 wrapped order_review in card 03, make that content full width. */
.sbac-card .sbac-content #order_review.sbac-sp-ready{
    max-width:none!important;
}

/* Friendly quantity wording */
.sbac-sp-participant-count{
    display:block;
    margin-top:4px;
    color:#69756f;
    font-size:11px;
    font-weight:500;
}

@media(max-width:650px){
    #order_review.sbac-sp-ready .woocommerce-checkout-review-order-table th,
    #order_review.sbac-sp-ready .woocommerce-checkout-review-order-table td{
        padding:13px 0!important;
        font-size:13px!important;
    }
    #order_review.sbac-sp-ready .woocommerce-checkout-review-order-table td.product-name{
        width:62%!important;
    }
}
