/* Generated by tools/derive-stations-css.py from themes/theme1/css/flight-results.css - edit that file and re-run, not this one. */

.results-summary-sticky {
  position: sticky;
  top: 0;
  z-index: 40;
}

.results-summary-bar {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--brand-navy);
  color: #fff;
  padding: 0.9rem 0;
  box-shadow: 0 4px 14px rgba(12, 42, 102, 0.18);
}

.results-summary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.results-route {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.results-route > div {
  min-width: 0;
}

.results-route span {
  white-space: normal;
  word-break: break-word;
}

.results-route-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.results-route-icon .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-gold-bright);
}

.results-route strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.results-route strong .icon {
  width: 15px;
  height: 15px;
  color: var(--brand-gold-bright);
}

.results-route span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.15rem;
}

.modify-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--brand-gold);
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.modify-search-btn .icon {
  width: 15px;
  height: 15px;
}

.modify-search-btn:hover {
  background: var(--brand-gold-bright);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.results-route-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.15);
  color: var(--brand-gold-bright);
  padding: 0.1rem 0.5rem;
  border-radius: 1rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}


.modify-bar-sticky {
  position: sticky;
  top: 0;
  z-index: 39;
}

.modify-bar {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #fff;
  border-bottom: 1px solid #eef1f8;
  box-shadow: 0 6px 18px rgba(12, 42, 102, 0.06);
  padding: 0.85rem 0;
}

.modify-bar-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modify-triptype {
  display: flex;
  gap: 1.25rem;
}

.modify-triptype label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #8b95a5;
  cursor: pointer;
}

.modify-triptype label.on {
  color: var(--brand-navy);
}

.modify-triptype input {
  accent-color: var(--brand-gold);
}

.modify-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto auto 1fr auto;
  align-items: end;
  gap: 0.75rem;
}

.modify-field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1px solid #dde3ec;
  border-radius: 0.6rem;
  padding: 0.4rem 0.7rem;
  min-width: 0;
}

.modify-field label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #8b95a5;
}

.modify-field input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-navy);
  padding: 0;
  width: 100%;
  background: transparent;
}

.modify-field input[type="text"] {
  text-transform: uppercase;
}

.modify-field small {
  font-size: 0.7rem;
  color: #8b95a5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modify-field-pax span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-navy);
}

.modify-swap-btn {
  align-self: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #dde3ec;
  background: #fff;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modify-swap-btn .icon {
  width: 15px;
  height: 15px;
}

.modify-swap-btn:hover {
  background: var(--brand-navy-soft);
  transform: rotate(180deg);
}

.modify-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--brand-gold);
  color: #fff;
  border: none;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.65rem 1.3rem;
  border-radius: 0.6rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.modify-search-submit .icon {
  width: 15px;
  height: 15px;
}

.modify-search-submit:hover {
  background: var(--brand-gold-bright);
  transform: translateY(-1px);
}


.results-state-card {
  max-width: 460px;
  margin: 4rem auto;
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid #eef1f8;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(12, 42, 102, 0.06);
}

.results-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-navy-soft);
  color: var(--brand-gold);
  margin-bottom: 1.25rem;
}

.results-state-icon .icon {
  width: 28px;
  height: 28px;
}

.results-state-icon-error {
  background: #fdecea;
  color: #c0392b;
}

.results-state-card h2 {
  font-family: "Lexend Deca", system-ui, -apple-system, "Segoe UI", sans-serif ;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.results-state-card p {
  color: #6b7789;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.results-state-btn {
  display: inline-block;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 500;
  padding: 0.65rem 1.6rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.results-state-btn:hover {
  background: var(--brand-navy-dark);
  color: #fff;
  text-decoration: none;
}


.results-layout {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}


.leg-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.leg-tab {
  flex: 0 0 auto;
  text-align: left;
  border: 1px solid #dde3ec;
  border-radius: 0.75rem;
  padding: 0.6rem 1.1rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  min-width: 180px;
}

.leg-tab-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b95a5;
}

.leg-tab.active .leg-tab-label {
  color: var(--brand-gold);
}

.leg-tab-route {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-navy);
  margin-top: 0.15rem;
}

.leg-tab.active {
  border-color: var(--brand-navy);
  background: var(--brand-navy-soft);
}


.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sort-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
}

.sort-tab {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  border: 1px solid #dde3ec;
  background: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 0.7rem;
  min-width: 110px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sort-tab .k {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #8b95a5;
}

.sort-tab .v {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-navy);
}

.sort-tab:hover {
  border-color: var(--brand-gold);
}

.sort-tab.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.sort-tab.active .k {
  color: rgba(255, 255, 255, 0.65);
}

.sort-tab.active .v {
  color: #fff;
}

.mobile-filters-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #dde3ec;
  background: #fff;
  color: var(--brand-navy);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  flex-shrink: 0;
}

.mobile-filters-btn .icon {
  width: 15px;
  height: 15px;
  color: var(--brand-gold);
}


.results-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.filters-backdrop {
  display: none;
}


