.holiday-search {
  --hs-bg: #ffffff;
  --hs-border: #dde2ea;
  --hs-border-strong: #c5ccd8;
  --hs-radius: 0px;
  --hs-radius-field: 0px;
  --hs-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --hs-primary: #0057b7;
  --hs-primary-soft: rgba(0, 87, 183, 0.08);
  --hs-primary-strong: rgba(0, 87, 183, 0.16);
  --hs-text: #0f172a;
  --hs-text-soft: #64748b;
  --hs-danger: #e11d48;
  display: flex;
  flex-direction: column;
  background: transparent;
  font-family: "DM Sans", sans-serif;
}

.is-loading {
  opacity: 1 !important;
}

.holiday-search {
  position: relative;
}

.holiday-search__dropdown {
  max-height: 320px;
  overflow-y: auto;
}

.holiday-search,
.holiday-search__fields,
.holiday-search__field {
  overflow: visible;
}

.holiday-search__option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 16px;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.holiday-search__option:hover {
  background: var(--color-pale-blue);
}

.holiday-search__option:not(:last-child) {
  margin-bottom: 8px;
}

.holiday-search__option--selected {
  background: var(--color-pale-blue);
}

.holiday-search__option--location {
  align-items: center;
}

.holiday-search__option-media {
  flex: 0 0 48px;
  height: 48px;
  border-radius: var(--radius-quarter);
  overflow: hidden;
  background: #e2e8f0;
}

.holiday-search__option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.holiday-search__option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.holiday-search__option-location {
  font-size: var(--text-xxs);
  color: var(--color-light-navy);
}

.holiday-search__option-name {
  font-size: var(--text-xs);
  font-weight: 600;
}

.holiday-search__option--all-parks {
  display: block;
  min-height: 40px;
}

.holiday-search__option--all-parks:hover {
  background: var(--color-pale-blue);
}

.holiday-search__type-tabs {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: fit-content !important;
  position: relative;
  display: inline-flex;
  gap: 8px;
  overflow-x: auto;
  background: white;
  padding: 16px 16px 0 16px;
  border: 1px solid var(--color-pale-blue);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  margin-bottom: -1px;
  z-index: 1;
  box-shadow: 0 -25px 30px 0 rgba(21, 45, 56, 0.03);
}

.holiday-search__type-tab {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: var(--color-light-navy);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 12px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
  border-radius: 24px;
}

.holiday-search__type-tab:hover {
  background: var(--color-pale-blue);
  color: var(--color-navy);
}

.holiday-search__type-tab--active {
  background: var(--color-pink);
  color: white;
}

.holiday-search__fields {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 24px;
  background: white;
  border-radius: 0px 24px 24px 24px;
  border: 1px solid var(--color-pale-blue);
  box-shadow: 0 15px 30px 0 rgba(21, 45, 56, 0.06), 0 -15px 30px 0 rgba(21, 45, 56, 0.03);
}

.holiday-search__field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
}

.holiday-search__submit {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex: 0 0 210px;
}

.holiday-search__label {
  font-size: var(--text-xxs);
  color: var(--color-light-navy);
  margin-right: auto;
}

.holiday-search__label--hidden {
  display: none;
}

.holiday-search__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 56px;
  padding: 0 20px;
  border-radius: var(--radius-half);
  border: 2px solid transparent;
  background: var(--color-pale-blue);
  color: var(--color-light-navy);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.holiday-search__toggle--has-value {
  background: #ffffff;
  border-color: var(--hs-border-strong);
  color: var(--color-light-navy);
}

.holiday-search__field--open .holiday-search__toggle {
  background: #ffffff;
  border-color: var(--color-pale-blue);
}

.holiday-search__toggle::before {
  content: "";
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.holiday-search__toggle--location::before {
  background-image: url("");
}

.holiday-search__toggle--guests::before {
  background-image: url("");
}

.holiday-search__toggle--nights::before {
  background-image: url("");
}

.holiday-search__toggle--arrival::before {
  background-image: url("");
}

.holiday-search__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 5;
  padding: 16px;
  gap: 8px;
  margin-top: 12px;
  background: white;
  border-radius: var(--radius-quarter);
  border: 1px solid var(--color-pale-blue);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  box-shadow: 0 15px 30px 0 rgba(21, 45, 56, 0.06);
}

.holiday-search__field--open .holiday-search__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.holiday-search__dropdown--guests {
  min-width: 240px;
}

.holiday-search__qty {
  display: flex;
  align-items: center;
  padding: 8px;
}

.holiday-search__qty+.holiday-search__qty {
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.holiday-search__count {
  min-width: 2.5rem;
  text-align: center;
  font-weight: 600;
  font-size: var(--text-s);
  color: var(--color-navy);
}

.holiday-search__btn {
  border: none;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  background: #edf2ff;
  color: var(--hs-primary);
}

.holiday-search__btn--minus {
  background: var(--color-pale-blue);
  color: var(--color-navy);
}

.holiday-search__btn--plus {
  background: var(--color-pale-blue);
  color: var(--color-navy);
}

.holiday-search__btn--done {
  width: 100%;
  margin-top: 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  background: var(--color-pink);
  color: #fff;
  font-weight: 600;
  min-height: 40px;
}

.holiday-search__dropdown--arrival {
  min-width: 260px;
}

.holiday-search__calendar {
  padding: 0.35rem;
}

.holiday-search__cal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  align-items: center;
}

.holiday-search__cal-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-navy);
}

.holiday-search__cal-btn {
  border: none;
  background: #f1f5f9;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  text-align: center;
  font-size: 20px;
}

.holiday-search__cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 0.7rem;
  text-align: center;
  color: var(--color-light-navy);
  margin-bottom: 0.25rem;
}

.holiday-search__cal-weeks {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 0.1rem;
}

.holiday-search__cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.1rem;
}

.holiday-search__cal-day {
  width: 100%;
  border-radius: 9999px;
  background: var(--color-pale-blue);
  font-size: var(--text-xxs);
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: 0.12s ease;
  text-align: center;
  border: 1px solid transparent;
}

.holiday-search__cal-day:not(.holiday-search__cal-day--disabled):hover {
  border-color: var(--color-green);
}

.holiday-search__cal-day--disabled {
  background: transparent;
  opacity: 0.45;
  cursor: default;
}

.holiday-search__cal-day--selected {
  background: var(--color-pink);
  color: white;
}

.holiday-search__search-btn {
  min-height: 56px;
}

@media (max-width: 767px) {
  .holiday-search__type-tabs {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: left;
  }
}

.holiday-search__submit-jfbtn {
  display: none !important;
}

@media (max-width: 767px) {
  .holiday-search__field {
    width: 100%;
  }

  .holiday-search__submit {
    flex: unset;
  }

  .holiday-search__fields {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 16px;
    border-radius: 0 0 24px 24px;
  }
}

.holiday-search__toggle--error {
  border-color: var(--color-pink) !important;
  color: var(--color-pink);
}

@keyframes hs-shake {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-4px);
  }

  40% {
    transform: translateX(4px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }

  100% {
    transform: translateX(0);
  }
}

.holiday-search__toggle--shake {
  animation: hs-shake 0.3s;
}