.language-picker {
  position: relative;
  display: inline-block;
  z-index: 1100;
  font-family: inherit;
}

.language-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.language-picker--tour {
  float: none;
}

.language-picker__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid rgba(212, 165, 86, 0.65);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fbf7f0);
  box-shadow: 0 2px 7px rgba(58, 44, 26, 0.12);
  color: #3a2c1a;
  font: 600 13px/1 Lato, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.language-picker__toggle:hover {
  border-color: #b98531;
  box-shadow: 0 4px 11px rgba(58, 44, 26, 0.18);
  transform: translateY(-1px);
}

.language-picker__toggle:focus-visible,
.language-picker__option:focus-visible {
  outline: 3px solid rgba(212, 165, 86, 0.45);
  outline-offset: 2px;
}

.language-picker__flag {
  display: block;
  width: 21px;
  height: 15px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(58, 44, 26, 0.14);
  flex: 0 0 auto;
}

.language-picker__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.language-picker__chevron {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.language-picker__toggle[aria-expanded="true"] .language-picker__chevron {
  transform: rotate(180deg);
}

.language-picker__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 184px;
  padding: 6px;
  border: 1px solid #eadbc2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(58, 44, 26, 0.2);
}

.language-picker__menu[hidden] {
  display: none;
}

.language-picker__option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3a2c1a;
  font: 500 14px/1.2 Lato, "Segoe UI", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.language-picker__option:hover,
.language-picker__option:focus-visible {
  background: #f7efe3;
}

.language-picker__option[aria-checked="true"] {
  background: #f4e9d8;
  font-weight: 700;
}

.language-picker__option-label {
  flex: 1;
}

.language-picker__option-code {
  color: #806b4e;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lang select[hidden],
select#lang[hidden] {
  display: none;
}

.brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.tour-navigation {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.tour-navigation__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  line-height: 0;
  transform: translate(-50%, -50%);
}

.tour-navigation__logo img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .tour-navigation {
    min-height: 72px;
  }

  .tour-navigation__logo img {
    width: 46px;
    height: 46px;
  }

  .brand-logo img {
    width: 46px;
    height: 46px;
  }
}
