body.home #main-menu.mfp-hide{display:none!important}

/* Contain accidental horizontal overflow while preserving vertical scrolling. */
@supports (overflow-x:clip) { html:has(body.home), body.home { overflow-x:clip; } }

/* Scoped theme rules do not style their own scope root. Restore the popup
   roots themselves while leaving unrelated front-page elements isolated. */
body.home .mfp-bg { position:fixed; inset:0; width:100%; height:100%; overflow:hidden; z-index:1042; background:#0b0b0b; opacity:0; transition:opacity .25s; }
body.home .mfp-bg.mfp-ready { opacity:.6; }
body.home .mfp-bg.mfp-removing { opacity:0!important; }
body.home .mfp-wrap { position:fixed; inset:0; width:100%; height:100%; z-index:1043; outline:none!important; -webkit-backface-visibility:hidden; }
@media (prefers-reduced-motion:reduce) { body.home .mfp-bg { transition:none; } }

/* A scope root cannot satisfy ancestor selectors inside its own @scope.
   Define the popup shell outside that scope, only for the isolated homepage. */
body.home .mfp-wrap { overflow-x:hidden; overflow-y:auto; }
body.home .mfp-wrap .mfp-container { position:absolute; inset:0; width:100%; height:100%; box-sizing:border-box; padding:30px; text-align:center; }
body.home .mfp-wrap .mfp-container::before { content:""; display:inline-block; height:100%; vertical-align:middle; }
body.home .mfp-wrap.mfp-align-top .mfp-container::before { display:none; }
body.home .mfp-wrap .mfp-content { position:relative; z-index:1045; display:inline-block; width:100%; max-width:100%; margin:0 auto; text-align:left; vertical-align:middle; opacity:0; transform:translateY(-30px); transition:transform .5s,opacity .3s; }
body.home .mfp-wrap.mfp-ready .mfp-content { opacity:1; transform:translateY(0); }
body.home .mfp-wrap.mfp-removing .mfp-content { opacity:0; }
body.home .mfp-wrap .product-lightbox { width:100%; max-width:100%; }
body.home .mfp-wrap .product-quick-view-container { width:100%; max-width:100%; }
@media (max-width:767px) { body.home .mfp-wrap .mfp-container { padding:16px; } }
@media (prefers-reduced-motion:reduce) { body.home .mfp-wrap .mfp-content { transition:none; } }
