/* NatGas Central · ngc-woo.css: one WooCommerce look for My Account, checkout and cart (BUILD_SPEC §6.3 S2, S5; workstream F).
   Replaces the three copy-pasted dark-theme blocks of the old templates (and absorbs the 8 Aug table-button fix). Loaded only on
   our WooCommerce templates, at wp_enqueue_scripts priority 10000, after WooCommerce's own woocommerce-layout / -smallscreen /
   -general styles (ngc-enqueue.php), so equal-or-higher specificity wins; every rule is scoped to body.ngc (our templates only).
   Restyles WooCommerce's OWN markup (notices, buttons, form rows, inputs, Select2, tables, the responsive table labels, the
   password eye, the payment box): no WooCommerce template is copied. Page layouts live in ngc-access.css (log in, checkout,
   order received, cart) and ngc-account.css (My Account). Tokens only: no hard-coded colour (the SVG masks carry no colour). */
body.ngc .woocommerce { min-width: 0; }
body.ngc .woocommerce::before, body.ngc .woocommerce::after { content: none; }
body.ngc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.ngc .woocommerce .clear { clear: both; }
body.ngc .woocommerce-Price-amount, body.ngc .woocommerce-Price-amount bdi { color: inherit; font-variant-numeric: tabular-nums; }
body.ngc .woocommerce mark { background: none; color: var(--t1); font-weight: 600; }
body.ngc .woocommerce :where(a:not(.button):not(.n-btn)) { color: var(--accent); }
body.ngc .woocommerce :where(a:not(.button):not(.n-btn)):hover { color: var(--accent-hover); }
body.ngc .woocommerce small, body.ngc .woocommerce .description { color: var(--t3); }
body.ngc .woocommerce address { font-style: normal; }
body.ngc .woocommerce-page .woocommerce img { display: inline-block; }
body.ngc .woocommerce-notices-wrapper:empty { display: none; }
body.ngc .woocommerce-notices-wrapper { display: flex; flex-direction: column; gap: 8px; }
body.ngc .woocommerce-message, body.ngc .woocommerce-info, body.ngc .woocommerce-error, body.ngc .woocommerce-notice--error,
body.ngc .woocommerce-noreviews, body.ngc p.no-comments { position: relative; display: block; width: auto; margin: 0; padding: 12px 14px 12px 40px; min-height: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--t1); font-size: 14px; line-height: 1.5; list-style: none; overflow-wrap: anywhere; outline: none; }
body.ngc .woocommerce-message::before, body.ngc .woocommerce-info::before, body.ngc .woocommerce-error::before, body.ngc .woocommerce-notice--error::before { content: ''; position: absolute; top: 14px; left: 14px; width: 16px; height: 16px; display: block; font-family: inherit; background: var(--t2); -webkit-mask: var(--ngc-ic-info) center / 16px 16px no-repeat; mask: var(--ngc-ic-info) center / 16px 16px no-repeat; }
body.ngc .woocommerce-message::before { -webkit-mask-image: var(--ngc-ic-check); mask-image: var(--ngc-ic-check); }
body.ngc .woocommerce-error::before, body.ngc .woocommerce-notice--error::before { -webkit-mask-image: var(--ngc-ic-alert); mask-image: var(--ngc-ic-alert); background: var(--t1); }
body.ngc .woocommerce-message::after, body.ngc .woocommerce-info::after, body.ngc .woocommerce-error::after { content: none; }
body.ngc .woocommerce-error { border-color: var(--danger); }
body.ngc .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
body.ngc .woocommerce-error li + li { margin-top: 4px; }
body.ngc .woocommerce-message a, body.ngc .woocommerce-info a, body.ngc .woocommerce-error a { color: var(--accent); font-weight: 500; }
body.ngc .woocommerce-message .button, body.ngc .woocommerce-info .button, body.ngc .woocommerce-error .button { float: none; margin: 8px 0 0; display: inline-flex; height: 32px; padding: 0 10px; font-size: 13px; }
body.ngc .woocommerce-message:focus-visible, body.ngc .woocommerce-info:focus-visible, body.ngc .woocommerce-error:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* WooCommerce moves focus to a notice it prints (tabindex="-1", role=alert) so screen readers read it out; it is not a control
   (Tab never stops there), so it draws no focus ring ("Complete checkout to renew your subscription." looked selected) */
