/* ZOC_ADIDAS_RESPONSIVE_LOGO_AND_SHARED_SURFACE_V193
   Reuse the SAME global/page-exception settings for desktop & mobile.
   Scope deliberately excludes Pets and all other Luxury header models. */

/* Mobile shell and header must not supply a second opaque surface over the Adidas palette. */
@media (max-width:980px),(pointer:coarse),(hover:none){
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header]{
    --lsf-nav-effective-bg-v176:var(--lsf-adidas-top-bg-v179,rgba(255,255,255,1))!important;
    --lsf-nav-effective-text-v176:var(--lsf-adidas-top-text-v179,#111)!important;
    --lsf-nav-surface-bg-v170:var(--lsf-nav-effective-bg-v176)!important;
    --lsf-nav-surface-text-v170:var(--lsf-nav-effective-text-v176)!important;
    --lsf-mobile-header-fg-v136:var(--lsf-nav-effective-text-v176)!important;
    background:var(--lsf-nav-effective-bg-v176)!important;
    background-color:var(--lsf-nav-effective-bg-v176)!important;
    color:var(--lsf-nav-effective-text-v176)!important;
    border-top:0!important;
  }
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header].is-adidas-scrolled-v179:not(.is-adidas-hover-v179){
    --lsf-nav-effective-bg-v176:var(--lsf-adidas-scrolled-bg-v179,rgba(255,255,255,1))!important;
    --lsf-nav-effective-text-v176:var(--lsf-adidas-scrolled-text-v179,#111)!important;
  }
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header]>.lsf-shell.lsf-nav,
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header] .lsf-adidas-main-row-v179{
    background:transparent!important;
    color:inherit!important;
  }
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header] .lsf-menu-toggle,
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header] .lsf-actions,
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header] .lsf-adidas-mobile-search-toggle-v190{
    color:inherit!important;
  }
  /* The mobile header uses the same color even while fixed or content-under. */
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header].is-mobile-top-fixed-v135,
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header].is-mobile-top-fixed-v134{
    background:var(--lsf-nav-effective-bg-v176)!important;
    color:var(--lsf-nav-effective-text-v176)!important;
  }
  /* Independent width/height; avoid the old 96/112px caps for wide wordmarks. */
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header] .lsf-brand.lsf-adidas-brand-v179{
    width:auto!important;min-width:0!important;
    max-width:min(var(--lsf-adidas-logo-mobile-width-v193,112px),46vw)!important;
    height:60px!important;
    overflow:visible!important;
  }
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas[data-lsf-store-header] .lsf-brand.lsf-adidas-brand-v179 img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:min(var(--lsf-adidas-logo-mobile-width-v193,112px),46vw)!important;
    max-height:min(var(--lsf-adidas-logo-mobile-size-v182,42px),58px)!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}
@media (min-width:981px) and (hover:hover) and (pointer:fine){
  /* Reserve room for the selected desktop wordmark width without overlapping navigation. */
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas .lsf-adidas-main-row-v179{
    grid-template-columns:clamp(112px,calc(var(--lsf-adidas-logo-desktop-width-v193,104px) + 12px),268px) minmax(0,1fr) auto!important;
  }
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas .lsf-brand.lsf-adidas-brand-v179{
    width:var(--lsf-adidas-logo-desktop-width-v193,104px)!important;
    min-width:0!important;
    max-width:var(--lsf-adidas-logo-desktop-width-v193,104px)!important;
  }
  html body .lsf-root[data-template="luxury_storefront"] .lsf-header.lsf-nav-layout-adidas .lsf-brand.lsf-adidas-brand-v179 img{
    width:auto!important;
    max-width:var(--lsf-adidas-logo-desktop-width-v193,104px)!important;
    height:auto!important;
    max-height:min(var(--lsf-adidas-logo-size-v182,48px),64px)!important;
    object-fit:contain!important;
  }
}
