/* Base setup */
html {
  scrollbar-gutter: stable;
}

input, select, textarea {
  font-size: 16px;
}

:root {
  --main-blue: #605bff;
  --main-blue-hover: #4b46e5;
  --main-price: #225184;
  --main-button: #d91c5c; 
  --main-button-hover: #ac1649;
  --main-light-blue: rgba(96, 91, 255, 0.14);
  --text-dark: #101828;
  --muted: #475467;
  --muted-soft: #667085;
  --light-gray: #f5f6ff;
  --light-gray-darker: #d9ddf5;
  --grey-dot: #94a3b8;
  --date-diff-red: #ef4f5f;
  --w-od: 452px;
  --w-date: 276px;
  --w-travelers: 252px;
  --w-search: 112px;
  --gap: 16px;
  --stack-gap: 14px;
  --calendar-month-width: 320px;
  --field-height: 48px;
  --od-mobile-gap: 30px;
  --surface: #ffffff;
  --surface-muted: #f1f2ff;
  --surface-soft: #f8f9ff;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(99, 102, 241, 0.26);
  --shadow-soft: 0 24px 48px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 26px 60px rgba(96, 91, 255, 0.15);
  --shadow-strong: 0 32px 78px rgba(15, 23, 42, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

html, body {
  min-height: 100%;
  margin: 0;
  font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
  background: linear-gradient(180deg, var(--surface-soft) 0%, #fff 32%, var(--surface-soft) 100%);
  color: var(--text-dark);
}

body {
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
}

body::-webkit-scrollbar {
  width: 5px; /* Width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: rgba(96, 91, 255, 0.08); /* Color of the scrollbar track */
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.35); /* Color of the scrollbar handle */
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.5); /* Color of the scrollbar handle on hover */
}

/* Header */
.navbar {
  padding: 2rem 0;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .logo {
  height:40px;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--text-dark);
  transform: translateY(-1px);
}

.nav-divider {
  display: inline-block;
  width: 1px;
  height: 26px;
  background-color: rgba(15, 23, 42, 0.12);
  margin: 0 14px;
  align-self: center;
}

.header-shadow {
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  height: 0.5em;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0));
  opacity: 1;
}

/* Mobile navigation */
.hamburger-btn {
  display: none;
  width: 30px;
  height: 22px;
  background: transparent;
  border: 0;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.hamburger-btn:hover {
  transform: translateY(-1px);
}

.hamburger-btn:focus {
  outline: none;
  box-shadow: none;
}

.hamburger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.active .bar.top {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-btn.active .bar.middle {
  opacity: 0;
}

.hamburger-btn.active .bar.bottom {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px);
  box-shadow: -12px 0 42px rgba(15, 23, 42, 0.32);
  z-index: 9999;
  padding: 20px 20px 24px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.open {
  right: 0;
}

.mobile-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  padding: 10px 0;
}

.mobile-sidebar .nav-link:hover {
  color: #fff;
}

.sidebar-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.sidebar-close:focus {
  outline: none;
  box-shadow: none;
}

.x-line {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 17px;
  height: 2px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 2px;
}

.x-line.x1 {
  transform: rotate(45deg);
}

.x-line.x2 {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(120% 120% at 50% -20%, rgba(96, 91, 255, 0.18) 0%, rgba(255, 255, 255, 0) 54%) var(--surface);
}

.hero h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 16px;
  color: var(--muted-soft);
  margin: 16px auto 64px;
  max-width: 540px;
  line-height: 1.7;
}

.aligned-wrap {
  width: 100%;
  margin: 0 auto;
}

.trip-type {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 14px;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-dark);
  font-weight: 500;
  user-select: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(96, 91, 255, 0.06);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.radio-option:hover {
  background: rgba(96, 91, 255, 0.12);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(96, 91, 255, 0.4);
  border-radius: 50%;
  background: #fff;
  position: relative;
  outline: none;
  box-shadow: none;
}

.radio-option input[type="radio"]:hover {
  border-color: rgba(96, 91, 255, 0.6);
}

.radio-option input[type="radio"]:checked {
  border-color: var(--main-blue);
}

.radio-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--main-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.search-form {
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 60;
}

.form-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--stack-gap);
}

@media (max-width: 767.98px) {
  .search-form {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 575.98px) {
  .search-form {
    padding: 20px 16px;
  }
}

.od-group {
  position: relative;
}

.od-group .departure,
.od-group .destination {
  width: 100%;
}

.od-group .departure {
  margin-bottom: var(--stack-gap);
}

.od-group .destination {
  margin-top: var(--od-mobile-gap);
}

.od-group .switch-btn {
  position: absolute;
  left: 50%;
  top: var(--switch-offset-dynamic, calc(var(--field-height) + (var(--od-mobile-gap) / 2)));
  transform: translate(-50%, -50%);
  z-index: 420;
}

.dates-group {
  display: flex;
  gap: var(--stack-gap);
  margin-bottom: var(--stack-gap);
}

.dates-group .date-left,
.dates-group .date-right {
  flex: 1 1 0;
}



.input-wrapper {
  display: block;
}

.input-wrapper {
  position: relative;
  display: block;
  z-index: 1;
}

.od-group .input-wrapper:focus-within {
  z-index: 4000;
}

.input-wrapper .form-error-message {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.2;
  color: #ef4f5f;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.booking-field .form-error-message {
  display: none;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: #ef4f5f;
}

.booking-field .form-error-message.is-visible {
  display: block;
}

.od-group .input-wrapper,
.dates-group .input-wrapper {
  flex: 1 1 0;
}

.od-group .input-wrapper:first-child {
  margin-bottom: var(--stack-gap);
}

.od-group .input-wrapper:last-child {
  margin-top: 30px;
}

.form-error-message {
  text-align: left;
}

.form-error-message.is-visible {
  opacity: 1;
}

.dates-group .input-wrapper .form-error-message {
  position: static;
}

.form-control {
  height: var(--field-height);
  font-size: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0 14px;
  background-color: var(--surface);
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 6L0 0h10z' fill='%2355637a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) 50%;
  background-size: 10px 6px;
  padding-right: 40px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text-dark);
  cursor: pointer;
}

select.form-control::-ms-expand {
  display: none;
}

@media (max-width: 767.98px) {
  input,
  select,
  textarea,
  .form-control {
    font-size: 16px;
    line-height: 1.35;
  }
}

.autocomplete-wrapper {
  position: relative;
  width: 100%;
  display: block;
  z-index: 200;
}

.autocomplete-list {
  position: absolute;
  text-align:left;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 6px 0;
  z-index: 3000;
  min-width: 100%;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  width: auto;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
}

.autocomplete-list::-webkit-scrollbar {
  display: none; /* Hides the scrollbar entirely */
}

