/* ==========================================================================
   M חשמל — Cart + Checkout (Stage 21). Design System v1.1 tokens only.
   Skins the native WooCommerce Cart / Checkout Blocks through their stable public classes (.wc-block-*, .wp-block-woocommerce-*).
   Scope: body.np-cart-page / .np-checkout-page / .np-order-received-page / .np-account-page (inc/cart-checkout.php).
   No layout is rebuilt — the blocks keep their own DOM, responsive behaviour, validation and state.
   ========================================================================== */

/* ---------- Page shell ---------- */
.np-commerce .site-main { padding-block: var(--np-space-5) var(--np-space-8); }
.np-commerce .entry-title, .np-commerce h1.entry-title { margin: 0 0 var(--np-space-5); font-size: var(--np-font-h1-size); font-weight: var(--np-font-h1-weight); line-height: var(--np-font-h1-lh); color: var(--np-color-neutral-900); }
.np-commerce .wp-block-woocommerce-cart, .np-commerce .wp-block-woocommerce-checkout { font-family: var(--np-font-family); color: var(--np-color-text); }
/* no extra gap on the flex layout: main (65%) + sidebar (35%) already fill 100% and would wrap */
/* Hello Elementor's .alignwide { margin-inline: -80px } shifts the (width:100%) block 80px sideways → neutralised */
.np-commerce .wp-block-woocommerce-cart.alignwide, .np-commerce .wp-block-woocommerce-checkout.alignwide { margin-inline: 0; width: 100%; max-width: none; }

/* ---------- Shared: buttons, inputs, notices ---------- */
.np-commerce .wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--np-space-2); min-height: var(--np-touch);
  padding: 0 20px; border-radius: var(--np-radius-md); border: 1px solid transparent;
  background: var(--np-color-brand-primary); color: var(--np-color-text-inverse);
  font-family: var(--np-font-family); font-size: var(--np-font-button-size); font-weight: var(--np-font-button-weight); line-height: var(--np-font-button-lh);
  text-decoration: none; box-shadow: none; transition: background-color var(--np-motion-fast) var(--np-ease);
}
.np-commerce .wc-block-components-button:not(.is-link):hover, .np-commerce .wc-block-components-button:not(.is-link):focus { background: var(--np-color-brand-primary-hover); color: var(--np-color-text-inverse); box-shadow: none; }
.np-commerce .wc-block-components-button:not(.is-link):focus-visible { outline: var(--np-focus-ring); outline-offset: 2px; }
.np-commerce .wc-block-components-button:not(.is-link):disabled, .np-commerce .wc-block-components-button:not(.is-link)[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.np-commerce .wc-block-components-button.outlined, .np-commerce .wc-block-components-button.contained.outlined { background: transparent; color: var(--np-color-brand-navy); border-color: var(--np-color-brand-navy); } /* secondary = navy (Stage 70) */
.np-commerce .wc-block-components-button.outlined:hover { background: var(--np-color-brand-primary-soft); color: var(--np-color-brand-primary-hover); border-color: var(--np-color-brand-primary-hover); }
.np-commerce .wc-block-components-button__text { line-height: inherit; }
.np-commerce .wc-block-components-spinner { color: currentColor; }

/* text inputs (Woo floating labels: label above input, input padding-top) */
.np-commerce .wc-block-components-text-input input[type="text"], .np-commerce .wc-block-components-text-input input[type="tel"],
.np-commerce .wc-block-components-text-input input[type="email"], .np-commerce .wc-block-components-text-input input[type="url"],
.np-commerce .wc-block-components-text-input input[type="number"], .np-commerce .wc-block-components-select__select,
.np-commerce .wc-block-components-textarea, .np-commerce .wc-block-components-combobox-control input {
  font-family: var(--np-font-family); font-size: var(--np-font-body-size); color: var(--np-color-text);
  background: var(--np-color-bg-surface); border: 1px solid var(--np-color-border-strong); border-radius: var(--np-radius-md); box-shadow: none;
  min-height: 52px;
}
.np-commerce .wc-block-components-text-input input:focus, .np-commerce .wc-block-components-select__select:focus, .np-commerce .wc-block-components-textarea:focus, .np-commerce .wc-block-components-combobox-control input:focus { border-color: var(--np-color-brand-primary); box-shadow: 0 0 0 1px var(--np-color-brand-primary); outline: none; }
.np-commerce .wc-block-components-text-input label, .np-commerce .wc-block-components-select label, .np-commerce .wc-block-components-combobox-control label { color: var(--np-color-text-muted); font-family: var(--np-font-family); }
.np-commerce .wc-block-components-text-input.is-active label, .np-commerce .wc-block-components-select.is-active label { color: var(--np-color-text-secondary); }
.np-commerce .wc-block-components-text-input.has-error input, .np-commerce .wc-block-components-select.has-error .wc-block-components-select__select { border-color: var(--np-color-error); box-shadow: 0 0 0 1px var(--np-color-error); }
.np-commerce .wc-block-components-validation-error { color: var(--np-color-error); font-size: var(--np-font-caption-size); line-height: var(--np-font-caption-lh); }
.np-commerce .wc-block-components-validation-error p { color: inherit; margin: 0; }
.np-commerce .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { width: 20px; height: 20px; border: 1px solid var(--np-color-border-strong); border-radius: var(--np-radius-sm); }
.np-commerce .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--np-color-brand-primary); border-color: var(--np-color-brand-primary); }
.np-commerce .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus-visible { outline: var(--np-focus-ring); outline-offset: 2px; }
.np-commerce .wc-block-components-checkbox__label { font-size: var(--np-font-body-small-size); line-height: var(--np-font-body-small-lh); color: var(--np-color-text); }

