/*--------------------------------------------------------------
WooCommerce Tables
--------------------------------------------------------------*/

// Borders
#add_payment_method .cart-collaterals .cart_totals tr td,
#add_payment_method .cart-collaterals .cart_totals tr th,
.woocommerce-cart .cart-collaterals .cart_totals tr td,
.woocommerce-cart .cart-collaterals .cart_totals tr th,
.woocommerce-checkout .cart-collaterals .cart_totals tr td,
.woocommerce-checkout .cart-collaterals .cart_totals tr th {
  border-top: 1px solid var(--wpstream-header-search-border-color, var(--wpstream-header-search-border-color-default)) !important;
}

.woocommerce table.shop_attributes td {
  border-bottom: 1px solid;
}

.woocommerce table.shop_attributes th {
  border-bottom: 1px solid;
}

.woocommerce table.shop_attributes {
  border-top: 1px solid;
}

.woocommerce table.shop_table td {
  border-top: 1px solid;
}
.wc-block-components-sidebar-layout .wc-block-components-main{
  width: 100%;
  padding: 0px;
}


// Woo table border-radius
.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block,
.wc-block-cart table.wc-block-cart-items,
.woocommerce table.shop_table {
  border-radius: $border-radius;

  tbody {
    tr {
      td {
        background-color: var(--wpstream-eerie-black) !important;
      }
    }
  }
}

// Border radius cart actions
// WooCommerce breakpoints are at 769px
@media (max-width: 768px) {
  .shop_table_responsive td.actions {
    border-bottom-right-radius: $border-radius;
    border-bottom-left-radius: $border-radius;
  }
}

.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block {
  border-collapse: unset;

  thead {
    border: 0px;
    border-collapse: unset;


    tr {
      border: 0px;
      border-collapse: unset;
      text-transform: capitalize;
      th {
        font-weight: 700;
        padding: 9px 12px!important;
        line-height: 1.5em;
        border-collapse: unset;
      }
    }
  }

  tbody {
    border: 0px;
    border-collapse: unset;

    tr {
      border: 0px;
      border-collapse: unset;

      td {
        border: 0px;
        border-collapse: unset;
      }
    }
  }
}

.is-large.wc-block-cart .wc-block-cart-items th{
  padding: 10px 15px;
}
.is-large.wc-block-cart .wc-block-cart-items th:last-child {
    padding-right: 15px;
}

.wc-block-cart table.wc-block-cart-items, 
.wc-block-cart table.wc-block-cart-items td, 
.wc-block-cart table.wc-block-cart-items th {
    margin: 0 0 15px 0;
}