/* Flash 45% call-booking promo */
.fs-flash-promo {
  background: linear-gradient(90deg, #4c1d95, #7c3aed, #9333ea);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
}

.fs-flash-promo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: fs-flash-shine 2.5s ease-in-out infinite;
}

@keyframes fs-flash-shine {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

.fs-flash-promo strong {
  color: #fde047;
  font-size: 16px;
}

.fs-flash-promo a {
  color: #fff;
  text-decoration: underline;
  margin-left: 6px;
}

.fs-flash-promo a:hover {
  color: #fde047;
}

.fs-flash-badge {
  display: inline-block;
  background: #fde047;
  color: #4c1d95;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.5px;
  animation: fs-flash-pulse 1.2s ease-in-out infinite;
}

@keyframes fs-flash-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fs-results-call-banner {
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fs-results-call-banner p {
  margin: 0;
  font-size: 15px;
}

.fs-results-call-banner .fs-call-banner-phone {
  background: #fde047;
  color: #4c1d95;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.fs-results-call-banner .fs-call-banner-phone:hover {
  background: #facc15;
  color: #4c1d95;
}

.fs-price-web {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.fs-price-call-wrap {
  margin: 4px 0;
}

.fs-price-call {
  font-size: 28px;
  font-weight: 800;
  color: #7c3aed;
}

.fs-price-call.is-cheapest {
  color: #188038;
}

.fs-price-call-label {
  font-size: 12px;
  color: #5b21b6;
  font-weight: 600;
}

.fs-call-discount-tag {
  display: inline-block;
  background: #fde047;
  color: #4c1d95;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.fs-book-now-btn {
  display: block;
  width: 100%;
  background: #1a73e8;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.fs-book-now-btn:hover {
  background: #1765cc;
}

.fs-call-book-btn {
  display: block;
  width: 100%;
  background: #4c1d95;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  margin-top: 6px;
  cursor: pointer;
}

.fs-call-book-btn:hover {
  background: #5b21b6;
  color: #fff;
  text-decoration: none;
}

.fs-select-btn {
  margin-top: 4px;
  background: transparent !important;
  color: #7c3aed !important;
  border: 1px solid #7c3aed !important;
  font-size: 12px !important;
  padding: 8px 12px !important;
}

.fs-select-btn:hover {
  background: #f3e8ff !important;
}

/* Cabin / flight class dropdown in search form */
.form-group.fs-cabin-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.fs-cabin-select {
  width: 100%;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 8px 28px 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #4c1d95;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c3aed' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  cursor: pointer;
}

.fs-cabin-select:focus {
  border-color: #7c3aed;
  outline: none;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.home-form .econmcabin {
  font-size: 12px;
  color: #7c3aed;
  font-weight: 600;
}

/* Flight search autocomplete & results */
.form-group.fs-airport-wrap {
  position: relative;
}

.fs-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1200;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(76, 29, 149, 0.15);
  display: none;
}

.fs-autocomplete.is-open {
  display: block;
}

.fs-autocomplete-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  line-height: 1.35;
}

.fs-autocomplete-item:hover,
.fs-autocomplete-item.is-active {
  background: #f3e8ff;
}

.fs-autocomplete-item strong {
  color: #7c3aed;
  font-weight: 700;
  margin-right: 6px;
}

.fs-autocomplete-item span {
  color: #666;
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.fs-airport-sub {
  display: block;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  font-size: 12px;
  color: #5b21b6;
  margin: 4px 0 0;
  min-height: 1.4em;
  line-height: 1.4;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  overflow: visible;
}

.form-group.fs-has-iata .rInpFrom,
.form-group.fs-has-iata .rInpTo {
  font-weight: 600;
}

.myechange {
  cursor: pointer;
  z-index: 5;
}

#flight-search-results {
  display: none;
  margin-top: 0;
  padding: 0 0 48px;
  background: #f1f3f4;
  border-top: 1px solid #dadce0;
}

#flight-search-results.is-visible {
  display: block;
}

/* Results page: left / right promo banners */
.fs-results-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  align-items: start;
}