/* notices — Blocks own the markup/icons/dismiss (and a 16px !important padding); Stage 66 aligns the tones with the classic
   np-notice system: restrained tint, 1px tinted border, DS radius, dark text, status colour only on the icon disc. */
.np-commerce .wc-block-components-notice-banner { border-radius: var(--np-radius-md); color: var(--np-color-text); font-family: var(--np-font-family); font-size: var(--np-font-body-small-size); line-height: var(--np-font-body-small-lh); gap: var(--np-space-3); }
.np-commerce .wc-block-components-notice-banner > .wc-block-components-notice-banner__content { color: var(--np-color-text); }
.np-commerce .wc-block-components-notice-banner.is-error { background: color-mix(in srgb, var(--np-color-error-soft) 55%, var(--np-color-bg-surface)); border-color: color-mix(in srgb, var(--np-color-error) 24%, var(--np-color-bg-surface)); }
.np-commerce .wc-block-components-notice-banner.is-error > svg { background-color: var(--np-color-error); }
.np-commerce .wc-block-components-notice-banner.is-success { background: color-mix(in srgb, var(--np-color-success-soft) 55%, var(--np-color-bg-surface)); border-color: color-mix(in srgb, var(--np-color-success) 24%, var(--np-color-bg-surface)); }
.np-commerce .wc-block-components-notice-banner.is-success > svg { background-color: var(--np-color-success); }
.np-commerce .wc-block-components-notice-banner.is-warning { background: color-mix(in srgb, var(--np-color-warning-soft) 55%, var(--np-color-bg-surface)); border-color: color-mix(in srgb, var(--np-color-warning) 24%, var(--np-color-bg-surface)); }
.np-commerce .wc-block-components-notice-banner.is-warning > svg { background-color: var(--np-color-warning); }
.np-commerce .wc-block-components-notice-banner.is-info { background: var(--np-color-bg-subtle); border-color: var(--np-color-border); }
.np-commerce .wc-block-components-notice-banner.is-info > svg { background-color: var(--np-color-text-secondary); }

