:root {
  --results-bg: #f5f7fb;
  --card-bg: #ffffff;
  --line-soft: #e6ebf2;
  --line-strong: #dde4ef;
  --text-main: #151922;
  --text-muted: #6c7485;
  --text-soft: #9aa3b4;
  --brand-blue: #004aca;
  --brand-blue-dark: #004aca;
  --chip-bg: #eceef0;
  --chip-border: #d8dfeb;
  --shadow-soft: 0 10px 30px rgba(21, 35, 72, 0.08);
  --flight-result-columns: 1.2fr 0.62fr 0.82fr 0.62fr 0.62fr 0.76fr 0.92fr;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
}

html.js:not(.results-ui-ready) .results-table-scroll {
  visibility: hidden;
}

body.fare-modal-open,
body.result-modal-open {
  overflow: hidden;
}

body.filter-drawer-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.results-container {
  width: min(100% - 56px, 1440px);
  margin: 0 auto;
}

.results-main {
  padding: 24px 0 48px;
}

.results-mobile-topbar {
  display: none;
}

.results-search-shell {
  margin-bottom: 24px;
  position: relative;
  z-index: 100;
}

.results-search-shell .search-panel-results {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.results-search-shell .airport-popover,
.results-search-shell .calendar-popover,
.results-search-shell .advanced-filters-popover,
.results-search-shell .passenger-popover {
  z-index: 1810;
}

.results-mobile-trigger {
  display: none;
}

.date-route-strip {
  min-height: 62px;
  margin: -8px 0 16px;
  padding: 0 30px;
  border: 1px solid #eef1f6;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(20, 34, 70, 0.04);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
}

.date-route-step,
.date-route-next {
  min-height: 38px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #222938;
  font-size: 13px;
  font-weight: 500;
}

.date-route-step {
  justify-self: start;
}

.date-route-next {
  justify-self: end;
  color: #0050d8;
  font-weight: 700;
}

.date-route-step span,
.date-route-next span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
}

.date-route-step span {
  border: 1px solid #edf1f7;
  background: #ffffff;
  color: #111827;
}

.date-route-next span {
  background: #0050d8;
  color: #ffffff;
}

.date-route-step svg,
.date-route-next svg {
  width: 18px;
  height: 18px;
}

.date-route-summary {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #1b1f2a;
}

.date-route-summary strong {
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.date-route-summary strong span {
  color: #0050d8;
  padding: 0 5px;
}

.date-route-meta {
  min-height: 22px;
  padding-left: 20px;
  border-left: 1px solid #d8deea;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #4b5565;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.date-route-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.date-route-meta svg {
  width: 14px;
  height: 14px;
  color: #4b5565;
}

.modify-search-card,
.flight-card {
  background: var(--card-bg);
  border: 1px solid rgba(221, 228, 239, 0.95);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.modify-search-toolbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  background: linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 16px 16px 0 0;
}

.trip-chip,
.currency-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #202533;
  font-size: 12px;
  padding: 0;
}

.trip-chip svg,
.currency-select svg,
.filter-chip svg,
.search-chevron {
  width: 14px;
  height: 14px;
}

.currency-select {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #e0e5ef;
  border-radius: 8px;
  background: #ffffff;
  font-size: 12px;
  color: #2b4db8;
}

.modify-search-body {
  padding: 14px 16px 18px;
}

.search-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 0;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 0 0 14px 14px;
}

.search-result-fields {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.9fr 0.92fr 1.16fr;
  min-width: 0;
}

.result-search-field {
  padding: 12px 14px;
  border-right: 1px solid #edf1f6;
}

.feature-field {
  min-width: 0;
}

.search-field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f697b;
}

.result-search-button {
  width: 100%;
  min-height: 50px;
  padding: 0 0 0 2px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.result-search-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.result-search-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: #f4f8ff;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.result-search-icon svg {
  width: 18px;
  height: 18px;
}

.muted-icon {
  background: #f6f7fa;
  color: #c0c7d5;
}

.result-search-copy strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  color: #1b1e27;
}

.result-search-copy small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #667085;
  white-space: nowrap;
}

.fare-save-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 18px;
  margin-top: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ffe1d0;
  color: #c45f18;
  font-size: 10px;
  font-weight: 700;
}

.modify-search-submit {
  min-height: 100%;
  border: 0;
  background: var(--brand-blue);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.airline-strip {
  margin-top: 24px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(106px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.airline-strip::-webkit-scrollbar,
.filter-chip-row::-webkit-scrollbar {
  display: none;
}

.airline-fare-card {
  min-height: 66px;
  padding: 8px 10px 7px;
  border: 1px solid #d2dae7;
  border-radius: 9px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: #172033;
  box-shadow: 0 2px 8px rgba(16, 30, 64, 0.04);
}

.airline-fare-card.is-selected {
  border-color: var(--brand-blue);
  box-shadow: inset 0 0 0 1px var(--brand-blue);
  background-color: #eff6ff;
}

.airline-fare-card span,
.airline-fare-card small {
  font-size: 10px;
  color: #728099;
}

.airline-fare-card strong {
  font-size: 13px;
  font-weight: 800;
  color: #1848b8;
}

.fare-card-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fare-logo-block {
  width: 24px;
  height: 20px;
  border-radius: 2px;
  background-image: url(../images/flightresult.png);
  background-position: center;
}

.result-note-marquee {
  position: relative;
  z-index: 90;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  background: #eef2f8;
  overflow: visible;
  border-radius: 2px;
}

.result-note-label {
  padding: 10px 32px;
  background: #004aca;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
}

.result-note-label svg {
  width: 18px;
  height: 18px;
}

.result-note-label strong {
  font-size: 12px;
  font-weight: 800;
}

.result-note-track {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.result-note-track p {
  width: max-content;
  margin: 0;
  color: #192235;
  font-size: 16px;
  line-height: 24px;
  animation: resultNoteMarquee 22s linear infinite;
}

.result-note-text-btn {
  display: block;
  width: max-content;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #192235;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  animation: resultNoteMarquee 22s linear infinite;
}

.result-note-track:hover .result-note-text-btn {
  animation-play-state: paused;
}

.result-note-marquee:hover .result-note-track p,
.result-note-marquee:hover .result-note-text-btn {
  animation-play-state: paused;
}

@keyframes resultNoteMarquee {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.filter-chip-row {
  margin-top: 18px;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

@media (min-width: 1025px) {
  .filter-chip-row {
    position: sticky;
    top: 0;
    z-index: 80;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #ffffff;
    border-bottom: 1px solid #edf1f7;
  }

  .flight-card-head {
    position: sticky;
    top: 54px;
    z-index: 70;
    box-shadow: 0 8px 18px rgba(20, 34, 70, 0.08);
  }
}

.filter-row-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.agency-commission-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #202737;
  font-size: 13px;
  font-weight: 700;
}

.agency-commission-toggle input {
  position: absolute;
  opacity: 0;
}

.agency-commission-toggle i {
  width: 34px;
  height: 18px;
  position: relative;
  border-radius: 999px;
  background: #dbe2ec;
}

.agency-commission-toggle i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.agency-commission-toggle input:checked + i {
  background: var(--brand-blue);
}

.agency-commission-toggle input:checked + i::after {
  transform: translateX(16px);
}

.filter-share-btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
}

.filter-share-btn:disabled,
.filter-share-btn.is-disabled {
  background: #d6deeb;
  color: #8994a6;
  cursor: not-allowed;
  opacity: 0.75;
}

.filter-share-btn svg {
  width: 15px;
  height: 15px;
}

.filter-chip {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--chip-bg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2d3442;
  white-space: nowrap;
}

.filter-chip.is-active {
  background: var(--brand-blue);
  color: #ffffff;
}

.filter-chip-selection-view {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-chip-selection-view.is-active {
  border-color: var(--brand-blue);
}

.filter-menu-popover {
  position: absolute;
  z-index: 1700;
  width: min(320px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid #e4e8f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(20, 34, 70, 0.18);
  display: none;
}

.filter-menu-popover.is-open {
  display: block;
}

.filter-menu-popover .filter-section {
  margin: 0;
}

.flight-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  pointer-events: none;
  visibility: hidden;
}

.flight-filter-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.flight-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 32, 0);
  transition: background 0.24s ease;
}

.flight-filter-drawer.is-open .flight-filter-backdrop {
  background: rgba(12, 18, 32, 0.34);
}

.flight-filter-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: min(100vw - 8px, 416px);
  height: 100%;
  border-radius: 0 18px 18px 0;
  background: #ffffff;
  box-shadow: 20px 0 50px rgba(15, 25, 52, 0.22);
  transform: translateX(-104%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.flight-filter-drawer.is-open .flight-filter-panel {
  transform: translateX(0);
}

.flight-filter-grip {
  width: 103px;
  height: 5px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: #c8cbd1;
  flex-shrink: 0;
}

.flight-filter-head {
  min-height: 54px;
  padding: 0 24px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
}

.flight-filter-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  line-height: 1;
  font-weight: 500;
  color: #101827;
}

.flight-filter-head h2 svg {
  width: 17px;
  height: 17px;
  color: #153fbf;
}

.flight-filter-head button,
.filter-section-title button {
  border: 0;
  background: transparent;
  color: #123bb5;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  padding: 0;
}

.flight-filter-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 24px 100px;
  scrollbar-width: none;
}

.flight-filter-body::-webkit-scrollbar {
  display: none;
}

.filter-section {
  margin-top: 28px;
}

.filter-section:first-child {
  margin-top: 0;
}

.filter-section-title {
  min-height: 20px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #172033;
  font-size: 14px;
  font-weight: 500;
}

.filter-section-title strong {
  min-height: 22px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #e8eefc;
  color: #1248c8;
  font-size: 11px;
  font-weight: 800;
}

.filter-search {
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d5d9ee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f1f2ff;
  color: #5e677a;
}

.filter-search svg {
  width: 17px;
  height: 17px;
}

.filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1b2231;
  font-size: 13px;
}

.filter-search input::placeholder {
  color: #8d94a5;
}

.filter-check-row,
.radio-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  color: #182233;
  font-size: 13px;
}

