/* netPOINT 5.1 — Cart / Checkout UI.
   Uses native WooCommerce classic shortcode and Blocks markup; no business logic overrides.
   Scoped to WooCommerce purchase pages so catalogue and product styles remain intact. */

.np-commerce-flow {
  --np-flow-ink: #163c45;
  --np-flow-muted: #637f84;
  --np-flow-line: #ddeae8;
  --np-flow-surface: #fff;
  --np-flow-tint: #f3f9f8;
  --np-flow-button: var(--np-accent, #087987);
  background: #f7faf9;
  padding-top: clamp(35px, 4vw, 68px);
  padding-bottom: clamp(68px, 7vw, 118px);
}
.np-commerce-flow .abn-shell { max-width: min(var(--abn-shell, 1380px), 1360px); }
.np-commerce-flow .np-flow-header { display: flex; flex-direction: column; gap: 0; margin: 0 0 26px; max-width: none; }
.np-commerce-flow .np-flow-header .abn-overline { color: var(--np-flow-button); font-size: 11px; letter-spacing: .14em; font-weight: 750; }
.np-commerce-flow .np-flow-header h1 { margin: 14px 0 8px; font-size: clamp(38px, 4.2vw, 58px); font-weight: 610; line-height: 1.08; letter-spacing: -.05em; color: var(--np-flow-ink); }
.np-commerce-flow .np-flow-subtitle { font-size: 15px; line-height: 1.65; color: var(--np-flow-muted); margin: 0; }
.np-commerce-flow .np-flow-progress { margin: 0 0 28px; }
.np-commerce-flow .np-flow-progress ol { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.np-commerce-flow .np-flow-progress li { min-width: 0; display: flex; align-items: center; gap: 12px; color: #8da4a7; font-size: 13px; font-weight: 630; }
.np-commerce-flow .np-flow-progress li + li::before { content: ''; display: block; width: 41px; height: 1px; background: #c9dcd9; margin-right: 2px; }
.np-commerce-flow .np-flow-progress li > span,
.np-commerce-flow .np-flow-progress li > a { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.np-commerce-flow .np-flow-number { flex: 0 0 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d7e6e3; background: #fff; font-size: 11px; font-weight: 720; }
.np-commerce-flow .np-flow-progress .is-current { color: var(--np-flow-ink); }
.np-commerce-flow .np-flow-progress .is-current .np-flow-number { background: var(--np-flow-button); color: #fff; border-color: var(--np-flow-button); }
.np-commerce-flow .np-flow-progress .is-complete .np-flow-number { background: #e2f5ef; color: #167b71; border-color: #cdece4; }
.np-commerce-flow .np-flow-progress a:hover { color: var(--np-flow-button); }

/* The former generic page template broke Woo tables with display:block. */
.np-commerce-flow .np-flow-body { background: transparent; border: 0; border-radius: 0; padding: 0; line-height: 1.55; overflow: visible; color: var(--np-flow-ink); }
.np-commerce-flow .np-flow-body > .woocommerce,
.np-commerce-flow .np-flow-body > .wp-block-woocommerce-cart,
.np-commerce-flow .np-flow-body > .wp-block-woocommerce-checkout { width: 100%; max-width: none; min-width: 0; }
.np-commerce-flow .np-flow-body .woocommerce-notices-wrapper:empty { display: none; }
.np-commerce-flow .np-flow-body .woocommerce-notices-wrapper:not(:empty),
.np-commerce-flow .np-flow-body > .woocommerce > .woocommerce-message,
.np-commerce-flow .np-flow-body > .woocommerce > .woocommerce-error,
.np-commerce-flow .np-flow-body > .woocommerce > .woocommerce-info { grid-column: 1 / -1; }
.np-commerce-flow .np-flow-body .woocommerce-info,
.np-commerce-flow .np-flow-body .woocommerce-message,
.np-commerce-flow .np-flow-body .woocommerce-error { border: 1px solid #c7e7e1; border-radius: 14px; padding: 17px 20px 17px 52px; margin: 0 0 16px; min-height: 54px; }
.np-commerce-flow .np-flow-body .woocommerce-error { border-color: #edd8d1; background: #fff7f4; }
.np-commerce-flow .np-flow-body .woocommerce a { color: var(--np-flow-button); }
.np-commerce-flow .np-flow-body .woocommerce button.button,
.np-commerce-flow .np-flow-body .woocommerce a.button,
.np-commerce-flow .np-flow-body .woocommerce button.button.alt,
.np-commerce-flow .np-flow-body .woocommerce a.button.alt {
  border: 1px solid var(--np-flow-button);
  background: var(--np-flow-button);
  color: #fff;
  border-radius: 12px;
  padding: 13px 19px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 48px;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.np-commerce-flow .np-flow-body .woocommerce button.button:hover:not(:disabled),
.np-commerce-flow .np-flow-body .woocommerce a.button:hover { background: #075b66; border-color: #075b66; color: #fff; transform: translateY(-1px); }
.np-commerce-flow .np-flow-body .woocommerce button.button:disabled,
.np-commerce-flow .np-flow-body .woocommerce button.button:disabled[disabled] { background: #bdd7d5; color: #40676b; border-color: #bdd7d5; opacity: .7; cursor: not-allowed; transform: none; }
.np-commerce-flow .np-flow-body :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #72c5cb; outline-offset: 3px; }

/* Classic cart — complete two-column composition; never constrain the product table. */
.np-cart-flow .np-flow-body > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(315px, 365px); gap: 22px; align-items: start; }
.np-cart-flow .np-flow-body > .woocommerce > form.woocommerce-cart-form { grid-column: 1; min-width: 0; width: 100%; max-width: 100%; float: none; margin: 0; }
.np-cart-flow .np-flow-body > .woocommerce > .cart-collaterals { grid-column: 2; grid-row: auto; width: 100%; max-width: 100%; min-width: 0; float: none; clear: none; margin: 0; position: sticky; top: 130px; }
.np-cart-flow .np-flow-body .woocommerce-cart-form table.shop_table.cart { display: table; width: 100%; max-width: none; table-layout: auto; border: 1px solid var(--np-flow-line); border-spacing: 0; border-collapse: separate; border-radius: 18px; overflow: hidden; background: #fff; margin: 0; }
.np-cart-flow .np-flow-body table.shop_table.cart thead { display: table-header-group; }
.np-cart-flow .np-flow-body table.shop_table.cart tbody { display: table-row-group; }
.np-cart-flow .np-flow-body table.shop_table.cart tr { display: table-row; }
.np-cart-flow .np-flow-body table.shop_table.cart th,
.np-cart-flow .np-flow-body table.shop_table.cart td { display: table-cell; vertical-align: middle; border: 0; border-bottom: 1px solid var(--np-flow-line); padding: 18px 12px; }
.np-cart-flow .np-flow-body table.shop_table.cart th { padding: 17px 12px; background: #f4faf8; color: #48696e; text-transform: uppercase; font-size: 10px; font-weight: 740; letter-spacing: .075em; }
.np-cart-flow .np-flow-body table.shop_table.cart tbody tr.cart_item:last-of-type td { border-bottom-color: #e4eeec; }
.np-cart-flow .np-flow-body table.shop_table.cart th.product-remove,
.np-cart-flow .np-flow-body table.shop_table.cart td.product-remove { width: 45px; text-align: center; padding-left: 16px; padding-right: 3px; }
.np-cart-flow .np-flow-body table.shop_table.cart th.product-thumbnail,
.np-cart-flow .np-flow-body table.shop_table.cart td.product-thumbnail { width: 102px; padding-left: 7px; padding-right: 11px; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-thumbnail img { display: block; width: 88px; height: 88px; max-width: 100%; object-fit: contain; border-radius: 12px; background: #f7faf9; padding: 7px; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-name { min-width: 180px; overflow-wrap: anywhere; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-name > a { font-size: 13px; font-weight: 650; line-height: 1.45; color: var(--np-flow-ink); text-decoration: none; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-name > a:hover { color: var(--np-flow-button); }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-name dl.variation { margin-top: 8px; font-size: 11px; color: #718b8e; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-name dl.variation :is(dt,dd) { line-height: 1.5; margin-bottom: 2px; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-price,
.np-cart-flow .np-flow-body table.shop_table.cart td.product-subtotal { white-space: nowrap; font-size: 13px; font-weight: 630; color: var(--np-flow-ink); }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-subtotal { font-weight: 760; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-quantity { width: 98px; }
.np-cart-flow .np-flow-body .quantity .qty { min-height: 45px; height: 45px; width: 72px; min-width: 0; max-width: 100%; border-radius: 10px; border: 1px solid #d6e8e5; text-align: center; font-size: 14px; font-weight: 650; background: #fff; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-remove a.remove { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e7eeeb; border-radius: 9px; background: #fff; color: #788b8d!important; font-weight: 500; font-size: 20px; text-decoration: none; }
.np-cart-flow .np-flow-body table.shop_table.cart td.product-remove a.remove:hover { background: #fff2ef; color: #b74f44!important; border-color: #f1cfca; }
.np-cart-flow .np-flow-body table.shop_table.cart td.actions { padding: 20px!important; border-bottom: 0!important; text-align: right; }
.np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon { float: left; display: flex; gap: 9px; align-items: center; width: min(100%, 390px); margin: 0; }
.np-cart-flow .np-flow-body .coupon .input-text { flex: 1; width: 100%!important; min-width: 125px; min-height: 47px; margin: 0!important; border: 1px solid #d7e6e4; background: #f9fcfb; border-radius: 11px; padding: 11px 13px; font-size: 13px; color: var(--np-flow-ink); }
.np-cart-flow .np-flow-body .coupon button.button { flex: none; min-height: 47px; white-space: nowrap; }
.np-cart-flow .np-flow-body table.shop_table.cart td.actions > button.button { float: right; margin: 0; }
.np-cart-flow .np-flow-body .cart-collaterals::before,
.np-cart-flow .np-flow-body .cart-collaterals::after { content: none; display: none; }
.np-cart-flow .np-flow-body .cart-collaterals .cart_totals { float: none; width: 100%; max-width: none; margin: 0; padding: 27px 25px; border: 1px solid var(--np-flow-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(17,72,76,.06); }
.np-cart-flow .np-flow-body .cart-collaterals h2 { font-size: 22px; font-weight: 610; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 20px; }
.np-cart-flow .np-flow-body .cart-collaterals table.shop_table { display: table; width: 100%; margin: 0 0 21px; border: 0; border-radius: 0; border-collapse: collapse; background: transparent; }
.np-cart-flow .np-flow-body .cart-collaterals table.shop_table :is(th,td) { border: 0; border-bottom: 1px solid #e6efed; padding: 15px 5px; background: transparent; font-size: 13px; vertical-align: top; }
.np-cart-flow .np-flow-body .cart-collaterals table.shop_table th { width: 40%; font-weight: 620; color: #587579; }
.np-cart-flow .np-flow-body .cart-collaterals table.shop_table td { color: var(--np-flow-ink); text-align: right; font-weight: 650; }
.np-cart-flow .np-flow-body .cart-collaterals table.shop_table tr.order-total :is(th,td) { padding-top: 22px; font-size: 16px; color: var(--np-flow-ink); border-bottom: 0; }
.np-cart-flow .np-flow-body .wc-proceed-to-checkout { padding: 0; }
.np-cart-flow .np-flow-body .wc-proceed-to-checkout a.checkout-button { width: 100%; text-align: center; display: flex; justify-content: center; align-items: center; min-height: 56px; font-size: 14px; margin: 0; background: var(--np-flow-button)!important; color: #fff!important; }
.np-cart-flow .np-flow-body .cart_totals :is(.woocommerce-shipping-destination,.shipping-calculator-button) { font-size: 12px; line-height: 1.5; }
.np-cart-flow .np-flow-body .cart_totals form.woocommerce-shipping-calculator { margin-top: 12px; }
.np-cart-flow .np-flow-body .cart_totals .shipping-calculator-form { text-align: left; }
.np-cart-flow .np-flow-body .cart_totals .shipping-calculator-form input { width: 100%; }
.np-cart-flow .np-flow-body .cart_totals ul#shipping_method { padding: 0; margin: 0; list-style: none; text-align: left; }
.np-cart-flow .np-flow-body .cart_totals ul#shipping_method li { padding: 7px 0; line-height: 1.5; }
.np-cart-flow .np-flow-body .cart_totals ul#shipping_method input { accent-color: var(--np-flow-button); }
.np-cart-flow .np-flow-body > .woocommerce > :is(.cart-empty,.return-to-shop,.woocommerce-notices-wrapper,.woocommerce-error,.woocommerce-info,.woocommerce-message) { grid-column: 1 / -1; }
.np-cart-flow .np-flow-body .cart-empty { border: 1px solid var(--np-flow-line); background: #fff; padding: 32px; border-radius: 17px; text-align: center; }
.np-cart-flow .np-flow-body .return-to-shop { text-align: center; }

/* Classic checkout — billing left, persistent order clarity on the right. */
.np-checkout-flow .np-flow-body > .woocommerce > .woocommerce-form-coupon-toggle,
.np-checkout-flow .np-flow-body > .woocommerce > form.checkout_coupon,
.np-checkout-flow .np-flow-body > .woocommerce > .woocommerce-form-login-toggle,
.np-checkout-flow .np-flow-body > .woocommerce > form.woocommerce-form-login { margin: 0 0 19px; }
.np-checkout-flow .np-flow-body form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr); column-gap: 24px; row-gap: 15px; grid-template-rows: min-content 1fr; align-items: start; min-width: 0; }
.np-checkout-flow .np-flow-body form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; width: 100%; min-width: 0; float: none; margin: 0; border: 1px solid var(--np-flow-line); border-radius: 18px; background: #fff; padding: clamp(22px, 3vw, 36px); }
.np-checkout-flow .np-flow-body form.checkout #order_review_heading { grid-column: 2; grid-row: 1; width: 100%; float: none; clear: none; font-size: 22px; font-weight: 620; line-height: 1.25; letter-spacing: -.035em; margin: 0; color: var(--np-flow-ink); align-self: end; }
.np-checkout-flow .np-flow-body form.checkout #order_review { grid-column: 2; grid-row: 2; width: 100%; min-width: 0; float: none; margin: 0; border: 1px solid var(--np-flow-line); border-radius: 18px; background: #fff; padding: clamp(21px, 2.3vw, 29px); box-shadow: 0 18px 50px rgba(17,72,76,.055); }
.np-checkout-flow .np-flow-body form.checkout #customer_details > .col-1,
.np-checkout-flow .np-flow-body form.checkout #customer_details > .col-2 { width: 100%; float: none; clear: both; margin: 0; min-width: 0; }
.np-checkout-flow .np-flow-body #customer_details h3,
.np-checkout-flow .np-flow-body #customer_details h2 { font-size: 22px; line-height: 1.3; font-weight: 620; letter-spacing: -.033em; margin: 0 0 24px; }
.np-checkout-flow .np-flow-body #customer_details .col-2 { margin-top: 29px!important; }
.np-checkout-flow .np-flow-body #customer_details .woocommerce-billing-fields__field-wrapper,
.np-checkout-flow .np-flow-body #customer_details .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.np-checkout-flow .np-flow-body #customer_details .form-row { float: none; clear: none; width: 100%; min-width: 0; margin: 0; padding: 0; }
.np-checkout-flow .np-flow-body #customer_details .form-row-wide { grid-column: 1 / -1; }
.np-checkout-flow .np-flow-body #customer_details :is(.woocommerce-additional-fields,.woocommerce-shipping-fields) > h3 { margin-top: 22px; }
.np-checkout-flow .np-flow-body #customer_details .form-row label { display: block; margin: 0 0 7px; color: #385f67; font-size: 12px; line-height: 1.4; font-weight: 660; }
.np-checkout-flow .np-flow-body #customer_details :is(input.input-text,select,textarea),
.np-checkout-flow .np-flow-body form.woocommerce-form-login input.input-text,
.np-checkout-flow .np-flow-body form.checkout_coupon input.input-text { width: 100%; max-width: 100%; background: #fbfdfc; border: 1px solid #d4e4e2; border-radius: 11px; padding: 11px 13px; min-height: 49px; color: var(--np-flow-ink); font-size: 14px; box-shadow: none; }
.np-checkout-flow .np-flow-body #customer_details textarea { min-height: 110px; resize: vertical; }
.np-checkout-flow .np-flow-body #customer_details .select2-container { width: 100%!important; }
.np-checkout-flow .np-flow-body #customer_details .select2-container--default .select2-selection--single { border: 1px solid #d4e4e2; border-radius: 11px; min-height: 49px; background: #fbfdfc; padding: 10px 12px; }
.np-checkout-flow .np-flow-body #customer_details .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 27px; padding: 0; font-size: 14px; }
.np-checkout-flow .np-flow-body #customer_details .select2-container--default .select2-selection--single .select2-selection__arrow { top: 11px; right: 9px; }
.np-checkout-flow .np-flow-body #customer_details :is(.woocommerce-form__label-for-checkbox,.checkbox) { display: inline-flex; gap: 9px; align-items: center; line-height: 1.5; }
.np-checkout-flow .np-flow-body #customer_details :is(input[type=checkbox],input[type=radio]) { accent-color: var(--np-flow-button); }
.np-checkout-flow .np-flow-body #customer_details .woocommerce-additional-fields { margin-top: 24px; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table { display: table; width: 100%; max-width: none; border: 0; border-collapse: collapse; margin: 0 0 18px; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table :is(th,td) { border: 0; border-bottom: 1px solid #e6efed; padding: 14px 5px; background: transparent; vertical-align: top; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table thead th { text-transform: uppercase; letter-spacing: .07em; font-size: 10px; font-weight: 740; color: #627e82; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table .product-name { font-size: 12px; line-height: 1.55; font-weight: 560; color: #365e66; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table .product-total { text-align: right; white-space: nowrap; font-size: 12px; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table tfoot th { color: #587579; font-weight: 630; text-align: left; font-size: 12px; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table tfoot td { text-align: right; font-size: 12px; }
.np-checkout-flow .np-flow-body .woocommerce-checkout-review-order-table tr.order-total :is(th,td) { border: 0; padding-top: 22px; font-size: 18px; font-weight: 760; color: var(--np-flow-ink); }
.np-checkout-flow .np-flow-body #payment { background: #f5faf8; padding: 0; border: 1px solid #e3eeeb; border-radius: 14px; overflow: hidden; }
.np-checkout-flow .np-flow-body #payment ul.payment_methods { list-style: none; margin: 0; padding: 9px 17px; border-bottom: 1px solid #e0ebe8; }
.np-checkout-flow .np-flow-body #payment ul.payment_methods li { padding: 10px 0; line-height: 1.5; font-size: 13px; }
.np-checkout-flow .np-flow-body #payment ul.payment_methods input[type=radio] { accent-color: var(--np-flow-button); margin-right: 7px; }
.np-checkout-flow .np-flow-body #payment ul.payment_methods label { font-weight: 660; color: var(--np-flow-ink); }
.np-checkout-flow .np-flow-body #payment div.payment_box { border-radius: 10px; background: #fff; border: 1px solid #dceae7; color: #4d7378; padding: 15px; font-size: 12px; line-height: 1.6; margin: 13px 0 6px; }
.np-checkout-flow .np-flow-body #payment div.payment_box::before { border-bottom-color: #fff; }
.np-checkout-flow .np-flow-body #payment div.form-row.place-order { margin: 0; padding: 18px; }
.np-checkout-flow .np-flow-body #payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: 12px; color: #54767b; line-height: 1.6; }
.np-checkout-flow .np-flow-body #payment .woocommerce-privacy-policy-text { font-size: 12px; }
.np-checkout-flow .np-flow-body #payment #place_order { float: none; width: 100%; display: flex; justify-content: center; align-items: center; min-height: 56px; font-size: 14px; font-weight: 740; background: var(--np-flow-button)!important; color: #fff!important; }
.np-checkout-flow .np-flow-body .woocommerce-form-coupon,
.np-checkout-flow .np-flow-body form.woocommerce-form-login { padding: 20px; border: 1px solid var(--np-flow-line); border-radius: 14px; background: #fff; }
.np-checkout-flow .np-flow-body form.checkout_coupon .form-row { float: none; display: inline-block; width: min(100%, 240px); vertical-align: middle; margin: 0 8px 0 0; }
.np-checkout-flow .np-flow-body form.checkout_coupon .form-row .button { vertical-align: middle; }
.np-checkout-flow .np-flow-body .woocommerce-order { padding: clamp(20px,4vw,42px); background: #fff; border: 1px solid var(--np-flow-line); border-radius: 18px; }
.np-checkout-flow .np-flow-body .woocommerce-order .woocommerce-table--order-details { display: table; width: 100%; }
.np-checkout-flow .np-flow-body .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 18px; padding: 20px; background: #f6fbf9; border-radius: 12px; }

/* WooCommerce Cart/Checkout Blocks (React views). No overrides to payment handling. */
.np-commerce-flow .np-flow-body .wp-block-woocommerce-cart,
.np-commerce-flow .np-flow-body .wp-block-woocommerce-checkout { font-family: inherit; }
.np-commerce-flow .np-flow-body .wc-block-cart,
.np-commerce-flow .np-flow-body .wc-block-checkout { max-width: none; width: 100%; }
.np-commerce-flow .np-flow-body .wc-block-cart__main,
.np-commerce-flow .np-flow-body .wc-block-checkout__main,
.np-commerce-flow .np-flow-body .wc-block-components-main { min-width: 0; }
.np-commerce-flow .np-flow-body .wc-block-cart__sidebar,
.np-commerce-flow .np-flow-body .wc-block-checkout__sidebar { min-width: 0; }
.np-commerce-flow .np-flow-body .wc-block-components-sidebar,
.np-commerce-flow .np-flow-body .wc-block-cart-items,
.np-commerce-flow .np-flow-body .wc-block-components-checkout-step { background: #fff; border: 1px solid var(--np-flow-line); border-radius: 17px; padding: clamp(17px,2.4vw,28px); box-shadow: 0 13px 38px rgba(17,72,76,.045); }
.np-commerce-flow .np-flow-body .wc-block-cart-items { display: table; width: 100%; max-width: 100%; border-collapse: separate; border-spacing: 0; }
.np-commerce-flow .np-flow-body .wc-block-cart-items th { background: #f5faf9; }
.np-commerce-flow .np-flow-body .wc-block-components-sidebar { box-sizing: border-box; }
.np-commerce-flow .np-flow-body .wc-block-components-button:not(.is-link) { background: var(--np-flow-button); color: #fff; border: 0; border-radius: 12px; min-height: 52px; font-size: 14px; font-weight: 730; transition: background .2s ease; }
.np-commerce-flow .np-flow-body .wc-block-components-button:not(.is-link):hover { background: #075b66; }
.np-commerce-flow .np-flow-body .wc-block-components-text-input input,
.np-commerce-flow .np-flow-body .wc-block-components-combobox-control input,
.np-commerce-flow .np-flow-body .wc-block-components-select .wc-block-components-select__select { border-radius: 10px; background: #fbfdfc; border-color: #d4e4e2; }
.np-commerce-flow .np-flow-body .wc-block-components-totals-wrapper { border-color: var(--np-flow-line); }
.np-commerce-flow .np-flow-body .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { width: 100%; }

@media (max-width: 1180px) {
  .np-cart-flow .np-flow-body > .woocommerce { grid-template-columns: minmax(0,1fr)!important; gap: 19px; }
  .np-cart-flow .np-flow-body > .woocommerce > form.woocommerce-cart-form,
  .np-cart-flow .np-flow-body > .woocommerce > .cart-collaterals { grid-column: 1; }
  .np-cart-flow .np-flow-body > .woocommerce > .cart-collaterals { position: static; }
}
@media (min-width: 931px) and (max-width: 1180px) {
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon { float: left; width: min(100%,390px); margin-bottom: 0; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions > button.button { float: right; }
}
@media (max-width: 1120px) {
  .np-cart-flow .np-flow-body > .woocommerce { grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; }
  .np-cart-flow .np-flow-body table.shop_table.cart th,
  .np-cart-flow .np-flow-body table.shop_table.cart td { padding: 14px 9px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.product-thumbnail { width: 79px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.product-thumbnail img { width: 72px; height: 72px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon { float: none; width: 100%; margin-bottom: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions > button.button { float: none; }
  .np-checkout-flow .np-flow-body form.checkout.woocommerce-checkout { grid-template-columns: minmax(0,1.1fr) minmax(290px,.9fr); gap: 18px; }
}
@media (max-width: 930px) {
  .np-cart-flow .np-flow-body > .woocommerce { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .np-cart-flow .np-flow-body > .woocommerce > form.woocommerce-cart-form,
  .np-cart-flow .np-flow-body > .woocommerce > .cart-collaterals { grid-column: 1; }
  .np-cart-flow .np-flow-body > .woocommerce > .cart-collaterals { position: static; }
  .np-checkout-flow .np-flow-body form.checkout.woocommerce-checkout { display: flex; flex-direction: column; gap: 19px; }
  .np-checkout-flow .np-flow-body form.checkout #customer_details,
  .np-checkout-flow .np-flow-body form.checkout #order_review,
  .np-checkout-flow .np-flow-body form.checkout #order_review_heading { width: 100%; }
  .np-checkout-flow .np-flow-body form.checkout #order_review_heading { margin-top: 9px; }
}
@media (max-width: 760px) {
  .np-commerce-flow { padding-top: 34px; padding-bottom: 76px; }
  .np-commerce-flow .np-flow-header { margin-bottom: 20px; }
  .np-commerce-flow .np-flow-header h1 { font-size: clamp(35px,9vw,46px); }
  .np-commerce-flow .np-flow-subtitle { font-size: 13px; }
  .np-commerce-flow .np-flow-progress { margin-bottom: 23px; }
  .np-commerce-flow .np-flow-progress li { font-size: 12px; }
  .np-commerce-flow .np-flow-progress li + li::before { width: 18px; }
  .np-cart-flow .np-flow-body .woocommerce-cart-form table.shop_table.cart { display: block; width: 100%; border: 0; background: transparent; overflow: visible; }
  .np-cart-flow .np-flow-body table.shop_table.cart thead { display: none; }
  .np-cart-flow .np-flow-body table.shop_table.cart tbody { display: block; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item { position: relative; display: grid; grid-template-columns: 88px minmax(0,1fr); column-gap: 14px; row-gap: 7px; padding: 16px; margin: 0 0 12px; border: 1px solid var(--np-flow-line); border-radius: 16px; background: #fff; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td { display: block; border: 0; padding: 0; width: 100%; min-width: 0; text-align: left; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td::before { display: none!important; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-remove { position: absolute; top: 10px; right: 10px; width: 30px; z-index: 1; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-thumbnail { grid-column: 1; grid-row: 1 / span 4; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 88px; height: 88px; border-radius: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-name { grid-column: 2; grid-row: 1; padding-right: 25px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-name a { font-size: 13px; font-weight: 650; line-height: 1.4; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-price { grid-column: 2; grid-row: 2; font-size: 13px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-quantity { grid-column: 2; grid-row: 3; display: flex; align-items: center; gap: 11px; margin-top: 4px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-quantity::before { content: attr(data-title); display: inline!important; font-size: 11px; color: #6b878a; font-weight: 600; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-subtotal { grid-column: 2; grid-row: 4; margin-top: 3px; font-size: 14px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-subtotal::before { content: attr(data-title) ': '; display: inline!important; font-size: 11px; color: #6b878a; font-weight: 550; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr:not(.cart_item) { display: block; width: 100%; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr:not(.cart_item) > td.actions { display: block; width: 100%; border: 1px solid var(--np-flow-line); border-radius: 15px; background: #fff; padding: 16px!important; text-align: left; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon { display: flex; align-items: stretch; width: 100%; gap: 8px; margin-bottom: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon .input-text { width: 100%!important; min-width: 0; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon button.button { white-space: nowrap; padding: 10px 12px; font-size: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions > button.button { width: 100%; }
  .np-cart-flow .np-flow-body .cart-collaterals .cart_totals { padding: 22px 19px; }
  .np-cart-flow .np-flow-body .cart-collaterals h2 { font-size: 21px; }
  .np-checkout-flow .np-flow-body form.checkout #customer_details,
  .np-checkout-flow .np-flow-body form.checkout #order_review { padding: 21px 18px; }
  .np-checkout-flow .np-flow-body #customer_details .woocommerce-billing-fields__field-wrapper,
  .np-checkout-flow .np-flow-body #customer_details .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .np-checkout-flow .np-flow-body #customer_details .form-row { grid-column: 1 / -1; }
  .np-checkout-flow .np-flow-body form.checkout_coupon .form-row { width: 100%; margin: 0 0 10px; }
  .np-commerce-flow .np-flow-body .wc-block-cart-items { padding: 12px; }
  .np-commerce-flow .np-flow-body .wc-block-components-sidebar,
  .np-commerce-flow .np-flow-body .wc-block-components-checkout-step { padding: 16px; }
}
@media (max-width: 370px) {
  .np-commerce-flow .np-flow-progress li { font-size: 11px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item { grid-template-columns: 70px minmax(0,1fr); column-gap: 10px; padding: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 70px; height: 70px; }
  .np-cart-flow .np-flow-body .coupon button.button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .np-commerce-flow .np-flow-body :is(button.button,a.button,.wc-block-components-button) { transition: none; transform: none; }
}

/* Tablet layout switches to product cards before WooCommerce columns become cramped. */
@media (min-width: 761px) and (max-width: 930px) {
  .np-cart-flow .np-flow-body .woocommerce-cart-form table.shop_table.cart { display: block; width: 100%; border: 0; background: transparent; overflow: visible; }
  .np-cart-flow .np-flow-body table.shop_table.cart thead { display: none; }
  .np-cart-flow .np-flow-body table.shop_table.cart tbody { display: block; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item { position: relative; display: grid; grid-template-columns: 88px minmax(0,1fr); column-gap: 14px; row-gap: 7px; padding: 16px; margin: 0 0 12px; border: 1px solid var(--np-flow-line); border-radius: 16px; background: #fff; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td { display: block; border: 0; padding: 0; width: 100%; min-width: 0; text-align: left; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td::before { display: none!important; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-remove { position: absolute; top: 10px; right: 10px; width: 30px; z-index: 1; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-thumbnail { grid-column: 1; grid-row: 1 / span 4; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 88px; height: 88px; border-radius: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-name { grid-column: 2; grid-row: 1; padding-right: 25px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-name a { font-size: 13px; font-weight: 650; line-height: 1.4; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-price { grid-column: 2; grid-row: 2; font-size: 13px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-quantity { grid-column: 2; grid-row: 3; display: flex; align-items: center; gap: 11px; margin-top: 4px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-quantity::before { content: attr(data-title); display: inline!important; font-size: 11px; color: #6b878a; font-weight: 600; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-subtotal { grid-column: 2; grid-row: 4; margin-top: 3px; font-size: 14px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-subtotal::before { content: attr(data-title) ': '; display: inline!important; font-size: 11px; color: #6b878a; font-weight: 550; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr:not(.cart_item) { display: block; width: 100%; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr:not(.cart_item) > td.actions { display: block; width: 100%; border: 1px solid var(--np-flow-line); border-radius: 15px; background: #fff; padding: 16px!important; text-align: left; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon { display: flex; align-items: stretch; width: 100%; gap: 8px; margin-bottom: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon .input-text { width: 100%!important; min-width: 0; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions .coupon button.button { white-space: nowrap; padding: 10px 12px; font-size: 12px; }
  .np-cart-flow .np-flow-body table.shop_table.cart td.actions > button.button { width: 100%; }
}
@media (min-width: 761px) and (max-width: 930px) {
  /* Three-zone tablet product row: photo / item details / price and controls. */
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item {
    grid-template-columns: 100px minmax(0,1fr) 185px;
    grid-template-rows: auto auto auto;
    align-items: center;
    min-height: 163px;
    column-gap: 18px;
  }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-thumbnail { grid-column: 1; grid-row: 1 / span 3; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-name { grid-column: 2; grid-row: 1 / span 3; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-price { grid-column: 3; grid-row: 1; text-align: right; padding-right: 35px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-quantity { grid-column: 3; grid-row: 2; display: flex; justify-content: flex-end; padding-right: 35px; }
  .np-cart-flow .np-flow-body table.shop_table.cart tr.cart_item td.product-subtotal { grid-column: 3; grid-row: 3; text-align: right; padding-right: 35px; }
}
/* Keep totals legible when WooCommerce's generic responsive-table styles activate. */
@media (max-width: 760px) {
  .np-cart-flow .np-flow-body .cart-collaterals table.shop_table tr { display: table-row!important; }
  .np-cart-flow .np-flow-body .cart-collaterals table.shop_table tr th,
  .np-cart-flow .np-flow-body .cart-collaterals table.shop_table tr td {
    display: table-cell!important;
    width: auto;
    vertical-align: top;
  }
  .np-cart-flow .np-flow-body .cart-collaterals table.shop_table tr td::before { display: none!important; }
  .np-cart-flow .np-flow-body .cart-collaterals table.shop_table tr th { width: 41%; }
}
