.woocommerce-error,
.woocommerce-message {
  background-color: #f5f5f5;
  padding: 20px;
  margin-top: 80px;
  margin-bottom: 40px;
  text-align: center;
}

.woocommerce-error .restore-item,
.woocommerce-message .restore-item {
  text-decoration: underline;
}

@media only screen and (min-width: 1080px) {
  .woocommerce-error .restore-item:hover,
  .woocommerce-message .restore-item:hover {
    text-decoration: none;
  }
}

.woocommerce-error .button,
.woocommerce-message .button {
  position: relative;
  margin: 20px auto 0;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  font-size: 14px;
  color: #fff;
  border: 1px solid #000;
  background-color: #000;
}

.woocommerce-error {
  color: #a21b00;
}

@media only screen and (max-width: 767px) {
  .woocommerce-error .button,
  .woocommerce-message .button {
    padding: 6.41026vw 12.82051vw;
    width: 100%;
    font-size: 3.58974vw;
    box-sizing: border-box;
  }
}

.woocommerce-error .button.wc-forward,
.woocommerce-message .button.wc-forward {
  display: none;
}

.woocommerce-cart-form {
  margin-top: 80px;
}

/* @media only screen and (max-width: 1079px) {
  .woocommerce-cart-form {
    overflow-x: scroll;
  }
} */

@media only screen and (max-width: 767px) {
  .tableWrap {
    width: 90vw;
  }
}

table.woocommerce-cart-form__contents {
  border-collapse: collapse;
  table-layout: fixed;
}


table.woocommerce-cart-form__contents th,
table.woocommerce-cart-form__contents td {
  border: 1px solid #ddd;
  padding: 10px;
  vertical-align: middle;
}

table.woocommerce-cart-form__contents thead th,
table.woocommerce-cart-form__contents thead td {
  padding: 10px 0;
}

table.woocommerce-cart-form__contents .product-remove {
  width: 50px;
  text-align: center;
}

table.woocommerce-cart-form__contents .product-thumbnail {
  width: 100px;
  padding: 0;
}

table.woocommerce-cart-form__contents .product-quantity .quantity input {
  -webkit-appearance: none;
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

table.woocommerce-cart-form__contents .product-subtotal {
  width: 150px;
}

.woocommerce-cart-form .actions .coupon {
  text-align: center;
}

.woocommerce-cart-form .actions .coupon #coupon_code {
  width: 350px;
  -webkit-appearance: none;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

@media only screen and (max-width: 767px) {
  table.woocommerce-cart-form__contents th,
  table.woocommerce-cart-form__contents td {
    border: none;
  }

  table.woocommerce-cart-form__contents .product-remove {
    width: 25px;
    padding: 0 5px 0 0;
  }
  table.woocommerce-cart-form__contents .product-thumbnail {
    width: 50px;
  }
  table.woocommerce-cart-form__contents .product-name {
    width: 120px;
  }
  table.woocommerce-cart-form__contents .product-subtotal {
    width: 70px;
  }
  .woocommerce-cart-form .actions .coupon #coupon_code {
    width: calc(90vw - 10px - 120px);
    margin-bottom: 20px;
  }
  table.woocommerce-cart-form__contents .product-price {
    display: block;
  }
  table.woocommerce-cart-form__contents .product-quantity {
    display: block;
  }
  table.woocommerce-cart-form__contents thead tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  table.woocommerce-cart-form__contents thead th {
    padding: 5px;
  }
  table.woocommerce-cart-form__contents thead th.product-price {
    border: none;
    opacity: 0;
  }
  table.woocommerce-cart-form__contents thead th.product-quantity {
    border: none;
    opacity: 0;
  }
  table.woocommerce-cart-form__contents tbody td {
    padding: 8px;
  }
  table.woocommerce-cart-form__contents tbody td.product-price {
    display: flex;
    min-height: 55px;
    align-items: center;
    border: none;
    padding-bottom: 0;
    padding-top: 0;
  }
  table.woocommerce-cart-form__contents tbody td.product-price .woocommerce-Price-amount {
    word-wrap: break-word;
  }

  table.woocommerce-cart-form__contents tbody td.product-quantity {
    padding-top: 0;
    border: none;
  }
  table.woocommerce-cart-form__contents tbody tr {
    border-bottom: 1px solid #ddd;
  }
  table.woocommerce-cart-form__contents tbody td.product-subtotal {
    word-wrap: break-word;
    padding-right: 0;
  }

}

.woocommerce-cart-form .actions .coupon button {
  -webkit-appearance: none;
  background-color: #000;
  color: #fff;
  padding: 8px 10px;
  border: none;
  cursor: pointer;
}

.woocommerce-cart-form .actions .update_cartWrap {
  margin: 30px 0 60px;
  text-align: center;
}

.woocommerce-cart-form .actions .update_cartWrap button {
  border: none;
  -webkit-appearance: none;
  background-color: #868686;
  color: #fff;
  padding: 5px 10px;
}

.woocommerce-cart-form .actions .update_cartWrap button:not([disabled]) {
  cursor: pointer;
}

.cart-collaterals {
  margin-top: 40px;
  margin-bottom: 80px;
  padding: 20px;
  background-color: #f5f5f5;
  text-align: center;
  line-height: 1.5;
}

.cart-collaterals br {
  display: none;
}

.cart-collaterals table th,
.cart-collaterals table td {
  padding: 10px 0;
  vertical-align: middle;
}

.cart-collaterals table th {
  width: 20%;
  text-align: left;
}

.cart-collaterals table td {
  width: 80%;
  font-weight: bold;
}

.cart-collaterals .wc-proceed-to-checkout {
  margin-top: 20px;
  text-align: center;
}

.cart-collaterals .wc-proceed-to-checkout a {
  background-color: #000;
  color: #fff;
  padding: 20px 40px;
  display: inline-block;
}

.pageContentWrap {
  margin-top: 60px;
  padding-bottom: 125px;
}

@media only screen and (max-width: 767px) {
  .cart-collaterals {
    margin-top: 40px;
  }

  .cart-collaterals br {
    display: block;
  }
  .pageContentWrap {
    margin-top: 15.38462vw;
  }
}

.noticeTextWrap {
  text-align: center;
}

.noticeTextWrap p,
.noticeTextWrap .woocommerce-info {
  font-size: 14px;
  line-height: 1.6;
}

@media only screen and (max-width: 767px) {
  .noticeTextWrap p,
  .noticeTextWrap .woocommerce-info {
    font-size: 3.58974vw;
  }
}

.noticeTextWrap .btn {
  margin: 40px auto 0;
  width: 280px;
}

@media only screen and (max-width: 767px) {
  .noticeTextWrap .btn {
    width: 71.79487vw;
    box-sizing: border-box;
  }
}
