.hf-results-page {
  background: #f0f2f5;
  padding-bottom: 2rem;
}

.hf-results-hero {
  background: linear-gradient(135deg, var(--hf-navy) 0%, var(--hf-navy-dark) 100%);
  color: #fff;
  padding: 1.75rem 0;
  margin-bottom: 1.5rem;
}

.hf-results-hero h1 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.hf-results-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  opacity: 0.92;
}

.hf-results-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hf-results-meta .bi {
  color: var(--hf-yellow);
  font-size: 1rem;
}

/* Ensure Bootstrap Icons render (Roboto inheritance breaks icon font) */
.hf-results-page .bi,
.hf-results-page [class^="bi-"]::before,
.hf-results-page [class*=" bi-"]::before {
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hf-results-toolbar {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hf-results-toolbar h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--hf-navy-dark);
  display: flex;
  align-items: center;
}

.hf-results-toolbar h2 .bi {
  color: var(--hf-yellow-dark);
}

.hf-results-count {
  font-size: 0.95rem;
  color: var(--hf-muted);
  margin: 0;
}

.hf-results-demo-notice {
  font-size: 0.9rem;
}

.hf-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hf-flight-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #d9dde3;
  border-top: 4px solid #ed8323;
  display: block;
}

.hf-flight-card--deal {
  padding: 0;
}

.hf-flight-card-price-head {
  padding: 1rem 1.25rem 0.85rem;
  border-bottom: 1px solid #eceff3;
}

.hf-flight-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hf-flight-price-amount {
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 800;
  color: #1a2744;
  line-height: 1;
}

.hf-flight-price-label {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 400;
}

.hf-flight-trip-type {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.hf-flight-leg-block + .hf-flight-leg-block {
  border-top: 1px solid #eceff3;
}

.hf-flight-leg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 1.25rem;
  background: #f3f4f6;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
}

.hf-flight-leg-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.hf-flight-leg-date-badge .bi {
  color: var(--hf-yellow-dark);
  font-size: 0.85rem;
}

.hf-flight-leg-head .bi {
  color: #4b5563;
  font-size: 1rem;
}

.hf-flight-leg-icon--return {
  display: inline-block;
  transform: scaleX(-1);
}

.hf-flight-leg-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 0.9fr;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem 1.1rem;
  align-items: start;
}