/* totals rows (cart sidebar + checkout summary) */
.np-commerce .wc-block-components-totals-item { font-size: var(--np-font-body-small-size); line-height: var(--np-font-body-small-lh); color: var(--np-color-text); padding-block: var(--np-space-2); }
.np-commerce .wc-block-components-totals-item__label { color: var(--np-color-text-secondary); font-weight: 500; }
.np-commerce .wc-block-components-totals-item__value { font-weight: 600; color: var(--np-color-neutral-900); }
.np-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: var(--np-font-body-size); font-weight: 700; color: var(--np-color-neutral-900); }
.np-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: var(--np-font-h3-size); font-weight: 700; color: var(--np-color-neutral-900); }
.np-commerce .wc-block-components-totals-wrapper { border-color: var(--np-color-border); }
.np-commerce .wc-block-components-totals-item__description { color: var(--np-color-text-muted); font-size: var(--np-font-caption-size); }
.np-commerce .wc-block-components-formatted-money-amount { white-space: nowrap; }
/* coupon panel */
.np-commerce .wc-block-components-panel__button { font-family: var(--np-font-family); font-size: var(--np-font-body-small-size); font-weight: 600; color: var(--np-color-brand-primary); min-height: var(--np-touch); }
.np-commerce .wc-block-components-panel__button:focus-visible { outline: var(--np-focus-ring); outline-offset: 2px; }
.np-commerce .wc-block-components-totals-coupon__form .wc-block-components-button { min-height: 52px; }
.np-commerce .wc-block-components-totals-discount .wc-block-components-totals-item__value { color: var(--np-color-success); }
.np-commerce .wc-block-components-chip { border-radius: var(--np-radius-pill); background: var(--np-color-bg-subtle); border-color: var(--np-color-border); font-size: var(--np-font-caption-size); }
.np-commerce .wc-block-components-chip__remove { min-width: 28px; min-height: 28px; }

/* ==========================================================================
   CART
   ========================================================================== */
.np-cart-page .wc-block-cart-items { border: 0; }
.np-cart-page .wc-block-cart-items__header { font-size: var(--np-font-caption-size); font-weight: 600; text-transform: none; color: var(--np-color-text-muted); border-bottom: 1px solid var(--np-color-border); }
.np-cart-page .wc-block-cart-items__row { padding-block: var(--np-space-4); border-bottom: 1px solid var(--np-color-border); }
.np-cart-page .wc-block-cart-item__image { width: 120px; padding-inline-end: var(--np-space-4); }
.np-cart-page .wc-block-cart-item__image img { width: 100%; max-width: 120px; border: 1px solid var(--np-color-border); border-radius: var(--np-radius-md); background: var(--np-color-bg-surface); padding: 4px; }
.np-cart-page .wc-block-cart-item__product { padding-inline-end: var(--np-space-4); }
.np-cart-page .wc-block-components-product-name { font-size: var(--np-font-body-size); font-weight: 600; line-height: 1.35; color: var(--np-color-neutral-900); text-decoration: none; }
.np-cart-page .wc-block-components-product-name:hover { color: var(--np-color-brand-primary); text-decoration: underline; }
.np-cart-page .wc-block-cart-item__prices { margin-top: var(--np-space-1); }
.np-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__value { font-size: var(--np-font-body-small-size); font-weight: 600; color: var(--np-color-neutral-900); }
.np-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__regular { font-size: var(--np-font-caption-size); color: var(--np-color-text-muted); }
.np-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__value.is-discounted { color: var(--np-color-error); }
.np-cart-page .wc-block-components-product-metadata { font-size: var(--np-font-caption-size); line-height: var(--np-font-caption-lh); color: var(--np-color-text-secondary); }
.np-cart-page .wc-block-components-product-details { margin: var(--np-space-1) 0 0; }
.np-cart-page .wc-block-components-product-details__name { font-weight: 600; }
.np-cart-page .wc-block-components-product-badge, .np-cart-page .wc-block-components-sale-badge { border-radius: var(--np-radius-sm); font-size: var(--np-font-caption-size); text-transform: none; font-weight: 600; }
.np-cart-page .wc-block-components-sale-badge { background: var(--np-color-sale-soft); color: var(--np-color-error); border: 0; }
.np-cart-page .wc-block-cart-item__total .wc-block-components-product-price__value { font-size: var(--np-font-body-size); font-weight: 700; color: var(--np-color-neutral-900); }
.np-cart-page .wc-block-cart-item__total-price-and-sale-badge-wrapper { align-items: flex-end; }

