/* ==========================================================================
   Classic cart, checkout, order-received and account tables.

   The live shop's Cart and Checkout pages are WooCommerce's classic
   shortcodes ([woocommerce_cart], [woocommerce_checkout]), not blocks, so
   shop.css (written for the block versions) never reaches them. They also
   sit inside page.php's .nuw-prose wrapper, whose article styling (underlined
   links, bordered 15px table cells, grey body copy) is right for an About
   page and wrong for a cart — every rule here is scoped to the Woo wrapper so
   it wins over that without !important.

   Same rules as the rest of the theme: tokens only, 17px body, nothing a
   buyer reads under 14px, 52px controls, visible focus, nothing that only
   appears on hover. Loaded only on cart, checkout and account pages.
   Built by Daric24.
   ========================================================================== */

/* ------------------------------------------------------------ the page */
.woocommerce-cart .nuw-prose,
.woocommerce-checkout .nuw-prose,
.woocommerce-account .nuw-prose{font-size:17px;line-height:1.6;color:var(--nuw-ink)}

.nuw-prose .woocommerce a{text-decoration:none}
.nuw-prose .woocommerce a:not(.button):hover{text-decoration:underline;text-underline-offset:3px}
.nuw-prose .woocommerce table{font-size:16px}
.nuw-prose .woocommerce th,
.nuw-prose .woocommerce td{border:0}

/* ------------------------------------------------------------ notices */
.woocommerce-notices-wrapper:empty{display:none}
.nuw-prose .woocommerce-message,
.nuw-prose .woocommerce-info,
.nuw-prose .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;
  margin:0 0 20px;padding:16px 18px 16px 52px;
  border:1px solid var(--nuw-line);border-left:5px solid var(--nuw-ink);border-top:1px solid var(--nuw-line);
  border-radius:var(--nuw-r);background:var(--nuw-paper);color:var(--nuw-ink);font-size:16px;line-height:1.5;list-style:none}
.woocommerce .woocommerce-message{border-left-color:var(--nuw-good)}
.woocommerce .woocommerce-error{border-left-color:var(--nuw-sale)}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before{top:50%;left:18px;transform:translateY(-50%);color:var(--nuw-ink)}
.woocommerce .woocommerce-message::before{color:var(--nuw-good)}
.woocommerce .woocommerce-error::before{color:var(--nuw-sale)}
.woocommerce .woocommerce-error li{margin:0;flex:1 1 100%}
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button{order:2;margin-left:auto;min-height:44px;padding:0 18px;font-size:15px;
  display:inline-flex;align-items:center;float:none}

/* ------------------------------------------------------------ controls */
.woocommerce-cart .woocommerce input.input-text,
.woocommerce-checkout .woocommerce input.input-text,
.woocommerce-account .woocommerce input.input-text,
.woocommerce-checkout .woocommerce select,
.woocommerce-account .woocommerce select,
.woocommerce-cart .woocommerce select,
.woocommerce-checkout .woocommerce textarea,
.woocommerce-account .woocommerce textarea{
  width:100%;min-height:52px;padding:12px 14px;border:1px solid var(--nuw-hair);border-radius:var(--nuw-r-btn);
  background:var(--nuw-paper);color:var(--nuw-ink);font:inherit;font-size:16px;line-height:1.4;box-shadow:none}
.woocommerce-checkout .woocommerce textarea{min-height:110px;resize:vertical}
.woocommerce .woocommerce input.input-text:focus,
.woocommerce-cart .woocommerce input.input-text:focus,
.woocommerce-checkout .woocommerce input.input-text:focus,
.woocommerce-account .woocommerce input.input-text:focus,
.woocommerce-checkout .woocommerce select:focus,
.woocommerce-checkout .woocommerce textarea:focus{outline:none;border-color:var(--nuw-ink);box-shadow:0 0 0 3px rgba(17,17,17,.1)}

/* WooCommerce's searchable country/state boxes */
.woocommerce-checkout .select2-container .select2-selection--single,
.woocommerce-account .select2-container .select2-selection--single,
.woocommerce-cart .select2-container .select2-selection--single{height:52px;border:1px solid var(--nuw-hair);border-radius:var(--nuw-r-btn)}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:50px;padding-left:14px;font-size:16px;color:var(--nuw-ink)}
.select2-container .select2-selection--single .select2-selection__arrow{height:50px;right:8px}
.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single{border-color:var(--nuw-ink)}
.select2-dropdown{border-color:var(--nuw-hair);border-radius:var(--nuw-r-btn);font-size:16px}
.select2-results__option{padding:10px 14px}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--nuw-ink);color:#fff}
.select2-search--dropdown .select2-search__field{min-height:44px;font-size:16px;border-radius:var(--nuw-r-btn)}

