/* Full Website single product route only. Zero effect when setting is disabled. */
.ef-store .efs-mobile-product-actions{display:none}
@media(max-width:760px){
 .ef-store.efs-product-page:has(> .efs-mobile-product-actions) {--efs-sticky-bar-space:84px;padding-bottom:var(--efs-sticky-bar-space)!important}
 .ef-store .efs-mobile-product-actions.efs-sticky-ready{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:9970;box-sizing:border-box;min-height:70px;padding:8px max(12px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));background:#fff;box-shadow:0 -7px 24px rgba(17,38,51,.13);border-top:1px solid #e5e9ef}
 .ef-store .efs-mobile-product-actions button{min-width:0;min-height:48px;height:48px;border:0;border-radius:8px;font-weight:700;font-size:14px;cursor:pointer}
 .ef-store .efs-mobile-product-actions .efs-sticky-add{background:var(--efs-sticky-add-bg,var(--efs-accent))!important;color:var(--efs-sticky-add-text,#fff)!important}
 .ef-store .efs-mobile-product-actions .efs-sticky-buy{background:var(--efs-sticky-buy-bg,var(--efs-accent))!important;color:var(--efs-sticky-buy-text,#fff)!important}
 .ef-store .efs-mobile-product-actions button:disabled{opacity:.48;cursor:not-allowed}
 .ef-store.efs-product-page:has(.efs-mobile-product-actions.efs-sticky-ready) .efs-floating-cart{bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
 .ef-store.efs-product-page:has(.efs-mobile-product-actions.efs-sticky-ready) .efs-floating-chat,.ef-store.efs-product-page:has(.efs-mobile-product-actions.efs-sticky-ready) .efs-floating-whatsapp{bottom:calc(154px + env(safe-area-inset-bottom,0px))!important}
}

/* Optional: hide only the normal inline purchase buttons on mobile product pages.
   Keep these original buttons in the DOM for existing variation validation and click actions. */
@media(max-width:760px){
 .ef-store.efs-product-page.efs-mobile-hide-inline-actions .efs-product-page-panel .efs-buy-buttons{display:none!important}
}

/* v8.3.124: Promote sticky actions above the existing promotional notification.
   CSS applies before JS hydration, so there is no bottom-position flash on load.
   Promo bar lives outside .ef-store, therefore match it from html. */
@media(max-width:760px){
 html:not(.ef-promo-dismissed):has(.ef-promo-widget:not([hidden]) > .ef-promo-bar) .ef-store.efs-product-page .efs-mobile-product-actions.efs-sticky-ready{
  bottom:var(--efs-product-notification-height,62px)!important;
 }
 html:not(.ef-promo-dismissed):has(.ef-promo-widget:not([hidden]) > .ef-promo-bar) .ef-store.efs-product-page:has(.efs-mobile-product-actions.efs-sticky-ready) .efs-floating-cart{
  bottom:calc(86px + var(--efs-product-notification-height,62px) + env(safe-area-inset-bottom,0px))!important;
 }
 html:not(.ef-promo-dismissed):has(.ef-promo-widget:not([hidden]) > .ef-promo-bar) .ef-store.efs-product-page:has(.efs-mobile-product-actions.efs-sticky-ready) .efs-floating-chat,
 html:not(.ef-promo-dismissed):has(.ef-promo-widget:not([hidden]) > .ef-promo-bar) .ef-store.efs-product-page:has(.efs-mobile-product-actions.efs-sticky-ready) .efs-floating-whatsapp{
  bottom:calc(154px + var(--efs-product-notification-height,62px) + env(safe-area-inset-bottom,0px))!important;
 }
 /* Avoid content overlap at the end of the page; fixed actions stay outside flow. */
 html:not(.ef-promo-dismissed):has(.ef-promo-widget:not([hidden]) > .ef-promo-bar) .ef-store.efs-product-page:has(> .efs-mobile-product-actions){
  --efs-sticky-bar-space:calc(84px + var(--efs-product-notification-height,62px));
 }
}
