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

.cart-totals {
  margin-bottom: 20px;
  .cart-totals-header {
    padding: 1.4rem 2rem;
    border-bottom: 1px solid $gray-200;
  }
  .cart-totals-body {
    padding: 0 2rem;
  }
  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;
    }
  }
}
.cart-totals-price {
  @extend .title-label;
  text-align: right;
}
.cart-totals-tr-total {
  font-size: 22px;
  font-weight: $font-weight-sbold;
  td {
    padding-bottom: 0;
    border-bottom: 0;
  }
  td.cart-totals-total-amount {
    font-size: 18px;
    font-weight: $font-weight-sbold;
    span {
      font-size: 22px;
    }
  }
}
.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: 30px;
  thead {
    th {
      border-top: 0;
    }
  }
  tbody {
    border-bottom: 2px solid $gray-500;
  }
}

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

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