/* quantity [-] [n] [+] — 44px targets, Woo logic untouched */
.np-cart-page .wc-block-cart-item__quantity { margin-top: var(--np-space-3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--np-space-3); }
.np-cart-page .wc-block-components-quantity-selector { width: 132px; min-height: var(--np-touch); margin: 0; border-radius: var(--np-radius-md); background: var(--np-color-bg-surface); }
.np-cart-page .wc-block-components-quantity-selector::after { border: 1px solid var(--np-color-border-strong); border-radius: var(--np-radius-md); opacity: 1; }
.np-cart-page .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input { min-width: 44px; min-height: var(--np-touch); font-family: var(--np-font-family); font-size: var(--np-font-body-size); font-weight: 600; color: var(--np-color-neutral-900); background: transparent; border: 0; box-shadow: none; }
.np-cart-page .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input:focus-visible { outline: var(--np-focus-ring); outline-offset: -2px; border-radius: 0; }
.np-cart-page .wc-block-components-quantity-selector__button { min-width: var(--np-touch); min-height: var(--np-touch); font-size: 20px; color: var(--np-color-text); opacity: 1; }
.np-cart-page .wc-block-components-quantity-selector__button:hover { color: var(--np-color-brand-primary); box-shadow: none; }
.np-cart-page .wc-block-components-quantity-selector__button:focus-visible { outline: var(--np-focus-ring); outline-offset: -2px; box-shadow: none; }
.np-cart-page .wc-block-components-quantity-selector__button:disabled { opacity: .35; cursor: not-allowed; }
.np-cart-page .wc-block-cart-item__remove-link {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--np-space-1); min-width: var(--np-touch); min-height: var(--np-touch); padding: 0 var(--np-space-2); margin: 0;
  font-family: var(--np-font-family); font-size: var(--np-font-body-small-size); font-weight: 500; color: var(--np-color-text-secondary); border-radius: var(--np-radius-sm); text-decoration: none;
}
.np-cart-page .wc-block-cart-item__remove-link:hover { color: var(--np-color-error); text-decoration: underline; }
.np-cart-page .wc-block-cart-item__remove-link:focus-visible { outline: var(--np-focus-ring); outline-offset: 2px; }
.np-cart-page .wc-block-cart-item__remove-link svg { width: 20px; height: 20px; }

/* sidebar: summary card, sticky under the site header on desktop */
.np-cart-page .wc-block-cart__sidebar { background: var(--np-color-bg-surface); border: 1px solid var(--np-color-border); border-radius: var(--np-radius-lg); padding: var(--np-space-4); }
@media (min-width: 1025px) { .np-cart-page .wc-block-cart__sidebar { position: sticky; top: calc(var(--np-header-main-h-compact) + var(--np-header-nav-h-compact) + var(--np-space-4)); align-self: flex-start; } }
.np-cart-page .wc-block-cart__totals-title { font-size: var(--np-font-h3-size); font-weight: 700; line-height: var(--np-font-h3-lh); color: var(--np-color-neutral-900); text-transform: none; letter-spacing: 0; border: 0; padding: 0 0 var(--np-space-3); }
.np-cart-page .wc-block-cart__sidebar .wc-block-components-totals-wrapper { padding-inline: 0; }
.np-cart-page .wc-block-cart__submit { margin-top: var(--np-space-4); padding: 0; }
.np-cart-page .wc-block-cart__submit-button { width: 100%; min-height: 52px; }
.np-cart-page .wc-block-cart__submit-container--sticky { background: var(--np-color-bg-surface); }
.np-cart-page .wc-block-cart__payment-options:empty { display: none; }
.np-cart-page .wc-block-cart__sidebar .wc-block-components-shipping-calculator-address__button, .np-cart-page .wc-block-components-totals-shipping__change-address__link { color: var(--np-color-brand-primary); }

/* empty cart */
.np-cart-page .wc-block-cart__empty-cart__title { font-size: var(--np-font-h3-size); font-weight: 600; color: var(--np-color-neutral-900); }
.np-cart-page .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { color: var(--np-color-neutral-300); }
.np-cart-page .wp-block-woocommerce-empty-cart-block .wp-block-buttons { margin-top: var(--np-space-4); }
.np-cart-page .wp-block-woocommerce-empty-cart-block .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--np-touch); padding: 0 24px; border-radius: var(--np-radius-md);
  background: var(--np-color-brand-primary); color: var(--np-color-text-inverse); font-family: var(--np-font-family); font-size: var(--np-font-button-size); font-weight: var(--np-font-button-weight); text-decoration: none;
}
.np-cart-page .wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover { background: var(--np-color-brand-primary-hover); color: var(--np-color-text-inverse); }
.np-cart-page .wp-block-woocommerce-empty-cart-block .is-style-outline .wp-block-button__link { background: transparent; color: var(--np-color-brand-navy); border: 1px solid var(--np-color-brand-navy); }
.np-cart-page .wp-block-woocommerce-empty-cart-block .wp-block-button__link:focus-visible { outline: var(--np-focus-ring); outline-offset: 2px; }

