@media (max-width: 600px) {
  body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    display: block;
    width: 100%;
  }

  body.woocommerce-cart .cart_totals .shop_table {
    display: block;
    width: 100%;
  }

  body.woocommerce-cart .cart_totals {
    --baebronx-mobile-side-switcher-clearance: 87px;

    box-sizing: border-box;
    padding-right: 0;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table thead,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot,
  body.woocommerce-cart .cart_totals .shop_table tbody,
  body.woocommerce-cart .cart_totals .shop_table tfoot {
    display: block;
    width: 100%;
  }

  body.woocommerce-cart .cart_totals .wc-proceed-to-checkout,
  body.woocommerce-cart .cart_totals .checkout-button {
    width: 100%;
    max-width: 100%;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot {
    display: block;
    width: 100%;
  }

  body.woocommerce-cart .cart_totals .shop_table tfoot {
    display: block;
    width: 100%;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table thead tr,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr,
  body.woocommerce-cart .cart_totals .shop_table tr {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  body.woocommerce-cart .cart_totals .shop_table tr:not(.woocommerce-shipping-totals) {
    grid-template-columns: minmax(72px, 0.45fr) minmax(0, 1fr);
    column-gap: 10px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
  body.woocommerce-cart .cart_totals .shop_table th,
  body.woocommerce-cart .cart_totals .shop_table td {
    display: block;
    width: auto !important;
    max-width: none;
    min-width: 0;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th:last-child,
  body.woocommerce-cart .cart_totals .shop_table td:last-child,
  body.woocommerce-cart .cart_totals .shop_table th:last-child {
    text-align: right;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping,
  body.woocommerce-cart .cart_totals .shop_table tr.woocommerce-shipping-totals.shipping {
    display: block;
    width: 100%;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td,
  body.woocommerce-cart .cart_totals .shop_table tr.woocommerce-shipping-totals.shipping th,
  body.woocommerce-cart .cart_totals .shop_table tr.woocommerce-shipping-totals.shipping td {
    display: block;
    width: 100% !important;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th,
  body.woocommerce-cart .cart_totals .shop_table tr.woocommerce-shipping-totals.shipping th {
    padding-bottom: 8px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td,
  body.woocommerce-cart .cart_totals .shop_table tr.woocommerce-shipping-totals.shipping td {
    padding-top: 0;
  }

  #shipping_method {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
  }

  body.woocommerce-checkout #shipping_method li,
  body.woocommerce-cart #shipping_method li,
  body.woocommerce-cart .cart_totals #shipping_method li.selected-shipping {
    display: grid !important;
    width: 100% !important;
    max-width: 100%;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    margin: 0 0 10px;
    text-align: left;
  }

  body.woocommerce-checkout #shipping_method input.shipping_method,
  body.woocommerce-cart #shipping_method input.shipping_method {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin: 3px 0 0 !important;
    align-self: start;
    justify-self: start;
    box-sizing: border-box;
  }

  body.woocommerce-checkout #shipping_method input[type="hidden"].shipping_method + label,
  body.woocommerce-cart #shipping_method input[type="hidden"].shipping_method + label {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100%;
  }

  #shipping_method label {
    display: block !important;
    width: 100% !important;
    min-width: 0;
    margin: 0;
    padding: 0;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
  }

  #shipping_method label .amount {
    white-space: nowrap;
  }

  body.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
    width: 100%;
    text-align: left;
  }

  #shipping_method.shipping-methods-collapsed li:not(.selected-shipping) {
    display: none !important;
  }

  .change-shipping-btn {
    display: inline-block;
    max-width: 100%;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    line-height: 1.35;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
    white-space: normal;
  }
}
