.woocommerce-cart .entry__header,
.woocommerce-cart .entry__content > .woocommerce {
  width: min(100%, 960px);
  margin-inline: auto;
}

.woocommerce-cart .woocommerce-notices-wrapper {
  margin-bottom: 24px;
}

.woocommerce-cart form.woocommerce-cart-form {
  margin: 0 0 22px;
}

.woocommerce-cart table.shop_table.cart {
  display: block;
  overflow: hidden;
  border-width: 4px;
  background: #fff;
}

.woocommerce-cart table.shop_table.cart thead {
  display: none;
}

.woocommerce-cart table.shop_table.cart tbody,
.woocommerce-cart table.shop_table.cart tr,
.woocommerce-cart table.shop_table.cart td {
  display: block;
}

.woocommerce-cart table.shop_table.cart tr.cart_item {
  display: grid;
  grid-template-columns: 36px 92px minmax(0, 1fr) minmax(130px, auto) minmax(100px, auto);
  grid-template-areas: "remove image name quantity subtotal";
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 3px solid var(--ink);
}

.woocommerce-cart table.shop_table.cart td {
  border: 0;
  padding: 0;
}

.woocommerce-cart table.shop_table.cart td.product-remove {
  grid-area: remove;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail {
  grid-area: image;
}

.woocommerce-cart table.shop_table.cart td.product-name {
  grid-area: name;
}

.woocommerce-cart table.shop_table.cart td.product-price {
  display: none;
}

.woocommerce-cart table.shop_table.cart td.product-quantity {
  grid-area: quantity;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal {
  grid-area: subtotal;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 900;
  text-align: right;
}

.woocommerce-cart table.shop_table.cart .product-remove .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  color: #b90f22 !important;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.woocommerce-cart table.shop_table.cart .product-thumbnail img {
  width: 92px;
  height: 92px;
  border: 3px solid var(--ink);
  object-fit: cover;
}

.woocommerce-cart table.shop_table.cart .product-name a {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.woocommerce-cart table.shop_table.cart .product-quantity .quantity {
  display: flex;
  justify-content: center;
}

.woocommerce-cart table.shop_table.cart .cart-page-qty-stepper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.woocommerce-cart table.shop_table.cart .cart-page-qty-stepper__btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.woocommerce-cart table.shop_table.cart .cart-page-qty-stepper__btn:hover {
  background: var(--surface-strong);
}

.woocommerce-cart table.shop_table.cart .cart-page-qty-stepper .qty {
  width: 36px;
  height: 28px;
  min-height: 28px;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}

.woocommerce-cart table.shop_table.cart .cart-page-qty-stepper .qty::-webkit-outer-spin-button,
.woocommerce-cart table.shop_table.cart .cart-page-qty-stepper .qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.woocommerce-cart table.shop_table.cart td.actions {
  display: flex;
  justify-content: flex-end;
  padding: 18px 22px 22px;
}

.woocommerce-cart table.shop_table.cart td.actions .button {
  min-height: 48px;
}

.woocommerce-cart .cart-collaterals {
  width: 100%;
}

.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after {
  display: none;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  padding: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals > h2 {
  margin: 0;
  padding: 22px 24px 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
}

.woocommerce-cart .cart-collaterals .clawd-free-shipping-prompt {
  margin: 0;
  border-width: 0 0 3px;
  box-shadow: none;
}

.woocommerce-cart .cart-collaterals table.shop_table {
  margin: 0;
  border-width: 3px 0 0;
  box-shadow: none;
}

.woocommerce-cart .cart-collaterals table.shop_table th,
.woocommerce-cart .cart-collaterals table.shop_table td {
  padding: 16px 24px;
  font-size: 18px;
  vertical-align: top;
}

.woocommerce-cart .cart-collaterals table.shop_table th {
  width: 34%;
  color: var(--muted);
  font-weight: 900;
}

.woocommerce-cart .cart-collaterals .woocommerce-shipping-methods,
.woocommerce-cart .cart-collaterals .woocommerce-shipping-destination {
  margin-bottom: 8px;
}

.woocommerce-cart .cart-collaterals .shipping-calculator-button {
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout {
  padding: 22px 24px 26px;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  margin: 0;
  border: 4px solid var(--ink) !important;
  background: var(--ink) !important;
  box-shadow: 6px 6px 0 #000 !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .woocommerce-cart .entry__header,
  .woocommerce-cart .entry__content > .woocommerce {
    width: min(100%, 640px);
  }

  .woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 28px 72px minmax(0, 1fr);
    grid-template-areas:
      "remove image name"
      ". quantity subtotal";
    gap: 12px;
    padding: 16px;
  }

  .woocommerce-cart table.shop_table.cart .product-thumbnail img {
    width: 72px;
    height: 72px;
  }

  .woocommerce-cart table.shop_table.cart .product-name a {
    font-size: 18px;
  }

  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    align-self: center;
    font-size: 18px;
  }

  .woocommerce-cart table.shop_table.cart td.actions {
    justify-content: stretch;
    padding: 16px;
  }

  .woocommerce-cart table.shop_table.cart td.actions .button {
    width: 100%;
  }

  .woocommerce-cart .cart-collaterals .cart_totals > h2,
  .woocommerce-cart .cart-collaterals table.shop_table th,
  .woocommerce-cart .cart-collaterals table.shop_table td,
  .woocommerce-cart .cart-collaterals .wc-proceed-to-checkout {
    padding-inline: 16px;
  }
}
