.header-block {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 15rem;
}
.woocommerce table.cart td.actions .button,
.woocommerce-page table.cart td.actions .button {
  display: inline-block;
  width: auto;
  padding: 1.5rem 3rem;
  border-radius: 0;
}

.woocommerce table.shop_table td.actions {
  padding-right: 0;
  padding-top: 20px;
}

.cart__inner.container {
  padding: 3rem;
}

body.woocommerce-checkout .form-block {
  display: none;
}

body .coupon input {
  width: 135px !important;
  display: block;
}

a.checkout-button.button.alt.wc-forward {
  background-color: #00488c;
  padding: 1rem;
  border-radius: 0;
  font-style: normal;
  font-weight: 750;
  font-size: 18px;
  line-height: 22px;
  display: inline-flex;
  align-items: center;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 15px;
}

.wc-proceed-to-checkout {
  text-align: right;
}

.woocommerce .quantity .qty {
  width: 65px;
  padding: 1rem;
}

.cart {
  padding-top: 6rem;
}

main#site-content {
  min-height: 60vh;
}

.woocommerce-cart table.cart img {
  width: 100px;
}

.woocommerce table.shop_table {
  border: none;
}

.control-plus {
  right: 8px;
}

.control-minus {
  left: 8px;
}

.control-plus:before {
  font-weight: bold;
  content: '\f543';
  font-family: dashicons;
  font-size: 19px;
  font-weight: bold;
}

.control-minus:before {
  font-weight: bold;
  content: '\f460';
  font-family: dashicons;
  font-size: 19px;
  font-weight: bold;
}

.control-minus,
.control-plus {
  font-size: 23px;
  display: block;
  position: absolute;
  top: 7px;
  text-align: center;
  width: 20px;
  color: #00478c;
  font-weight: bold;
  cursor: pointer;
}

.quantity {
  position: relative;
  width: 95px;
}

.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce .quantity input.qty[type='number'] {
  -moz-appearance: textfield;
}

.woocommerce .quantity input.qty {
  display: inline-block;
  width: 100%;
  height: 35px;
  padding: 1rem;
  margin: 0;
  font-size: 1.6rem;
  font-family: 'Avenir Regular';
}

@media screen and (max-width: 1023px) {
  td.product-name {
    max-width: 200px;
  }
  .header-block {
    min-height: 7rem;
  }
}

@media screen and (max-width: 850px) {
  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    border: none;
  }

  .woocommerce-page table.shop_table_responsive tr td.product-remove {
    display: inline-block;
    width: auto;
  }

  /* .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before{
       content: unset;
   } */

  td.product-remove {
    display: block;
    float: left;
    width: 100%;
  }
  .woocommerce-page table.cart td.product-thumbnail::before {
    content: unset;
  }
  .woocommerce-page table.cart .product-thumbnail {
    display: block;
    min-width: 25%;
    float: left;
    border: none;
  }
  td.product-subtotal,
  td.product-quantity,
  td.product-price,
  td.product-name {
    width: 60%;
    float: right;
    max-width: initial;
  }
  .header-block {
    min-height: 6rem;
  }
  main#site-content {
    min-height: unset;
  }
  .cart {
    padding-top: unset;
  }

  .woocommerce a.remove {
    display: block;
    font-size: 3.5rem;
    height: 3rem;
    width: 3rem;
  }

  td.product-remove {
    padding: 0 !important;
  }

  .woocommerce-cart table.cart img {
    width: 160px;
  }
  .woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
  }
  a.checkout-button.button.alt.wc-forward {
    margin-top: 0px;
  }
  .quantity {
    position: relative;
    width: 35%;
    display: inline-block;
  }
  .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
  .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
    background-color: unset;
    border: unset;
  }
  .woocommerce table.shop_table_responsive tr {
    border-top: solid 1px lightgrey;
  }
  .woocommerce table.shop_table_responsive tr:first-of-type {
    border: none;
  }
  .woocommerce table.shop_table {
    margin: 0 -1px 10px 0;
  }
  .woocommerce
    table.shop_table_responsive
    tr.woocommerce-cart-form__cart-item.cart_item {
    padding: 10px 0;
    display: table;
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  td.product-subtotal,
  td.product-quantity,
  td.product-price,
  td.product-name {
    width: 100%;
    float: right;
    max-width: initial;
    padding: 10px 0 !important;
    border: none;
  }

  .woocommerce-page table.shop_table_responsive tr td.product-remove {
    display: inline-block;
    width: auto;
    border: none;
  }

  /* .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before{
        content: unset;
    } */
  .woocommerce-page table.cart td.product-thumbnail::before {
    content: unset;
  }
  .woocommerce-page table.cart .product-thumbnail {
    display: inline-block;
    min-width: 68%;
  }
  .header-block {
    min-height: 6rem;
  }
  main#site-content {
    min-height: unset;
  }
  .cart {
    padding-top: unset;
  }

  .woocommerce-cart table.cart img {
    width: 160px;
  }
  .woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
  }
  a.checkout-button.button.alt.wc-forward {
    margin-top: 0px;
  }
  .quantity {
    position: relative;
    width: 35%;
    display: inline-block;
  }
  .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
  .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
    background-color: unset;
    border: unset;
  }
  .woocommerce table.shop_table_responsive tr {
    border-top: solid 1px lightgrey;
  }
  .woocommerce table.shop_table_responsive tr:first-of-type {
    border: none;
  }
  .woocommerce table.shop_table {
    margin: 0 -1px 10px 0;
  }
  .woocommerce
    table.shop_table_responsive
    tr.woocommerce-cart-form__cart-item.cart_item {
    padding: 10px 0;
  }
}
