.cart-section {
  padding: 50px 0;
}

.cart-section .content {
  margin-bottom: 40px;
}

.cart-section .sidebar h2,.cart-section .sidebar .h2 {
  font-size: 1.625rem;
  line-height: 1.22;
  font-weight: 500;
  margin-bottom: 20px;
}

.cart-section h1,.cart-section .h1 {
  font-size: 2.25rem;
  line-height: 1.22;
  font-weight: 500;
  margin-bottom: 40px;
}

.cart-section .link-holder {
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 500;
}

.cart-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 40px;
}

.cart-table th {
  font-weight: 400; /* was !important */
  font-size: 1.125rem !important;
  line-height: 1 !important;
  text-align: left;
  border-bottom: 1px solid #ebebeb;
  padding: 15px 10px;
}

.cart-table td, .cart-table th {
  vertical-align: top;
  padding: 20px 5px;
}

.cart-table td p:last-child {
  margin-bottom: 0;
}

.cart-table .image-col {
/*   width: 15.5%; */
/* 
  padding-top: 20px;
 */
  padding-bottom: 20px;
}

.cart-table .name-col {
/*   width: 30%; */
}

.cart-table .options-col {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
/*   width: 19.7%; */
}

.cart-table .quantity-col {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
/*   width: 13.2%; */
}

.cart-table .price-col {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
/*   width: 10.2%; */
  text-align: right;
}

.cart-table .totalprice-col {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
/*   width: 11.4%; */
  text-align: right;
}

.cart-table .actions-col {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 500;
/*   width: 11.4%; */
  text-align: right;
}

.cart-table .img-block {
  background-color: #e6e6e6;
  width: 255px; /* was 127px */
  height: 255px; /* was 127px */
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: scroll;
}

.cart-table .img-block img {
  max-height: 100%;
}

.cart-table h3,.cart-table .h3 {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
}

.cart-table h3:last-child,.cart-table .h3:last-child {
  margin-bottom: 0;
}

.order-summary {
  background-color: #f1f3f4;
  border: 1px solid #e6e6e6;
  padding: 37px 31px;
}

.order-summary dl {
  font-size: 1.125rem;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  margin-bottom: 43px;
}

.order-summary dt {
  font-weight: 500;
}

.order-summary dd {
  font-weight: 700;
}

.order-summary .btn {
  width: 100%;
}


@media screen and (min-width: 768px) {
  .cart-table td {
    padding: 15px 10px;
  }
}

@media screen and (min-width: 1024px) {
  .cart-section {
    padding: 127px 0;
  }

  .cart-section .holder {
    display: flex;
    flex-wrap: wrap;
  }

  .cart-section .content {
    width: 71.8%;
    padding-right: 52px;
    margin-bottom: 0;
  }

  .cart-section .sidebar {
    width: 28.2%;
    padding-top: 10px;
  }

  .cart-section .sidebar h2,.cart-section .sidebar .h2 {
    margin-bottom: 45px;
  }

  .cart-section .link-holder {
    padding: 0 10px;
  }

  .cart-table td {
    border-bottom: 1px solid #ebebeb;
  }

  .cart-table h3,.cart-table .h3 {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    display: block;
    border-bottom: 1px solid #ebebeb;
  }

  .cart-table tr:first-child {
    border-top: 1px solid #ebebeb;
  }

  .cart-table td {
    display: flex;
    flex-wrap: wrap;
    width: 100% !important;
  }

  .cart-table td:before {
    content: attr(data-title);
    margin-right: auto;
    width: 30%;
    font-weight: 400 !important;
    font-size: 1.125rem !important;
    line-height: 1 !important;
  }
}

@media screen and (max-width: 1023px) {
  .cart-table th:first-child {
    padding-left: 0;
  }

  .cart-table th:last-child {
    padding-right: 0;
  }

  .cart-table td:first-child {
    padding-left: 0;
  }

  .cart-table td:last-child {
    padding-right: 0;
  }
}

