/* ========================================
   GOVERNMENTAL BASE STYLES - Final Clean Version
   ======================================== */

:root {
  --brand-red: #d3142a;
  --brand-red-dark: #b40f22;
  --brand-green: #0a7c48;
  --ink: #121212;
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  --chip-bg: #f7f7f7;
  --chip-h: 36px;
  --top-h: 100px;
  --sub-h: 60px;
  --top-pad: 150px;
  --main-pad-left: 200px;
  --main-pad-right: 40px;
}

* {
  box-sizing: border-box;
}
.header__main {
  flex-wrap: nowrap !important;
}



html {
  scroll-behavior: smooth;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html:lang(ar) {
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
   font-size: 19px !important;
}

body {
  margin: 0;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: calc(var(--top-h) + var(--sub-h));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, .page-content, .content {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #000;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand-red);
}

/* ========================================
   HEADER - NO BORDER BETWEEN SECTIONS
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header__row.container {
  max-width: none;
  margin: 0;
  width: auto;
  padding: 8px 150px;
}

.header__top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-h);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--top-pad);
  z-index: 3;
}

.header__main {
  position: fixed;
  top: var(--top-h);
  left: 0;
  right: 0;
  height: var(--sub-h);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: var(--main-pad-left);
  padding-right: var(--main-pad-right);
  z-index: 2;
  transition: top 0.25s ease;
}

.header--hide-main .header__main {
  top: calc(var(--top-h) - var(--sub-h));
}

.logo img {
  height: 72px;
  object-fit: contain;
  display: block;
}

.top-badge {
  height: 42px;
  object-fit: contain;
  display: block;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.nav a {
  color: #444;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 10px 14px;
  border-radius: 4px;
}

.nav a:hover {
  color: var(--brand-red);
  background: #f5f5f5;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}

.nav-item {
  position: relative;
  z-index: 2100;
  padding: 6px 10px;
}

.nav-item:hover > a,
.nav-item:hover .nav-label {
  color: var(--brand-red);
}

.nav-label {
  display: inline-block;
  padding: 10px 6px;
  color: #444;
  cursor: default;
  transition: color 0.2s ease;
  font-weight: 600;
}

.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  display: none;
  z-index: 2200;
}

.nav-item:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  color: #444;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown a:hover {
  color: var(--brand-red);
  background: #f5f5f5;
}

/* ========================================
   SEARCH & TOOLS
   ======================================== */

.search-mini {
  display: inline-flex;
  align-items: center;
  height: 38px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px;
  gap: 8px;
  transition: all 0.2s ease;
}

.search-mini:focus-within {
  background: #fff;
  border-color: var(--brand-red);
}

.search-mini button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  transition: color 0.2s ease;
}

.search-mini button:hover {
  color: var(--brand-red);
}

.search-mini input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #444;
  width: 140px;
}

.lang-btn, .login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
}

.lang-btn:hover, .login-btn:hover {
  background: #f5f5f5;
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.lang-chip, .auth-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--chip-h);
  padding: 0 16px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-chip:hover, .auth-chip:hover {
  color: var(--brand-red);
  background: #f5f5f5;
  border-color: var(--brand-red);
}

/* ========================================
   FOOTER 
   ======================================== */

.footer {
  background: #0f1113;
  color: #e7e7e7;
  padding: 60px 0 28px;
  font-size: 15px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffffff 0% 25%, #0a7c48 25% 50%, #000 50% 75%, #fff 75% 100%);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.foot-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.foot-links {
  display: grid;
  gap: 8px;
}

.foot-links a,
.foot-links span {
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.2s ease;
  display: inline-block;
}

.foot-links a:hover {
  color: var(--brand-red);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 40px auto 0;
  padding-top: 20px;
  max-width: 1200px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
  padding-inline: 20px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--brand-red);
}

.social-links a svg {
  transition: all 0.3s ease;
}

.social-links a:hover svg {
  fill: #fff;
  stroke: #fff;
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-logo {
  width: 160px;
  height: auto;
}

.legal-row .legal-link {
  color: #fff; /* or your footer color */
  text-decoration: none;
  font-size: 14px;
}

.legal-row .legal-link:hover {
  text-decoration: underline;
}

/* ========================================
   BACK TO TOP - Original Style
   ======================================== */

#backToTop {
  position: fixed;
  bottom: var(--btt-bottom);
  right: 32px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 2500;
}

#backToTop:hover {
  background: #b40f22;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop svg {
  stroke: #fff;
  transition: transform .3s ease;
}

