:root {
  --fs-bg: #f3f5f8;
  --fs-card: #ffffff;
  --fs-ink: #182230;
  --fs-muted: #667085;
  --fs-line: #d8dee8;
  --fs-soft: #eef4f8;
  --fs-navy: #071d2b;
  --fs-blue: #1769e0;
  --fs-blue-dark: #0c4cad;
  --fs-green: #087460;
  --fs-orange: #d95d25;
  --fs-shadow: 0 16px 42px rgba(16, 24, 40, .10);
}

body:has(#flightsons-pro) footer,
body:has(#flightsons-pro) .site-footer,
body:has(#flightsons-pro) #colophon,
body:has(#flightsons-pro) .ast-footer-copyright,
body:has(#flightsons-pro) .footer-adv,
body:has(#flightsons-pro) .entry-title,
body:has(#flightsons-pro) .wp-site-blocks > footer {
  display: none !important;
}

.fs-shell,
.fs-shell * {
  box-sizing: border-box;
}

.fs-shell {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: var(--fs-ink);
  background: var(--fs-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

.fs-shell a {
  color: inherit;
  text-decoration: none;
}

.fs-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: #fff;
  border-bottom: 1px solid var(--fs-line);
  box-shadow: 0 8px 28px rgba(16, 24, 40, .06);
}

body.admin-bar .fs-topbar {
  top: 32px;
}

.fs-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 185px;
}

.fs-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--fs-blue);
  color: #fff;
  font-weight: 950;
}

.fs-brand strong,
.fs-brand small {
  display: block;
}

.fs-brand strong {
  font-size: 17px;
}

.fs-brand small {
  color: var(--fs-muted);
  font-size: 12px;
}

.fs-nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: #f5f7fb;
}

.fs-nav-actions a {
  padding: 8px 13px;
  border-radius: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.fs-nav-actions a:hover {
  background: #fff;
  color: var(--fs-blue);
}

.fs-call {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--fs-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.fs-app {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.fs-search-card,
.fs-card,
.fs-flight-card,
.fs-manage-card,
.fs-summary-card {
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: var(--fs-card);
  box-shadow: var(--fs-shadow);
}

.fs-search-card {
  overflow: visible;
}

.fs-search-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 14px;
  border-bottom: 1px solid #edf0f5;
}

.fs-search-head h1,
.fs-results-head h2,
.fs-card h2,
.fs-manage-card h2 {
  margin: 0;
  color: var(--fs-ink);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
}

.fs-search-head p,
.fs-results-head p,
.fs-manage-card p,
.fs-help-card p {
  max-width: 560px;
  margin: 0;
  color: var(--fs-muted);
  font-size: 13px;
}

.fs-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--fs-blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.fs-search-form {
  padding: 18px 24px 24px;
}

.fs-trip-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 8px;
  background: #eef2f7;
}

.fs-trip-toggle button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 8px 16px;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font-weight: 900;
}

.fs-trip-toggle button.is-active {
  background: #fff;
  color: var(--fs-blue-dark);
  box-shadow: 0 6px 16px rgba(16, 24, 40, .08);
}

.fs-search-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) 50px minmax(190px, 1.3fr) repeat(4, minmax(118px, .75fr)) 130px;
  gap: 10px;
  align-items: end;
}

.fs-field {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.fs-field > span {
  color: #475467;
}

.fs-shell input,
.fs-shell select,
.fs-shell textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd7e3;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
  color: var(--fs-ink);
  font: inherit;
  outline: none;
}

.fs-shell textarea {
  min-height: 112px;
  resize: vertical;
}

.fs-shell input:focus,
.fs-shell select:focus,
.fs-shell textarea:focus {
  border-color: var(--fs-blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, .12);
}

.fs-airport-field input {
  min-height: 58px;
  padding-bottom: 23px;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.fs-airport-name {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  overflow: hidden;
  color: var(--fs-muted);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.fs-airport-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 250;
  max-height: 340px;
  overflow: auto;
  border: 1px solid #cfd7e3;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 24, 40, .20);
}

.fs-airport-suggestions.is-open {
  display: block;
}

.fs-airport-suggestions button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  padding: 12px 14px;
  background: #fff;
  color: var(--fs-ink);
  cursor: pointer;
  text-align: left;
}

.fs-airport-suggestions button:hover {
  background: #f6f9ff;
}

.fs-airport-suggestions strong {
  font-size: 14px;
}

.fs-airport-suggestions em {
  align-self: center;
  border-radius: 999px;
  padding: 3px 7px;
  background: #eef4ff;
  color: var(--fs-blue-dark);
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
}

.fs-airport-suggestions span {
  grid-column: 1 / -1;
  color: var(--fs-muted);
  font-size: 12px;
}

.fs-swap {
  width: 50px;
  height: 58px;
  border: 1px solid #cfd7e3;
  border-radius: 7px;
  background: #fff;
  color: var(--fs-blue);
  cursor: pointer;
  font-size: 0;
  font-weight: 950;
}

.fs-swap:before {
  content: "⇄";
  font-size: 22px;
}

.fs-search-submit,
.fs-secondary-btn {
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 950;
  white-space: nowrap;
}

.fs-search-submit {
  background: var(--fs-blue);
  color: #fff;
}

.fs-search-submit:hover {
  background: var(--fs-blue-dark);
}

.fs-search-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.fs-secondary-btn {
  border: 1px solid #cfd7e3;
  background: #fff;
  color: var(--fs-ink);
}

.fs-secondary-btn:hover {
  border-color: var(--fs-blue);
  color: var(--fs-blue-dark);
}

.fs-workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.fs-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.fs-card {
  padding: 18px;
}

.fs-card h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.fs-help-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--fs-blue-dark);
  font-weight: 950;
}