.autocomplete-list {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.autocomplete-list.is-visible {
  display: block;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  border-radius: var(--radius-md);
  margin: 5px;
  background: rgba(96, 91, 255, 0.05);
}

.autocomplete-item:hover,
.autocomplete-item.is-active {
  background: var(--main-light-blue);
  color: var(--text-dark);
  transform: translateY(-1px);
}

.autocomplete-item__label {
  flex: 1;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}

.autocomplete-item__code {
  color: var(--main-blue);
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .autocomplete-list {
    max-width: none;
  }

  .autocomplete-item__label {
    white-space: nowrap;
    word-break: normal;
  }
}

.form-control:focus,
.form-control:focus-visible {
  outline: none;
  border-color: rgba(96, 91, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(96, 91, 255, 0.14);
}

.btn-primary-custom:focus-visible,
.switch-btn:focus,
.dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
  border-color: rgba(15, 23, 42, 0.12);
}

.form-control:disabled {
  background: rgba(96, 91, 255, 0.05);
  color: rgba(15, 23, 42, 0.45);
  border-color: rgba(15, 23, 42, 0.08);
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary-custom {
  background: var(--main-button); /*linear-gradient(135deg, var(--main-blue) 0%, #7a83ff 45%, #4b46e5 100%);*/
  color: #fff;
  border: none;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
  background: var(--main-button-hover); /*linear-gradient(135deg, #7a83ff 0%, var(--main-blue-hover) 100%);*/
  color: #fff;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.btn-primary-custom:active,
.btn-primary-custom:focus:active,
.btn-primary-custom:active:focus {
  background: var(--main-button-hover); /*linear-gradient(135deg, var(--main-blue-hover) 0%, var(--main-blue) 100%) !important;*/
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18) !important;
  opacity: 1 !important;
  transform: translateY(1px) !important;
  filter: none !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.switch-btn {
  width: 40px;
  height: 40px;
  background:var(--main-button); /*linear-gradient(135deg, var(--main-blue) 0%, #7a83ff 100%);*/
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  z-index: 3;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  pointer-events: auto;
}

.switch-btn:hover {
  background: var(--main-button-hover); /*linear-gradient(135deg, #7a83ff 0%, var(--main-blue-hover) 100%);*/
  box-shadow: var(--shadow-medium);
}

/* Traveler selector */
.traveler-group {
  position: relative;
  width: 100%;
}

.traveler-field {
  position: relative;
}

.traveler-input {
  cursor: pointer;
  font-weight: 400;
  color: var(--text-dark);
  padding-right: 14px;
  user-select: none;
}

.traveler-input::selection {
  background: transparent;
}

.traveler-group.is-open .traveler-input {
  border-color: rgba(69, 112, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(69, 112, 241, 0.12);
}

.traveler-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: clamp(300px, 100%, 360px);
  padding: 22px 24px 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(27, 40, 101, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 12;
}

.traveler-group.is-open .traveler-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.traveler-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.traveler-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  align-items: flex-start;
  text-align: left;
}

.traveler-type {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
}

.traveler-age {
  font-size: 13px;
  color: var(--muted-soft);
}

.traveler-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-dark);
}

.counter-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-blue);
  color: #fff;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.counter-btn:not(:disabled):hover,
.counter-btn:not(:disabled):focus-visible {
  background: var(--main-blue-hover);
}

.counter-btn:disabled {
  background: rgba(96, 91, 255, 0.12);
  color: var(--main-blue);
  cursor: default;
}

.counter-value {
  min-width: 20px;
  text-align: center;
  font-size: 17px;
}

.traveler-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: -4px 0 4px;
}

.traveler-cabin {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: none;
}

.cabin-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
}

.cabin-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(96, 91, 255, 0.4);
  border-radius: 50%;
  background: #fff;
  position: relative;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}

.cabin-option input[type="radio"]:hover {
  border-color: rgba(96, 91, 255, 0.6);
}

.cabin-option input[type="radio"]:checked {
  border-color: var(--main-blue);
}

.cabin-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--main-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cabin-option span {
  line-height: 1.3;
}

.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;
}

/* Features */
.features {
  background: linear-gradient(180deg, rgba(96, 91, 255, 0.08) 0%, rgba(255, 255, 255, 0.98) 60%, var(--surface) 100%);
  padding: 96px 0;
  flex-grow: 1;
}

.features h3 {
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.features h4 {
  text-align: center;
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.feature-box {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.feature-box i {
  font-size: 42px;
  margin-bottom: 24px;
  color: var(--main-blue);
}

.feature-title {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--muted-soft);
  font-size: 15px;
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #0f172a 0%, #111c35 100%);
  color: #e0e7ff;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 320px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(96, 91, 255, 0.35) 0%, rgba(17, 23, 42, 0) 100%);
  pointer-events: none;
}

.footer-top {
  padding-bottom: 48px;
  position: relative;
}

.footer-links a {
  display: block;
  color: rgba(224, 231, 255, 0.78);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.social-icons a {
  color: #fff;
  margin-left: 15px;
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: rgba(196, 203, 255, 0.9);
}

.footer-bottom {
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: rgba(224, 231, 255, 0.68);
  letter-spacing: 0.02em;
}

/* Responsive */
@media (min-width: 1182px) {
  .aligned-wrap {
    width: 1140px;
  }

  .form-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
    flex-wrap: nowrap;
    width: 100%;
  }

  .od-group {
    width: var(--w-od);
    display: flex;
    align-items: center;
    gap: 0;
  }

  .od-group .input-wrapper:first-child {
    margin-bottom: 0;
  }

  .od-group .input-wrapper:last-child {
    margin-top: 0;
  }

  .od-group .input-wrapper,
  .dates-group .input-wrapper {
    flex: 0 0 auto;
  }

  .od-group .departure {
    margin-bottom: 0;
  }

  .od-group .destination {
    margin-top: 0;
  }

  .od-group .form-control {
    width: 206px;
  }

  .od-group .switch-btn {
    position: static;
    transform: none;
    margin: 0 -2px;
  }

  .dates-group {
    width: var(--w-date);
    gap: 0;
    margin-bottom: 0;
  }

  .dates-group .date-left {
    width: 138px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
  }

  .dates-group .date-right {
    width: 138px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid #ccc;
  }

  .input-wrapper {
    position: relative;
  }

  .input-wrapper .form-error-message {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    margin: 0;
  }

  .dates-group .input-wrapper .form-error-message {
    top: calc(100% + 6px);
  }

  .traveler-group {
    width: var(--w-travelers);
  }

.search-group {
  width: var(--w-search);
}
}


.form-control.is-disabled {
  background: rgba(96, 91, 255, 0.05);
  color: rgba(15, 23, 42, 0.45);
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(15, 23, 42, 0.12);
  opacity: 0.4;
}

.form-control.is-disabled::placeholder {
  color: rgba(15, 23, 42, 0.35);
}

.form-control.is-disabled + .calendar-toggle {
  display: none;
}
/* Date picker styling */
.vanilla-calendar {
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  font-family: "Poppins", Verdana, Geneva, Tahoma, sans-serif;
  color: var(--text-dark);
  overflow: hidden;
}

.vanilla-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.vanilla-calendar-header__content {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 16px;
}

.vanilla-calendar-nav__btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vanilla-calendar-nav__btn:hover {
  background: rgba(96, 91, 255, 0.12);
  border-color: transparent;
}

.vanilla-calendar-months {
  display: flex;
  gap: 24px;
  padding: 10px 0 0;
}

.vanilla-calendar-month {
  width: var(--calendar-month-width);
}

.vanilla-calendar-month__title {
  text-align: center;
  font-weight: 500;
  margin-bottom: 15px;
}

.vanilla-calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 6px;
}

.vanilla-calendar-week span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vanilla-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.vanilla-calendar-day__btn {
  height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background: transparent;
  border: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vanilla-calendar-day__btn:hover,
.vanilla-calendar-day__btn:focus-visible {
  background: var(--light-gray);
  color: var(--text-dark);
}

.vanilla-calendar-day__btn_start,
.vanilla-calendar-day__btn_end,
.vanilla-calendar-day__btn_selected {
  background: var(--main-blue);
  color: #fff;
}

.vanilla-calendar-day__btn_range {
  background: var(--main-light-blue);
  color: var(--text-dark);
}

.vanilla-calendar-day__btn_today:not(.vanilla-calendar-day__btn_start):not(.vanilla-calendar-day__btn_end) {
  border: 1px solid var(--main-blue);
}

.vanilla-calendar-day__btn_disabled {
  color: rgba(15, 23, 42, 0.35);
  background: transparent;
}

@media (max-width: 767.98px) {
  .vanilla-calendar-months {
    flex-direction: column;
    gap: 16px;
  }

  .vanilla-calendar-month {
    width: 100%;
  }

  .vanilla-calendar-days {
    gap: 6px;
  }

  .vanilla-calendar-day__btn {
    height: 40px;
  }
}

.vanilla-calendar {
  --vc-bg-primary: #fff;
  --vc-text-color: var(--text-dark);
  --vc-accent: var(--main-blue);
  --vc-accent-contrast: #fff;
  --vc-border-radius: 12px;
  --vc-font-family: "Poppins", Verdana, Geneva, Tahoma, sans-serif;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.vanilla-calendar {
  width: auto;
}

.vanilla-calendar .vanilla-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 18px 5px;
}

.vanilla-calendar .vanilla-calendar-header__content {
  display: flex;
  gap: 24px;
}

.vanilla-calendar .vanilla-calendar-month {
  width: var(--calendar-month-width);
}

.vanilla-calendar .vanilla-calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 0 18px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 6px;
}

.vanilla-calendar .vanilla-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 0 18px 18px;
}

