/* V22 systems landing: visual parity with corporate V80 nav, preserving own
   menu JS and campaign-specific booking action. */
@media(min-width:1201px){
 html body #pageHeader.main-site-header.tyz-systems-nav-v22 {
   box-sizing:border-box!important;
   padding:14px 0 0!important;
   background:transparent!important;
   width:100%!important;
   min-height:102px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-shell{
   width:min(1740px,calc(100vw - 32px))!important;
   max-width:calc(100vw - 32px)!important;
   margin:0 auto!important;
   min-height:88px!important;height:88px!important;max-height:88px!important;
   padding:5px clamp(12px,1.4vw,26px)!important;
   gap:clamp(8px,1vw,14px)!important;
   border:1px solid rgba(231,186,109,.18)!important;
   background:rgba(9,27,50,.91)!important;
   border-radius:24px!important;
   box-shadow:0 15px 38px rgba(0,7,20,.2)!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand{width:30px!important;flex:0 0 30px!important;height:76px!important;}
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand-logo{width:30px!important;height:76px!important;}
 html body #pageHeader.tyz-systems-nav-v22 .homepage-site-nav{
   display:flex!important;flex:1 1 auto!important;justify-content:center!important;
   min-width:0!important;width:auto!important;margin:0!important;padding:0!important;
   align-items:center!important;gap:clamp(6px,.7vw,11px)!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-link{
   white-space:nowrap!important;
   font:800 clamp(11.5px,.88vw,13px)/1.5 Cairo,Tahoma,Arial,sans-serif!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-actions {
   display:flex!important;align-items:center!important;flex:0 0 auto!important;
   min-width:0!important;gap:8px!important;margin:0!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-language-btn{
   min-width:93px!important;width:93px!important;max-width:93px!important;height:46px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-booking-btn{
   width:134px!important;min-width:134px!important;max-width:134px!important;
   height:46px!important;min-height:46px!important;border-radius:12px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-menu-toggle{display:none!important}
}
@media(min-width:1201px) and (max-width:1339px){
 html body #pageHeader.tyz-systems-nav-v22 .homepage-site-nav{gap:5px!important}
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-link{font-size:11.2px!important}
}
#pageHeader.tyz-systems-nav-v22 .tyz-system-nav-cart{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(232,189,105,.55);
  border-radius:12px;background:rgba(20,42,67,.78);color:#f1c77a;text-decoration:none;
}
#pageHeader.tyz-systems-nav-v22 .tyz-system-nav-cart svg{width:22px;height:22px;stroke:#f1c77a;stroke-width:1.8;fill:none}
#pageHeader.tyz-systems-nav-v22 .tyz-system-cart-count:not([hidden]){
 position:absolute;top:-8px;right:-7px;display:flex;align-items:center;justify-content:center;
 min-width:20px;height:20px;border-radius:20px;background:#e7bb65;color:#10243b;
 font:900 11px Cairo,Tahoma,sans-serif;
}
@media(max-width:1200px){
 html body #pageHeader.main-site-header.tyz-systems-nav-v22 {padding:6px 0 0!important;background:transparent!important;}
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-shell{
   width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;
   min-height:70px!important;height:70px!important;max-height:70px!important;
   margin:0 auto!important;padding:5px 12px!important;border-radius:16px!important;
   background:rgba(9,27,50,.91)!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand,
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand-logo{height:58px!important;}
 html body #pageHeader.tyz-systems-nav-v22 .homepage-site-nav:not(.is-open){display:none!important;}
 html body #pageHeader.tyz-systems-nav-v22 .homepage-site-nav.is-open{
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:0!important;
   width:100%!important;max-height:calc(100dvh - 100px)!important;
   overflow-y:auto!important;background:rgba(9,27,50,.97)!important;
   border:1px solid rgba(231,186,109,.35)!important;border-radius:16px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-actions{
   display:flex!important;flex:0 0 auto!important;margin-inline-start:auto!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-language-wrap,
 html body #pageHeader.tyz-systems-nav-v22 .homepage-booking-btn{display:none!important;}
 html body #pageHeader.tyz-systems-nav-v22 .homepage-menu-toggle{
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   flex:0 0 42px!important;width:42px!important;height:42px!important;
   margin:0!important;
 }
}

/* Fix systems legacy 1290px breakpoint: corporate desktop remains a row
   down to 1201px instead of rendering an orphaned mobile dropdown. */
@media(min-width:1201px){
 html body #pageHeader.tyz-systems-nav-v22 #primaryNav.homepage-site-nav{
   position:relative!important;
   display:flex!important;
   flex:1 1 auto!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   align-items:center!important;
   justify-content:center!important;
   min-width:0!important;
   width:auto!important;
   height:auto!important;
   min-height:0!important;
   max-height:none!important;
   overflow:visible!important;
   top:auto!important;
   right:auto!important;
   left:auto!important;
   bottom:auto!important;
   margin:0!important;
   padding:0!important;
   border:0!important;
   background:transparent!important;
   box-shadow:none!important;
   z-index:auto!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-actions{
   margin:0!important;
   margin-inline-start:0!important;
   margin-inline-end:0!important;
 }
}

/* Legacy 1290px menu breakpoint also made Services a 100%-width button.
   Normalize direct link widths on desktop, matching the shared V80 menu. */
@media(min-width:1201px){
 html body #pageHeader.tyz-systems-nav-v22 #primaryNav > .homepage-nav-item {
   display:block!important;
   flex:0 0 auto!important;
   width:auto!important;
   min-width:0!important;
   max-width:none!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 #servicesToggle.homepage-mega-toggle {
   display:inline-flex!important;
   flex:0 0 auto!important;
   width:auto!important;
   min-width:0!important;
   max-width:none!important;
   padding:8px 10px!important;
   justify-content:center!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 #primaryNav > a.homepage-nav-link{
   display:inline-flex!important;
   flex:0 0 auto!important;
   width:auto!important;
   min-width:0!important;
   padding:8px 4px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 #primaryNav > .homepage-mobile-language{
   display:none!important;
 }
}

/* Match the compact text density of the canonical corporate nav. */
@media(min-width:1201px){
 html body #pageHeader.tyz-systems-nav-v22 #primaryNav > a.homepage-nav-link {
   padding:8px 0!important;
 }
}

/* Independent /systems header follows the corporate navbar geometry. */
@media(min-width:1201px){
 html body #pageHeader.main-site-header.tyz-systems-nav-v22{
   padding-top:10px!important;
   min-height:88px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-shell{
   height:78px!important;
   min-height:78px!important;
   max-height:78px!important;
   border-radius:21px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand {
   width:28px!important;
   flex-basis:28px!important;
   height:66px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand-logo{
   width:28px!important;
   height:66px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-language-btn{
   height:40px!important;
   min-width:87px!important;
   width:87px!important;
   max-width:87px!important;
   border-radius:12px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-booking-btn{
   height:40px!important;
   min-height:40px!important;
   min-width:126px!important;
   width:126px!important;
   max-width:126px!important;
   border-radius:11px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-link{
   font-size:clamp(11px,.85vw,12.5px)!important;
 }
}
@media(min-width:1201px) and (max-width:1339px){
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-link{
   font-size:11px!important;
 }
}
html body #pageHeader.tyz-systems-nav-v22 .tyz-system-nav-cart{
  width:38px!important;
  height:38px!important;
  flex-basis:38px!important;
  border-radius:11px!important;
}
@media(max-width:1200px){
 html body #pageHeader.main-site-header.tyz-systems-nav-v22{
   padding-top:5px!important;
   min-height:67px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-shell{
   min-height:62px!important;
   height:62px!important;
   max-height:62px!important;
   border-radius:15px!important;
   padding-block:4px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand,
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand-logo {
   height:50px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-menu-toggle{
   height:38px!important;
   width:38px!important;
   flex-basis:38px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-site-nav.is-open{
   top:calc(100% + 7px)!important;
   max-height:calc(100dvh - 86px)!important;
 }
}

/* V30b: prevent the standalone Systems logo image from expanding horizontally
   when the brand height is reduced on touch devices. */
@media(max-width:1200px){
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand{
   flex:0 0 23px!important;
   width:23px!important;
   min-width:23px!important;
   max-width:23px!important;
 }
 html body #pageHeader.tyz-systems-nav-v22 .homepage-brand-logo{
   width:23px!important;
   min-width:23px!important;
   max-width:23px!important;
   height:50px!important;
   object-fit:contain!important;
 }
}

/* Systems landing uses the same balanced width and link distribution. */
@media (min-width:1201px){
  html body #pageHeader.main-site-header.tyz-systems-nav-v22{
    min-height:83px!important;
  }
  html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-shell{
    width:min(1320px,calc(100vw - 40px))!important;
    max-width:calc(100vw - 40px)!important;
    min-height:74px!important;
    height:74px!important;
    max-height:74px!important;
    padding-inline:clamp(14px,1.15vw,20px)!important;
    gap:clamp(12px,1.1vw,18px)!important;
    border-radius:20px!important;
  }
  html body #pageHeader.tyz-systems-nav-v22 .homepage-brand {
    height:62px!important;
    width:27px!important;
    flex-basis:27px!important;
  }
  html body #pageHeader.tyz-systems-nav-v22 .homepage-brand-logo{
    height:62px!important;
    width:27px!important;
  }
  html body #pageHeader.tyz-systems-nav-v22 #primaryNav.homepage-site-nav{
    justify-content:space-between!important;
    gap:clamp(10px,.75vw,13px)!important;
  }
  html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-link{
    font-size:clamp(12px,.82vw,13.5px)!important;
  }
  html body #pageHeader.tyz-systems-nav-v22 #servicesToggle.homepage-mega-toggle {
    padding-inline:7px!important;
  }
  html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-actions {
    gap:7px!important;
  }
}
@media (max-width:1200px) {
  html body header.site-header.tyz-unified-navbar-v22 > .nav-inner,
  html body #pageHeader.tyz-systems-nav-v22 .homepage-nav-shell{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
  }
}
