
.header__container {flex-wrap:wrap; gap:12px;}
.language-switcher {position:relative;order:2;flex-shrink:0;color:var(--text-header,#fff);font:600 14px Montserrat,sans-serif;}
.language-switcher summary {display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;padding:11px 12px;border:1px solid #ffffff55;border-radius:8px;min-height:44px;box-sizing:border-box;}
.language-switcher summary::-webkit-details-marker {display:none;}
.language-switcher summary:focus-visible,.language-switcher a:focus-visible {outline:2px solid #e4374f;outline-offset:3px;}
.language-switcher__options {position:absolute;right:0;top:calc(100% + 8px);width:max-content;min-width:88px;box-sizing:border-box;max-height:65vh;overflow:auto;background:#17172b;border:1px solid #ffffff40;border-radius:10px;padding:6px;box-shadow:0 12px 28px #0008;z-index:1100;}
.language-switcher__options a {display:block;color:#fff;text-decoration:none;padding:11px 14px;border-radius:6px;white-space:nowrap;}
.language-switcher__options a:hover,.language-switcher__options a[aria-current] {background:#e4374f;}
@media(max-width:480px){.header__container {gap:8px;}.language-switcher summary {padding:8px;font-size:12px;}.header__actions-mobile {margin-left:auto;}.language-switcher {order:0;}.header__logo {margin-right:auto;}}
@media(max-width:768px){.header__logo {order:-1;}.language-switcher {order:0;}}

/* Keep the language control immediately before the login actions. */
.header__container {justify-content:flex-start;}
.header__logo {order:0;margin-right:auto;}
.header__nav,.language-switcher,.header__actions,.header__actions-mobile,.burger {order:0;}
.language-switcher {margin-left:8px;}

@media(max-width:768px){.language-switcher {margin-left:0;}.header__actions-mobile {margin-left:0;}}
@media(max-width:480px){.header__container {gap:6px;}.language-switcher summary {gap:4px;padding:6px;}.header__logo img {max-width:80px;height:auto;}.burger {width:28px;flex-shrink:0;}.header__actions-mobile .btn {padding:5px 6px;}.language-switcher__options {left:auto;right:0;}}

