/* ZEROOCLOCK_INDEPENDENT_NAV_MEGAMENU_MODELS_V1_4_15
   Submenu rendering and styling are driven by lsf_submenu_layout, not lsf_nav_layout.
   Original Pets+Pets styling is not touched; these verified model styles are applied
   only when another nav model is selected with Pets mega.
 */
@media(min-width:981px){
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome)>.lsf-shell.lsf-nav{
   position:relative!important;overflow:visible!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu{
   overflow:visible!important;position:relative!important;
 }
}

/* ZEROOCLOCK_PETS_MEGA_COLUMNS_V1_3_0
 * Three-column Pets mega menu: category list, contextual child links, dynamic preview image.
 * The panel width is intentionally close to the reference (~85% of viewport width).
 */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu-item{position:static!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu>.lsf-menu-item.has-children>.lsf-pets-mega-v130{
  display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);
  width:min(85vw,1640px)!important;max-width:1640px!important;min-width:980px!important;
  margin-top:0!important;background:#fff!important;color:#14392f!important;
  border-radius:0 0 18px 18px!important;border:1px solid #dce7df!important;border-top:0!important;
  box-shadow:0 22px 54px rgba(0,22,18,.18)!important;z-index:1100!important;
  overflow:hidden!important;direction:ltr!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu>.lsf-menu-item.has-children:hover>.lsf-pets-mega-v130,
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu>.lsf-menu-item.has-children:focus-within>.lsf-pets-mega-v130{display:grid!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130{
  grid-template-columns:minmax(220px,29%) minmax(300px,36%) minmax(260px,35%);align-items:stretch;min-height:420px;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branches-v130{
  background:#fff!important;border-right:1px solid #e4ebe6!important;padding:22px 0!important;overflow:auto!important;direction:rtl!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130{
  width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  padding:14px 24px!important;border:0!important;border-inline-start:4px solid transparent!important;border-inline-end:0!important;
  background:transparent!important;color:#173d33!important;cursor:pointer!important;text-align:right!important;font:inherit!important;font-size:18px!important;line-height:1.45!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130 span{pointer-events:none!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130 [aria-hidden="true"]{font-size:21px!important;line-height:1!important;color:#173d33!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130[aria-selected="true"],
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130:is(:hover,:focus-visible){
  background:#f5f8f6!important;border-inline-start-color:#00a736!important;color:#0f3028!important;font-weight:800!important;outline:0!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-panels-v130{padding:28px 30px!important;overflow:auto!important;direction:rtl!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-panels-v130 [hidden]{display:none!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-panel-v130{margin:0!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-panel-body-v130{display:flex!important;flex-direction:column!important;gap:22px!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-panel-all-v130{
  display:inline-flex!important;align-items:center!important;gap:8px!important;width:fit-content!important;
  color:#12392f!important;text-decoration:none!important;font-size:16px!important;font-weight:800!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-panel-all-v130:hover{text-decoration:underline!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-links-groups-v130{display:flex!important;flex-direction:column!important;gap:18px!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-group-v130{display:flex!important;flex-direction:column!important;gap:10px!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-title-v130,
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-title-v130 a,
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-row-v130,
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-row-v130 a{
  color:#173d33!important;text-decoration:none!important;font-size:15px!important;line-height:1.5!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-title-v130,
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-title-v130 a{font-weight:800!important;font-size:17px!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-row-v130:is(:hover,:focus-within) a,
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-title-v130 a:hover,
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-row-v130 a:hover{color:#006d3f!important;text-decoration:underline!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-link-children-v130{
  display:flex!important;flex-direction:column!important;gap:8px!important;padding-inline-start:18px!important;border-inline-start:1px solid #e1e8e3!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-v130{
  background:#fff!important;border-left:1px solid #e4ebe6!important;padding:28px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:14px!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-link-v130{
  display:flex!important;flex-direction:column!important;gap:14px!important;color:#173d33!important;text-decoration:none!important;height:100%!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-media-v130{
  width:100%!important;aspect-ratio:4/4.2!important;border-radius:12px!important;background:#f4f7f5!important;overflow:hidden!important;display:grid!important;place-items:center!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-media-v130.is-empty{border:1px dashed #d6e0da!important;color:#6b7d78!important;background:#f8faf9!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-image-v130{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-caption-v130{
  font-size:18px!important;font-weight:800!important;line-height:1.4!important;color:#12392f!important;text-align:right!important;direction:rtl!important;
}
@media(max-width:1280px){
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu>.lsf-menu-item.has-children>.lsf-pets-mega-v130{width:min(88vw,1440px)!important;min-width:920px!important}
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130{grid-template-columns:minmax(210px,28%) minmax(280px,37%) minmax(240px,35%)}
}
@media(max-width:980px){
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu>.lsf-menu-item.has-children>.lsf-pets-mega-v130{display:none!important}
}

/* ZEROOCLOCK_PETS_MEGA_COLUMNS_SWAP_V1_4_4
 * Swap left/right columns in Pets mega menu while keeping the center column unchanged.
 * Right column = category list, center = panel links, left = preview image.
 * Also flips the category chevron direction for RTL reading.
 */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130{
  grid-template-columns:minmax(260px,35%) minmax(300px,36%) minmax(220px,29%)!important;
}
/* DOM order is branches, panels, preview. Put them on: 3,2,1 */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branches-v130{
  grid-column:3!important;
  border-right:0!important;
  border-left:1px solid #e4ebe6!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-panels-v130{
  grid-column:2!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-v130{
  grid-column:1!important;
  border-left:0!important;
  border-right:1px solid #e4ebe6!important;
}
/* Active stripe should hug the inner divider of the right-side category column */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130{
  border-inline-start:0!important;
  border-inline-end:4px solid transparent!important;
}
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130[aria-selected="true"],
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130:is(:hover,:focus-visible){
  border-inline-end-color:#00a736!important;
  border-inline-start-color:transparent!important;
}
/* Flip the category chevron direction for RTL semantics */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-branch-v130 [aria-hidden="true"]{
  transform:scaleX(-1)!important;
  transform-origin:center!important;
}
/* The preview caption should still align naturally on the left preview card */
html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-preview-caption-v130{
  text-align:right!important;
}
@media(max-width:1280px){
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130{
    grid-template-columns:minmax(240px,35%) minmax(280px,37%) minmax(210px,28%)!important;
  }
}
@media(max-width:980px){
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130{
    grid-template-columns:1fr!important;
  }
}

/* ZEROOCLOCK_PETS_MEGA_SINGLE_ROW_V1_4_5
   v1.4.4 assigned grid-column 3,2,1 in source DOM order, but left grid-row on auto.
   CSS Grid's auto-placement then moved the second and third items to new rows.
   Explicitly pin all three direct columns to row 1, preserving the v1.4.4 swap.
   Scope: desktop Pets at Home mega menu only. */
@media (min-width:981px){
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu > .lsf-menu-item.has-children > .lsf-pets-mega-v130{
    grid-template-rows:minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  /* right: category list */
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130 > .lsf-pets-branches-v130{
    grid-column:3 / 4!important;
    grid-row:1 / 2!important;
    min-width:0!important;
    align-self:stretch!important;
  }
  /* middle: selected category's subcategories */
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130 > .lsf-pets-panels-v130{
    grid-column:2 / 3!important;
    grid-row:1 / 2!important;
    min-width:0!important;
    align-self:stretch!important;
  }
  /* left: active category image, on the SAME grid row */
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-pets-mega-v130 > .lsf-pets-preview-v130{
    grid-column:1 / 2!important;
    grid-row:1 / 2!important;
    min-width:0!important;
    align-self:stretch!important;
  }
}

/* Positioning overrides are independent of which header preset is selected.
   Runtime calculates precise viewport centering, these serve as safe defaults. */
@media(min-width:981px){
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu>.lsf-menu-item.has-children>.lsf-pets-mega-v130{
   left:50%!important;right:auto!important;top:100%!important;
   width:85vw!important;max-width:calc(100vw - 24px)!important;min-width:0!important;
   transform:translateX(-50%)!important;box-sizing:border-box!important;z-index:2147483000!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome) .lsf-menu>.lsf-menu-item.has-children.zoc-independent-mega-open-v1415>.lsf-pets-mega-v130{
   display:grid!important;visibility:visible!important;pointer-events:auto!important;opacity:1!important;
 }
 /* Legacy Pets nav CSS pins every .lsf-menu-item static; restore correct generic panels
    when Pets header is combined with a different mega model. */
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome:not(.lsf-submenu-layout-petsathome_columns):not(.lsf-submenu-layout-taj_gold_showcase) .lsf-menu>.lsf-menu-item.has-children{
   position:relative!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-petsathome:not(.lsf-submenu-layout-petsathome_columns):not(.lsf-submenu-layout-taj_gold_showcase) .lsf-menu>.lsf-menu-item.has-children>.lsf-mega{
   max-width:min(92vw,1180px)!important;
 }
 /* Cross-model submenu readability must follow submenu's own saved theme. */
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-ivory_panel .lsf-mega,
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-ivory_panel .lsf-mega-grid>a{
   background:#fff7e8!important;color:#15110a!important;-webkit-text-fill-color:#15110a!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-dark_panel .lsf-mega{
   background:#05070a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-dark_panel .lsf-mega-grid>a{
   color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
}
@media(max-width:980px){
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns .lsf-menu .lsf-pets-mega-v130{
   display:none!important;
 }
}

/* Generic presets also own their surfaces. In particular Apple header CSS otherwise
   forces its own RGBA, text colors and transparent link cards onto every mega model. */
@media(min-width:981px){
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header:not(.lsf-submenu-layout-petsathome_columns):not(.lsf-submenu-layout-taj_gold_showcase) .lsf-menu>.lsf-menu-item.has-children>.lsf-mega{
   color:var(--lsf-text,#fff)!important;
   -webkit-text-fill-color:var(--lsf-text,#fff)!important;
   background:var(--lsf-surface,#0f172a)!important;
   border-color:color-mix(in srgb,var(--lsf-primary,#d8a642) 24%,transparent)!important;
   backdrop-filter:none!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header:not(.lsf-submenu-layout-petsathome_columns):not(.lsf-submenu-layout-taj_gold_showcase) .lsf-mega a,
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header:not(.lsf-submenu-layout-petsathome_columns):not(.lsf-submenu-layout-taj_gold_showcase) .lsf-mega strong{
   color:inherit!important;
   -webkit-text-fill-color:currentColor!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-mega_glass_grid .lsf-menu-item>.lsf-mega{
   background:color-mix(in srgb,var(--lsf-surface,#0f172a) 90%,transparent)!important;
   backdrop-filter:blur(16px)!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-dark_panel .lsf-menu-item>.lsf-mega{
   background:#05070a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-ivory_panel .lsf-menu-item>.lsf-mega{
   background:#fff7e8!important;color:#15110a!important;-webkit-text-fill-color:#15110a!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-ivory_panel .lsf-mega-grid>a{
   background:#f3e8d2!important;color:#15110a!important;-webkit-text-fill-color:#15110a!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-golden_cards .lsf-mega-grid>a{
   background:linear-gradient(135deg,color-mix(in srgb,var(--lsf-primary,#d8a642) 15%,var(--lsf-bg,#0f172a)),var(--lsf-surface,#0f172a))!important;
   border:1px solid color-mix(in srgb,var(--lsf-primary,#d8a642) 32%,transparent)!important;
 }
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-pill_columns .lsf-mega-grid>a{
   background:color-mix(in srgb,var(--lsf-primary,#d8a642) 12%,transparent)!important;
   border-radius:999px!important;
 }
}

@media(min-width:981px){
 html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-submenu-layout-petsathome_columns:not(.lsf-nav-layout-petsathome){
   overflow:visible!important;
 }
}
