/* ZEROOCLOCK_PETS_SEARCH_OVERLAY_STACK_V1_4_3
 * The AJAX search is the top interactive layer, above Pets main nav and mega.
 * Fix the stacking CONTEXT (search form is isolated), not only the dropdown z-index.
 * Pets header only; other header layouts and templates are unchanged.
 */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome > .lsf-shell.lsf-nav{
  overflow:visible!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome .lsf-pets-search-v130{
  position:relative!important;
  z-index:22000!important;
  isolation:isolate!important;
  overflow:visible!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome .lsf-pets-menu-v130{
  position:relative!important;
  z-index:10!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome .lsf-pets-search-v130 > .lsf-pets-search-results-v130{
  position:absolute!important;
  z-index:22001!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome .lsf-pets-search-v130 > .lsf-pets-search-results-v130[hidden]{
  display:none!important;
  pointer-events:none!important;
}
/* The hovered mega must not intercept the pointer behind an open live-results panel.
   Restores automatically when the AJAX engine sets hidden on the results element. */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome:has(.lsf-pets-search-v130 > .lsf-pets-search-results-v130:not([hidden])) .lsf-pets-menu-v130 > .lsf-menu-item > .lsf-pets-mega-v130{
  pointer-events:none!important;
  visibility:hidden!important;
}
/* On compact/mobile widths the v1.4.2 fixed dropdown geometry remains authoritative. */
@media(max-width:980px){
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome .lsf-pets-menu-v130{display:none!important}
}
