body.woocommerce-cart .sf-cart-totals__table tr.cart-subtotal,
body.woocommerce-cart .sf-cart-totals__table tr.order-total {
  grid-template-columns: minmax(96px, 1fr) minmax(0, auto);
  align-items: center;
  column-gap: 18px;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal th,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal td,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total th,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total td {
  display: flex;
  align-items: center;
  min-height: 50px;
  box-sizing: border-box;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal td,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total td {
  justify-content: flex-end;
  justify-self: end;
  max-width: 100%;
  line-height: 1.1;
  white-space: nowrap;
}

body.woocommerce-cart .sf-cart-totals__table tr.order-total {
  min-height: 64px;
  padding: 7px 0;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total th,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total td {
  padding-top: 0;
  padding-bottom: 0;
}

/* Cart summary: keep every separator on the row, not on individual cells. */
body.woocommerce-cart .woocommerce .sf-cart-totals__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total {
  display: grid !important;
  grid-template-columns: minmax(96px, 1fr) max-content !important;
  align-items: center !important;
  column-gap: 20px;
  width: 100%;
  min-height: 56px;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e7ed !important;
  background: transparent !important;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total {
  min-height: 64px;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal > th,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal > td,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total > th,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total > td {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1.15;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal > th,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total > th {
  justify-content: flex-start;
  text-align: left;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal > td,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total > td {
  justify-content: flex-end !important;
  justify-self: end !important;
  text-align: right !important;
  white-space: nowrap;
}

body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.cart-subtotal > td::before,
body.woocommerce-cart .woocommerce .sf-cart-totals__table tr.order-total > td::before {
  display: none !important;
  content: none !important;
}

.product-card__buy.is-loading,
.single_add_to_cart_button.is-loading {
  pointer-events: none;
  cursor: wait;
  opacity: .68;
}
