/* ==========================================================================
   Jambojet clone — site layer additions
   The base stylesheet is the reference stylesheet served from
   /assets/styles/jambojet.css. This file only adds interaction states and
   surfaces that are rendered by React (mobile chrome, popovers, etc.).
   ========================================================================== */

:root {
  --jm-pink: #e20177;
  --jm-magenta: #ad1380;
  --jm-purple: #a9218e;
  --jm-ink: #484552;
  --jm-muted: #ada7b5;
  --jm-cream: #f7f4f6;
  --jm-line: #e7e2dc;
  --jm-lime: #a6ce00;
  --jm-yellow: #ffdd01;
  --jm-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f2f2f2;
}

/* Reference page chrome */
.skip-main {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 10px 16px;
  background: #fff;
  color: var(--jm-pink);
}
.skip-main:focus {
  left: 8px;
  top: 8px;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#maincontent {
  flex: 1 0 auto;
}

/* The reference hides the header while Angular boots; we render it directly. */
.main-header__skeleton,
.main-header__skeleton-nav {
  display: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.main-header {
  background: #fff;
}

.main-header_nav-secondary {
  background: #f2f2f2;
  padding: 6px 0;
  min-height: 55px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.main-header_nav-secondary_nav {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-header_nav-secondary_list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.main-header_nav-secondary_item {
  position: relative;
  font-size: 14px;
  color: var(--jm-ink);
  line-height: 1;
}

.main-header_nav-secondary .call-center_trigger_button,
.main-header_nav-secondary .web-search_trigger_button,
.main-header_nav-secondary .dropdown_trigger,
.main-header_nav-secondary .auth_trigger_button {
  background: transparent;
  border: 0;
  color: var(--jm-ink);
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
}
.main-header_nav-secondary .call-center_trigger_button:hover,
.main-header_nav-secondary .web-search_trigger_button:hover,
.main-header_nav-secondary .dropdown_trigger:hover,
.main-header_nav-secondary .auth_trigger_button:hover {
  color: var(--jm-purple);
}
.main-header_nav-secondary .auth_trigger_button .icon::before {
  color: var(--jm-pink);
}
.main-header_nav-secondary .dropdown_trigger::before {
  color: var(--jm-ink);
  font-size: 18px;
}
.main-header_nav-secondary .web-search_trigger_button::before {
  color: var(--jm-ink);
  font-size: 20px;
}
.main-header_nav-secondary .call-center_trigger_button::before {
  color: var(--jm-ink);
  font-size: 18px;
}

.main-header_nav-secondary .dropdown_trigger_value {
  font-weight: 600;
}
.main-header_nav-secondary .dropdown_trigger::after {
  content: "\e902";
  font-family: "jambojet-icons";
  font-size: 10px;
  margin-left: 5px;
}

.main-header_container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  height: 62px;
}
.main-header_logo {
  display: flex;
  align-items: center;
}
.main-header_logo_link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 8px 0;
}
.main-header_logo_link img {
  height: 100%;
  width: auto;
}
.main-header_nav-primary {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}
.main-header_nav-primary_nav {
  display: flex;
}
.main-header_nav-primary_list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}
.main-header_nav-primary_item {
  display: flex;
  align-items: stretch;
  margin-left: 24px;
  position: relative;
}
.main-header_nav-primary_item_link {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--jm-pink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0 2px;
  position: relative;
}
.main-header_nav-primary_item_link::after {
  content: "−";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
.main-header_nav-primary_item_link:hover::after,
.main-header_nav-primary_item_link[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.main-header_nav-primary_submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 96vw);
  background: #fff;
  border-top: 1px solid #f6f6f6;
  box-shadow: 0 18px 40px rgba(72, 69, 82, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    visibility 0.16s ease;
  z-index: 1080;
  border-radius: 0 0 8px 8px;
}
.main-header_nav-primary_item:hover .main-header_nav-primary_submenu,
.main-header_nav-primary_item:focus-within .main-header_nav-primary_submenu,
.jm-mega-open .main-header_nav-primary_submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.main-header_primary-nav_submenu_body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 26px 32px 34px;
}
.main-header_primary-nav_submenu_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 0;
}
.main-header_primary-nav_submenu_head_title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jm-magenta);
}
.main-header_primary-nav_submenu_head_button-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e7e2dc;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.main-header_primary-nav_submenu_head_button-close::before,
.main-header_primary-nav_submenu_head_button-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--jm-ink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.main-header_primary-nav_submenu_head_button-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.main-header_primary-nav_submenu_column_nav + .main-header_primary-nav_submenu_column_nav {
  margin-top: 22px;
}
.main-header_primary-nav_submenu_item--n2 {
  display: inline-block;
  color: var(--jm-magenta);
  font-size: 15px;
  font-weight: 800;
  padding: 3px 0;
}
.main-header_primary-nav_submenu_item--n2:hover {
  color: var(--jm-pink);
}
.main-header_primary-nav_submenu_list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.main-header_primary-nav_submenu_item {
  line-height: 1.2;
}
.main-header_primary-nav_submenu_item--n3 {
  display: inline-block;
  color: var(--jm-ink);
  font-size: 14px;
  padding: 5px 0;
}
.main-header_primary-nav_submenu_item--n3:hover {
  color: var(--jm-pink);
  text-decoration: underline;
}

/* dropdowns rendered by React */
.main-header_nav-secondary .dropdown {
  position: relative;
}
.dropdown_content {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(72, 69, 82, 0.18);
  padding: 8px 0;
  z-index: 1100;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: block;
}
.options-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.options-list_item {
  margin: 0;
}
.options-list_button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 16px;
  font: inherit;
  color: var(--jm-ink);
  cursor: pointer;
}
.options-list_button:hover {
  background: #f9f4f8;
  color: var(--jm-pink);
}

/* call center popover */
.call-center {
  position: relative;
}
.call-center_content {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(72, 69, 82, 0.22);
  padding: 16px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: all 0.18s ease;
}
.is-open .call-center_content,
.call-center_content.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.call-center_content_head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.call-center_content_head_title {
  font-weight: 800;
  color: var(--jm-magenta);
  margin-right: auto;
}
.call-center_content_head_close-button {
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--jm-muted);
  line-height: 1;
}
.call-center_content_head_close-button::before {
  content: "×";
}
.call-center_content_body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--jm-ink);
}
.call-center_content_body_phone_number {
  font-weight: 700;
  color: var(--jm-pink);
}

/* inline header search */
.web-search_trigger_button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.web-search_input {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-width 0.3s ease,
    opacity 0.2s ease;
}
.web-search.is-open .web-search_input {
  max-width: 280px;
  overflow: visible;
  opacity: 1;
}
.web-search_input .ui-input {
  height: 32px;
  border: 1px solid #e7e2dc;
  border-radius: 4px;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  width: 260px;
  background: #fff;
}

/* --------------------------------------------------------------------------
   Mobile chrome
   -------------------------------------------------------------------------- */
.jm-mobile-header {
  display: none;
}

.jm-mobile-menu {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero + search widget
   -------------------------------------------------------------------------- */
.main-banner_slider {
  height: 400px;
  background: #f7f4f6;
}
.main-banner_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.main-banner_controls {
  position: absolute;
  right: 22px;
  bottom: 10px;
  z-index: 4;
}
.main-banner_pager {
  display: flex;
  gap: 8px;
}
.main-banner_pager_item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(72, 69, 82, 0.12);
}
.main-banner_pager_item.active {
  background: #fff;
  box-shadow: 0 0 0 2px var(--jm-pink);
}
.main-banner_pager_label {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .multiple-panel {
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}
.multiple-panel_inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
}
.multiple-panel_wrapper {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  height: 42px;
  padding-left: 12px;
  position: absolute;
  top: 0;
  left: 12px;
  right: 0;
  z-index: 3;
}
.multiple-panel_content {
  position: relative;
  z-index: 2;
  padding-top: 42px;
}
.multiple-panel_nav {
  display: flex;
  flex: 0 0 auto;
  padding: 0;
  z-index: 3;
  position: relative;
  bottom: auto;
  top: auto;
}
.multiple-panel_links {
  display: flex;
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}
.multiple-panel_links_item {
  display: flex;
}
.multiple-panel_nav_item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 8px 22px;
  background: #fff;
  color: var(--jm-purple);
  border: 0;
  border-radius: 7px 7px 0 0;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 -2px 10px rgba(72, 69, 82, 0.12);
  margin-right: 3px;
  white-space: nowrap;
}
.multiple-panel_nav_item[aria-selected="true"],
.multiple-panel_nav_item.is-active {
  background: var(--jm-pink) !important;
  color: #fff !important;
  box-shadow: none;
}
.multiple-panel_item {
  background: var(--jm-pink);
  border-radius: 0 8px 8px 8px;
  overflow: visible;
}
.multiple-panel_item_content {
  padding: 18px;
}
.multiple-panel_item_content_inner {
  width: 100%;
}

.search-container_search {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  pointer-events: none !important;
}
.search-container_search .ibe-search {
  pointer-events: auto;
  width: 100%;
}
.ibe-search_inner {
  width: 100%;
}
.ibe-search_content-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.ibe-search_content {
  position: relative;
}
.ibe-search_station-control {
  position: relative;
}
.ibe-search_date-control {
  position: relative;
}
.ibe-search_pax-control {
  position: relative;
}
.ibe-search .control_label {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: none;
}
.ibe-search .control_fields {
  gap: 0;
}
.ibe-search .control_field_button_value {
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.ibe-search .control_value {
  font-variant-numeric: tabular-nums;
}

.ibe-search_action_button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--jm-lime);
  color: #202514;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.ibe-search_action_button:hover {
  filter: brightness(1.06);
}

