.nsm-switcher{--nsm-bg:#fff;--nsm-fg:#242933;--nsm-hover:#f0f3f7;--nsm-active:#e9eef5;--nsm-border:#dce1e7;--nsm-radius:10px;--nsm-pad:10px;--nsm-gap:9px;--nsm-flag-width:24px;--nsm-shadow:0 6px 24px #17233520;--nsm-flag-ring:#0003;color-scheme:light;display:inline-flex;max-width:100%;font:500 var(--nsm-font,14px)/1.35 system-ui,sans-serif;color:var(--nsm-fg);text-align:start;box-sizing:border-box}
.nsm-switcher.nsm-dark{--nsm-bg:#252931;--nsm-fg:#fff;--nsm-hover:#393e48;--nsm-active:#404654;--nsm-border:#505661;--nsm-shadow:0 6px 24px #0006;--nsm-flag-ring:#ffffff40;color-scheme:dark}
.nsm-switcher *, .nsm-switcher *::before,.nsm-switcher *::after{box-sizing:border-box}
.nsm-switcher .nsm-list{list-style:none!important;margin:0!important;padding:4px!important;background:var(--nsm-bg);border:1px solid var(--nsm-border);border-radius:var(--nsm-radius);min-width:0}
.nsm-switcher .nsm-list li{list-style:none!important;margin:0!important;padding:0!important;line-height:inherit}
.nsm-switcher .nsm-list li::before{content:none!important}
.nsm-switcher .nsm-option,.nsm-switcher .nsm-trigger{display:flex;align-items:center;gap:var(--nsm-gap);padding:var(--nsm-pad);color:var(--nsm-fg);text-decoration:none!important;white-space:nowrap;border-radius:calc(var(--nsm-radius) * .7);line-height:inherit;font:inherit;min-height:44px;cursor:pointer}
.nsm-switcher .nsm-option:hover,.nsm-switcher .nsm-trigger:hover{background:var(--nsm-hover);color:var(--nsm-fg)}
.nsm-switcher .nsm-option[aria-current=page]{background:var(--nsm-active);font-weight:600}
.nsm-switcher .nsm-option:focus-visible,.nsm-switcher .nsm-trigger:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.nsm-switcher img.nsm-flag{display:block;flex:0 0 auto;width:var(--nsm-flag-width);height:var(--nsm-flag-width);aspect-ratio:1;object-fit:cover;object-position:center center;max-width:none;border-radius:50%;margin:0!important;box-shadow:0 0 0 1px var(--nsm-flag-ring);background:transparent;padding:0}
.nsm-switcher .nsm-details{position:relative;display:block;max-width:100%}
.nsm-switcher .nsm-trigger{background:var(--nsm-bg);border:1px solid var(--nsm-border);border-radius:var(--nsm-radius);box-shadow:var(--nsm-shadow);list-style:none}
.nsm-switcher .nsm-trigger::-webkit-details-marker{display:none}
.nsm-switcher .nsm-trigger::marker{content:''}
.nsm-switcher .nsm-chevron{flex:0 0 12px;transition:transform .15s ease;margin-inline-start:4px}
.nsm-switcher details[open] .nsm-chevron{transform:rotate(180deg)}
.nsm-switcher.nsm-dropdown .nsm-list{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:2;min-width:100%;max-width:min(calc(100vw - 24px),var(--nsm-max-width,320px));max-height:min(55vh,var(--nsm-max-height,360px));overflow:auto;box-shadow:var(--nsm-shadow)}
.nsm-switcher.nsm-open-up .nsm-list{top:auto;bottom:calc(100% + 6px)}
.nsm-switcher.nsm-inline .nsm-list{display:flex;align-items:center;flex-wrap:wrap;gap:2px}
.nsm-switcher.nsm-inline .nsm-list .nsm-option{min-height:44px}
.nsm-switcher.nsm-pos-bottom-right,.nsm-switcher.nsm-pos-bottom-left,.nsm-switcher.nsm-pos-top-right,.nsm-switcher.nsm-pos-top-left{position:fixed;z-index:var(--nsm-z,9999);max-width:calc(100vw - 24px)}
.nsm-switcher.nsm-pos-bottom-right,.nsm-switcher.nsm-pos-top-right{right:max(var(--nsm-x),env(safe-area-inset-right))}
.nsm-switcher.nsm-pos-bottom-left,.nsm-switcher.nsm-pos-top-left{left:max(var(--nsm-x),env(safe-area-inset-left))}
.nsm-switcher.nsm-pos-bottom-right,.nsm-switcher.nsm-pos-bottom-left{bottom:max(var(--nsm-y),env(safe-area-inset-bottom))}
.nsm-switcher.nsm-pos-top-right,.nsm-switcher.nsm-pos-top-left{top:max(var(--nsm-y),env(safe-area-inset-top))}
.nsm-switcher.nsm-pos-bottom-left .nsm-list,.nsm-switcher.nsm-pos-top-left .nsm-list{inset-inline-start:0;inset-inline-end:auto}
.nsm-switcher.nsm-pos-bottom-left .nsm-list,.nsm-switcher.nsm-pos-bottom-right .nsm-list,.nsm-switcher.nsm-pos-top-left .nsm-list,.nsm-switcher.nsm-pos-top-right .nsm-list{box-shadow:var(--nsm-shadow)}
@media(max-width:767px){.nsm-switcher.nsm-mobile-hide{display:none!important}.nsm-switcher.nsm-pos-bottom-right,.nsm-switcher.nsm-pos-top-right{right:max(min(var(--nsm-x),24px),env(safe-area-inset-right))}.nsm-switcher.nsm-pos-bottom-left,.nsm-switcher.nsm-pos-top-left{left:max(min(var(--nsm-x),24px),env(safe-area-inset-left))}}
@media(prefers-reduced-motion:reduce){.nsm-switcher .nsm-chevron{transition:none}}

/* Long language catalog: scroll vertically and keep labels readable. */
.nsm-switcher.nsm-dropdown .nsm-list{width:max-content;overscroll-behavior:contain;scrollbar-width:thin}
.nsm-switcher .nsm-label{white-space:normal;overflow-wrap:anywhere}

/* Circular selector uses original 1x1 artwork when available so the flag fills the circle cleanly. */
.nsm-switcher img.nsm-flag-1x1{object-fit:cover;object-position:center center}
.nsm-switcher img.nsm-flag-4x3{object-fit:cover;object-position:center center}

/* Color modes: explicit link states resist theme defaults; custom Elementor variables remain supported. */
.nsm-switcher .nsm-option:link,.nsm-switcher .nsm-option:visited,.nsm-switcher .nsm-trigger{color:var(--nsm-fg)}
.nsm-switcher .nsm-label,.nsm-switcher .nsm-chevron{color:inherit}
.nsm-switcher .nsm-option[aria-current="page"]{color:var(--nsm-active-fg,var(--nsm-fg));background:var(--nsm-active)}
.nsm-switcher .nsm-option:hover,.nsm-switcher .nsm-trigger:hover{background:var(--nsm-hover);color:var(--nsm-hover-fg,var(--nsm-fg))}
.nsm-switcher .nsm-option[aria-current="page"]:hover{color:var(--nsm-hover-fg,var(--nsm-active-fg,var(--nsm-fg)))}
.nsm-switcher .nsm-option:focus-visible,.nsm-switcher .nsm-trigger:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
/* Original SVG artwork is preserved in both light and dark modes. */

/* Independent device presentations; inherited tablet settings flow to phone. */
.nsm-switcher.nsm-device-tablet,.nsm-switcher.nsm-device-phone{display:none!important}
@media (min-width:768px) and (max-width:1024px){.nsm-switcher.nsm-device-desktop{display:none!important}.nsm-switcher.nsm-device-tablet{display:inline-flex!important}}
@media (max-width:767px){.nsm-switcher.nsm-device-desktop{display:none!important}.nsm-switcher.nsm-device-phone:not(.nsm-mobile-hide){display:inline-flex!important}}
.nsm-switcher .nsm-unavailable{opacity:.60;cursor:default}
.nsm-switcher .nsm-unavailable:hover{background:transparent}
.nsm-switcher img.nsm-flag{padding:0!important;max-width:none!important;min-width:0;object-fit:cover!important;border-radius:50%!important;aspect-ratio:1;flex-shrink:0}
.nsm-switcher .nsm-list{min-width:0}
.nsm-switcher.nsm-dropdown .nsm-list{min-width:min(100%,var(--nsm-max-width,320px));max-width:min(calc(100vw - 24px),var(--nsm-max-width,320px));}
.nsm-switcher .nsm-trigger,.nsm-switcher .nsm-option{min-width:44px;white-space:normal;overflow-wrap:anywhere}
.nsm-menu-item .nsm-switcher{vertical-align:middle}
.nsm-menu-item .nsm-switcher .nsm-option{position:static}
.nsm-switcher.nsm-pos-inline{position:relative;z-index:auto}
.nsm-switcher.nsm-pos-inline:has(details[open]){z-index:var(--nsm-z,9999)}

/* Native disclosure must not be exposed by theme list overrides. */
.nsm-switcher .nsm-details:not([open]) > .nsm-list{display:none!important}
.nsm-switcher .nsm-details[open] > .nsm-list{display:block!important;visibility:visible;opacity:1}
.nsm-switcher .nsm-trigger{touch-action:manipulation}
.nsm-switcher .nsm-list{float:none;text-indent:0}