.fs-results-side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.fs-results-main .fs-results-shell {
  max-width: none;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.fs-results-main .fs-results-shell.container {
  padding-left: 0;
  padding-right: 0;
}

/* Side banner cards */
.fs-side-banner {
  background: #fff;
  border: 1px solid #d8dce3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(60, 64, 67, 0.08);
  text-align: center;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.fs-side-banner--deals .fs-side-banner__hero {
  position: relative;
  padding: 14px 12px 28px;
  background: linear-gradient(180deg, #e8f4fc 0%, #f4faff 55%, #fff 100%);
}

.fs-side-banner--deals .fs-side-banner__hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 22px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.fs-side-banner__hero-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  color: #7c3aed;
  letter-spacing: -0.02em;
}

.fs-side-banner__agent {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.fs-side-banner__agent-img {
  display: block;
  width: 108px;
  height: 108px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.2);
}

.fs-side-banner__online {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.fs-side-banner__body {
  padding: 8px 16px 14px;
}

.fs-side-banner__headline {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #202124;
  line-height: 1.25;
}

.fs-side-banner__subhead {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #202124;
}

.fs-side-banner__rule {
  border: none;
  border-top: 1px solid #e8eaed;
  margin: 0 0 12px;
}

.fs-side-banner__cta-text {
  margin: 0 0 6px;
  font-size: 14px;
  color: #3c4043;
}

.fs-side-banner__phone {
  display: block;
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #0d9b4d;
  text-decoration: none;
  line-height: 1.2;
  word-break: break-word;
}

.fs-side-banner__phone:hover {
  color: #087a3d;
  text-decoration: underline;
}

.fs-side-banner__phone--sm {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 0;
}

.fs-side-banner__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.55;
}

.fs-side-banner__footer {
  padding: 12px 14px;
  border-top: 1px solid #e8eaed;
  font-size: 14px;
  font-weight: 600;
  color: #3c4043;
  background: #fafbfc;
}

.fs-side-banner--confidence {
  padding: 0;
}

.fs-side-banner__confidence-title {
  margin: 0;
  padding: 14px 14px 10px;
  font-size: 16px;
  font-weight: 800;
  color: #202124;
  text-align: center;
}

.fs-side-banner--confidence .fs-side-banner__rule {
  margin: 0 14px 12px;
}

.fs-side-banner__confidence-body {
  padding: 0 16px 12px;
}

.fs-side-banner__phone-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a73e8;
  font-size: 28px;
}

.fs-side-banner__confidence-body h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #202124;
}

.fs-side-banner__confidence-body p {
  margin: 0;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.45;
}

.fs-side-banner__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 14px;
}

.fs-side-banner__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5d9f5;
}

.fs-side-banner__dots span.is-active {
  width: 22px;
  height: 6px;
  border-radius: 4px;
  background: #1a73e8;
}

@media (max-width: 1199px) {
  .fs-results-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1100px;
    padding-top: 20px;
  }

  .fs-results-side {
    display: none;
  }

  .fs-results-main .fs-results-shell {
    padding-top: 0;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .fs-results-layout {
    grid-template-columns: 200px minmax(0, 1fr) 200px;
    gap: 16px;
  }

  .fs-side-banner__hero-title {
    font-size: 19px;
  }

  .fs-side-banner__phone {
    font-size: 17px;
  }
}

.fs-results-shell {
  max-width: 1100px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.fs-results-header {
  margin-bottom: 20px;
}

.fs-results-header__route h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -0.02em;
}

.fs-results-arrow {
  color: #5f6368;
  font-weight: 400;
}

.fs-results-meta {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
}

.fs-results-header .fs-results-call-banner {
  margin-top: 16px;
  border-radius: 12px;
}

.fs-results-loading {
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border-radius: 12px;
}

.fs-results-loading .fs-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e8eaed;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: fs-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes fs-spin {
  to { transform: rotate(360deg); }
}

/* Date bar */
.fs-date-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  margin-bottom: 8px;
  scrollbar-width: thin;
}

.fs-date-pill {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 10px 14px;
  border: 1px solid #dadce0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fs-date-pill:hover {
  border-color: #1a73e8;
}

.fs-date-pill.is-selected {
  border-color: #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
}