@media (max-width: 991px) {
  .hf-flight-leg-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hf-flight-meta,
  .hf-flight-airline-col {
    grid-column: 1 / -1;
  }

  .hf-flight-airline-col {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 575px) {
  .hf-flight-leg-grid {
    grid-template-columns: 1fr;
  }
}

.hf-flight-point-label {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.hf-flight-point-label .bi {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.hf-flight-airport-code {
  color: #ed8323;
  font-weight: 700;
}

.hf-flight-time {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.hf-flight-date {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.3;
}

.hf-flight-meta {
  font-size: 0.88rem;
  color: #6b7280;
}

.hf-flight-meta-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.hf-flight-meta-line .bi {
  color: #9ca3af;
}

.hf-flight-stops {
  font-size: 0.88rem;
  color: #374151;
  font-weight: 500;
}

.hf-flight-airline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

.hf-flight-airline-col img {
  max-width: 72px;
  max-height: 36px;
  object-fit: contain;
}

.hf-flight-airline-col .hf-flight-airline-name {
  font-size: 0.82rem;
  color: #1f2937;
  line-height: 1.25;
  font-weight: 600;
  max-width: 9rem;
}

.hf-flight-card-footer {
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 0.5rem;
  border-top: 1px solid #eceff3;
}

.hf-flight-book-btn,
.hf-flight-phone-deal {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.hf-flight-book-btn {
  padding: 0.7rem 0.65rem;
  font-size: 0.88rem;
  border-radius: 4px;
  white-space: nowrap;
}

.hf-flight-phone-deal {
  gap: 0.3rem;
  background: var(--hf-yellow);
  color: #111;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.7rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.hf-flight-phone-deal .hf-flight-phone-number {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .hf-flight-phone-deal .hf-flight-phone-number {
    display: none;
  }
}

.hf-flight-phone-deal:hover {
  background: var(--hf-yellow-dark);
  color: #111;
}

.hf-flight-phone-deal .bi {
  font-size: 1rem;
}

/* Legacy card layout (sidebar) — kept for reference if reused elsewhere */
.hf-flight-card-main {
  padding: 1.25rem 1.5rem;
}

.hf-flight-card-aside {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-top: 1px solid var(--hf-border);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (min-width: 992px) {
  .hf-flight-card-aside {
    border-top: none;
    border-left: 1px solid var(--hf-border);
  }
}

.hf-flight-airline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.hf-flight-airline img {
  max-width: 100px;
  max-height: 48px;
  object-fit: contain;
}

.hf-flight-airline .hf-flight-airline-name {
  font-weight: 600;
  color: var(--hf-navy-dark);
  font-size: 0.95rem;
}

.hf-leg-badge {
  display: inline-block;
  background: var(--hf-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.hf-leg-badge--return {
  background: #2d4a7a;
}

.hf-route-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.hf-airport-code {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--hf-navy);
  line-height: 1.1;
}

.hf-airport-name {
  font-size: 0.8rem;
  color: var(--hf-muted);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.hf-route-mid {
  text-align: center;
  color: var(--hf-muted);
  font-size: 0.8rem;
}

.hf-route-mid i {
  font-size: 1.25rem;
  color: var(--hf-yellow-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.hf-route-mid strong {
  display: block;
  color: var(--hf-navy);
  font-size: 0.75rem;
}

.hf-flight-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.hf-flight-details-row span {
  color: var(--hf-muted);
}

.hf-flight-details-row strong {
  color: var(--hf-navy-dark);
  font-weight: 600;
}

.hf-flight-leg + .hf-flight-leg {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #dde3eb;
}

.hf-price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hf-navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hf-price-tag small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hf-muted);
}

.hf-price-class {
  font-size: 0.85rem;
  color: var(--hf-muted);
  margin-bottom: 1rem;
}

.hf-deal-badge {
  max-width: 90px;
  margin-bottom: 0.75rem;
}

.hf-flight-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 200px;
}

.hf-btn-book {
  background: var(--hf-yellow);
  color: #000;
  font-weight: 700;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.hf-btn-book:hover {
  background: var(--hf-yellow-dark);
  color: #000;
}

.hf-btn-call {
  background: var(--hf-navy);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
}

.hf-btn-call:hover {
  background: var(--hf-navy-dark);
  color: #fff;
}

.hf-filter-card {
  padding: 1.15rem 1.2rem 1.2rem;
}

.hf-filter-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hf-border);
}

.hf-filter-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
  margin: 0 0 0.35rem;
}

.hf-filter-section-note {
  font-size: 0.78rem;
  color: var(--hf-muted);
  line-height: 1.45;
  margin: 0 0 0.85rem;
}

.hf-airline-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hf-airline-filter-item {
  display: grid;
  grid-template-columns: auto 52px 1fr;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.45rem;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  margin: 0;
}

.hf-airline-filter-item:hover {
  background: #f8fafc;
  border-color: #e5eaf0;
}

.hf-airline-filter-check {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--hf-navy);
  cursor: pointer;
}

.hf-airline-filter-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
}

.hf-airline-filter-logo img {
  max-width: 48px;
  max-height: 24px;
  object-fit: contain;
}

.hf-airline-filter-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hf-airline-filter-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--hf-navy-dark);
  line-height: 1.25;
}

.hf-airline-filter-price {
  font-size: 0.78rem;
  color: var(--hf-muted);
  line-height: 1.2;
}

.hf-results-help-card {
  margin-top: 0;
}

@media (min-width: 992px) {
  .hf-results-help-card.sticky-lg-top {
    position: sticky;
    top: 90px;
  }

  .col-lg-3 > .hf-filter-card + .hf-results-help-card.sticky-lg-top {
    top: calc(90px + 1rem);
  }
}

/* Results page: flights first on mobile; airline filter below list (collapsed) */
@media (max-width: 991.98px) {
  .hf-results-layout {
    display: flex;
    flex-direction: column;
  }

  .hf-results-main {
    order: 1;
  }

  .hf-results-sidebar {
    order: 2;
  }

  .hf-results-mobile-filter .hf-filter-card {
    margin-bottom: 0;
  }

  .hf-filter-card--collapsible {
    padding: 0;
    overflow: hidden;
  }

  .hf-filter-toggle {
    background: #fff;
    border: none;
    border-bottom: 1px solid var(--hf-border);
    padding: 0.9rem 1rem;
    font-weight: 700;
    color: var(--hf-navy-dark);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 10px rgba(23, 40, 69, 0.06);
  }

  .hf-filter-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .hf-filter-toggle-chevron {
    transition: transform 0.2s;
  }

  .hf-filter-toggle[aria-expanded="true"] .hf-filter-toggle-chevron {
    transform: rotate(180deg);
  }

  .hf-filter-section--in-collapse {
    padding: 0.85rem 1rem 1rem;
    max-height: 50vh;
    overflow-y: auto;
  }

  .hf-filter-card--collapsible .collapse.show + .hf-filter-section,
  .hf-filter-card--collapsible #hfAirlineFilterPanel.show .hf-filter-section--in-collapse {
    border-top: 1px solid var(--hf-border);
  }
}