#backToTop:hover svg {
  transform: translateY(-2px);
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobmenu {
  display: none;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.mobmenu span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px auto;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.menu-open .mobmenu span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .mobmenu span:nth-child(2) {
  opacity: 0;
}

.menu-open .mobmenu span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3990;
  display: none;
}

.mobile-scrim[hidden] {
  display: none !important;
}

.menu-open .mobile-scrim {
  display: block !important;
}

.menu-open {
  overflow: hidden;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(88vw, 360px);
  background: #fff;
  z-index: 4001;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.menu-open .mobile-drawer {
  transform: translateX(0);
}

.md-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.md-close {
  width: 44px;
  height: 44px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  transition: all 0.2s ease;
}

.md-close:hover {
  background: var(--brand-red);
  color: #fff;
}

.md-nav {
  flex: 1;
  padding: 16px;
  padding-bottom: 120px;
  overflow-y: auto;
  overflow-x: hidden;
}

.md-tools {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.md-tools .search-mini,
.md-tools .lang-chip {
  width: 100%;
  justify-content: center;
}

.md-tools .search-mini input {
  width: 100%;
  flex: 1;
}

.md-link {
  display: block;
  padding: 16px 12px;
  font-weight: 600;
  color: #444;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.2s ease;
}

.md-link:hover {
  color: var(--brand-red);
  background: #f5f5f5;
}

.md-label {
  padding: 16px 12px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.md-label::after {
  content: "▾";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.md-toggle {
  display: none;
}

.md-sub {
  display: none;
  padding-left: 20px;
  padding-bottom: 8px;
}

.md-sub a {
  display: block;
  padding: 12px 14px;
  border-radius: 4px;
  color: #444;
  font-weight: 500;
  transition: all 0.2s ease;
}

.md-sub a:hover {
  background: #f5f5f5;
  color: var(--brand-red);
}

.md-group {
  margin-bottom: 4px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0;
}

.md-toggle:checked + .md-label + .md-sub {
  display: block;
}

.md-toggle:checked + .md-label {
  color: var(--brand-red);
}

.md-toggle:checked + .md-label::after {
  transform: rotate(180deg);
}

/* ========================================
   RTL SUPPORT
   ======================================== */

html[dir="rtl"] .nav-item .dropdown {
  left: auto;
  right: 0;
}

html[dir="rtl"] .mobile-drawer {
  right: 0;
  left: auto;
}

html[dir="rtl"] .lang-chip {
  direction: ltr;
  text-align: center;
}

html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] .use-arabic-digits {
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
}

html[dir="rtl"] #backToTop {
  right: 32px !important;
  left: auto !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 994px) {
  .mobmenu {
    display: inline-block;
  }
  
  .top-badge {
    height: 32px;
  }
  
  .header__main {
    display: none !important;
  }
  
  body {
    padding-top: var(--top-h) !important;
  }

  :root {
    --top-h: 68px;
    --top-pad: 60px;
  }
  
  .header__top {
    padding: 0 20px !important;
  }
  
  .logo img {
    height: 52px;
  }
}

@media (min-width: 995px) and (max-width: 1495.98px) {
  .header__row.container {
    padding: 8px 80px !important;
  }

  :root {
    --top-h: 80px;
    --sub-h: 56px;
    --top-pad: 80px;
    --main-pad-left: 140px;
    --main-pad-right: 32px;
  }

  .logo img {
    height: 60px;
  }
  
  .top-badge {
    height: 34px;
  }
  
  .nav a {
    font-size: 15px;
    padding: 8px 10px;
  }
}

@media (max-width: 700px) {
  .foot-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .auth-chip span {
    display: none;
  }
  
  .auth-chip {
    padding: 0 12px;
  }
}

@media (max-width: 380px) {
  :root {
    --top-h: 64px;
  }
  
  .logo img {
    height: 48px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.lang-switching .header__main {
  transition: none !important;
}

.lang-switching .nav-item .dropdown {
  display: none !important;
}

.lang-switching #mobileScrim {
  display: none !important;
}

.lang-switching #mobileDrawer {
  transform: translateX(100%) !important;
}

html[dir="rtl"] .lang-switching #mobileDrawer {
  transform: translateX(100%) !important;
} 

@media (max-width: 994px) {
  .header__top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
  }

  .top-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .top-right img.top-badge {
    height: 32px !important;
    display: block;
  }


  .mobmenu {
    margin: 0 !important;
    display: inline-block !important;
  }
}
body {
  transform-origin: top center;
}
html {
  font-size: 17px !important;
}
/* ==========================================================
   DESKTOP XXL — 1900px+
   ========================================================== */
