/* lw-translate: переключатель языков в шапке. Тема-нейтрально (currentColor), без завязки на палитру. */
.lwt-lang{position:relative;display:inline-block}
.lwt-lang>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.35em;
  padding:.28em .6em;border:1px solid currentColor;border-radius:999px;font-size:.82rem;line-height:1;
  opacity:.85;user-select:none;white-space:nowrap}
.lwt-lang>summary::-webkit-details-marker{display:none}
.lwt-lang>summary::after{content:"";width:.42em;height:.42em;border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);opacity:.7}
.lwt-lang[open]>summary{opacity:1}
.lwt-lang-cur{font-weight:600;letter-spacing:.03em}
.lwt-lang-menu{position:absolute;right:0;top:calc(100% + .4em);z-index:60;margin:0;padding:.3em;
  min-width:12em;list-style:none;border-radius:.6em;background:#fff;color:#111;
  box-shadow:0 8px 30px rgba(0,0,0,.16),0 1px 3px rgba(0,0,0,.12)}
.lwt-lang-menu li{margin:0}
.lwt-lang-menu a{display:flex;align-items:baseline;gap:.5em;padding:.5em .7em;border-radius:.4em;
  text-decoration:none;color:inherit;font-size:.9rem}
.lwt-lang-menu a b{min-width:1.9em;opacity:.6;font-weight:600;font-size:.78rem}
.lwt-lang-menu a:hover{background:rgba(0,0,0,.06)}
.lwt-lang-menu li.on a{font-weight:600}
.lwt-lang-menu li.on a b{opacity:1}
/* Тёмная тема витрины */
:root[data-theme="dark"] .lwt-lang-menu{background:#1c1f26;color:#e8eaed;
  box-shadow:0 8px 30px rgba(0,0,0,.5),0 1px 3px rgba(0,0,0,.4)}
:root[data-theme="dark"] .lwt-lang-menu a:hover{background:rgba(255,255,255,.08)}
