/* Restores the navigation to the far right of the shared RTL header.
   Does not affect page content, logo, colors or the language dropdown. */
@media (min-width: 992px) {
 html[dir="rtl"] #header .mo-header-v7 .mo-header-menu > .container.main-container {
   width: calc(100% - 48px) !important;
   max-width: none !important;
   margin: 0 auto !important;
   padding: 0 !important;
   display: flex !important;
   direction: ltr !important;
   flex-direction: row !important;
   justify-content: space-between !important;
   align-items: center !important;
 }
 html[dir="rtl"] #header .mo-header-v7 .mo-col-menu {
   order: 2 !important;
   display: flex !important;
   flex: 1 1 auto !important;
   min-width: 0 !important;
   width: auto !important;
   float: none !important;
   margin: 0 0 0 auto !important;
   padding: 0 !important;
   justify-content: flex-end !important;
   text-align: right !important;
   direction: rtl !important;
 }
 html[dir="rtl"] #header .mo-header-v7 .mo-col-menu .mo-menu-list {
   display: flex !important;
   width: auto !important;
   margin: 0 !important;
   justify-content: flex-end !important;
 }
 html[dir="rtl"] #header .mo-header-v7 .mo-col-menu .mo-menu-list > ul {
   float: none !important;
   display: flex !important;
   direction: rtl !important;
   justify-content: flex-start !important;
   align-items: center !important;
   width: max-content !important;
   max-width: 100% !important;
   margin: 0 !important;
   padding: 0 !important;
 }
 html[dir="rtl"] #header .mo-header-v7 .menu_other_v7 {
   order: 1 !important;
   flex: 0 0 auto !important;
   margin-right: 20px !important;
   margin-left: 0 !important;
 }
}


/* Final V7 desktop positioning: anchor menu to physical right edge. */
@media (min-width: 992px) {
  html[dir="rtl"] body #header .mo-header-v7 .mo-header-menu > .container.main-container {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 4vw !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    direction: ltr !important;
    min-height: 70px !important;
  }
  html[dir="rtl"] body #header .mo-header-v7 .menu_other_v7 {
    position: relative !important;
    order: 1 !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    z-index: 2 !important;
  }
  html[dir="rtl"] body #header .mo-header-v7 .mo-col-menu {
    position: relative !important;
    order: 2 !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    float: none !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    direction: rtl !important;
    text-align: right !important;
  }
  html[dir="rtl"] body #header .mo-header-v7 .mo-col-menu .mo-menu-list {
    float: none !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    text-align: right !important;
  }
  html[dir="rtl"] body #header .mo-header-v7 .mo-col-menu .mo-menu-list > ul {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    direction: rtl !important;
    width: max-content !important;
    white-space: nowrap !important;
  }
}
@media (min-width: 992px) and (max-width: 1350px) {
  html[dir="rtl"] body #header .mo-header-v7 .mo-header-menu > .container.main-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  html[dir="rtl"] body #header .mo-header-v7 .mo-col-menu .mo-menu-list > ul {
    gap: 7px !important;
  }
}
