/* FlyGlobus v2.0 Design System — Self-hosted Open Sans + Responsive Flexbox/Grid */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/open-sans-300.1cb59426ad17.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-400.a80e3b260ee3.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-600.ff4702847de6.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-700.f7016926cf32.woff2") format("woff2");
}

:root {
  --fg-cyan: #00bcff;
  --fg-cyan-alt: #1fc3fd;
  --fg-orange: #ff9600;
  --fg-navy: #002e77;
  --fg-navy-mid: #1b3974;
  --fg-navy-aux: #23477a;
  --fg-frame: #2e3a59;
  --fg-frame-dark: #263552;
  --fg-border: #e7eaec;
  --fg-border-strong: #ced3d8;
  --fg-white: #ffffff;
  --fg-bg-soft: #f7f7f7;
  --fg-bg-muted: #f1f1f1;
  --fg-text: #333333;
  --fg-text-mid: #666666;
  --fg-text-muted: #9f9fa2;
  --fg-footer: #282828;
  --fg-footer-div: #3e3e3e;
  --fg-green: #25b43a;
  --fg-red: #b70612;
  --fg-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fg-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-text);
  background: var(--fg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg-navy); text-decoration: none; }
a:hover { color: var(--fg-cyan); }
button, input, select, textarea { font-family: inherit; font-size: 14px; }
:focus-visible { outline: 2px solid var(--fg-cyan); outline-offset: 2px; }
[hidden] { display: none !important; }

