/* V41 (H-06, owner brief) -- THE header language control: one form (#pbLangSwitch.pb41-lang) with one button naming the other
   language, rendered once per page by _Layout's pbLangCtl helper in the header of every shell (standard / admin / focus / legal),
   visible at every width. Scoped to .pb41-lang / .pb41-focus-end; the feed lab rule is scoped to .pb-feedlab. No other control,
   sidebar, logo or drawer rule is changed here. */
.pb41-lang { display: inline-flex; align-items: center; margin: 0; flex-shrink: 0; }
.pb41-lang .pb41-lang__btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-block-size: var(--pb-touch-target, 48px); min-inline-size: var(--pb-touch-target, 48px);
    padding: 0 12px; border: 1px solid var(--pb-divider, #E5E7EB); border-radius: 9999px;
    background: transparent; color: var(--pb-text-primary, inherit);
    font: inherit; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
}
.pb41-lang .pb41-lang__btn:hover { background: var(--pb-surface-hover, rgba(0, 0, 0, .04)); }
.pb41-lang .pb41-lang__btn:focus-visible { outline: var(--pb-focus-width, 2px) solid var(--pb-focus, currentColor); outline-offset: var(--pb-focus-offset, 2px); }
@media (max-width: 359.98px) {
    .pb41-lang .pb41-lang__btn { padding: 0 8px; font-size: 13px; }
}
/* focus / legal process header: the control follows the process navigation at the inline end */
.pb-header-end.pb41-focus-end { margin-inline-start: 8px; }
html[dir="rtl"] .pb-header-end.pb41-focus-end { margin-inline-start: auto; }
/* feed lab (_FeedLabLayout): its top-bar language pill stays in the header below 768 as well (the theme button keeps its rule) */
@media (max-width: 767.98px) {
    .pb-feedlab .pb-fl-actions .pb-fl-actionform.pb-fl-langform { display: inline-flex; }
}
/* V41 R2 A: the simple-experience header button names itself "Add products" at every width (the old "Create" showed only "+"
   below 1200); below 400 the text is visually hidden (the link keeps its accessible name and title) */
#pbCreateTriggerDesktop .pb41-addp__label { display: inline; white-space: nowrap; }
@media (max-width: 399.98px) {
    #pbCreateTriggerDesktop .pb41-addp__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
