/* Only MyBox calculator 1823's shipping total. Keep a currency amount together
   instead of the native 40% value column breaking its last digit onto a line. */
#ccb_app_1823 #total_field_id_6 > .ccb-total-row__item {
    flex-wrap: wrap;
    gap: 8px 16px;
}

#ccb_app_1823 #total_field_id_6 > .ccb-total-row__item > .ccb-total-row__name {
    flex: 1 1 10rem;
    width: auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

#ccb_app_1823 #total_field_id_6 > .ccb-total-row__item > .ccb-total-row__value {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    white-space: nowrap;
}

#ccb_app_1823 #total_field_id_6 > .ccb-total-row__item > .ccb-total-row__value > span {
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

@media (max-width: 480px) {
    #ccb_app_1823 #total_field_id_6 > .ccb-total-row__item {
        flex-direction: column;
        align-items: stretch;
    }

    #ccb_app_1823 #total_field_id_6 > .ccb-total-row__item > .ccb-total-row__name {
        flex: 0 1 auto;
        width: 100%;
    }

    #ccb_app_1823 #total_field_id_6 > .ccb-total-row__item > .ccb-total-row__value {
        align-self: flex-end;
    }
}
