/* Language control follows search, before account actions. Native details works without JS. */
#header .gsm-header-language{position:relative;display:block;min-width:0;align-self:center;margin:0;z-index:60}
#header .gsm-header-language>summary{display:flex;align-items:center;justify-content:center;gap:6px;height:42px;padding:0 10px;margin:0;border:1px solid #dbe3ee;border-radius:11px;background:#fff;color:#213c67;font-size:13px;font-weight:700;line-height:1;list-style:none;white-space:nowrap;cursor:pointer;user-select:none}
#header .gsm-header-language>summary::-webkit-details-marker{display:none}
#header .gsm-header-language>summary:hover,#header .gsm-header-language[open]>summary{background:#f2f6fd;border-color:#a5bce3}
#header .gsm-header-language>summary:focus-visible,#header .gsm-header-language__options a:focus-visible{outline:3px solid #2163eb;outline-offset:3px}
#header .gsm-header-language__globe{width:17px;height:17px;flex:none}
#header .gsm-header-language__chevron{width:12px;height:12px;flex:none;transition:transform .15s}
#header .gsm-header-language[open] .gsm-header-language__chevron{transform:rotate(180deg)}
#header .gsm-header-language__options{position:absolute;top:calc(100% + 8px);right:0;display:grid;gap:4px;width:140px;padding:6px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;box-shadow:0 8px 24px #102a5621;z-index:61}
#header .gsm-header-language:not([open]) .gsm-header-language__options{display:none}
#header .gsm-header-language__options a{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:8px 12px;border-radius:7px;color:#213c67!important;font-size:14px;text-decoration:none!important}
#header .gsm-header-language__options a:hover{background:#f2f6fd}
#header .gsm-header-language__options a[aria-current=true]{background:#edf3ff;font-weight:700}
#header .gsm-header-language__options a[aria-current=true]:after{content:'✓';color:#2163eb}
@media(min-width:1181px){
 #header .gsm-header__main{grid-template-columns:160px minmax(230px,1fr) auto auto;column-gap:16px;justify-content:normal}
 #header .gsm-header-language{justify-self:end}
 #header .gsm-header__top-hook{justify-self:end}
}
@media(max-width:1180px){
 #header .gsm-header__main{grid-template-columns:42px 120px minmax(0,1fr) auto!important;grid-template-areas:"menu logo . actions" "search search search language"!important;column-gap:8px!important}
 #header .gsm-header-language{grid-area:language;justify-self:end}
 #header .gsm-header-language>summary{height:46px;gap:4px;padding:0 8px;font-size:12px}
 #header .gsm-header-language__globe{width:15px;height:15px}
 #header .gsm-header__top-hook{min-width:0}
 body.rpmenu-open #header .gsm-header-language{display:none}
}
@media(max-width:360px){#header .gsm-header-language__globe{display:none}}
@media(prefers-reduced-motion:reduce){#header .gsm-header-language__chevron{transition:none}}