.fs-main-column {
  min-width: 0;
}

.fs-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.fs-results-head h2 {
  font-size: 22px;
}

.fs-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eaf4ff;
  color: var(--fs-blue-dark);
  font-size: 12px;
  font-weight: 950;
}

.fs-flight-list {
  display: grid;
  gap: 10px;
}

.fs-flight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  padding: 15px;
}

.fs-flight-card.is-selected {
  border-color: var(--fs-blue);
  box-shadow: 0 16px 40px rgba(23, 105, 224, .16);
}

.fs-flight-main {
  min-width: 0;
}

.fs-airline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.fs-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--fs-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.fs-airline-row strong,
.fs-airline-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-airline-row span {
  color: var(--fs-muted);
  font-size: 12px;
}

.fs-times {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) minmax(120px, 180px) minmax(88px, 1fr);
  gap: 16px;
  align-items: center;
}

.fs-time {
  color: var(--fs-ink);
  font-size: 24px;
  font-weight: 950;
}

.fs-city {
  overflow: hidden;
  color: var(--fs-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-line {
  display: grid;
  gap: 4px;
  color: var(--fs-muted);
  font-size: 12px;
  text-align: center;
}

.fs-line:before {
  content: "";
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cfd7e3, var(--fs-blue), #cfd7e3);
}

.fs-price-side {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 1px solid #edf0f5;
  padding-left: 16px;
}

.fs-price-side small {
  color: var(--fs-muted);
  font-size: 12px;
}

.fs-price-side strong {
  display: block;
  color: var(--fs-ink);
  font-size: 25px;
  line-height: 1;
}

.fs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fs-tags span {
  border-radius: 999px;
  padding: 4px 7px;
  background: #f2f4f7;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
}

.fs-select-flight {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--fs-blue);
  color: #fff;
  cursor: pointer;
  font-weight: 950;
}

.fs-select-flight:hover {
  background: var(--fs-blue-dark);
}

.fs-show-more {
  min-height: 48px;
  border: 1px solid #cfd7e3;
  border-radius: 7px;
  background: #fff;
  color: var(--fs-blue-dark);
  cursor: pointer;
  font-weight: 950;
}

.fs-empty,
.fs-loading {
  padding: 22px;
  border: 1px dashed #cfd7e3;
  border-radius: 10px;
  background: #fff;
  color: var(--fs-muted);
  text-align: center;
}

.fs-loading {
  display: grid;
  gap: 10px;
}

.fs-loading span {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf0f5, #f8fafc, #edf0f5);
}

.fs-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 18px;
}

.fs-checkout-card {
  padding: 20px;
}

.fs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fs-span-2 {
  grid-column: span 2;
}

.fs-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.fs-summary-card {
  height: max-content;
  padding: 20px;
  background: var(--fs-navy);
  color: #fff;
}

.fs-summary-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.fs-summary-route {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}

.fs-summary-route span,
.fs-summary-card small {
  color: #cbd5e1;
}

.fs-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.fs-summary-total {
  border-bottom: 0;
  font-size: 20px;
  font-weight: 950;
}

.fs-payment-link {
  display: block;
  margin-top: 14px;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  color: var(--fs-navy);
  text-align: center;
  font-weight: 950;
}

.fs-confirmation {
  margin-top: 14px;
  border-radius: 8px;
  padding: 14px;
  background: #e9f8f2;
  color: #07553f;
  font-weight: 850;
}

.fs-manage-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 16px;
  align-items: start;
  margin-top: 18px;
  padding: 20px;
}

.fs-manage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.fs-manage-result {
  grid-column: 1 / -1;
}

.fs-support-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
  border-radius: 10px;
  padding: 18px;
  background: var(--fs-navy);
  color: #fff;
}

.fs-support-bar a {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  font-weight: 850;
}

.is-disabled {
  opacity: .45;
}

@media (max-width: 1120px) {
  .fs-search-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fs-swap {
    grid-row: 1;
  }

  .fs-workspace,
  .fs-checkout-grid,
  .fs-manage-card {
    grid-template-columns: 1fr;
  }

  .fs-sidebar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.admin-bar .fs-topbar {
    top: 46px;
  }

  .fs-topbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .fs-nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .fs-call {
    width: 100%;
    text-align: center;
  }

  .fs-app {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .fs-search-head,
  .fs-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .fs-search-form,
  .fs-search-head {
    padding-left: 14px;
    padding-right: 14px;
  }

  .fs-search-grid,
  .fs-sidebar,
  .fs-flight-card,
  .fs-times,
  .fs-form-grid,
  .fs-manage-row {
    grid-template-columns: 1fr;
  }

  .fs-swap {
    width: 100%;
  }

  .fs-price-side {
    border-left: 0;
    border-top: 1px solid #edf0f5;
    padding-left: 0;
    padding-top: 14px;
  }

  .fs-line {
    text-align: left;
  }

  .fs-line:before {
    display: none;
  }

  .fs-span-2,
  .fs-manage-result {
    grid-column: auto;
  }
}
