.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  height: 80px;
  padding: 10px 6px 10px 12px;
  background-color: var(--white);
}

@media (min-width: 1441px) {
  .header {
    max-width: 100%;
    padding-left: 60px;
  }
}

@media (max-width: 1265px) {
  .header {
    padding: 10px 20px;
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 15px 18px;
  }
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__inner-left {
  display: flex;
  gap: 110px;
  align-items: center;
}

@media (max-width: 1360px) {
  .header__inner-left {
    gap: 25px;
  }
}

@media (max-width: 1024px) {
  .header__inner-left {
    position: relative;
    width: 100%;
    justify-content: space-between;
  }
}

.header__inner-right {
  display: flex;
  gap: 50px;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .header__inner-right {
    display: none;
    position: fixed;
    width: 100%;
    height: calc(100vh - 80px);
    left: 0;
    top: 80px;
    background-color: var(--white);
  }

  .header__inner-right.active {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .header__inner {
    background-color: var(--white);
    flex-direction: column;
    z-index: 100;
  }
}

.header__logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo a img,
.header__logo a svg {
  width: 189px;
  height: 43px;
}

@media (max-width: 1024px) {
  .header__logo a img,
  .header__logo a svg {
    max-width: 110px;
  }
}

.header__mobile-controls {
  display: none;
}

.header__mobile-controls div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.header__mobile-controls div a {
  display: flex;
}

.header__mobile-controls .header__mobile-controls--search button {
  display: flex;
}

.header__mobile-controls--burger.hidden {
  display: none;
}

.header__mobile-controls--burger-close {
  display: none;
}

.header__mobile-controls--burger-close.active {
  display: block;
}

@media (max-width: 1024px) {
  .header__mobile-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

.header__search-form {
  max-width: 184px;
  width: 100%;
  flex-shrink: 0;
}

.header__search-form-close {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}

.header__search-form-input {
  position: relative;
  width: 100%;
}

.header__search-form-input input {
  width: 100%;
  height: 34px;
  padding-left: 40px;
  background-color: var(--grey-3);
  font-size: 13px;
  line-height: 20px;
  font-weight: 300;
}

.header__search-form-input input:focus {
  border: 1px solid var(--black);
}

.header__search-form-input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M19.2655%2018.7347L14.3249%2013.794C15.7096%2012.2708%2016.4437%2010.2664%2016.3702%208.20912C16.2967%206.15187%2015.4215%204.20494%2013.9316%202.78437C12.4418%201.3638%2010.4554%200.58226%208.39699%200.60676C6.33856%200.63126%204.37135%201.45985%202.91573%202.91548C1.4601%204.37111%200.631504%206.33832%200.607004%208.39674C0.582504%2010.4552%201.36404%2012.4415%202.78461%2013.9314C4.20518%2015.4213%206.15211%2016.2964%208.20937%2016.3699C10.2666%2016.4434%2012.271%2015.7094%2013.7943%2014.3247L18.7349%2019.2653C18.8053%2019.3357%2018.9007%2019.3752%2019.0002%2019.3752C19.0997%2019.3752%2019.1952%2019.3357%2019.2655%2019.2653C19.3359%2019.1949%2019.3754%2019.0995%2019.3754%2019C19.3754%2018.9005%2019.3359%2018.805%2019.2655%2018.7347ZM1.37522%208.49998C1.37522%207.09079%201.7931%205.71324%202.576%204.54154C3.35891%203.36984%204.47168%202.45661%205.77361%201.91734C7.07553%201.37806%208.50813%201.23697%209.89024%201.51189C11.2724%201.78681%2012.5419%202.4654%2013.5384%203.46184C14.5348%204.45829%2015.2134%205.72785%2015.4883%207.10996C15.7632%208.49208%2015.6221%209.92468%2015.0829%2011.2266C14.5436%2012.5285%2013.6304%2013.6413%2012.4587%2014.4242C11.287%2015.2071%209.90942%2015.625%208.50023%2015.625C6.61117%2015.623%204.80005%2014.8717%203.46428%2013.5359C2.12852%2012.2002%201.37721%2010.389%201.37522%208.49998Z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 10;
}

@media (max-width: 1265px) {
  .header__search-form {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header__search-form {
    max-width: none;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .header__search-form.active {
    display: block;
  }

  .header__search-form.active .header__search-form-close {
    display: block;
  }

  .header__search-form:focus-within .header__search-form-close {
    display: block;
  }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__nav ul li {
  flex-shrink: 0;
}

.header__nav ul li a {
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.header__nav ul li a:hover {
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .header__nav ul li {
    width: 100%;
    height: 100%;
  }

  .header__nav ul li a {
    font-size: 16px;
    line-height: 150%;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 6px 12px 18px;
    border-bottom: 1px solid var(--grey-3);
  }

  .header__nav ul li .sub-menu {
    padding-left: 12px;
  }

  .header__nav ul li .sub-menu li a {
    padding: 0;
    border: 0;
  }
}

.header__nav ul li.current-menu-parent > a,
.header__nav ul li.current-menu-item > a {
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .header__nav {
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 140px;
  }
}

.header__menu-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__menu-wrapper .menu-item-has-children {
  position: relative;
  display: flex;
  flex-direction: column;
}

.header__menu-wrapper .menu-item-has-children .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  padding: 6px 12px;
  left: -12px;
  top: calc(100% + 20px);
  z-index: 10;
  min-width: 200px;
  background-color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, height 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 1024px) {
  .header__menu-wrapper .menu-item-has-children .sub-menu {
    gap: 12px;
    position: static;
    height: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: margin-top 0.3s ease, height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
}

.header__menu-wrapper .menu-item-has-children.show-submenu .sub-menu {
  height: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

@media (max-width: 1024px) {
  .header__menu-wrapper .menu-item-has-children.show-submenu .sub-menu {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}

@media (max-width: 1024px) {
  .header__menu-wrapper .menu-item-has-children > a {
    display: block;
    width: 100%;
    position: relative;
    padding-right: 24px;
  }

  .header__menu-wrapper .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 9px;
    pointer-events: none;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg width="16" height="9" viewBox="0 0 16 9" xmlns="http://www.w3.org/2000/svg"><path d="M15.1182 1.49315L8.24321 8.36815C8.21129 8.40011 8.17338 8.42547 8.13164 8.44277C8.08991 8.46006 8.04518 8.46897 8.00001 8.46897C7.95483 8.46897 7.9101 8.46006 7.86837 8.44277C7.82664 8.42547 7.78873 8.40011 7.7568 8.36815L0.881805 1.49315C0.849867 1.46121 0.824532 1.4233 0.807248 1.38157C0.789963 1.33984 0.781067 1.29511 0.781067 1.24995C0.781067 1.20478 0.789963 1.16006 0.807248 1.11833C0.824532 1.0766 0.849867 1.03868 0.881805 1.00674C0.946306 0.942243 1.03379 0.906006 1.12501 0.906006C1.17018 0.906006 1.2149 0.914903 1.25663 0.932187C1.29836 0.949472 1.33627 0.974806 1.36821 1.00674L8.00001 7.63854L14.6318 1.00674C14.6637 0.974806 14.7017 0.949472 14.7434 0.932187C14.7851 0.914903 14.8298 0.906006 14.875 0.906006C14.9202 0.906006 14.9649 0.914903 15.0066 0.932187C15.0484 0.949472 15.0863 0.974806 15.1182 1.00674C15.1501 1.03868 15.1755 1.0766 15.1928 1.11833C15.2101 1.16006 15.219 1.20478 15.219 1.24995C15.219 1.29511 15.2101 1.33984 15.1928 1.38157C15.1755 1.4233 15.1501 1.46121 15.1182 1.49315Z" fill="black"/></svg>');
            mask-image: url('data:image/svg+xml;utf8,<svg width="16" height="9" viewBox="0 0 16 9" xmlns="http://www.w3.org/2000/svg"><path d="M15.1182 1.49315L8.24321 8.36815C8.21129 8.40011 8.17338 8.42547 8.13164 8.44277C8.08991 8.46006 8.04518 8.46897 8.00001 8.46897C7.95483 8.46897 7.9101 8.46006 7.86837 8.44277C7.82664 8.42547 7.78873 8.40011 7.7568 8.36815L0.881805 1.49315C0.849867 1.46121 0.824532 1.4233 0.807248 1.38157C0.789963 1.33984 0.781067 1.29511 0.781067 1.24995C0.781067 1.20478 0.789963 1.16006 0.807248 1.11833C0.824532 1.0766 0.849867 1.03868 0.881805 1.00674C0.946306 0.942243 1.03379 0.906006 1.12501 0.906006C1.17018 0.906006 1.2149 0.914903 1.25663 0.932187C1.29836 0.949472 1.33627 0.974806 1.36821 1.00674L8.00001 7.63854L14.6318 1.00674C14.6637 0.974806 14.7017 0.949472 14.7434 0.932187C14.7851 0.914903 14.8298 0.906006 14.875 0.906006C14.9202 0.906006 14.9649 0.914903 15.0066 0.932187C15.0484 0.949472 15.0863 0.974806 15.1182 1.00674C15.1501 1.03868 15.1755 1.0766 15.1928 1.11833C15.2101 1.16006 15.219 1.20478 15.219 1.24995C15.219 1.29511 15.2101 1.33984 15.1928 1.38157C15.1755 1.4233 15.1501 1.46121 15.1182 1.49315Z" fill="black"/></svg>');
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    background-color: var(--black);
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .header__menu-wrapper .menu-item-has-children.show-submenu > a::after {
    background-color: var(--secondary);
    transform: translateY(-50%) rotate(180deg);
  }
}

@media (max-width: 1120px) {
  .header__menu-wrapper {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .header__menu-wrapper {
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding-left: 18px;
    gap: 12px;
    width: calc(100% - 18px);
    padding-bottom: 14px;
  }
}

.header__action {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 166px;
}

.header__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  height: 28px;
  max-width: 166px;
  width: 100%;
  padding: 0;
  text-decoration: none;
  color: var(--black);
  font-size: 12px;
}

.header__action-btn--booking {
  text-transform: uppercase;
  background-color: var(--primary);
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header__action-btn--booking:hover {
  background-color: var(--blue);
  color: var(--white);
}

@media (max-width: 1024px) {
  .header__action-btn--booking {
    height: 45px;
    max-width: 339px;
    width: calc(100% - 36px);
    border-radius: 0;
    margin: 0 auto;
    margin-bottom: 10%;
  }
}

.header__action-btn--booking.mobile-version {
  height: unset;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  height: 28px;
  max-width: 166px;
  width: 100%;
  padding: 0;
  text-decoration: none;
  color: var(--black);
  font-size: 12px;
}

.header__action-btn--login {
  font-weight: 300;
  background-color: var(--grey-3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  transition: background-color 0.3s ease;
  line-height: 42px;
}

.header__action-btn--login:hover {
  background-color: #cbcbcb;
}

@media (max-width: 1024px) {
  .header__action-btn--login {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header__action {
    width: 100%;
    max-width: none;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: white;
    display: none;
  }
}

.header__language-switcher {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.header__language-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__language-switcher__toggle img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.header__language-switcher__toggle span {
  color: var(--black);
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s ease;
  padding: 0 8px 0 12px;
}

.header__language-switcher__toggle .dropdown-arrow {
  padding: 0;
  font-size: 12px;
  transition: transform 0.2s ease;
}

@media (max-width: 1024px) {
  .header__language-switcher__toggle .dropdown-arrow {
    margin-left: auto;
  }

  .header__language-switcher__toggle .dropdown-arrow svg {
    width: 16px;
    height: 9px;
  }
}

@media (max-width: 1024px) {
  .header__language-switcher__title {
    display: inline-block;
    padding-left: 5 !important;
  }
}

.header__language-switcher:hover .header__language-switcher__toggle span {
  color: var(--secondary);
}

.header__language-switcher .header__language-switcher__toggle img {
  display: none;
}

.header__language-switcher__dropdown {
  position: absolute;
  left: -6px;
  background-color: var(--white);
  margin-top: 5px;
  padding: 12px 0 0;
  list-style: none;
  z-index: 1000;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  min-width: 95px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding: 3px 8px;
}

.header__language-switcher__dropdown li {
  display: flex;
  justify-content: center;
}

.header__language-switcher__dropdown li a {
  color: var(--black);
  font-size: 14px;
  font-weight: 300;
  display: flex;
  align-items: center;
  padding: 6px 0 !important;
  border: 0 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header__language-switcher__dropdown li a:hover a {
  color: var(--secondary);
}

.header__language-switcher__dropdown li a img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 12px;
  display: none;
}

@media (max-width: 1024px) {
  .header__language-switcher__dropdown {
    width: 100%;
    left: auto;
    padding: 12px 0 0;
  }
}

@media (hover: hover) {
  .header__language-switcher:hover .header__language-switcher__dropdown {
    display: block;
  }
}

.header__language-switcher.open .header__language-switcher__dropdown {
  max-height: 500px;
  opacity: 1;
}

.header__language-switcher.open .header__language-switcher__toggle .dropdown-arrow {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .header__language-switcher {
    width: calc(100% - 18px);
  }

  .header__language-switcher .header__language-switcher__toggle,
  .header__language-switcher .header__language-switcher__dropdown {
    padding-left: 26px;
    width: 100%;
  }
}

.header__mobile-controls button:focus-visible {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.header__search-form-input input:focus-visible {
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.header__nav ul li a:focus-visible {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.header__action-btn:focus-visible {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.header__language-switcher__toggle:focus-visible {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.header__language-switcher__dropdown li a:focus-visible {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

