/* Cart page — theme layout on top of WooCommerce cart table */

.co-cart {
  display: grid;
  gap: 1.5rem;
}

.co-cart__intro {
  margin: 0 0 0.25rem;
}

.co-cart__title {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 500;
}

.co-cart__notice {
  margin: 0.45rem 0 0;
  color: var(--co-muted);
  max-width: 40rem;
}

.co-cart .woocommerce-cart-form {
  background: #fff;
  border: 1px solid var(--co-border);
  border-radius: 0;
  padding: 0.25rem 1.15rem 1.15rem;
}

.co-cart table.shop_table {
  border: 0;
}

.co-cart table.shop_table th,
.co-cart table.shop_table td {
  border-color: #ececec;
  vertical-align: middle;
}

.co-cart td.product-thumbnail img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 0;
}

.co-cart .product-name a {
  color: var(--co-secondary);
  text-decoration: none;
  font-weight: 600;
}

.co-cart .variation {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--co-muted);
}

.co-cart a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #d8d8d8;
  color: #111;
  font-size: 1.1rem;
  line-height: 1;
}

.co-cart a.remove:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.co-cart .coupon .button,
.co-cart button[name="update_cart"] {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  height: 2.75rem;
}

.co-cart .cart_totals {
  background: #fff;
  border: 1px solid var(--co-border);
  border-radius: 0;
  padding: 1.25rem 1.35rem 1.4rem;
}

.co-cart .cart_totals h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.co-cart .wc-proceed-to-checkout {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.co-cart .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 3rem;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-decoration: none;
}

.co-cart .checkout-button:hover {
  background: #000;
  color: #fff;
}

.co-cart .co-continue-shopping {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3rem;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-decoration: none;
}

.co-cart .co-continue-shopping:hover {
  background: #111;
  color: #fff;
}

.co-cart--empty .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  height: 3rem;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-decoration: none;
}
  .co-cart .cart-collaterals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.5rem;
    align-items: start;
  }
}
