/* Translation-friendly layout; prices and codes keep their original direction. */
:root{--language-line-height:1.5}
.language-picker{display:flex;align-items:center;justify-content:flex-end;gap:8px;max-width:1200px;margin:0 auto 16px;font:500 12px/1.4 system-ui,sans-serif;color:inherit}
.language-picker select{max-width:145px;min-height:44px;padding:7px 10px;border:1px solid #78978566;border-radius:12px;background:#fffaf5;color:#17271f;font:inherit}
#login-screen .language-picker{margin-bottom:16px}
html:not([lang="en"]) :is(button,label,.profile-settings-row,.you-tab-label){white-space:normal;overflow-wrap:anywhere}
html:not([lang="en"]) :is(.profile-subview-header h2,.you-tab-label){line-height:1.25}
.profile-heading>.profile-avatar{flex:0 0 44px;width:44px;height:44px;aspect-ratio:1;align-self:center}
.profile-heading .eyebrow{text-transform:none}
.profile-heading>div:not(.profile-avatar){min-width:0;flex:1}
html:not([lang="en"]) .profile-heading h2{font-size:clamp(21px,6vw,27px);line-height:1.25;overflow-wrap:anywhere}
html:not([lang="en"]) .profile-picture-trigger{margin-inline-start:6px;margin-inline-end:0}
html:not([lang="en"]) .you-tab-label{font-size:clamp(10px,2.7vw,13px)}
html:not([lang="en"]) :is(.tab,.store-chip,.food-cuisine-chip){flex-shrink:0}
html[dir="rtl"] body{font-family:"Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif}
html[dir="rtl"] :is(.item-copy,.catalog-item,.cart-row-copy,.profile-fields label,.buy-list-copy,.friend-row){text-align:start}
html[dir="rtl"] :is(input[type="email"],input[type="url"],#friends-code-value,.subscription-metric strong,#global-cart-total,#bill-total,#bill-subtotal){direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] :is(.back,.product-back,.orders-back,.profile-subview-back){transform:scaleX(-1)}
html[dir="rtl"] :is(.release-slider,.release-slide-thumb,.release-slide-fill,.download-release-slider){direction:ltr}
html[dir="rtl"] .release-slide-label{direction:rtl;unicode-bidi:isolate}
html[dir="rtl"] .brand{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .profile-settings-arrow{margin-inline-start:auto;margin-inline-end:0;transform:scaleX(-1)}
html[dir="rtl"] .profile-settings-list{padding-inline:0}
html[dir="rtl"] .profile-settings-row{text-align:start}
html[lang="hi"] body{font-family:"Noto Sans Devanagari","Segoe UI",Arial,sans-serif}
html:is([lang="ja"],[lang="zh-CN"],[lang="ko"]) :is(h1,h2,h3){letter-spacing:normal;word-break:normal;line-height:1.3}
