/* =========================================================
   FT — CART & CHECKOUT ACTION BUTTONS + LINE-ITEM TYPE
   ---------------------------------------------------------
   Scope:   Cart and checkout pages (WPCode conditional:
            URL contains /cart or /checkout)
   Purpose: Styles Proceed to Checkout + Place Order buttons,
            and normalizes block line-item product names.
   Merged 2026-07-09: absorbed the surviving layout rules
   from "Cart & Checkout (Proceed Button, Express Checkout)"
   (ID 4284441, now deleted). That snippet's border rule was
   dead — overridden by border:none !important below.
   Updated 2026-07-27: native "Return to Cart" link enabled
   in the Checkout block settings. Woo lays the link and
   Place Order into one flex row (.wc-block-checkout__actions_row)
   and caps the button at 50% width — the rules at the bottom
   restore the full-width button and stack the link below it.
   Updated 2026-08-15: product names in Woo block line items
   render Outfit 500 via cart.css at specificity (0,3,1) —
   a bare class rule loses to it, so the selectors below
   mirror Woo's and add a body prefix to outrank it without
   !important. Set to 400 — a whisper over the 300 meta line.
   Covers cart line items and the checkout order summary.
   NOTE: charcoal #1a1a1a is INTENTIONAL (final-CTA weight).
   To move these to taupe, change background-color to #756f68.
   ========================================================= */

.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

/* Layout (from merged snippet 4284441) */
.wc-block-cart__submit-button {
  box-sizing: border-box;
  margin: 0;
  width: 100%;
}

/* --- NATIVE RETURN-TO-CART ROW (added 2026-07-27) --- */

.wc-block-checkout__actions_row {
  flex-wrap: wrap;
}

.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  order: 1;
}

.wc-block-components-checkout-return-to-cart-button {
  order: 2;
  margin-top: 1.5rem;
}

/* --- LINE-ITEM PRODUCT NAMES (added 2026-08-15) --- */

body table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
body .wc-block-components-order-summary .wc-block-components-product-name,
.wc-block-components-product-name {
  font-weight: 400;
}
