.public-search {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  max-width: 1120px;
}

.public-search--home {
  max-width: 1040px;
  margin: 40px auto 0;
}

.public-search__fields {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.public-search__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 140px;
  min-width: 0;
  padding: 8px 14px;
}

.public-search__field + .public-search__field {
  border-left: 1px solid #eef0f3;
}

.public-search__icon {
  color: #697488;
  font-size: 16px;
  flex: 0 0 auto;
}

.public-search__control {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.public-search__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #051036;
}

.public-search__control select,
.public-search__value {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  height: 20px;
  background: transparent;
  font-size: 13px;
  line-height: 20px;
  color: #697488;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
}

.public-search__control select:focus {
  outline: none;
}

.public-search__submit {
  flex: 0 0 auto;
  align-self: center;
  height: 40px;
  margin: 6px 6px 6px 0;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #3554d1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.public-search__submit i {
  font-size: 14px;
}

.public-search__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(5, 16, 54, 0.12);
}

.public-search__option {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: #fff;
  text-align: left;
  font-size: 14px;
  color: #051036;
  cursor: pointer;
}

.public-search__option span {
  color: #697488;
  font-size: 12px;
}

.public-search__option:hover,
.public-search__option.is-active {
  background: #f4f5f7;
}

.week-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  box-sizing: border-box;
  width: 280px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(5, 16, 54, 0.12);
  overflow: hidden;
}

.week-cal,
.week-cal * {
  box-sizing: border-box;
}

.week-cal {
  width: 100%;
  overflow: hidden;
}

.week-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.week-cal__month {
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  min-width: 0;
}

.week-cal__arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #051036;
  line-height: 26px;
  font-size: 16px;
  cursor: pointer;
}

.week-cal__weekdays,
.week-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
}

.week-cal__weekdays span {
  min-width: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: #697488;
  padding-bottom: 4px;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.week-cal__pad,
.week-cal__day {
  min-width: 0;
  width: 100%;
  height: 32px;
}

.week-cal__day {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 13px;
  color: #051036;
  cursor: pointer;
}

.week-cal__day.is-off {
  color: #c5c9d1;
  cursor: default;
}

.week-cal__day.is-range {
  background: #eef2ff;
  color: #051036;
}

.week-cal__day.is-hover {
  background: #dbe4ff;
}

.week-cal__day.is-start {
  border-radius: 16px 0 0 16px;
}

.week-cal__day.is-end {
  border-radius: 0 16px 16px 0;
}

.week-cal__day.is-start.is-end {
  border-radius: 16px;
}

.week-picker-panel .elCalendar__sliderNav,
.week-picker-panel .icon-close {
  display: none !important;
}

@media (max-width: 991px) {
  .public-search__fields {
    flex-direction: column;
  }

  .public-search__field + .public-search__field {
    border-left: 0;
    border-top: 1px solid #eef0f3;
  }

  .public-search__submit {
    width: calc(100% - 12px);
    margin: 8px 6px;
  }
}

.langMenu__content.chooser-panel,
.currencyMenu__content.chooser-panel {
  width: min(360px, calc(100vw - 32px)) !important;
  left: 50%;
  transform: translateX(-50%);
}

.chooser-list {
  padding: 8px 0 12px;
}

.chooser-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  color: #051036;
  text-decoration: none;
  font-size: 14px;
}

.chooser-list__item:hover,
.chooser-list__item.is-active {
  background: #f4f5f7;
}

.chooser-list__item span:last-child {
  color: #697488;
  font-size: 12px;
}

.chooser-list__rate {
  white-space: nowrap;
}

.authMenu__content {
  width: 480px !important;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 80px);
  overflow: auto;
  margin-top: 0;
}

/* GoTrip .form-input defaults to 70px; keep auth modals compact */
.authMenu__content .js-auth-form.y-gap-20 > * {
  padding-top: 6px;
  padding-bottom: 6px;
}

.authMenu__content .form-input input {
  min-height: 48px;
  height: 48px;
  padding-top: 16px;
  padding-bottom: 0;
  font-size: 14px;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
}

.authMenu__content .form-input label {
  top: 14px;
}

.authMenu__content .form-input input:focus ~ label,
.authMenu__content .form-input input:valid ~ label {
  transform: translateY(-8px);
  font-size: 12px;
}

.authMenu__content .button.py-20 {
  padding-top: 14px;
  padding-bottom: 14px;
}

.langMenu .js-open-auth {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.header-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 92px;
  padding: 0 16px;
  margin-left: 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.header-auth--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.header-auth--solid {
  background: #fff;
  border: 1px solid #fff;
  color: #051036;
}

.header--light .header-auth--ghost,
.header.-is-sticky .header-auth--ghost {
  border-color: #cdd0d7;
  color: #051036;
}

.header--light .header-auth--solid,
.header.-is-sticky .header-auth--solid {
  background: #3554d1;
  border-color: #3554d1;
  color: #fff;
}

.js-auth-errors {
  font-size: 14px;
}

.masthead.-type-2 .masthead__bg::after,
.masthead.-type-8 .masthead__bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.masthead.-type-2 .masthead__bg::after {
  background: rgba(5, 16, 54, 0.55);
}

.masthead.-type-8 .masthead__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masthead.-type-8 .masthead__bg::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.9) 100%);
}
