/* Keep native scrolling without a visible bar or a reserved scrollbar slot. */
html,body,.flex-thumbs,.spec-table-scroll{
 scrollbar-width:none;
 scrollbar-gutter:auto;
}
html::-webkit-scrollbar,body::-webkit-scrollbar,
.flex-thumbs::-webkit-scrollbar,.spec-table-scroll::-webkit-scrollbar{
 display:none;
 width:0;
 height:0;
}

/* The header and navigation together cover the complete visible screen. */
.mobile-nav{
 height:calc(100vh - var(--header-height));
 height:calc(100dvh - var(--header-height));
 max-height:none;
 min-height:0;
 overflow-y:auto;
 overscroll-behavior-y:contain;
 touch-action:pan-y;
 padding-bottom:calc(30px + env(safe-area-inset-bottom));
 scrollbar-width:none;
 transition:top var(--header-motion-duration) var(--header-motion-ease),height var(--header-motion-duration) var(--header-motion-ease);
}
.mobile-nav:not([hidden]){display:flex;flex-direction:column}
.mobile-nav>a,.mobile-nav>button{
 flex:0 0 auto;
 padding-block:20px;
 line-height:1.35;
}

.mobile-nav-contacts{
 display:flex;
 flex:0 0 auto;
 flex-direction:column;
 gap:10px;
 margin-top:auto;
 padding-top:48px;
}
.mobile-nav .mobile-nav-contacts>a{
 display:grid;
 grid-template-columns:minmax(0,1fr) 24px;
 align-items:center;
 column-gap:16px;
 min-height:60px;
 width:100%;
 max-width:100%;
 padding:14px 20px;
 border:1px solid var(--ink);
 background:var(--ink);
 color:#fff;
 font-size:clamp(18px,3vw,22px);
 font-weight:500;
 line-height:1.4;
 white-space:nowrap;
 transition:background-color .25s ease,border-color .25s ease,color .25s ease;
}
.mobile-nav .mobile-nav-contacts>.mobile-nav-phone{
 background:var(--orange);
 border-color:var(--orange);
}
.mobile-nav-contacts svg{
 grid-column:2;
 grid-row:1;
 justify-self:end;
 width:24px;
 height:24px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.5;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.mobile-nav-contacts>a>span{
 grid-column:1;
 grid-row:1;
 justify-self:start;
 min-width:0;
 text-align:left;
}
.mobile-nav .mobile-nav-contacts>a:is(:hover,:focus-visible){
 background:#272929;
 border-color:#272929;
 color:#fff;
}
.mobile-nav .mobile-nav-contacts>.mobile-nav-phone:is(:hover,:focus-visible){background:#b93e27;border-color:#b93e27}
.mobile-nav::-webkit-scrollbar{display:none}
html:has(.mobile-nav:not([hidden])),
body:has(.mobile-nav:not([hidden])){overflow:hidden}
@media(prefers-reduced-motion:reduce){.mobile-nav{transition:none}}
