/*------------------------------------------------------------
CART SUMMARY
====================================*/

.cart-totals {
  margin-bottom: 2rem;
  .cart-totals-header {
    padding: 1.4rem 2rem;
    border-bottom: 0.1rem solid $gray-200;
  }
  .cart-totals-body {
    padding: 0 2rem;
  }
  .simplebar-content-wrapper {
    padding-right: 0;
  }
  .simplebar-content  {
    tr {
      display: flex;
    }
  }

  th {
    @extend %title-label;
    padding-left: 0;
    padding-right: 0;
    &:first-child {
      padding-left: 0;
    }
    &:last-child {
      padding-right: 0;
    }
  }
  td {
    padding-left: 0;
    padding-right: 0;
    padding: 1.2rem 0;
  }
  tr:first-child {
    td {
      border-top: 0;
    }
  }
  tr:last-child {
    td {
      border-bottom: 0;
    }
  }

  .sylius-table-column-item {
    flex: 1;
  }
  .sylius-table-column-qty {
    width: 3rem;
    padding-left: 0;
    padding-right: 0;
    flex-shrink: 0;
  }
  .sylius-table-column-subtotal {
    width: 6.5rem;
    flex-shrink: 0;
  }
}
.cart-totals-tr-total {
  font-size: 2.2rem;
  font-weight: $font-weight-sbold;
  td {
    padding-bottom: 0;
    border-bottom: 0;
  }
}
.cart-totals-tr-tax {
  td {
    padding-top: 0;
    border-top: none;
  }
}
.cart-totals-tr-currency {
  td {
    padding-top: 0;
    border-top: none;
  }
}

.checkout-summary {
  margin-bottom: 3rem;
  thead {
    th {
      border-top: 0;
    }
  }
  tbody {
    border-bottom: 0.2rem solid $gray-500;
  }
}

.address-summary {
  .card-body {
    padding: 2rem;
  }
  address {
    margin-bottom: 0;
    line-height: 1.9rem;
  }
}

/* RESPONSIVE */
/***************************************/
@include media-breakpoint-down(md) {
  .checkout-summary {
    margin-top: 2rem;
  }
}
