/* Language button and menu, shared by every page. */
.lang-btn{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 9px;border:1px solid #2c2e39;border-radius:8px;background:transparent;color:#d4d2e4;font:inherit;font-size:12px;font-weight:600;letter-spacing:.02em;cursor:pointer;line-height:1}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{border-color:#44475a;color:#f6f5ff;background:#ffffff0a}
.lang-btn:focus-visible{outline:2px solid #8e88ff;outline-offset:2px}
.lang-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lang-pop{position:fixed;z-index:1000;display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:2px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:8px;border:1px solid #2c2e39;border-radius:12px;background:#17181e;box-shadow:0 18px 50px #0009;font-family:Inter,"Segoe UI",Arial,sans-serif}
.lang-pop button{display:flex;align-items:center;gap:8px;padding:9px 12px;border:0;border-radius:7px;background:transparent;color:#d4d2e4;font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer;white-space:nowrap}
.lang-pop button:hover,.lang-pop button:focus-visible{background:#ffffff0f;color:#fff;outline:none}
.lang-pop button[aria-checked="true"]{color:#fff}
.lang-pop button[aria-checked="true"]::before{content:"✓";color:#8fe8c9;width:12px}
.lang-pop button[aria-checked="false"]::before{content:"";width:12px}
@media (max-width:420px){.lang-pop{grid-template-columns:1fr}}
/* Spot for the button on the dashboard sign-in page and checkout header. */
.lx-lang{margin-top:14px}