@media (min-width: 1900px) {
  :root {
    --top-h: 110px;
    --sub-h: 80px;
    --top-pad: 270px;
    --main-pad-left: 300px;
    --main-pad-right: 80px;
  }

  .logo img {
    height: 70px !important;
  }

  .top-badge {
    height: 50px !important;
  }

  .nav a,
  .nav-label {
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 14px 16px !important;
  }

  .header__row.container {
    padding: 16px 220px !important;
  }
}
/* ==========================================================
   ENGLISH MICRO FIX — 1900px → 1914px
   ========================================================== */
@media (min-width: 1900px) and (max-width: 1914px) {
  html[lang="en"] .nav {
    gap: 6px !important;
  }

  html[lang="en"] .nav a,
  html[lang="en"] .nav-label {
    font-size: 18.5px !important;   /* slight reduction */
    padding: 12px 14px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px;
  }
}


/* ==========================================================
   1496px → 1690px 
   ========================================================== */
@media (min-width: 1496px) and (max-width: 1690px) {
  :root {
    --top-h: 90px;
    --sub-h: 58px;
    --top-pad: 160px;
    --main-pad-left: 160px;
    --main-pad-right: 40px;
  }

  .logo img {
    height: 70px !important;
  }

  .top-badge {
    height: 38px !important;
  }

  /* Fix: make Services + Business Services bold */
  .nav-label {
    font-weight: 700 !important;
  }
}

/* ==========================================================
   1232px → 1495px 
   ========================================================== */
@media (min-width: 1232px) and (max-width: 1495.98px) {
  :root {
    --top-h: 84px;
    --sub-h: 56px;
    --top-pad: 120px;
    --main-pad-left: 130px;
    --main-pad-right: 32px;
  }

  .logo img {
    height: 62px;
  }

  .top-badge {
    height: 36px;
  }

  .nav a, .nav-label {
    font-size: 15.5px;
    font-weight: 600;
  }
}

/* ==========================================================
   1120px → 1232px
   ========================================================== */
@media (min-width: 1120px) and (max-width: 1231.98px) {
  :root {
    --top-h: 72px;
    --sub-h: 50px;
    --top-pad: 80px;
    --main-pad-left: 90px;
    --main-pad-right: 28px;
  }

  .logo img {
    height: 54px;
  }

  .top-badge {
    height: 32px;
  }

  .nav a,
  .nav-label {
    font-size: 14.5px !important;
    white-space: nowrap !important; /* Prevents wrapping */
  }

  /* Specifically prevent Business Services from breaking */
  .nav-item .nav-label[data-i18n="nav.business_services"] {
    white-space: nowrap !important;
  }
}
/* ==========================================================
   995px → 1100px
   ========================================================== */
@media (min-width: 995px) and (max-width: 1119px) {
  :root {
    --top-h: 60px;      /* even smaller */
    --sub-h: 42px;
    --top-pad: 52px;
    --main-pad-left: 50px;
    --main-pad-right: 20px;
  }

  .header__row.container {
    padding: 6px 40px !important; /* reduce side padding so nothing disappears */
  }

  .logo img {
    height: 42px !important; /* smaller so nav has space */
  }

  .top-badge {
    height: 26px !important;
  }

  .nav a,
  .nav-label {
    font-size: 12.5px !important; /* smaller */
    padding: 4px 6px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px;
  }

  .nav {
    gap: 6px !important; /* compress nav spacing */
  }
}
.social-links {
  display: grid;
  grid-template-columns: repeat(4, 28px); /* 3 icons per row */
  gap: 16px 24px; /* vertical and horizontal spacing */
  align-items: center;
}

