/* R5.1: scoped public-shell corrections; native widget layout is preserved. */
.rex-brand-md .header__nav .nav-menu.nav-menu--level-1{width:min(280px,calc(100vw - 32px))!important;min-width:0!important;left:auto!important;right:0!important}
.rex-brand-md .header__nav .nav-menu.nav-menu--level-1>li{min-width:0!important}
.rex-brand-md .header__nav .nav-menu.nav-menu--level-1>li>a{display:block!important;min-width:0!important}
/* Invisible dropdown options in footer modals must not extend document height. */
.rex-brand-md .nice-select:not(.open) .list{display:none}
/* A closed fixed banner contributes neither hit targets nor detached child controls. */
.rex-brand-md .calc-banner.md-calc-banner-fixed:not(.visible){visibility:hidden;pointer-events:none}
@media(max-width:767px){
 .rex-brand-md .calc-banner.md-calc-banner-fixed{width:min(360px,calc(100vw - 24px));bottom:64px}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__container{width:100%;min-height:170px;padding:20px 100px 20px 20px;margin-bottom:0}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__title{position:relative;z-index:1;width:auto;font-size:20px;line-height:1.2;margin-bottom:12px}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__text{position:relative;z-index:1;font-size:16px;line-height:1.3;margin-bottom:14px}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__link{position:relative;z-index:1}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__link a{width:160px;height:44px;padding:0 16px}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__link a span{font-size:14px;line-height:1.25}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__img{z-index:0;width:125px;height:170px;top:auto;bottom:0;right:0}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__img img{width:100%;height:100%;object-fit:cover;object-position:left}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__close{z-index:2;width:44px;height:44px;top:0;right:0;display:flex;align-items:center;justify-content:center}
 .rex-brand-md .calc-banner.md-calc-banner-fixed .calc-banner__close img{position:static;width:14px;height:14px}
}