.fs-date-pill__day {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #3c4043;
}

.fs-date-pill__price {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #202124;
}

.fs-date-pill.is-selected .fs-date-pill__price {
  color: #1a73e8;
}

.fs-date-pill.is-low-price .fs-date-pill__price {
  color: #188038;
}

/* Airline strip */
.fs-airline-strip {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.fs-airline-strip h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #202124;
}

.fs-airline-strip__note {
  margin: 0 0 14px;
  font-size: 12px;
  color: #5f6368;
}

.fs-airline-strip__scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.fs-airline-strip__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  text-align: center;
}

.fs-airline-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.fs-airline-strip__name {
  margin-top: 8px;
  font-size: 11px;
  color: #5f6368;
  max-width: 90px;
  line-height: 1.2;
}

.fs-airline-strip__from {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #202124;
}

/* Toolbar */
.fs-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.fs-price-disclaimer {
  margin: 0;
  font-size: 12px;
  color: #5f6368;
  max-width: 520px;
  line-height: 1.45;
}

.fs-price-disclaimer .fa-info-circle {
  color: #9aa0a6;
  margin-left: 2px;
}

.fs-sort-control {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-sort-label {
  font-size: 13px;
  color: #5f6368;
  white-space: nowrap;
}

.fs-sort-select {
  appearance: none;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #202124;
  cursor: pointer;
  min-width: 150px;
}

.fs-sort-select:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.fs-sort-chevron {
  position: absolute;
  right: 12px;
  pointer-events: none;
  font-size: 11px;
  color: #5f6368;
}

.fs-results-count {
  margin: 16px 0 0;
  font-size: 12px;
  color: #80868b;
  text-align: center;
}

/* Offer cards */
.fs-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs-offer-alt-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: #e6f4ea;
  border: 1px solid #ceead6;
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  font-size: 13px;
  font-weight: 600;
  color: #137333;
}

.fs-offer-alt-banner__date {
  background: #137333;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.fs-offer-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.fs-offer-alt-banner + .fs-offer-card {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: -10px;
}

.fs-offer-card:hover {
  border-color: #c6c9cc;
  box-shadow: 0 2px 12px rgba(60, 64, 67, 0.12);
}

.fs-offer-tags {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 2;
}

.fs-offer-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 0 6px 6px;
}

.fs-offer-tag--cheapest {
  background: #188038;
  color: #fff;
}

.fs-offer-tag--best {
  background: #1a73e8;
  color: #fff;
}

.fs-offer-card__grid {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 18px;
}

.fs-offer-logo-wrap .fs-airline-logo {
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.fs-offer-schedule {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(120px, 1.4fr) minmax(100px, 1fr);
  align-items: start;
  gap: 8px 12px;
  min-width: 0;
}

.fs-offer-time-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-offer-time-block--arrive {
  text-align: right;
  align-items: flex-end;
}

.fs-offer-time {
  font-size: 22px;
  font-weight: 700;
  color: #202124;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.fs-offer-overnight {
  font-size: 11px;
  font-weight: 700;
  color: #5f6368;
  margin-left: 2px;
}

.fs-offer-iata {
  font-size: 13px;
  font-weight: 700;
  color: #3c4043;
}

.fs-offer-airline-name {
  font-size: 12px;
  color: #5f6368;
  margin-top: 2px;
}

.fs-offer-details-btn {
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  color: #1a73e8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.fs-offer-details-btn:hover {
  text-decoration: underline;
}

.fs-offer-path {
  text-align: center;
  padding-top: 4px;
}

.fs-offer-duration {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #3c4043;
  margin-bottom: 6px;
}

.fs-offer-path-line {
  height: 2px;
  background: #dadce0;
  position: relative;
  margin: 0 8px 6px;
}

.fs-offer-path-line span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #9aa0a6;
}

.fs-offer-stops {
  font-size: 12px;
  color: #5f6368;
}

.fs-baggage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 0 8px;
}

.fs-baggage__item {
  position: relative;
  color: #9aa0a6;
  font-size: 16px;
}

.fs-baggage__item.is-included {
  color: #3c4043;
}

.fs-baggage__item--checked {
  font-size: 18px;
}