.filter-check-row,
.airport-filter-grid label,
.flight-selection-view-grid label {
  position: relative;
}

.filter-check-row span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.filter-check-row span svg {
  width: 28px;
  height: 28px;
  padding: 7px;
  border-radius: 6px;
  background: #e8ecf8;
  color: #59677d;
}

.filter-check-row input,
.airport-filter-grid input {
  appearance: none;
  width: 23px;
  height: 23px;
  margin: 0;
  border: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  z-index: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-checkbox-icon {
  width: 23px;
  height: 23px;
  border: 1px solid #bfc7d8;
  border-radius: 5px;
  background: #ffffff;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  pointer-events: none;
}

.filter-checkbox-icon svg {
  stroke-width: 3 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #ffffff !important;
  padding: 4px !important;
}

.flight-selection-view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flight-selection-view-grid label {
  padding: 8px 12px;
  border: 1px solid #e1e6f0;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #172033;
  font-size: 15px;
  cursor: pointer;
}

.flight-selection-view-grid label.is-selected {
  border-color: #173fb5;
  background: #eef4ff;
}

.flight-selection-view-grid input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 0;
  opacity: 0;
  position: absolute;
  left: 12px;
  z-index: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.flight-selection-view-grid input:checked {
  border-color: #173fb5;
  background: #173fb5;
}

.flight-selection-view-grid input:checked::after {
  content: none;
}

.filter-check-row input:checked,
.airport-filter-grid input:checked {
  border-color: #173fb5;
  background: #173fb5;
}

.filter-check-row input:checked::after,
.airport-filter-grid input:checked::after {
  content: none;
}

.filter-check-row input:checked + .filter-checkbox-icon,
.airport-filter-grid input:checked + .filter-checkbox-icon,
.flight-selection-view-grid input:checked + .filter-checkbox-icon {
  border-color: #173fb5;
  background: #173fb5;
}

.airport-filter-group + .airport-filter-group {
  margin-top: 26px;
}

.airport-list-title {
  margin-top: 0;
}

.airport-option-row {
  min-height: 64px;
  font-size: 15px;
}

.airport-option-row span {
  align-items: center;
  line-height: 1.45;
}

.airport-option-row span svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 8px;
  background: #dfe6ff;
  color: #59677d;
}

.airport-option-row input {
  width: 28px;
  height: 28px;
  border-width: 2px;
  border-radius: 7px;
}

.airport-option-row .filter-checkbox-icon {
  width: 28px;
  height: 28px;
  border-width: 2px;
  border-radius: 7px;
}

.airport-option-row input + .filter-checkbox-icon {
  margin-left: 0;
}

.airport-option-row input:checked::after {
  content: none;
}

.filter-range {
  width: 100%;
  height: 23px;
  margin: 0;
  accent-color: #1c4ed8;
}

.filter-range-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: #111827;
  font-size: 10px;
}

.segmented-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.segmented-filter button,
.time-filter-grid button,
.fare-filter-tags button,
.perk-filter-tags button {
  border: 0;
  font: inherit;
}

.segmented-filter button {
  height: 40px;
  border-radius: 8px;
  background: #f0f2ff;
  color: #3d4658;
  font-size: 13px;
}

.segmented-filter button.is-selected {
  background: #163fb8;
  color: #ffffff;
}

.time-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.time-filter-grid button {
  min-height: 78px;
  border-radius: 9px;
  background: #f0f2ff;
  color: #192235;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  text-align: center;
}

.time-filter-grid button.is-selected {
  background: #193fb7;
  color: #ffffff;
}

.time-filter-grid svg {
  width: 18px;
  height: 18px;
}

.time-filter-grid span {
  font-size: 13px;
}

.time-filter-grid small {
  font-size: 8px;
  color: currentColor;
  opacity: 0.78;
}

.radio-filter-row {
  min-height: 50px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f0f2ff;
}

.radio-filter-row.is-selected {
  border-color: #1748d5;
}

.radio-filter-row input {
  appearance: none;
  width: 23px;
  height: 23px;
  margin: 0;
  border: 1px solid #aeb7ca;
  border-radius: 50%;
  background: #ffffff;
}

.radio-filter-row input:checked {
  border: 7px solid #143fbb;
}

.fare-filter-tags,
.perk-filter-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fare-filter-tags button,
.perk-filter-tags button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  color: #315070;
}

.fare-filter-tags .blue {
  background: #e3efff;
  color: #2662d6;
}

.fare-filter-tags .purple {
  background: #f3e8ff;
  color: #8a39dd;
}

.fare-filter-tags .green {
  background: #d9f8e9;
  color: #13794e;
}

.fare-filter-tags .yellow {
  background: #ffedb6;
  color: #8a6510;
}

.fare-filter-tags .red {
  background: #ffe3e4;
  color: #cf3646;
}

.fare-filter-tags .sky {
  background: #e3edff;
  color: #3873df;
}

.airport-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.airport-filter-grid label {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #e3e7f2;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1c2535;
  font-size: 12px;
}

.airport-filter-grid input {
  width: 18px;
  height: 18px;
  left: 10px;
  right: auto;
}

.airport-filter-grid input:checked::after {
  content: none;
}

.perk-filter-tags button:nth-child(1) {
  background: #dcfbef;
  color: #06935f;
}

.perk-filter-tags button:nth-child(2) {
  background: #e6f0ff;
  color: #2b6ee8;
}

.perk-filter-tags button:nth-child(3) {
  background: #f4e5ff;
  color: #a333dc;
}

.perk-filter-tags button:nth-child(4) {
  background: #fff1bf;
  color: #b47300;
}

.perk-filter-tags button:nth-child(5) {
  background: #ffe3e5;
  color: #e13a4c;
}

.perk-filter-tags button:nth-child(6) {
  background: #dff8ff;
  color: #1686b3;
}

.fare-filter-tags button.is-selected,
.perk-filter-tags button.is-selected {
  border-color: var(--brand-blue);
  box-shadow: inset 0 0 0 1px var(--brand-blue);
}

.filter-check-row.is-selected,
.airport-filter-grid label.is-selected {
  color: var(--brand-blue);
}

.flight-filter-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 24px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), #ffffff 30%);
}

.flight-filter-footer button {
  width: 100%;
  height: 59px;
  border: 0;
  border-radius: 10px;
  background: #113fbd;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(17, 63, 189, 0.28);
}

.results-list {
  margin-top: 14px;
  display: grid;
  gap: 0;
}

.results-table-scroll {
  overflow: visible;
}

.flight-card {
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  border-color: #eef2f7;
  margin-bottom: 24px;
}

.flight-card-head {
  min-height: 42px;
  padding: 0 22px;
  background: #f1f5f9;
  border-bottom: 1px solid #c3c6d733;
  display: grid;
  grid-template-columns: var(--flight-result-columns);
  gap: 18px;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d6980;
}

