/* EZCatalog v0.9.11.6. Single mobile purchase CTA; scoped to own V2 markup. */
body.single-product .ezcat-universal-product,
body.single-product .ezcat-universal-product *{box-sizing:border-box}
body.single-product .ezcat-universal-product{max-width:100%;min-width:0;--ezcat-mobile-bottom-offset:0px;overflow-wrap:break-word}
body.single-product .ezcat-universal-product :is(.ezcat-classic-product-columns,.ezcat-pro-product-columns,.ezcat-pro2-product-layout) > *{min-width:0}
body.single-product .ezcat-universal-product :is(.woocommerce-product-gallery,.ezcat-classic-product-gallery,.ezcat-pro-gallery-panel,.ezcat-pro2-gallery-panel){max-width:100%;min-width:0}
body.single-product .ezcat-universal-product :is(.woocommerce-product-gallery,.ezcat-classic-product-gallery,.ezcat-pro-gallery-panel,.ezcat-pro2-gallery-panel) img{max-width:100%;height:auto;object-fit:contain}
/* Without a working shortcode bridge, never leave an enabled fake order button. */
body.single-product .ezcat-universal-product:not(.ezcat-compat-ready) :is(
  .ezcat-classic-product-cta,.ezcat-pro-order-actions,.ezcat-pro2-product-actions,
  .ezcat-classic-product-sticky,.ezcat-pro-mobile-order-bar,.ezcat-pro2-sticky-order
){display:none!important}
body.single-product .ezcat-universal-product:not(.ezcat-compat-ready) :is(
  .ezcat-classic-commerce-bridge,.ezcat-pro-commerce-bridge,.ezcat-pro2-commerce-bridge
){display:none!important}
body.single-product .ezcat-universal-product .ezcat-native-fallback[hidden],
body.single-product .ezcat-universal-product.ezcat-compat-ready .ezcat-native-fallback{display:none!important}
body.single-product .ezcat-universal-product .ezcat-native-fallback{display:block!important;max-width:760px;margin:22px auto;padding:0;border:1px solid #dce3eb;border-radius:12px;background:#fff;color:#1f2937}
body.single-product .ezcat-universal-product .ezcat-native-fallback>summary{cursor:pointer;padding:14px 16px;font-size:14px;font-weight:650;line-height:1.5}
body.single-product .ezcat-universal-product .ezcat-native-fallback-body{padding:4px 16px 16px}
body.single-product .ezcat-universal-product .ezcat-native-fallback p{font-size:14px;margin:0 0 15px}
/* A third-party hook may re-inject a native Woo cart form in the product summary.
   Never show this parallel purchase path after the validated EZCatalog bridge is ready. */
body.single-product .ezcat-universal-product.ezcat-compat-ready :is(.ezcat-classic-woo-summary,.ezcat-pro-product-summary,.ezcat-pro2-summary) form.cart{display:none!important}
body.single-product .ezcat-universal-product.ezcat-compat-ready .ezcat-native-unavailable{display:none!important}
body.single-product .ezcat-universal-product .ezcat-native-fallback form.cart{display:flex!important;flex-wrap:wrap;gap:10px;align-items:flex-start;visibility:visible!important;opacity:1!important}
body.single-product .ezcat-universal-product .ezcat-native-fallback form.variations_form{display:block!important}
body.single-product .ezcat-universal-product .ezcat-native-fallback .variations{width:100%}
body.single-product .ezcat-universal-product .ezcat-native-fallback .single_add_to_cart_button{display:inline-flex!important;min-height:44px;align-items:center;justify-content:center}
body.single-product .ezcat-universal-product .ezcat-compat-status{max-width:760px;margin:12px auto;padding:12px;border-radius:10px;background:#fff6ed;color:#85400d;font-size:14px}
body.single-product .ezcat-universal-product .ezcat-compat-status[hidden]{display:none!important}
@media(max-width:767px){
 /* The sticky bar is the *only* primary purchase action on mobile when enabled. */
 body.single-product .ezcat-universal-product.ezcat-compat-ready[data-ezcat-sticky="1"] :is(.ezcat-classic-product-cta,.ezcat-pro-order-actions,.ezcat-pro2-product-actions){display:none!important}
 /* If sticky is disabled in admin, restore exactly one inline action row.
    The older theme CSS hid it regardless of the toggle, leaving no CTA. */
 body.single-product .ezcat-universal-product.ezcat-compat-ready[data-ezcat-sticky="0"] :is(.ezcat-classic-product-cta,.ezcat-pro-order-actions,.ezcat-pro2-product-actions){display:flex!important;flex-wrap:wrap;gap:10px}
 body.single-product .ezcat-universal-product.ezcat-compat-ready.ezcat-compat-checkout-open :is(.ezcat-classic-product-cta,.ezcat-pro-order-actions,.ezcat-pro2-product-actions){display:none!important}
 body.single-product .ezcat-universal-product.ezcat-compat-ready[data-ezcat-sticky="0"] :is(.ezcat-classic-product-sticky,.ezcat-pro-mobile-order-bar,.ezcat-pro2-sticky-order){display:none!important}
 body.single-product .ezcat-universal-product.ezcat-compat-ready[data-ezcat-sticky="1"] :is(.ezcat-classic-product-sticky,.ezcat-pro-mobile-order-bar,.ezcat-pro2-sticky-order){bottom:var(--ezcat-mobile-bottom-offset,0px)!important}
 body.single-product .ezcat-universal-product.ezcat-compat-ready.ezcat-compat-checkout-open :is(.ezcat-classic-product-sticky,.ezcat-pro-mobile-order-bar,.ezcat-pro2-sticky-order){display:none!important}
 body.single-product .ezcat-universal-product.ezcat-compat-ready[data-ezcat-sticky="1"]:not(.ezcat-compat-checkout-open){padding-bottom:calc(95px + var(--ezcat-mobile-bottom-offset,0px) + env(safe-area-inset-bottom,0px))!important}
 body.single-product .ezcat-universal-product :is(.ezcat-classic-product-detail,.ezcat-pro-summary-column,.ezcat-pro2-product-info){min-width:0;max-width:100%}
 body.single-product .ezcat-universal-product :is(.ezcat-classic-woo-summary,.ezcat-pro-product-summary,.ezcat-pro2-summary){min-width:0;max-width:100%;overflow-wrap:anywhere}
 body.single-product .ezcat-universal-product :is(.woocommerce-product-gallery,.ezcat-classic-product-gallery,.ezcat-pro-gallery-panel,.ezcat-pro2-gallery-panel) img{width:auto;max-width:100%;height:auto!important;object-fit:contain!important}
 body.single-product .ezcat-universal-product .ezcat-native-fallback{margin:12px;max-width:calc(100% - 24px);padding:14px}
 body.single-product .ezcat-universal-product .ezcat-native-fallback form.cart :is(select,input){max-width:100%;min-height:42px}
}
@media(prefers-reduced-motion:reduce){body.single-product .ezcat-universal-product{scroll-behavior:auto}}
