.woocommerce-cart #neyfi-main {
  inline-size: min(calc(100% - (2 * var(--neyfi-gutter))), var(--neyfi-shell-max));
  max-inline-size: none;
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 5rem) var(--neyfi-section-space);
  background: var(--neyfi-surface-commerce);
}

.woocommerce-cart .entry-title {
  margin: 0 0 var(--neyfi-space-10);
  font-family: var(--neyfi-font-editorial);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .85;
}

.woocommerce-cart .woocommerce {
  display: grid;
  inline-size: 100%;
  gap: var(--neyfi-space-10);
  max-inline-size: none;
}

.woocommerce-cart table.shop_table,
.woocommerce-cart .cart_totals {
  border: 0;
  border-radius: 0;
}

.woocommerce-cart table.shop_table {
  margin: 0;
  border-block: var(--neyfi-rule);
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  padding: var(--neyfi-space-5) var(--neyfi-space-3);
  border-color: var(--neyfi-line);
  vertical-align: top;
}

.woocommerce-cart table.shop_table th {
  color: var(--neyfi-ink-muted);
  font-size: var(--neyfi-text-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.woocommerce-cart table.shop_table .product-thumbnail img {
  inline-size: clamp(5.5rem, 10vw, 8rem);
  object-fit: contain;
}

.woocommerce-cart table.shop_table .product-name a {
  color: var(--neyfi-ink-strong);
  text-underline-offset: .2em;
}

.woocommerce-cart .cart-collaterals {
  inline-size: min(100%, 34rem);
  margin-inline-start: auto;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cart_totals h2 {
  inline-size: 100%;
}

.woocommerce-cart .cart_totals h2 {
  margin: 0;
  padding-block-end: var(--neyfi-space-4);
  border-block-end: var(--neyfi-rule);
  font-family: var(--neyfi-font-editorial);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
}

.woocommerce-cart .cart_totals table {
  margin: 0;
  border: 0;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  border-color: var(--neyfi-line);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart button.button,
.woocommerce-cart input.button {
  border-radius: 0;
  background: var(--neyfi-ink-strong);
  color: var(--neyfi-surface-commerce);
  font-weight: 500;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
}

.woocommerce-cart input.button {
  text-align: center;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible,
.woocommerce-cart button.button:hover,
.woocommerce-cart button.button:focus-visible,
.woocommerce-cart input.button:hover,
.woocommerce-cart input.button:focus-visible {
  background: var(--neyfi-ink);
  color: var(--neyfi-surface-commerce);
}

@media (max-width: 47.99rem) {
  .woocommerce-cart table.shop_table thead {
    display: none;
  }

  .woocommerce-cart table.shop_table tr,
  .woocommerce-cart table.shop_table td {
    display: block;
    text-align: start !important;
  }

  .woocommerce-cart table.shop_table .product-thumbnail,
  .woocommerce-cart table.shop_table .product-remove {
    display: inline-block;
    border: 0;
  }

  .woocommerce-cart .cart-collaterals {
    inline-size: 100%;
  }
}

/* v1.8.69 — warm, quiet feedback for the cart as the final decision surface. */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(138, 79, 43, .3);
  border-inline-start: 3px solid #8a4f2b;
  background: #fbf8f2;
  color: var(--neyfi-ink-strong);
  box-shadow: 0 .7rem 1.6rem rgba(38, 32, 20, .05);
}
.woocommerce-cart .woocommerce-message a.button,
.woocommerce-cart .woocommerce-error a.button,
.woocommerce-cart .woocommerce-info a.button {
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid #8a4f2b;
  border-radius: 999px;
  background: #8a4f2b;
  color: #fff;
}
.neyfi-order-cap-notice {
  display: grid;
  gap: .3rem;
  margin-block: 0 1.25rem;
  padding: .9rem 1rem;
  border-block: 1px solid rgba(138, 79, 43, .35);
  background: #fbf8f2;
  color: var(--neyfi-ink-strong);
  font-size: .78rem;
  line-height: 1.5;
}
.neyfi-order-cap-notice strong { font-weight: 600; }
.neyfi-order-cap-notice p { margin: 0; color: var(--neyfi-ink-muted); }
.neyfi-order-cap-disabled { display: block; color: var(--neyfi-ink-muted); font-size: .76rem; line-height: 1.45; }
@media (max-width: 47.99rem) {
  .woocommerce-cart .woocommerce-message,
  .woocommerce-cart .woocommerce-error,
  .woocommerce-cart .woocommerce-info { align-items: flex-start; flex-direction: column; }
}