/* cross-sells (existing Product Card) */
.np-cart-cross-sells { margin-top: var(--np-space-7); padding-top: var(--np-space-6); border-top: 1px solid var(--np-color-border); }
.np-cart-cross-sells__title { margin: 0 0 var(--np-space-4); font-size: var(--np-font-h3-size); font-weight: 700; line-height: var(--np-font-h3-lh); color: var(--np-color-neutral-900); }
.np-cart-cross-sells__grid { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1025px) { .np-cart-cross-sells__grid.np-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* mobile cart */
@media (max-width: 700px) {
  .np-cart-page .wc-block-cart-item__image { width: 88px; }
  .np-cart-page .wc-block-cart-item__image img { max-width: 88px; }
  .np-cart-page .wc-block-cart__sidebar { padding: var(--np-space-3); }
  .np-cart-page .wc-block-cart-item__quantity { gap: var(--np-space-2); }
}

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.np-checkout-page .wc-block-checkout__main { flex: 0 0 58%; }
.np-checkout-page .wc-block-checkout__sidebar { flex: 0 0 38%; }
.np-checkout-page .wc-block-components-checkout-step { padding-inline-start: 0; padding-block: var(--np-space-4); border-bottom: 1px solid var(--np-color-border); }
.np-checkout-page .wc-block-components-checkout-step:last-child { border-bottom: 0; }
.np-checkout-page .wc-block-components-checkout-step__heading { margin: 0 0 var(--np-space-3); }
.np-checkout-page .wc-block-components-checkout-step__title, .np-checkout-page .wc-block-components-title { font-family: var(--np-font-family); font-size: var(--np-font-h3-size); font-weight: 700; line-height: var(--np-font-h3-lh); color: var(--np-color-neutral-900); margin: 0; }
.np-checkout-page .wc-block-components-checkout-step__description { font-size: var(--np-font-body-small-size); line-height: var(--np-font-body-small-lh); color: var(--np-color-text-secondary); margin: 0 0 var(--np-space-3); }
.np-checkout-page .wc-block-components-checkout-step--with-step-number { padding-inline-start: 0; }
.np-checkout-page .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container::after { display: none; }
.np-checkout-page .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before { display: none; }
.np-checkout-page .wc-block-components-address-form { row-gap: var(--np-space-3); }
.np-checkout-page .wc-block-components-checkout-return-to-cart-button { color: var(--np-color-brand-primary); font-size: var(--np-font-body-small-size); min-height: var(--np-touch); display: inline-flex; align-items: center; }

/* radio options (shipping / pickup / payment) — 44px rows, visible selection */
.np-checkout-page .wc-block-components-radio-control__option { min-height: var(--np-touch); padding-inline-start: 44px; font-size: var(--np-font-body-size); color: var(--np-color-text); }
.np-checkout-page .wc-block-components-radio-control__input { width: 22px; height: 22px; border: 1px solid var(--np-color-border-strong); }
.np-checkout-page .wc-block-components-radio-control__input:checked { border-color: var(--np-color-brand-primary); }
.np-checkout-page .wc-block-components-radio-control__input:checked::before { background: var(--np-color-brand-primary); }
.np-checkout-page .wc-block-components-radio-control__input:focus-visible { outline: var(--np-focus-ring); outline-offset: 2px; }
.np-checkout-page .wc-block-components-radio-control__label, .np-checkout-page .wc-block-components-radio-control__label-group { font-size: var(--np-font-body-size); }
.np-checkout-page .wc-block-components-radio-control__secondary-label { color: var(--np-color-text-secondary); font-size: var(--np-font-body-small-size); }
.np-checkout-page .wc-block-components-radio-control__description, .np-checkout-page .wc-block-components-radio-control__secondary-description { color: var(--np-color-text-muted); font-size: var(--np-font-caption-size); }
.np-checkout-page .wc-block-components-radio-control-accordion-option, .np-checkout-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option { border-color: var(--np-color-border); border-radius: var(--np-radius-md); }
.np-checkout-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--np-color-brand-primary); }
.np-checkout-page .wc-block-components-radio-control-accordion-content { font-size: var(--np-font-body-small-size); color: var(--np-color-text-secondary); }
.np-checkout-page .wc-block-checkout__shipping-method .wc-block-checkout__shipping-method-option { min-height: var(--np-touch); border-radius: var(--np-radius-md); border-color: var(--np-color-border-strong); }
.np-checkout-page .wc-block-checkout__shipping-method .wc-block-checkout__shipping-method-option--selected { background: var(--np-color-brand-primary); border-color: var(--np-color-brand-primary); }
.np-checkout-page .wc-block-checkout__shipping-method .wc-block-checkout__shipping-method-option:focus-visible { outline: var(--np-focus-ring); outline-offset: 2px; }
.np-checkout-page .wc-block-checkout__payment-method .wc-block-components-notice-banner { margin: 0; }

