.header-actions .lang-switch,
.nav-languages .lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  inset: auto;
}
.lang-switch details { position: relative; }
.lang-switch summary,
.lang-switch .lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #008bad;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { content: ""; }
.lang-caret {
  width: 6px;
  height: 6px;
  margin-inline-start: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}
.lang-switch details[open] .lang-caret { transform: translateY(2px) rotate(225deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  min-width: 148px;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #e8ecee;
  box-shadow: 0 12px 30px rgba(22, 37, 45, .08);
}
header nav .nav-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.lang-switch a,
.lang-switch .is-disabled {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  white-space: nowrap;
}
.lang-switch img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(22, 37, 45, .15);
}
.lang-switch a {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
}
.lang-switch a[aria-current="page"] { color: #008bad; }
.lang-switch .is-disabled { opacity: .4; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.lang-switch a:hover { background: #f4f7f8; }
.nav-languages { display: none; }
@media (max-width: 1150px) {
  header nav .nav-label { font-size: 12px; }
}
@media (max-width: 900px) {
  header nav.open .nav-languages { display: block; margin-top: 12px; }
  header nav.open .nav-languages .lang-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  header nav.open .nav-languages .lang-switch a,
  header nav.open .nav-languages .lang-switch .is-disabled { padding: 6px 0; }
  .header-actions .btn { white-space: nowrap; }
}
@media (max-width: 640px) {
  .logo { width: 118px; }
  .header-actions { gap: 6px; }
  .header-actions .lang-switch { max-width: none; }
  .header-actions .lang-switch summary,
  .header-actions .lang-switch .lang-current,
  .header-actions .lang-switch a { font-size: 11px; }
  .header-actions .btn { font-size: 11px; padding: 10px 8px; gap: 6px; white-space: nowrap; }
}
[dir="rtl"] .header-actions { margin-left: 0; margin-inline-start: auto; }
[dir="rtl"] .arrow,
[dir="rtl"] .slider-controls button,
[dir="rtl"] .text-link .arrow,
[dir="rtl"] .btn .arrow,
[dir="rtl"] .article-line > span.arrow {
  display: inline-block;
  transform: scaleX(-1);
}
[dir="rtl"] .logo img,
[dir="rtl"] .footer-logo,
[dir="rtl"] .hero-machine,
[dir="rtl"] .product-photo img,
[dir="rtl"] .band-image img,
[dir="rtl"] .article-cover img {
  transform: none;
}
[dir="rtl"] .hero-label { left: auto; inset-inline-start: auto; inset-inline-end: 15px; right: 15px; }
[dir="rtl"] .hero-machine { left: auto; right: -1%; }