.fg-sprite-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.fg-icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.fg-icon-sm { width: 15px; height: 15px; }
.fg-icon-lg { width: 22px; height: 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Container (.supwrap) */
.supwrap { width: 100%; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .supwrap { max-width: 740px; } }
@media (min-width: 1280px) { .supwrap { max-width: 1240px; } }

/* Header (.top) */
.top {
  background: var(--fg-navy);
  color: var(--fg-white);
  position: relative;
  z-index: 40;
}
.page-home .top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(10, 26, 58, 0.72) 0%, rgba(10, 26, 58, 0) 100%);
}
.top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.top-left { display: flex; flex-direction: column; gap: 6px; }
.top-nav-row1, .top-nav-row2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.top-nav-row1 a { color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.top-nav-row1 a:hover { color: var(--fg-cyan); }
.top-nav-row2 a, .top-nav-row2 button {
  color: var(--fg-white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.top-nav-row2 a:hover, .top-nav-row2 button:hover { color: var(--fg-cyan); }
.login-company_name {
  background: var(--fg-orange);
  color: var(--fg-white) !important;
  padding: 3px 10px !important;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-logo { justify-self: center; display: flex; align-items: center; gap: 10px; color: var(--fg-white); }
.top-logo-mark { width: 40px; height: 40px; color: var(--fg-cyan); }
.top-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.top-logo-name { font-size: 20px; font-weight: 700; letter-spacing: 1.2px; color: var(--fg-white); }
.top-logo-name span { color: var(--fg-cyan); }
.top-logo-tag { font-size: 9px; font-weight: 600; letter-spacing: 2.2px; color: rgba(255, 255, 255, 0.82); text-transform: uppercase; }

.top-right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.top-phones { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 600; }
.top-phone-line { display: flex; align-items: center; gap: 6px; color: var(--fg-white); white-space: nowrap; }
.top-phone-line a { color: var(--fg-white); }
.top-switchers { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fg-dropdown { position: relative; }
.fg-dropdown-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fg-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fg-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 110px;
  background: var(--fg-white);
  color: var(--fg-text);
  border: 1px solid var(--fg-border-strong);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  padding: 4px 0;
  z-index: 60;
}
.fg-dropdown-menu form, .fg-dropdown-menu a { display: block; width: 100%; }
.fg-dropdown-item {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fg-dropdown-item:hover, .fg-dropdown-item.is-active { background: var(--fg-bg-soft); color: var(--fg-navy); }
.top-burger { display: none; background: none; border: 0; color: var(--fg-white); cursor: pointer; padding: 6px; }
.mobile-drawer {
  background: var(--fg-navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 16px;
}
.mobile-drawer a, .mobile-drawer button {
  display: block; width: 100%; text-align: left; padding: 8px 0;
  color: var(--fg-white); font-weight: 600; background: none; border: 0; cursor: pointer;
}
@media (max-width: 1023px) {
  .top-inner { grid-template-columns: auto 1fr auto; }
  .top-left, .top-phones { display: none; }
  .top-burger { display: inline-flex; }
}

/* Hero (.showcase) & Multi-Vertical Search Form */
.showcase {
  position: relative;
  min-height: 650px;
  padding: 148px 0 64px;
  background: var(--fg-navy) url("../img/hero-sunset.b3a6c25da176.webp") center/cover no-repeat;
  color: var(--fg-white);
  display: flex;
  align-items: center;
}
.showcase-inner { text-align: center; }
.showcase h1 {
  margin: 0 0 8px;
  font-size: 48px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.12;
  color: var(--fg-white);
}
.showcase-sub {
  margin: 0 0 34px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--fg-white);
}
@media (max-width: 767px) {
  .showcase { min-height: auto; padding: 92px 0 36px; }
  .showcase h1 { font-size: 28px; }
  .showcase-sub { font-size: 13px; margin-bottom: 20px; }
}

#main-search-form {
  max-width: 970px;
  margin: 0 auto;
  text-align: left;
  background: rgba(38, 53, 82, 0.88);
  border: 2px solid var(--fg-frame);
  border-radius: 4px;
  padding: 16px 20px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.search-widget-sidebar #main-search-form {
  max-width: 100%;
  background: var(--fg-frame);
  padding: 14px;
}
.vertical-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.vertical-tab {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 3px 3px 0 0;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vertical-tab.is-active, .vertical-tab[aria-selected="true"] {
  background: var(--fg-frame-dark);
  color: var(--fg-white);
  border-bottom-color: var(--fg-cyan);
}
.search-top-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.direction-tabs { display: flex; gap: 20px; }
.dir-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding-bottom: 5px;
  border-bottom: 3px solid transparent;
}
.dir-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.dir-radio.is-active, .dir-radio:has(input:checked) {
  color: var(--fg-white);
  border-bottom-color: var(--fg-cyan);
}
.class-radios { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.class-radio {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--fg-white);
  cursor: pointer;
}
.class-radio input { accent-color: var(--fg-cyan); }

.search-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr 190px;
  gap: 10px;
  align-items: stretch;
}
.search-widget-sidebar .search-grid { grid-template-columns: 1fr; }
.search-col { display: flex; flex-direction: column; gap: 6px; }
.search-subrow { display: flex; gap: 6px; }
.search-subrow > .fg-field { flex: 1 1 0; min-width: 0; }
.fg-field {
  position: relative;
  background: var(--fg-white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--fg-border-strong);
}
.fg-field.is-disabled { background: var(--fg-bg-muted); opacity: 0.78; }
.fg-field-icon { color: var(--fg-cyan); margin: 0 8px 0 10px; flex-shrink: 0; }
.fg-field input, .fg-field select {
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--fg-text);
  padding: 0 10px 0 0;
  outline: none;
}
.fg-field input::placeholder { color: var(--fg-text-muted); }
#swap_button {
  align-self: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--fg-frame-dark);
  color: var(--fg-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#swap_button:hover { background: var(--fg-cyan); color: var(--fg-white); }
.btn_go {
  width: 190px;
  min-height: 80px;
  background: var(--fg-cyan);
  color: var(--fg-white);
  border: 0;
  border-radius: 2px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn_go:hover { background: var(--fg-orange); }
.search-widget-sidebar .btn_go { width: 100%; min-height: 46px; font-size: 15px; }
@media (max-width: 960px) {
  .search-grid { grid-template-columns: 1fr; }
  #swap_button { justify-self: center; transform: rotate(90deg); }
  .btn_go { width: 100%; min-height: 48px; }
  .dir-radio { font-size: 14px; }
}

/* Autocomplete, Calendar & Pax Popovers */
.fg-autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--fg-white);
  border: 1px solid var(--fg-border-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  z-index: 80;
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}
.fg-autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--fg-text);
  border-bottom: 1px solid var(--fg-bg-soft);
}
.fg-autocomplete-item:hover, .fg-autocomplete-item.is-active { background: #eef8ff; color: var(--fg-navy); }
.fg-autocomplete-code { font-size: 11px; font-weight: 700; color: var(--fg-text-muted); }

.fg-pax-trigger {
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--fg-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  cursor: pointer;
  font-weight: 600;
}
.fg-pax-counts { display: inline-flex; align-items: center; gap: 8px; }
.fg-pax-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; }
.fg-pax-badge svg { color: var(--fg-cyan); }
.fg-popover {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  background: var(--fg-white);
  color: var(--fg-text);
  border: 1px solid var(--fg-border-strong);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  padding: 12px;
  z-index: 85;
}
.fg-pax-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.fg-pax-stepper { display: inline-flex; align-items: center; gap: 8px; }
.fg-pax-stepper button {
  width: 28px; height: 28px; border-radius: 3px;
  border: 1px solid var(--fg-border-strong); background: var(--fg-bg-soft); cursor: pointer; font-weight: 700;
}
.fg-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.fg-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; color: var(--fg-navy); }
.fg-cal-day {
  padding: 6px 2px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: none;
  cursor: pointer;
  font-size: 12px;
  position: relative;
}
.fg-cal-day:hover:not(:disabled) { background: #eef8ff; }
.fg-cal-day.is-selected { background: var(--fg-cyan); color: var(--fg-white); font-weight: 700; }
.fg-cal-day.has-departure::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-green);
  margin: 2px auto 0;
}
.fg-cal-day:disabled { color: #ccc; cursor: not-allowed; }

/* Section Headings */
.section-block { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 {
  margin: 0 0 6px;
  font-size: 36px;
  font-weight: 700;
  color: var(--fg-navy);
  text-transform: uppercase;
}
.section-head p { margin: 0; font-size: 15px; color: var(--fg-text-mid); }
@media (max-width: 767px) { .section-head h2 { font-size: 22px; } }

/* Actual Flights (.actual_flights) */
.actual_flights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1023px) { .actual_flights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .actual_flights { grid-template-columns: 1fr; } }
.actual_flights li {
  position: relative;
  height: 240px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--fg-navy-mid);
}
.actual_flights li img { width: 100%; height: 100%; object-fit: cover; }
.deal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 65%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  color: var(--fg-white);
  transition: background-color 0.2s ease;
}
.actual_flights li:hover .deal-overlay { background: rgba(1, 50, 116, 0.9); justify-content: center; align-items: center; text-align: center; }
.deal-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.deal-meta { font-size: 13px; color: rgba(255, 255, 255, 0.85); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.deal-price { font-size: 20px; font-weight: 700; color: var(--fg-cyan); }
.deal-cta {
  display: none;
  margin-top: 12px;
  padding: 8px 18px;
  border: 1px solid var(--fg-cyan);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg-white);
}
.actual_flights li:hover .deal-cta { display: inline-block; }

