#pes-language-switcher{position:fixed;right:20px;bottom:20px;z-index:9999;display:flex;gap:4px;padding:5px;border:1px solid #cbd7e0;border-radius:12px;background:#fff;box-shadow:0 4px 20px #08243826;font-family:Arial,sans-serif}
#pes-language-switcher a{display:flex;align-items:center;gap:7px;padding:9px 12px;min-height:42px;color:#17334c;text-decoration:none;font-size:14px;font-weight:700;border-radius:8px;line-height:1.2;white-space:nowrap}
#pes-language-switcher a[aria-current=true]{background:#143c59;color:#fff}
#pes-language-switcher a:hover{background:#e7eff5;color:#143c59}
#pes-language-switcher a:focus-visible{outline:3px solid #e3ad3c;outline-offset:2px}
#pes-language-switcher img{display:block;width:24px;height:16px;object-fit:cover;border:1px solid #00000014;border-radius:2px}
html[lang=en] .catalog-tabs .shell,html[lang=kk] .catalog-tabs .shell{flex-wrap:wrap}
@media(max-width:600px){#pes-language-switcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));}#pes-language-switcher a{padding:8px 10px}body{padding-bottom:72px}}

@media(max-width:380px){#pes-language-switcher{right:8px;gap:2px;padding:4px}#pes-language-switcher a{padding:8px 7px;gap:5px;font-size:13px}}

/* PES client portal: shared navigation across RU / EN / KK. */
a.pes-portal-login{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 11px;border:1px solid #236787;border-radius:8px;color:#174763!important;font-size:12px;font-weight:700;line-height:1.25;text-decoration:none;white-space:nowrap;background:#eef6fa}
a.pes-portal-login:hover{background:#dceef6}
a.pes-portal-login:focus-visible{outline:3px solid #e3ad3c;outline-offset:3px}
.mobile-navigation a.pes-portal-login{min-height:46px;margin-top:8px}
.catalog-top-inner>.pes-portal-login{margin-left:auto}
@media(min-width:1121px) and (max-width:1499px){.desktop-nav{gap:10px!important}.desktop-nav>a,.desktop-nav>details>summary{font-size:12px!important}.desktop-nav>.pes-portal-login{font-size:11px!important;padding:7px 8px}.header-phones{font-size:11px!important}}

a.pes-portal-direct{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 12px;border:1px solid #9dec47;background:#9dec47;color:#152720!important;border-radius:9px;font-size:12px;font-weight:750;line-height:1.2;text-decoration:none;white-space:nowrap}
a.pes-portal-direct:hover{background:#b1f06e}
a.pes-portal-direct:focus-visible{outline:3px solid #fff;outline-offset:3px}
.pes-portal-short{display:none}
@media(max-width:640px){.site-header .header-inner{gap:10px}.site-header .brand{gap:8px;min-width:0}.site-header .brand-mark{width:30px;height:30px}.site-header .brand-copy strong{font-size:14px}.site-header .brand-copy small,.site-header .header-phones{display:none}.pes-portal-full{display:none}.pes-portal-short{display:inline}a.pes-portal-direct{gap:5px;padding:8px;min-height:42px;font-size:11px;margin-left:auto}.site-header .navigation-mobile{margin-left:0}}