.hf-sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--hf-border);
}

.hf-sidebar-card-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.hf-sidebar-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hf-navy) 0%, var(--hf-navy-dark) 100%);
  color: var(--hf-yellow);
  border-radius: 10px;
  font-size: 1.25rem;
}

.hf-sidebar-card-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
  margin: 0 0 0.25rem;
}

.hf-sidebar-card-head p {
  font-size: 0.82rem;
  color: var(--hf-muted);
  margin: 0;
  line-height: 1.45;
}

.hf-sidebar-phone-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--hf-navy);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.hf-sidebar-phone-btn:hover {
  background: var(--hf-navy-dark);
  color: #fff;
}

.hf-sidebar-phone-btn .bi {
  font-size: 1.35rem;
  color: var(--hf-yellow);
}

.hf-sidebar-phone-btn strong {
  font-size: 1.05rem;
}

.hf-sidebar-phone-btn small {
  font-size: 0.72rem;
  opacity: 0.85;
}

.hf-sidebar-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--hf-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hf-navy-dark);
}

.hf-sidebar-trust .bi {
  color: var(--hf-yellow-dark);
  margin-right: 0.2rem;
}

.hf-sidebar-form-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hf-muted);
  margin: 0 0 0.75rem;
}

.hf-sidebar-quote-form .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hf-navy-dark);
  margin-bottom: 0.2rem;
}

.hf-sidebar-quote-form .form-control {
  font-size: 0.875rem;
  border-color: var(--hf-border);
}

.hf-sidebar-quote-form .form-control:focus {
  border-color: var(--hf-yellow);
  box-shadow: 0 0 0 0.2rem rgba(239, 191, 0, 0.2);
}

.hf-sidebar-quote-form .hf-btn-search {
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  margin-top: 0.25rem;
}

.hf-no-results {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hf-no-results h3 {
  color: var(--hf-navy-dark);
  margin-bottom: 0.75rem;
}

.hf-no-results a {
  color: #c62828;
  font-weight: 600;
}

.hf-results-error {
  background: #fff3f3;
  border: 1px solid #ffcdd2;
  color: #b71c1c;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.hf-loading-page-body {
  margin: 0;
  overflow-x: hidden;
  background: var(--hf-navy);
}

.hf-loading-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(28, 45, 76, 0.6) 0%, transparent 55%),
    linear-gradient(135deg, var(--hf-navy) 0%, var(--hf-navy-dark) 100%);
  color: #fff;
  text-align: center;
}

.hf-loading-card {
  width: 100%;
  max-width: 560px;
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(28, 45, 76, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hf-loading-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.hf-loading-logo img {
  height: 52px;
  width: auto;
  max-width: min(220px, 72vw);
  object-fit: contain;
}

.hf-loading-route {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.hf-loading-route-plane {
  display: inline-block;
  margin: 0 0.35rem;
  color: var(--hf-yellow-dark);
  font-size: 0.95em;
  transform: rotate(90deg);
  vertical-align: middle;
}

.hf-loading-meta {
  margin: 0 0 1.35rem;
  font-size: clamp(0.82rem, 2.2vw, 0.92rem);
  color: rgba(168, 178, 209, 0.95);
  line-height: 1.5;
}

.hf-loading-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.35rem;
  min-height: 44px;
}

.hf-loading-track-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px dashed rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.hf-loading-track-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hf-yellow-dark);
  color: #fff;
  box-shadow: 0 0 0 6px var(--hf-navy-dark);
  animation: hf-loading-plane-pulse 1.6s ease-in-out infinite;
}

.hf-loading-track-icon i {
  font-size: 1.1rem;
  transform: rotate(90deg);
}

@keyframes hf-loading-plane-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.hf-loading-heading {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 700;
  color: #fff;
}

.hf-loading-sub {
  margin: 0 0 1.25rem;
  font-size: clamp(0.84rem, 2.2vw, 0.92rem);
  color: rgba(168, 178, 209, 0.95);
  line-height: 1.5;
}

.hf-loading-steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  text-align: left;
}

.hf-loading-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: clamp(0.84rem, 2.2vw, 0.92rem);
  color: rgba(168, 178, 209, 0.75);
  transition: color 0.25s ease;
}