/* News Section & CSS Scroll Snap Carousel */
.news-section {
  background: var(--fg-bg-soft) url("../img/news-clouds.49b6f8bc2495.webp") center bottom/cover no-repeat;
  padding: 48px 0 56px;
}
.news-carousel-wrap { position: relative; }
.news-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.news-carousel::-webkit-scrollbar { display: none; }
.news-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--fg-white);
  border: 1px solid var(--fg-border);
  display: grid;
  grid-template-columns: 400px 1fr;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}
.news-slide-thumb { width: 100%; height: 225px; object-fit: cover; }
.news-slide-body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.news-date { font-size: 12px; color: var(--fg-text-muted); margin-bottom: 8px; }
.news-slide-title { font-size: 20px; font-weight: 700; color: var(--fg-navy); margin: 0 0 10px; }
.news-summary { margin: 0 0 14px; color: var(--fg-text-mid); }
.news-more {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg-cyan);
  border-bottom: 2px solid var(--fg-cyan);
  padding-bottom: 2px;
}
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.carousel-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--fg-border-strong);
  background: var(--fg-white); color: var(--fg-navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--fg-cyan); color: var(--fg-white); border-color: var(--fg-cyan); }
@media (max-width: 767px) {
  .news-slide { grid-template-columns: 1fr; }
  .news-slide-thumb { height: 190px; }
}

