/* Knight Shot language switcher "English | العربية" (16.11.2026). Loaded on EN and AR pages. */
.lsw{display:inline-flex;align-items:center;gap:6px;font:500 14px/1 var(--font-u,system-ui,sans-serif);letter-spacing:0;margin-inline:4px 2px;white-space:nowrap}
.lsw a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;color:var(--fg-dim,#AFB5AC);text-decoration:none;border-radius:8px}
.lsw a:hover,.lsw a:focus-visible{color:var(--fg,#EDEAE2)}
.lsw a[aria-current]{color:var(--fg,#EDEAE2);font-weight:600;pointer-events:none}
.lsw a[lang="ar"]{font-family:"IBM Plex Sans Arabic",var(--font-u,system-ui,sans-serif);font-size:15px}
.lsw-s{color:var(--fg-faint,#79817A)}
.lsw-f{margin:0 0 6px;font-size:13px}
.lsw-x{display:none}
/* phone: only the OTHER language, compact, so the header row keeps logo, search, cart, WhatsApp */
@media (max-width:760px){
  .shdr .lsw a[aria-current],.shdr .lsw .lsw-s{display:none}
  .shdr .lsw{margin-inline:0}
  .shdr .lsw a{padding:0 4px;font-size:13px}
  .shdr .lsw a[lang="ar"]{font-size:14px}
  .shdr .lsw .lsw-l{display:none}
  .shdr .lsw .lsw-x{display:inline}
}
/* mobile drawer (filled by kit.js; lang.js adds this row) */
.md-lsw{display:flex;gap:10px;align-items:center;padding:12px 16px;border-top:1px solid rgba(255,255,255,.08)}
.md-lsw a{min-height:44px;display:inline-flex;align-items:center;color:var(--fg,#EDEAE2);text-decoration:none}
.md-lsw a[aria-current]{font-weight:600;text-decoration:underline;text-underline-offset:4px}
.md-lsw a[lang="ar"]{font-family:"IBM Plex Sans Arabic",system-ui,sans-serif}
/* staging-only note (never in the release build) */
.ar-stg{position:relative;z-index:5;background:#3a2a07;color:#f3d48a;font:500 13px/1.5 "IBM Plex Sans Arabic",var(--font-u,system-ui),sans-serif;text-align:center;padding:10px 16px}
/* Farheen #53690: the switcher must never squeeze the logo or the "Knight Shot" title (was "Knight S…" at 360–414 next to the
   store pill). Phones: title never shrinks; the room comes from a tighter row (padding/gaps), 40/38 px icon buttons and a
   compact EN/عربي button; ≤380 px the pill drops its dot. Store pill, search and cart stay visible. Only rows WITH the switcher. */
@media (max-width:620px){
  .shdr-row:has(.lsw) .logo{flex:0 0 auto}
  .shdr-row:has(.lsw) .logo span{overflow:visible;text-overflow:clip;max-width:none}
  .shdr-row:has(.lsw) .market{flex:0 1 auto;min-width:0}
}
@media (max-width:440px){
  .shdr-row:has(.lsw){padding-inline:12px;gap:3px}
  .shdr-row:has(.lsw) .logo{gap:6px}
  .shdr-row:has(.lsw) :is(.mbtn,.ssw,.qbtn){min-width:40px;width:40px;padding-inline:0;justify-content:center}
  .shdr-row:has(.lsw) .market{padding-inline:.5em}
  .shdr .lsw a{min-width:28px;padding:0 3px;justify-content:center}
}
@media (max-width:380px){
  .shdr-row:has(.lsw) :is(.mbtn,.ssw,.qbtn){min-width:38px;width:38px}
  .shdr-row:has(.lsw) .market .mdot{display:none}
  .shdr-row:has(.lsw) .logo :is(.ks-mark,svg){width:28px;height:33px}
}
/* Hasnat #56113 (16.11.2026): one-row brand header (>=1280 px, shop/head.css widefix) + switcher = the nav ran 29–31 px into
   the search box ("Contact" over the field). Only headers WITH the switcher: nav never shrinks, the search takes the squeeze. */
@media (min-width:1280px){
  .shdr:has(>.bnav):has(.lsw)>.bnav{flex:0 0 auto}
  .shdr:has(>.bnav):has(.lsw) .ssearch{flex:0 1 300px;min-width:140px;margin-inline-start:4px}
}
@media (min-width:1280px) and (max-width:1439px){
  .shdr:has(>.bnav):has(.lsw) .ssearch{flex-basis:240px}
  .shdr:has(>.bnav):has(.lsw)>.bnav .snav-row{gap:0}
}