.woocommerce form .form-row{padding:0;margin:0 0 16px}
.woocommerce form .form-row label{display:block;margin:0 0 6px;font-size:15px;font-weight:600;line-height:1.4;color:var(--nuw-ink)}
.woocommerce form .form-row .required{color:var(--nuw-sale);text-decoration:none}
.woocommerce form .form-row .optional{font-weight:400;color:var(--nuw-ink-3)}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--nuw-sale)}
.woocommerce form .form-row.woocommerce-validated input.input-text{border-color:var(--nuw-hair)}
.woocommerce form .form-row .woocommerce-input-wrapper .description{font-size:14px;background:var(--nuw-ink);color:#fff;border-radius:var(--nuw-r-btn)}
.woocommerce form .form-row input[type=checkbox],
.woocommerce form .form-row input[type=radio],
.woocommerce #payment input[type=radio],
.woocommerce ul#shipping_method input[type=radio]{width:20px;height:20px;margin:0 8px 0 0;vertical-align:-4px;accent-color:var(--nuw-ink)}
.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox{display:flex;align-items:center;gap:4px;font-weight:500;cursor:pointer;min-height:44px}

/* Buttons — the Woo rule is `.woocommerce …button.alt` (0,3,1); these carry
   the same weight plus the page class, so the Woo purple never shows. */
.woocommerce-cart .woocommerce button.button,
.woocommerce-cart .woocommerce a.button,
.woocommerce-checkout .woocommerce button.button,
.woocommerce-checkout .woocommerce a.button,
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce a.button,
.woocommerce-cart .woocommerce a.button.alt,
.woocommerce-checkout .woocommerce button.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;
  border:0;border-radius:var(--nuw-r-btn);background:var(--nuw-btn);color:var(--nuw-btn-ink);
  font:inherit;font-size:16px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;
  transition:background .18s ease,box-shadow .18s ease}
.woocommerce-cart .woocommerce button.button:hover,
.woocommerce-cart .woocommerce a.button:hover,
.woocommerce-checkout .woocommerce button.button:hover,
.woocommerce-checkout .woocommerce a.button:hover,
.woocommerce-account .woocommerce button.button:hover,
.woocommerce-account .woocommerce a.button:hover{background:var(--nuw-btn-hover);color:var(--nuw-btn-ink);text-decoration:none}
.woocommerce-cart .woocommerce button.button:disabled,
.woocommerce-cart .woocommerce button.button:disabled[disabled],
.woocommerce-checkout .woocommerce button.button:disabled[disabled]{opacity:1;padding:0 24px;background:var(--nuw-fill);color:var(--nuw-ink-3);cursor:not-allowed}

/* ------------------------------------------------------------ cart */
/* Form left, totals right; anything else a plugin prints into the wrapper
   (notices, the embroidery strip, the empty-cart message) spans both. */
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,400px);gap:24px 40px;align-items:start}
.woocommerce-cart .woocommerce > *{grid-column:1 / -1}
.woocommerce-cart .woocommerce > form.woocommerce-cart-form{grid-column:1}
.woocommerce-cart .woocommerce > .cart-collaterals{grid-column:2}
.woocommerce-cart .woocommerce .cart-collaterals{width:auto;float:none;position:sticky;top:112px}
.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{width:100%;float:none}
.woocommerce-cart .woocommerce .cart-collaterals .cross-sells{display:none}

.woocommerce-cart table.shop_table.cart{width:100%;margin:0;border:1px solid var(--nuw-line);border-radius:var(--nuw-r-lg);
  border-collapse:separate;border-spacing:0;overflow:hidden;background:var(--nuw-paper)}
.woocommerce-cart table.shop_table.cart thead th{padding:14px 16px;background:var(--nuw-surface);font-size:14px;font-weight:600;
  letter-spacing:.04em;text-transform:uppercase;color:var(--nuw-ink-3);text-align:left}