.flight-card-with-detached-head {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.result-sort-btn {
  width: fit-content;
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.result-sort-btn svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  opacity: 0.55;
}

.result-sort-btn.is-active {
  color: #0d54d8;
}

.result-sort-btn.is-active svg {
  opacity: 1;
}

.flight-summary {
  padding: clamp(1rem, 0.3041rem + 1.0811vw, 1.25rem);
  display: grid;
  grid-template-columns: var(--flight-result-columns);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #edf2f8;
  background-color: #ffffff;
  overflow-x: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.flight-summary::-webkit-scrollbar {
  display: none;
}

.flight-card:nth-child(odd) .flight-summary,
.flight-card-soft .flight-summary {
  background: #ffffff;
}

.flight-card:nth-child(even) .flight-summary,
.flight-card-white .flight-summary {
  background: #f4f9ff;
}

body.flight-combination-view .flight-card[hidden] {
  display: none !important;
}

body.flight-combination-view .flight-combination-card {
  background: #f5f9ff;
  border: 1px solid #e6edf7;
  margin-bottom: 18px;
}

body.flight-combination-view .flight-combination-card .flight-summary {
  min-height: 96px;
  background: #f5f9ff;
  border-bottom: 0;
  padding-top: 15px;
  padding-bottom: 10px;
  overflow: visible;
}

body.flight-combination-view
  .flight-combination-card
  .flight-summary
  + .flight-summary {
  padding-top: 4px;
  padding-bottom: 18px;
}

body.flight-combination-view
  .flight-combination-card
  .flight-combination-primary
  .fare-type-cell,
body.flight-combination-view
  .flight-combination-card
  .flight-combination-primary
  .fare-price-cell,
body.flight-combination-view
  .flight-combination-card
  .flight-combination-primary
  .flight-actions {
  transform: translateY(48px);
  position: relative;
  z-index: 2;
}

body.flight-combination-view
  .flight-combination-card
  .flight-summary
  + .flight-summary
  .fare-type-cell,
body.flight-combination-view
  .flight-combination-card
  .flight-summary
  + .flight-summary
  .fare-price-cell,
body.flight-combination-view
  .flight-combination-card
  .flight-summary
  + .flight-summary
  .flight-actions {
  visibility: hidden;
}

body.flight-combination-view .flight-combination-card .flight-info-strip {
  min-height: 40px;
  border-top: 1px solid #eef2f8;
  background: #f4efff;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 0.9fr;
}

body.flight-combination-view
  .flight-combination-card.is-selected-flight
  .flight-summary {
  box-shadow: none;
}

body.flight-combination-view .flight-combination-card.is-selected-flight {
  box-shadow: inset 0 0 0 2px #004aca;
}

body.flight-combination-view .flight-combination-card .fare-price-cell strong {
  font-size: 30px;
}

body.flight-combination-view .flight-combination-card .book-btn {
  min-width: 112px;
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
  color: #ffffff;
}

.airline-cell,
.result-search-copy,
.flight-actions,
.fare-type-cell,
.fare-option-cell,
.time-cell,
.route-cell {
  min-width: 0;
}

.airline-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.airline-icon {
  width: 22px;
  height: 22px;
  border: 1px solid #e6ebf2;
  border-radius: 7px;
  background-image: url(../images/flightresult.png);
  background-position: center;
  flex-shrink: 0;
}

.airline-cell strong,
.route-cell strong,
.time-cell strong {
  display: block;
  color: #171d27;
}

.airline-cell strong {
  font-size: 15px;
  font-weight: 600;
}

.airline-cell a {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: #1e56d2;
}

.time-cell strong {
  font-size: clamp(1.125rem, 0.4291rem + 1.0811vw, 1.375rem);
  font-weight: 700;
  line-height: 1;
}

.time-cell span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #2b3142;
}

.time-cell small,
.route-cell small,
.fare-type-cell small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #8b94a5;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 4px 0;
  color: #1f59d7;
}

.route-line span {
  width: 24px;
  height: 4px;
  border-top: 2px solid #1f59d7;
  border-bottom: 2px solid transparent;
  border-radius: 999px;
}

.route-line svg {
  width: 18px;
  height: 18px;
}

.route-cell strong {
  font-size: 11px;
  font-weight: 700;
  color: #cb6519;
}

.route-detail-toggle {
  width: fit-content;
  cursor: pointer;
}

.route-detail-toggle:focus-visible {
  outline: 2px solid #0c4be5;
  outline-offset: 3px;
  border-radius: 4px;
}

.route-cell small svg {
  width: 12px;
  height: 12px;
  vertical-align: -2px;
  margin-right: 4px;
}

.fare-option-cell {
  display: none;
}

.fare-type-cell {
  order: 5;
}

.fare-price-cell {
  order: 6;
  display: grid;
  justify-items: start;
  gap: 7px;
}

.flight-actions {
  order: 7;
  display: grid;
  justify-items: stretch;
  gap: 8px;
}

.fare-price-cell strong {
  color: #1b1f2a;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.fare-price-cell button {
  min-height: 24px;
  padding: 0 13px;
  border: 1.5px solid var(--brand-blue);
  border-radius: 999px;
  background: #ffffff;
  color: #0050d8;
  font-size: 12px;
  font-weight: 700;
}

.flight-action-stack .book-btn,
.flight-action-stack .view-fares-btn {
  min-width: 136px;
  min-height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.flight-action-stack .book-btn {
  border: 1px solid #0c4be5;
  background: #0c4be5;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(12, 75, 229, 0.18);
}

.flight-action-stack .view-fares-btn {
  border: 1.5px solid #0c4be5;
  background: #ffffff;
  color: #0c4be5;
  box-shadow: none;
}

.fare-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222938;
}

.fare-radio span {
  width: 9px;
  height: 9px;
  border: 1.4px solid #7f899d;
  border-radius: 50%;
  flex-shrink: 0;
}

.fare-radio.is-selected span {
  border-color: #1b57d4;
  background: radial-gradient(circle, #1b57d4 0 45%, transparent 46%);
}

.fare-radio strong {
  font-size: 13px;
  font-weight: 700;
}

.fare-radio small {
  font-size: 13px;
  font-weight: 500;
  color: #b4b8c2;
}

.fare-type-cell {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.fare-tag {
  min-height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex !important;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  gap: 6px;
}

.fare-tag svg {
  width: 12px;
  height: 12px;
}

.fare-tag.purple {
  background: #f3e6ff;
  color: #a020f0;
}

.fare-tag.blue {
  background: #e6f0ff;
  color: #1d5be0;
}

.fare-type-cell small {
  display: none !important;
  color: #ec4a4a;
  font-weight: 700;
}

.flight-select-cell {
  order: 7;
  display: grid;
  place-items: center;
}

.flight-select-cell input {
  width: 17px;
  height: 17px;
  border: 1px solid #d3d9e5;
  border-radius: 4px;
  background: #ffffff;
}

.flight-select-cell input:checked {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
}

.details-btn,
.book-btn {
  min-width: 50px;
  height: 26px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.details-btn {
  border: 1px solid #3a73e5;
  background: #ffffff;
  color: #225bd8;
}

.view-fares-btn {
  min-width: 124px;
}

.view-detail-link {
  min-width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0050d8;
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.view-detail-link svg {
  width: 13px;
  height: 13px;
}

.flight-card.is-expanded .view-detail-link svg {
  transform: rotate(180deg);
}

.flight-info-strip {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.05fr 1.2fr 0.9fr;
  gap: 18px;
  align-items: center;
  padding: 0 clamp(1rem, 0.3041rem + 1.0811vw, 1.25rem);
  background: #f2effd;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
}

.info-leaf {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

.flight-info-strip > strong {
  color: #e11919;
  font-weight: 600;
}

.flight-info-strip > span:nth-child(2),
.flight-info-strip .view-detail-link {
  color: #0050d8;
}

.flight-info-strip .green {
  color: #10bd4c;
}

.flight-info-strip b {
  display: inline-flex;
  min-height: 17px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #c9f4d3;
  color: #0e9d3f;
  font-size: 10px;
  margin-left: 4px;
}

.flight-info-strip label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.flight-info-strip label input {
  position: relative;
  width: 30px;
  height: 12px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #dbe2ec;
  cursor: pointer;
  transition: background 0.18s ease;
}

.flight-info-strip label input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.flight-info-strip label input:checked {
  background: var(--brand-blue);
}

.flight-info-strip label input:checked::after {
  transform: translateX(16px);
}

.book-btn {
  border: 0;
  background: var(--brand-blue);
  color: #ffffff;
}

.fare-options-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.fare-options-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fare-options-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 35, 0.52);
  backdrop-filter: blur(4px);
}

.fare-options-dialog {
  position: relative;
  width: min(100% - 32px, 1168px);
  max-height: min(92vh, 760px);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(19, 31, 64, 0.26);
  overflow: hidden;
}

@media (min-width: 1025px) {
  .fare-options-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .fare-options-dialog {
    margin: 0 auto;
  }
}

.fare-options-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7f8798;
  z-index: 2;
}

.fare-options-close svg,
.fare-options-scroll-indicator svg {
  width: 20px;
  height: 20px;
}

.fare-options-head {
  padding: 24px 32px 0;
}

.fare-options-head h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 0.7813rem + 1.25vw, 1.875rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
  color: #202638;
  font-weight: 600;
}

.fare-options-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #3e4758;
  font-size: 18px;
}