/* Search Results Page */
.search-page { padding: 28px 0 48px; background: var(--fg-bg-soft); }
.search-layout { display: flex; align-items: flex-start; }
.flights_filter_form {
  width: 290px;
  flex-shrink: 0;
  margin-right: 40px;
  background: var(--fg-white);
  border: 1px solid var(--fg-border);
  border-radius: 3px;
  padding: 18px;
}
.filter-group { border-bottom: 1px solid var(--fg-border); padding: 12px 0; }
.filter-group:last-child { border-bottom: 0; }
.filter-group h3 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--fg-navy); text-transform: uppercase; }
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; font-size: 13px; cursor: pointer; }
.search-results-col { flex: 1 1 auto; min-width: 0; max-width: 865px; }
.mobile-filter-bar { display: none; margin-bottom: 14px; }
@media (max-width: 1023px) {
  .search-layout { flex-direction: column; }
  .mobile-filter-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
  .flights_filter_form { display: none; width: 100%; margin-right: 0; margin-bottom: 16px; }
  .flights_filter_form.is-open { display: block; }
}

.sort-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sort-tab {
  background: var(--fg-white);
  border: 1px solid var(--fg-border-strong);
  border-radius: 3px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-navy);
  cursor: pointer;
}
.sort-tab.is-active { background: var(--fg-navy); color: var(--fg-white); border-color: var(--fg-navy); }

.flight_item {
  background: var(--fg-white);
  border: 1px solid var(--fg-border);
  border-radius: 3px;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.flight_item.is-selected { border: 2px solid var(--fg-cyan); box-shadow: 0 4px 16px rgba(0, 188, 255, 0.14); }
.flight_item.is-dimmed { opacity: 0.45; }
.flight-item-main {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: center;
}
.flight-carrier { font-weight: 700; color: var(--fg-navy); font-size: 14px; }
.flight-route-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.flight-time { font-size: 26px; font-weight: 600; color: var(--fg-text); line-height: 1.1; }
.flight-point { font-size: 12px; color: var(--fg-text-muted); }
.flight-duration { text-align: center; font-size: 12px; color: var(--fg-text-mid); }
.flight-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fg-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 3px; font-size: 12px; font-weight: 600;
  background: var(--fg-bg-soft); color: var(--fg-navy-mid); border: 1px solid var(--fg-border);
}
.fg-badge-green { background: #e8f8ec; color: #197327; border-color: #bfe8c6; }
.fg-badge-orange { background: #fff4e5; color: #a85600; border-color: #ffd7a8; }
.flight-price-col { text-align: right; min-width: 155px; }
.total_tickets_price_no_discount { text-decoration: line-through; color: var(--fg-text-muted); font-size: 13px; }
.total_tickets_price_discount { font-size: 24px; font-weight: 700; color: var(--fg-navy); }
.price-sub-uah { font-size: 12px; color: var(--fg-text-muted); margin-bottom: 8px; }
.bus-stops-details { margin-top: 10px; border-top: 1px dashed var(--fg-border); padding-top: 8px; font-size: 13px; }
.bus-stops-details summary { cursor: pointer; font-weight: 600; color: var(--fg-navy); }
.bus-stops-timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--fg-cyan); }
.bus-stops-timeline li { padding: 4px 0 4px 10px; display: flex; justify-content: space-between; gap: 12px; }
.roundtrip-summary {
  position: sticky; bottom: 12px; z-index: 30;
  background: var(--fg-navy); color: var(--fg-white);
  padding: 14px 20px; border-radius: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px;
}
@media (max-width: 767px) {
  .flight-item-main { grid-template-columns: 1fr; }
  .flight-price-col { text-align: left; }
  .roundtrip-summary { flex-direction: column; align-items: stretch; }
}