.ibe-search_promocode-control {
  position: absolute;
  top: -38px;
  right: 0;
  z-index: 3;
}
.promocode-control {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  padding: 5px 10px;
}
.promocode-control .ui-checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
}
.promocode-control input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--jm-lime);
}
.promocode-control .label_text {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.promocode-control .ui-checkbox::before {
  content: "\e913";
  font-family: "jambojet-icons";
  color: #fff;
  font-size: 15px;
}
.jm-promo-input {
  margin-top: 8px;
}
.jm-promo-input input {
  width: 180px;
  border: 0;
  border-radius: 4px;
  padding: 6px 10px;
  font: inherit;
  font-size: 13px;
}

/* journey type switch */
.switch-button_fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.switch-button_list {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 2px;
}
.switch-button_item {
  display: flex;
}
.switch-button_item_option {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.switch-button_item_option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch-button_item_option_content {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jm-ink);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.switch-button_item_option input:checked + .switch-button_item_option_content {
  background: #fff;
  color: var(--jm-pink);
  box-shadow: 0 1px 4px rgba(72, 69, 82, 0.16);
}

/* search popovers */
.jm-control-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  min-width: 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(72, 69, 82, 0.28);
  z-index: 120;
  padding: 14px;
}
.jm-control-options .control_options_title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jm-magenta);
  margin-bottom: 8px;
}
.jm-station-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}
.jm-station-option {
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}
.jm-station-option:hover {
  background: #faf4f8;
}
.jm-station-code {
  grid-row: span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 6px;
  background: #fbeaf3;
  color: var(--jm-pink);
  font-weight: 800;
  font-size: 13px;
}
.jm-station-city {
  font-weight: 700;
  color: var(--jm-ink);
  font-size: 14px;
}
.jm-station-airport {
  font-size: 12px;
  color: #8d8797;
}
.jm-date-options {
  width: min(680px, 92vw);
  left: 50%;
  transform: translateX(-50%);
}
.jm-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--jm-magenta);
  font-weight: 800;
  font-size: 13px;
}
.jm-calendar-head button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e7e2dc;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--jm-ink);
}
.jm-calendar-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.jm-calendar_month-label {
  font-weight: 800;
  color: var(--jm-ink);
  font-size: 14px;
  margin-bottom: 8px;
}
.jm-calendar_grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.jm-calendar_weekdays span {
  font-size: 11px;
  font-weight: 700;
  color: #9a94a3;
  text-align: center;
  padding: 4px 0;
}
.jm-calendar_day {
  border: 0;
  background: transparent;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 13px;
  color: var(--jm-ink);
  cursor: pointer;
}
.jm-calendar_day:hover {
  background: #fbeaf3;
  color: var(--jm-pink);
}
.jm-calendar_day.is-range {
  background: #fdf1f7;
  border-radius: 0;
  color: var(--jm-pink);
}
.jm-calendar_day.is-selected {
  background: var(--jm-pink);
  color: #fff;
  font-weight: 700;
}
.jm-calendar_day:disabled {
  color: #cfcad4;
  cursor: not-allowed;
}
.jm-pax-options {
  width: 320px;
  right: 0;
  left: auto;
}
.jm-pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1edf2;
  color: var(--jm-ink);
}
.jm-pax-row strong {
  font-size: 14px;
}
.jm-pax-row span {
  font-size: 12px;
  color: #8d8797;
}
.jm-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.jm-stepper button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e0dae4;
  background: #fff;
  color: var(--jm-pink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.jm-stepper button:disabled {
  color: #cfcad4;
  cursor: not-allowed;
}
.jm-stepper span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  color: var(--jm-ink);
}

/* --------------------------------------------------------------------------
   Home CMS sections
   -------------------------------------------------------------------------- */
.content-wrap > .container-wrap:first-child {
  padding-top: 4px;
}
.content-wrap > .container-wrap {
  padding-bottom: 6px;
}
.content-wrap .context-image_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-wrap .context-image_link {
  display: block;
  height: 100%;
}
.content-wrap .context-images_grid,
.content-wrap .column {
  height: 100%;
}
.content-wrap img {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Footer responsive accordions
   -------------------------------------------------------------------------- */
.payment-methods-list_image img {
  height: 18px;
  width: auto;
}
.payment-methods-list_container {
  align-items: center;
}
.main-footer_nav-title {
  margin: 0 0 2px;
}
.main-footer_nav-title .main-footer_nav-item {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--jm-pink);
  font-weight: 700;
  text-transform: uppercase;
  cursor: default;
}
.main-footer_nav-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Reusable primitive UI (custom React surfaces)
   -------------------------------------------------------------------------- */
.jm-btn {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.jm-btn--primary {
  background: var(--jm-pink);
  color: #fff;
}
.jm-btn--primary:hover {
  background: #c9016a;
}
.jm-btn--lime {
  background: var(--jm-lime);
  color: #202514;
}
.jm-btn--outline {
  background: #fff;
  color: var(--jm-pink);
  border-color: var(--jm-pink);
}
.jm-btn--ghost {
  background: transparent;
  color: var(--jm-ink);
  border-color: #e7e2dc;
}
.jm-btn--block {
  width: 100%;
}
.jm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.jm-eyebrow {
  display: block;
  color: var(--jm-magenta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.jm-form {
  display: grid;
  gap: 14px;
}
.jm-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--jm-ink);
}
.jm-field input,
.jm-field select,
.jm-field textarea {
  height: 44px;
  border: 1px solid #d9d2dd;
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--jm-ink);
  background: #fff;
}
.jm-field input:focus,
.jm-field select:focus,
.jm-field textarea:focus {
  outline: 2px solid rgba(226, 1, 119, 0.25);
  border-color: var(--jm-pink);
}
.jm-form_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.jm-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jm-ink);
}
.jm-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--jm-pink);
}