body.ngc .woocommerce-message[tabindex="-1"]:focus, body.ngc .woocommerce-info[tabindex="-1"]:focus, body.ngc .woocommerce-error[tabindex="-1"]:focus,
body.ngc .woocommerce-notices-wrapper[tabindex="-1"]:focus, body.ngc .woocommerce-NoticeGroup[tabindex="-1"]:focus { outline: none; }
:root { --ngc-ic-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); --ngc-ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); --ngc-ic-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l9 16H3z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E"); --ngc-ic-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='1.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); --ngc-ic-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); --ngc-ic-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10.4 10.4 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.2 4.1M6.6 6.6A17 17 0 0 0 2 12s3.5 7 10 7a9.6 9.6 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E"); --ngc-ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
:root { --ngc-ic-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='1.5'/%3E%3Cpath d='M2.5 9.5h19'/%3E%3Cpath d='M6 15h4'/%3E%3C/svg%3E"); }
body.ngc .woocommerce .button, body.ngc .woocommerce .woocommerce-Button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-height: 0; margin: 0; padding: 0 16px; border: 1px solid var(--control); border-radius: var(--r-sm); background: transparent; color: var(--t1); box-shadow: none; font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; text-shadow: none; white-space: nowrap; cursor: pointer; transition: background-color .12s, border-color .12s, color .12s; }
body.ngc .woocommerce .button:hover, body.ngc .woocommerce .woocommerce-Button:hover { border-color: var(--t2); background: var(--raised); color: var(--t1); text-decoration: none; }
body.ngc .woocommerce .button.alt, body.ngc .woocommerce .button.woocommerce-form-login__submit, body.ngc .woocommerce .woocommerce-ResetPassword .button,
body.ngc .woocommerce .woocommerce-EditAccountForm .button, body.ngc .woocommerce .button.checkout-button, body.ngc .woocommerce .button#place_order,
body.ngc .woocommerce .return-to-shop .button { background: var(--fill); border-color: var(--fill); color: var(--on-fill); font-weight: 600; }
body.ngc .woocommerce .button.alt:hover, body.ngc .woocommerce .button.woocommerce-form-login__submit:hover, body.ngc .woocommerce .woocommerce-ResetPassword .button:hover,
body.ngc .woocommerce .woocommerce-EditAccountForm .button:hover, body.ngc .woocommerce .button.checkout-button:hover, body.ngc .woocommerce .button#place_order:hover,
body.ngc .woocommerce .return-to-shop .button:hover { background: var(--fill-hover); border-color: var(--fill-hover); color: var(--on-fill); }
body.ngc .woocommerce .button.cancel, body.ngc .woocommerce .button.delete { background: transparent; border-color: var(--danger); color: var(--danger); }
body.ngc .woocommerce .button.cancel:hover, body.ngc .woocommerce .button.delete:hover { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
body.ngc .woocommerce .button:disabled, body.ngc .woocommerce .button.disabled, body.ngc .woocommerce .button[disabled], body.ngc .woocommerce .button.alt:disabled,
body.ngc .woocommerce .button.alt[disabled] { background: transparent; border-color: var(--hair); color: var(--control); cursor: not-allowed; opacity: 1; padding: 0 16px; }
body.ngc .woocommerce .button.loading { opacity: .7; padding-right: 16px; }
body.ngc .woocommerce .button.loading::after { content: none; }
body.ngc .woocommerce .button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.n-btn--busy { cursor: progress; opacity: .8; }
body.ngc .woocommerce form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; float: none; width: auto; min-width: 0; }
body.ngc .woocommerce form .form-row::before, body.ngc .woocommerce form .form-row::after { content: none; }
body.ngc .woocommerce form .form-row label, body.ngc .woocommerce form p > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { display: block; margin: 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--t2); }
body.ngc .woocommerce form .form-row .required { color: var(--t3); text-decoration: none; border: 0; font-weight: 500; }
body.ngc .woocommerce form .form-row label .required[aria-hidden="true"] { display: none; }
body.ngc .woocommerce form .form-row .optional { color: var(--t3); font-weight: 400; }
body.ngc .woocommerce form .form-row .woocommerce-input-wrapper { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.ngc .woocommerce form .form-row .woocommerce-input-wrapper .description, body.ngc .woocommerce form .form-row .description { display: block !important; position: static; margin: 0; padding: 0; background: none; color: var(--t3); font-size: 12px; line-height: 1.5; }
body.ngc .woocommerce form .form-row .woocommerce-input-wrapper .description::before { content: none; }
body.ngc .woocommerce input.input-text, body.ngc .woocommerce textarea, body.ngc .woocommerce select,
body.ngc .woocommerce form .form-row input.input-text, body.ngc .woocommerce form .form-row textarea, body.ngc .woocommerce form .form-row select,
body.ngc .woocommerce input[type="text"], body.ngc .woocommerce input[type="email"], body.ngc .woocommerce input[type="tel"],
body.ngc .woocommerce input[type="password"], body.ngc .woocommerce input[type="number"] { width: 100%; height: 44px; margin: 0; padding: 0 12px; border: 1px solid var(--control); border-radius: var(--r-sm); background: var(--raised); color: var(--t1); box-shadow: none; font-family: var(--sans); font-size: 15px; line-height: 1.4; }
body.ngc .woocommerce textarea, body.ngc .woocommerce form .form-row textarea { height: auto; min-height: 96px; padding: 10px 12px; }
body.ngc .woocommerce select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: none; }
body.ngc .woocommerce input::placeholder, body.ngc .woocommerce textarea::placeholder { color: var(--t3); opacity: 1; }
body.ngc .woocommerce input.input-text:focus, body.ngc .woocommerce textarea:focus, body.ngc .woocommerce select:focus,
body.ngc .woocommerce input[type="password"]:focus, body.ngc .woocommerce input[type="email"]:focus, body.ngc .woocommerce input[type="text"]:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
body.ngc .woocommerce form .form-row.woocommerce-invalid input.input-text, body.ngc .woocommerce form .form-row.woocommerce-invalid select,
body.ngc .woocommerce form .form-row.woocommerce-invalid .select2-container .select2-selection, body.ngc .woocommerce input[aria-invalid="true"] { border-color: var(--down); }
body.ngc .woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--control); }
body.ngc .woocommerce form .form-row .checkbox, body.ngc .woocommerce form .woocommerce-form__label-for-checkbox, body.ngc .woocommerce form label.checkbox { display: block; position: relative; min-height: 24px; margin: 0; padding: 2px 0 2px 28px; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--t1); cursor: pointer; }
body.ngc .woocommerce form .form-row .checkbox > input[type="checkbox"], body.ngc .woocommerce form .woocommerce-form__label-for-checkbox > input[type="checkbox"],
body.ngc .woocommerce form label.checkbox > input[type="checkbox"] { position: absolute; left: 0; top: 3px; margin: 0; }
body.ngc .woocommerce input[type="checkbox"], body.ngc .woocommerce input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--fill); flex: none; cursor: pointer; }
body.ngc .woocommerce fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
body.ngc .woocommerce fieldset legend { padding: 0; font-size: 15px; font-weight: 600; color: var(--t1); }
body.ngc .woocommerce form .form-row-first, body.ngc .woocommerce form .form-row-last { width: auto; float: none; }
body.ngc .woocommerce .password-input { position: relative; display: flex; width: 100%; }
body.ngc .woocommerce .password-input input { padding-right: 52px; }
body.ngc .woocommerce .show-password-input { position: absolute; top: 0; right: 0; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; transform: none; background: transparent; color: var(--t2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
body.ngc .woocommerce .show-password-input::before, body.ngc .woocommerce .show-password-input::after { content: ''; position: static; display: block; width: 18px; height: 18px; font-family: inherit; background: currentColor; -webkit-mask: var(--ngc-ic-eye) center / 18px 18px no-repeat; mask: var(--ngc-ic-eye) center / 18px 18px no-repeat; }
body.ngc .woocommerce .show-password-input::before { content: none; }
body.ngc .woocommerce .show-password-input.display-password::after { -webkit-mask-image: var(--ngc-ic-eye-off); mask-image: var(--ngc-ic-eye-off); }
body.ngc .woocommerce .show-password-input:hover { color: var(--t1); }
body.ngc .woocommerce-password-strength { margin: 2px 0 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--raised); color: var(--t1); font-size: 13px; font-weight: 600; text-align: left; }
body.ngc .woocommerce-password-strength.short, body.ngc .woocommerce-password-strength.bad { border-color: var(--danger); }
body.ngc .woocommerce-password-strength.good { border-color: var(--warn); }
body.ngc .woocommerce-password-strength.strong { border-color: var(--ok); }
body.ngc .woocommerce-password-hint { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--t3); }
body.ngc .select2-container { max-width: 100%; }
body.ngc .select2-container--default .select2-selection--single { height: 44px; border: 1px solid var(--control); border-radius: var(--r-sm); background: var(--raised); }
body.ngc .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 12px; padding-right: 36px; color: var(--t1); font-size: 15px; }
body.ngc .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--t3); }
body.ngc .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; right: 6px; }
body.ngc .select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--t2) transparent transparent; }
body.ngc .select2-container--focus .select2-selection--single, body.ngc .select2-container--open .select2-selection--single { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
body.ngc .select2-dropdown { background: var(--raised); border-color: var(--line); color: var(--t1); }
body.ngc .select2-container--default .select2-search--dropdown .select2-search__field { height: 40px; border: 1px solid var(--control); border-radius: var(--r-sm); background: var(--surface); color: var(--t1); font-size: 16px; }
body.ngc .select2-container--default .select2-results__option { padding: 10px 12px; font-size: 14px; }
body.ngc .select2-container--default .select2-results__option--highlighted[aria-selected], body.ngc .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--fill); color: var(--on-fill); }
body.ngc .select2-container--default .select2-results__option[aria-selected="true"], body.ngc .select2-container--default .select2-results__option[data-selected="true"] { background: var(--accent-quiet); color: var(--t1); }
body.ngc :where(.woocommerce table.shop_table) { width: 100%; margin: 0; border: 1px solid var(--hair); border-radius: var(--r); border-collapse: separate; border-spacing: 0; background: var(--surface); font-variant-numeric: tabular-nums; overflow: hidden; }
body.ngc :where(.woocommerce table.shop_table) :where(th, td) { padding: 10px 12px; border: 0; border-top: 1px solid var(--hair-soft); background: transparent; color: var(--t1); font-size: 14px; font-weight: 400; line-height: 1.45; text-align: left; vertical-align: middle; }
body.ngc :where(.woocommerce table.shop_table thead th) { height: 36px; padding: 0 12px; border-top: 0; border-bottom: 1px solid var(--line); background: var(--raised); color: var(--t2); font-size: 12px; font-weight: 500; white-space: nowrap; text-transform: none; letter-spacing: 0; }
body.ngc :where(.woocommerce table.shop_table thead + tbody > tr:first-child > *) { border-top: 0; }
body.ngc :where(.woocommerce table.shop_table tr > :first-child) { padding-left: 16px; }
body.ngc :where(.woocommerce table.shop_table tr > :last-child) { padding-right: 16px; }
body.ngc :where(.woocommerce table.shop_table tfoot th) { color: var(--t2); font-weight: 400; }
body.ngc :where(.woocommerce table.shop_table tfoot tr:last-child > *) { font-size: 15px; font-weight: 600; color: var(--t1); border-top: 1px solid var(--line); }
body.ngc :where(.woocommerce table.shop_table .product-total, .woocommerce table.shop_table td.product-subtotal, .woocommerce table.shop_table tfoot td) { text-align: right; }
body.ngc :where(.woocommerce table.shop_table .product-quantity) { color: var(--t3); font-weight: 400; }
body.ngc :where(.woocommerce table.shop_table td a:not(.button)) { font-weight: 500; }
body.ngc .woocommerce table.shop_table .button { height: 32px; padding: 0 10px; font-size: 13px; margin: 2px 0 2px 6px; }
body.ngc .woocommerce table.shop_table .button:first-child { margin-left: 0; }
@media (max-width: 699px) {
  body.ngc :where(.woocommerce table.shop_table_responsive thead) { display: none; }
  body.ngc :where(.woocommerce table.shop_table_responsive, .woocommerce table.shop_table_responsive tbody, .woocommerce table.shop_table_responsive tr) { display: block; width: 100%; }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr) { padding: 10px 16px 14px; border-top: 1px solid var(--hair-soft); }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr:first-child) { border-top: 0; }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr) > :where(th, td) { display: block; width: 100%; min-height: 32px; padding: 5px 0; border: 0; text-align: right; white-space: normal; overflow-wrap: anywhere; }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr) > :where(th, td)::after { content: ''; display: table; clear: both; }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr) > :where(th, td)::before { content: attr(data-title); float: left; margin-right: 16px; font-size: 13px; font-weight: 400; line-height: 1.7; color: var(--t2); text-align: left; }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr) > :where(td[data-title="Actions"], td[data-title="\00a0"], td[data-title=""], td.order-actions, td.subscription-actions, td.payment-method-actions, td.woocommerce-orders-table__cell-order-actions)::before { content: none; display: none; }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr) > :where(td.order-actions, td.subscription-actions, td.payment-method-actions, td.woocommerce-orders-table__cell-order-actions) { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; padding-top: 10px; text-align: left; }
  /* a flex row needs no clearfix: the empty ::after was a flex item, so its 8 px gap left the last button short of the row */
  body.ngc :where(.woocommerce table.shop_table_responsive tbody tr) > :where(td.order-actions, td.subscription-actions, td.payment-method-actions, td.woocommerce-orders-table__cell-order-actions)::after { content: none; display: none; }
  body.ngc .woocommerce table.shop_table_responsive tbody td .button { flex: 1 1 0; height: 44px; margin: 0; }
  body.ngc :where(.woocommerce table.shop_table_responsive tbody) :where(th a, td.woocommerce-orders-table__cell-order-number a, td.subscription-id a) { display: inline-flex; align-items: center; min-height: 44px; margin-block: -6px; }
}
body.ngc .woocommerce #payment, body.ngc .woocommerce-checkout #payment { background: transparent; border: 0; border-radius: 0; }
body.ngc .woocommerce #payment ul.payment_methods { margin: 0; padding: 0; list-style: none; text-align: left; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; }
body.ngc .woocommerce #payment ul.payment_methods::before, body.ngc .woocommerce #payment ul.payment_methods::after { content: none; }
body.ngc .woocommerce #payment ul.payment_methods > li { margin: 0; padding: 0; border-bottom: 1px solid var(--hair); line-height: 1.4; font-weight: 400; }
body.ngc .woocommerce #payment ul.payment_methods > li:last-child { border-bottom: 0; }
body.ngc .woocommerce #payment ul.payment_methods > li > input.input-radio { position: absolute; margin: 16px 0 0 16px; }
body.ngc .woocommerce #payment ul.payment_methods > li > label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin: 0; padding: 0 16px 0 46px; font-size: 15px; font-weight: 600; color: var(--t1); cursor: pointer; }
body.ngc .woocommerce #payment ul.payment_methods > li > input.input-radio[style*="none"] + label { padding-left: 16px; }
body.ngc .woocommerce #payment ul.payment_methods > li > label img { max-height: 22px; width: auto; margin: 0; float: none; }
body.ngc .woocommerce #payment div.payment_box { position: relative; margin: 0; padding: 16px; border-top: 1px solid var(--hair); border-radius: 0; background: transparent; color: var(--t2); font-size: 14px; line-height: 1.5; }
body.ngc .woocommerce #payment div.payment_box::before { content: none; display: none; }
body.ngc .woocommerce #payment div.payment_box p:last-child { margin-bottom: 0; }
body.ngc .woocommerce #payment div.payment_box fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0; padding: 0; }
body.ngc .woocommerce #payment div.payment_box fieldset .form-row-wide { grid-column: 1 / -1; }
body.ngc .woocommerce #payment div.payment_box fieldset .clear { display: none; }
body.ngc .woocommerce #payment div.payment_box fieldset input { width: 100% !important; }
body.ngc .woocommerce #payment div.payment_box .wc-credit-card-form-card-number, body.ngc .woocommerce #payment div.payment_box .wc-credit-card-form-card-expiry,
body.ngc .woocommerce #payment div.payment_box .wc-credit-card-form-card-cvc { background-image: none; font-size: 15px; }
/* §0.1 rule 10: 16 px form boxes on phones (iPhone Safari zooms the page into any box under 16 px; WooPayments copies these input
   styles into its card frame). The exact selectors of the 15 px rules above, so this later rule wins at equal specificity. */
