/* ANDALUS_SITE_NAV_V2 (23 Oct 2026)
   Computers / wide screens: the main menu was 13px whatever the screen size — now it grows with the screen.
   Phones / tablets (≤1024px): the quick bar under the logo shows the whole menu (6 links, icon over label);
   «تصفح» still opens the full list with the sections. Loaded from includes/header.php (inside <body>, after page CSS). */

@media (min-width:1025px){
  html body .an-site-header .an-site-nav{gap:4px!important}
  html body .an-site-header .an-site-nav>a,
  html body .an-site-header .an-site-nav__trigger{font-size:15px!important;min-height:44px!important;padding:0 13px!important;border-radius:12px!important}
  html body .an-site-header .an-site-nav__menu a{font-size:15px!important;min-height:42px!important}
  html body .an-site-header .an-site-header__action{font-size:15px!important}
}
@media (min-width:1440px){
  html body .an-site-header .an-site-nav{gap:6px!important}
  html body .an-site-header .an-site-nav>a,
  html body .an-site-header .an-site-nav__trigger{font-size:16.5px!important;min-height:48px!important;padding:0 17px!important}
  html body .an-site-header .an-site-nav__menu{min-width:260px!important}
  html body .an-site-header .an-site-nav__menu a{font-size:16px!important;min-height:44px!important}
  html body .an-site-header .an-site-header__action{font-size:16px!important;min-height:48px!important;padding-inline:18px!important}
  html body .an-site-header .an-site-header__row{min-height:86px!important}
}
@media (min-width:1800px){
  html body .an-site-header .an-site-nav{gap:8px!important}
  html body .an-site-header .an-site-nav>a,
  html body .an-site-header .an-site-nav__trigger{font-size:18px!important;min-height:52px!important;padding:0 22px!important}
  html body .an-site-header .an-site-nav__menu a{font-size:17px!important;min-height:46px!important}
  html body .an-site-header .an-site-header__action{font-size:17px!important;min-height:52px!important}
  html body .an-site-header .an-site-header__row{min-height:92px!important}
}

@media (max-width:1024px){
  html body .an-site-header .an-site-mobile-actions--v2{grid-template-columns:repeat(6,minmax(0,1fr))!important;min-height:58px!important}
  html body .an-site-header .an-site-mobile-actions--v2 a{flex-direction:column!important;gap:3px!important;padding:6px 2px!important;line-height:1.2!important}
  html body .an-site-header .an-site-mobile-actions--v2 a,
  html body .an-site-header .an-site-mobile-actions--v2 a span{font-size:12.5px!important;white-space:nowrap}
  html body .an-site-header .an-site-mobile-actions--v2 svg{display:block!important;width:19px!important;height:19px!important}
  html body .an-site-header .an-site-mobile-actions--v2 a[aria-current="page"]{background:var(--an-h15-soft,#f4f1ee)}
}
@media (max-width:360px){
  html body .an-site-header .an-site-mobile-actions--v2 a,
  html body .an-site-header .an-site-mobile-actions--v2 a span{font-size:11.5px!important}
  html body .an-site-header .an-site-mobile-actions--v2 svg{width:17px!important;height:17px!important}
}