/* iPhone fix: make LATEST UPDATES a single column */
@media (max-width: 480px) {
  .ann-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .ann-card {
    max-width: 100% !important;
    width: 100% !important;
  }

  .ann-img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
}
/* iPhone: quick access = 1 column, centered and even */
@media (max-width: 400px) {
  .quick-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .quick-item {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .quick-item img {
    margin: 0 auto !important;
  }
}
:root {
  --chat-bottom: 32px;
  --chat-size: 48px;
  --gap-buttons: 14px;

  --am-bottom: var(--chat-bottom);
  --btt-bottom: calc(var(--chat-bottom) + var(--chat-size) + var(--gap-buttons));
}

/* Force both components to use variables */
.amchat-launcher {
  bottom: var(--am-bottom) !important;
  right: 32px !important;
}

#backToTop {
  bottom: var(--btt-bottom) !important;
  right: 32px !important;
}
@media (min-width: 1232px) and (max-width: 1400px) {
  .nav {
    gap: 2px !important;
  }

  .nav a,
  .nav-label {
    font-size: 14.5px !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px;
  }

  .nav-item {
    padding: 2px 4px !important;
  }
}
@media (min-width: 1120px) and (max-width: 1231.98px) {
  :root {
    --top-h: 64px;
    --sub-h: 44px;
    --top-pad: 64px;
    --main-pad-left: 64px;
    --main-pad-right: 20px;
  }

  .logo img {
    height: 46px !important;
  }

  .top-badge {
    height: 28px !important;
  }

  .nav a,
  .nav-label {
    font-size: 13.5px !important;
    padding: 4px 6px !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 1221px) and (min-width: 995px) {
  :root {
    --top-h: 58px;
    --sub-h: 42px;
    --top-pad: 48px;
    --main-pad-left: 48px;
    --main-pad-right: 18px;
  }

  .logo img {
    height: 42px !important;
  }

  .top-badge {
    height: 26px !important;
  }

  .nav {
    gap: 4px !important;
  }

  .nav a,
  .nav-label {
    font-size: 12.8px !important;
    padding: 4px 6px !important;
    white-space: nowrap !important;
    letter-spacing: -0.3px;
  }
}
@media (min-width: 1496px) and (max-width: 1684px) {
  :root {
    --top-h: 86px;
    --sub-h: 54px;
    --top-pad: 140px;
    --main-pad-left: 140px;
    --main-pad-right: 32px;
  }

  .nav {
    gap: 6px !important;
  }

  .nav a,
  .nav-label {
    font-size: 15px !important;
    padding: 6px 10px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px;
  }

  .logo img {
    height: 64px !important;
  }

  .top-badge {
    height: 36px !important;
  }
}
@media (min-width: 995px) and (max-width: 1075px) {
  :root {
    --top-h: 58px;        /* ↓ from 64 */
    --sub-h: 40px;        /* ↓ from 44 */
    --top-pad: 48px;      /* ↓ from 56 */
    --main-pad-left: 52px;
    --main-pad-right: 18px;
  }

  .header__row.container {
    padding: 4px 30px !important;
  }

  .logo img {
    height: 40px !important;   /* ↓ from 44 */
  }

  .top-badge {
    height: 24px !important;   /* ↓ from 26 */
  }

  .nav {
    gap: 3px !important;       /* tighter */
  }

  .nav a,
  .nav-label {
    font-size: 12px !important; /* ↓ from 12.4 */
    padding: 3px 5px !important;
    white-space: nowrap !important;
    letter-spacing: -0.4px;
  }

  .lang-chip {
    height: 28px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
  }
}
/* ==========================================================
   ARABIC DESKTOP FIX — 1690px → 2044px
   ========================================================== */
@media (min-width: 1690px) and (max-width: 2051px) {
  html[lang="ar"] .nav {
    gap: 6px !important;
  }

  html[lang="ar"] .nav a,
  html[lang="ar"] .nav-label {
    font-size: 16px !important;      /* ↓ from Arabic global size */
    padding: 8px 10px !important;
    white-space: nowrap !important;
    letter-spacing: -0.25px;
  }

  html[lang="ar"] .nav-item {
    padding: 4px 6px !important;
  }
}
/* ==========================================================
   ARABIC FIX — 1400px → 1426px
   ========================================================== */
@media (min-width: 1400px) and (max-width: 1426px) {
  html[lang="ar"] .nav {
    gap: 4px !important;
  }

  html[lang="ar"] .nav a,
  html[lang="ar"] .nav-label {
    font-size: 14.5px !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
    letter-spacing: -0.25px;
  }

  html[lang="ar"] .nav-item {
    padding: 2px 4px !important;
  }
}

@media (min-width: 995px) and (max-width: 1231px) {
  html[lang="ar"] .nav {
    gap: 2px !important;
  }

  html[lang="ar"] .nav a,
  html[lang="ar"] .nav-label {
    font-size: 12.4px !important;
    padding: 3px 5px !important;
    white-space: nowrap !important;
    letter-spacing: -0.45px;
  }

  html[lang="ar"] .nav-item {
    padding: 1px 3px !important;
  }

  html[lang="ar"] .lang-chip {
    height: 28px !important;
    font-size: 11.5px !important;
    padding: 0 8px !important;
  }
}
.header__main {
  flex-wrap: nowrap;
}

.nav {
  min-width: 0;
  
}

.nav-item,
.nav a,
.nav-label {
  min-width: 0;
  flex-shrink: 1;
  white-space: nowrap;
}
html, body {
  overflow-x: hidden;
}
