.site-language-switcher {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: min(420px, 100%);
  margin-top: 0;
  padding: 0 6px;
  border-top: 0;
}

.site-language-switcher__label {
  color: #969696;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
}

.site-language-switcher__list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-language-switcher__list a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-language-switcher__list a[aria-current="page"],
.site-language-switcher__list a:hover,
.site-language-switcher__list a:focus-visible {
  color: #fff;
}

.site-language-switcher__list a[aria-current="page"] {
  text-decoration: underline;
}

@media (prefers-reduced-motion: no-preference) {
  .site-language-switcher__list a {
    transition: color 160ms ease;
  }
}

/* Burger picker: typography and colours follow the existing menu footer. */
.header .has-language-picker .site-language-picker {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 5;
  font-family: MuseoSansCyrl, sans-serif;
  font-weight: 300;
}
:is(.header, footer.footer-modern) .site-language-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #969696;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
:is(.header, footer.footer-modern) .site-language-picker__trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(2px) rotate(-45deg);
}
:is(.header, footer.footer-modern) .site-language-picker__globe {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
:is(.header, footer.footer-modern) .site-language-picker__trigger[aria-expanded="true"]::after {
  transform: translateY(-2px) rotate(135deg);
}
:is(.header, footer.footer-modern) .site-language-picker__trigger:hover { color: #fff; }
:is(.header, footer.footer-modern) .site-language-picker__options {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid #3c3c40;
  border-radius: 13px;
  background: #1b1b1e;
  box-shadow: 0 12px 35px #0005;
  color: #ccc;
}
:is(.header, footer.footer-modern) .site-language-picker__options[hidden] { display: none !important; }
:is(.header, footer.footer-modern) .site-language-picker__options li { margin: 0; padding: 0; }
:is(.header, footer.footer-modern) .site-language-picker__options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 7px;
  background: transparent;
  color: #ccc;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
:is(.header, footer.footer-modern) .site-language-picker__options a:hover,
:is(.header, footer.footer-modern) .site-language-picker__options a:focus-visible { background: #29292d; color: #fff; }
:is(.header, footer.footer-modern) .site-language-picker__options a[aria-current="page"] { color: #fff; }
:is(.header, footer.footer-modern) .site-language-picker__options a[aria-current="page"]::after { content: "✓"; }
:is(.header, footer.footer-modern) .site-language-picker button:focus-visible,
:is(.header, footer.footer-modern) .site-language-picker a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 768px) {
  .header .has-language-picker {
    top: var(--burger-visible-top, 0px) !important;
    bottom: auto !important;
    height: var(--burger-visible-height, 100svh) !important;
    min-height: 0 !important;
    max-height: var(--burger-visible-height, 100svh) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
  .header.active .has-language-picker .menu-overlay-logo,
  .header.active.header--collapsed .has-language-picker .menu-overlay-logo {
    position: absolute !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .header.active.header--collapsed .has-language-picker .menu-overlay-logo .header__logo-img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* The menu scrolls as one surface; the picker never covers CTA or phone links. */
  .header .has-language-picker .navigation-new {
    overflow: visible !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 100% !important;
    overscroll-behavior: contain;
    padding: 0 !important;
  }
  .header .has-language-picker .navigation-new__menu {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    margin: 0 !important;
    /* The overlay already follows the visible viewport. Keep only a compact
       bottom gap, at least as large as the device safe area. */
    padding: 115px 36px max(48px, env(safe-area-inset-bottom, 0px)) !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }
  .header .has-language-picker .navigation-new__menu__list-wrapper { width: 100% !important; }
  .header .has-language-picker .navigation-new__list a {
    padding: 6px 0 !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
  }
  .header .has-language-picker .navigation-new__buttons {
    width: 100% !important;
    margin: 28px 0 0 !important;
    gap: 12px !important;
  }
  .header .has-language-picker .navigation-new__button {
    width: min(280px, 100%) !important;
    min-width: 0 !important;
    height: 48px !important;
  }
  .header .has-language-picker .btns__modal[data-v-7050ddb2] {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start !important;
    width: 100% !important;
    gap: 18px !important;
    margin: auto 0 0 !important;
    padding: 28px 0 0 !important;
  }
  .header .has-language-picker .btns__modal .footer-modern__contacts {
    max-width: 100% !important;
    margin: 0 !important;
    order: 0;
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .header .has-language-picker .btns__modal .footer-modern__city-selector { display: flex !important; flex-wrap: wrap; }
  .header .has-language-picker .header-burger-legacy-tel { display: block !important; }
  .header .has-language-picker .btns__modal .footer-modern__phone {
    font-size: 16px !important;
    line-height: 1.4 !important;
    white-space: nowrap;
  }
  .header .has-language-picker .site-language-picker {
    position: relative;
    inset: auto;
    transform: none;
    justify-self: end;
    align-self: start;
    grid-column: 2;
    grid-row: 2;
    order: 1;
    margin: 0 !important;
  }
  .header .has-language-picker .btns__modal[data-v-7050ddb2] .footer-modern__social {
    order: 2;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin: 0 !important;
    justify-content: flex-start !important;
    text-align: left;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-top: 12px;
  }
  .header .has-language-picker .btns__modal[data-v-7050ddb2] .social__header {
    text-align: left !important;
    white-space: nowrap;
  }
  :is(.header, footer.footer-modern) .site-language-picker__trigger { font-size: 14px; min-height: 44px; padding-right: 0; }
  :is(.header, footer.footer-modern) .site-language-picker__options { left: auto; right: 0; transform: none; }
}

/* English menu has no phone column: use its left footer grid line. */
html[lang^="en"] :is(.header, footer.footer-modern) .site-language-picker__trigger {
  font-size: 13px;
  gap: 8px;
}
html[lang^="en"] :is(.header, footer.footer-modern) .site-language-picker__trigger::after {
  width: 6px;
  height: 6px;
}
@media (min-width: 769px) {
  html[lang^="en"] .header .has-language-picker .site-language-picker {
    left: 0;
    transform: none;
  }
  html[lang^="en"] :is(.header, footer.footer-modern) .site-language-picker__trigger { padding-left: 0; }
  html[lang^="en"] :is(.header, footer.footer-modern) .site-language-picker__options { left: 0; transform: none; }
}

/* Desktop page footer: social left, language centred, existing CTA right. */
footer.footer-modern .site-language-picker { display: none; }
@media (min-width: 769px) {
  html[lang^="en"] footer.footer-modern .has-footer-language-picker {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }
  html[lang^="en"] footer.footer-modern .has-footer-language-picker > .footer-modern__contacts { display: none; }
  html[lang^="en"] footer.footer-modern .footer-modern__social {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin-left: 0;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-items: flex-start;
    text-align: left;
  }
  html[lang^="en"] footer.footer-modern .site-language-picker {
    display: block;
    position: relative;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    z-index: 5;
    font-family: MuseoSansCyrl, sans-serif;
    font-weight: 300;
  }
  html[lang^="en"] footer.footer-modern .site-language-picker__options { left: 50%; transform: translateX(-50%); }
}

@media (min-width: 769px) {
  html[lang^="en"] footer.footer-modern .footer-modern__social .social__header {
    text-align: left !important;
  }
  html[lang^="en"] footer.footer-modern .footer-modern__social-icons {
    justify-content: flex-start !important;
  }
}

/* Align the visible language label with the bottom of the social icons. */
@media (min-width: 769px) {
  html[lang^="en"] footer.footer-modern .site-language-picker { align-self: end; }
  html[lang^="en"] footer.footer-modern .site-language-picker__trigger {
    align-items: flex-end;
    padding-bottom: 3px;
  }
  html[lang^="en"] footer.footer-modern .site-language-picker__globe { margin-bottom: 1px; }
  html[lang^="en"] footer.footer-modern .site-language-picker__trigger::after { margin-bottom: 6px; }
}

/* Russian desktop burger: share the bottom line of contacts and social icons. */
@media (min-width: 769px) {
  html[lang^="ru"] .header .has-language-picker .site-language-picker { bottom: 38px; }
  html[lang^="ru"] .header .site-language-picker__trigger {
    align-items: flex-end;
    padding-bottom: 3px;
  }
  html[lang^="ru"] .header .site-language-picker__globe { margin-bottom: 1px; }
  html[lang^="ru"] .header .site-language-picker__trigger::after { margin-bottom: 6px; }
}

/* Lock the document while the independently scrollable burger is open. */
html:has(.new-static-menu.menu-screen-visible),
body.scroll-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Approved country/language burger and animated control. */
.header .btns__modal{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:end!important;gap:36px!important;width:89.2%!important;margin-left:auto!important;margin-right:auto!important}
.header .footer-modern__contacts{grid-column:1;min-width:0!important}
.header .footer-modern__social{grid-column:3;justify-self:end}
.header .br-language{grid-column:2;grid-row:1;justify-self:center;align-self:end}
.header .br-region,.header .br-language{position:relative;font:300 16px MuseoSansCyrl,sans-serif;color:#aaa}
.header .br-region summary,.header .br-language summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;width:max-content;line-height:1.4;min-height:36px}
.header summary::-webkit-details-marker{display:none}
.header .br-label{color:#777;margin-right:8px;font-size:14px}
.header .br-language summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.2}
.header .br-region-panel,.header .br-language-panel{position:absolute;bottom:calc(100% + 12px);background:#232326;border:1px solid #ffffff20;border-radius:14px;padding:8px;box-shadow:0 12px 40px #0006;z-index:30}
.header .br-region-panel{width:280px;left:0}
.header .br-region-panel a{position:relative;display:block;box-sizing:border-box;text-decoration:none;width:100%;text-align:left;padding:14px 36px 14px 14px;color:#ccc;font:inherit;background:none;border:0;border-radius:8px;cursor:pointer;line-height:1.4}
.header .br-region-panel a:hover,.header .br-language-panel a:hover{background:#ffffff0b;color:#fff}
.header .br-region-panel small{display:block;color:#888;font-size:12px;margin-top:6px}
.header .br-region-panel i{position:absolute;right:14px;top:15px;display:none;font-style:normal}
.header .br-region-panel a[aria-current=true] i{display:block}
.header .br-language-panel{width:180px;left:50%;transform:translateX(-50%)}
.header .br-language-panel>a,.header .br-language-panel>span{display:flex;padding:13px 14px;font:inherit;color:#ccc;text-decoration:none;border-radius:8px;justify-content:space-between}
.header .br-language-panel i{font-style:normal}
.header .br-local{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.header .br-phone{font:500 18px MuseoSansCyrl,sans-serif;color:#eee;text-decoration:none}
.header .br-cities{display:flex;flex-wrap:wrap;gap:12px 24px}
.header .br-cities button{font:300 14px MuseoSansCyrl,sans-serif;line-height:1.4;color:#888;border:0;background:none;padding:0;cursor:pointer}
.header .br-cities button[aria-pressed=true]{color:#eee}
.header .br-online{font:300 13px MuseoSansCyrl,sans-serif;color:#888}
@media(max-width:768px){
 .header .new-static-menu{overflow-y:auto!important;overscroll-behavior:contain}
 .header .navigation-new{height:auto!important;min-height:100svh!important;padding-bottom:32px!important}
 .header .btns__modal{grid-template-columns:1fr auto!important;gap:32px 12px!important;width:calc(100% - 48px)!important;padding:0!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important}
 .header .footer-modern__contacts{grid-column:1/-1;grid-row:1}
 .header .footer-modern__social{grid-column:1;grid-row:2;justify-self:start;align-items:flex-start!important;text-align:left!important}
 .header .footer-modern__social .social__header{text-align:left!important}
 .header .br-language{grid-column:2;grid-row:2;align-self:start;padding-top:0}
 .header .br-region,.header .br-language{font-size:14px}
 .header .br-region-panel{width:min(280px,calc(100vw - 48px))}
 .header .br-language-panel{left:auto;right:0;transform:none}
 .header .br-cities button{min-height:30px}
 .header .br-phone{font-size:18px}
 .preview-logo{left:24px!important}.preview-cross{right:24px!important}
}

.header .br-region summary .br-chevron{width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(1px) rotate(45deg);margin-left:2px;align-self:center}

.header .br-region summary .br-chevron,.header .br-language summary .br-chevron{display:block;width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:2px;align-self:center;flex-shrink:0}
.header .br-region summary,.header .br-language summary{font:300 14px/1.4 MuseoSansCyrl,sans-serif}
@media(min-width:769px){
 .header .br-language{align-self:end}
 .header .br-language summary{min-height:0;padding:0;margin:0;line-height:1.4}
}

.br-embedded .preview-cross{display:none!important}

/* A single-city region needs less space below the country control. */
.header .footer-modern__contacts[data-region="ae"] .br-local{margin-top:4px}

/* Keep the same two strokes alive through both menu states. */
html body .header .menu-icon .menu-icon__line{position:absolute!important;left:0!important;top:calc(50% - 1px)!important;width:100%!important;height:2px!important;transform-origin:center!important;transition:transform .32s cubic-bezier(.4,0,.2,1)!important}
html body .header .menu-icon:not(.active) .menu-icon__line-first{transform:translateY(-5px)!important}
html body .header .menu-icon:not(.active) .menu-icon__line-second{transform:translateY(5px)!important}
html body .header .menu-icon.active .menu-icon__line-first{transform:rotate(45deg)!important}
html body .header .menu-icon.active .menu-icon__line-second{transform:rotate(-45deg)!important}
html body .header .menu-icon{top:var(--contacts-menu-center,40px)!important;transform:translateY(-50%)!important}
@media(prefers-reduced-motion:reduce){html body .header .menu-icon .menu-icon__line{transition:none!important}}
html body .header .menu-icon.active .menu-icon__line-first,html body .header .menu-icon.active .menu-icon__line-second{top:calc(50% - 1px)!important;transition:transform .32s cubic-bezier(.4,0,.2,1)!important}
html body .header .menu-icon,html body .header .menu-icon.active{height:24px!important;min-height:24px!important;padding:0!important;box-sizing:border-box!important}
html body .header .menu-icon,html body .header .menu-icon.active{margin-top:0!important;margin-bottom:0!important}
/* Explicit opening frames also survive the fullscreen menu's visibility switch. */
@keyframes contacts-burger-first-open{from{rotate:-45deg;translate:0 -5px}to{rotate:0deg;translate:0 0}}
@keyframes contacts-burger-second-open{from{rotate:45deg;translate:0 5px}to{rotate:0deg;translate:0 0}}
html body .header .menu-icon.active .menu-icon__line-first{animation:contacts-burger-first-open .4s cubic-bezier(.4,0,.2,1)}
html body .header .menu-icon.active .menu-icon__line-second{animation:contacts-burger-second-open .4s cubic-bezier(.4,0,.2,1)}
@media(prefers-reduced-motion:reduce){html body .header .menu-icon .menu-icon__line{animation:none!important;transition:none!important}}
html body .header .menu-icon.active .menu-icon__line-first,html body .header .menu-icon.active .menu-icon__line-second{transition:none!important}