.fare-options-meta strong {
  font-size: 17px;
  color: #252b39;
}

.fare-options-meta strong span {
  color: #4b5568;
}

.fare-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cad0db;
}

.fare-airline-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fare-airline-brand svg {
  width: 16px;
  height: 16px;
  color: #1e5ad8;
}

.fare-airline-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    #ff7b7b 0 33%,
    #ffffff 33% 66%,
    #37b36f 66% 100%
  );
  border: 1px solid #eceff5;
}

.fare-options-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 42px 32px 26px;
}

.fare-options-carousel {
  position: relative;
  padding: 0;
}

.fare-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid #e5ebf6;
  border-radius: 50%;
  background: #ffffff;
  color: #1b59d6;
  box-shadow: 0 10px 24px rgba(17, 32, 63, 0.12);
  z-index: 2;
}

.fare-carousel-btn[hidden],
.fare-carousel-dots[hidden] {
  display: none !important;
}

.fare-carousel-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.fare-carousel-btn svg {
  width: 20px;
  height: 20px;
}

.fare-carousel-btn-prev {
  left: -16px;
}

.fare-carousel-btn-next {
  right: 10px;
}

.fare-carousel-btn-prev {
  display: none;
}

.fare-option-card {
  position: relative;
  min-height: 412px;
  padding: 22px 20px 20px;
  border: 1px solid #dbe2ef;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fare-option-card.is-featured {
  border: 2px solid #1b59d6;
  box-shadow: 0 10px 28px rgba(17, 53, 134, 0.1);
}

.fare-option-card.premium-card {
  border-color: #f1d173;
  background:
    linear-gradient(
      140deg,
      rgba(255, 238, 195, 0.28),
      rgba(255, 255, 255, 0) 24%
    ),
    #ffffff;
}

.fare-highlight {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 98px;
  height: 24px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #151d2f;
  color: #ffd229;
  font-size: 12px;
  font-weight: 700;
}

.fare-option-copy {
  display: grid;
  gap: 14px;
}

.fare-plan {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #727b8c;
}

.fare-plan.blue-text {
  color: #1a56d6;
}

.fare-plan.muted-plan {
  color: #7e8698;
}

.fare-plan.premium-text {
  color: #b15a15;
}

.fare-price-row {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}

.fare-price-row strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  color: #1f2638;
  letter-spacing: -0.04em;
}

.fare-price-row span {
  font-size: 12px;
  color: #687284;
}

.fare-price-strike {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fare-price-strike span {
  font-size: 14px;
  font-weight: 700;
  color: #8f97a5;
  text-decoration: line-through;
}

.fare-price-strike em {
  min-height: 22px;
  padding: 0 10px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  background: #ffe2b9;
  color: #b35b0c;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.fare-coupon,
.fare-benefit-banner {
  padding: 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.fare-coupon.mint {
  background: #ecfdf5;
  color: #065f46;
}

.fare-coupon.blue {
  background: #dff0ff;
  color: #0d6bc0;
}

.fare-coupon.premium {
  justify-content: center;
  background: #b95f10;
  color: #ffffff;
}

.fare-benefit-banner {
  justify-content: center;
  background: #ffefc9;
  color: #b36112;
}

.fare-benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.fare-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #2f3747;
}

.fare-benefits-list li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.fare-benefits-list li.is-positive {
  color: #202838;
}

.fare-benefits-list li.is-positive svg {
  color: #10b981;
}

.fare-benefits-list li.is-negative {
  color: #7e8797;
}

.fare-benefits-list li.is-negative svg {
  color: #ba1a1a;
}

.accent-text {
  color: #1459dd;
  font-weight: 700;
}

.fare-protection {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: #f1f3ff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #141b2b;
}

.fare-protection input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.fare-book-btn {
  width: 100%;
  height: 46px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: #1955d1;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.fare-book-btn.premium-action {
  background: #161f32;
  color: #ffd22f;
}

.fare-options-bottom {
  min-height: 52px;
  padding: 0 32px;
  border-top: 1px solid #edf1f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fare-bottom-points {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.fare-bottom-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4e5666;
  font-size: 12px;
}

.fare-bottom-points svg {
  width: 15px;
  height: 15px;
}

.fare-options-bottom a {
  color: #1758d9;
  font-size: 12px;
  font-weight: 600;
}

.fare-carousel-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 0 18px;
}

.fare-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfd7e5;
}

.fare-carousel-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: #1a57d6;
}

.flight-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 12px;
  border-bottom: 1px solid #edf2f8;
}

.flight-tab {
  min-height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8a93a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.flight-tab.is-active {
  color: #1a55d5;
  border-bottom-color: #1a55d5;
}

.flight-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 194px;
  gap: 22px;
  padding: 14px 12px 18px;
  align-items: start;
}

.flight-detail-grid.two-column {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 194px;
  align-items: start;
}

.flight-detail-fare {
  grid-template-columns: 250px minmax(0, 1fr);
}

.flight-detail-baggage,
.flight-detail-cancellation {
  grid-template-columns: minmax(0, 1fr);
}

.flight-card:not(.is-expanded) .flight-tabs,
.flight-card:not(.is-expanded) .flight-detail-grid {
  display: none;
}

.flight-timeline-card {
  position: relative;
  padding: 8px 20px 0 20px;
}

.flight-timeline-card h4 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #111827;
}

.timeline-stop {
  position: relative;
  padding-left: 20px;
  margin: 16px 0;
}

.timeline-stop::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2058d5;
}

.timeline-stop.is-end::before {
  background: #c8d1e2;
}

.timeline-stop::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  bottom: -24px;
  border-left: 2px dashed #d8dfeb;
}

.timeline-stop.is-end::after {
  display: none;
}

.timeline-stop strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1c232d;
}

.timeline-stop strong span {
  font-weight: 500;
}

.timeline-stop small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #6f7889;
}

.timeline-duration {
  margin: 10px 0 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9099aa;
}

.layover-bar {
  margin-top: 32px;
  min-height: 32px;
  border-radius: 6px;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #c35b15;
  font-size: 12px;
  font-weight: 700;
}

.layover-bar svg {
  width: 16px;
  height: 16px;
}

.layover-bar.wide {
  grid-column: 1 / span 2;
  margin-top: 0;
}

.fare-breakdown-card {
  padding: 12px 12px 14px;
  border-radius: 8px;
  background: #f7f9fc;
}

.fare-breakdown-card h3 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #353c48;
}

.fare-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 11px;
  color: #414858;
}

.fare-breakdown-row strong {
  font-size: 11px;
}

.fare-breakdown-row.total {
  margin-top: 14px;
  margin-bottom: 0;
  color: #0e54d2;
  font-weight: 800;
}

.fare-breakdown-row.total strong {
  font-size: 18px;
}

.flight-tab-panel-card {
  padding: 14px;
  border-radius: 8px;
  background: #f7f9fc;
}

.flight-tab-panel-card h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #353c48;
}

.flight-tab-row {
  min-height: 34px;
  border-top: 1px solid #e7ebf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #414858;
  font-size: 12px;
}

.flight-tab-row:first-of-type {
  border-top: 0;
}

.flight-tab-row strong {
  color: #111827;
  text-align: right;
}