/* auth modal */
.jm-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.jm-auth-modal_scrim {
  position: absolute;
  inset: 0;
  background: rgba(45, 33, 48, 0.55);
  backdrop-filter: blur(2px);
}
.jm-auth-modal_card {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  background: #fff;
  border-radius: 12px;
  padding: 34px 32px 26px;
  box-shadow: 0 30px 80px rgba(30, 20, 35, 0.35);
}
.jm-auth-modal_close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #9a94a3;
  cursor: pointer;
}
.jm-auth-modal_head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  color: var(--jm-pink);
  font-weight: 800;
}
.jm-auth-modal_head p {
  margin: 0 0 20px;
  color: var(--jm-ink);
  font-size: 14px;
  line-height: 1.5;
}
.jm-auth-modal_alt {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--jm-ink);
  text-align: center;
}
.jm-auth-modal_alt a {
  color: var(--jm-pink);
  font-weight: 700;
}
.jm-auth-modal_admin {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #f1edf2;
  text-align: center;
  font-size: 12px;
}
.jm-auth-modal_admin a {
  color: #9a94a3;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .main-header {
    display: none;
  }
  .main-header_wrap {
    display: none;
  }

  .jm-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 16px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1200;
    box-shadow: 0 1px 0 rgba(72, 69, 82, 0.08);
  }
  .jm-mobile-header_burger {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }
  .jm-mobile-header_burger span {
    display: block;
    height: 2.5px;
    width: 24px;
    background: var(--jm-magenta);
    border-radius: 2px;
  }
  .jm-mobile-header_logo img {
    height: 34px;
    width: auto;
  }
  .jm-mobile-header_search {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--jm-magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .jm-mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1300;
    pointer-events: none;
  }
  .jm-mobile-menu.is-open {
    pointer-events: auto;
  }
  .jm-mobile-menu_scrim {
    position: absolute;
    inset: 0;
    background: rgba(45, 33, 48, 0.45);
    opacity: 0;
    transition: opacity 0.22s ease;
  }
  .jm-mobile-menu.is-open .jm-mobile-menu_scrim {
    opacity: 1;
  }
  .jm-mobile-menu_panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(330px, 88vw);
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-102%);
    transition: transform 0.26s ease;
    box-shadow: 12px 0 40px rgba(30, 20, 35, 0.2);
  }
  .jm-mobile-menu.is-open .jm-mobile-menu_panel {
    transform: translateX(0);
  }
  .jm-mobile-menu_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f1edf2;
  }
  .jm-mobile-menu_head img {
    height: 32px;
  }
  .jm-mobile-menu_head button {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--jm-ink);
    cursor: pointer;
  }
  .jm-mobile-menu_nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0 20px;
    overflow-y: auto;
  }
  .jm-mobile-menu_nav > a,
  .jm-mobile-menu_section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    color: var(--jm-magenta);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
  }
  .jm-mobile-menu_nav > a {
    border-bottom: 1px solid #f7f3f6;
  }
  .jm-mobile-menu_sub {
    padding: 4px 0 8px;
    background: #fbf9fa;
  }
  .jm-mobile-menu_sub > div > a {
    display: block;
    padding: 8px 28px;
    color: var(--jm-ink);
    font-size: 13px;
    font-weight: 700;
  }
  .jm-mobile-menu_sub2 a {
    display: block;
    padding: 5px 38px;
    color: #7d7687;
    font-size: 12px;
  }
  .jm-mobile-menu_footer {
    margin-top: auto;
    padding: 16px 20px 24px;
    border-top: 1px solid #f1edf2;
  }

  .main-banner_slider {
    height: 240px;
  }

  .main-banner_bg img {
    object-position: 22% center;
  }
  .switch-button_list {
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .switch-button_item {
    flex: 1 1 0;
    min-width: 0;
  }
  .switch-button_item_option_content {
    padding: 6px 4px;
    font-size: 11px;
    white-space: nowrap;
  }
  .ibe-search .control_fields {
    flex-direction: column;
  }
  .ibe-search_content {
    flex-direction: column;
  }
  .ibe-search_station-control {
    height: auto;
    max-height: none;
    padding-bottom: 8px;
  }
  .ibe-search .control_field,
  .ibe-search .control_field_inner {
    height: 50px;
  }
  .ibe-search .control_field-outbound,
  .ibe-search .control_field-inbound {
    height: 50px;
    flex: 0 0 50px;
  }
  .ibe-search_pax-control .control_field_button {
    width: 100%;
  }

  .ibe-search_station-control,
  .ibe-search_station-control .control_fields {
    height: auto !important;
    max-height: none !important;
  }
  .ibe-search .control_field {
    height: 50px !important;
  }
  .ibe-search_pax-control {
    position: relative !important;
    margin-top: 8px;
  }
  .ibe-search_pax-control .control_field,
  .ibe-search_pax-control .control_field_inner,
  .ibe-search_pax-control .control_field_button {
    width: 100% !important;
  }
  .ibe-search .control_field-outbound,
  .ibe-search .control_field-inbound {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ibe-search .control_field-outbound .control_field_input,
  .ibe-search .control_field-outbound .control_field_button,
  .ibe-search .control_field-inbound .control_field_input,
  .ibe-search .control_field-inbound .control_field_button {
    border-radius: 6px;
  }
  .ibe-search .control_field-swap {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
  .ibe-search .control_field-swap_button {
    position: static;
    transform: none;
    width: 30px;
    height: 30px;
  }
  .ibe-search_station-control .control_fields {
    position: relative;
  }
  .ibe-search_pax-control {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ibe-search_pax-control .control_field_button {
    justify-content: center;
    gap: 8px;
  }
  .ibe-search_pax-control .control_field_button_value {
    display: inline-block;
    width: auto;
    font-weight: 700;
  }
  .ibe-search_action {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .home-page .multiple-panel {
    margin-top: -1.25rem;
  }
  .multiple-panel_inner {
    padding: 0 10px;
  }
  .multiple-panel_wrapper {
    padding-left: 0;
  }
  .multiple-panel_nav_item {
    flex: 1 1 0;
    padding: 8px 6px;
    font-size: 10.5px;
    letter-spacing: 0.01em;
  }
  .multiple-panel_links {
    flex: 1 1 auto;
  }
  .multiple-panel_links_item {
    flex: 1 1 0;
  }
  .multiple-panel_links .multiple-panel_nav_item {
    width: 100%;
  }
  .multiple-panel_item_content {
    padding: 12px 10px 16px;
  }
  .ibe-search_content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ibe-search_station-control,
  .ibe-search_date-control,
  .ibe-search_pax-control,
  .ibe-search_action {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .ibe-search .control_fields {
    gap: 8px;
  }
  .ibe-search .control_field-swap {
    width: 10px;
  }
  .ibe-search .control_field-swap_button {
    left: -15px;
    width: 26px;
    height: 26px;
    min-width: 26px;
  }
  .ibe-search .control_field_input,
  .ibe-search .control_field_button {
    min-height: 44px;
    font-size: 14px;
  }
  .ibe-search_date-control .control_fields {
    gap: 8px;
  }
  .ibe-search_promocode-control {
    position: static;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }
  .promocode-control {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .search-container_search {
    max-width: 100%;
  }
  .jm-date-options {
    width: 100%;
    left: 0;
    transform: none;
  }
  .jm-calendar-months {
    grid-template-columns: 1fr;
  }
  .jm-pax-options {
    width: 100%;
    left: 0;
  }
  .jm-control-options {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    min-width: 0;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1400;
  }

  .main-banner_controls {
    right: 12px;
    bottom: 8px;
  }

  .main-footer {
    padding: 0 0 36px;
  }
  .main-footer::before {
    top: 0;
    height: 22px;
    background-size: 22rem 2rem;
  }
  .main-footer_content {
    padding-top: 40px;
  }
  .main-footer_logo {
    text-align: center;
  }
  .main-footer_logo .logo {
    width: 180px;
    padding: 0;
    margin: 0 auto;
  }
  .main-footer_socialmedia {
    padding: 10px 0 8px;
  }
  .main-footer_nav {
    display: block;
    margin: 0;
    border-top: 1px solid #efe9f0;
  }
  .main-footer_nav-column {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #efe9f0;
  }
  .main-footer_nav-title {
    font-size: 13px;
    margin: 0;
    padding: 12px 0;
  }
  .main-footer_nav-title .main-footer_nav-item {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.03em;
  }
  .main-footer_nav-title .main-footer_nav-item::after {
    content: "\e902";
    font-family: "jambojet-icons";
    display: inline-block;
    margin-left: 6px;
    font-size: 10px;
  }
  .main-footer_nav-column ul {
    display: none;
    padding-bottom: 10px;
  }
  .main-footer_nav-column.jm-footer-open ul {
    display: block;
  }
  .main-footer_nav-column a {
    padding: 5px 0;
    font-size: 14px;
  }
  .main-footer_payment-methods {
    padding: 22px 0 0;
    text-align: center;
  }
  .payment-methods-list_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 8px 0 0;
  }
  .main-footer_bottom_content {
    display: block;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
  }
  .main-footer_bottom .poweredby {
    float: none;
    display: inline-flex;
    margin-top: 10px;
    padding: 0;
  }

  .content-wrap > .container-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }
  .grid-col {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.jm-page {
  background: #f7f4f6;
  min-height: 60vh;
  padding-bottom: 64px;
}
.jm-page-hero {
  background:
    radial-gradient(1200px 300px at 15% -40%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(120deg, #ad1380 0%, #e20177 58%, #c9016a 100%);
  color: #fff;
  padding: 46px 0 54px;
  position: relative;
  overflow: hidden;
}
.jm-page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.06);
}
.jm-page-hero_inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.jm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}
.jm-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}
.jm-breadcrumb a:hover {
  color: #ffdd01;
}
.jm-page-hero h1 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.jm-page-hero p {
  margin: 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.jm-page-hero .jm-eyebrow {
  color: #ffdd01;
}
.jm-content {
  max-width: 1248px;
  margin: 0 auto;
  padding: 34px 24px 0;
}
.jm-section-kicker {
  color: #ad1380;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.jm-section-title {
  color: #df006e;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  margin: 0 0 8px;
}
.jm-section-lead {
  color: #484552;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.jm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.jm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.jm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.jm-card {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 12px;
  padding: 22px;
}
.jm-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1a1a1a;
}
.jm-card p {
  margin: 0;
  color: #484552;
  line-height: 1.6;
  font-size: 14px;
}
.jm-card p a,
.jm-card li a {
  color: #df006e;
  font-weight: 700;
}

.jm-dest-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ad1380, #e20177);
  color: #fff;
}
.jm-dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.jm-dest-card:hover img {
  transform: scale(1.04);
}
.jm-dest-card_body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(33, 15, 36, 0.82));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.jm-dest-card h3 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}
.jm-dest-card span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #ffdd01;
}
.jm-dest-card_price {
  background: rgba(255, 255, 255, 0.94);
  color: #ad1380;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.jm-faq {
  display: grid;
  gap: 10px;
}
.jm-faq details {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 10px;
  padding: 0 18px;
}
.jm-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.jm-faq summary::-webkit-details-marker {
  display: none;
}
.jm-faq summary::after {
  content: "+";
  color: #e20177;
  font-size: 20px;
  line-height: 1;
}
.jm-faq details[open] summary::after {
  content: "";
}
.jm-faq p {
  margin: 0 0 16px;
  color: #484552;
  line-height: 1.65;
  font-size: 14px;
}

.jm-prose {
  max-width: 820px;
  color: #3f3a48;
  font-size: 15px;
  line-height: 1.75;
}
.jm-prose h2 {
  color: #ad1380;
  font-size: 26px;
  margin: 30px 0 10px;
}
.jm-prose h3 {
  color: #1a1a1a;
  font-size: 19px;
  margin: 24px 0 8px;
}
.jm-prose p {
  margin: 0 0 14px;
}
.jm-prose ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.jm-prose li {
  margin-bottom: 6px;
}
.jm-prose a {
  color: #df006e;
  font-weight: 700;
}
.jm-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14px;
}
.jm-prose th {
  text-align: left;
  background: #fbeaf3;
  color: #ad1380;
  padding: 10px 12px;
  border-bottom: 2px solid #f2cfe0;
}
.jm-prose td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee7ee;
}

/* ==========================================================================
   Booking flow
   ========================================================================== */
.booking-page {
  background: #f7f4f6;
  min-height: 70vh;
  padding-bottom: 70px;
}
.booking-topbar {
  background: #e20177;
  color: #fff;
  padding: 16px 0;
}
.booking-topbar_inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.booking-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.booking-route small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.03em;
}
.booking-route_arrow {
  color: #ffdd01;
}
.booking-dates {
  display: flex;
  gap: 22px;
  font-size: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 26px;
}
.booking-dates strong {
  display: block;
  font-size: 14px;
}
.booking-topbar .jm-btn {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.booking-topbar .jm-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.booking-steps {
  max-width: 1248px;
  margin: 0 auto;
  padding: 22px 24px 0;
}
.booking-steps ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  flex-wrap: wrap;
}
.booking-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ece5ee;
  color: #8d8797;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.booking-steps li span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0eaf2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.booking-steps li.is-active {
  background: #e20177;
  border-color: #e20177;
  color: #fff;
}
.booking-steps li.is-active span {
  background: #fff;
  color: #e20177;
}
.booking-steps li.is-done {
  border-color: #f3b9d3;
  color: #ad1380;
}
.booking-steps li.is-done span {
  background: #fbeaf3;
  color: #ad1380;
}

.booking-wrap {
  max-width: 1248px;
  margin: 0 auto;
  padding: 20px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.booking-main {
  display: grid;
  gap: 18px;
}
.booking-aside {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
}

.booking-summary {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 12px;
  overflow: hidden;
}
.booking-summary_head {
  padding: 14px 18px;
  background: #fdf1f7;
  border-bottom: 1px solid #f2d9e6;
  color: #ad1380;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.booking-summary_body {
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}
.booking-summary_route {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 16px;
}
.booking-summary_meta {
  color: #6f6879;
  font-size: 12px;
}
.booking-summary_rows {
  display: grid;
  gap: 8px;
  border-top: 1px dashed #e9e2ea;
  padding-top: 12px;
  font-size: 13px;
}
.booking-summary_rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #484552;
}
.booking-summary_total {
  border-top: 1px solid #e9e2ea;
  margin-top: 4px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: #fffafc;
}
.booking-summary_total strong {
  font-size: 21px;
  color: #e20177;
}