/* Buttons & Alerts */
.btn-primary, .btn-accent, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 3px; font-weight: 700; font-size: 14px; cursor: pointer; border: 0; text-decoration: none;
}
.btn-primary { background: var(--fg-cyan); color: var(--fg-white); }
.btn-primary:hover { background: var(--fg-orange); color: var(--fg-white); }
.btn-accent { background: var(--fg-orange); color: var(--fg-white); }
.btn-accent:hover { background: var(--fg-navy); color: var(--fg-white); }
.btn-outline { background: var(--fg-white); color: var(--fg-navy); border: 1px solid var(--fg-navy); }
.btn-outline:hover { background: var(--fg-navy); color: var(--fg-white); }

.alert { padding: 12px 16px; border-radius: 3px; margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; }
.alert-error { background: #fdecee; color: var(--fg-red); border-color: #f5c2c7; }
.alert-success, .ticket_sent_msg { background: #e8f8ec; color: #166a22; border: 1px solid var(--fg-green); padding: 14px 18px; border-radius: 3px; }
.alert-warning { background: #fff6e6; color: #8a5200; border-color: #ffe0ad; }

/* Checkout & Passenger Table */
.checkout-page { padding: 32px 0 56px; background: var(--fg-bg-soft); }
.checkout-wrap { max-width: 960px; margin: 0 auto; }
.fg-card { background: var(--fg-white); border: 1px solid var(--fg-border); border-radius: 3px; padding: 22px; margin-bottom: 20px; }
.fg-card h1, .fg-card h2 { margin-top: 0; color: var(--fg-navy); }
.passengers_info_table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.passengers_info_table thead th {
  background: var(--fg-navy); color: var(--fg-white); padding: 10px 8px; font-size: 13px; text-align: left;
}
.passengers_info_table td { padding: 8px 6px; border: 1px solid var(--fg-border); vertical-align: top; }
.passengers_info_table input, .passengers_info_table select, .fg-input {
  width: 100%; height: 40px; padding: 6px 10px; border: 1px solid var(--fg-border-strong); border-radius: 2px; background: var(--fg-white);
}
.fg-textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--fg-border-strong); border-radius: 2px; }
.invalid-input { border: 2px solid var(--fg-red) !important; background: #fff5f6 !important; }
.field-error { color: var(--fg-red); font-size: 12px; margin-top: 3px; }
.copy_passengers_data { margin-bottom: 12px; }
.cross-sell-box { background: #f3faff; border: 1px solid #bce8ff; padding: 16px; border-radius: 3px; margin-bottom: 20px; }
.cross-sell-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #d6ecfa; }
.cross-sell-item:last-child { border-bottom: 0; }
.checkout_total_price {
  border: 3px solid var(--fg-navy);
  background: var(--fg-white);
  padding: 20px 24px;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.checkout-total-eur { font-size: 48px; font-weight: 600; color: var(--fg-navy); line-height: 1.05; }
.checkout-total-uah { font-size: 16px; font-weight: 600; color: var(--fg-text-mid); }
.payment_bro { background: #fff8eb; border: 1px solid var(--fg-orange); padding: 12px 16px; border-radius: 3px; }
@media (max-width: 767px) {
  .passengers_info_table, .passengers_info_table thead, .passengers_info_table tbody, .passengers_info_table tr, .passengers_info_table td {
    display: block; width: 100%;
  }
  .passengers_info_table thead { display: none; }
  .passengers_info_table tr { margin-bottom: 12px; border: 1px solid var(--fg-border-strong); }
  .checkout-total-eur { font-size: 34px; }
}

/* Inner CMS, FAQ, Cooperate, Check Booking, B2B */
.inner-page { padding: 34px 0 56px; }
.content-narrow { max-width: 865px; margin: 0 auto; }
.content-with-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .content-with-sidebar { grid-template-columns: 1fr; } }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--fg-white); border: 1px solid var(--fg-border); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.news-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.faq-details { background: var(--fg-white); border: 1px solid var(--fg-border); border-radius: 3px; margin-bottom: 10px; }
.faq-details summary { padding: 14px 18px; font-weight: 700; color: var(--fg-navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-details summary::after { content: "+"; font-size: 18px; color: var(--fg-cyan); }
.faq-details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 16px; color: var(--fg-text-mid); border-top: 1px solid var(--fg-bg-soft); }

.cooperate-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
@media (max-width: 767px) { .cooperate-cards { grid-template-columns: 1fr; } }
.cooperate-card { background: var(--fg-bg-soft); border: 1px solid var(--fg-border-strong); border-top: 4px solid var(--fg-cyan); padding: 24px; border-radius: 3px; }

.fg-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.fg-table th, .fg-table td { padding: 9px 10px; border-bottom: 1px solid var(--fg-border); text-align: left; font-size: 14px; }
.fg-table th { background: var(--fg-bg-soft); color: var(--fg-navy); font-weight: 700; }
.orderlist_table { width: 100%; border-collapse: collapse; }
.orderlist_table th, .orderlist_table td { padding: 9px 10px; border-bottom: 1px solid var(--fg-border); text-align: left; }
.b2b-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.b2b-tabs a { padding: 9px 16px; border-radius: 3px; background: var(--fg-bg-muted); color: var(--fg-navy); font-weight: 700; }
.b2b-tabs a.active { background: var(--fg-cyan); color: var(--fg-white); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 639px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--fg-navy-mid); }

/* Native <dialog> */
dialog.fg-dialog {
  width: min(520px, calc(100vw - 24px));
  border: 0;
  border-radius: 4px;
  padding: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
dialog.fg-dialog::backdrop { background: rgba(0, 22, 60, 0.65); }
.fg-dialog-head {
  background: var(--fg-navy); color: var(--fg-white); padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.fg-dialog-head h2 { margin: 0; font-size: 17px; }
.fg-dialog-close { background: none; border: 0; color: var(--fg-white); cursor: pointer; padding: 4px; }
.fg-dialog-body { padding: 20px; }

/* Footer (.bottom) */
.bottom {
  background: var(--fg-footer);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0 28px;
  border-top: 1px solid var(--fg-footer-div);
  font-size: 13px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 220px 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1023px) { .bottom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .bottom-grid { grid-template-columns: 1fr; } }
.bottom-logo { filter: grayscale(100%) brightness(1.1); opacity: 0.78; margin-bottom: 14px; }
.payment-marks { display: flex; align-items: center; gap: 14px; }
.bottom h3 { margin: 0 0 12px; font-size: 14px; color: var(--fg-white); font-weight: 700; }
.bottom-contact-list, .bottom-nav-list { list-style: none; margin: 0; padding: 0; }
.bottom-contact-list li, .bottom-nav-list li { margin-bottom: 10px; }
.bottom a, .bottom button.footer-link-btn {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.4px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.bottom a:hover, .bottom button.footer-link-btn:hover { color: var(--fg-cyan); }
.bottom-copy {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--fg-footer-div);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Print */
@media print {
  body { background: #ffffff; color: #000000; }
  .top, .bottom, .search-sidebar, .flights_filter_form, .btn, .btn-primary, .btn-accent, .btn-outline, dialog, .no-print, .mobile-drawer, .carousel-controls {
    display: none !important;
  }
  .fg-card, .flight_item, .checkout_total_price {
    box-shadow: none !important;
    border-color: #cccccc !important;
    break-inside: avoid;
  }
  a { color: #000000; text-decoration: none; }
}
