.rox-nav__top {
  position: relative;
}

.language-switcher-menu {
  display: flex;
  align-items: center;
  column-gap: 6px;
  cursor: pointer;
}

@media (max-width: 1299px) {
  .language-switcher-menu {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
  }
}

@media (min-width: 1300px) {
  .language-switcher-menu {
    position: relative;
  }
}

.language-switcher-menu .current-language-iso {
  text-transform: uppercase;
}

#header .rox-nav__column--2 + .language-switcher-menu {
  display: flex;
}

@media (min-width: 1300px) {
  #header .rox-nav__column--2 + .language-switcher-menu {
    display: none;
  }
}

#header .rox-nav__column--3 .language-switcher-menu {
  display: none;
}

@media (min-width: 1300px) {
  #header .rox-nav__column--3 .language-switcher-menu {
    display: flex;
  }
}

#language-switcher-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  background-color: transparent;
  background-color: rgba(0, 0, 0, 0.25);
}

#language-switcher-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  z-index: 9989;
}

.language-switcher-modal {
  display: none;
  opacity: 0;
  justify-content: center;
  width: 100%;
  max-width: calc(100vw - 40px);
  position: fixed;
  padding: 30px 20px;
  top: 50%;
  bottom: unset;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: #E8E7EB;
  z-index: 9990;
}

@media (min-width: 768px) {
  .language-switcher-modal {
    padding: 30px;
  }
}

.language-switcher-modal.active {
  display: flex;
  opacity: 1;
}

@media (min-width: 600px) {
  .language-switcher-modal {
    max-width: 500px;
  }
}

@media (min-width: 992px) {
  .language-switcher-modal {
    background-color: #F3F3F5;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    height: 555px;
    padding: 0;
  }
}

.language-switcher-modal-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 100%;
  max-width: 390px;
}

@media (min-width: 992px) {
  .language-switcher-modal-wrapper {
    flex-direction: column;
  }
}

.language-switcher-modal-wrapper--title {
  color: #141414;
  font-family: Montserrat;
  font-size: 19px;
  font-style: normal;
  font-weight: 700;
  line-height: 24.4px;
}

@media (min-width: 768px) {
  .language-switcher-modal-wrapper--title {
    color: #141414;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    line-height: 36.4px;
    letter-spacing: -1.12px;
  }
}

.language-switcher-modal-wrapper .close-icon {
  cursor: pointer;
  position: absolute;
  top: -12px;
  right: -13px;
  padding: 4px;
  border-radius: 16px;
  height: 24px;
  width: 24px;
  background: #F3F3F5;
  box-shadow: 0px 2px 8px 0px rgba(32, 32, 32, 0.1);
}

@media (min-width: 992px) {
  .language-switcher-modal-wrapper .close-icon {
    top: 16px;
    right: 16px;
  }
}

.language-switcher-modal-wrapper .close-icon .close-svg {
  width: 16px;
  height: 16px;
}

.language-switcher-modal-wrapper .selector-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.language-switcher-modal-wrapper .selector-wrapper p {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  letter-spacing: -.32px;
}

.language-switcher-modal-wrapper .selector-wrapper select {
  padding: 15px 6px 15px 10px;
  border-radius: 6px;
  border: 1px solid #76767A;
  background: #FFF;
  appearance: none;
  position: relative;
  height: 54px;
  color: #141414;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='15' viewBox='0 0 14 15' fill='none'%3E%3Cg clip-path='url(%23clip0_15_12)'%3E%3Cpath d='M11.375 5.75L7 10.125L2.625 5.75' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_15_12'%3E%3Crect width='14' height='14' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 50%;
}