@media (max-width: 1024px) {
  .view-detail-link {
    justify-content: flex-start;
  }
  .results-container {
    width: min(100% - 32px, 100%);
    padding: 0 16px;
  }

  .date-route-strip {
    margin: 12px 0 16px;
    min-height: 58px;
    padding: 8px 10px;
    grid-template-columns: minmax(116px, auto) minmax(0, 1fr) minmax(92px, auto);
    justify-items: center;
    gap: 8px;
    border-radius: 10px;
  }

  .date-route-summary {
    min-width: 0;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .date-route-summary strong {
    font-size: 16px;
    min-width: 0;
  }

  .date-route-meta {
    min-width: 0;
    padding-left: 10px;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .date-route-step,
  .date-route-next {
    min-height: 34px;
    gap: 6px;
    font-size: 12px;
  }

  .date-route-next {
    justify-self: end;
  }

  .date-route-step {
    justify-self: start;
  }

  .date-route-step span,
  .date-route-next span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .view-detail-btn {
    display: none;
  }

  .results-search-shell {
    display: none;
  }

  .results-main {
    padding: 8px 0 28px;
  }

  .results-mobile-topbar {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 4px;
    background: #f1f2f4;
  }

  .results-back-link {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    color: #50596b;
    flex-shrink: 0;
  }

  .results-back-link svg {
    width: 17px;
    height: 17px;
  }

  .results-mobile-copy {
    display: grid;
    gap: 2px;
  }

  .results-mobile-copy strong {
    font-size: 14px;
    font-weight: 500;
    color: #21252d;
  }

  .results-mobile-copy span {
    font-size: 10px;
    color: #8c94a1;
  }

  .flight-card-head {
    display: grid;
    grid-template-columns: 180px 110px 150px 110px 130px 100px 150px;
    gap: 14px;
    min-height: 40px;
    padding: 0 20px;
  }

  .flight-summary {
    grid-template-columns: 180px 110px 150px 110px 130px 100px 150px;
    gap: 14px;
    padding: 18px 20px;
  }

  .time-cell {
    text-align: left;
  }

  .time-cell strong {
    font-size: 22px;
  }

  .time-cell span {
    font-size: 20px;
  }

  .airline-cell strong {
    font-size: 14px;
  }

  .flight-detail-grid,
  .flight-detail-grid.two-column {
    padding: 14px 20px 18px;
  }

  .results-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .results-table-scroll::-webkit-scrollbar {
    display: none;
  }

  .results-list {
    width: max-content;
    min-width: 100%;
  }

  .layover-bar.wide {
    grid-column: auto;
  }

  .flight-timeline-card {
    padding: 10px 0 0;
  }

  .flight-timeline-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    padding: 0;
  }

  .flight-card-head,
  .flight-summary,
  .flight-tabs,
  .flight-detail-grid,
  .flight-detail-grid.two-column {
    min-width: 1100px;
  }

  .flight-card {
    width: 1100px;
  }

  .fare-options-dialog {
    width: min(100% - 24px, 1080px);
    margin: auto auto 0;
    max-height: min(90vh, 820px);
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
  }

  .fare-options-modal.is-open {
    align-items: flex-end;
    justify-content: center;
  }

  .fare-options-head {
    padding: 22px 20px 0;
  }

  .fare-options-meta {
    gap: 10px;
    font-size: 16px;
  }

  .fare-options-carousel {
    padding: 0 20px;
  }

  .fare-options-grid {
    padding: 30px 0 22px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 78%);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .fare-options-grid::-webkit-scrollbar {
    display: none;
  }

  .fare-option-card {
    scroll-snap-align: start;
  }

  .fare-carousel-dots {
    display: flex;
  }

  .fare-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .fare-carousel-btn-prev {
    left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .fare-carousel-btn-next {
    right: 4px;
  }

  .fare-options-bottom {
    padding: 14px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .date-route-summary {
    display: grid;
    justify-items: center;
    gap: 3px;
    text-align: center;
  }

  .results-main {
    padding: 8px 0 24px;
  }

  .results-container {
    width: min(100% - 16px, 100%);
  }

  .airline-strip {
    margin-top: 16px;
    grid-auto-columns: 83px;
    gap: 8px;
  }

  .filter-chip-row {
    margin-top: 14px;
    gap: 8px;
  }

  .results-list {
    gap: 20px;
  }

  .flight-card-head {
    padding: 0 12px;
    gap: 18px;
    background: #f3f6fa;
    border-bottom: 0;
    font-size: 9px;
    min-width: 920px;
  }

  .flight-summary {
    padding: 18px 12px 16px;
    gap: 22px;
    border-bottom: 0;
    min-width: 1100px;
  }

  .airline-cell {
    align-items: flex-start;
  }

  .airline-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }

  .airline-cell strong {
    font-size: 14px;
    line-height: 1.1;
  }

  .airline-cell a {
    margin-top: 3px;
    font-size: 12px;
  }

  .time-cell strong {
    font-size: 22px;
  }

  .time-cell span {
    margin-top: 7px;
    font-size: 24px;
  }

  .time-cell small {
    margin-top: 2px;
    font-size: 11px;
  }

  .flight-tabs {
    gap: 0;
    padding: 0 12px;
    justify-content: flex-start;
    border-bottom: 0;
    min-width: 920px;
  }

  .flight-tab {
    min-height: 34px;
    padding: 0 18px;
    font-size: 9px;
  }

  .flight-detail-grid,
  .flight-detail-grid.two-column {
    min-width: 920px;
  }

  .flight-timeline-card {
    padding-top: 12px;
  }

  .timeline-stop strong {
    font-size: 12px;
  }

  .timeline-stop small {
    font-size: 11px;
  }

  .timeline-duration {
    margin: 12px 0 14px;
    font-size: 10px;
  }

  .layover-bar,
  .layover-bar.wide {
    margin-top: 14px;
    min-height: 37px;
    padding: 0 12px;
    border-radius: 0;
    font-size: 11px;
  }

  .layover-bar.wide {
    margin-bottom: 0;
  }

  .flight-card {
    width: 1100px;
  }

  .view-fares-btn {
    min-width: 132px;
  }

  .fare-options-dialog {
    width: min(100% - 12px, 100%);
    margin: auto auto 0;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
  }

  .fare-options-close {
    top: 12px;
    right: 12px;
  }

  .fare-options-head h2 {
    padding-right: 28px;
  }

  .fare-options-meta {
    gap: 8px;
    font-size: 14px;
  }

  .fare-options-meta strong {
    width: 100%;
  }

  .fare-options-carousel {
    padding: 0 12px;
  }

  .fare-option-card {
    min-height: 390px;
    padding: 20px 16px 16px;
  }

  .fare-highlight {
    top: -11px;
    min-width: 92px;
    height: 22px;
    font-size: 11px;
  }

  .fare-benefits-list li {
    gap: 8px;
    font-size: 13px;
  }

  .fare-benefits-list li svg {
    width: 16px;
    height: 16px;
  }

  .fare-price-row strong {
    font-size: 28px;
  }

  .fare-options-bottom {
    padding: 12px;
    gap: 10px;
  }

  .fare-bottom-points {
    gap: 10px 16px;
  }

  .fare-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .fare-carousel-btn-prev {
    left: 2px;
  }

  .fare-carousel-btn-next {
    right: 2px;
  }
}

@media (max-width: 1024px) {
  html,
  body,
  .results-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .results-container {
    width: min(100% - 8px, 100%);
  }

  .flight-card-head,
  .flight-tabs,
  .flight-detail-grid,
  .flight-detail-grid.two-column {
    display: none;
  }

  .results-table-scroll {
    overflow: visible;
  }

  .results-list {
    width: 100%;
    min-width: 0;
    gap: 16px;
  }

  .flight-card {
    width: 100%;
    min-width: 0;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(22, 36, 68, 0.08);
    overflow: hidden;
  }

  .flight-summary {
    position: relative;
    min-width: 0;
    padding: clamp(1rem, 0.625rem + 1vw, 1.5rem);
    display: grid;
    grid-template-columns: minmax(142px, 1fr) minmax(156px, 1.45fr) minmax(
        142px,
        1fr
      );
    grid-template-areas:
      "airline airline fares"
      "departure route arrival"
      "tags tags action";
    column-gap: clamp(1.25rem, -0.5189rem + 4.717vw, 2.5rem);
    row-gap: 30px;
    align-items: center;
    border-bottom: 0;
    background: #ffffff;
    border-radius: 12px;
  }

  .flight-summary::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    border-top: 1px solid #eef1f6;
  }

  .airline-cell {
    grid-area: airline;
    align-items: center;
    gap: clamp(1.25rem, 0.9688rem + 0.75vw, 1.625rem);
    min-width: 0;
    padding-right: 8px;
  }

  .airline-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: #d71920;
    flex-shrink: 0;
  }

  .airline-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ya contain */
    display: block;
  }

  .airline-cell strong {
    width: max-content;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.05;
    font-weight: 700;
    color: #141925;
  }

  .airline-cell a {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1;
    color: #1554dc;
  }

  .time-cell {
    grid-area: departure;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    text-align: left;
    margin-top: 30px;
  }

  .time-cell.arrival {
    grid-area: arrival;
    justify-self: end;
  }

  .time-cell strong {
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    color: #101520;
  }

  .time-cell span {
    margin: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    color: #4b5567;
  }

  .time-cell small {
    min-height: 20px;
    margin: 0;
    padding: 0 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    background: #f0f2f6;
    color: #4f5969;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
  }

  .time-cell small {
    font-size: 0;
  }

  .time-cell small::after {
    content: "T3";
    font-size: 13px;
  }

  .route-cell {
    grid-area: route;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    min-width: 0;
    color: #121826;
  }

  .route-cell > small:first-child,
  .route-cell > strong,
  .route-cell > small:last-child {
    position: absolute;
    top: 51px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #596274;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    text-transform: none;
    margin-top: 4px;
  }

  .route-cell > small:first-child {
    left: 183px;
  }

  .route-cell > strong {
    left: 268px;
  }

  .route-cell > small:last-child {
    left: 396px;
  }

  .route-cell > small:first-child::before,
  .route-cell > strong::before,
  .route-cell > small:last-child::before {
    content: "";
    width: 1px;
    height: 16px;
    margin-right: 13px;
    background: #d5dae4;
  }

  .route-cell > small:first-child {
    font-size: 0;
  }

  .route-cell > small:first-child::after {
    content: "16h 55m";
    font-size: 12px;
  }

  .route-cell > strong {
    font-size: 0;
  }

  .route-cell > strong::after {
    content: "1 Stop via AUH";
    font-size: 12px;
    font-weight: 500;
  }

  .route-cell > small:last-child {
    font-size: 0;
    gap: 7px;
  }

  .route-cell > small:last-child svg {
    width: 14px;
    height: 14px;
    margin: 0;
    color: #111827;
  }

  .route-cell > small:last-child::after {
    content: "20kg";
    font-size: 12px;
  }

  .route-line {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(46px, 1fr) 24px minmax(46px, 1fr);
    width: 100%;
    margin: 0;
    gap: 9px;
    align-items: center;
    color: #0b4ee8;
    margin-top: 28px;
  }

  .route-line span {
    position: relative;
    width: 100%;
    height: 1px;
    border: 0;
    border-radius: 0;
    background: #0b4ee8;
  }

  .route-line span::before,
  .route-line span:last-child::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0b4ee8;
    transform: translateY(-50%);
  }

  .route-line span::before {
    left: 0;
  }

  .route-line span:last-child::after {
    right: 0;
  }

  .route-line span:last-child::before {
    display: none;
  }

  .route-line svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.6;
    color: #0b4ee8;
  }

  .fare-option-cell {
    grid-area: fares;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 34px;
  }

  .fare-radio {
    gap: 9px;
  }

  .fare-radio + .fare-radio {
    position: relative;
  }

  .fare-radio + .fare-radio::before {
    content: "";
    position: absolute;
    left: -18px;
    width: 1px;
    height: 24px;
    background: #e4e8f0;
  }

  .fare-radio span {
    width: 14px;
    height: 14px;
    border-width: 1.6px;
  }

  .fare-radio.is-selected span {
    background: radial-gradient(circle, #1554dc 0 35%, transparent 37%);
  }

  .fare-radio strong {
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    color: #1d2430;
    white-space: nowrap;
  }

  .fare-radio small {
    margin-left: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #6f7786;
  }

  .fare-type-cell {
    grid-area: tags;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
  }

  .fare-tag {
    padding: 6px 12px;
    border-radius: 6px;
    gap: 8px;
    font-size: 12px;
    line-height: 1;
    text-transform: none;
  }

  .fare-tag.blue {
    order: 1;
    background: #edf4ff;
    color: #0f4fde;
  }

  .fare-tag.purple {
    order: 3;
    background: #f4eaff;
    color: #8b25e8;
  }

  .fare-type-cell small {
    order: 2;
    margin: 0;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f0;
    color: #df1e1e;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: capitalize;
  }
  .flight-actions {
    grid-area: action;
    justify-self: end;
  }

  .details-btn,
  .book-btn,
  .view-fares-btn {
    min-width: 135px;
    height: 34px;
    border: 0;
    border-radius: 7px;
    background: #0c4be5;
    box-shadow: 0 5px 12px rgba(12, 75, 229, 0.24);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
  }

  .view-fares-btn {
    font-size: 0;
  }

  .view-fares-btn::before {
    content: "View Fare";
    font-size: 15px;
  }

  .view-fares-btn::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    display: inline-block;
    transform: rotate(-45deg);
  }

  .flight-card:nth-child(odd) .route-line {
    color: #111827;
  }

  .flight-card:nth-child(odd) .route-line span,
  .flight-card:nth-child(odd) .route-line span::before,
  .flight-card:nth-child(odd) .route-line span:last-child::after {
    background: #111827;
  }

  .flight-card:nth-child(odd) .route-line svg {
    color: #111827;
  }
}