.filters-sidebar {
  position: sticky;
  top: 5.5rem;
  border: 1px solid #eef1f8;
  border-radius: 1rem;
  padding: 1.1rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}

.filters-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #eef1f8;
}

.filters-sidebar-header strong {
  font-size: 1rem;
  color: var(--brand-navy);
}

.filters-clear-btn {
  border: none;
  background: none;
  color: var(--brand-gold);
  font-weight: 500;
  font-size: 0.8rem;
}

.filters-close-btn {
  display: none;
  border: none;
  background: none;
  color: var(--brand-navy);
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.filters-close-btn .icon {
  width: 16px;
  height: 16px;
}

.filter-group {
  padding: 0.9rem 0;
  border-bottom: 1px solid #f1f3f7;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h4 {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #3c4657;
  padding: 0.3rem 0;
  cursor: pointer;
}

.filter-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-navy);
}

.filter-checkbox .fp {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8b95a5;
}

.filter-range {
  width: 100%;
  accent-color: var(--brand-gold);
}

.filter-range-value {
  font-size: 0.8rem;
  color: #6b7789;
  margin-top: 0.35rem;
}

.filter-range-value strong {
  color: var(--brand-navy);
}

.stop-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
}

.stop-btn {
  border: 1px solid #dde3ec;
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.5rem 0.3rem;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.stop-btn b {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand-navy);
}

.stop-btn small {
  display: block;
  font-size: 0.68rem;
  color: #8b95a5;
  margin-top: 0.15rem;
}

.stop-btn:hover {
  border-color: var(--brand-gold);
}

.stop-btn.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.stop-btn.active b {
  color: #fff;
}

.stop-btn.active small {
  color: rgba(255, 255, 255, 0.7);
}

.time-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.time-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  border: 1px solid #dde3ec;
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.5rem 0.6rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.time-btn .icon {
  width: 15px;
  height: 15px;
  color: var(--brand-gold);
}

.time-btn .t {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--brand-navy);
}

.time-btn small {
  font-size: 0.65rem;
  color: #8b95a5;
}

.time-btn:hover {
  border-color: var(--brand-gold);
}

.time-btn.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.time-btn.active .icon {
  color: var(--brand-gold-bright);
}

.time-btn.active .t,
.time-btn.active small {
  color: #fff;
}


.results-count {
  font-size: 0.85rem;
  color: #6b7789;
  margin-bottom: 0.85rem;
}

.results-count #resultsCount {
  font-weight: 500;
  color: var(--brand-navy);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.results-no-match {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #6b7789;
}

.filters-clear-btn-inline {
  border: none;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 1.3rem;
  border-radius: 2rem;
  margin-top: 0.5rem;
}


.flight-card {
  position: relative;
  border: 1px solid #eef1f8;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.flight-card:hover {
  box-shadow: 0 14px 32px rgba(12, 42, 102, 0.1);
  border-color: #dde3ec;
  transform: translateY(-2px);
}

.flight-card-tick {
  display: none;
  position: absolute;
  top: -9px;
  right: -9px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(12, 42, 102, 0.25);
}

.flight-card-tick .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.split-column .flight-card {
  cursor: pointer;
}

.split-column .flight-card.is-selected .flight-card-tick {
  display: inline-flex;
}

.split-column .flight-card.is-selected {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px var(--brand-gold);
}

.split-column .flight-card .flight-select-btn {
  pointer-events: none;
}

.split-column .flight-card.is-selected .flight-select-btn {
  background: var(--brand-navy);
}

.flight-card-main {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 1.25rem;
}

.flight-airline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.airline-badge {
  width: 38px;
  height: 38px;
  border-radius: 0.6rem;
  background: var(--brand-navy-soft);
  color: var(--brand-navy);
  font-weight: 500;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.airline-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-navy);
  line-height: 1.3;
}

.airline-name small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: #8b95a5;
}

.flight-timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}

.flight-time-point {
  display: flex;
  flex-direction: column;
}

.flight-time-point strong {
  font-size: 1.05rem;
  color: var(--brand-navy);
}

.flight-time-point span {
  font-size: 0.75rem;
  color: #8b95a5;
  font-weight: 500;
}

.flight-time-point-end {
  align-items: flex-end;
  text-align: right;
}

.flight-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.flight-duration {
  font-size: 0.72rem;
  color: #8b95a5;
  font-weight: 500;
}

.flight-path-line {
  position: relative;
  width: 100%;
  min-width: 90px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.flight-path-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #d7dee8;
  transform: translateY(-50%);
}

.flight-stop-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
  z-index: 1;
}

.flight-stops-label {
  font-size: 0.72rem;
  color: #6b7789;
  font-weight: 500;
}

.flight-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.flight-price {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brand-navy);
}

.flight-refundable {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #2e7d46;
  background: #e6f6ea;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
}

.flight-select-btn {
  background: var(--brand-gold);
  color: #fff;
  border: none;
  font-weight: 500;
  padding: 0.55rem 1.6rem;
  border-radius: 2rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.flight-select-btn:hover {
  background: var(--brand-gold-bright);
  transform: translateY(-1px);
}

.flight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f3f7;
  flex-wrap: wrap;
}