.hf-loading-step:last-child {
  margin-bottom: 0;
}

.hf-loading-step.is-active,
.hf-loading-step.is-done {
  color: #fff;
}

.hf-loading-step-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hf-loading-step-icon i {
  font-size: 0.85rem;
  font-weight: 700;
}

.hf-loading-step.is-active .hf-loading-step-icon {
  border-color: rgba(247, 180, 24, 0.55);
  color: rgba(247, 180, 24, 0.45);
}

.hf-loading-step.is-done .hf-loading-step-icon {
  background: var(--hf-yellow-dark);
  border-color: var(--hf-yellow-dark);
  color: #fff;
}

.hf-loading-notice {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(247, 180, 24, 0.55);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  text-align: left;
}

.hf-loading-notice p {
  margin: 0;
  font-size: clamp(0.8rem, 2.1vw, 0.88rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hf-loading-notice strong {
  color: #fff;
}

.hf-loading-cta-text {
  margin: 0 0 0.75rem;
  font-size: clamp(0.82rem, 2.2vw, 0.9rem);
  color: rgba(168, 178, 209, 0.95);
}

.hf-loading-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 320px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--hf-yellow-dark);
  color: #fff;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(247, 180, 24, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hf-loading-phone-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(247, 180, 24, 0.35);
}

.hf-loading-trust {
  width: 100%;
  max-width: 720px;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.hf-loading-trust-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
}

.hf-loading-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.hf-loading-trust-list i {
  color: var(--hf-yellow-dark);
  font-size: 0.95rem;
}

.hf-loading-rating {
  margin: 0;
  font-size: clamp(0.78rem, 2.1vw, 0.88rem);
  color: rgba(255, 255, 255, 0.82);
}

.hf-loading-stars {
  display: inline-flex;
  gap: 0.1rem;
  margin: 0 0.25rem;
  vertical-align: middle;
}

.hf-loading-stars i {
  color: var(--hf-yellow-dark);
  font-size: 0.82rem;
}

@media (prefers-reduced-motion: reduce) {
  .hf-loading-track-icon {
    animation: none;
  }
}

@media (max-width: 480px) {
  .hf-loading-card {
    padding: 1.35rem 1.1rem 1.2rem;
    border-radius: 14px;
  }

  .hf-loading-logo img {
    height: 44px;
  }

  .hf-loading-trust-list {
    gap: 0.5rem 0.85rem;
  }
}

/* Booking landing (flight-search-landing-page.php) */
.hf-booking-page {
  background: #f0f2f5;
}

.hf-booking-hero {
  background: linear-gradient(135deg, var(--hf-navy) 0%, var(--hf-navy-dark) 100%);
  color: #fff;
  padding: 1.5rem 0 1.75rem;
}

.hf-booking-hero h1 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  margin: 0.5rem 0 0.35rem;
}

.hf-booking-hero-lead {
  margin: 0;
  opacity: 0.92;
  max-width: 640px;
  font-size: 0.95rem;
}

.hf-booking-hero .hf-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.hf-booking-hero .hf-breadcrumb .active {
  color: #fff;
}

.hf-booking-section {
  padding: 1.5rem 0 2.5rem;
}

.hf-booking-page .bi::before,
.hf-booking-page [class^="bi-"]::before,
.hf-booking-page [class*=" bi-"]::before {
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased;
}

.hf-booking-summary-card {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(23, 40, 69, 0.06);
}

.hf-booking-summary-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.hf-booking-summary-logo {
  width: 80px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.hf-booking-summary-head-main {
  flex: 1;
  min-width: 0;
}

.hf-booking-summary-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.hf-booking-summary-airline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
  margin: 0;
  line-height: 1.2;
}

.hf-booking-summary-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--hf-navy);
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

.hf-booking-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  list-style: none;
  border-bottom: 1px solid var(--hf-border);
}

.hf-booking-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: #eef2f7;
  border: 1px solid #c5d0de;
  font-family: "Roboto", system-ui, sans-serif;
  line-height: 1.3;
}

.hf-booking-summary-chip-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hf-navy-dark);
}

.hf-booking-summary-chip .bi {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  color: var(--hf-navy);
}

.hf-booking-summary-legs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hf-booking-summary-leg {
  padding: 0.85rem 0;
}

.hf-booking-summary-leg:first-child {
  padding-top: 0;
}

.hf-booking-summary-leg--return {
  border-top: 1px dashed var(--hf-border);
  margin-top: 0.15rem;
}

.hf-booking-summary-leg-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hf-muted);
  margin: 0 0 0.65rem;
}