.flight-card {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(72, 69, 82, 0.04);
}
.flight-card_head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #f1edf2;
  background: #fffdfe;
}
.flight-card_airline {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #ad1380;
}
.flight-card_airline img {
  height: 26px;
  width: auto;
}
.flight-card_number {
  color: #8d8797;
  font-size: 12px;
  margin-left: auto;
  font-weight: 600;
}
.flight-card_body {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.flight-time {
  min-width: 82px;
}
.flight-time strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: #1a1a1a;
  font-weight: 800;
}
.flight-time span {
  display: block;
  font-size: 12px;
  color: #6f6879;
  margin-top: 5px;
}
.flight-path {
  flex: 1 1 auto;
  text-align: center;
  color: #8d8797;
  font-size: 11px;
  position: relative;
  padding-top: 4px;
}
.flight-path_line {
  height: 2px;
  background: #e7e2dc;
  position: relative;
  margin: 8px 0;
}
.flight-path_line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e20177;
}
.flight-path_line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e20177;
}
.flight-path strong {
  color: #484552;
  font-size: 12px;
  font-weight: 700;
}
.flight-seats {
  font-size: 11px;
  font-weight: 700;
  color: #b26a00;
  background: #fff4dc;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.flight-fares {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #f1edf2;
}
.fare-col {
  padding: 14px;
  border-right: 1px solid #f1edf2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #6f6879;
}
.fare-col:last-child {
  border-right: 0;
}
.fare-col.is-cheapest {
  background: #fffaf2;
}
.fare-col h4 {
  margin: 0;
  font-size: 13px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fare-col h4 em {
  font-style: normal;
  font-size: 9px;
  background: #e20177;
  color: #fff;
  border-radius: 3px;
  padding: 2px 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
}
.fare-col li::before {
  content: "?";
  color: #a6ce00;
  margin-right: 5px;
  font-size: 10px;
}
.fare-price {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.fare-price strong {
  font-size: 16px;
  color: #e20177;
}
.fare-price .jm-btn {
  padding: 7px 10px;
  font-size: 11px;
}

.booking-filters {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 12px;
  padding: 18px;
}
.booking-filters h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ad1380;
}
.booking-filters fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
.booking-filters legend {
  font-size: 12px;
  font-weight: 800;
  color: #484552;
  margin-bottom: 8px;
}
.booking-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #484552;
  padding: 4px 0;
  cursor: pointer;
}
.booking-filters input[type="checkbox"] {
  accent-color: #e20177;
}

.booking-form-card {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 12px;
  padding: 22px;
}
.booking-form-card h2 {
  margin: 0 0 4px;
  font-size: 20px;
  color: #ad1380;
}
.booking-form-card .lead {
  margin: 0 0 18px;
  color: #6f6879;
  font-size: 13px;
}
.passenger-block {
  border: 1px solid #efe9f0;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fffdfe;
}
.passenger-block h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #ad1380;
  display: flex;
  align-items: center;
  gap: 8px;
}
.passenger-block h3 span {
  font-size: 10px;
  background: #fbeaf3;
  color: #ad1380;
  border-radius: 999px;
  padding: 3px 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #484552;
}
.form-grid input,
.form-grid select {
  height: 44px;
  border: 1px solid #d9d2dd;
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}
.form-grid input:focus,
.form-grid select:focus {
  outline: 2px solid rgba(226, 1, 119, 0.2);
  border-color: #e20177;
}

.seatmap {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  gap: 18px;
}
.seatmap_legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6f6879;
}
.seatmap_legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.seatmap_legend i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #d9d2dd;
  background: #fff;
  display: inline-block;
}
.seatmap_legend i.free {
  border-color: #a6ce00;
  background: #f6fbe9;
}
.seatmap_legend i.taken {
  background: #efe9f0;
  border-color: #efe9f0;
}
.seatmap_legend i.selected {
  background: #e20177;
  border-color: #e20177;
}
.seatmap_cabin {
  max-width: 340px;
  margin: 0 auto;
  display: grid;
  gap: 6px;
}
.seatmap_row {
  display: grid;
  grid-template-columns: 26px 34px 34px 24px 34px 34px 26px;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.seatmap_row .row-number {
  font-size: 10px;
  color: #9a94a3;
  text-align: center;
}
.seat {
  width: 34px;
  height: 30px;
  border-radius: 6px 6px 3px 3px;
  border: 1px solid #cfe19a;
  background: #f6fbe9;
  color: #4d5c1c;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.seat:hover {
  border-color: #a6ce00;
}
.seat.taken {
  background: #efe9f0;
  border-color: #e6dfe8;
  color: #bdb6c4;
  cursor: not-allowed;
}
.seat.selected {
  background: #e20177;
  border-color: #e20177;
  color: #fff;
}
.seatmap_aisle {
  width: 24px;
}

.extras-grid {
  display: grid;
  gap: 14px;
}
.extra-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 10px;
  padding: 16px;
}
.extra-row img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
}
.extra-row h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #1a1a1a;
}
.extra-row p {
  margin: 0;
  font-size: 12px;
  color: #6f6879;
}
.extra-row .jm-stepper {
  margin-left: auto;
}

.payment-methods {
  display: grid;
  gap: 10px;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e7e2dc;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  background: #fff;
}
.payment-method.is-active {
  border-color: #e20177;
  box-shadow: 0 0 0 2px rgba(226, 1, 119, 0.12);
}
.payment-method input {
  accent-color: #e20177;
}
.payment-method strong {
  display: block;
  font-size: 14px;
  color: #1a1a1a;
}
.payment-method span {
  font-size: 12px;
  color: #6f6879;
}
.payment-method img {
  height: 22px;
  margin-left: auto;
}