@media (max-width: 560px) {
  .date-route-strip {
    min-height: 64px;
    padding: 8px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 6px;
  }

  .date-route-summary {
    display: grid;
    justify-items: center;
    gap: 3px;
    text-align: center;
  }

  .date-route-summary strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
  }

  .date-route-meta {
    width: 100%;
    padding-left: 0;
    border-left: 0;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  .date-route-step,
  .date-route-next {
    width: 38px;
    min-height: 38px;
    justify-content: center;
  }

  .date-route-step small,
  .date-route-next small {
    display: none;
  }

  .date-route-step span,
  .date-route-next span {
    width: 38px;
    height: 38px;
  }

  .flight-summary {
    padding: 14px 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "airline airline"
      "fares fares"
      "departure arrival"
      "route route"
      "tags tags"
      "action action";
    gap: 14px 10px;
  }

  .flight-summary::before {
    display: none;
  }

  .airline-cell {
    gap: 10px;
  }

  .airline-cell > div {
    min-width: 0;
  }

  .airline-icon {
    width: 34px;
    height: 34px;
  }

  .airline-cell strong,
  .fare-radio strong {
    font-size: 14px;
  }

  .airline-cell strong {
    width: auto;
  }

  .airline-cell a,
  .route-cell > small:first-child::after,
  .route-cell > strong::after,
  .route-cell > small:last-child::after {
    font-size: 11px;
  }

  .fare-option-cell {
    width: 100%;
    gap: 20px;
    padding-right: 0;
    flex-direction: row;
    align-items: center;
    justify-self: stretch;
  }

  .fare-radio + .fare-radio::before {
    display: block;
    left: -11px;
    height: 20px;
  }

  .fare-radio span {
    width: 13px;
    height: 13px;
  }

  .fare-radio {
    gap: 6px;
  }

  .fare-radio small {
    font-size: 10px;
  }

  .time-cell {
    gap: 8px;
    margin: 0;
  }

  .route-line {
    margin: 0;
  }

  .time-cell.arrival {
    justify-self: end;
  }

  .time-cell strong {
    font-size: 20px;
  }

  .time-cell span,
  .time-cell small::after {
    font-size: 12px;
  }

  .time-cell small {
    min-height: 21px;
    padding: 0 6px;
  }

  .route-cell {
    position: relative;
    padding-top: 2px;
  }

  .route-cell > small:first-child,
  .route-cell > strong,
  .route-cell > small:last-child {
    position: static;
  }

  .fare-type-cell {
    width: 100%;
    gap: 7px;
    flex-wrap: nowrap;
  }

  .fare-tag,
  .fare-type-cell small {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    min-height: 28px;
    padding: 0 8px;
    font-size: 12px;
  }

  .fare-tag.blue::before,
  .fare-type-cell small::before {
    width: 13px;
    height: 13px;
  }

  .fare-tag.purple::before {
    width: 11px;
    height: 11px;
  }

  .details-btn,
  .book-btn,
  .view-fares-btn {
    min-width: 96px;
    height: 34px;
    font-size: 13px;
  }

  .view-fares-btn::before {
    font-size: 13px;
  }

  .view-fares-btn {
    font-size: 0;
    width: 100%;
  }

  .view-fares-btn::after {
    margin-left: 8px;
    width: 7px;
    height: 7px;
  }

  .flight-actions {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 420px) {
  .flight-summary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "airline airline"
      "fares fares"
      "departure arrival"
      "route route"
      "tags tags"
      "action action";
  }

  .flight-summary::before {
    top: 118px;
  }

  .fare-option-cell {
    width: 100%;
    padding-right: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }

  .fare-radio + .fare-radio::before {
    display: block;
    left: -11px;
    height: 20px;
  }

  .time-cell.arrival {
    justify-self: end;
  }

  .route-cell {
    padding-top: 2px;
  }

  .fare-type-cell {
    width: 100%;
    flex-wrap: nowrap;
  }

  .fare-tag,
  .fare-type-cell small {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
  }

  .flight-actions {
    width: 100%;
    justify-self: stretch;
  }

  .view-fares-btn {
    width: 100%;
  }
}

.fare-options-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fare-options-dialog {
  margin: 0 auto;
}

