
/* .is_cart h1 .leaf {
  border-bottom: 1px solid;
} */

.is_cart .woocommerce > form {
  flex: 2;
  border-right: 1px solid;
  padding-right: 1rem;
}

.is_cart .woocommerce > .cart-collaterals {
  /* flex: 0 1 auto; */
  flex: 1;
}
.is_cart .woocommerce {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem !important;
}

/* .woocommerce :where(h1, h2, h3, h4, h5, h6) {
  border-bottom: 1px solid;
} */

/*  */

.shop_table {
  width: 100%;
  line-height: 1.3;
  border-collapse: collapse;
  /* border-collapse: separate;
  border-spacing: 1rem; */
}

.shop_table th:not(.product-name,.product-thumbnail),
.shop_table td:not(.product-name,.product-thumbnail) {
  padding-left: 0.6rem;
}

/* .woocommerce-cart-form table {
  width: 100%;
} */

.shop_table td ul {
  margin: 0;
}
.shop_table td p {
  margin: 0.5rem 0;
}
.shop_table th {
  word-break: keep-all;
  white-space: pre;
  /* overflow-wrap: normal;
  hyphens: manual; */
  vertical-align: top;
}

/* .woocommerce-cart-form table + .cart-update {
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--sep);
} */


.shop_table thead th {
  text-align: left;
  border-bottom: 1px solid;
  /* word-break: keep-all;
  vertical-align: top; */
}
/* .woocommerce-cart-form */ .shop_table td {
  text-align: left;
}

.cart_totals  {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.shop_table th {
  text-align: right;
  word-break: keep-all;
  vertical-align: top;
}
.shop_table td {
  text-align: left;
  /* vertical-align: top; */
  padding-bottom: 1rem;
}

th.product-name,
th.product-total {
  text-align: left;
}

td.product-name {
  /* width: 40%; */
  padding-top: 0.5rem;
}

.product-price {
  word-break: keep-all;
}

/* .product-name {
  width: 40%;
} */

td.actions {
  padding-top: 1rem;
  border-top: 1px solid;
  text-align: right;
}

.product-remove {
  position: absolute !important;
  border: none !important;
  z-index: 5;
  left: 0.5rem;
}

td.product-remove,
td.product-thumbnail {
  width: 1%;
}
td.product-thumbnail a {
  display: block;
  width: 60px;
  height: 60px;
  border: 1px solid var(--sep);
  /* padding: 0.2rem; */
  padding: calc(0.2 * var(--product-img-padding));
  margin: 0.5rem;
  margin-left: 0;
  margin-bottom: 0;
}
.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-subtotal,
.product-price {
  font-weight: 700;
}

/* td.actions {
  display: flex;
} */

.cart-update {
  display: flex;
  justify-content: flex-end;
}

.cart-actions {
  display: flex;
  justify-content: flex-end;
  display: flex;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sep);
}

.coupon {
  /* padding: 1rem; */
  /* position: absolute; */
}

.cart_totals > h2 {
  margin-top: 0;
  display: block;
  width: 100%;
  text-align: right;
  font-size: 120%;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sep);
}

.wc-proceed-to-checkout {
  margin-top: 1rem;
}

/*  */

.woocommerce-checkout,
.woocommerce form.login {
  width: 500px;
}
.woocommerce h2 {
  font-size: 120%;
}
.woocommerce form label {
  flex: 1;
}
/* .woocommerce .form-row, */
.woocommerce form > p {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.woocommerce .form-row label,
.woocommerce-checkout label {
  display: block;
}

textarea {
  width: 100%;
}


.product-remove {
  position: relative;
}

a.remove {
  position: relative;
  font-size: 2rem;
  font-weight: 600;
  line-height: 0.5;
  width: 2rem;
  height: 2rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background-color: var(--color-fg);
  color: var(--color-bg);
  text-decoration: none;
  color: transparent;
  font-size: 0px;
  text-indent: 1px;
  transform: scale(0.8);
  /* border: 1px solid #fff; */

  --_: #fff;
}
a.remove::after {
  all: unset;
  content: "";
  width: 24px;
  height: 24px;
  background-color: var(--_);
  clip-path: path("M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z");
}

a.remove:hover {
  --_: var(--yellow);
}

.product-name dl.variation {
  margin: 0;
  margin-top: 0.2rem;
  font-size: 80%;
  font-weight: 100;
  /* line-height: 1.3; */
}
.product-name dl.variation dd p {
  display: inline;
  font-weight: 600;
}
.product-name dl.variation dd,
.product-name dl.variation dt {
  margin: 0;
  display: inline;
}
.product-name dl.variation dd::after {
  content: "\A";
  white-space: pre;
}