.confirmation {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 24px;
}
.confirmation_card {
  background: #fff;
  border: 1px solid #e7e2dc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(72, 69, 82, 0.1);
}
.confirmation_head {
  background: linear-gradient(120deg, #ad1380, #e20177);
  color: #fff;
  padding: 30px 28px;
  text-align: center;
}
.confirmation_head .tick {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #a6ce00;
  color: #202514;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
}
.confirmation_head h1 {
  margin: 0 0 6px;
  font-size: 30px;
}
.confirmation_head p {
  margin: 0;
  opacity: 0.9;
}
.confirmation_body {
  padding: 26px 28px;
  display: grid;
  gap: 18px;
}
.confirmation_ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fdf1f7;
  border: 1px dashed #e8a9c9;
  border-radius: 10px;
  padding: 14px 18px;
}
.confirmation_ref span {
  font-size: 12px;
  color: #8d8797;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.confirmation_ref strong {
  font-size: 26px;
  color: #ad1380;
  letter-spacing: 0.06em;
}
.ticket-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1079px) {
  .booking-wrap {
    grid-template-columns: 1fr;
  }
  .booking-aside {
    position: static;
  }
  .flight-fares {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fare-col:nth-child(2n) {
    border-right: 0;
  }
}
@media (max-width: 767px) {
  .jm-page-hero {
    padding: 30px 0 36px;
  }
  .jm-content {
    padding: 24px 16px 0;
  }
  .jm-grid-2,
  .jm-grid-3,
  .jm-grid-4 {
    grid-template-columns: 1fr;
  }
  .booking-wrap,
  .booking-topbar_inner,
  .booking-steps {
    padding-left: 16px;
    padding-right: 16px;
  }
  .booking-dates {
    border-left: 0;
    padding-left: 0;
    gap: 16px;
  }
  .booking-topbar .jm-btn {
    margin-left: 0;
  }
  .flight-card_body {
    flex-wrap: wrap;
    gap: 12px;
  }
  .flight-path {
    min-width: 120px;
  }
  .flight-fares {
    grid-template-columns: 1fr;
  }
  .fare-col {
    border-right: 0;
    border-bottom: 1px solid #f1edf2;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .seat {
    width: 30px;
    height: 28px;
  }
  .seatmap_row {
    grid-template-columns: 22px 30px 30px 18px 30px 30px 22px;
  }
}

@media (max-width: 767px) {
  .ibe-search .control_fields { align-items: flex-start !important; gap: 8px !important; }
  .ibe-search .control_field-outbound, .ibe-search .control_field-inbound { flex: 0 0 50px !important; height: 50px !important; max-height: 50px !important; width: 100% !important; }
  .ibe-search_station-control { height: auto !important; }
}

.main-header_nav-primary_submenu { position: fixed !important; top: 117px !important; left: 0 !important; right: 0 !important; width: 100% !important; max-width: none !important; transform: none !important; border-radius: 0 !important; max-height: calc(100vh - 117px); overflow-y: auto; box-shadow: 0 24px 50px rgba(72,69,82,.18); }
.main-header_primary-nav_submenu_body { grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: 26px !important; max-width: 1248px; margin: 0 auto; padding: 26px 48px 38px !important; box-sizing: border-box; }
.main-header_primary-nav_submenu_head { max-width: 1248px; margin: 0 auto; padding: 20px 48px 0 !important; box-sizing: border-box; }

.ibe-search_pax-control .control_field_button_value { display: inline-block !important; width: auto !important; font-weight: 700; color: #484552; margin-left: 4px; }
.main-header_primary-nav_submenu_body { grid-auto-rows: min-content !important; align-content: start !important; }
.main-header_primary-nav_submenu_inner { height: auto !important; }

.confirmation_ref span { display: block; }
.confirmation_ref strong { display: block; }

body.is-fixedheader { padding-top: 62px; }
body.is-fixedheader .main-header_nav-primary_submenu { top: 62px !important; }
.admin-sidebar_footer { padding-bottom: 22px; }
@media (max-width: 767px) { body.is-fixedheader { padding-top: 0; } }
.ibe-search_station-control .control_field-outbound .control_field_inner::before { content: "\e927"; }
.ibe-search_date-control .control_field_inner::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23e20177%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%223%22 y=%225%22 width=%2218%22 height=%2216%22 rx=%222%22/><path d=%22M8 3v4M16 3v4M3 10h18%22/></svg>') center / contain no-repeat;
}
.ibe-search_pax-control .control_field_inner::before { content: "\e920"; }

/* Exact form geometry fixes */
.hide-visually {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.multiple-panel_nav_item {
  box-sizing: border-box !important;
}
.ibe-search_pax-control {
  height: 50px;
}
.ibe-search_pax-control .control_label {
  display: none !important;
}
.ibe-search_pax-control .control_field,
.ibe-search_pax-control .control_field_inner {
  height: 50px !important;
}
.ibe-search_pax-control .control_field_button {
  width: 100% !important;
  height: 50px !important;
  justify-content: center;
  gap: 6px;
}
.ibe-search_pax-control .control_field_button_value {
  display: inline-block !important;
  width: auto !important;
  font-weight: 700;
  color: #484552;
}
.ibe-search_content-top {
  height: 34px;
}

.ibe-search_pax-control .control_field { width: 100% !important; flex: 1 1 auto !important; }
.ibe-search_pax-control .control_field_button { top: 0 !important; transform: none !important; }

/* ===== Mobile form: match reference geometry ===== */
@media (max-width: 767px) {
  .jm-mobile-header {
    height: 44px !important;
    padding: 0 14px !important;
  }
  .jm-mobile-header_logo img {
    height: 26px !important;
  }
  .jm-mobile-header_burger,
  .jm-mobile-header_search {
    width: 32px !important;
    height: 32px !important;
  }
  .jm-mobile-header_burger span {
    width: 20px !important;
  }

  .main-banner_slider {
    height: 143px !important;
  }
  .main-banner_bg img {
    object-position: center !important;
  }
  .home-page .multiple-panel {
    margin-top: 0 !important;
  }
  .multiple-panel_inner {
    padding: 0 !important;
  }
  .multiple-panel_wrapper {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    height: 42px !important;
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .multiple-panel_content {
    padding-top: 0 !important;
  }
  .multiple-panel_nav {
    flex: 1 1 0 !important;
    justify-content: stretch !important;
  }
  .multiple-panel_links {
    flex: 2 1 0 !important;
    justify-content: stretch !important;
  }
  .multiple-panel_nav .multiple-panel_nav_item,
  .multiple-panel_links .multiple-panel_nav_item {
    flex: 1 1 0 !important;
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 4px 5px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
    margin-right: 2px !important;
  }
  .multiple-panel_item {
    border-radius: 0 !important;
  }
  .multiple-panel_item_content {
    padding: 12px 15px 16px !important;
  }
  .ibe-search_content-top {
    height: auto !important;
    margin-bottom: 8px !important;
  }
  .switch-button_list {
    width: 100% !important;
    padding: 2px !important;
  }
  .switch-button_item_option_content {
    padding: 5px 4px !important;
    font-size: 11px !important;
  }

  .ibe-search_content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ibe-search_station-control {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }
  .ibe-search .control_fields {
    flex-direction: column !important;
    gap: 5px !important;
  }
  .ibe-search .control_field-outbound,
  .ibe-search .control_field-inbound {
    flex: 0 0 36px !important;
    height: 36px !important;
    max-height: 36px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .ibe-search .control_field,
  .ibe-search .control_field_inner {
    height: 36px !important;
  }
  .ibe-search .control_field_input,
  .ibe-search .control_field_button {
    min-height: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
    padding-left: 34px !important;
  }
  .ibe-search .control_field-swap {
    display: none !important;
  }
  .ibe-search_pax-control {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 36px !important;
  }
  .ibe-search_pax-control .control_field,
  .ibe-search_pax-control .control_field_inner,
  .ibe-search_pax-control .control_field_button {
    height: 36px !important;
    min-height: 36px !important;
  }
  .ibe-search_action {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 36px !important;
  }
  .ibe-search_action_button {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
  }
  .ibe-search_promocode-control {
    position: static !important;
    margin: 8px auto 0 !important;
    display: flex !important;
    justify-content: center !important;
  }
  .promocode-control {
    padding: 4px 10px !important;
  }
}

.ibe-search_pax-control .control_field_button {
  padding-left: 36px !important;
  padding-right: 26px !important;
  justify-content: flex-start !important;
}
.ibe-search_promocode-control {
  right: 7.5625rem !important;
  top: 6px !important;
}

.ibe-search { position: relative; }
.ibe-search_content { position: static !important; }
@media (max-width: 767px) { .ibe-search_promocode-control { position: static !important; } }

.ibe-search_pax-control .control_field_inner { display: flex !important; align-items: center !important; }

/* Desktop form: match the reference tab + journey + promo styling */
.multiple-panel_nav_item[aria-selected="true"],
.multiple-panel_nav_item.is-active {
  color: #ffdd01 !important;
}
.switch-button_list {
  background: transparent !important;
  padding: 0 !important;
  gap: 0 !important;
}
.switch-button_item_option_content {
  background: transparent !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 6px 16px !important;
  box-shadow: none !important;
}
.switch-button_item_option input:checked + .switch-button_item_option_content {
  background: #fff !important;
  color: #e20177 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.promocode-control {
  background: #fff !important;
  border: 0 !important;
  padding: 6px 12px !important;
}
.promocode-control .label_text {
  color: #484552 !important;
  font-weight: 700 !important;
}
.promocode-control .ui-checkbox::before {
  color: #e20177 !important;
}
.ibe-search_date-control .control_field-outbound {
  flex: 0 0 60% !important;
  max-width: 60% !important;
}
.ibe-search_date-control .control_field-inbound {
  flex: 0 0 40% !important;
  max-width: 40% !important;
}
.ibe-search_date-control .control_field-inbound .control_field_inner::before {
  display: none !important;
}

.ibe-search_date-control .control_field_button::before, .ibe-search_pax-control .control_field_button::before { display: none !important; content: none !important; }
.ibe-search_date-control .control_field-inbound .control_field_inner::before { display: none !important; content: none !important; }

.jm-date-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #e20177; pointer-events: none; z-index: 2; }
.ibe-search_date-control .control_field_button { padding-left: 38px !important; }

@media (max-width: 767px) {
  .ibe-search .control_field_input::placeholder {
    color: #484552 !important;
    opacity: 1 !important;
  }
  .ide-search .control_field_input {
    color: #484552 !important;
  }
  .ibe-search_station-control .control_field-swap {
    display: flex !important;
    position: absolute !important;
    right: 10px !important;
    top: 36px !important;
    transform: translateY(-50%) !important;
    z-index: 4 !important;
  }
  .ibe-search_station-control .control_field-swap_button {
    display: flex !important;
    position: static !important;
    transform: none !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
  }
  .switch-button_list {
    justify-content: space-between !important;
    gap: 2px !important;
    overflow: visible !important;
  }
  .switch-button_item {
    flex: 0 1 auto !important;
  }
  .switch-button_item_option_content {
    padding: 6px 9px !important;
    font-size: 12px !important;
  }
  .multiple-panel_nav_item {
    min-width: 0 !important;
    flex: 1 1 0 !important;
  }
}

@media (max-width: 767px) {
  .switch-button_list {
    height: 32px !important;
  }
  .switch-button_item,
  .switch-button_item_option {
    height: 32px !important;
  }
  .switch-button_item_option_content {
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 9px !important;
    line-height: 1 !important;
  }
  .ibe-search_pax-control,
  .ibe-search_pax-control .control_field,
  .ibe-search_pax-control .control_field_inner,
  .ibe-search_pax-control .control_field_button,
  .ibe-search_action,
  .ibe-search_action_button {
    height: 32px !important;
    min-height: 32px !important;
  }
  .promocode-control {
    padding: 3px 10px !important;
  }
}

@media (max-width: 767px) {
  .content-wrap > .container-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  .content-wrap .grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .content-wrap .grid-col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .content-wrap .context-image,
  .content-wrap .context-images,
  .content-wrap .context-images_grid,
  .content-wrap .column {
    width: 100% !important;
    max-width: 100% !important;
  }
  .offer {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border-left: 4px solid #e20177 !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 14px 16px !important;
    margin-bottom: 10px !important;
  }
  .offer_title {
    margin: 0 0 4px !important;
  }
  .offer_caption {
    margin: 0 !important;
  }
}

/* ============================================================
   Reference form pass: container widths, tabs, spacing, icons
   ============================================================ */
.main-header_container,
.multiple-panel_inner {
  width: 87%;
  max-width: 1400px;
  padding-left: 0;
  padding-right: 0;
}

.multiple-panel_item_content {
  padding: 20px;
}
.multiple-panel_wrapper {
  height: 44px;
  padding-left: 0;
  left: 0;
}
.multiple-panel_content {
  padding-top: 44px;
}
.multiple-panel_nav_item {
  height: 44px;
  padding: 9px 24px;
  font-size: 13.5px;
}
.ibe-search_content-top {
  height: 38px;
  margin-bottom: 12px;
}
.switch-button_item_option_content {
  font-size: 14px;
  padding: 7px 17px;
}
.ibe-search .control_field,
.ibe-search .control_field_inner {
  height: 52px;
}
.ibe-search .control_field_input,
.ibe-search .control_field_button {
  height: 52px;
  font-size: 15px;
}
.ibe-search_station-control {
  flex: 0 1 57%;
  max-width: 57%;
}
.ibe-search_date-control {
  flex: 0 1 19%;
  max-width: 19%;
}
.ibe-search_pax-control {
  flex: 0 0 10.5%;
}
.ibe-search_action {
  flex: 0 0 10%;
}
.ibe-search_date-control .control_field-outbound {
  flex: 0 0 62% !important;
  max-width: 62% !important;
}
.ibe-search_date-control .control_field-inbound {
  flex: 0 0 38% !important;
  max-width: 38% !important;
}
.ibe-search_promocode-control {
  top: 8px !important;
  right: 0 !important;
}
.promocode-control {
  padding: 6px 12px !important;
  border-radius: 6px !important;
}
.promocode-control .ui-checkbox::before {
  content: none !important;
  display: none !important;
}
.promocode-control input[type="checkbox"] {
  display: none !important;
}
.jm-promo-icon {
  color: #e20177;
  flex: 0 0 auto;
}
.promocode-control .label_text {
  color: #484552 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (min-width: 1600px) {
  .multiple-panel_item_content {
    padding: 28px;
  }
  .multiple-panel_wrapper {
    height: 50px;
  }
  .multiple-panel_content {
    padding-top: 50px;
  }
  .multiple-panel_nav_item {
    height: 50px;
    padding: 12px 28px;
    font-size: 14px;
  }
  .ibe-search_content-top {
    height: 42px;
    margin-bottom: 14px;
  }
  .switch-button_item_option_content {
    font-size: 15px;
    padding: 8px 18px;
  }
  .ibe-search .control_field,
  .ibe-search .control_field_inner {
    height: 56px;
  }
  .ibe-search .control_field_input,
  .ibe-search .control_field_button {
    height: 56px;
    font-size: 15px;
  }
  .ibe-search_action_button {
    min-height: 56px;
  }
  .ibe-search_promocode-control {
    top: 10px !important;
  }
  .promocode-control {
    padding: 8px 14px !important;
  }
}

/* Mobile station modal header / searchbar: hidden on desktop */
.jm-modal-head,
.jm-station-searchbar {
  display: none;
}

/* Mobile: cards above a full-width panel, combined From/To */
@media (max-width: 767px) {
  .main-header_container {
    width: 100% !important;
    padding: 0 15px !important;
    max-width: none !important;
  }
  .main-header {
    height: 52px !important;
  }
  .main-header_logo img {
    height: 30px !important;
  }
  .main-banner_slider {
    height: 145px !important;
  }
  .main-banner_bg img {
    object-position: 18% center !important;
    transform: scale(1.12);
    transform-origin: 18% center;
  }

  .home-page .multiple-panel {
    margin-top: 0 !important;
  }
  .multiple-panel_inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }
  .multiple-panel_wrapper {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    display: flex !important;
    gap: 6px !important;
    height: 48px !important;
    margin: 14px 0 16px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  .multiple-panel_nav,
  .multiple-panel_links {
    display: contents !important;
  }
  .multiple-panel_nav .multiple-panel_nav_item,
  .multiple-panel_links .multiple-panel_nav_item {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #e20177 !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.02em !important;
    white-space: normal !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(72, 69, 82, 0.16) !important;
  }
  .multiple-panel_nav .multiple-panel_nav_item[aria-selected="true"],
  .multiple-panel_links .multiple-panel_nav_item[aria-selected="true"] {
    background: #e20177 !important;
    color: #fff !important;
  }
  .multiple-panel_content {
    padding-top: 0 !important;
  }
  .multiple-panel_item {
    border-radius: 0 !important;
  }
  .multiple-panel_item_content {
    padding: 16px 15px 18px !important;
  }
  .ibe-search_content-top {
    height: auto !important;
    margin-bottom: 12px !important;
  }
  .switch-button_list {
    width: 100% !important;
    height: 34px !important;
    padding: 0 !important;
    background: transparent !important;
    justify-content: space-between !important;
    gap: 2px !important;
  }
  .switch-button_item,
  .switch-button_item_option {
    height: 34px !important;
  }
  .switch-button_item_option_content {
    height: 34px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    color: #fff !important;
  }
  .switch-button_item_option input:checked + .switch-button_item_option_content {
    background: #fff !important;
    color: #e20177 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
  }

  .ibe-search_content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ibe-search_station-control {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }
  .ibe-search .control_fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    position: relative !important;
    flex-direction: row !important;
    gap: 0 !important;
  }
  .ibe-search .control_field-outbound,
  .ibe-search .control_field-inbound {
    flex: 1 1 50% !important;
    width: 100% !important;
    max-width: 50% !important;
    height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ibe-search .control_field_outbound .control_field_inner,
  .ibe-search .control_field-inner {
    height: 40px !important;
  }
  .ibe-search .control_field,
  .ibe-search .control_field_inner {
    height: 40px !important;
  }
  .ibe-search .control_field_input,
  .ibe-search .control_field_button {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 14px !important;
    padding-left: 38px !important;
    border-radius: 0 !important;
  }
  .ibe-search .control_field-outbound .control_field_input {
    border-radius: 6px 0 0 6px !important;
  }
  .ibe-search .control_field-inbound .control_field_input {
    border-radius: 0 6px 6px 0 !important;
    border-left: 1px solid #e7e2dc !important;
  }
  .ibe-search .control_field-swap {
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
  }
  .ibe-search .control_field-swap_button {
    display: flex !important;
    position: static !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 50% !important;
    background: #5b5566 !important;
    color: #fff !important;
  }
  .ibe-search_pax-control {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 36px !important;
  }
  .ibe-search_pax-control .control_field,
  .ibe-search_pax-control .control_field_inner,
  .ibe-search_pax-control .control_field_button {
    height: 36px !important;
    min-height: 36px !important;
  }
  .ibe-search_action {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 36px !important;
  }
  .ibe-search_action_button {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
  }
  .ibe-search_promocode-control {
    position: static !important;
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: center !important;
    margin: 6px auto 0 !important;
  }
  .promocode-control {
    padding: 5px 12px !important;
  }

  /* Destinations full-screen sheet */
  .jm-station-modal {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-width: 0 !important;
    max-width: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    z-index: 2000 !important;
    overflow-y: auto !important;
    box-shadow: none !important;
  }
  .jm-station-modal .jm-modal-head,
  .jm-date-options .jm-modal-head {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 5;
    align-items: center;
    justify-content: space-between;
    height: 53px;
    background: #e20177;
    color: #fff;
    padding: 0 15px;
  }
  .jm-modal-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
  }
  .jm-modal-back,
  .jm-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }
  .jm-modal-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #e20177;
    font-size: 18px;
    font-weight: 700;
  }
  .jm-station-searchbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
    background: #e20177;
    padding: 8px 15px 10px;
  }
  .jm-station-searchfield {
    display: flex;
    align-items: center;
    background: #fff;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px 0 0 6px;
    position: relative;
  }
  .jm-station-searchfield:last-child {
    border-radius: 0 6px 6px 0;
  }
  .jm-pin {
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #e20177;
    margin-right: 8px;
    flex: 0 0 auto;
  }
  .jm-station-searchfield .control_field_input {
    border: 0 !important;
    padding: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    background: transparent !important;
    font-size: 13px !important;
    color: #484552 !important;
  }
  .jm-station-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 -2px;
    border-radius: 50%;
    border: 0;
    background: #5b5566;
    color: #fff;
    font-size: 14px;
    z-index: 2;
  }
  .jm-station-modal .control_options_inner {
    background: #fff;
    padding: 0 !important;
  }
  .jm-station-modal .control_options_type--stations,
  .jm-station-modal .control_options_scroll {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 0 24px !important;
  }
  .jm-station-group-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    color: #e20177 !important;
    text-transform: none !important;
    margin: 18px 15px 6px !important;
  }
  .jm-station-list {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .jm-station-option {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 15px !important;
    border-radius: 0 !important;
  }
  .jm-station-code {
    display: inline !important;
    background: transparent !important;
    height: auto !important;
    width: 38px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #484552 !important;
  }
  .jm-station-city {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #484552 !important;
  }
  .jm-station-airport {
    display: none !important;
  }

  /* Dates full-screen sheet */
  .jm-date-options {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100dvh !important;
    max-width: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    z-index: 2000 !important;
    overflow-y: auto !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  .jm-date-selected {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 12px 15px 10px;
    padding: 10px 12px;
    border: 2px solid #ffdd01;
    border-radius: 6px;
    color: #484552;
    font-size: 14px;
    font-weight: 700;
  }
  .jm-date-selected svg {
    color: #e20177;
  }
  .jm-fare-legend {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 15px 12px;
  }
  .jm-fare-legend span {
    border: 1.5px solid #8abf1f;
    border-radius: 20px;
    padding: 4px 11px;
    font-size: 10px;
    font-weight: 700;
    color: #3b4a12;
    background: #fff;
    white-space: nowrap;
  }
  .jm-fare-legend .high {
    border-color: #e20177;
    color: #e20177;
  }
  .jm-fare-legend .none {
    border-color: #bdb6c4;
    color: #8d8797;
  }
  .jm-date-options .control_options_inner {
    padding: 0 15px !important;
  }
  .jm-date-options .control_options-content {
    padding: 0 !important;
  }
  .jm-calendar-head {
    justify-content: space-between !important;
    margin: 2px 0 8px !important;
    font-size: 16px !important;
    color: #e20177 !important;
  }
  .jm-calendar-head button {
    border: 0 !important;
    font-size: 30px !important;
    color: #e20177 !important;
    width: 30px !important;
    height: 30px !important;
  }
  .jm-calendar-months {
    display: block !important;
  }
  .jm-calendar_month:nth-child(2) {
    display: none !important;
  }
  .jm-calendar_month-label {
    display: none !important;
  }
  .jm-calendar_weekdays span {
    font-size: 11px !important;
    color: #8d8797 !important;
    padding: 6px 0 !important;
  }
  .jm-calendar_grid {
    gap: 0 !important;
  }
  .jm-calendar_day {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    aspect-ratio: auto !important;
    height: 50px !important;
    border-radius: 0 !important;
    padding-top: 2px !important;
    background: transparent !important;
    font-size: 11px !important;
  }
  .jm-calendar_day-num {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 1.5px solid #8abf1f;
    color: #484552;
    font-size: 13px;
    font-weight: 600;
  }
  .jm-calendar_day.is-high .jm-calendar_day-num {
    border-color: #e20177;
  }
  .jm-calendar_day.is-selected .jm-calendar_day-num {
    background: #e20177 !important;
    border-color: #e20177 !important;
    color: #fff !important;
  }
  .jm-calendar_day.is-range {
    background: #fff5fa !important;
  }
  .jm-calendar_day-price {
    display: block !important;
    font-size: 9px;
    line-height: 1.5;
    color: #6f6879;
    font-weight: 500;
  }
  .jm-calendar_day:disabled .jm-calendar_day-num {
    border-color: transparent;
    color: #bdb6c4;
  }
  .jm-date-done {
    display: block !important;
    margin: 14px auto 22px !important;
    min-width: 140px;
    height: 34px;
    border: 0;
    border-radius: 20px;
    background: #fbeaf3;
    color: #e20177;
    font-weight: 700;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .jm-mobile-header {
    height: 52px !important;
  }
  .jm-mobile-header_logo img {
    height: 30px !important;
  }
  .multiple-panel_wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .multiple-panel_nav,
  .multiple-panel_links {
    display: contents !important;
  }
  .multiple-panel_nav_item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
  }
  .multiple-panel_content {
    margin-top: 16px !important;
  }
  .multiple-panel_item {
    height: auto !important;
  }
  .multiple-panel_item_content {
    padding-top: 18px !important;
  }
  .ibe-search .control_fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  .ibe-search .control_field-outbound,
  .ibe-search .control_field-inbound {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }
  .ibe-search .control_field_outbound,
  .ibe-search .control_field_outbound .control_field_inner {
    width: 100% !important;
    max-width: none !important;
  }
  .ibe-search_station-control .control_fields > .control_field {
    width: 100% !important;
    max-width: none !important;
  }
  .switch-button_item_option_content {
    padding: 0 10px !important;
    font-size: 13.5px !important;
  }
  .ibe-search_pax-control .control_field_button {
    padding-left: 34px !important;
  }
  .ibe-search .control_field_input {
    padding-left: 34px !important;
  }
  .jm-date-done {
    display: block !important;
    margin: 14px auto 22px !important;
    min-width: 140px;
    height: 34px;
    border: 0;
    border-radius: 20px;
    background: #fbeaf3;
    color: #e20177;
    font-weight: 700;
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .jm-station-group-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #e20177;
    margin: 14px 8px 6px;
  }
  .jm-station-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
  }
  .jm-station-option:hover {
    background: #faf4f8;
  }
  .jm-station-code {
    background: transparent !important;
    width: 44px;
    height: auto !important;
    display: inline !important;
    font-size: 14px;
    font-weight: 700;
    color: #484552;
  }
  .jm-station-city {
    font-size: 14px;
    font-weight: 600;
    color: #484552;
  }
  .jm-date-selected {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 2px solid #ffdd01;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #484552;
  }
  .jm-date-selected svg {
    color: #e20177;
  }
  .jm-fare-legend {
    display: flex;
    gap: 7px;
    margin-bottom: 12px;
  }
  .jm-fare-legend span {
    border: 1.5px solid #8abf1f;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 9.5px;
    font-weight: 700;
    color: #3b4a12;
    white-space: nowrap;
  }
  .jm-fare-legend .high {
    border-color: #e20177;
    color: #e20177;
  }
  .jm-fare-legend .none {
    border-color: #bdb6c4;
    color: #8d8797;
  }
  .jm-calendar_day-num {
    display: block;
    font-size: 13px;
  }
  .jm-calendar_day-price {
    display: block;
    font-size: 8.5px;
    color: #8d8797;
    line-height: 1.3;
  }
  .jm-calendar_day {
    aspect-ratio: auto;
    height: 46px;
    flex-direction: column;
    gap: 1px;
  }
  .jm-calendar_day.is-low .jm-calendar_day-num,
  .jm-calendar_day.is-high .jm-calendar_day-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid #8abf1f;
    border-radius: 50%;
  }
  .jm-calendar_day.is-high .jm-calendar_day-num {
    border-color: #e20177;
  }
  .jm-calendar_day.is-selected .jm-calendar_day-num {
    background: #e20177;
    border-color: #e20177;
    color: #fff;
  }
  .jm-date-done {
    display: block;
    margin: 10px auto 0;
    min-width: 120px;
    height: 32px;
    border: 0;
    border-radius: 20px;
    background: #fbeaf3;
    color: #e20177;
    font-weight: 700;
    font-size: 12px;
  }
}