.woocommerce-cart table.shop_table.cart td{padding:16px;border-top:1px solid var(--nuw-line);vertical-align:middle}
.woocommerce-cart table.shop_table.cart td.product-thumbnail{width:112px}
.woocommerce-cart table.shop_table.cart td.product-thumbnail img{width:96px;max-width:none;height:auto;aspect-ratio:4/5;object-fit:contain;
  border-radius:var(--nuw-r);background:var(--nuw-ground);mix-blend-mode:multiply}
.woocommerce-cart table.shop_table.cart td.product-name{font-size:16px;line-height:1.45}
.woocommerce-cart table.shop_table.cart td.product-name > a{font-weight:600;color:var(--nuw-ink)}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation{margin:6px 0 0;font-size:15px;color:var(--nuw-ink-3)}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dt{font-weight:600}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd{margin:0 0 2px}
.woocommerce-cart table.shop_table.cart td.product-name dl.variation p{margin:0}
.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.shop_table.cart td.product-subtotal{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.woocommerce-cart table.shop_table.cart td.product-price del{color:var(--nuw-ink-3);font-size:15px}
.woocommerce-cart table.shop_table.cart td.product-price ins{text-decoration:none;font-weight:600}
.woocommerce-cart table.shop_table.cart td.product-subtotal{font-weight:600}
.woocommerce-cart table.shop_table.cart .quantity .qty{width:84px;height:48px}

/* the remove cross: a real 44px target, not a 1em glyph */
.woocommerce-cart table.shop_table.cart td.product-remove{width:60px;text-align:center}
.woocommerce-cart table.cart a.remove{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:50%;font-size:26px;font-weight:400;line-height:1;color:var(--nuw-ink-3)!important;background:transparent}
.woocommerce-cart table.cart a.remove:hover,
.woocommerce-cart table.cart a.remove:focus-visible{background:var(--nuw-surface);color:var(--nuw-sale)!important;text-decoration:none}

/* the actions row: coupon left, update + empty right */
.woocommerce-cart table.cart td.actions{padding:16px;background:var(--nuw-surface);text-align:right}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:10px;align-items:center;float:left}
/* Woo's clearfix pseudo-elements become flex items and eat a gap */
.woocommerce-cart table.cart td.actions .coupon::before,
.woocommerce-cart table.cart td.actions .coupon::after,
.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after,
.woocommerce-cart .woocommerce::before,
.woocommerce-cart .woocommerce::after,
.woocommerce-checkout #customer_details::before,
.woocommerce-checkout #customer_details::after{display:none}
.woocommerce-cart table.cart td.actions .coupon label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.woocommerce-cart table.cart td.actions .coupon #coupon_code{width:200px;min-height:52px;margin:0}
.woocommerce-cart table.cart td.actions > .button{margin-left:10px}
.woocommerce-cart table.cart td.actions .button[name=update_cart],
.woocommerce-cart table.cart td.actions .nue-empty-cart,
.woocommerce-cart table.cart td.actions .coupon .button{background:var(--nuw-paper);color:var(--nuw-ink);box-shadow:inset 0 0 0 1.5px var(--nuw-ink)}
.woocommerce-cart table.cart td.actions .button[name=update_cart]:hover,
.woocommerce-cart table.cart td.actions .nue-empty-cart:hover,
.woocommerce-cart table.cart td.actions .coupon .button:hover{background:var(--nuw-ink);color:#fff}
.woocommerce-cart table.cart td.actions .nue-empty-cart{box-shadow:inset 0 0 0 1.5px var(--nuw-hair);color:var(--nuw-ink-2)}
.woocommerce-cart table.cart td.actions .nue-empty-cart.is-armed{box-shadow:inset 0 0 0 2px var(--nuw-sale);color:var(--nuw-sale);background:var(--nuw-paper)}
.woocommerce-cart table.cart td.actions .button[name=update_cart]:disabled{box-shadow:inset 0 0 0 1.5px var(--nuw-line);background:var(--nuw-paper);color:var(--nuw-ink-4)}

/* totals */
.woocommerce .cart_totals,
.woocommerce-checkout #order_review{border:1px solid var(--nuw-line);border-radius:var(--nuw-r-lg);background:var(--nuw-paper);padding:22px}
.woocommerce .cart_totals > h2{margin:0 0 12px;font-size:20px;font-weight:600}
.woocommerce .cart_totals table.shop_table{border:0;margin:0}
.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td{padding:12px 0;border-top:1px solid var(--nuw-line);font-size:16px;vertical-align:top;background:none}
.woocommerce .cart_totals table.shop_table tr:first-child th,
.woocommerce .cart_totals table.shop_table tr:first-child td{border-top:0}
.woocommerce .cart_totals table.shop_table th{width:42%;font-weight:600;text-align:left}
.woocommerce .cart_totals table.shop_table td{text-align:right;font-variant-numeric:tabular-nums}
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td{font-size:19px;font-weight:700;border-top:2px solid var(--nuw-ink)}
.woocommerce .cart_totals .nue-min-row th,
.woocommerce .cart_totals .nue-min-row td{color:var(--nuw-sale);font-weight:600;font-size:15px}
.woocommerce .cart_totals .wc-proceed-to-checkout{padding:18px 0 0}
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;min-height:56px;margin:0;font-size:17px}

