/* Shared ServioX language disclosure. Native details/links work without JS. */
.sx-language-picker.sx-language-picker {
  position: relative; display: block; inline-size: 156px; max-inline-size: 100%;
  flex: 0 0 auto; margin: 0; padding: 0; border: 0; border-radius: 14px;
  background: transparent; box-shadow: none; color: var(--sx-action,#243daf); text-align: start;
}
.header-inner > .sx-language-picker { margin-inline-start: auto; }
.sx-language-picker > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-block-size: 46px; padding: 10px 12px; list-style: none; cursor: pointer;
  border: 1px solid var(--sx-border-strong,#cfd9f5); border-radius: 14px; background: var(--sx-surface,#fff); color: var(--sx-action,#243daf);
  font: 700 var(--sx-small-size,14px)/1.5 var(--sx-font-family,'Inter','Rubik',system-ui,sans-serif);
  box-shadow: 0 5px 16px color-mix(in srgb,var(--sx-action,#243daf) 4%,transparent); transition: border-color .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.sx-language-picker > summary::-webkit-details-marker { display: none; }
.sx-language-picker > summary::marker { content: ''; }
.sx-language-picker > summary:hover,.sx-language-picker[open] > summary { border-color: var(--sx-action,#243daf); box-shadow: 0 0 0 3px color-mix(in srgb,var(--sx-action,#243daf) 5%,transparent); }
.sx-language-picker > summary:focus-visible { outline: 3px solid var(--sx-action,#243daf); outline-offset: 3px; }
.sx-language-globe { display: grid; place-items: center; inline-size: 26px; block-size: 26px; flex: 0 0 26px; border-radius: 8px; background: var(--sx-accent-soft,#ffea00); color: var(--sx-action,#243daf); }
.sx-language-picker svg { display: block; inline-size: 18px; block-size: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sx-language-picker .sx-language-chevron { inline-size: 14px; block-size: 14px; transition: transform .15s; }
.sx-language-picker[open] .sx-language-chevron { transform: rotate(180deg); }
.sx-language-picker [data-language-current] { flex: 1; min-inline-size: 0; overflow-wrap: anywhere; }
.sx-language-picker .sx-language-options {
  position: absolute; z-index: 1000; inset-block-start: calc(100% + 8px); inset-inline-start: 0;
  inline-size: 100%; padding: 7px; border: 1px solid var(--sx-border,#dce4f5); border-radius: 17px;
  background: var(--sx-surface,#fff); box-shadow: 0 16px 40px color-mix(in srgb,var(--sx-ink,#102044) 15%,transparent); display: grid; gap: 3px;
  max-block-size: min(60vh, 360px); overflow-y: auto; overscroll-behavior: contain;
}
.sx-language-picker:not([open]) > .sx-language-options { display: none; }
.sx-language-picker .sx-language-options > :is(a,button) {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  inline-size: 100%; min-block-size: 44px; margin: 0; padding: 10px 11px; border: 0;
  border-radius: 10px; background: transparent; color: var(--sx-action,#243daf); box-shadow: none;
  font: 600 var(--sx-small-size,14px)/1.6 var(--sx-font-family,'Inter','Rubik',system-ui,sans-serif); text-align: start;
  white-space: normal; overflow-wrap: anywhere; text-decoration: none; cursor: pointer;
}
.sx-language-picker .sx-language-options > :is(a,button)::after {
  content: ''; inline-size: 7px; block-size: 12px; margin-inline: 4px;
  flex: 0 0 7px; border: solid transparent; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.sx-language-picker .sx-language-options > :is(a,button):hover { background: var(--sx-surface-soft,#eef3ff); }
.sx-language-picker .sx-language-options > [aria-current=page] { background: var(--sx-action,#243daf); color: var(--sx-surface,#fff); }
.sx-language-picker .sx-language-options > [aria-current=page]::after { border-color: var(--sx-accent-soft,#ffea00); }
.sx-language-picker .sx-language-options > :is(a,button):focus-visible { outline: 2px solid var(--sx-action,#243daf); outline-offset: 1px; }
.sx-language-picker [lang=he],.sx-language-picker .sx-language-options > [lang=he] { font-family: 'Rubik','Assistant',system-ui,sans-serif; }
.sx-language-picker [lang=ar],.sx-language-picker .sx-language-options > [lang=ar] { font-family: 'Noto Sans Arabic','Cairo',system-ui,sans-serif; }
.sx-language-picker [data-language-current][lang=ar] { font-weight: 600; }
@media(prefers-reduced-motion:reduce) { .sx-language-picker > summary,.sx-language-picker .sx-language-chevron { transition: none; } }