@media (max-width: 520px) {
  .result-note-marquee {
    grid-template-columns: 92px minmax(0, 1fr);
    margin-top: 14px;
  }

  .result-note-label {
    gap: 5px;
  }

  .result-note-track p {
    font-size: 11px;
  }

  .flight-filter-panel {
    width: calc(80vw - 6px);
    border-radius: 0 16px 16px 0;
  }

  .flight-filter-head {
    padding: 0 18px;
  }

  .filter-section {
    margin-bottom: 28px;
  }

  .flight-selection-view-grid {
    grid-template-columns: 1fr;
  }

  .flight-filter-body {
    padding: 10px 18px 92px;
  }

  .flight-filter-footer {
    padding: 18px 18px 20px;
  }

  .filter-menu-popover {
    left: 12px !important;
    right: auto;
    width: min(320px, calc(100vw - 24px));
    max-height: 72vh;
    overflow-y: auto;
  }
}

@media (max-width: 1024px) {
  body.flight-combination-view .flight-combination-card {
    width: 100%;
    border-radius: 12px;
    background: #f5f9ff;
    overflow: hidden;
  }

  body.flight-combination-view .flight-combination-card .flight-summary {
    min-height: 0;
    padding: 16px 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "airline fares"
      "departure arrival"
      "route route"
      "tags action";
    gap: 14px 12px;
    background: #f5f9ff;
    border-radius: 0;
  }

  body.flight-combination-view
    .flight-combination-card
    .flight-summary::before {
    display: none;
  }

  body.flight-combination-view
    .flight-combination-card
    .flight-summary
    + .flight-summary {
    padding-top: 4px;
    grid-template-areas:
      "airline airline"
      "departure arrival"
      "route route";
  }

  body.flight-combination-view
    .flight-combination-card
    .flight-combination-primary
    .fare-type-cell,
  body.flight-combination-view
    .flight-combination-card
    .flight-combination-primary
    .fare-price-cell,
  body.flight-combination-view
    .flight-combination-card
    .flight-combination-primary
    .flight-actions {
    transform: none;
  }

  body.flight-combination-view
    .flight-combination-card
    .flight-combination-secondary
    .fare-type-cell,
  body.flight-combination-view
    .flight-combination-card
    .flight-combination-secondary
    .fare-price-cell,
  body.flight-combination-view
    .flight-combination-card
    .flight-combination-secondary
    .flight-actions {
    display: none;
  }

  body.flight-combination-view .flight-combination-card .route-cell {
    justify-self: stretch;
  }

  body.flight-combination-view .flight-combination-card .fare-type-cell {
    grid-area: tags;
  }

  body.flight-combination-view .flight-combination-card .fare-price-cell {
    grid-area: fares;
    justify-self: end;
  }

  body.flight-combination-view .flight-combination-card .flight-actions {
    grid-area: action;
    justify-self: end;
    width: auto;
  }

  body.flight-combination-view .flight-combination-card .flight-info-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 14px;
    gap: 10px 12px;
  }

  body.flight-combination-view .flight-combination-card .book-btn {
    min-width: 104px;
  }

  .filter-chip-row {
    align-items: center;
  }

  .filter-row-actions {
    margin-left: 0;
  }

  .agency-commission-toggle span {
    font-size: 12px;
  }

  .fare-option-cell {
    display: none;
  }

  .flight-actions {
    grid-area: action;
    display: grid;
    gap: 8px;
    justify-self: end;
  }

  .fare-price-cell {
    grid-area: fares;
    justify-self: end;
    display: flex;
    justify-content: space-between;
    justify-items: end;
    align-items: center;
  }

  .fare-price-cell strong {
    font-size: 19px;
  }

  .fare-price-cell button {
    min-height: 27px;
    font-size: 11px;
  }

  .flight-select-cell {
    grid-area: action;
    justify-self: end;
  }

  .flight-info-strip {
    min-height: auto;
    padding: 10px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    font-size: 11px;
  }

  .flight-info-strip .view-detail-btn {
    display: inline-flex;
  }

  .flight-card.is-expanded .flight-tabs,
  .flight-card.is-expanded .flight-detail-grid {
    display: grid;
  }

  .flight-card.is-expanded .flight-tabs {
    display: flex;
    min-width: 0;
    overflow-x: auto;
  }

  .flight-card.is-expanded .flight-detail-grid,
  .flight-card.is-expanded .flight-detail-grid.two-column {
    min-width: 0;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.flight-combination-view .flight-combination-card .flight-summary,
  body.flight-combination-view
    .flight-combination-card
    .flight-summary
    + .flight-summary {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "airline"
      "departure"
      "route"
      "arrival"
      "tags"
      "fares"
      "action";
    gap: 12px;
  }

  body.flight-combination-view
    .flight-combination-card
    .flight-combination-secondary {
    grid-template-areas:
      "airline"
      "departure"
      "route"
      "arrival";
  }

  body.flight-combination-view .flight-combination-card .time-cell,
  body.flight-combination-view .flight-combination-card .time-cell.arrival,
  body.flight-combination-view .flight-combination-card .fare-price-cell,
  body.flight-combination-view .flight-combination-card .flight-actions,
  body.flight-combination-view .flight-combination-card .flight-select-cell {
    justify-self: stretch;
  }

  body.flight-combination-view .flight-combination-card .fare-price-cell {
    align-items: flex-start;
  }

  body.flight-combination-view .flight-combination-card .flight-actions {
    width: 100%;
  }

  body.flight-combination-view .flight-combination-card .book-btn {
    width: 100%;
  }

  body.flight-combination-view .flight-combination-card .flight-info-strip {
    grid-template-columns: 1fr;
  }

  .filter-row-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .fare-price-cell {
    justify-self: stretch;
    justify-items: start;
  }

  .flight-select-cell {
    justify-self: stretch;
    place-items: center end;
  }

  .flight-info-strip {
    grid-template-columns: 1fr 1fr;
  }

  .flight-info-strip .view-detail-btn {
    justify-self: start;
  }
}

.flight-action-stack {
  display: grid;
  grid-template-columns: minmax(136px, 1fr) 26px;
  grid-template-areas:
    "book select"
    "fare select";
  gap: 8px 12px;
  align-items: center;
}

.flight-action-stack .book-btn,
.flight-action-stack .view-fares-btn {
  width: 100%;
  min-width: 136px;
  min-height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.flight-action-stack .book-btn {
  grid-area: book;
}

.flight-action-stack .view-fares-btn {
  grid-area: fare;
}

.flight-action-stack .view-fares-btn::before,
.flight-action-stack .view-fares-btn::after {
  content: none;
  display: none;
}

.flight-action-stack .flight-select-cell {
  grid-area: select;
  order: initial;
  width: 100%;
  justify-items: center;
}

@media (max-width: 560px) {
  .flight-action-stack {
    grid-template-columns: minmax(0, 1fr) 26px;
    justify-self: stretch;
  }

  .flight-action-stack .book-btn,
  .flight-action-stack .view-fares-btn {
    min-width: 0;
  }

  .flight-action-stack .flight-select-cell {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .route-cell > small:first-child {
    top: 85px;
  }
  .route-cell > small:last-child {
    top: 85px;
  }

  .route-cell > strong {
    top: 85px;
  }
}

.disclaimer-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
}

.disclaimer-modal.is-open {
  display: flex;
}

.disclaimer-modal.is-note-popover {
  inset: auto;
  left: var(--note-popover-left, 16px);
  top: var(--note-popover-top, 120px);
  width: min(760px, calc(100vw - 32px));
  padding: 0;
  display: block;
  pointer-events: none;
}

.disclaimer-modal.is-note-popover .disclaimer-backdrop {
  display: none;
}

.disclaimer-modal.is-note-popover .disclaimer-dialog {
  pointer-events: auto;
}

body.disclaimer-modal-open {
  overflow: hidden;
}

.disclaimer-backdrop {
  position: absolute;
  inset: 0;
  background: #00000099;
}

.disclaimer-dialog {
  position: relative;
  width: min(100%, 760px);
  padding: 24px 24px;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.disclaimer-dialog h2 {
  margin: 0 0 18px;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
}

.disclaimer-dialog ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0 0 0 22px;
  font-size: 14px;
  line-height: 1.4;
}

.disclaimer-close {
  position: absolute;
  top: 17px;
  right: 19px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #111111;
}

.disclaimer-close svg {
  width: 22px;
  height: 22px;
}

.journey-step-tabs {
  display: none;
}

body.trip-selection-active .journey-step-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 0;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #e5ebf4;
  background: #ffffff;
  scrollbar-width: none;
  border-radius: 8px;
}

.journey-step-tabs::-webkit-scrollbar,
.selected-flight-track::-webkit-scrollbar {
  display: none;
}

.journey-step-tabs button {
  padding: 24px 30px;
  border: 0;
  border-right: 1px solid #eef2f7;
  background: #ffffff;
  color: #111827;
  text-align: left;
  border-radius: 8px 0 0 8px;
}