.vanilla-calendar .vanilla-calendar-day__btn {
  height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vanilla-calendar .vanilla-calendar-day__btn:hover,
.vanilla-calendar .vanilla-calendar-day__btn:focus-visible {
  background: var(--light-gray);
  color: var(--text-dark);
}

.vanilla-calendar .vanilla-calendar-day__btn_today {
  border: 1px solid var(--main-blue);
}

.vanilla-calendar .vanilla-calendar-day__btn_selected,
.vanilla-calendar .vanilla-calendar-day__btn_start,
.vanilla-calendar .vanilla-calendar-day__btn_end {
  background: var(--main-blue);
  color: #fff;
}

.vanilla-calendar .vanilla-calendar-day__btn_range {
  background: var(--main-light-blue);
  color: var(--text-dark);
}

.vanilla-calendar .vanilla-calendar-day__btn_disabled {
  color: rgba(15, 23, 42, 0.35);
}

@media (max-width: 767.98px) {
  :root {
    --calendar-month-width: 100%;
  }

  .vanilla-calendar {
    width: calc(100vw - 32px);
    max-width: 100%;
    left: 16px !important;
    right: 16px;
  }

  .vanilla-calendar .vanilla-calendar-header__content {
    flex-direction: column;
    gap: 16px;
  }

  .vanilla-calendar .vanilla-calendar-month {
    width: 100%;
  }

  .vanilla-calendar .vanilla-calendar-days {
    gap: 6px;
    padding: 0 16px 16px;
  }

  .vanilla-calendar .vanilla-calendar-day__btn {
    height: 40px;
  }
}

@media (max-width: 1182px) {
  .hamburger-btn {
    display: flex;
  }

  html,
  body {
    overflow-x: hidden;
  }

  html,
  body,
  .mobile-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  .mobile-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .mobile-sidebar {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 575.98px) {
  .footer-social {
    display: inline-block;
    text-align: right;
    margin-left: auto;
    margin-top: 16px;
  }

  .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .social-icons a {
    margin: 0;
  }
}
.dates-group {
  position: relative;
}

.dates-group .input-wrapper {
  position: relative;
}

.dates-group .input-wrapper .form-error-message {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  margin: 0;
}
:root {
  --loader-bg: linear-gradient(180deg, rgba(248, 249, 255, 0.85) 0%, rgba(255, 255, 255, 0.95) 100%);
  --loader-text: #101828;
  --loader-muted: #667085;
  --loader-spinner-size: 90px;
  --loader-spinner-stroke: 9px;
}

.flight-loader {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: var(--loader-bg);
  z-index: 9999;
  padding: 24px;
  text-align: center;
  color: var(--loader-text);
  font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
  backdrop-filter: blur(12px);
}

.flight-loader.is-visible {
  display: grid;
}

.flight-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.flight-loader__title {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
}

.flight-loader__segment {
  color: var(--loader-text);
  font-size: 18px;
  font-weight: 600;
}

.flight-loader__segment span {
  color: var(--muted-soft);
  font-weight: 500;
}

.flight-loader__arrow {
  font-size: 18px;
}

.flight-loader__divider {
  color: rgba(16, 24, 40, 0.32);
}

.flight-loader__spinner {
  width: var(--loader-spinner-size);
  height: var(--loader-spinner-size);
  display: grid;
  place-items: center;
}

.flight-loader__spinner-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: var(--loader-spinner-stroke) solid rgba(96, 91, 255, 0.12);
  border-top-color: var(--main-blue);
  animation: flight-loader-spin 1.2s linear infinite;
}

@keyframes flight-loader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.flight-loader__status {
  display: flex;
  flex-direction: column;
  max-width: 520px;
}

.flight-loader__status-line--muted {
  color: var(--loader-muted);
  font-weight: 400;
  font-size: 16px;
}

@media (max-width: 575.98px) {
  .flight-loader__title {
    font-size: 22px;
  }
}
:root {
  --alert-bg: linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 255, 0.9) 100%);
  --alert-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
  --alert-indicator: #ff5976;
  --alert-text: #101828;
}

.flight-alert {
  position: fixed;
  top: 32px;
  right: 32px;
  display: none;
  align-items: center;
  gap: 22px;
  max-width: 500px;
  background: var(--alert-bg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--alert-shadow);
  padding: 20px 46px 20px 28px;
  color: var(--alert-text);
  font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
  z-index: 9998;
  overflow: hidden;
}

.flight-alert.is-visible {
  display: flex;
}

.flight-alert__indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(180deg, #ff7a95 0%, #ff5976 100%);
}

.flight-alert__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff5976;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.flight-alert__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--alert-text);
}

