.nora-language {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 100%;
  vertical-align: middle;
}

.nora-language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nora-language-select {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  white-space: nowrap;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d8dfe4;
  border-radius: 8px;
  background: #fff;
  color: #0a2e52;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.nora-language-select:focus-visible,
.nora-language-option:focus-visible {
  outline: 3px solid #1fa8c8;
  outline-offset: 3px;
}

.nora-language-flag {
  display: block;
  flex: 0 0 27px;
  width: 27px;
  height: 18px;
  max-width: none;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(10, 46, 82, .15);
}

.nora-language-menu {
  position: fixed;
  z-index: 1000;
  width: 220px;
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid #d8dfe4;
  border-radius: 10px;
  background: #fff;
  color: #0a2e52;
  box-shadow: 0 8px 24px rgba(10, 46, 82, .16);
}

.nora-language-menu[hidden] { display: none; }

.nora-language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #0a2e52;
  font: 500 15px/1.4 'Segoe UI', Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.nora-language-option:hover,
.nora-language-option[aria-checked="true"] { background: #eaf5f8; }

.nora-language-inline {
  float: right;
  margin-left: 12px;
}

.nora-language-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

/* Long translated text must wrap without concealing actual layout errors. */
[data-i18n], [data-i18n-placeholder] {
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  header .header-right {
    flex-wrap: wrap;
    max-width: 100%;
  }

  header .header-inner {
    height: auto;
    min-width: 0;
    flex-wrap: wrap;
  }

  header .header-inner > nav {
    min-width: 0;
    max-width: 100%;
  }

  html[lang] .form-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  html[lang] .form-wrap > *,
  html[lang] .form-grid,
  html[lang] .form-grid input,
  html[lang] .form-grid select,
  html[lang] .form-box textarea {
    min-width: 0;
    max-width: 100%;
  }

  html[lang] .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[lang] .form-box .btn {
    white-space: normal;
    text-align: center;
  }

  html[lang] .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[lang] .content-grid > *,
  html[lang] .facts > *,
  html[lang] .why-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  html[lang] .facts,
  html[lang] .booking-summary,
  html[lang] .times {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[lang] .booking-row {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  html[lang] .booking-row span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  html[lang] .booking-row span:last-child {
    text-align: left;
  }

  html[lang] .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}