/* order note, terms */
.np-checkout-page .wc-block-checkout__add-note .wc-block-components-checkbox__label { font-size: var(--np-font-body-size); }
.np-checkout-page .wc-block-checkout__terms { font-size: var(--np-font-body-small-size); line-height: var(--np-font-body-small-lh); color: var(--np-color-text-secondary); }
.np-checkout-page .wc-block-checkout__terms a { color: var(--np-color-brand-primary); }

/* place order */
.np-checkout-page .wc-block-checkout__actions { margin-top: var(--np-space-5); }
.np-checkout-page .wc-block-checkout__actions_row { align-items: center; gap: var(--np-space-3); }
.np-checkout-page .wc-block-components-checkout-place-order-button { min-height: 52px; min-width: 240px; font-size: var(--np-font-button-size); }
.np-checkout-page .wc-block-components-checkout-place-order-button--full-width { width: 100%; }

/* sidebar summary */
.np-checkout-page .wc-block-checkout__sidebar { background: var(--np-color-bg-surface); border: 1px solid var(--np-color-border); border-radius: var(--np-radius-lg); padding: var(--np-space-4); }
@media (min-width: 1025px) { .np-checkout-page .wc-block-checkout__sidebar { position: sticky; top: calc(var(--np-header-main-h-compact) + var(--np-header-nav-h-compact) + var(--np-space-4)); align-self: flex-start; } }
.np-checkout-page .wc-block-components-checkout-order-summary__title { padding: 0 0 var(--np-space-3); }
.np-checkout-page .wc-block-components-checkout-order-summary__title-text, .np-checkout-page .wp-block-woocommerce-checkout-order-summary-block > .wc-block-components-title { font-size: var(--np-font-h3-size); font-weight: 700; color: var(--np-color-neutral-900); }
.np-checkout-page .wc-block-components-order-summary-item { padding-block: var(--np-space-3); }
.np-checkout-page .wc-block-components-order-summary-item__image { width: 64px; }
.np-checkout-page .wc-block-components-order-summary-item__image img { border: 1px solid var(--np-color-border); border-radius: var(--np-radius-sm); background: var(--np-color-bg-surface); }
.np-checkout-page .wc-block-components-order-summary-item__quantity { background: var(--np-color-brand-navy); color: var(--np-color-text-inverse); border: 2px solid var(--np-color-bg-surface); box-shadow: none; font-weight: 700; }
/* Stage 70: a plugin wraps page content in div.product, so Woo's legacy `.woocommerce div.product .price { color: #958e09 }`
   (olive) reached the unit price in the order summary → neutral secondary text like the rest of the summary */
body.np-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-order-summary-item__individual-prices,
body.np-checkout-page .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-order-summary-item__individual-prices .wc-block-components-formatted-money-amount { color: var(--np-color-text-secondary); } /* (0,4,1) > Woo (0,3,2) */
.np-checkout-page .wc-block-components-order-summary-item__description { font-size: var(--np-font-body-small-size); }
.np-checkout-page .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-weight: 600; color: var(--np-color-neutral-900); }
.np-checkout-page .wc-block-components-order-summary-item__total-price { font-weight: 700; color: var(--np-color-neutral-900); }
.np-checkout-page .wc-block-components-order-summary-item .wc-block-components-product-metadata { font-size: var(--np-font-caption-size); color: var(--np-color-text-secondary); }
.np-checkout-page .wc-block-components-checkout-order-summary__content .wc-block-components-totals-wrapper { padding-inline: 0; }

