/** (PREGNORF ✅) DMXReady Factory — Commerce Surface System Lock
 * Sprint 10: align strict Woo routes, governed product surfaces, and catalog routes with one visual contract.
 */
body.dmxr4-strict-woo-surface,
body.dmxr4-catalog-surface,
body.dmxr4-governed-commerce-product{background:linear-gradient(180deg,#f7f8fc 0px,#ffffff 172px,#f7f8fc 100%) !important;color:#0f172a !important;}
body.dmxr4-strict-woo-surface .dmxr-shell-main,
body.dmxr4-catalog-surface .site-main,
body.dmxr4-governed-commerce-product .dmxr-shell-main{width:100%;max-width:none;overflow-x:clip;}
body.dmxr4-strict-woo-surface .dmxr4-commerce-document__inner,
body.dmxr4-catalog-surface .content-container,
body.dmxr4-catalog-surface .woocommerce-breadcrumb,
body.dmxr4-catalog-surface .woocommerce-products-header,
body.dmxr4-governed-commerce-product .dmxr4-commerce-product-shell{width:min(var(--dmxr-contract-frame-max,1180px),calc(100% - 32px));max-width:100%;margin-left:auto;margin-right:auto;}
body.dmxr4-strict-woo-surface .dmxr4-commerce-document__content{display:grid;gap:18px;}
body.dmxr4-strict-woo-surface .dmxr4-commerce-document__inner{padding-top:6px;}
body.dmxr4-strict-woo-surface .woocommerce-breadcrumb{display:none !important;}
body.dmxr4-strict-woo-surface :is(.shop_table,.cart_totals,.woocommerce-checkout-review-order-table,.woocommerce-form-login,.woocommerce-form-coupon,.woocommerce-MyAccount-content,.woocommerce-Addresses,.woocommerce-orders-table,.woocommerce-message,.woocommerce-info,.woocommerce-error),
body.dmxr4-catalog-surface :is(.products .product,.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-ordering),
body.dmxr4-governed-commerce-product :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border:1px solid rgba(148,163,184,.18);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.98));box-shadow:0 14px 34px rgba(15,23,42,.08);}
body.dmxr4-strict-woo-surface :is(.shop_table,.cart_totals,.woocommerce-checkout-review-order-table,.woocommerce-form-login,.woocommerce-form-coupon,.woocommerce-MyAccount-content,.woocommerce-Addresses,.woocommerce-orders-table),
body.dmxr4-catalog-surface :is(.products .product,.woocommerce-ordering){padding:18px 20px;}
body.dmxr4-strict-woo-surface :is(.shop_table,.woocommerce-checkout-review-order-table,.woocommerce-orders-table),
body.dmxr4-catalog-surface ul.products,
body.dmxr4-catalog-surface .products{width:100%;border-collapse:separate;border-spacing:0;}
body.dmxr4-strict-woo-surface :is(.shop_table th,.shop_table td,.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td,.woocommerce-orders-table th,.woocommerce-orders-table td){border-color:rgba(148,163,184,.18);padding:14px 12px;color:#0f172a;}
body.dmxr4-strict-woo-surface :is(.button,.button.alt,button, input[type=submit], .wp-element-button),
body.dmxr4-catalog-surface :is(.button,.button.alt,button, input[type=submit], .wp-element-button){min-height:46px;border-radius:16px !important;border:1px solid transparent !important;background:linear-gradient(135deg,#ff2d55,#ff4d78) !important;color:#fff !important;font-weight:800 !important;box-shadow:0 16px 34px rgba(255,45,85,.18);}
body.dmxr4-strict-woo-surface :is(.button:hover,.button.alt:hover,button:hover,input[type=submit]:hover,.wp-element-button:hover),
body.dmxr4-catalog-surface :is(.button:hover,.button.alt:hover,button:hover,input[type=submit]:hover,.wp-element-button:hover){filter:brightness(1.02);transform:translateY(-1px);}
body.dmxr4-strict-woo-surface :is(input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],textarea,select),
body.dmxr4-catalog-surface :is(select,.orderby),
body.dmxr4-governed-commerce-product :is(input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],textarea,select){min-height:48px;border-radius:16px !important;border:1px solid rgba(15,23,42,.12) !important;background:#fff !important;color:#0f172a !important;box-shadow:none !important;}
body.dmxr4-strict-woo-surface .woocommerce-MyAccount-navigation ul{display:grid;gap:10px;list-style:none;margin:0;padding:0;}
body.dmxr4-strict-woo-surface .woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:16px;background:rgba(248,250,252,.96);border:1px solid rgba(148,163,184,.18);color:#0f172a;text-decoration:none;font-weight:700;}
body.dmxr4-strict-woo-surface .woocommerce-MyAccount-navigation .is-active a{background:linear-gradient(135deg,#ff2d55,#ff4d78);border-color:transparent;color:#fff;}
body.dmxr4-catalog-surface ul.products{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0 0;padding:0;list-style:none;}
body.dmxr4-catalog-surface ul.products li.product{width:100% !important;float:none !important;margin:0 !important;display:grid;gap:12px;align-content:start;border-radius:24px;}
body.dmxr4-catalog-surface ul.products li.product .woocommerce-loop-product__title{margin:0;color:#0b1220;font-size:clamp(20px,2vw,24px);line-height:1.1;font-weight:850;}
body.dmxr4-catalog-surface ul.products li.product img{border-radius:18px;background:linear-gradient(180deg,#eef3ff,#fff);border:1px solid rgba(15,23,42,.06);}
body.dmxr4-catalog-surface .woocommerce-ordering{display:flex;justify-content:flex-end;align-items:center;min-height:64px;}
body.dmxr4-catalog-surface .woocommerce-result-count{color:#475569;font-weight:700;}
body.dmxr4-strict-woo-surface .woocommerce-notices-wrapper:empty{display:none;}
body.dmxr4-strict-woo-surface .cart-collaterals,
body.dmxr4-strict-woo-surface .checkout,
body.dmxr4-strict-woo-surface .woocommerce-MyAccount-content{margin-top:0;}
@media (max-width:1024px){body.dmxr4-catalog-surface ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:782px){body.dmxr4-strict-woo-surface .dmxr4-commerce-document__inner,body.dmxr4-catalog-surface .content-container,body.dmxr4-governed-commerce-product .dmxr4-commerce-product-shell{width:min(100% - 20px,var(--dmxr-contract-frame-max,1180px));}body.dmxr4-catalog-surface ul.products{grid-template-columns:1fr;}body.dmxr4-strict-woo-surface :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content){width:100%;}body.dmxr4-strict-woo-surface .woocommerce-account .woocommerce{display:grid;gap:16px;}}