/* shipping choices — cart totals and checkout review */
.woocommerce ul#shipping_method{margin:0;padding:0;list-style:none;text-align:left}
.woocommerce ul#shipping_method li{display:flex;align-items:center;gap:4px;margin:0 0 6px;padding:0;font-size:16px;line-height:1.4;text-indent:0}
.woocommerce ul#shipping_method li label{cursor:pointer}
.woocommerce .woocommerce-shipping-destination{margin:8px 0 0;font-size:15px;color:var(--nuw-ink-3);text-align:left}
.nuw-prose .woocommerce .shipping-calculator-button,.woocommerce .shipping-calculator-button{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:var(--nuw-ink);text-decoration:underline;text-underline-offset:3px}
.woocommerce .shipping-calculator-form{margin-top:10px;text-align:left}

/* the empty cart */
.woocommerce-cart .cart-empty.woocommerce-info{justify-content:center;padding:28px;border-left-width:1px;font-size:18px;text-align:center}
.woocommerce-cart .cart-empty.woocommerce-info::before{display:none}
.woocommerce-cart .return-to-shop{text-align:center;margin:8px 0 0}

/* ------------------------------------------------------------ checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info{border-left-color:var(--nuw-ink)}
.woocommerce-checkout .woocommerce-form-coupon-toggle a,
.woocommerce-checkout .woocommerce-form-login-toggle a{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.woocommerce-form-login{margin:0 0 24px;padding:20px;border:1px solid var(--nuw-line);border-radius:var(--nuw-r-lg)}
.woocommerce-checkout form.checkout_coupon{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.woocommerce-checkout form.checkout_coupon p{margin:0}
.woocommerce-checkout form.checkout_coupon .form-row-first{flex:1 1 220px;width:auto;float:none}
.woocommerce-checkout form.checkout_coupon .form-row-last{width:auto;float:none}

.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);grid-template-rows:auto auto 1fr;gap:0 40px;align-items:start}
/* Row 1 is reserved for the error group Woo inserts at the top of the form
   when a field fails, so it spans both columns instead of landing under
   everything; it is empty (and zero-height) the rest of the time. */
.woocommerce-checkout form.checkout > *{grid-column:1}
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup{grid-column:1 / -1;grid-row:1}
.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:2 / span 2}
.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;grid-row:2;margin:0 0 12px;font-size:20px;font-weight:600}
.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:3;position:sticky;top:112px}
.woocommerce-checkout #customer_details.col2-set{width:auto;float:none;display:grid;gap:24px}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{width:auto;float:none;max-width:none}
.woocommerce-checkout #customer_details h3{margin:0 0 16px;font-size:20px;font-weight:600}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-account-fields{padding:22px;border:1px solid var(--nuw-line);border-radius:var(--nuw-r-lg);background:var(--nuw-paper)}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row{grid-column:1 / -1;width:auto;float:none}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first{grid-column:1}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last{grid-column:2}
.woocommerce-checkout #ship-to-different-address{margin:0;font-size:17px}
.woocommerce-checkout #ship-to-different-address label{display:flex;align-items:center;gap:6px;min-height:44px;cursor:pointer}
.woocommerce-checkout #ship-to-different-address input[type=checkbox]{width:20px;height:20px;margin:0 6px 0 0;accent-color:var(--nuw-ink)}

