/* Tamiyouz Alrowad — V22 single shared navbar, all corporate page surfaces.
   Canonical header: identical navy pill, typography, links, logo,
   cart, CTA, tablet/mobile drawer, active underline, both locales.
   Does not touch Hero/page content. */
html body header.site-header.tyz-unified-navbar-v22{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  padding:14px 0 0!important;
  margin:0!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none!important;
  z-index:9999!important;
}
html body header.site-header.tyz-unified-navbar-v22 > .nav-inner{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  width:min(1740px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  min-width:0!important;
  height:88px!important;
  min-height:88px!important;
  max-height:88px!important;
  margin:0 auto!important;
  padding:5px clamp(12px,1.4vw,26px)!important;
  position:relative!important;
  top:0!important;bottom:auto!important;left:auto!important;right:auto!important;
  transform:none!important;
  translate:none!important;
  background:rgba(9,27,50,.91)!important;
  border:1px solid rgba(231,186,109,.18)!important;
  border-radius:24px!important;
  box-shadow:0 15px 38px rgba(0,7,20,.2)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  gap:clamp(8px,1vw,14px)!important;
}
html[lang="ar"] body header.site-header.tyz-unified-navbar-v22 > .nav-inner {
  direction:rtl!important;
}
html[lang="en"] body header.site-header.tyz-unified-navbar-v22 > .nav-inner {
  direction:ltr!important;
}
html body header.site-header.tyz-unified-navbar-v22 > .nav-inner > .brand {
  flex:0 0 30px!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:76px!important;
  margin:0!important;
  padding:0!important;
  order:0!important;
  position:relative!important;
  background:none!important;
}
html body header.site-header.tyz-unified-navbar-v22 > .nav-inner > .brand .brand-logo {
  width:30px!important;
  max-width:30px!important;
  object-fit:contain!important;
}
@media(min-width:1201px){
  html[lang="ar"] body header.site-header.tyz-unified-navbar-v22 .site-nav:not(.open){
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    position:relative!important;
    order:1!important;
    direction:rtl!important;
    justify-content:center!important;
    align-items:center!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    column-gap:clamp(6px,.7vw,11px)!important;
    row-gap:0!important;
    margin:0!important;
    padding:0!important;
    left:auto!important;right:auto!important;top:auto!important;
    transform:none!important;
    background:transparent!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 .site-nav>a,
  html body header.site-header.tyz-unified-navbar-v22 .site-nav>.has-mega>.mega-toggle{
    font-family:Cairo,Tahoma,Arial,sans-serif!important;
    font-weight:800!important;
    font-size:clamp(11.5px,.88vw,13px)!important;
    line-height:1.5!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 > .nav-inner > .nav-actions{
    order:2!important;
    flex:0 0 auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    background:none!important;
  }
}
@media(min-width:1201px) and (max-width:1339px){
  html[lang="ar"] body header.site-header.tyz-unified-navbar-v22 .site-nav:not(.open){
    column-gap:5px!important;
  }
  html[lang="ar"] body header.site-header.tyz-unified-navbar-v22 .site-nav>a,
  html[lang="ar"] body header.site-header.tyz-unified-navbar-v22 .site-nav>.has-mega>.mega-toggle {
    font-size:11.2px!important;
  }
}
@media(min-width:1601px){
  html[lang="en"] body header.site-header.tyz-unified-navbar-v22 .site-nav:not(.open){
    display:flex!important;
    flex:1 1 auto!important;
    order:1!important;
    direction:ltr!important;
    justify-content:center!important;
    align-items:center!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    left:auto!important;right:auto!important;
    transform:none!important;
    background:none!important;
  }
}
@media(min-width:881px) and (max-width:1600px){
  /* Preserve the already-working English compact menu when translated labels
     cannot fit horizontally. */
  html[lang="en"] body header.site-header.tyz-unified-navbar-v22 .site-nav:not(.open) {
    display:none!important;
  }
}
@media(max-width:1200px){
  html body header.site-header.tyz-unified-navbar-v22{
    padding-top:6px!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 > .nav-inner{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    min-height:70px!important;
    max-height:70px!important;
    height:70px!important;
    padding:5px 12px!important;
    border-radius:16px!important;
    gap:12px!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 > .nav-inner > .brand{
    flex:0 0 24px!important;
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    height:58px!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 > .nav-inner > .brand .brand-logo{
    width:24px!important;
    max-width:24px!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 .site-nav:not(.open){
    display:none!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 .site-nav.open{
    display:flex!important;
    box-sizing:border-box!important;
    position:absolute!important;
    top:calc(100% + 8px)!important;
    left:0!important;right:0!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    max-height:calc(100dvh - 100px)!important;
    overflow-y:auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    margin:0!important;
    padding:14px!important;
    background:rgba(9,27,50,.97)!important;
    color:#f6f8fc!important;
    border:1px solid rgba(231,186,109,.35)!important;
    border-radius:16px!important;
    transform:none!important;
    z-index:10001!important;
    box-shadow:0 20px 44px rgba(0,0,0,.35)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 .site-nav.open > a,
  html body header.site-header.tyz-unified-navbar-v22 .site-nav.open > .has-mega > .mega-toggle{
    width:100%!important;
    min-height:38px!important;
    padding:9px 12px!important;
    font:800 13px/1.6 Cairo,Tahoma,Arial,sans-serif!important;
    text-align:start!important;
    white-space:normal!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 > .nav-inner > .nav-actions{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    gap:8px!important;
    margin-inline-start:auto!important;
    margin-inline-end:0!important;
    padding:0!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 .mobile-menu-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }
  html body header.site-header.tyz-unified-navbar-v22 .nav-button,
  html body header.site-header.tyz-unified-navbar-v22 .language-switch{
    display:none!important;
  }
}
html[lang="en"] body header.site-header.tyz-unified-navbar-v22 .site-nav.open{
  direction:ltr!important;
  text-align:left!important;
}
html[lang="ar"] body header.site-header.tyz-unified-navbar-v22 .site-nav.open{
  direction:rtl!important;
  text-align:right!important;
}
@media(prefers-reduced-motion:reduce){
  html body header.site-header.tyz-unified-navbar-v22 *,
  html body header.site-header.tyz-unified-navbar-v22 *::before,
  html body header.site-header.tyz-unified-navbar-v22 *::after{
    animation-duration:.01ms!important;
    transition-duration:.01ms!important;
  }
}

/* Uniform polish: override older page-specific navbar skins, including store,
   marketing landing and legacy content cards, without touching those pages. */
html:root body header.site-header.tyz-unified-navbar-v22 > .container.nav-inner{
  background:rgba(9,27,50,.91)!important;
  border-radius:24px!important;
  border:1px solid rgba(231,186,109,.18)!important;
  transform:none!important;
  position:relative!important;
}
@media(min-width:1201px){
 html body.tamiyouz-v80-marketing header.site-header.tyz-unified-navbar-v22,
 html:root body header.site-header.tyz-unified-navbar-v22{
   padding-top:14px!important;
 }
 html body header.site-header.tyz-unified-navbar-v22>.nav-inner>.nav-actions>.language-switch{
   display:inline-flex!important;
   align-items:center!important;
   justify-content:center!important;
   width:93px!important;
   min-width:93px!important;
   max-width:93px!important;
   height:46px!important;
   padding:0 12px!important;
   font:800 12px/1.5 Cairo,Tahoma,Arial,sans-serif!important;
   border-radius:14px!important;
   box-sizing:border-box!important;
 }
 html[lang="ar"] body header.site-header.tyz-unified-navbar-v22>.nav-inner>.nav-actions>.nav-button{
   display:inline-flex!important;
   align-items:center!important;
   justify-content:center!important;
   width:134px!important;
   min-width:134px!important;
   max-width:134px!important;
   height:46px!important;
   box-sizing:border-box!important;
   border-radius:12px!important;
   font:800 11px/1.5 Cairo,Tahoma,Arial,sans-serif!important;
 }
}
@media(max-width:1200px){
 html:root body header.site-header.tyz-unified-navbar-v22 > .container.nav-inner{
   border-radius:16px!important;
 }
}
@media(min-width:881px) and (max-width:1600px){
 html[lang="en"] body header.site-header.tyz-unified-navbar-v22>.nav-inner>.nav-actions {
   margin-left:auto!important;
   margin-right:0!important;
 }
 html[lang="en"] body header.site-header.tyz-unified-navbar-v22 .site-nav.open{
   display:flex!important;
   position:absolute!important;
   left:0!important;
   right:0!important;
   top:calc(100% + 8px)!important;
   width:100%!important;
   max-height:calc(100dvh - 112px)!important;
   overflow-y:auto!important;
   flex-direction:column!important;
   align-items:stretch!important;
   margin:0!important;
   padding:14px!important;
   background:rgba(9,27,50,.97)!important;
   border:1px solid rgba(231,186,109,.35)!important;
   border-radius:16px!important;
   z-index:10001!important;
 }
 html[lang="en"] body header.site-header.tyz-unified-navbar-v22 .mobile-menu-btn{
   display:inline-flex!important;
   align-items:center!important;
   justify-content:center!important;
 }
}


/* V22b — in English's long-label compact layout the drawer must expand
   vertically; older themes imposed a one-row max height. */
@media(min-width:881px) and (max-width:1600px){
 html[lang="en"] body header.site-header.tyz-unified-navbar-v22 #siteNav.open {
   height:auto!important;
   min-height:0!important;
   max-height:calc(100dvh - 112px)!important;
   overflow-y:auto!important;
   align-items:stretch!important;
   flex-direction:column!important;
   flex-wrap:nowrap!important;
 }
 html[lang="en"] body header.site-header.tyz-unified-navbar-v22 > .nav-inner > .nav-actions{
   margin-inline-start:auto!important;
   margin-inline-end:0!important;
 }
}
/* Ensure compact menus never use a shadow from older legacy pages. */
@media(max-width:1200px){
 html body header.site-header.tyz-unified-navbar-v22 #siteNav.open{
   height:auto!important;
   min-height:0!important;
 }
}


/* V22c responsive header top offset, including inline legacy overrides. */
html body header.site-header.tyz-unified-navbar-v22{
  --tyz-nav-v22-top:14px!important;
}
@media(max-width:1200px){
 html body header.site-header.tyz-unified-navbar-v22 {
   --tyz-nav-v22-top:6px!important;
 }
}
