/* Shared commerce surfaces and navigation retain the corporate visual system. */
.nd-commerce-site { --nd-ink: #171a21; --nd-muted: #565d68; --nd-line: #e4e6e9; }
.nd-commerce-site .wp-site-blocks { padding: 0; }
.nd-commerce-site .nd-proof-shell { --nd-gutter: clamp(1.25rem, 4.5vw, 4rem); min-height: 100svh; }
.nd-commerce-site :where(.nd-shop,.nd-product-page,.nd-commerce-forms) { margin-block: 0; }
.nd-shop-header .nd-header-inner { gap: clamp(.75rem, 2vw, 2rem); }
.nd-shop-header .wp-block-navigation { margin-left: auto; }
.nd-shop-header .nd-shop-utilities { display: flex; align-items: center; gap: .25rem; margin: 0; }
.nd-shop-header :where(.wp-block-woocommerce-customer-account a,.wc-block-mini-cart__button,.nd-header-search .wp-block-search__button) { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .5rem; color: var(--nd-ink); border: 0; border-radius: 50%; background: transparent; }
.nd-shop-header :where(.wp-block-woocommerce-customer-account a,.wc-block-mini-cart__button):hover { background: #fff3f1; color: var(--wp--preset--color--brand-text); }
.nd-shop-header .wc-block-mini-cart__badge { font-size: .6875rem; }
.nd-commerce-site :where(.wc-block-mini-cart__drawer,.wc-block-components-drawer) { font-family: var(--wp--preset--font-family--sans); color: var(--nd-ink); }
.nd-commerce-site .wc-block-mini-cart__drawer img { object-fit: contain; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-cart-item__image a { display: flex; align-items: center; justify-content: center; width: 80px; height: 88px; background: #fafafa; border: 1px solid var(--nd-line); border-radius: 8px; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-cart-item__image img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; padding: .35rem; box-sizing: border-box; object-fit: contain; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-product-name { color: var(--nd-ink); font-size: 1rem; font-weight: 600; line-height: 1.45; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-product-metadata { color: var(--nd-muted); font-size: .8125rem; line-height: 1.5; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-cart-item__quantity { margin-top: .875rem; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector { width: 136px; min-height: 44px; border-radius: 8px; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { position: relative; min-width: 44px; min-height: 44px; color: var(--nd-ink); opacity: 1; font-size: 0; }
/* Native fullwidth signs need font-independent decorative strokes. */
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button::before,
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); pointer-events: none; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled) { background: #fff3f1; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled { opacity: .4; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector__input { min-height: 44px; font-size: 1rem; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-cart-item__remove-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--nd-muted); font-size: .8125rem; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-quantity-selector :where(button,input):focus-visible { outline: 2px solid #b72c25; outline-offset: 3px; }
.nd-commerce-site .wc-block-mini-cart__drawer .wc-block-components-button { min-height: 48px; border-radius: 8px; font-size: .9375rem; font-weight: 600; }
.nd-commerce-site .wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block { background: #b72c25; color: #fff; }
.nd-commerce-site :where(.woocommerce-message,.woocommerce-info,.woocommerce-error) { border-radius: 10px; font-size: .9375rem; line-height: 1.6; }
.nd-commerce-site :where(.woocommerce-breadcrumb,.wc-block-breadcrumbs) { font-size: .8125rem; line-height: 1.6; color: var(--nd-muted); }
.nd-commerce-site .nd-proof-footer { background: #faf9f8; }
@media (max-width: 767px) {
  .nd-shop-header .nd-logo { width: 145px; }
  .nd-shop-header .nd-header-inner { gap: .5rem; }
  .nd-shop-header .nd-shop-utilities { gap: 0; }
  .nd-shop-header .nd-header-search { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-commerce-site .woocommerce-product-gallery .woocommerce-product-gallery__wrapper { transition: none !important; }
}