.home-page .multiple-panel { margin-top: 0 !important; }
.search-container_search { max-width: 100% !important; width: 100% !important; }
@media (min-width: 768px) { .ibe-search_promocode-control { right: 7.5rem !important; top: 8px !important; } }

@media (max-width: 767px) {
  .multiple-panel_wrapper { margin: 24px 0 16px !important; }
  .multiple-panel_item_content { padding-bottom: 30px !important; }
  .multiple-panel_nav .multiple-panel_nav_item, .multiple-panel_links .multiple-panel_nav_item { font-size: 11px !important; line-height: 1.2 !important; }
  .main-banner_bg img { transform: scale(1.35) !important; transform-origin: 18% center !important; object-position: 18% center !important; }
  .promocode-control .label_text { font-size: 13px !important; }
}

.multiple-search { max-width: 100% !important; width: 100% !important; padding: 0 !important; }

@media (max-width: 767px) {
  .multiple-panel_item_content { padding-bottom: 48px !important; }
  .promocode-control { height: 30px !important; padding: 3px 12px !important; display: inline-flex !important; align-items: center !important; }
  .promocode-control .ui-checkbox { height: 24px !important; gap: 6px !important; }
  .promocode-control .label_text { line-height: 24px !important; }
}

@media (max-width: 767px) {
  .jm-station-modal, .jm-date-options { z-index: 2147483000 !important; background: #fff !important; }
  .jm-station-modal .jm-modal-head, .jm-date-options .jm-modal-head { position: sticky !important; top: 0 !important; z-index: 10 !important; }
  .jm-station-modal .control_options_inner { min-height: calc(100dvh - 153px) !important; }
}

.multiple-panel:has(.jm-station-modal), .multiple-panel:has(.jm-date-options) { z-index: 2147483000 !important; }
.multiple-panel:has(.jm-station-modal) .multiple-panel_content, .multiple-panel:has(.jm-date-options) .multiple-panel_content { z-index: 2147483000 !important; }
body:has(.jm-station-modal), body:has(.jm-date-options) { overflow: hidden !important; }

@media (min-width: 768px) { .multiple-panel_nav_item { padding-left: 34px !important; padding-right: 34px !important; } }
@media (max-width: 767px) {
  .jm-station-modal, .jm-date-options { height: 100vh !important; min-height: 100vh !important; }
  .jm-station-modal .jm-modal-head, .jm-date-options .jm-modal-head { height: 53px !important; }
  .jm-station-searchbar { padding: 8px 15px 10px !important; }
  .jm-station-searchfield { height: 42px !important; }
  .jm-station-searchfield .control_field_input { height: 42px !important; min-height: 42px !important; }
  .jm-station-modal .control_options_inner { padding-top: 20px !important; }
  .jm-station-group-title { margin: 16px 15px 6px !important; }
  .jm-station-option { padding: 5px 15px !important; min-height: 26px !important; }
}

@media (max-width: 767px) {
  .main-banner_bg img { transform: none !important; object-position: center !important; }
  .switch-button_list { max-width: 100% !important; overflow: hidden !important; }
  .switch-button_item_option_content { padding: 0 8px !important; font-size: 13px !important; }
  .multiple-panel_item_content { padding-bottom: 35px !important; }
}

@media (min-width: 1600px) {
  .ibe-search_content-top { height: 38px !important; margin-bottom: 6px !important; }
  .multiple-panel_item_content { padding-bottom: 13px !important; }
}
@media (max-width: 767px) {
  .multiple-panel_item_content { padding-bottom: 26px !important; }
}

@media (max-width: 767px) {
  .jm-station-modal .jm-modal-head, .jm-date-options .jm-modal-head { display: grid !important; grid-template-columns: 30px 1fr 30px !important; align-items: center !important; }
  .jm-modal-head h2 { text-align: left !important; margin: 0 0 0 10px !important; font-size: 17px !important; }
  .jm-modal-back { justify-self: start !important; }
  .jm-modal-close { justify-self: end !important; }
}

@media (max-width: 767px) {
  .switch-button_list { justify-content: space-between !important; }
  .switch-button_item { flex: 0 0 auto !important; max-width: 34% !important; }
  .switch-button_item_option_content { padding: 0 7px !important; font-size: 12.5px !important; }
  .multiple-panel_item_content { padding-bottom: 13px !important; }
}

@media (max-width: 767px) {
  .jm-station-searchbar { padding: 12px 15px 10px !important; }
  .jm-station-searchfield { height: 46px !important; }
  .jm-station-searchfield .control_field_input { height: 46px !important; min-height: 46px !important; }
  .jm-station-modal .control_options_inner { padding-top: 10px !important; }
  .jm-station-group-title { margin: 12px 15px 4px !important; }
  .jm-station-option { padding: 3px 15px !important; min-height: 26px !important; }
}

@media (min-width: 1600px) {
  .multiple-panel_item_content { padding: 28px 4px 13px 28px !important; }
  .ibe-search_station-control { flex: 0 1 58.5% !important; max-width: 58.5% !important; }
  .ibe-search_date-control { flex: 0 1 19% !important; max-width: 19% !important; }
  .ibe-search_pax-control { flex: 0 0 10% !important; }
  .ibe-search_action { flex: 0 0 12.5% !important; }
  .ibe-search_promocode-control { right: 9.5rem !important; }
}

@media (min-width: 1600px) {
  .multiple-panel_item_content { padding: 25px 4px 62px 28px !important; }
  .ibe-search_content-top { height: 36px !important; margin-bottom: 0 !important; }
  .ibe-search_promocode-control { top: -14px !important; }
}

@media (min-width: 1600px) {
  .multiple-panel_item_content { padding: 20px 4px 84px 28px !important; }
  .ibe-search_content-top { height: 30px !important; }
  .ibe-search_promocode-control { top: -20px !important; }
}

@media (max-width: 767px) { .multiple-panel_item_content { padding-bottom: 49px !important; } }

@media (max-width: 767px) {
  .jm-station-modal .jm-modal-head, .jm-date-options .jm-modal-head { grid-template-columns: 25px 1fr 30px !important; }
  .jm-modal-head h2 { margin-left: 0 !important; }
}

@media (max-width: 767px) { .jm-modal-head h2 { margin-left: 6px !important; } }

@media (max-width: 767px) {
  .main-banner_slider { height: 136px !important; }
  .multiple-panel_wrapper { margin: 9px 0 16px !important; }
  .multiple-panel_item_content { padding-bottom: 38px !important; }
}

@media (max-width: 767px) {
  .ibe-search_date-control { display: block !important; position: absolute !important; left: 0 !important; top: 0 !important; width: 0 !important; height: 0 !important; max-width: none !important; overflow: visible !important; pointer-events: none !important; }
  .ibe-search_date-control .date-control { display: none !important; }
  .ibe-search_date-control .jm-date-options { pointer-events: auto !important; }
  .promocode-control .ui-checkbox { gap: 8px !important; align-items: center !important; }
  .promocode-control .label_text { display: inline-flex !important; align-items: center !important; line-height: 1 !important; }
  .jm-promo-icon { display: block !important; }
  .ibe-search .control_field_input { line-height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
}

@media (min-width: 1600px) {
  .main-header_container { height: 84px !important; min-height: 84px !important; }
  .main-banner_slider { height: 450px !important; }
  .home-page .multiple-panel { margin-top: -56px !important; }
  .multiple-panel_item_content { padding-top: 9px !important; padding-bottom: 88px !important; }
}

.ibe-search_date-control .control_field-inbound .control_field_button { padding-left: 14px !important; padding-right: 22px !important; }
.ibe-search_date-control .control_field_button_value { gap: 2px !important; font-size: 13px !important; justify-content: flex-start !important; padding-left: 38px !important; }
.ibe-search_date-control .control_field-inbound .control_field_button_value { padding-left: 0 !important; }
.promocode-control { height: 36px !important; display: inline-flex !important; align-items: center !important; }
.promocode-control .ui-checkbox { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; white-space: nowrap !important; }
.promocode-control label { display: inline-flex !important; align-items: center !important; white-space: nowrap !important; }
.promocode-control .label_text { line-height: 1 !important; }

.ibe-search_date-control .control_field_button_value { padding-left: 0 !important; }

@media (min-width: 1600px) {
  .ibe-search_station-control { flex: 0 1 56.5% !important; max-width: 56.5% !important; }
  .ibe-search_date-control { flex: 0 1 22% !important; max-width: 22% !important; }
  .ibe-search_pax-control { flex: 0 0 10% !important; }
  .ibe-search_action { flex: 0 0 11% !important; }
  .ibe-search_date-control .control_field-outbound { flex: 0 0 52% !important; max-width: 52% !important; }
  .ibe-search_date-control .control_field-inbound { flex: 0 0 48% !important; max-width: 48% !important; }
}
.promocode-control .ui-checkbox { gap: 10px !important; }
.promocode-control .jm-promo-icon { margin-right: 1px; }

@media (min-width: 1600px) { .multiple-panel_item_content { padding-bottom: 46px !important; } }

.main-banner_item { width: 100% !important; left: 0 !important; right: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
.main-banner_bg { display: block !important; width: 100% !important; height: 100% !important; }
.main-banner_bg img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; }

@media (min-width: 1600px) {
  .main-header_nav-secondary { min-height: 47px !important; padding: 3px 0 !important; }
  .multiple-panel_item_content { padding-top: 2px !important; padding-bottom: 19px !important; }
}

@media (min-width: 1600px) { .multiple-panel_item_content { padding-top: 14px !important; padding-bottom: 49px !important; } }

@media (min-width: 1600px) {
  .ibe-search_station-control { flex: 0 1 58% !important; max-width: 58% !important; }
  .ibe-search_date-control { flex: 0 1 20% !important; max-width: 20% !important; }
  .ibe-search_pax-control { flex: 0 0 10% !important; }
  .ibe-search_action { flex: 0 0 11% !important; }
  .ibe-search_date-control .control_field-outbound { flex: 0 0 55% !important; max-width: 55% !important; }
  .ibe-search_date-control .control_field-inbound { flex: 0 0 45% !important; max-width: 45% !important; }
}

@media (max-width: 767px) {
  .promocode-control label { margin-left: 5px !important; }
  .promocode-control .ui-checkbox { gap: 6px !important; }
  .ibe-search_pax-control .control_field_button { padding-left: 26px !important; justify-content: flex-start !important; }
  .ibe-search_pax-control .control_field_button_value { width: auto !important; }
}

/* Hero copy overlays */
.jm-hero-copy {
  position: absolute;
  top: 52px;
  z-index: 3;
  max-width: 560px;
  color: #fff;
  pointer-events: none;
}
.jm-hero-copy h2 {
  font-family: "Aller", sans-serif;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 700;
  color: #fd0;
  margin: 0 0 10px;
}
.jm-hero-copy p {
  font-family: "Aller", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.main-banner_item.align-right .jm-hero-copy {
  right: 6%;
  left: auto;
  text-align: right;
}
.main-banner_item.align-left .jm-hero-copy {
  left: 14%;
  right: auto;
  text-align: left;
}

/* One-way shows a single date field */
.ibe-search_date-control.is-oneway .control_field-inbound {
  display: none !important;
}
.ibe-search_date-control.is-oneway .control_field-outbound {
  flex: 1 1 100% !important;
  max-width: 100% !important;
}
.ibe-search_date-control.is-oneway .control_field_button {
  padding-right: 22px !important;
}
.jm-date-placeholder {
  color: #484552;
  font-size: 14px;
  font-weight: 600;
}

/* Desktop station dropdown heading */
.jm-station-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #e20177;
  margin: 0 6px 14px;
}

@media (max-width: 767px) {
  .jm-hero-copy {
    top: 18px;
    max-width: 74%;
  }
  .jm-hero-copy h2 {
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .jm-hero-copy p {
    font-size: 12px;
    line-height: 1.2;
  }
  .main-banner_item.align-right .jm-hero-copy {
    right: 5%;
  }
  .main-banner_item.align-left .jm-hero-copy {
    left: 5%;
  }
  .jm-station-title {
    display: none !important;
  }
}

@media (min-width: 768px) { .main-header_logo img { width: 160px !important; height: auto !important; } }

@media (min-width: 768px) { .jm-station-modal { box-shadow: 0 0 0 100vmax rgba(72, 69, 82, 0.55), 0 22px 50px rgba(72, 69, 82, 0.3) !important; top: calc(100% + 1px) !important; } }

.jm-hero-copy { top: 48px !important; max-width: 450px !important; }
.main-banner_item.align-right .jm-hero-copy { right: 13.5% !important; }

@media (min-width: 768px) {
  .jm-date-options {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: min(780px, 94vw) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    z-index: 2147483000 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 0 0 100vmax rgba(72, 69, 82, 0.55), 0 24px 70px rgba(72, 69, 82, 0.35) !important;
  }
  .jm-date-options .jm-modal-head {
    display: grid !important;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    background: #e20177;
    color: #fff;
  }
  .jm-date-options .jm-modal-head h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    text-align: left;
  }
  .jm-date-options .jm-modal-back,
  .jm-date-options .jm-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }
  .jm-date-options .jm-modal-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #e20177;
    font-size: 17px;
  }
  .jm-date-options .control_options_inner {
    padding: 16px 20px 20px !important;
  }
  .jm-date-options .jm-calendar-months {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.ibe-search .control_field, .ibe-search .control_field_inner { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.ibe-search .control_field.is-focused .control_field_input, .ibe-search .control_field.is-focused .control_field_button { border-color: #ffdd00 !important; background: #fff !important; box-shadow: inset 0 0 0 1px #ffdd00, 0 0 6px rgba(0,0,0,0.3) !important; outline: 0 !important; }
.ibe-search .control_field_input, .ibe-search .control_field_button { background-clip: padding-box; }

.jm-search-scrim { position: fixed; inset: 0; background: rgba(72, 69, 82, 0.55); z-index: 100; }
.ibe-search_station-control { position: relative; z-index: 110; }
@media (min-width: 768px) { .jm-station-modal { box-shadow: 0 22px 50px rgba(72,69,82,0.3) !important; z-index: 130 !important; } }

.ibe-search:has(.jm-search-scrim) .ibe-search_content { position: relative; z-index: 110; }
@media (min-width: 1600px) { .ibe-search_promocode-control { right: 10.75rem !important; } }

@media (min-width: 1600px) {
  .ibe-search.is-roundtrip .ibe-search_station-control { flex: 0 1 48% !important; max-width: 48% !important; }
  .ibe-search.is-roundtrip .ibe-search_date-control { flex: 0 1 29% !important; max-width: 29% !important; }
  .ibe-search.is-roundtrip .ibe-search_pax-control { flex: 0 0 9% !important; }
  .ibe-search.is-roundtrip .ibe-search_action { flex: 0 0 11% !important; }
}

@media (min-width: 768px) {
  .main-header_logo img { height: 42px !important; width: 160px !important; object-fit: contain; }
  .main-header_nav-primary_item_link { font-size: 16px !important; }
}