.flight-inclusions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}

.flight-inclusions span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #6b7789;
}

.flight-inclusions .icon {
  width: 13px;
  height: 13px;
  color: var(--brand-gold);
}

.flight-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: none;
  background: none;
  color: var(--brand-navy);
  font-weight: 500;
  font-size: 0.8rem;
}

.flight-detail-toggle .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.flight-detail-toggle.is-open .icon {
  transform: rotate(180deg);
}

.flight-detail-panel {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed #eef1f8;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.leg-detail-airline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brand-navy);
  margin-bottom: 0.3rem;
}

.leg-detail-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.leg-detail-point span {
  display: block;
  font-size: 0.75rem;
  color: #6b7789;
}

.leg-detail-point strong {
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.leg-detail-point-end {
  text-align: right;
}

.leg-detail-duration {
  font-size: 0.72rem;
  color: #8b95a5;
  text-align: center;
  font-weight: 500;
}

.flight-layover {
  font-size: 0.75rem;
  color: var(--brand-gold);
  font-weight: 500;
  background: var(--brand-gold-soft);
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  text-align: center;
}


.results-layout-split .results-body {
  align-items: start;
}

.split-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  min-width: 0;
}

.split-column {
  min-width: 0;
  padding-bottom: 5.5rem;
}

.split-column-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eef1f8;
}

.split-column-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.split-column-title strong {
  font-size: 0.95rem;
  color: var(--brand-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.split-column-badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--brand-navy-soft);
  color: var(--brand-navy);
  padding: 0.2rem 0.55rem;
  border-radius: 1rem;
}

.split-column-date {
  font-size: 0.78rem;
  color: #6b7789;
  font-weight: 500;
}

.split-column-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: #8b95a5;
}


.booking-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--brand-navy);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(12, 42, 102, 0.25);
}

.booking-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.booking-bar-trip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
  flex: 1;
}

.booking-seg {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.booking-seg .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.booking-seg.is-filled .dot {
  background: var(--brand-gold);
}

.booking-seg .lab {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.55);
}

.booking-seg .ln {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.booking-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  flex-shrink: 0;
}

.booking-total .lab {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.booking-total strong {
  font-size: 1.25rem;
  font-weight: 500;
}

.booking-book-btn {
  flex-shrink: 0;
  border: none;
  background: var(--brand-gold);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.7rem 1.8rem;
  border-radius: 2rem;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.booking-book-btn:hover:not(:disabled) {
  background: var(--brand-gold-bright);
  transform: translateY(-1px);
}

.booking-book-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

body.has-booking-bar {
  padding-bottom: 4.75rem;
}


.results-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translate(-50%, 12px);
  background: var(--brand-navy);
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(12, 42, 102, 0.3);
  opacity: 0;
  z-index: 60;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(360px, 90vw);
  text-align: center;
}

.results-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}


@media (max-width: 991.98px) {
  .results-body {
    grid-template-columns: 1fr;
  }

  .split-columns {
    grid-template-columns: 1fr;
  }

  .modify-grid {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "from swap to"
      "depart depart return"
      "pax pax pax"
      "submit submit submit";
  }

  .modify-field:nth-child(1) { grid-area: from; }
  .modify-swap-btn { grid-area: swap; }
  .modify-field:nth-child(3) { grid-area: to; }
  .modify-field:nth-child(4) { grid-area: depart; }
  .modify-field-return { grid-area: return; }
  .modify-field-pax { grid-area: pax; }
  .modify-search-submit { grid-area: submit; }

  .mobile-filters-btn {
    display: inline-flex;
  }

  .filters-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    max-height: none;
    border-radius: 0;
    background: #fff;
    z-index: 1040;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 30px rgba(12, 42, 102, 0.2);
  }

  .filters-sidebar.is-open {
    transform: translateX(0);
  }

  .filters-close-btn {
    display: inline-flex;
  }

  .filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 42, 102, 0.5);
    z-index: 1035;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .filters-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 767.98px) {
  .results-summary-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .modify-search-btn {
    align-self: stretch;
    justify-content: center;
  }

  .flight-card-main {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .flight-price-block {
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
  }

  .flight-select-btn {
    width: auto;
  }

  .leg-detail-route {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.35rem;
  }

  .leg-detail-point-end {
    text-align: left;
  }

  .leg-detail-duration {
    text-align: left;
  }

  .modify-grid {
    grid-template-columns: 1fr auto 1fr;
  }

  .modify-field-pax {
    display: none;
  }

  .split-column-count {
    display: none;
  }

  .booking-bar-trip {
    gap: 0.85rem;
  }

  .booking-seg .ln {
    max-width: 110px;
  }

  .booking-total .lab {
    display: none;
  }

  .booking-book-btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flight-card,
  .modify-search-btn,
  .modify-swap-btn,
  .modify-search-submit,
  .flight-select-btn,
  .filters-sidebar,
  .filters-backdrop,
  .booking-book-btn {
    transition: none !important;
  }
}