/* the order review table */
.woocommerce-checkout table.woocommerce-checkout-review-order-table{width:100%;margin:0 0 16px;border:0;border-collapse:collapse}
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td{padding:12px 0;border-top:1px solid var(--nuw-line);background:none;font-size:16px;line-height:1.45;vertical-align:top}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th{border-top:0;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--nuw-ink-3)}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th{text-align:left;font-weight:600}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-quantity{font-weight:600;color:var(--nuw-ink-3)}
.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation{margin:4px 0 0;font-size:14.5px;color:var(--nuw-ink-3)}
.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dd,
.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation p{margin:0}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total td{font-size:19px;font-weight:700;border-top:2px solid var(--nuw-ink)}

/* payment */
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:0;margin:0 0 16px;border:0;list-style:none;display:grid;gap:10px}
.woocommerce-checkout #payment ul.payment_methods li{margin:0;padding:14px 16px;border:1px solid var(--nuw-line);border-radius:var(--nuw-r);line-height:1.4;font-size:16px}
.woocommerce-checkout #payment ul.payment_methods li > label{display:inline-flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}
.woocommerce-checkout #payment ul.payment_methods li img{max-height:24px;margin:0 0 0 6px;vertical-align:middle}
.woocommerce-checkout #payment div.payment_box{margin:12px 0 0;padding:14px;border-radius:var(--nuw-r-btn);background:var(--nuw-surface);color:var(--nuw-ink-2);font-size:15px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.payment_box fieldset{margin:0;padding:0;border:0}
/* Stripe draws its fields inside its own iframe; only the frame around it is ours */
.woocommerce-checkout #payment .wc-stripe-upe-element,
.woocommerce-checkout #payment .wc-upe-form{padding:0;border:0;background:transparent}
.woocommerce-checkout #payment div.form-row.place-order{margin:0;padding:0}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:15px;color:var(--nuw-ink-2);margin:0 0 14px}
.woocommerce-checkout .woocommerce-privacy-policy-text p{font-size:14px;line-height:1.5;color:var(--nuw-ink-3)}
.woocommerce-checkout #payment #place_order{float:none;width:100%;min-height:56px;font-size:17px}

/* the blockUI overlay Woo draws while it recalculates */
.woocommerce .blockUI.blockOverlay{background:rgba(255,255,255,.7)!important;opacity:1!important}

/* ------------------------------------------------------------ thank-you + account tables */
.woocommerce-order ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 28px;padding:0;list-style:none}
.woocommerce-order ul.woocommerce-order-overview li{float:none;margin:0;padding:16px;border:1px solid var(--nuw-line);border-radius:var(--nuw-r);
  font-size:14px;letter-spacing:.03em;text-transform:uppercase;color:var(--nuw-ink-3)}
.woocommerce-order ul.woocommerce-order-overview li strong{display:block;margin-top:4px;font-size:17px;letter-spacing:0;text-transform:none;color:var(--nuw-ink)}
.woocommerce-order .woocommerce-thankyou-order-received{padding:18px 20px;border-radius:var(--nuw-r);background:var(--nuw-good-soft);color:var(--nuw-good);font-size:18px;font-weight:600;margin:0 0 20px}

.woocommerce table.shop_table.order_details,
.woocommerce table.shop_table.woocommerce-orders-table,
.woocommerce table.shop_table.customer_details{width:100%;border:1px solid var(--nuw-line);border-radius:var(--nuw-r-lg);border-collapse:separate;border-spacing:0;overflow:hidden}
.woocommerce table.shop_table.order_details th,
.woocommerce table.shop_table.order_details td,
.woocommerce table.shop_table.woocommerce-orders-table th,
.woocommerce table.shop_table.woocommerce-orders-table td{padding:14px 16px;border-top:1px solid var(--nuw-line);font-size:16px;line-height:1.45;vertical-align:middle}
.woocommerce table.shop_table.order_details thead th,
.woocommerce table.shop_table.woocommerce-orders-table thead th{border-top:0;background:var(--nuw-surface);font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--nuw-ink-3)}
.woocommerce table.shop_table.woocommerce-orders-table .button{min-height:44px;padding:0 16px;font-size:15px;margin:2px 6px 2px 0}
.woocommerce .woocommerce-customer-details address{padding:18px;border:1px solid var(--nuw-line);border-radius:var(--nuw-r-lg);font-style:normal;font-size:16px;line-height:1.6}

/* ------------------------------------------------------------ orphan notes */
.nue-orphan-note{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 20px;padding:18px 20px;
  border:1px solid var(--nuw-line);border-left:5px solid var(--nuw-plum);border-radius:var(--nuw-r);background:var(--nuw-paper);
  font-size:17px;line-height:1.5;color:var(--nuw-ink)}
