/* Local language-review surface; original buyer workflow remains intact. */
.languagebar button{padding:9px 10px;min-height:36px;white-space:nowrap}.languagebar #language-more{min-width:50px}.prototypebadge{max-width:calc(100vw - 195px);overflow-wrap:anywhere;text-align:center;line-height:1.35}.i18n-review-banner{position:fixed;z-index:35;left:22px;top:74px;max-width:calc(100vw - 44px);color:#e9d6a6;background:#1b2934e8;border:1px solid #8d7953;border-radius:8px;padding:5px 10px;font:11px/1.4 system-ui;pointer-events:none}#language-dialog{box-sizing:border-box;max-width:none;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #8ac8d9;border-radius:18px;background:#0d2537;color:#e0f4f7;overflow:auto;font:15px/1.5 system-ui}#language-dialog::backdrop{background:#020a12cc;backdrop-filter:blur(6px)}#language-dialog *{box-sizing:border-box}#language-dialog button{font:600 14px/1.35 system-ui;min-height:44px;padding:10px 12px;border:1px solid #507c90;border-radius:9px;background:#143a51;color:#e6f6f7;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.language-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.language-heading h2{font:700 24px/1.25 system-ui;margin:0 0 10px;overflow-wrap:anywhere}.language-heading button{min-width:44px}.language-note,#language-status{font-size:12px;color:#aac9d5;line-height:1.5}#language-dialog label{display:block;font-size:12px}#language-search{display:block;width:100%;padding:12px;border:1px solid #6698ac;border-radius:8px;background:#071a29;color:#edf9f9;font:16px system-ui;margin:6px 0 12px}.language-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.language-grid button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.language-grid button small{font-size:10px;color:#9abfca}.language-grid button[aria-pressed=true]{background:#225e66;border-color:#80dcc5}.language-grid button[hidden],#language-empty[hidden]{display:none!important}#language-dialog :focus-visible{outline:3px solid #efc878;outline-offset:2px}.phone button{overflow-wrap:anywhere}.phone .setupbanner button{white-space:normal}.phone .detailhead h2{overflow-wrap:anywhere;min-width:0}.phone .closepanel{flex-shrink:0}.phone .warehousefilter label{overflow-wrap:anywhere}.phone .offer span{gap:8px;flex-wrap:wrap}.phone .offer b{white-space:nowrap}.legal{overflow-wrap:anywhere}.phone .detailcontent{overflow-x:hidden}.sitefooter{z-index:40}.phone-position-reset{max-width:220px;overflow-wrap:anywhere}@media(max-width:540px){.languagebar button{padding:8px 8px;font-size:11px}.languagebar #language-more{min-width:48px}.prototypebadge{max-width:calc(100vw - 165px);font-size:11px;padding:10px 8px}.i18n-review-banner{left:12px;top:70px;font-size:10px;padding:4px 8px}.buyerphone.phone{margin-top:112px}#language-dialog{width:100%;max-width:100%;max-height:94dvh;margin:auto 0 0;border-radius:18px 18px 0 0;padding:18px 14px}.language-heading h2{font-size:22px}.language-grid{gap:7px}.language-grid button{font-size:13px;padding:10px 8px}.phone .action,.phone .reset{line-height:1.4}.phone .setupbanner button{font-size:11px;line-height:1.4}}
.language-grid button small{flex-shrink:0;white-space:nowrap}.language-grid button span{min-width:0}.language-heading{position:sticky;top:-24px;background:#0d2537;z-index:2;padding-top:3px;padding-bottom:5px}@media(max-width:540px){.language-heading{top:-18px}}@media(max-width:360px){.language-grid{grid-template-columns:1fr}.language-grid button{font-size:14px}}

/* Local SVG flags are decorative language-choice symbols, not nationality inference. */
.language-flag{display:inline-block!important;width:24px!important;height:18px!important;object-fit:contain!important;flex:0 0 24px;border-radius:2px;box-shadow:0 0 0 1px #ffffff35}.languagebar{max-width:calc(100vw - 170px)}.languagebar button{gap:7px;min-height:44px}.languagebar #language-more{white-space:normal;text-align:left;max-width:230px}.languagebar #language-more span{min-width:0;overflow-wrap:anywhere}.prototypebadge{left:auto!important;right:22px}.language-grid button{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px}.language-grid button span{overflow-wrap:normal;hyphens:auto}@media(max-width:540px){.languagebar{max-width:calc(100vw - 125px)}.languagebar [data-language]{display:none}.languagebar #language-more{font-size:13px;padding:8px 10px;max-width:100%}.prototypebadge{right:12px;max-width:100px;font-size:11px;letter-spacing:.3px}}@media(max-width:480px){.language-grid{grid-template-columns:1fr}.language-grid button{font-size:14px}}

/* Shared Modern Standard Arabic; regional choices are not dialect translations. */
html[dir=rtl] .glass,html[dir=rtl] .detail,html[dir=rtl] .legalbody,html[dir=rtl] #language-dialog{direction:rtl;text-align:right}
html[dir=rtl] .languagebar{direction:rtl}html[dir=rtl] #language-more{text-align:right}
html[dir=rtl] .language-grid button{text-align:start}html[dir=rtl] .language-grid button span{unicode-bidi:plaintext}
html[dir=rtl] .language-heading,html[dir=rtl] .detailhead{direction:rtl}
html[dir=rtl] .phone .tile{text-align:right}html[dir=rtl] .phone .checkrow{text-align:right}
html[dir=rtl] .phone .setupbanner,html[dir=rtl] .phone .processintro{text-align:right}
html[dir=rtl] input[type=number],html[dir=rtl] input[type=date],html[dir=rtl] .offer b,html[dir=rtl] .heroqty,html[dir=rtl] .routevisual,html[dir=rtl] .stockmeter,html[dir=rtl] time,html[dir=rtl] #localdate{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] a[href^="mailto:"],html[dir=rtl] .language-grid small{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .phone .fine,html[dir=rtl] .phone p{line-height:1.8}
html[dir=rtl] .phone .tile b{line-height:1.5}html[dir=rtl] .brandclaim{line-height:1.6}
html[dir=rtl] .languagebar #language-more{max-width:290px;line-height:1.5}
@media(max-width:540px){html[dir=rtl] .languagebar #language-more{font-size:12px;max-width:100%}html[dir=rtl] .languagebar{max-width:calc(100vw - 125px)}}
html[dir=rtl] .phone,html[dir=rtl] .phone button,html[dir=rtl] .phone input,html[dir=rtl] .phone select,html[dir=rtl] #language-dialog,html[dir=rtl] #language-dialog button,html[dir=rtl] #language-dialog input,html[dir=rtl] .languagebar,html[dir=rtl] .languagebar button{font-family:"Noto Sans Arabic","Noto Naskh Arabic",Tahoma,Arial,sans-serif}html[dir=rtl] #localzone{direction:ltr;unicode-bidi:isolate}
/* Keep fixed page controls from covering RTL modal headers after focus scrolling. */
html[dir=rtl]:has(.detail.open) .languagebar,html[dir=rtl]:has(.detail.open) .prototypebadge{visibility:hidden}