.fs-baggage__check {
  position: absolute;
  right: -6px;
  bottom: -4px;
  font-size: 9px;
  color: #188038;
  background: #fff;
  border-radius: 50%;
}

.fs-offer-fare {
  text-align: right;
  min-width: 120px;
}

.fs-offer-fare--call {
  min-width: 148px;
  max-width: 200px;
}

.fs-offer-fare--call .fs-call-discount-tag {
  display: block;
  text-align: right;
  margin-bottom: 8px;
}

.fs-offer-fare--call .fs-price-call-wrap {
  margin-bottom: 8px;
}

.fs-offer-fare--call .fs-view-fare-btn {
  margin-top: 8px;
}

.fs-airline-strip__call-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: #7c3aed;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

.fs-offer-price {
  font-size: 22px;
  font-weight: 700;
  color: #202124;
  line-height: 1.2;
}

.fs-offer-price.is-cheapest {
  color: #188038;
}

.fs-offer-fare-note {
  margin: 2px 0 10px;
  font-size: 11px;
  color: #80868b;
}

.fs-offer-select-btn {
  display: block;
  width: 100%;
  min-width: 108px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.fs-offer-select-btn:hover {
  background: #1765cc;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.35);
}

.fs-view-fare-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 4px 0;
  border: none;
  background: none;
  color: #1a73e8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.fs-view-fare-btn:hover {
  color: #1765cc;
}

.fs-form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 14px;
  display: none;
}

.fs-form-error.is-visible {
  display: block;
}

.fs-no-results {
  text-align: center;
  padding: 32px;
  color: #666;
}

@media (max-width: 900px) {
  .fs-offer-card__grid {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }

  .fs-baggage {
    flex-direction: row;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding: 8px 0 0;
  }

  .fs-offer-fare {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    border-top: 1px solid #f1f3f4;
    margin-top: 12px;
    padding-top: 14px;
  }

  .fs-offer-select-btn {
    width: auto;
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .fs-offer-schedule {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .fs-offer-path {
    grid-column: 1 / -1;
    order: 3;
    padding: 8px 0 0;
  }

  .fs-results-header__route h2 {
    font-size: 20px;
  }

  .fs-offer-time {
    font-size: 18px;
  }
}

/* Online fare modal */
body.fs-fare-modal-open {
  overflow: hidden;
}

.fs-fare-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fs-fare-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fs-fare-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.35), rgba(15, 10, 40, 0.72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fs-fare-modal__dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 36px 32px 28px;
  border-radius: 22px;
  background: linear-gradient(155deg, #ffffff 0%, #f5f0ff 48%, #ede9fe 100%);
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow:
    0 28px 80px rgba(76, 29, 149, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fs-fare-modal.is-open .fs-fare-modal__dialog {
  transform: translateY(0) scale(1);
  animation: fs-fare-modal-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fs-fare-modal-pop {
  0% {
    transform: translateY(24px) scale(0.92);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.fs-fare-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  color: #5b21b6;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.fs-fare-modal__close:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #4c1d95;
  transform: rotate(90deg);
}

.fs-fare-modal__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.fs-fare-modal__badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fs-fare-modal__title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: #4c1d95;
}

.fs-fare-modal__message {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
  color: #374151;
}

.fs-fare-modal__phone {
  display: inline-block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  color: #7c3aed;
  text-decoration: none;
  white-space: nowrap;
}

.fs-fare-modal__phone:hover {
  color: #5b21b6;
  text-decoration: underline;
}

.fs-fare-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs-fare-modal__call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fs-fare-modal__call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(109, 40, 217, 0.45);
  color: #fff !important;
}

.fs-fare-modal__dismiss {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
}

.fs-fare-modal__dismiss:hover {
  color: #4c1d95;
}

@media (max-width: 480px) {
  .fs-fare-modal__dialog {
    padding: 32px 22px 24px;
  }

  .fs-fare-modal__title {
    font-size: 21px;
  }

  .fs-fare-modal__message {
    font-size: 15px;
  }

  .fs-fare-modal__phone {
    font-size: 19px;
    white-space: normal;
  }
}