/* mobile / tablet checkout: blocks stack themselves under 700px; between 700–1024 keep readable columns or stack */
@media (max-width: 1024px) {
  .np-checkout-page .wc-block-checkout__main, .np-checkout-page .wc-block-checkout__sidebar { flex-basis: 100%; }
  .np-checkout-page .wc-block-components-sidebar-layout { flex-direction: column; }
  .np-checkout-page .wc-block-checkout__sidebar { order: -1; margin-bottom: var(--np-space-4); }
  .np-checkout-page .wc-block-components-checkout-place-order-button { width: 100%; }
}
@media (max-width: 700px) {
  .np-checkout-page .wc-block-checkout__sidebar { padding: var(--np-space-3); }
  .np-checkout-page .wc-block-components-checkout-order-summary__button { min-height: var(--np-touch); }
}

/* ==========================================================================
   ORDER RECEIVED (thank-you) + MY ACCOUNT — light touch, native Woo markup
   ========================================================================== */
.np-order-received-page .woocommerce-thankyou-order-received, .np-order-received-page .wp-block-woocommerce-order-confirmation-status p { font-size: var(--np-font-h3-size); font-weight: 700; color: var(--np-color-success); }
.np-order-received-page .woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--np-space-3); list-style: none; margin: var(--np-space-4) 0; padding: var(--np-space-4); background: var(--np-color-bg-subtle); border-radius: var(--np-radius-md); font-size: var(--np-font-body-small-size); }
.np-order-received-page .woocommerce-order-overview li { border: 0; margin: 0; padding: 0; float: none; }
.np-order-received-page .woocommerce-order-overview strong { display: block; font-size: var(--np-font-body-size); color: var(--np-color-neutral-900); }
.np-order-received-page .woocommerce-order-details__title, .np-order-received-page .woocommerce-column__title, .np-order-received-page .wp-block-woocommerce-order-confirmation-summary h2 { font-size: var(--np-font-h3-size); font-weight: 700; color: var(--np-color-neutral-900); margin: var(--np-space-5) 0 var(--np-space-3); }
.np-order-received-page table.shop_table { border: 1px solid var(--np-color-border); border-radius: var(--np-radius-md); border-collapse: separate; font-size: var(--np-font-body-small-size); }
.np-order-received-page table.shop_table th, .np-order-received-page table.shop_table td { border-color: var(--np-color-border); padding: var(--np-space-3); }
.np-order-received-page .woocommerce-customer-details address { border: 1px solid var(--np-color-border); border-radius: var(--np-radius-md); padding: var(--np-space-3); font-style: normal; font-size: var(--np-font-body-small-size); }
.np-account-page .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.np-account-page .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: var(--np-touch); padding: 0 var(--np-space-3); border-radius: var(--np-radius-md); color: var(--np-color-text); text-decoration: none; }
.np-account-page .woocommerce-MyAccount-navigation .is-active a, .np-account-page .woocommerce-MyAccount-navigation a:hover { background: var(--np-color-brand-primary-soft); color: var(--np-color-brand-primary); }
.np-account-page .woocommerce-form-login, .np-account-page .woocommerce-form-register { border: 1px solid var(--np-color-border); border-radius: var(--np-radius-lg); padding: var(--np-space-5); max-width: 520px; }
.np-account-page .woocommerce-form-login .woocommerce-Input, .np-account-page .woocommerce-form-register .woocommerce-Input { min-height: 48px; border: 1px solid var(--np-color-border-strong); border-radius: var(--np-radius-md); padding: 0 var(--np-space-3); font-family: var(--np-font-family); }
.np-account-page .woocommerce-form-login .button, .np-account-page .woocommerce-form-register .button, .np-account-page .woocommerce-Button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--np-touch); padding: 0 24px; border-radius: var(--np-radius-md); background: var(--np-color-brand-primary); color: var(--np-color-text-inverse); font-family: var(--np-font-family); font-weight: var(--np-font-button-weight); border: 0; }

@media (prefers-reduced-motion: reduce) { .np-commerce .wc-block-components-button:not(.is-link) { transition: none; } }