.flight-alert__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width:32px;
  height:32px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: rgba(16, 24, 40, 0.6);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.flight-alert__close:hover {
  color: rgba(16, 24, 40, 0.85);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.flight-alert--success {
  border-color: 1px solid rgba(18, 183, 106, 0.24);
}

.flight-alert--success .flight-alert__indicator {
  background: linear-gradient(180deg, #58e2a0 0%, #12b76a 100%);
}

.flight-alert--success .flight-alert__icon {
  background: #12b76a;
}

.success-tag {
  align-self: flex-start;
  background: rgba(18, 183, 106, 0.24);
  color: #58e2a0 0%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.failure-tag {
  align-self: flex-start;
  background: rgba(249, 115, 22, 0.14);
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* Contact Page */
.contact-hero {
  background: radial-gradient(120% 140% at 50% 10%, rgba(96, 91, 255, 0.18) 0%, rgba(248, 249, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
  padding: 72px 0 56px;
}

.contact-hero__title {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.contact-hero__subtitle {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 18px;
  color: var(--muted-soft);
  max-width: 620px;
  line-height: 1.7;
}

.contact-page {
  background-color: var(--surface-soft);
  padding: 72px 0 104px;
}

.contact-page__content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-page__map {
  flex: 1 1 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  height: 360px;
}

.contact-page__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-page__column {
  flex: 1 1 320px;
}

.contact-page__column--info {
  max-width: 420px;
}

.contact-info__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-info__description {
  color: var(--muted-soft);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-info__group + .contact-info__group {
  margin-top: 32px;
}

.contact-info__group-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-info__address {
  display: grid;
  gap: 4px;
  font-style: normal;
  color: var(--muted-soft);
}

.contact-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.contact-info__list-item {
  color: var(--muted-soft);
}

.contact-info__list-label {
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.contact-info__link {
  color: var(--main-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-info__link:hover {
  color: var(--main-blue-hover);
  text-decoration: underline;
}

.contact-info__hours {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-info__hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-soft);
}

.contact-info__hours-row dt {
  font-weight: 500;
  color: var(--text-dark);
}

.contact-info__hours-row dd {
  margin: 0;
}

.contact-form {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 255, 0.9) 100%);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-form__group + .contact-form__group {
  margin-top: 24px;
}

.contact-form__label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: rgba(96, 91, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(96, 91, 255, 0.16);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form__actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
}

.contact-form__submit {
  background: var(--main-button); /*linear-gradient(135deg, var(--main-blue) 0%, #7a83ff 100%);*/
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 38px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--main-button-hover); /*linear-gradient(135deg, #7a83ff 0%, var(--main-blue-hover) 100%);*/
}

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100% - 32px));
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 28px 32px 24px;
  display: grid;
  gap: 18px;
  z-index: 1060;
  animation: cookie-fade-in 0.3s ease;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cookie-consent__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.cookie-consent__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.cookie-consent__description {
  margin: 0;
  color: var(--muted-soft);
  line-height: 1.6;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cookie-consent__link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent__link:hover {
  text-decoration: underline;
}

.cookie-consent__button {
  border: none;
  background: var(--main-button);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-consent__button:hover {
  background: var(--main-button-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

@keyframes cookie-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .cookie-consent {
    padding: 24px;
    gap: 16px;
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__button {
    width: 100%;
    text-align: center;
  }
}

.contact-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.contact-form .form-error-message {
  color: #ef4f5f;
  font-size: 13px;
  margin-top: 6px;
}

/* Info Page */
.info-hero {
  background: radial-gradient(120% 140% at 50% 10%, rgba(96, 91, 255, 0.16) 0%, rgba(248, 249, 255, 0.88) 38%, rgba(255, 255, 255, 0) 100%);
  padding: 72px 0 48px;
}

.info-hero__inner,
.info-page__inner {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.info-hero__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.info-page {
  background: var(--surface-soft);
  padding: 72px 0 96px;
}

.info-page__inner {
  display: flex;
  justify-content: center;
}

.info-page__content {
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 48px 56px;
}

.info-page__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.info-page__body > *:first-child {
  margin-top: 0;
}

.info-page__body p {
  margin: 0 0 18px;
}

.info-page__body p:last-child {
  margin-bottom: 0;
}

.info-page__body a {
  color: var(--main-blue);
  text-decoration: none;
  font-weight: 500;
}

.info-page__body a:hover {
  color: var(--main-blue-hover);
  text-decoration: underline;
}

.info-page__body h2,
.info-page__body h3,
.info-page__body h4 {
  color: var(--text-dark);
  margin: 32px 0 16px;
  font-weight: 600;
}

.info-page__body ul,
.info-page__body ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.info-page__body li + li {
  margin-top: 8px;
}

@media (max-width: 991.98px) {
  .info-page__content {
    padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .info-hero {
    padding: 56px 0 40px;
  }

  .info-hero__title {
    font-size: 30px;
  }

  .info-page {
    padding: 56px 0 80px;
  }

  .info-page__content {
    padding: 32px 28px;
  }
}

@media (max-width: 575.98px) {
  .info-hero__title {
    font-size: 26px;
  }

  .info-page__content {
    padding: 26px 22px;
  }
}

@media (max-width: 991.98px) {
  .contact-page__content {
    gap: 36px;
    padding: 36px;
  }

  .contact-page__column--info {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 56px 0 40px;
  }

  .contact-hero__title {
    font-size: 30px;
  }

  .contact-page {
    padding: 56px 0 80px;
  }

  .contact-page__content {
    padding: 28px;
  }

  .contact-page__map {
    height: 300px;
  }

  .contact-form {
    padding: 28px;
  }

  .contact-page__column {
    flex: 1 1 100%;
  }
}

@media (max-width: 575.98px) {
  .contact-hero__title {
    font-size: 26px;
  }

  .contact-page__content {
    padding: 22px;
    gap: 28px;
  }

  .contact-page__map {
    height: 240px;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 575.98px) {
  .flight-alert {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}

/* Search Results */
.results-page {
  background-color: var(--light-gray);
  padding: 48px 0 80px;
}

.results-page__hero {
  width: min(1140px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 50;
}

.results-page__hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.results-page__search {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 46px rgba(91, 107, 138, 0.14);
  padding: 28px 32px;
  position: relative;
  z-index: 70;
}

.results-page__search--desktop {
  display: block;
}

.results-search-accordion {
  display: none;
  margin-top: 16px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 46px rgba(91, 107, 138, 0.14);
}

.results-search-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border:1px solid var(--light-gray);
  border-radius:6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
}

.results-search-accordion__summary::-webkit-details-marker {
  display: none;
}

.results-search-accordion__icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.results-search-accordion[open] .results-search-accordion__icon {
  transform: rotate(-135deg);
}

.results-search-accordion__content {
  padding: 0 20px 20px;
}

.header-search-bar {
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(91, 107, 138, 0.08);
  padding: 20px 0;
}

.header-search-bar__inner {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.results-page__search--header {
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.results-page__search--header .results-search-widget {
  max-width: 1140px;
  margin: 20px auto 0 auto;
}

.results-search-widget {
  display: row;
  flex-direction: column;
  gap: 18px;
}

.results-search-widget .trip-type {
  margin: 60px 0 18px 0;
  justify-content: flex-start;
  width: 100%;
}

.results-page__search .form-bar {
  gap: var(--gap);
}

.results-filters {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 36px rgba(91, 107, 138, 0.12);
  padding: 20px 28px;
}

.results-filters__holder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.results-filters__label {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  margin-right: 12px;
}

.results-filters__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.results-filters__control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.results-filters__select {
  min-width: 160px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0 16px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.filter-dropdown {
  position: relative;
  min-width: 180px;
}

.filter-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.filter-dropdown__trigger:focus,
.filter-dropdown__trigger:focus-visible {
  border-color: rgba(96, 91, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(96, 91, 255, 0.18);
  outline: none;
}

.filter-dropdown__trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.filter-dropdown__trigger-text {
  flex: 1;
  text-align: left;
  font-weight: 500;
}

.filter-dropdown__summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-soft);
}

.filter-dropdown__icon {
  flex-shrink: 0;
  width: 10px;
  height: 6px;
  position: relative;
  transition: transform 0.2s ease;
}

.filter-dropdown__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(15, 23, 42, 0.55);
}

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

.filter-dropdown__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 12;
  width: clamp(280px, 100%, 320px);
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.filter-dropdown__panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.filter-dropdown__section {
  border: 0;
  margin: 0;
  padding: 0;
}

.filter-dropdown__section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.filter-dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: background 0.2s ease, transform 0.2s ease;
  background: rgba(96, 91, 255, 0.04);
}

.filter-dropdown__option:last-child {
  margin-bottom: 0;
}

.filter-dropdown__option:hover {
  background: rgba(96, 91, 255, 0.12);
  transform: translateY(-1px);
}

.filter-dropdown__checkbox {
  width: 16px;
  height: 16px;
}

.filter-dropdown__option-label {
  font-size: 14px;
  color: var(--text-dark);
}


.flight-card.flight-card--hidden,
.flight-card.flight-card--pagination-hidden {
  display: none;
}

.results-filters__reset {
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(96, 91, 255, 0.08);
  color: var(--main-blue);
  font-size: 14px;
  padding: 0 20px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.results-filters__reset:hover {
  background: rgba(96, 91, 255, 0.16);
  color: var(--main-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(96, 91, 255, 0.15);
}

.results-content {
  width: min(1140px, 92%);
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flight-card {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, #f9f9ff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.flight-card:hover {
  box-shadow: var(--shadow-medium);
}

.flight-card__body {
  border-right: 1px dashed rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.flight-card__segment {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  padding: 24px 28px;
}

.flight-card__segment + .flight-card__segment {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.flight-card__carrier {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.flight-card__logo {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(96, 91, 255, 0.12) 0%, rgba(96, 91, 255, 0.32) 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--main-blue-hover);
  font-size: 16px;
  box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.12);
}

.flight-card__airline {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.flight-card__slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-dark);
}

.flight-card__slot--baggage {
  flex-direction: row;
  align-items: center;
  justify-self: flex-start;
  margin-left: 50px;
  margin-top: 30px;
}

.flight-card__slot--departure {
  text-align: left;
  align-items: flex-start;
}

.flight-card__slot--arrival {
  text-align: right;
  align-items: flex-end;
}

.flight-card__timestamp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 22px;
  color: var(--text-dark);
}

.flight-card__slot--arrival .flight-card__timestamp {
  justify-content: flex-end;
}

.flight-card__date {
  font-weight: 500;
  font-size: 13px;
  color: var(--muted-soft);
}

.date-diff {
  color: var(--date-diff-red);
}

.flight-card__location {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark);
}

.flight-card__timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-soft);
}

.flight-card__line {
  width: 180px;
  height: 2px;
  background: rgba(15, 23, 42, 0.12);
  position: relative;
  border-radius: 99px;
}

.flight-card__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--main-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.flight-card__line::before,
.flight-card__line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--grey-dot);
  border-radius: 50%;
  transform: translateY(-50%);
}

.flight-card__line::before {
  left: 0;
}

.flight-card__line::after {
  right: 0;
}

.flight-card__line--double-dot .flight-card__dot:first-child {
  left: calc(50% - 10px);
}

.flight-card__line--double-dot .flight-card__dot:last-child {
  left: calc(50% + 10px);
}

.flight-card__line--triple-dot .flight-card__dot:nth-child(1) {
  left: calc(50% - 20px);
}

.flight-card__line--triple-dot .flight-card__dot:nth-child(3) {
  left: calc(50% + 20px);
}

.flight-card__meta {
  font-weight: 500;
  color: var(--muted-soft);
}


.flight-card__extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.flight-card__extras-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flight-card__extras-group--duration {
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
}

.flight-card__details {
  align-self: center;
  margin: 6px 0 12px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--main-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.flight-card__details:focus {
  outline: none;
}

.flight-card__details:hover,
.flight-card__details:focus-visible {
  color: var(--main-price);
  text-decoration: underline;
  text-decoration-color: var(--main-blue-hover);
}

.flight-details-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
  min-height: 100vh;
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  overflow-y: auto;
  transition: opacity 0.25s ease;
}

.flight-details-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.flight-details-modal__backdrop {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, 0.68);
}

.flight-details-modal__dialog {
  position: relative;
  width: min(900px, 96%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 249, 255, 0.92) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  margin: 0 auto;
}

.flight-details-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 44px 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  background: linear-gradient(90deg, rgba(96, 91, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
}

.flight-details-modal__route {
  margin: 0; 
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.flight-details-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  border: 1px solid rgba(96, 91, 255, 0.32);
  padding: 0;
  background: rgba(96, 91, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.flight-details-modal__close::before,
.flight-details-modal__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--main-blue);
  transform-origin: center;
}

.flight-details-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.flight-details-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.flight-details-modal__close:hover::before,
.flight-details-modal__close:hover::after,
.flight-details-modal__close:focus-visible::before,
.flight-details-modal__close:focus-visible::after {
  background: var(--main-blue-hover);
}

.flight-details-modal__close:hover,
.flight-details-modal__close:focus-visible {
  background: rgba(96, 91, 255, 0.18);
  border-color: rgba(96, 91, 255, 0.45);
  transform: translateY(-1px);
}

.flight-details-modal__body {
  padding: 28px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.flight-details-modal__segment {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.flight-details-modal__segment-header {
  background: rgba(96, 91, 255, 0.12); /*linear-gradient(90deg, rgba(96, 91, 255, 0.12) 0%, rgba(255, 255, 255, 0) 75%);*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.flight-details-modal__segment-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.flight-details-modal__segment-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
}

.flight-details-modal__segment-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-dark);
}

.flight-details-modal__legs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 28px 28px;
}

.flight-details-modal__leg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: center;
}

.flight-details-modal__time-group {
  display: grid;
  gap: 6px;
}

.flight-details-modal__time-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.flight-details-modal__time {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.flight-details-modal__date {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.flight-details-modal__airport {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.flight-details-modal__airport-sub {
  font-size: 13px;
  color: var(--muted);
}

.flight-details-modal__timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}

.flight-details-modal__duration {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.flight-details-modal__timeline-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(15, 23, 42, 0.12);
  border-radius: 99px;
}

.flight-details-modal__timeline-line::before,
.flight-details-modal__timeline-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey-dot);
  transform: translateY(-50%);
}

.flight-details-modal__timeline-line::before {
  left: 0;
}

.flight-details-modal__timeline-line::after {
  right: 0;
}

.flight-details-modal__airline {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.flight-details-modal__logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(96, 91, 255, 0.4);
  background: rgba(96, 91, 255, 0.12);
  font-size: 14px;
  font-weight: 700;
  color: var(--main-blue-hover);
}

.flight-details-modal__logo--square {
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff8f70 0%, #ff4d67 100%);
  color: #fff;
  font-size: 18px;
}

.flight-details-modal__airline-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.flight-details-modal__flight-code {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.flight-details-modal__airline-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.flight-details-modal__layover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  background: rgba(96, 91, 255, 0.06);
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
}

.flight-details-modal__notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.flight-details-modal__note {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flight-details-modal__note::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(96, 91, 255, 0.35);
  background: linear-gradient(130deg, rgba(96, 91, 255, 0.12) 0%, rgba(96, 91, 255, 0.06) 100%);
  flex-shrink: 0;
}

.flight-details-modal__note--carry::before {
  border-color: rgba(96, 91, 255, 0.2);
  background: linear-gradient(130deg, rgba(96, 91, 255, 0.08) 0%, rgba(96, 91, 255, 0.04) 100%);
}

.flight-details-modal__footnote {
  font-size: 13px;
  color: var(--muted);
}

.flight-details-modal__body::-webkit-scrollbar {
  width: 8px;
}

.flight-details-modal__body::-webkit-scrollbar-thumb {
  background: rgba(116, 128, 156, 0.32);
  border-radius: 4px;
}

.flight-details-modal__body::-webkit-scrollbar-track {
  background: rgba(116, 128, 156, 0.12);
}

.flight-card__icon {
  font-size: 18px;
  color: rgba(15, 23, 42, 0.45);
}

.flight-card__duration-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.flight-card__fare {
  border-left: 1px dashed rgba(15, 23, 42, 0.08);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  position: relative;
  z-index: 0;
}

.flight-card__price-meta {
  font-size: 12px;
  color: var(--muted-soft);
  letter-spacing: 0.04em;
}

.flight-card__price-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--main-price);
  white-space: nowrap;
}

.flight-card__cta {
  width: 160px;
}

.results-load-more {
  margin: 24px auto 0;
  width: 100%;
}

.results-load-more__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.results-load-more__button[hidden] {
  display: none;
}

@media (max-width: 1199.98px) {
  .flight-card {
    grid-template-columns: 1fr;
  }

  .flight-card__body {
    border-right: none;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
  }

  .flight-card__fare {
    border-left: none;
    border-top: none;
    padding: 20px;
  }

  .flight-card__segment {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "departure timeline arrival"
      "carrier timeline arrival"
      "carrier baggage arrival";
    gap: 16px 20px;
    padding: 24px 20px;
    text-align: left;
  }

  .flight-card__slot--departure {
    grid-area: departure;
  }

  .flight-card__carrier {
    grid-area: carrier;
    align-items: flex-start;
  }

  .flight-card__timeline {
    grid-area: timeline;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .flight-card__slot--baggage {
    grid-area: baggage;
    justify-content: center;
    justify-self: center;
    margin: 0;
  }

  .flight-card__slot--arrival {
    grid-area: arrival;
    align-items: flex-end;
    text-align: right;
  }

  .flight-card__line {
    width: 140px;
  }

  .flight-card__extras {
    justify-content: center;
  }

  .flight-card__fare {
    align-items: center;
  }

.flight-card__extras-group--duration {
  align-items: center;
}

@media (max-width: 767.98px) {
  .header-search-bar__inner,
  .results-page__hero {
    width: min(560px, 94%);
  }

  .results-page__hero-inner {
    gap: 16px;
  }

  .results-page__search {
    padding: 20px;
  }

  .results-filters {
    padding: 18px;
  }

  .results-filters__holder {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .results-filters__control,
  .results-filters__controls,
  .results-filters__select,
  .results-filters__reset {
    width: 100%;
  }

  .results-filters__control {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .results-filters__select {
    justify-content: space-between;
  }

  .flight-card {
    border-radius: var(--radius-md);
  }

  .flight-card__segment,
  .flight-card__fare {
    padding: 20px;
  }

  .flight-card__fare {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }
}

  .flight-card__details {
    margin: 16px auto 8px;
  }
}

@media (max-width: 767.98px) {
  .flight-details-modal {
    padding: 32px 12px;
  }

  .flight-details-modal__dialog {
    margin: 16px auto;
  }

  .flight-details-modal__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 24px 20px;
  }

  .flight-details-modal__close {
    top: 18px;
    right: 18px;
  }

  .flight-details-modal__body {
    padding: 20px 24px 28px;
  }

  .flight-details-modal__segment-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 22px;
  }

  .flight-details-modal__legs {
    padding: 20px 22px 24px;
  }

  .flight-details-modal__leg {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 16px;
    align-items: stretch;
    text-align: left;
  }

  .flight-details-modal__time-group:first-of-type {
    grid-column: 1;
    grid-row: 1;
    justify-items: start;
    text-align: left;
  }

  .flight-details-modal__timeline {
    grid-column: 1;
    grid-row: 2;
    justify-self: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  .flight-details-modal__time-group:last-of-type {
    grid-column: 1;
    grid-row: 3;
    justify-items: center;
    text-align: center;
  }

  .flight-details-modal__duration {
    white-space: nowrap;
    order: 2;
  }

  .flight-details-modal__timeline-line {
    width: 2px;
    height: 85px;
    margin: 0;
    order: 1;
  }

  .flight-details-modal__timeline-line::before,
  .flight-details-modal__timeline-line::after {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .flight-details-modal__timeline-line::before {
    top: 0;
  }

  .flight-details-modal__timeline-line::after {
    top: 100%;
  }

  .flight-details-modal__airline {
    grid-column: 1;
    grid-row: 4;
    justify-content: flex-start;
  }

  .flight-details-modal__airline-meta {
    text-align: left;
  }

  .flight-details-modal__layover {
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 575.98px) {
  .results-page {
    padding: 32px 0 60px;
  }

  .header-search-bar {
    padding: 16px 0;
  }

  .results-page__search--header {
    padding: 0;
  }

  .results-page__search--desktop {
    display: none;
  }

  .results-page__search {
    padding: 0;
  }

  .results-search-accordion {
    display: block;
  }

  .results-search-accordion__content {
    padding: 0 16px 16px;
  }

  .results-page__search .form-bar {
    gap: var(--gap);
  }

  .results-filters {
    padding: 16px 20px;
  }

  .results-filters__select,
  .results-filters__reset {
    min-width: 140px;
  }

  .flight-card__segment {
    padding: 20px 16px;
    gap: 14px 16px;
  }

  .flight-card__line {
    width: 110px;
  }

  .flight-card__fare {
    padding: 20px 16px;
  }

  .flight-card__extras-group--duration {
    align-items: center;
  }

  .flight-card__details {
    width: auto;
    max-width: none;
    margin: 18px auto 12px;
  }

}

/* Booking page */
.booking-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 28px 0;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.booking-header__inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-breadcrumbs__list {
  margin: 18px 0 18px 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-breadcrumbs__item {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--muted);
  gap: 8px;
}

.booking-breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.booking-breadcrumbs__link:hover,
.booking-breadcrumbs__link:focus-visible {
  color: var(--main-blue);
}

.booking-breadcrumbs__item--active span {
  color: var(--main-price);
  font-weight: 600;
}

.booking-breadcrumbs__item--muted span {
  color: rgba(15, 23, 42, 0.45);
}

.booking-breadcrumbs__separator {
  display: inline-flex;
  align-items: center;
}

.booking-breadcrumbs__separator-icon {
  width: 22px;
  height: 22px;
}

.booking-breadcrumbs__step-number {
  font-weight: 400;
}

.booking-header__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-header__subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 720px;
}

.booking-page {
  background: linear-gradient(180deg, var(--surface-soft) 0%, #fff 50%, var(--surface-soft) 100%);
  padding: 60px 0 96px;
}

.booking-page__inner {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
}

.booking-layout__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-layout__sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.booking-section {
  background: rgba(255, 255, 255, 0.98) 0%; /*linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 255, 0.92) 100%);*/
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 32px 36px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 24px;
}

.booking-section--flight-details {
  gap: 0px;
}

.booking-section--baggage {
  gap: 0;
}

.booking-section__header {
  display: grid;
  gap: 8px;
}

.booking-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-section__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.booking-section--accordion {
  padding: 0;
  overflow: hidden;
}

.booking-section__header--accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.booking-section__header--accordion::-webkit-details-marker,
.booking-section__header--accordion::marker {
  display: none;
}

.booking-section__header--accordion::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(15, 23, 42, 0.35);
  border-bottom: 2px solid rgba(15, 23, 42, 0.35);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.booking-section--accordion[open] > .booking-section__header--accordion::after {
  transform: rotate(-135deg);
}

.booking-section__body {
  display: grid;
  gap: 24px;
  padding: 0 36px 36px;
}

.booking-section__intro {
  display: grid;
  gap: 8px;
}

.booking-section__body--flights {
  grid-template-columns: 1fr;
}

.booking-accordion {
  display: grid;
  gap: 18px;
}

.booking-accordion__item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(96, 91, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.04);
}

.booking-accordion__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.85);
}

.booking-accordion__summary::-webkit-details-marker {
  display: none;
}

.booking-accordion__summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(15, 23, 42, 0.35);
  border-bottom: 2px solid rgba(15, 23, 42, 0.35);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.booking-accordion__item[open] .booking-accordion__summary::after {
  transform: rotate(-135deg);
}

.booking-accordion__summary-content {
  display: grid;
  gap: 6px;
}

.booking-accordion__summary-content--multi {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
}

.booking-accordion__summary-flight {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.booking-accordion__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--main-light-blue);
  color: var(--main-blue);
  width: fit-content;
}

.booking-accordion__route {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-accordion__duration {
  font-size: 14px;
  color: var(--muted);
}

.booking-accordion__content {
  padding: 0 30px 30px;
}

.booking-fares {
  display: grid;
  gap: 16px;
  position: relative;
}

.booking-fares__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-fares__option {
  display: grid;
  gap: 12px;
  border: 2px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95) 0%; /*linear-gradient(120deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 255, 0.88) 100%);*/
  padding: 26px 28px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.booking-fares__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-fares__title--sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 6px;
}

.booking-fares__description {
  font-size: 13px;
  color: var(--muted);
}

.booking-fares__description--scope {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  display: block;
  margin-top: 4px;
}

.booking-fares__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
}

.booking-fares__perks--separated {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.booking-fares__perks--separated > div {
  display: grid;
  gap: 8px;
}

.booking-fares__perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.booking-fares__title--sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
}

.booking-fares__perk {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-fares__perk-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.booking-fares__price {
  font-size: 20px;
  font-weight: 600;
  color: var(--main-price);
}

.booking-fares__input:checked + .booking-fares__option {
  border-color: var(--main-blue);
  box-shadow: var(--shadow-medium);
  background: rgba(255, 255, 255, 0.96) 0%; /*linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 239, 255, 0.92) 100%);*/
}

.booking-fares__input:focus-visible + .booking-fares__option {
  outline: 2px solid var(--main-blue);
  outline-offset: 4px;
}

.booking-baggage {
  display: grid;
  gap: 16px;
}

.booking-baggage__group {
  display: grid;
  gap: 16px;
}

.booking-baggage__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-baggage__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.booking-baggage__segments {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.booking-baggage__segment {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96) 0%; /*linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 255, 0.92) 100%);*/
  padding: 20px;
  display: grid;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.booking-baggage__segment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booking-baggage__route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
}

.booking-baggage__route-arrow {
  font-size: 12px;
  color: var(--muted);
}

.booking-baggage__passengers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.booking-baggage__passenger {
  display: grid;
  gap: 8px;
}

.booking-baggage__passenger-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-baggage__allowances {
  display: grid;
  gap: 10px;
}

.booking-baggage__allowance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.booking-baggage__allowance-type {
  font-weight: 600;
  color: var(--text-dark);
}

.booking-baggage__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.booking-baggage__item {
  display: grid;
  gap: 6px;
}

.booking-baggage__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-baggage__value {
  font-size: 13px;
  color: var(--muted);
}

.payment-methods {
  display: grid;
  width:100%;
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 249, 255, 0.88) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.payment-methods__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(96, 91, 255, 0.08);
  justify-content: flex-start;
}

.payment-methods__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-methods__tab {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.payment-methods__tab:last-child {
  border-right: none;
}

.payment-methods__tab:focus-visible {
  outline: 2px solid var(--main-blue);
  outline-offset: 2px;
}

.payment-methods__tab:hover:not(.payment-methods__tab--active) {
  background: rgba(255, 255, 255, 0.35);
  color: var(--text-dark);
}

.payment-methods__tab--active {
  background: var(--surface);
  color: var(--main-price);
  border-bottom-color: transparent;
  /* box-shadow: 0 6px 15px rgba(56, 54, 64, 0.12); */
}

.payment-methods__panels {
  display: grid;
  gap: 0;
}

.payment-methods__panel {
  display: none;
  gap: 12px;
  padding: 30px 36px 38px;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.65;
  background: var(--surface);
}

.payment-methods__panel p {
  margin: 0;
}

.payment-methods__panel--active {
  display: grid;
}

.payment-methods__service-fee {
  color: var(--muted);
  font-weight: 500;
}

.payment-methods__empty {
  margin: 0;
  padding: 30px 36px 38px;
  color: var(--muted);
  font-size: 14px;
  background: var(--surface);
}

.payment-section__body .payment-methods {
  justify-self: flex-start;
}


.payment-section--payment-methods .payment-section__body {
  padding-left: 0;
}

.payment-section--payment-methods{

  padding-right: 0;

}

.payment-consents {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-consents__error {
  margin: 0;
  font-size: 13px;
  color: #ef4f5f;
  display: none;
}

.payment-consents--error .payment-consents__error {
  display: block;
}

.payment-consents__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.payment-consents__item input {
  margin-top: 3px;
  flex-shrink: 0;
}

.payment-total__cta {
  margin-top: 20px;
  width: 100%;
}

.booking-section--total .booking-total__cta {
  width: 100%;
  align-self: stretch;
  margin-top: 20px;
}


.booking-form {
  display: grid;
  gap: 20px;
}

.booking-form__group {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 255, 0.9) 100%);
  display: grid;
  gap: 20px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.booking-form__legend {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form__grid--triplet {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-form__grid--buyer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
}

.booking-form__columns {
  display: grid;
  gap: 24px;
  align-items: start;
}

.booking-form__columns--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form__column {
  display: grid;
  gap: 16px;
  align-content: start;
}

.booking-field--spacer {
  visibility: hidden;
  height: var(--field-height);
}

.booking-field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.booking-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-field--compact {
  max-width: 160px;
}

.booking-form__grid--buyer .booking-field--column-right {
  grid-column: 2;
}

.booking-field--span-2,
.booking-field--note {
  grid-column: 1 / -1;
}

.booking-field--wide {
  grid-column: 1 / -1;
}

.booking-field--dob .booking-dob {
  display: grid;
  grid-template-columns: repeat(3, minmax(64px, 1fr));
  gap: 10px;
}

.booking-dob .form-control {
  text-align: center;
}

.booking-field textarea.form-control {
  min-height: 120px;
  padding-top: 12px;
  padding-bottom: 12px;
  height: auto;
  resize: vertical;
}

.booking-form__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(96, 91, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px;
  border: 1px solid rgba(96, 91, 255, 0.2);
  margin-bottom: 8px;
}

.booking-toggle {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

.booking-toggle input {
  display: none;
}

.booking-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  background: transparent;
}

.booking-toggle input:checked + span {
  background: var(--main-button);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(96, 91, 255, 0.25);
}

.booking-section--total {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.booking-total__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-total__amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--main-price);
}

.booking-total__cta {
  align-self: flex-end;
  min-width: 220px;
}

.booking-summary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 255, 0.9) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 30px 30px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 24px;
}

@media (max-width: 768px) {
  .booking-summary,
  .payment-summary {
    display: none;
  }
}

.booking-summary__section {
  display: grid;
  gap: 12px;
}

.booking-summary__section + .booking-summary__section {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 20px;
}

.booking-summary__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.booking-summary-price-group{
  margin-bottom:5px;
}

.booking-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.booking-summary__row--total {
  font-size:18px;
  font-weight: 600;
  color: var(--main-price);
}

.booking-summary__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.booking-summary__value {
  font-size: 14px;
  color: var(--text-dark);
}

.booking-summary-flight__row {
  display:flex;
  align-items: baseline;
  gap:10px
}

.booking-summary-price__row {
  display:flex;
  justify-content: space-between;
  font-size: 14px;
}

.booking-summary-price-middle__row{
    width:100%;
    display:flex;
    justify-content:space-between;
    text-align:right;
    font-size: 14px;
}

.booking-summary-price__total{
  font-weight:600;
}

.booking-summary__time {
  font-size:18px;
  font-weight:600;
}

.booking-summary__value--sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.booking-summary__meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.booking-summary__meta--scope {
  font-style: italic;
  margin-top: 4px;
}

.booking-summary__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}


.booking-summary__perks--stacked {
  display: grid;
  gap: 12px;
}

.booking-summary__perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.booking-summary__perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
}

.booking-summary__perk-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.booking-summary__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dark);
}

.booking-summary__breakdown {
  display: grid;
  gap: 2px;
}

@media (max-width: 991.98px) {
  .booking-header {
    padding: 20px 0;
  }

  .booking-page {
    padding: 32px 0 60px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-layout__sidebar {
    position: static;
    order: -1;
  }

  .booking-layout__main {
    order: 1;
  }

  .booking-section {
    padding: 24px;
  }

  .booking-section__header--accordion {
    padding: 24px;
  }

  .booking-section__body {
    padding: 0 24px 24px;
  }

  .booking-form__grid--triplet,
  .booking-form__grid--buyer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-total__cta {
    align-self: stretch;
  }
}

@media (max-width: 767.98px) {
  .booking-form__columns--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .booking-header__title {
    font-size: 24px;
  }

  .booking-accordion__summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .booking-accordion__summary::after {
    position: absolute;
    right: 24px;
    top: 28px;
  }

  .booking-accordion__summary-content--multi {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .booking-header__inner {
    width: 100%;
    padding: 0 18px;
  }

  .booking-page__inner {
    width: 100%;
    padding: 0 18px;
  }

  .booking-section {
    padding: 22px 20px;
  }

  .booking-section__header--accordion {
    padding: 20px;
  }

  .booking-section__body {
    padding: 0 20px 20px;
  }

  .booking-breadcrumbs__item {
    font-size: 15px;
  }

  .booking-breadcrumbs__item:not(.booking-breadcrumbs__item--active) .booking-breadcrumbs__step-label {
    display: none;
  }

  .booking-accordion__summary {
    padding: 18px 20px;
  }

  .booking-accordion__content {
    padding: 0 16px 20px;
  }

  .booking-fares__option,
  .booking-baggage__card,
  .booking-form__group,
  .booking-summary {
    padding: 22px 20px;
  }

  .booking-form__grid,
  .booking-form__grid--triplet,
  .booking-form__grid--buyer {
    grid-template-columns: 1fr;
  }

  .booking-form__grid--buyer .booking-field--column-right {
    grid-column: 1;
  }

  .booking-field--compact {
    max-width: none;
  }

  .booking-field--dob .booking-dob {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-total {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-total__cta {
    width: 100%;
  }
}
.booking-fares__perks--separated {
    display:column;
    grid-template-columns: 1fr;
  }

.price-change-notice[hidden] {
  display: none;
}

.price-change-notice {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 180ms ease-in-out;
}

.price-change-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 33, 53, 0.66);
}

.price-change-notice__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 255, 0.9) 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-strong);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-change-notice__dialog:focus,
.price-change-notice__dialog:focus-visible {
  outline: none;
  box-shadow: var(--shadow-medium);
}

.price-change-notice__badge {
  align-self: flex-start;
  background: rgba(249, 115, 22, 0.14);
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.price-change-notice__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.price-change-notice__description {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.price-change-notice__summary {
  background: var(--main-light-blue);
  border-radius: 12px;
  padding: 16px 18px;
}

.price-change-notice__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.price-change-notice__prices dt {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.price-change-notice__prices dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.price-change-notice__price-new dd {
  color: var(--main-blue);
}

.price-change-notice__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-change-notice__button {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
}

.price-change-notice__button:focus-visible {
  outline: 3px solid rgba(96, 91, 255, 0.5);
  outline-offset: 2px;
}

.price-change-notice__button--primary {
  background: var(--main-blue);
  color: #fff;
  box-shadow: 0 18px 32px rgba(96, 91, 255, 0.22);
}

.price-change-notice__button--primary:hover {
  background: var(--main-blue-hover);
}

.price-change-notice__button--secondary {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.16);
  color: var(--text-dark);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.price-change-notice__button--secondary:hover {
  border-color: rgba(15, 23, 42, 0.28);
  background: rgba(96, 91, 255, 0.08);
}

@media (max-width: 480px) {
  .price-change-notice__dialog {
    border-radius: 12px;
    padding: 28px 22px 24px;
  }

  .price-change-notice__prices {
    grid-template-columns: 1fr;
  }
}

/* Confirmation page */
.confirmation-page {
  padding-bottom: 64px;
}

.confirmation-page__inner {
  display: grid;
  gap: 24px;
}

.confirmation-section {
  display: grid;
  gap: 20px;
}

.confirmation-page .booking-section__body {
  padding-left: 0;
}

.confirmation-status {
  display: flex;
  align-items: center;
  gap: 18px;
}

.confirmation-status__icon {
  width: 54px;
  height: 54px;
}

.confirmation-status__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
}

.confirmation-status__subtitle {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.confirmation-status__code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--main-price);
  background: rgba(96, 91, 255, 0.14);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.6px;
}

.confirmation-travelers {
  display: grid;
  gap: 18px;
}

.confirmation-traveler {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 249, 255, 0.9) 100%);
  display: grid;
  gap: 14px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.confirmation-traveler__header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}

.confirmation-traveler__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.confirmation-traveler__tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(96, 91, 255, 0.12);
  color: var(--main-price);
}

.confirmation-traveler__details {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.confirmation-traveler__group {
  display: grid;
  gap: 4px;
}

.confirmation-traveler__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.confirmation-traveler__value {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

.confirmation-traveler__pricing {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(96, 91, 255, 0.08);
  border: 1px solid rgba(96, 91, 255, 0.16);
}

.confirmation-traveler__pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-dark);
}

.confirmation-traveler__pricing-row--total {
  font-weight: 600;
  color: var(--main-price);
}

.confirmation-traveler__passport {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px dashed rgba(69, 112, 241, 0.4);
  border-radius: 6px;
  background: #fff;
}

.confirmation-traveler__passport-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--main-price);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.confirmation-travelers__total {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(69, 112, 241, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--main-price);
}

.confirmation-key-value {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.confirmation-key-value--columns {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: start;
}

.confirmation-key-value__item {
  display: grid;
  gap: 4px;
}

.confirmation-key-value__label {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.confirmation-key-value__value {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.confirmation-note {
  margin: 10px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

.booking-fares__option--static {
  cursor: default;
}

.booking-fares__option--static:hover {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: none;
  background: var(--surface);
}

@media (max-width: 768px) {
  .confirmation-status {
    align-items: flex-start;
  }

  .confirmation-status__title {
    font-size: 20px;
  }

  .confirmation-section {
    padding: 24px 20px;
  }
}
