/* Khalsa Translation only. Never change body, header, theme, Elementor or wp-admin. */
.slm-switcher,.slm-switcher *{box-sizing:border-box}
.slm-switcher{display:block;width:max-content;position:fixed!important;bottom:calc(var(--slm-offset-y,45px) + env(safe-area-inset-bottom,0px));z-index:var(--slm-z-index,99980);direction:ltr;font-family:inherit;font-size:var(--slm-font-size,16px);line-height:1.5;max-width:calc(100vw - 24px)}
.slm-switcher.slm-left{left:calc(var(--slm-offset-x,0px) + env(safe-area-inset-left,0px));right:auto}
.slm-switcher.slm-right{right:calc(var(--slm-offset-x,0px) + env(safe-area-inset-right,0px));left:auto}
.slm-switcher .slm-toggle{list-style:none;appearance:none;display:inline-flex;gap:var(--slm-icon-gap,10px);align-items:center;justify-content:center;cursor:pointer;max-width:100%;min-height:48px;padding:var(--slm-pad-y,12px) var(--slm-pad-x,18px);border:var(--slm-border-width,1px) solid var(--slm-border-color,#cbd5e1);border-radius:var(--slm-radius,30px);background:var(--slm-button-bg,#fff);color:var(--slm-button-text,#142b42);font:inherit;font-size:inherit;line-height:1.3;text-align:center;box-shadow:var(--slm-shadow,0 6px 26px rgba(16,35,54,.20));white-space:nowrap;transition:box-shadow .15s ease}
.slm-switcher .slm-toggle:hover{box-shadow:0 4px 24px rgba(16,35,54,.26)}
.slm-switcher .slm-globe{display:block;flex:0 0 22px;width:22px;height:22px;vertical-align:middle}.slm-switcher .slm-chevron{font-size:1em}
.slm-switcher .slm-toggle:focus-visible,.slm-switcher .slm-choices a:focus-visible{outline:3px solid #0a66b2;outline-offset:3px}
.slm-switcher .slm-choices{position:absolute;bottom:calc(100% + var(--slm-panel-gap,10px));left:0;right:auto;width:max-content;min-width:var(--slm-panel-width,240px);max-width:min(420px,calc(100vw - 24px));max-height:min(62vh,480px);overflow:auto;border:1px solid var(--slm-border-color,#cbd5e1);border-radius:var(--slm-panel-radius,14px);background:var(--slm-panel-bg,#fff);color:var(--slm-panel-text,#142b42);box-shadow:var(--slm-shadow,0 6px 26px rgba(16,35,54,.2));overscroll-behavior:contain}
.slm-switcher.slm-right .slm-choices{left:auto;right:0}
.slm-switcher:not([open]) .slm-choices{display:none!important}
.slm-switcher .slm-toggle::-webkit-details-marker{display:none}
.slm-switcher[open]>.slm-toggle .slm-chevron{transform:rotate(180deg)}
.slm-switcher[open] .slm-choices{display:block;visibility:visible;opacity:1;pointer-events:auto}
.slm-switcher .slm-choices a,.slm-switcher .slm-unavailable{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid #edf1f5;color:var(--slm-panel-text,#142b42);font-size:inherit;font-family:inherit;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.slm-switcher .slm-choices a:last-child,.slm-switcher .slm-unavailable:last-child{border-bottom:0}
.slm-switcher .slm-choices a:hover,.slm-switcher .slm-choices a[aria-current=page]{background:var(--slm-accent,#eff6fd)}
.slm-switcher .slm-choices a[aria-current=page]{font-weight:700}
.slm-switcher .slm-unavailable{opacity:.73;cursor:not-allowed}
.slm-switcher .slm-choices small{font-size:16px;line-height:1.4;white-space:normal}
.slm-switcher .slm-flag{flex:0 0 28px;width:28px;height:20px;object-fit:cover;border-radius:2px}
@media(max-width:767px){.slm-switcher{bottom:calc(var(--slm-mobile-y,45px) + var(--slm-mobile-clearance,0px) + env(safe-area-inset-bottom,0px))}.slm-switcher.slm-left{left:calc(var(--slm-mobile-x,0px) + env(safe-area-inset-left,0px))}.slm-switcher.slm-right{right:calc(var(--slm-mobile-x,0px) + env(safe-area-inset-right,0px))}.slm-switcher .slm-choices{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.slm-switcher .slm-toggle{transition:none}}

/* Avoid theme and Elementor button rules: <summary> is a browser-native, script-free control. */
.slm-switcher>.slm-toggle{margin:0!important;text-decoration:none;user-select:none;pointer-events:auto!important;position:relative;z-index:1}
.slm-switcher .slm-choices{z-index:2;pointer-events:auto!important}

/* v6.1.3: native flag-only language control; no visible text on the collapsed toggle. */
.slm-switcher .slm-current-flag{display:inline-block;width:28px;height:20px;flex:0 0 28px;object-fit:cover;vertical-align:middle;border-radius:2px}
.slm-switcher .slm-screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.slm-switcher .slm-choices .slm-flag{margin-inline-end:2px}
/* Ignore old site-level decorative flag overlays when a real flag is rendered. */
html body .slm-switcher .slm-toggle.slm-has-flag::before{display:none!important;content:none!important}
