/**
 * Copyright © New Perspectives. All rights reserved.
 * Cart Totals Reordering and Styling
 * 
 * This file reorders cart totals elements and adds custom styling
 * to the Grand Total including VAT line
 */

.cart-totals .table-wrapper tbody {
    display: flex !important;
    flex-direction: column !important;
}

.cart-totals .table-wrapper tbody tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.cart-totals .table-wrapper tbody th,
.cart-totals .table-wrapper tbody td {
    text-align: right !important;
}

.cart-totals .table-wrapper tbody th.mark {
    text-align: left !important;
    flex: 1 !important;
}

.cart-totals .table-wrapper tbody td.amount {
    text-align: right !important;
}

.cart-totals .table-wrapper .totals.sub {
    order: 1 !important;
}

.cart-totals .table-wrapper .totals.shipping {
    order: 2 !important;
}

.cart-totals .table-wrapper .totals-tax {
    order: 3 !important;
}

.cart-totals .table-wrapper .grand.totals.excl {
    order: 4 !important;
}

.cart-totals .table-wrapper .grand.totals.incl {
    order: 5 !important;
}

.cart-totals .table-wrapper .grand.totals.incl .amount {
    font-weight: 650 !important;
}

.cart-totals .table-wrapper .grand.totals.incl .amount .price {
    font-weight: 650 !important;
}

.cart-totals .table-wrapper .grand.totals.incl .amount strong {
    font-weight: 650 !important;
}

.cart-totals .table-wrapper .grand.totals.incl .amount strong .price {
    font-weight: 650 !important;
}

.cart-totals .table-wrapper .grand.totals:not(.excl):not(.incl) {
    order: 5 !important;
}