@media (max-width: 699px) {
  body.ngc .woocommerce input.input-text, body.ngc .woocommerce textarea, body.ngc .woocommerce select,
  body.ngc .woocommerce form .form-row input.input-text, body.ngc .woocommerce form .form-row textarea, body.ngc .woocommerce form .form-row select,
  body.ngc .woocommerce input[type="text"], body.ngc .woocommerce input[type="email"], body.ngc .woocommerce input[type="tel"],
  body.ngc .woocommerce input[type="password"], body.ngc .woocommerce input[type="number"],
  body.ngc .woocommerce #payment div.payment_box .wc-credit-card-form-card-number, body.ngc .woocommerce #payment div.payment_box .wc-credit-card-form-card-expiry,
  body.ngc .woocommerce #payment div.payment_box .wc-credit-card-form-card-cvc,
  body.ngc .select2-container--default .select2-selection--single .select2-selection__rendered { font-size: 16px; }
}
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods { margin: 0 0 12px; padding: 0; list-style: none; }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods:empty { display: none; }
/* §0.1 rule 10: every card choice is a 44 px target over its whole row (the prototype's .n-radio / .n-check labels wrap their input;
   WooCommerce prints the input BESIDE its label, so the label fills the row and its ::before stretches its hit area over the input
   and the gap too). The save checkbox's label carries an inline display:inline, hence the !important. */
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods li { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 0; }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods li + li { border-top: 1px solid var(--hair-soft); }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods li label { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; align-self: stretch; flex: 1 1 auto; min-width: 0; min-height: 44px; margin: 0; padding: 6px 0; font-size: 14px; line-height: 1.45; color: var(--t1); cursor: pointer; }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods li label .n-radio__desc { display: block; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--t3); }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods li label::before, body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods-saveNew label::before { content: ''; position: absolute; inset: 0; }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods-saveNew:not(:has(label)) { display: none !important; }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods-saveNew { position: relative; flex-direction: row; align-items: center; gap: 10px; min-height: 44px; }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"] { width: 18px !important; }
body.ngc .woocommerce #payment .woocommerce-SavedPaymentMethods-saveNew label { display: flex !important; align-items: center; align-self: stretch; flex: 1 1 auto; min-width: 0; min-height: 44px; margin: 0; font-size: 14px; font-weight: 400; color: var(--t1); cursor: pointer; }
body.ngc .woocommerce #payment .form-row.place-order { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 24px 0 0; border: 0; background: none; }
/* the order-pay page (form-pay.php) and Subscriptions' change-payment page print their button row as a bare .form-row (no
   .place-order), so the button sat flush against the card box; the prototype's pay form keeps 20 px between them (account.css
   .acct-payform gap) */
body.ngc .woocommerce form#order_review #payment > .form-row { margin: 0; padding: 20px 0 0; border: 0; background: none; }
body.ngc .woocommerce #payment .payment_method_woocommerce_payments .wcpay-upe-element,
body.ngc .woocommerce #payment .payment_method_woocommerce_payments .wcpay-card-mounted { padding: 12px; border: 1px solid var(--control); border-radius: var(--r-sm); background: var(--raised); }
body.ngc .woocommerce #payment .payment_method_woocommerce_payments .woocommerce-PaymentBox, body.ngc .woocommerce #payment .payment_method_ngc_staging_card .wc-payment-form { color: var(--t2); }
@media (max-width: 699px) {
  body.ngc .woocommerce #payment div.payment_box fieldset { grid-template-columns: minmax(0, 1fr); }
}
body.ngc .woocommerce #payment div.payment_box p { margin: 0 0 10px; color: var(--t2); }
@media print {
  body.ngc .woocommerce .button, body.ngc .woocommerce #payment { display: none !important; }
}