.hf-booking-summary-leg-label span {
  color: var(--hf-navy);
}

.hf-booking-summary-leg-label time {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--hf-navy-dark);
}

.hf-booking-summary-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.hf-booking-summary-point {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.hf-booking-summary-point--end {
  text-align: right;
  align-items: flex-end;
}

.hf-booking-summary-code {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--hf-navy);
  letter-spacing: 0.02em;
}

.hf-booking-summary-city {
  font-size: 0.8rem;
  color: var(--hf-muted);
  line-height: 1.3;
}

.hf-booking-summary-mid {
  text-align: center;
  color: var(--hf-muted);
  font-size: 0.72rem;
  padding: 0 0.25rem;
}

.hf-booking-summary-mid .bi {
  display: block;
  font-size: 1.1rem;
  color: var(--hf-yellow-dark);
  transform: rotate(90deg);
  margin: 0 auto 0.15rem;
}

.hf-booking-summary-mid span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hf-booking-summary-code {
    font-size: 1.25rem;
  }

  .hf-booking-summary-city {
    font-size: 0.72rem;
  }

  .hf-booking-summary-route {
    gap: 0.35rem;
  }
}

.hf-booking-form-card {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(23, 40, 69, 0.06);
}

.hf-booking-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
  margin: 0 0 0.35rem;
}

.hf-booking-form-intro {
  font-size: 0.9rem;
  color: var(--hf-muted);
  margin: 0 0 1.25rem;
}

.hf-booking-alert {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hf-booking-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hf-navy-dark);
}

.hf-booking-form .form-control {
  border-color: var(--hf-border);
}

.hf-booking-form .form-control:focus {
  border-color: var(--hf-yellow);
  box-shadow: 0 0 0 0.2rem rgba(239, 191, 0, 0.2);
}

.hf-booking-passenger-section {
  margin-bottom: 1.5rem;
}

.hf-booking-passenger-section:last-of-type {
  margin-bottom: 1rem;
}

.hf-booking-passenger-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
  margin: 0 0 0.25rem;
}

.hf-booking-passenger-hint {
  font-size: 0.85rem;
  color: var(--hf-muted);
  margin: 0 0 0.85rem;
}

.hf-booking-passenger-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hf-booking-passenger-card {
  background: #f8fafc;
  border: 1px solid var(--hf-border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.hf-booking-passenger-card--lead {
  background: #fff;
  border-color: #d4dce8;
  box-shadow: inset 3px 0 0 var(--hf-yellow);
}

.hf-booking-passenger-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hf-booking-passenger-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
}

.hf-booking-passenger-type {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--hf-navy);
  color: #fff;
}

.hf-booking-passenger-type--child {
  background: #2d6a9f;
}

.hf-booking-passenger-type--infant {
  background: #5a6b7d;
}

.hf-booking-form .form-select {
  border-color: var(--hf-border);
  font-size: 0.9rem;
}

.hf-booking-form .form-select:focus {
  border-color: var(--hf-yellow);
  box-shadow: 0 0 0 0.2rem rgba(239, 191, 0, 0.2);
}

.hf-booking-terms {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hf-border);
}

.hf-booking-terms .form-check-label {
  font-size: 0.88rem;
}

.hf-booking-submit {
  margin-top: 1rem;
}

.hf-booking-sidebar .sticky-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hf-booking-price-card {
  background: linear-gradient(135deg, var(--hf-navy) 0%, var(--hf-navy-dark) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  text-align: center;
}

.hf-booking-price-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin: 0 0 0.25rem;
}

.hf-booking-price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  line-height: 1;
}

.hf-booking-price-note {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--hf-yellow);
}

.hf-booking-price-disclaimer {
  margin: 0;
  opacity: 0.8;
}

.hf-booking-sidebar-help {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
}

.hf-booking-sidebar-help h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hf-navy-dark);
  margin: 0 0 0.35rem;
}

.hf-booking-sidebar-help h3 .bi {
  color: var(--hf-yellow-dark);
  margin-right: 0.25rem;
}

.hf-booking-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--hf-yellow);
  color: #000;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.hf-booking-call-btn:hover {
  background: var(--hf-yellow-dark);
  color: #000;
}

.hf-booking-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hf-navy-dark);
  margin: 0;
  padding: 0 0.25rem;
}

.hf-booking-trust .bi {
  color: var(--hf-yellow-dark);
  margin-right: 0.2rem;
}

@media (max-width: 991px) {
  .hf-booking-sidebar .sticky-top {
    position: static !important;
  }
}
