:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals h2 {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--brand-color);
  padding: 16px;
}

@media (min-width: 768px) {
  :is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals h2 {
    padding: 0;
  }
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals table tr {
  display: flex;
  justify-content: space-between;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals table tr:not(:last-child) {
  border-bottom: 1px dashed var(--main-border-color);
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals table tr th {
  display: block !important;
  border: none !important;
  border-style: none !important;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals table tr td {
  border-bottom: none;
  border-style: none !important;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals :is(.order-total, .shipping, .cart-discount, .cart-subtotal, .tax-rate) th {
  font-size: 14px;
  font-weight: 500;
  background-color: transparent;
  width: auto !important;
}

@media screen and (min-width: 769px) {

  :is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals :is(.order-total, .shipping, .cart-discount, .cart-subtotal, .tax-rate, .fee) th {
    display: table-cell;
    background-color: transparent;
    border-style: dashed;
    padding-left: 0;
    padding-right: 0;
  }
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals :is(.order-total, .shipping, .cart-discount, .cart-subtotal, .tax-rate) td {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background-color: transparent !important;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals :is(.order-total, .shipping, .cart-discount, .cart-subtotal, .tax-rate) td::before {
  display: none;
}

@media screen and (min-width: 769px) {

  :is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals :is(.order-total, .shipping, .cart-discount, .cart-subtotal, .tax-rate, .fee) td {
    justify-content: flex-end;
    padding-right: 0;
  }
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals :is(.order-total, .shipping, .cart-discount, .cart-subtotal, .tax-rate) td .woocommerce-remove-coupon {
  margin-left: 4px;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals :is(.order-total, .shipping, .cart-discount, .cart-subtotal, .tax-rate) td .woocommerce-remove-coupon:hover {
  text-decoration: underline;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .cart_totals .order-total td {
  background-color: transparent !important;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals.shipping td {
  display: flex;
  flex-direction: column;
  align-items: flex-end !important;
  gap: 6px;
  background-color: transparent !important;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals.shipping td strong {
  display: none;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals .woocommerce-shipping-methods {
  margin-top: 0 !important;
  margin-bottom: 0;
  text-align: right;
  margin-left: auto;
  padding: 0 0 12px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals .woocommerce-shipping-methods li {
  line-height: 1.5em;
  list-style: none outside;
  margin-bottom: 0 !important;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals .woocommerce-shipping-methods li label {
  display: inline;
  position: relative;
  padding-left: 20px;
}

@media (min-width: 420px) {
  :is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals .woocommerce-shipping-methods li label {
    padding-left: 32px;
  }
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template).rtl .woocommerce-shipping-totals .woocommerce-shipping-methods li label {
  padding-left: 0;
  padding-right: 32px;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals .woocommerce-shipping-methods label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid var(--main-border-color);
  border-radius: 14px;
  width: 16px;
  height: 16px;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template).rtl .woocommerce-shipping-totals .woocommerce-shipping-methods label::before {
  right: 0;
}

:is(.turbo-cart-page, .elementor-editor-active, .turbo_builder-template) .woocommerce-shipping-totals .woocommerce-shipping-methods input[type="radio"]:checked~label::before {
  border-color: var(--brand-color);
  border-width: 5px;
}

.woocommerce-shipping-methods input {
  display: none;
}

:is(.turbo-cart-page, .turbo_builder-template, .elementor-editor-active) .woocommerce-shipping-totals .woocommerce-shipping-calculator .shipping-calculator-form .select2 .selection .select2-selection .select2-selection__arrow {
  top: 8px;
}

:is(.turbo-cart-page, .turbo_builder-template, .elementor-editor-active) .woocommerce-shipping-totals .woocommerce-shipping-calculator .shipping-calculator-form .select2.select2-container--open .selection .select2-selection .select2-selection__arrow {
  top: -2px;
  transform: rotate(180deg);
  right: 10px;
}

:is(.turbo-cart-page, .turbo_builder-template, .elementor-editor-active) .cart_totals .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 20px;
  margin-bottom: 0;
  background-color: var(--brand-color);
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 6px;
}

:is(.turbo-cart-page, .turbo_builder-template, .elementor-editor-active) .cart_totals .wc-proceed-to-checkout {
  padding: 16px;
  margin-top: 12px;
}