/* v240: reserve separate columns for total label and amount; neutralize legacy widths. */
@media screen and (max-width:700px) {
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item,
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-item--total {
   display:grid!important; grid-template-columns:minmax(0,1fr) auto!important;
   justify-content:stretch!important; align-items:center!important;
   gap:4px!important; width:100%!important; min-width:0!important;
   box-sizing:border-box!important; flex-wrap:nowrap!important;
 }
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item > :first-child,
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-item--total > :first-child {
   grid-column:1!important; justify-self:start!important; min-width:0!important;
   width:auto!important; max-width:100%!important; flex:none!important;
   margin:0!important; position:static!important; transform:none!important;
   font-size:12px!important; line-height:1.25!important; white-space:nowrap!important;
 }
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item > :last-child,
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-item--total > :last-child {
   grid-column:2!important; justify-self:end!important; min-width:max-content!important;
   width:auto!important; max-width:none!important; flex:none!important;
   margin:0!important; position:static!important; transform:none!important;
   text-align:right!important; font-size:13px!important; line-height:1.25!important; white-space:nowrap!important;
 }
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item > :last-child *,
 body.woocommerce-cart .wc-block-cart .wc-block-components-totals-item--total > :last-child * {
   font-size:13px!important; white-space:nowrap!important;
 }
}
