.language-switcher{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 5px;max-width:1400px;margin:0 auto;padding:8px 3%;font:13px/1.4 Arial,Helvetica,sans-serif;background:#fff;color:#333}
.language-switcher a{display:inline-block;color:#444;border:1px solid transparent;border-radius:3px;padding:7px 10px;text-decoration:none;min-height:34px}
.language-switcher a:hover{color:#000099;background:#f3f3f8;border-color:#ddd;text-decoration:none}
.language-switcher a[aria-current=page]{font-weight:bold;color:#000099;border-color:#000099;background:#f3f3ff}
.language-switcher a:focus-visible{outline:3px solid #035bbc;outline-offset:2px}
html:not([lang=cs]) .brick-nav img{width:150px;height:55px;object-fit:contain}
html:not([lang=cs]) .shortcuts a{max-width:220px;overflow-wrap:anywhere}
.info-cards.wholesale-contact{grid-template-columns:minmax(0,680px);justify-content:center}
html:not([lang=cs]) .filter-sort select{max-width:260px}
@media(max-width:1050px){html:not([lang=cs]) .brick-nav img{width:125px;height:auto}}
@media(max-width:720px){.language-switcher{justify-content:center;gap:3px;padding:8px 6px;font-size:12px}.language-switcher a{padding:7px 8px}html:not([lang=cs]) .brick-nav img{width:105px;height:auto}html:not([lang=cs]) .shortcuts a{max-width:180px}}
@media(max-width:400px){html:not([lang=cs]) .brick-nav img{width:96px}}
@media print{.language-switcher{display:none!important}}

/* Compact language codes next to search. Outside the header, legacy links keep their fallback layout. */
.site-search .language-switcher{display:flex;align-items:center;justify-content:center;flex:0 0 auto;flex-wrap:nowrap;gap:2px;max-width:none;margin:0;padding:0;background:transparent;font:600 11px/1.2 Arial,Helvetica,sans-serif}
.site-search .language-switcher a{display:flex;align-items:center;justify-content:center;flex:0 0 32px;min-width:32px;min-height:32px;padding:5px 0;border:1px solid transparent;border-radius:4px;text-decoration:none;white-space:nowrap;color:#555}
.site-search .language-switcher a:hover{color:#000099;background:#f1f3fa;border-color:#d5dbed}
.site-search .language-switcher a[aria-current=page]{color:#fff;background:#000099;border-color:#000099;font-weight:700}
.site-search .language-switcher a:focus-visible{outline:3px solid #035bbc;outline-offset:2px}
@media(max-width:640px){
 .site-search .language-switcher{flex:0 0 100%;order:3;width:100%;gap:2px;font-size:12px}
 .site-search .language-switcher a{flex:1 1 28px;min-width:28px;max-width:40px;min-height:36px}
}

.site-search .language-switcher-select{display:none}
@media(max-width:640px){
 .site-search .language-switcher.has-language-select{flex:0 0 auto;order:0;width:auto}
 .site-search .language-switcher.has-language-select>a{display:none}
 .site-search .language-switcher .language-switcher-select{display:block;box-sizing:border-box;width:56px;min-height:44px;margin:0;padding:6px 3px 6px 8px;border:1px solid #bdc7dc;border-radius:5px;background:#fff;color:#000099;font:700 12px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
 .site-search .language-switcher-select:focus-visible{outline:3px solid #035bbc;outline-offset:2px}
}
