/* Keep coupon labels inside the existing cart and checkout columns. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    width: 100%;
    table-layout: fixed;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead .product-name {
    width: 62%;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead .product-total {
    width: 38%;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td.product-name {
    display: table-cell;
    width: auto;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .cart-discount th,
.woocommerce-cart .cart_totals .cart-discount th {
    overflow-wrap: anywhere;
    word-break: normal;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .amount,
.woocommerce-cart .cart_totals .amount {
    white-space: nowrap;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .woocommerce-remove-coupon {
    display: inline-block;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead .product-total {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .woocommerce-cart .cart_totals .cart-discount td::after {
        content: "";
        display: table;
        clear: both;
    }
    .woocommerce-cart .cart_totals .cart-discount td::before {
        max-width: 60%;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* This colspan row is a sentence, not a labelled amount. */
.woocommerce-cart .cart_totals .opft-checkout-loyalty td {
    text-align: left !important;
}
.woocommerce-cart .cart_totals .opft-checkout-loyalty td::before {
    content: none;
    display: none;
}