.nuw-prose .nue-orphan-note a{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border-radius:var(--nuw-r-btn);
  background:var(--nuw-btn);color:var(--nuw-btn-ink);font-weight:600;text-decoration:none}
.nuw-prose .nue-orphan-note a:hover{background:var(--nuw-btn-hover)}

/* ------------------------------------------------------------ narrow screens */
@media (max-width:1024px){
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout form.checkout{grid-template-columns:minmax(0,1fr)}
  .woocommerce-cart .woocommerce > form.woocommerce-cart-form,
  .woocommerce-cart .woocommerce > .cart-collaterals{grid-column:1}
  .woocommerce-cart .woocommerce .cart-collaterals{position:static}
  .woocommerce-checkout form.checkout #customer_details{grid-row:auto}
  .woocommerce-checkout form.checkout #order_review_heading,
  .woocommerce-checkout form.checkout #order_review{grid-column:1;grid-row:auto;position:static}
  .woocommerce-checkout form.checkout #order_review_heading{margin-top:28px}
}

@media (max-width:768px){
  /* Woo's small-screen sheet turns cart rows into label/value stacks; keep
     that, give it the theme's spacing and a readable label. */
  .woocommerce-cart table.shop_table_responsive.cart{border-radius:var(--nuw-r)}
  .woocommerce-cart table.shop_table_responsive.cart tr{display:block;border-top:1px solid var(--nuw-line)}
  .woocommerce-cart table.shop_table_responsive.cart tr:first-child{border-top:0}
  .woocommerce-cart table.shop_table_responsive.cart td,
  .woocommerce-cart table.shop_table_responsive.cart tr:nth-child(2n) td{display:flex;justify-content:space-between;align-items:center;gap:12px;
    padding:10px 14px;border-top:0;text-align:right;background:transparent}
  .woocommerce-cart table.shop_table_responsive.cart td{justify-content:flex-end}
  .woocommerce-cart table.shop_table_responsive.cart td::before{margin-right:auto;float:none;font-size:14px;font-weight:600;color:var(--nuw-ink-3);text-align:left}
  .woocommerce-cart table.shop_table_responsive.cart td.product-remove{justify-content:flex-end;padding-bottom:0}
  .woocommerce-cart table.shop_table_responsive.cart td.product-remove::before{display:none}
  .woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail{display:flex;justify-content:flex-start}
  .woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail::before{display:none}
  .woocommerce-cart table.shop_table_responsive.cart tr td.product-name,
  .woocommerce-cart table.shop_table_responsive.cart tr:nth-child(2n) td.product-name{display:block;text-align:left!important} /* Woo's small-screen sheet forces right with !important */
  .woocommerce-cart table.cart td.actions .coupon #coupon_code{margin:0!important}
  .woocommerce .cart_totals table.shop_table_responsive tr.shipping td{display:block;text-align:left!important}
  .woocommerce .cart_totals table.shop_table_responsive tr.shipping td::before{display:block;float:none;margin:0 0 8px;font-weight:600}
  .woocommerce .cart_totals table.shop_table_responsive tr td{background:transparent}
  .woocommerce-cart table.shop_table_responsive.cart td.product-name::before{display:none}
  .woocommerce-cart table.cart td.actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;text-align:left}
  .woocommerce-cart table.cart td.actions::before{display:none}
  .woocommerce-cart table.cart td.actions .coupon{float:none;display:flex;flex-wrap:wrap;gap:10px;padding:0}
  .woocommerce-cart table.cart td.actions .coupon #coupon_code{flex:1 1 160px;width:auto}
  .woocommerce-cart table.cart td.actions .coupon .button{flex:1 1 auto;width:auto}
  .woocommerce-cart table.cart td.actions > .button{width:100%;margin:0}
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last{grid-column:1}
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce .cart_totals,
  .woocommerce-checkout #order_review{padding:16px}
  .woocommerce table.shop_table_responsive.woocommerce-orders-table tr{display:block;border-top:1px solid var(--nuw-line)}
  .woocommerce table.shop_table_responsive.woocommerce-orders-table td{display:flex;justify-content:space-between;gap:12px;border-top:0;text-align:right}
}

@media (prefers-reduced-motion:reduce){
  .woocommerce-cart .woocommerce .button,
  .woocommerce-checkout .woocommerce .button{transition:none}
}