.journey-step-tabs button.is-active {
  background: #f4f8fd;
  box-shadow: inset 0 0 0 2px #004aca;
}

.journey-step-tabs button.is-done strong::after {
  content: "Selected";
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  margin-left: 10px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1152d6;
  font-size: 9px;
  font-weight: 800;
}

.journey-step-tabs strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(0.875rem, 0.6875rem + 0.5vw, 1.125rem);
  font-weight: 700;
}

.journey-step-tabs span,
.journey-step-tabs small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 13px;
  color: #434655;
  font-size: clamp(0.6875rem, 0.5469rem + 0.375vw, 0.875rem);
  font-weight: 500;
}

.journey-step-tabs svg {
  width: 12px;
  height: 12px;
}

body.trip-selection-active .flight-card-head {
  grid-template-columns: var(--flight-result-columns);
}

.flight-select-cell {
  gap: 10px;
  justify-items: end;
}

.flight-select-btn {
  display: none;
  min-width: 84px;
  height: 23px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #004aca;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

.flight-select-btn[hidden],
body.trip-selection-active .flight-select-btn[hidden] {
  display: none !important;
}

body.trip-selection-active .flight-card.is-selected-flight .flight-select-btn {
  display: none;
}

body.trip-selection-active .flight-select-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flight-card.is-selected-flight .flight-summary {
  box-shadow: inset 0 0 0 2px #004aca;
}

.flight-card.is-selected-flight .flight-select-btn {
  background: #0a49bd;
}

body.trip-selection-active .flight-action-stack .book-btn.is-selected {
  background: #0a49bd;
  color: #ffffff;
}

.selected-flight-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 900;
  width: min(100% - 16px, 1440px);
  transform: translate(-50%, 110%);
  transition: transform 0.22s ease;
  pointer-events: none;
}

.selected-flight-bar.is-open {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.selected-flight-inner {
  position: relative;
  min-height: 111px;
  padding: 22px 22px;
  border-radius: 24px 24px 0 0;
  background: #0e3fad;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 0;
  box-shadow: 0 -16px 44px rgba(14, 38, 89, 0.22);
}

.selected-flight-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  min-height: 20px;
  padding: 2px 12px;
  border-radius: 6px;
  background: #f7c904;
  color: #0e3fad;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.selected-flight-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  overflow-x: auto;
  scrollbar-width: none;
}

.selected-flight-item {
  min-width: 0;
  padding: 0 22px 0 0;
  margin-right: 22px;
  border-right: 1px solid #ffffff;
  display: grid;
  align-content: start;
  gap: 9px;
}

.selected-flight-item span {
  color: #f7c904;
  font-size: clamp(0.6875rem, 0.5469rem + 0.375vw, 0.875rem);
  line-height: 1;
  font-weight: 700;
}

.selected-flight-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.selected-flight-row img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: #d31b46;
}

.selected-flight-item b {
  display: block;
  font-size: clamp(1.25rem, 1.0625rem + 0.5vw, 1.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.selected-flight-item small,
.selected-flight-item em {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(0.625rem, 0.5313rem + 0.25vw, 0.75rem);
  font-style: normal;
  font-weight: 700;
}

.selected-flight-total {
  min-height: 74px;
  padding-left: 44px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 9px;
}

.selected-flight-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.selected-flight-total strong {
  font-size: clamp(1.25rem, 1.0625rem + 0.5vw, 1.5rem);
  line-height: 1;
}

.selected-flight-total span {
  margin-left: 3px;
  font-size: clamp(0.75rem, 0.6094rem + 0.375vw, 0.9375rem);
}

.selected-flight-total button {
  width: 132px;
  padding: 10px 14px;
  margin-top: 1px;
  border: 0;
  border-radius: 6px;
  background: #ffd200;
  color: #000000;
  font-size: clamp(1rem, 0.9063rem + 0.25vw, 1.125rem);
  font-weight: 700;
}

.selected-flight-total button:disabled {
  opacity: 0.55;
  cursor: default;
}

body.has-selected-flight-bar {
  padding-bottom: 111px;
}

@media (max-width: 760px) {
  .disclaimer-modal {
    align-items: flex-end;
    padding: 0;
  }

  .disclaimer-dialog {
    width: 100%;
    max-height: 86vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    padding: 30px 20px 20px;
  }

  .disclaimer-dialog ul {
    gap: 18px;
    font-size: 15px;
  }

  .disclaimer-footer {
    margin-top: 34px;
  }

  .disclaimer-footer button {
    width: 100%;
  }

  body.trip-selection-active .journey-step-tabs {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .journey-step-tabs button {
    padding: 15px 18px;
  }

  .selected-flight-bar {
    width: 100%;
  }

  .selected-flight-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 18px 18px 0 0;
    padding: 16px;
  }

  .selected-flight-track {
    grid-auto-columns: minmax(220px, 74vw);
  }

  .selected-flight-total {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .selected-flight-total button {
    padding: 6px 10px;
  }

  body.has-selected-flight-bar {
    padding-bottom: 190px;
  }
}

body.share-flight-open {
  overflow: hidden;
}

.share-flight-modal {
  position: fixed;
  inset: 0;
  z-index: 1450;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.share-flight-modal.is-open {
  display: flex;
}

.share-flight-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.share-flight-dialog {
  position: relative;
  width: min(100%, 1260px);
  max-height: calc(90vh - 16px);
  overflow-y: auto;
  border-radius: 24px;
  background: #ffffff;
  color: #0b1c30;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.share-flight-head {
  padding: 24px;
}

.share-flight-head h2 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.share-flight-head p {
  margin: 8px 0 0;
  color: #424656;
  font-size: 14px;
  font-weight: 500;
}

.share-flight-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  background: #eef3ff;
  color: #5e6878;
  display: grid;
  place-items: center;
  z-index: 2;
}

.share-flight-close svg {
  width: 18px;
  height: 18px;
}

.share-flight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 22px 22px;
}

.share-flight-grid label,
.share-message-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.share-flight-grid span,
.share-message-field span {
  font-size: 14px;
  font-weight: 500;
  color: #0b1c30;
}

.share-flight-grid input,
.share-message-field textarea {
  width: 100%;
  border: 1px solid #c2c6d84d;
  border-radius: 9px;
  background: #eff4ff;
  color: #42506a;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.share-flight-grid input {
  padding: 18px;
}

.share-message-field {
  padding: 0 22px 28px;
}

.share-message-field textarea {
  min-height: 142px;
  resize: none;
  padding: 23px 20px;
  line-height: 1.5;
}

.share-flight-preview {
  margin: 0 22px 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.share-flight-preview::-webkit-scrollbar {
  display: none;
}

.share-flight-preview .flight-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.share-flight-preview .flight-card + .flight-card {
  margin-top: 18px;
}

.share-flight-preview .flight-summary {
  background: #f4f9ff;
}

.share-without-fare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -6px 22px 20px;
  color: #222b3b;
  font-size: 14px;
  font-weight: 600;
}

.share-without-fare input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.share-flight-footer {
  min-height: 84px;
  padding: 0 22px;
  border-top: 1px solid #c2c6d833;
  background: #eff4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.share-cancel-btn,
.share-now-btn {
  height: 43px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.share-cancel-btn {
  min-width: 148px;
  border: 1px solid #c2c6d8;
  background: transparent;
  color: #0f172a;
}

.share-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 292px;
  border: 0;
  background: #0754d6;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 84, 214, 0.28);
}

.share-now-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 760px) {
  .fare-options-modal.is-open {
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .fare-options-dialog {
    width: 100% !important;
    max-height: 88vh;
    margin: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    overflow-y: auto;
  }

  .share-flight-modal {
    align-items: flex-end;
    padding: 0;
  }

  .share-flight-dialog {
    width: 100%;
    max-height: 80vh;
    border-radius: 22px 22px 0 0;
  }

  .share-flight-head {
    padding: 22px 16px 16px;
  }

  .share-flight-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 16px 18px;
  }

  .share-message-field {
    padding: 0 16px 20px;
  }

  .share-message-field textarea {
    min-height: 126px;
    padding: 16px;
  }

  .share-flight-preview {
    margin: 0 16px 22px;
  }

  .share-without-fare {
    margin: -2px 16px 18px;
  }

  .share-flight-footer {
    position: sticky;
    bottom: 0;
    min-height: 76px;
    padding: 12px 16px;
    gap: 12px;
  }

  .share-cancel-btn {
    min-width: 0;
    flex: 0 0 34%;
  }

  .share-now-btn {
    min-width: 0;
    flex: 1;
  }
}
