/* Approved desktop film framing. Existing phone layout remains unchanged. */
@media(min-width:701px){
html body.editorial-mode.editorial-home.editorial-home #app .hero-wrap.home-film{aspect-ratio:16/9;min-height:0;height:auto;padding-top:0}
html body.editorial-mode.editorial-home.editorial-home #app .home-film-backdrop{top:0;bottom:0;height:100%;aspect-ratio:auto}
html body.editorial-mode.editorial-home.editorial-home #app .home-film-backdrop :is(img,video){object-fit:contain;object-position:50% 50%}
html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky){background:transparent!important;color:#fff!important;border-color:#ffffff30!important;box-shadow:none}
html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky)::before{background:linear-gradient(180deg,#071b286b,transparent)!important}
html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) :is(button,select,a,summary,.site-language,.site-shopping-tools){color:#fff!important}
html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) .header-brand-rail,html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) .header-brand-more{background:transparent!important;border-color:#ffffff30!important}
html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) .header-brand-logo{filter:brightness(0) invert(1)!important}
}

/* Homepage brand categories share the approved translucent film treatment. */
@media(min-width:0px){
html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-category-panel{
 background:rgba(16,35,42,.76)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
 border-top:1px solid #ffffff28;color:#fff;box-shadow:0 12px 24px #06131918;
}
html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-category-panel :is(a,button,h3){color:#fff!important}
html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) .brand-category-panel a[href],
html body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) .brand-category-panel button{color:#fff!important}
html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-category-heading span{color:#ffffffb8}
html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-category-heading h2 img{filter:brightness(0) invert(1)}
html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-category-panel :is(a,button):focus-visible{outline-color:#fff}
html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-mega-scrim{background:transparent}
}

@media(max-width:700px){
 html.bright-theme body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) .brand-category-panel .brand-category-close,
 html.bright-theme body.editorial-mode.editorial-home.editorial-home>header.site-masthead:not(.is-sticky) .brand-category-panel .brand-category-close svg{color:#fff!important}
}
/* Phone panel stays inside the viewport and uses matching subtle separators. */
@media(max-width:700px){
 html body.editorial-mode .brand-category-panel{width:auto!important;left:12px!important;right:12px!important;max-height:calc(100dvh - var(--brand-mega-top,68px) - 64px)!important}
 html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-category-panel{border-color:#ffffff28}
 html body.editorial-mode.editorial-home.editorial-home:has(>header.site-masthead:not(.is-sticky)) .brand-category-all{border-bottom-color:#ffffff28}
}
