﻿#app {
  outline: none !important;
}

/* 20260916: page-specific filter visibility requested by client. */
body[data-page="home"] #desktopSearchPanel {
  display: none !important;
}

body[data-page="activities"] form.filters label.field:has(select[name="car"]),
body[data-page="activities"] [data-mobile-service="activities"] .mobile-hotel-filter-row:has(select[name="car"]) {
  display: none !important;
}

body[data-page="tickets"] .ticket-desktop-filter label.field:has(.traveler-selector),
body[data-page="tickets"] .ticket-desktop-filter label.field:has(input[name="date"]),
body[data-page="tickets"] [data-mobile-service="tickets"] .mobile-traveler-row,
body[data-page="tickets"] [data-mobile-service="tickets"] .mobile-hotel-date-row {
  display: none !important;
}

body[data-page="hotels"] .hotel-search-box label.field:has(.stay-date-range),
body[data-page="hotels"] .hotel-search-box label.field:has(.traveler-selector),
body[data-page="hotels"] [data-mobile-service="hotels"] .mobile-hotel-date-row,
body[data-page="hotels"] [data-mobile-service="hotels"] .mobile-traveler-row {
  display: none !important;
}

body[data-page="hotel-search"] .hotel-search-filter-form section:has(.stay-date-range),
body[data-page="hotel-search"] .hotel-search-filter-form section:has(.traveler-selector) {
  display: none !important;
}

body[data-page="hotel-search"] .hotel-search-filter-form label:has(input[name="stars"]) {
  color: #f39c12 !important;
}

body[data-page="hotel-search"] .hotel-search-filter-form label:has(input[name="stars"]) span {
  color: #64748b !important;
}

body[data-page="activities"] .activity-mobile-meta span:has(svg[data-lucide="user-round"]) {
  display: none !important;
}

body[data-page="home"] .activity-mobile-meta span:has(svg[data-lucide="clock-3"]),
body[data-page="activities"] .activity-mobile-meta span:has(svg[data-lucide="clock-3"]),
body[data-page="tours"] .activity-mobile-meta span:has(svg[data-lucide="clock-3"]),
body[data-page="top-attractions"] .top-attraction-related-meta small:first-child:has(+ small) {
  display: none !important;
}

body[data-page="packages"] .package-page-home-filter .home-package-city-field > span,
body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .package-city-field > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
  justify-self: start !important;
}

body[data-page="packages"] .package-page-home-filter .home-package-city-field > span i,
body[data-page="packages"] .package-page-home-filter .home-package-city-field > span svg,
body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .package-city-field > span i,
body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .package-city-field > span svg {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot {
    grid-column: 3 / span 1;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 18px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot[hidden] {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot .flight-remove-leg,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .flight-remove-leg {
    position: static;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    display: inline-flex;
    color: #dc2626;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 0;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .btn-search,
  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .btn-search {
    grid-column: 1 / span 1;
    width: 262px;
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Keep native home filter selects visible and stable on hover/focus. */
.panel-search-field select[data-plain-select] {
  color: #061533 !important;
  background-color: #f8fafc !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

.panel-search-field select[data-plain-select]:hover,
.panel-search-field select[data-plain-select]:focus {
  color: #061533 !important;
  background-color: #ffffff !important;
  border-color: #5f87ff !important;
}

.panel-search-field select[data-plain-select] option {
  color: #061533;
  background: #ffffff;
}

#app:focus,
#app:focus-visible {
  outline: none !important;
}

body.has-desktop-shell {
  background: #f5f7fa;
}

.desktop-sidebar,
.desktop-top-header,
.desktop-home-feature {
  display: none;
}

@media (min-width: 821px) {
  body.has-desktop-shell > .site-header {
    display: none !important;
  }

  .desktop-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 51;
    display: flex;
    width: 240px;
    height: 100vh;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
    border-right: 1px solid #e6e9f0;
    background: #ffffff;
    padding: 20px 0;
  }

  .sidebar-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 24px;
  }

  .sidebar-logo-wrap .fa-bars {
    color: #4a5568;
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
  }

  .sidebar-logo-wrap .fa-bars:hover {
    color: #062f50;
  }

  .sidebar-logo {
    color: #1598c9;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
  }

  .sidebar-logo em {
    color: #f5a623;
    font-style: normal;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 8px;
    border-radius: 8px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .sidebar-nav .nav-item i {
    width: 18px;
    color: #718096;
    font-size: 15px;
    text-align: center;
    transition: color 0.2s;
  }

  .sidebar-guide summary.nav-item i:first-child {
    transform: translateY(2px);
  }

  .sidebar-nav .nav-item:hover,
  .sidebar-nav .nav-item.active {
    background-color: #f0f5ff;
    color: #062f50;
  }

  .sidebar-nav .nav-item.active {
    font-weight: 600;
  }

  .sidebar-nav .nav-item:hover i,
  .sidebar-nav .nav-item.active i {
    color: #062f50;
  }

  .sidebar-guide {
    margin: 0;
  }

  .sidebar-guide summary {
    list-style: none;
    cursor: pointer;
  }

  .sidebar-guide summary::-webkit-details-marker {
    display: none;
  }

  .sidebar-guide summary span {
    min-width: 0;
    flex: 0 1 auto;
    white-space: nowrap;
  }

  .sidebar-subnav {
    display: grid;
    gap: 2px;
    margin: 2px 8px 8px 46px;
  }

  .sidebar-subnav a {
    border-radius: 7px;
    color: #5e6b7e;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.18s ease;
  }

  .sidebar-subnav a:hover,
  .sidebar-subnav a:focus-visible {
    background: #f0f5ff;
    color: #062f50;
  }

  .sidebar-divider {
    height: 1px;
    margin: 12px 24px;
    background: #e6e9f0;
  }

  .desktop-top-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 240px;
    z-index: 50;
    display: flex;
    height: 64px;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #e6e9f0;
    background: #ffffff;
    padding: 0 32px;
  }

  .header-search {
    position: relative;
    display: grid;
    width: clamp(500px, 36vw, 580px);
    grid-template-columns: 178px minmax(0, 1fr) 42px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dce1e8;
    border-radius: 8px;
    background: #f8fafc;
    flex-shrink: 0;
    transition: all 0.2s;
  }

  .header-search:focus-within {
    border-color: #062f50;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 28, 56, 0.06);
  }

  .header-search select,
  .header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    outline: none;
    min-height: 42px;
  }

  .header-search select {
    cursor: pointer;
    color: #062f50;
    font-weight: 500;
    padding: 0 28px 0 12px;
    border-right: 1px solid #dce1e8;
  }

  .header-search input {
    padding: 0 12px;
  }

  .header-search .search-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    background: #062f50;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    transition: background 0.2s;
  }

  .header-search .search-btn:hover {
    background: #062f50;
  }

  .header-right {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-size: 13px;
  }

  .header-link {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    color: #4a5568;
    cursor: pointer;
    font-weight: 500;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .header-link:hover {
    background: #f5f7fa;
    color: #062f50;
  }

  .header-link i {
    color: #718096;
    font-size: 14px;
    transition: color 0.2s;
  }

  .header-guide-dropdown .header-link i:first-child {
    transform: translateY(2px);
  }

  .header-link:hover i {
    color: #062f50;
  }

  .header-guide-dropdown {
    position: relative;
  }

  .header-guide-dropdown summary {
    list-style: none;
  }

  .header-guide-dropdown summary::-webkit-details-marker {
    display: none;
  }

  .header-guide-dropdown .header-link i:last-child {
    font-size: 11px;
  }

  .header-guide-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 70;
    display: grid;
    min-width: 220px;
    padding: 8px;
    border: 1px solid #e6e9f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 28, 56, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.18s ease;
  }

  .header-guide-panel a {
    border-radius: 8px;
    color: #4a5568;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    text-decoration: none;
  }

  .header-guide-panel a:hover,
  .header-guide-panel a:focus-visible {
    background: #f0f5ff;
    color: #062f50;
  }

  .header-guide-dropdown:hover .header-guide-panel,
  .header-guide-dropdown:focus-within .header-guide-panel,
  .header-guide-dropdown[open] .header-guide-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid #e6e9f0;
    border-radius: 8px;
    background: #f5f7fa;
    padding: 3px;
  }

  .lang-btn {
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #4a5568;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .lang-btn.active {
    background: #ffffff;
    color: #062f50;
    box-shadow: 0 1px 3px rgba(15, 28, 56, 0.1);
  }

  .lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    color: #062f50;
  }

  .lang-more {
    position: relative;
  }

  .lang-more > summary {
    list-style: none;
  }

  .lang-more > summary::-webkit-details-marker {
    display: none;
  }

  .lang-more-btn {
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #4a5568;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    min-width: 30px;
    min-height: 30px;
  }

  .lang-more[open] .lang-more-btn,
  .lang-more-btn:hover {
    background: #fff;
    color: #062f50;
  }

  .lang-more-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1000;
    min-width: 170px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 28, 56, .16);
    padding: 6px;
  }

  .lang-menu-btn {
    width: 100%;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #062f50;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
  }

  .lang-menu-btn small {
    color: #718096;
    font-size: 10px;
    font-weight: 800;
  }

  .lang-menu-btn:hover,
  .lang-menu-btn.active {
    background: #f1f5f9;
  }

  .lang-menu-empty {
    display: block;
    color: #718096;
    font-size: 12px;
    padding: 8px 10px;
  }

  html[dir="rtl"] .desktop-sidebar,
  html[dir="rtl"] .desktop-top-header {
    direction: ltr;
  }

  .mobile-lang-switcher {
    display: none !important;
  }

  .btn-login,
  .btn-signup {
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .btn-signup {
    display: none !important;
  }

  .btn-login {
    margin-left: 4px;
    border: 1.5px solid #062f50;
    background: transparent;
    color: #062f50;
  }

  .btn-login:hover {
    border-color: #062f50;
    background: #f0f5ff;
    color: #062f50;
  }

  .btn-signup {
    border: 1.5px solid #062f50;
    background: #062f50;
    color: #ffffff;
  }

  .btn-signup:hover {
    border-color: #062f50;
    background: #062f50;
    box-shadow: 0 4px 12px rgba(15, 28, 56, 0.2);
    transform: translateY(-1px);
  }

  body.has-desktop-shell > #app {
    margin-left: 240px;
    padding-top: 64px;
  }

  body.has-desktop-shell > .site-footer {
    margin-left: 240px;
  }

  body[data-page="hotel-search"].has-desktop-shell .desktop-sidebar {
    display: none !important;
  }

  body[data-page="hotel-search"].has-desktop-shell .desktop-top-header {
    left: 0;
  }

  body[data-page="hotel-search"].has-desktop-shell > #app,
  body[data-page="hotel-search"].has-desktop-shell > .site-footer {
    margin-left: 0;
  }

  .desktop-home-feature {
    display: block;
    margin-left: 240px;
    padding-top: 64px;
  }

  .hero-container {
    padding: 28px 32px 0;
  }

  .hero-banner {
    position: relative;
    display: flex;
    height: 310px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #062f50;
    color: #ffffff;
    padding: 0 24px;
    text-align: center;
  }

  .hero-banner::before,
  .hero-banner::after {
    display: none;
    position: absolute;
    content: "";
    border-radius: 50%;
  }

  .hero-banner::before {
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: rgba(245, 166, 35, 0.08);
  }

  .hero-banner::after {
    bottom: -35%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: rgba(245, 166, 35, 0.06);
  }

  .hero-banner h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .trust-badges {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
  }

  .trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .trust-badges span i {
    color: #f5a623;
    font-size: 16px;
  }

  .search-panel {
    position: relative;
    z-index: 10;
    display: flex;
    width: calc(100% - 64px);
    flex-direction: column;
    align-items: center;
    margin: -55px auto 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(15, 28, 56, 0.1);
    padding: 20px;
  }

  .panel-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    max-width: 100%;
    margin-bottom: 18px;
    border-radius: 28px;
    background: #3b3f45;
    padding: 5px;
  }

  .tab {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 24px;
    background: none;
    color: #8899aa;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.25s;
    white-space: nowrap;
  }

  .tab:hover {
    color: #ffffff;
  }

  .tab.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 600;
  }

  .tab i {
    font-size: 13px;
  }

  .panel-search-field {
    display: flex;
    width: 100%;
    max-width: 820px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .input-wrapper {
    position: relative;
    min-width: 180px;
    flex-grow: 1;
  }

  .input-wrapper input,
  .input-wrapper select,
  .input-wrapper output {
    width: 100%;
    border: 1px solid #dce1e8;
    border-radius: 10px;
    background: #fafbfc;
    color: #1a202c;
    font-size: 14px;
    outline: none;
    padding: 14px 16px;
    transition: all 0.2s;
  }

  .input-wrapper output.package-duration-output {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: #5f6b7a;
    font-weight: 700;
  }

  .input-wrapper input:focus,
  .input-wrapper select:focus {
    border-color: #062f50;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 28, 56, 0.06);
  }

  .btn-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    background: #f5a623;
    color: #1c1507;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 0 32px;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .btn-search:hover {
    background: #e8991a;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3);
    transform: translateY(-1px);
  }

  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    max-width: 1320px;
  }

  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) .input-wrapper {
    min-width: 0;
  }

  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) .btn-search {
    width: min(224px, 100%);
    min-height: 30px;
    padding: 4px 18px;
    justify-content: center;
  }

  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) .stay-date-range-button {
    min-height: 49px;
    padding: 0 16px;
    background: #fafbfc;
    border-color: #dce1e8;
    border-radius: 10px;
    color: #1a202c;
    font-size: 14px;
  }

  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) .stay-date-range-button:focus {
    border-color: #062f50;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 28, 56, 0.06);
  }

  body[data-page="home"].has-desktop-shell > #app {
    min-height: 70vh;
    padding-top: 0;
  }

  body[data-page="home"].has-desktop-shell > #app .hero,
  body[data-page="home"].has-desktop-shell > #app .desktop-traveloka-services {
    display: none !important;
  }
}

@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"].is-flight-multicity {
    grid-template-columns: minmax(400px, 1.15fr) minmax(220px, 0.65fr) minmax(330px, 0.95fr) minmax(175px, 0.5fr);
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot {
    grid-column: 3 / span 1;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 18px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot[hidden] {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot .flight-remove-leg,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .flight-remove-leg {
    position: static;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    display: inline-flex;
    color: #dc2626;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 0;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .btn-search,
  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .btn-search {
    grid-column: 1 / span 1;
    width: 262px;
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1180px) and (min-width: 821px) {
  .desktop-top-header {
    gap: 14px;
    padding: 0 20px;
  }

  .header-search {
    width: clamp(460px, 40vw, 520px);
    grid-template-columns: 168px minmax(0, 1fr) 38px;
  }

  .header-link {
    padding: 8px;
  }

  .btn-login,
  .btn-signup {
    padding: 8px 12px;
  }
}

@media (max-width: 820px) {
  body.has-desktop-shell > .site-header {
    display: flex;
  }

  [data-shared-mobile-header],
  html[dir="rtl"] [data-shared-mobile-header] {
    direction: ltr !important;
    flex-direction: row !important;
  }

  html[dir="rtl"] [data-shared-mobile-header] .brand {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .mobile-lang-switcher {
    position: fixed;
    left: auto;
    right: 86px;
    bottom: 37px;
    z-index: 2147482999;
    display: inline-flex !important;
    direction: ltr !important;
    padding: 4px;
    background: rgba(20, 31, 51, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 28, 56, 0.22);
    touch-action: none;
    user-select: none;
    cursor: grab;
    align-items: center;
    gap: 2px;
    height: 42px;
  }

  .mobile-lang-switcher.is-dragging {
    cursor: grabbing;
  }

  .mobile-lang-switcher .lang-btn {
    min-height: 32px;
    padding: 5px 9px;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 900;
  }

  .mobile-lang-switcher .lang-btn.active {
    color: #062f50;
    background: #ffffff;
  }

  .mobile-lang-switcher .lang-more {
    display: inline-flex;
    position: relative;
    flex: 0 0 auto;
    height: 32px;
  }

  .mobile-lang-switcher .lang-more-btn {
    box-sizing: border-box;
    min-width: 32px;
    width: 32px;
    min-height: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-lang-switcher .lang-more-btn::-webkit-details-marker {
    display: none;
  }

  .mobile-lang-switcher .lang-more-btn:focus-visible {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92), 0 0 0 4px rgba(250, 160, 26, 0.7);
  }

  .mobile-lang-switcher .lang-more[open] .lang-more-btn {
    color: #062f50;
    background: #ffffff;
  }

  .mobile-lang-switcher .lang-more-menu {
    top: auto;
    right: 0;
    left: auto;
    bottom: calc(100% + 8px);
    min-width: 118px;
    max-width: min(180px, calc(100vw - 24px));
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 18px 42px rgba(15, 28, 56, 0.28);
  }

  .mobile-lang-switcher .lang-menu-btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.86rem;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .mobile-lang-switcher .lang-menu-btn small {
    display: none;
  }
}

/* Keep homepage package/promotion price sliders LTR in Arabic; only the words translate. */
html[dir="rtl"] .home-price-range-control .price-range-caption,
html[dir="rtl"] .home-price-range-control .hotel-search-dual-range,
html[dir="rtl"] .home-price-range-control .rebuilt-price-range {
  direction: ltr !important;
}

html[dir="rtl"] .home-price-range-control .price-range-caption span:first-child {
  justify-content: flex-start !important;
  text-align: left !important;
}

html[dir="rtl"] .home-price-range-control .price-range-caption span:last-child {
  justify-content: flex-end !important;
  text-align: right !important;
}

html[dir="rtl"] .home-price-range-control .price-range-caption strong {
  direction: ltr !important;
  text-align: center !important;
}

/* Final desktop homepage search polish. */
@media (min-width: 821px) {
  .search-panel {
    width: min(1450px, calc(100% - 48px));
    align-items: stretch;
    padding: 16px 20px 20px;
    border: 1px solid #e3e9f2;
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(15, 28, 56, 0.12);
  }

  body[data-page="home"] section.search-panel:not(.hero) {
    width: min(1450px, calc(100% - 48px));
    padding: 16px 20px 20px;
    border-radius: 8px;
  }

  .panel-tabs {
    align-self: center;
    gap: 4px;
    margin-top: -38px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #3b3f45;
    padding: 4px 18px;
  }

  .tab {
    min-height: 34px;
    padding: 6px 20px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
  }

  .tab.active {
    background: #ffffff;
    color: #000000;
    font-weight: 400;
  }

  .tab i {
    font-size: 14px;
  }

  .panel-search-field {
    display: grid;
    width: min(1040px, 100%);
    max-width: none;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    align-items: end;
    margin: 0 auto;
  }

  .panel-search-field .input-wrapper,
  .panel-search-field .tab-content {
    min-width: 0;
  }

  .panel-search-field .input-wrapper {
    display: grid;
    gap: 7px;
  }

  .panel-search-field .input-wrapper[hidden],
  .panel-search-field .tab-content[hidden] {
    display: none !important;
  }

  .panel-search-field .home-filter-label {
    display: inline-flex;
    align-items: center;
    min-height: 14px;
    color: #4b5d78;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
  }

  .panel-search-field .input-wrapper input,
  .panel-search-field .input-wrapper select,
  .panel-search-field .input-wrapper output,
  .panel-search-field .searchable-select-input,
  .panel-search-field .stay-date-range-button,
  .panel-search-field .traveler-toggle {
    width: 100%;
    height: 56px;
    min-height: 56px;
    box-sizing: border-box;
    padding: 0 16px;
    color: #061533;
    background: #f8fafc;
    border: 1px solid #d7e0ec;
    border-radius: 10px;
    box-shadow: none;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.2;
  }

  .panel-search-field .input-wrapper input::placeholder {
    color: #64748b;
    opacity: 1;
  }

  .panel-search-field .input-wrapper output.package-duration-output {
    display: flex;
    align-items: center;
    color: #4b5d78;
    font-weight: 500;
  }

  .panel-search-field .input-wrapper input:focus,
  .panel-search-field .input-wrapper select:focus,
  .panel-search-field .searchable-select-input:focus,
  .panel-search-field .stay-date-range-button:focus,
  .panel-search-field .traveler-toggle:focus {
    outline: none;
    background: #ffffff;
    border-color: #2f62ff;
    box-shadow: 0 0 0 4px rgba(47, 98, 255, 0.1);
  }

  .panel-search-field .stay-date-range-button,
  .panel-search-field .traveler-toggle {
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }

  .panel-search-field .stay-date-range-button svg,
  .panel-search-field .traveler-toggle svg {
    width: 20px;
    height: 20px;
    color: #6b7b94;
  }

  .panel-search-field .btn-search {
    height: 56px;
    min-height: 56px;
    box-sizing: border-box;
    justify-content: center;
    padding: 0 28px;
    color: #ffffff;
    background: #2f62ff;
    border-radius: 4px;
    font-size: 1.08rem;
    font-weight: 400;
    box-shadow: none;
  }

  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) {
    grid-template-columns: repeat(5, minmax(145px, 1fr)) minmax(190px, 0.8fr);
    width: min(1320px, 100%);
    max-width: none;
  }

  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) .btn-search {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
  }

  .home-promotion-route-pair {
    grid-column: span 2;
  }

  .panel-search-field[data-active-tab="promotions"] {
    width: 100%;
    display: block;
  }

  .panel-search-field[data-active-tab="packages"] {
    width: 100%;
    display: block;
  }

  .panel-search-field[data-active-tab="promotions"] > .btn-search {
    display: none;
  }

  .panel-search-field[data-active-tab="packages"] > .btn-search {
    display: none;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-shell {
    display: block;
    width: 100%;
    padding: 14px 16px 16px;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(15, 28, 56, 0.08);
  }

  .panel-search-field[data-active-tab="packages"] .home-package-shell {
    display: block;
    width: 100%;
    padding: 14px 16px 16px;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(15, 28, 56, 0.08);
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 14px;
    align-items: end;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 14px;
    align-items: end;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-field {
    display: grid;
    gap: 8px;
    min-width: 0;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field {
    display: grid;
    gap: 8px;
    min-width: 0;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-field > span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334a6a;
    font-size: 0.98rem;
    font-weight: 500;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field > span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334a6a;
    font-size: 0.98rem;
    font-weight: 500;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-field > span i {
    color: #52698c;
    font-size: 1.15rem;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field > span i {
    color: #52698c;
    font-size: 1.15rem;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-field input,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field select {
    width: 100%;
    min-width: 0;
    height: 58px;
    min-height: 58px;
    padding: 0 18px;
    color: #4f678b;
    background: #f8fbff;
    border: 1px solid #cad9ee;
    border-radius: 16px;
    box-shadow: none;
    font-size: 0.98rem;
    font-weight: 600;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field input,
  .panel-search-field[data-active-tab="packages"] .home-package-field select {
    width: 100%;
    min-width: 0;
    height: 58px;
    min-height: 58px;
    padding: 0 18px;
    color: #4f678b;
    background: #f8fbff;
    border: 1px solid #cad9ee;
    border-radius: 16px;
    box-shadow: none;
    font-size: 0.98rem;
    font-weight: 600;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field select,
  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary,
  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary span {
    color: #52627a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown {
    width: 100%;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary {
    height: 58px;
    min-height: 58px;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary i {
    flex: 0 0 auto;
    color: #52698c;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown[open] summary i {
    transform: rotate(180deg);
  }

  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown .package-city-options {
    z-index: 100;
    grid-template-columns: 1fr;
    max-height: 260px;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown .package-city-options label span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-field input::placeholder {
    color: #6a7f9e;
    opacity: 1;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field input::placeholder {
    color: #6a7f9e;
    opacity: 1;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-field input:focus,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field select:focus {
    outline: none;
    border-color: #5f87ff;
    box-shadow: 0 0 0 3px rgba(95, 135, 255, 0.18);
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field input:focus,
  .panel-search-field[data-active-tab="packages"] .home-package-field select:focus {
    outline: none;
    border-color: #5f87ff;
    box-shadow: 0 0 0 3px rgba(95, 135, 255, 0.18);
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-price {
    grid-column: auto;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-price {
    grid-column: auto;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 12px;
    grid-column: 3 / -1;
    margin-left: 0;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 12px;
    grid-column: 2 / -1;
    margin-left: 0;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-reset,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 160px;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-reset,
  .panel-search-field[data-active-tab="packages"] .home-package-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 160px;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-reset {
    color: #ffffff;
    background: #2f62ff;
    border: 0;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-reset {
    color: #ffffff;
    background: #2f62ff;
    border: 0;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-submit {
    color: #ffffff;
    background: #2f62ff;
    border: 0;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-submit {
    color: #ffffff;
    background: #2f62ff;
    border: 0;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-reset:hover,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-submit:hover,
  .panel-search-field[data-active-tab="packages"] .home-package-reset:hover,
  .panel-search-field[data-active-tab="packages"] .home-package-submit:hover {
    background: #2555e8;
    box-shadow: 0 4px 14px rgba(47, 98, 255, 0.3);
    transform: translateY(-1px);
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .panel-search-field,
  .panel-search-field:has(.tab-content[data-content="hotels"]:not([hidden])) {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .panel-search-field .btn-search {
    width: 100%;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .panel-search-field[data-active-tab="packages"] .home-package-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-price,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    grid-column: 1 / -1;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-price,
  .panel-search-field[data-active-tab="packages"] .home-package-actions {
    grid-column: 1 / -1;
  }
}

/* Unified From / To control in the desktop homepage panel. */
@media (min-width: 821px) {
  .panel-search-field .home-route-pair {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-column: span 2;
    min-height: 78px;
    overflow: visible;
    background: #f8fafc;
    border: 1px solid #d7e0ec;
    border-radius: 12px;
  }

  .panel-search-field .home-route-pair .route-field {
    display: grid;
    align-content: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 15px 22px;
    background: transparent;
    border: 0;
  }

  .panel-search-field .home-route-pair .route-from {
    padding-right: 46px;
  }

  .panel-search-field .home-route-pair .route-to {
    padding-left: 46px;
    border-left: 1px solid #d7e0ec;
  }

  .panel-search-field .home-route-pair .route-field > span {
    color: #4b5d78;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.1;
  }

  .panel-search-field .home-route-pair select,
  .panel-search-field .home-route-pair .searchable-select-input {
    width: 100%;
    min-height: 30px;
    padding: 0;
    overflow: hidden;
    color: #061533;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
  }

  .panel-search-field .home-route-pair select:focus,
  .panel-search-field .home-route-pair .searchable-select-input:focus {
    outline: none;
    box-shadow: none;
  }

  .panel-search-field .home-route-pair .route-swap {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 60;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #2f62ff;
    background: #ffffff;
    border: 1px solid #d7e0ec;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 28, 56, 0.12);
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .panel-search-field .home-route-pair .route-swap svg {
    width: 20px;
    height: 20px;
  }

  .panel-search-field[data-active-tab="flights"] {
    width: min(1180px, 100%);
    grid-template-columns: minmax(370px, 1.25fr) minmax(220px, 0.75fr) minmax(310px, 1fr) minmax(160px, 0.5fr);
    gap: 10px;
    align-items: stretch;
    margin: 0 auto;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair {
    grid-column: auto;
    min-height: 58px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field {
    display: grid;
    align-content: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 14px 28px 13px 10px;
    background: transparent;
    border: 0;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-from {
    padding-right: 54px;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-to {
    padding-left: 28px;
    border-left: 1px solid #dce3ee;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field > span {
    color: #5f6b7a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair select,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input {
    width: 100%;
    min-height: 24px;
    padding: 0;
    overflow: hidden;
    color: #061533;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair select:focus,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input:focus {
    outline: none;
    box-shadow: none;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 60;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #2f62ff;
    background: #ffffff;
    border: 1px solid #d7dce5;
    border-radius: 999px;
    box-shadow: none;
    pointer-events: auto;
    cursor: pointer;
    transform: translate(-50%, -50%);
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap svg {
    width: 22px;
    height: 22px;
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] {
    min-width: 0;
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .stay-date-range-button,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle {
    width: 100%;
    min-height: 70px;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 16px;
    color: #061533;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease;
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .stay-date-range-button svg,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle svg {
    width: 22px;
    height: 22px;
    color: #000000;
    flex: 0 0 auto;
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle [data-traveler-label]::after {
    content: "";
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-left: auto;
    border-right: 2px solid #061533;
    border-bottom: 2px solid #061533;
    transform: rotate(45deg) translateY(-4px);
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair:focus-within,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .stay-date-range-button:focus,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle:focus {
    border-color: #2f62ff;
    box-shadow: 0 0 0 1px rgba(47, 98, 255, 0.16);
    outline: none;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search {
    min-height: 70px;
    justify-content: center;
    padding: 0 28px;
    color: #ffffff;
    background: #2f62ff;
    border-radius: 4px;
    box-shadow: none;
    font-size: 1.28rem;
    font-weight: 500;
    transition: background 160ms ease, box-shadow 160ms ease;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search:hover {
    background: #2555e8;
    box-shadow: none;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-oneway {
    grid-template-columns: minmax(370px, 1.25fr) minmax(220px, 0.75fr) minmax(310px, 1fr) minmax(160px, 0.5fr);
  }


}

@media (max-width: 1180px) and (min-width: 821px) {
  .panel-search-field .home-route-pair {
    grid-column: 1 / -1;
  }

  .panel-search-field[data-active-tab="flights"] {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair {
    grid-column: 1 / -1;
  }
}

/* Flight tab: Trip.com-style visual treatment only. */
@media (min-width: 821px) {
  .search-panel:has(.panel-search-field[data-active-tab="flights"]) {
    width: min(1450px, calc(100% - 48px));
    padding: 16px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 28, 56, 0.1);
  }

  .search-panel:has(.panel-search-field[data-active-tab="flights"]) .panel-tabs {
    margin-top: -38px;
    margin-bottom: 20px;
    background: #3b3f45;
    border-radius: 999px;
    padding: 4px 18px;
  }

  .search-panel:has(.panel-search-field[data-active-tab="flights"]) .tab {
    min-height: 34px;
    padding: 6px 20px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
  }

  .search-panel:has(.panel-search-field[data-active-tab="flights"]) .tab.active {
    background: #ffffff;
    color: #000000;
  }

  .panel-search-field[data-active-tab="flights"] {
    width: 100%;
    grid-template-columns: minmax(330px, 1.02fr) minmax(190px, 0.56fr) minmax(190px, 0.56fr) minmax(270px, 0.78fr) minmax(190px, 0.52fr);
    gap: 10px;
    align-items: stretch;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 28px;
    margin: 0 0 6px;
    color: #050b18;
    font-size: 0.95rem;
    font-weight: 400;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #2f62ff;
    cursor: pointer;
  }

  .panel-search-field[data-active-tab="flights"] .flight-remove-leg {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    align-self: center;
    color: #d33f49;
    background: #fff4f4;
    border: 1px solid #ffd0d4;
    border-radius: 6px;
    cursor: pointer;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-extra-leg,
  .panel-search-field[data-active-tab="flights"] .home-flight-add-leg,
  .panel-search-field[data-active-tab="flights"] .home-flight-return-date {
    display: none;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: inherit;
    gap: 10px;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .home-flight-return-date {
    display: grid;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-extra-leg {
    display: grid;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-dynamic-legs {
    display: grid;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity {
    grid-template-columns: minmax(400px, 1.15fr) minmax(220px, 0.65fr) minmax(330px, 0.95fr) minmax(175px, 0.5fr);
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-main-leg,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-extra-leg.home-flight-route-pair,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-dynamic-legs .home-flight-extra-leg.home-flight-route-pair {
    grid-column: 1 / span 1;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-date,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-extra-date,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-dynamic-legs .home-flight-extra-date {
    grid-column: 2 / span 1;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-traveler {
    grid-column: 3 / span 1;
    grid-row: 2;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .home-flight-main-leg {
    grid-column: 1 / span 1;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .home-flight-date {
    grid-column: 2 / span 1;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .home-flight-return-date {
    grid-column: 3 / span 1;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .home-flight-traveler {
    grid-column: 4 / span 1;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .btn-search {
    grid-column: 1 / span 1;
    width: min(190px, 100%);
    min-width: 0;
    justify-self: start;
    margin-right: 0;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    color: #2f62ff;
    background: #ffffff;
    border: 1px dashed #cfd7e3;
    border-radius: 4px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg[hidden] {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg span {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair {
    min-height: 56px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
    box-shadow: none;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-field {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0 16px;
    background: transparent;
    border: 0;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-from {
    padding-right: 46px;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-to {
    padding-left: 46px;
    border-left: 1px solid #dce3ee;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-field > span {
    display: none;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair select,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair select {
    inset: 0;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    cursor: pointer;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .searchable-select,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .searchable-select-input,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input {
    width: 100%;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    padding: 0 4px;
    opacity: 1;
    pointer-events: auto;
    position: relative;
    color: #061533;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .searchable-select-input::placeholder,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input::placeholder {
    color: #5f6b7a;
    opacity: 1;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-swap {
    width: 42px;
    height: 42px;
    color: #2f62ff;
    background: #ffffff;
    border: 1px solid #d7dce5;
    border-radius: 999px;
    box-shadow: none;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-swap svg {
    width: 22px;
    height: 22px;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-swap i,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-swap svg {
    display: none;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-route-pair .route-swap::before {
    content: "\21C4";
    color: #2f62ff;
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .panel-search-field[data-active-tab="promotions"] .home-promotion-price input {
    min-width: 0;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .stay-date-range-button,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle {
    min-height: 56px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
    box-shadow: none;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair {
    overflow: visible;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair::before {
    content: attr(data-leg);
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    z-index: 2;
    display: grid;
    width: 28px;
    place-items: center;
    color: #ffffff;
    background: #2f62ff;
    border-radius: 4px 0 0 4px;
    font-size: 1.05rem;
    font-weight: 400;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0 16px;
    background: transparent;
    border: 0;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-from {
    padding-right: 46px;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair .route-from {
    padding-left: 48px;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-to {
    padding-left: 46px;
    border-left: 1px solid #dce3ee;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field > span {
    display: none;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair select {
    inset: 0;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    cursor: pointer;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap {
    width: 42px;
    height: 42px;
    color: #2f62ff;
    background: #ffffff;
    border: 1px solid #d7dce5;
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
    pointer-events: auto;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap svg,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap i {
    display: none;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap svg {
    width: 22px;
    height: 22px;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap::before {
    content: "\21C4";
    color: #2f62ff;
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .stay-date-range-button,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle {
    justify-content: flex-start;
    gap: 12px;
    padding: 0 18px;
    color: #050b18;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: left;
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .stay-date-range-button svg,
  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle svg {
    color: #050b18;
    width: 22px;
    height: 22px;
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle [data-traveler-label]::after {
    content: "";
  }

  .panel-search-field[data-active-tab="flights"] .input-wrapper[data-content="flights"] .traveler-toggle::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-left: auto;
    border-right: 2px solid #061533;
    border-bottom: 2px solid #061533;
    transform: rotate(45deg) translateY(-4px);
  }

  .panel-search-field[data-active-tab="flights"] .btn-search {
    min-height: 56px;
    color: #ffffff;
    background: #2f62ff;
    border-radius: 4px;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 400;
    width: min(210px, 100%);
    min-width: 0;
    justify-self: end;
    padding: 0 18px;
  }
}

/* Final desktop flight multi-city layout overrides. */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot {
    grid-column: 3 / span 1;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 18px;
    background: #ffffff;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot[hidden] {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot .flight-remove-leg,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .flight-remove-leg {
    position: static;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    display: inline-flex;
    color: #dc2626;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 0;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .btn-search,
  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .btn-search {
    grid-column: 1 / span 1;
    width: 262px;
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Final polish for desktop flight add/remove controls. */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot {
    min-height: 56px;
    padding: 0 18px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    justify-self: stretch;
    align-self: stretch;
    border-color: #cfd7e3;
    border-width: 1px;
  }
}

/* Final desktop Add flight width: align with route/date columns, not full form. */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-add-leg {
    grid-column: 1 / span 2;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
}

/* Keep full flight place names readable in both searchable route controls. */
@media (min-width: 1181px) {
  .panel-search-field[data-active-tab="flights"].is-flight-oneway {
    grid-template-columns: minmax(460px, 1.35fr) minmax(230px, 0.7fr) minmax(340px, 1fr) minmax(170px, 0.48fr);
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip {
    grid-template-columns: minmax(400px, 1.2fr) minmax(180px, 0.55fr) minmax(180px, 0.55fr) minmax(240px, 0.7fr);
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity {
    grid-template-columns: minmax(500px, 1.35fr) minmax(230px, 0.6fr) minmax(360px, 0.95fr) minmax(185px, 0.45fr);
  }
}

@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip .home-flight-main-leg {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  form[data-mobile-flight-form] .mobile-flight-location-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    min-width: 0;
  }

  form[data-mobile-flight-form] .mobile-flight-location-row > div,
  form[data-mobile-flight-form] .mobile-flight-location-row .searchable-select {
    width: 100%;
    min-width: 0;
  }

  form[data-mobile-flight-form] .mobile-flight-location-row .searchable-select-input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px !important;
    font-weight: 600;
  }

  form[data-mobile-flight-form] .mobile-flight-location-row > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }
}

/* 20260721 homepage package/promotion price range */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-price-range-control,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control {
    display: grid !important;
    gap: 7px !important;
    width: 100% !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption {
    display: grid !important;
    grid-template-columns: auto minmax(112px, 1fr) auto !important;
    align-items: center !important;
    direction: ltr !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    color: #52627a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption strong,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption strong {
    justify-self: center !important;
    color: #071225 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-dual-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-dual-range {
    --range-min: 0%;
    --range-max: 100%;
    position: relative !important;
    width: 100% !important;
    height: 34px !important;
    margin-top: 2px !important;
    transform: translateY(-3px) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-dual-range::before,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-dual-range::before,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-dual-range::after,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-dual-range::after {
    content: "" !important;
    position: absolute !important;
    left: 2px !important;
    right: 2px !important;
    top: 50% !important;
    height: 5px !important;
    border-radius: 999px !important;
    transform: translateY(-50%) !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-dual-range::before,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-dual-range::before {
    z-index: 0 !important;
    background: #c9d4e5 !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-dual-range::after,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-dual-range::after {
    z-index: 0 !important;
    left: var(--range-min, 0%) !important;
    right: calc(100% - var(--range-max, 100%)) !important;
    background: #2f62ff !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-webkit-slider-runnable-track,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-webkit-slider-runnable-track {
    height: 5px !important;
    border: 0 !important;
    background: transparent !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb {
    width: 24px !important;
    height: 24px !important;
    margin-top: -9.5px !important;
    border: 3px solid #062f50 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 28, 56, 0.18) !important;
    cursor: grab !important;
    pointer-events: auto !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-moz-range-track,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-moz-range-track {
    height: 5px !important;
    border: 0 !important;
    background: transparent !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-moz-range-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-moz-range-thumb {
    width: 24px !important;
    height: 24px !important;
    border: 3px solid #062f50 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 28, 56, 0.18) !important;
    cursor: grab !important;
    pointer-events: auto !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    align-self: end !important;
    transform: translateY(-18px) !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption span:first-child,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption span:first-child {
    justify-self: start !important;
    text-align: left !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption span:last-child,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption span:last-child {
    justify-self: end !important;
    text-align: right !important;
  }
}
/* 20260721 final centered homepage package/promotion price handles */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb {
    margin-top: -28px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-moz-range-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-moz-range-thumb {
    transform: translateY(-17px) !important;
  }
}
/* 20260721 lower homepage price handles slightly */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb {
    margin-top: -24px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-moz-range-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-moz-range-thumb {
    transform: translateY(-13px) !important;
  }
}
/* 20260721 draggable centered homepage price handles */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-dual-range::before,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-dual-range::before,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-dual-range::after,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-dual-range::after {
    top: calc(50% + 12px) !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb {
    margin-top: -10.5px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-moz-range-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-moz-range-thumb {
    transform: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    transform: translateY(-22px) !important;
  }
}
/* 20260721 homepage price text down actions aligned */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-field:has(.home-price-range-control) > span,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field:has(.home-price-range-control) > span,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption {
    transform: translateY(5px) !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    transform: translateY(-34px) !important;
  }
}
/* 20260721 homepage price buttons same line */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    transform: translateY(-58px) !important;
  }
}
/* 20260721 rebuilt homepage price range */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 34px !important;
    margin-top: 8px !important;
    transform: none !important;
    cursor: pointer !important;
    touch-action: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range::before,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range::after,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range::before,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range::after {
    content: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .hotel-search-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .hotel-search-range {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-track,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-track,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-fill,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-fill {
    position: absolute !important;
    top: 50% !important;
    height: 6px !important;
    border-radius: 999px !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-track,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-track {
    left: 0 !important;
    right: 0 !important;
    background: #c9d4e5 !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-fill,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-fill {
    background: #2f62ff !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-handle,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-handle {
    position: absolute !important;
    top: 50% !important;
    z-index: 3 !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 3px solid #062f50 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 7px 16px rgba(15, 28, 56, 0.22) !important;
    transform: translate(-50%, -50%) !important;
    cursor: grab !important;
    touch-action: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-handle:active,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-handle:active {
    cursor: grabbing !important;
    transform: translate(-50%, -50%) scale(1.04) !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    transform: translateY(-42px) !important;
  }
}
/* 20260721 polished homepage package/promotion price filter */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-grid,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-grid {
    row-gap: 20px !important;
    align-items: end !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field {
    min-height: 104px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field select,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field select,
  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary {
    min-height: 56px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-field:has(.home-price-range-control),
  .panel-search-field[data-active-tab="promotions"] .home-promotion-price {
    min-width: 360px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range {
    margin-top: 10px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    gap: 12px !important;
    transform: translateY(-36px) !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-reset,
  .panel-search-field[data-active-tab="packages"] .home-package-submit,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-reset,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-submit {
    min-width: 132px !important;
    width: 132px !important;
    min-height: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-reset,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-reset {
    color: #062f50 !important;
    background: #ffffff !important;
    border: 1px solid #c9d8ef !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-package-reset:hover,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-reset:hover {
    background: #f4f7fb !important;
    border-color: #9eb6dc !important;
  }
}
/* 20260721 homepage rebuilt price slider handle clearance */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}
/* 20260721 put homepage package price actions under hotel */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    grid-column: 1 / 3 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    align-self: start !important;
    justify-content: flex-start !important;
    margin: -10px 0 0 0 !important;
    transform: none !important;
  }
}
/* 20260721 tighten homepage actions under hotel */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    margin-top: -34px !important;
  }
}
/* 20260721 homepage price slider same width as column */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-field:has(.home-price-range-control),
  .panel-search-field[data-active-tab="promotions"] .home-promotion-price {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }
}
/* 20260721 homepage price field single column fix */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-field:has(.home-price-range-control),
  .panel-search-field[data-active-tab="promotions"] .home-promotion-price {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-column: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption {
    grid-template-columns: auto minmax(82px, 1fr) auto !important;
    gap: 8px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption strong,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption strong {
    font-size: 12px !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range {
    width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
    margin-left: 18px !important;
    margin-right: 18px !important;
  }
}
/* 20260721 homepage hotel guest room spacing */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="hotels"] .input-wrapper[data-content="hotels"]:has(.traveler-selector) {
    margin-right: 18px !important;
  }

  .panel-search-field[data-active-tab="hotels"] .input-wrapper[data-content="hotels"]:has([name="roomType"]) {
    margin-left: 18px !important;
  }
}
/* 20260721 homepage package actions lower */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-actions,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-actions {
    margin-top: -12px !important;
  }
}
/* 20260721 soften homepage package/promotion filter labels */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-field > span,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field > span,
  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field select,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption span,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption span {
    font-weight: 500 !important;
  }
}

/* 20260721 regular desktop homepage package/promotion filter label names */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-field > span,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field > span,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption span,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption span {
    font-weight: 400 !important;
  }
}

/* 20260721 final regular desktop homepage package/promotion filter label names */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-field > span,
  .panel-search-field[data-active-tab="promotions"] .home-promotion-field > span,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control > span,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control > span,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .price-range-caption span,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .price-range-caption span {
    color: #52627a !important;
    font-weight: 400 !important;
  }
}

/* 20260721 normalize homepage package/promotion city selected value weight */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary,
  .panel-search-field[data-active-tab="promotions"] .home-package-city-dropdown summary,
  .panel-search-field[data-active-tab="packages"] .home-package-city-dropdown summary span,
  .panel-search-field[data-active-tab="promotions"] .home-package-city-dropdown summary span {
    color: #52627a !important;
    font-weight: 400 !important;
  }
}

/* 20260721 all homepage filter label names regular and readable */
.panel-search-field .home-filter-label,
.panel-search-field .input-wrapper > label,
.panel-search-field .home-package-field > span,
.panel-search-field .home-promotion-field > span,
.panel-search-field .home-route-pair .route-field > span,
.panel-search-field .home-flight-route-pair .route-field > span,
.panel-search-field .home-price-range-control > span,
.panel-search-field .home-price-range-control .price-range-caption span {
  color: #334a6a !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media (min-width: 821px) {
  .panel-search-field .home-filter-label,
  .panel-search-field .home-package-field > span,
  .panel-search-field .home-promotion-field > span,
  .panel-search-field .home-route-pair .route-field > span,
  .panel-search-field .home-flight-route-pair .route-field > span,
  .panel-search-field .home-price-range-control > span,
  .panel-search-field .home-price-range-control .price-range-caption span {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}

/* 20260721 keep the dedicated flight page multi-city filter flat. */
@media (min-width: 821px) {
  body[data-page="flights"] .flight-page-home-form.is-flight-multicity .home-flight-route-pair::before {
    display: none !important;
    content: none !important;
  }

  body[data-page="flights"] .flight-page-home-form.is-flight-multicity .home-flight-traveler {
    grid-row: auto !important;
  }

  body[data-page="flights"] .flight-page-home-form.is-flight-multicity .home-flight-dynamic-legs {
    display: contents !important;
  }

  body[data-page="flights"]:has(.flight-page-home-form.is-flight-multicity) .whatsapp-float {
    top: 92px !important;
    bottom: auto !important;
  }
}

/* 20260721 price drag controls without shadows */
.rebuilt-price-range .price-range-handle,
.rebuilt-price-range .price-range-handle:active,
.rebuilt-price-range .price-range-handle:focus {
  box-shadow: none !important;
}

.hotel-search-dual-range .hotel-search-range::-webkit-slider-thumb,
.home-price-range-control .hotel-search-range::-webkit-slider-thumb,
.package-price-range-field .hotel-search-range::-webkit-slider-thumb,
.mobile-price-range .hotel-search-range::-webkit-slider-thumb,
.mobile-more-filter-range .hotel-search-range::-webkit-slider-thumb {
  box-shadow: none !important;
}

.hotel-search-dual-range .hotel-search-range::-moz-range-thumb,
.home-price-range-control .hotel-search-range::-moz-range-thumb,
.package-price-range-field .hotel-search-range::-moz-range-thumb,
.mobile-price-range .hotel-search-range::-moz-range-thumb,
.mobile-more-filter-range .hotel-search-range::-moz-range-thumb {
  box-shadow: none !important;
}

/* 20260721 compact stacked desktop flight filter */
@media (min-width: 821px) {
  .search-panel:has(.panel-search-field[data-active-tab="flights"]) {
    width: min(1450px, calc(100% - 48px)) !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .search-panel:has(.panel-search-field[data-active-tab="flights"]) .panel-tabs {
    margin-bottom: 14px !important;
  }

  body[data-page="flights"] .flight-page-search-panel {
    box-sizing: border-box !important;
    width: min(1420px, calc(100% - 64px)) !important;
    max-width: none !important;
    margin: -74px auto 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="flights"] {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    border: 1px solid #b8d0ff !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="flights"] [hidden],
  .panel-search-field[data-active-tab="flights"] .home-flight-extra-leg[hidden],
  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs[hidden],
  .panel-search-field[data-active-tab="flights"] .home-flight-remove-slot[hidden],
  .panel-search-field[data-active-tab="flights"] .home-flight-return-date[hidden] {
    display: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] .flight-page-baggage-note {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options {
    order: 1 !important;
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #5f6b7a !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #dce7f6 !important;
    border-radius: 14px 14px 0 0 !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options label {
    position: relative !important;
    display: grid !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    color: #657085 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-right: 1px solid #dce7f6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    font-size: 0.94rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options label:last-child {
    border-right: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options label > span {
    display: grid !important;
    width: 100% !important;
    min-height: 54px !important;
    place-items: center !important;
    color: inherit !important;
    border: 1px solid transparent !important;
    border-bottom-width: 3px !important;
    border-radius: 10px !important;
    line-height: 1.2 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options label:has(input[type="radio"]:checked) > span {
    color: #005cff !important;
    background: #eef5ff !important;
    border-color: #0f172a !important;
    border-bottom-color: #005cff !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-main-leg {
    order: 2 !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-date {
    order: 3 !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-return-date {
    order: 4 !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-traveler {
    order: 5 !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-extra-leg.home-flight-route-pair {
    order: 6 !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-extra-date {
    order: 7 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs {
    order: 8 !important;
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-add-leg {
    order: 9 !important;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search {
    order: 10 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity > .home-flight-traveler {
    order: 10 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity > .btn-search {
    order: 11 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair {
    position: relative !important;
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 118px !important;
    margin: 16px 18px 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair {
    margin-top: 42px !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair::before {
    content: "Flight " attr(data-leg) !important;
    position: absolute !important;
    top: -30px !important;
    left: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    color: #8b95a6 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .panel-search-field[data-active-tab="flights"]:not(.is-flight-multicity) .home-flight-route-pair::before {
    content: none !important;
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) 18px !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 4px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 10px 66px 10px 18px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-from {
    border-right: 0 !important;
    border-bottom: 1px solid #e4ecf8 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-to {
    border-left: 0 !important;
    border-bottom: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field::before {
    content: "" !important;
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    width: 22px !important;
    height: 22px !important;
    background: #0c8bdc !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16l20-5-20-5 5 5-5 5z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16l20-5-20-5 5 5-5 5z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-to::before {
    transform: rotate(180deg) !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field::after {
    content: "" !important;
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    justify-self: end !important;
    width: 9px !important;
    height: 9px !important;
    border-right: 1.5px solid #64748b !important;
    border-bottom: 1.5px solid #64748b !important;
    transform: rotate(45deg) translateY(-2px) !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field > span {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    margin: 0 !important;
    color: #152033 !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair select,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair select:not(.searchable-native-select),
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input {
    position: relative !important;
    inset: auto !important;
    min-height: 24px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    appearance: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select-input::placeholder {
    color: #8d98aa !important;
    opacity: 1 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    left: auto !important;
    z-index: 8 !important;
    display: grid !important;
    width: 42px !important;
    height: 42px !important;
    place-items: center !important;
    color: #0c8bdc !important;
    background: #f6f9ff !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transform: translateY(-50%) !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap svg,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap i {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap::before {
    content: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-date,
  .panel-search-field[data-active-tab="flights"] .home-flight-return-date,
  .panel-search-field[data-active-tab="flights"] .home-flight-extra-date,
  .panel-search-field[data-active-tab="flights"] .home-flight-traveler {
    grid-column: 1 / -1 !important;
    min-height: 74px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    border: 0 !important;
    border-top: 1px solid #edf2f8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-date,
  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip > .home-flight-date {
    grid-column: 1 / span 6 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip > .home-flight-return-date {
    grid-column: 7 / -1 !important;
    border-left: 1px solid #edf2f8 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-traveler {
    grid-column: 7 / -1 !important;
    border-left: 1px solid #edf2f8 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity > .home-flight-traveler {
    grid-column: 1 / -1 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-filter-label {
    display: block !important;
    padding: 13px 18px 2px !important;
    color: #8b95a6 !important;
    font-size: 0.84rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .stay-date-range,
  .panel-search-field[data-active-tab="flights"] .traveler-selector {
    width: 100% !important;
    height: auto !important;
    min-height: 46px !important;
  }

  .panel-search-field[data-active-tab="flights"] .stay-date-range-button,
  .panel-search-field[data-active-tab="flights"] .traveler-toggle {
    display: flex !important;
    width: 100% !important;
    min-height: 46px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 0 18px 13px !important;
    overflow: hidden !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  .panel-search-field[data-active-tab="flights"] .stay-date-range-button svg,
  .panel-search-field[data-active-tab="flights"] .traveler-toggle svg {
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    color: #005cff !important;
  }

  .panel-search-field[data-active-tab="flights"] .stay-date-range-button span,
  .panel-search-field[data-active-tab="flights"] .traveler-toggle [data-traveler-label] {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #0f172a !important;
    font-weight: 500 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .panel-search-field[data-active-tab="flights"] .traveler-toggle::after {
    content: "" !important;
    width: 9px !important;
    height: 9px !important;
    margin-left: auto !important;
    border-right: 1.5px solid #64748b !important;
    border-bottom: 1.5px solid #64748b !important;
    transform: rotate(45deg) translateY(-2px) !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-remove-slot {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .flight-remove-leg {
    position: absolute !important;
    top: -38px !important;
    right: 20px !important;
    z-index: 6 !important;
    display: grid !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    place-items: center !important;
    color: #ef3340 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transform: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .flight-remove-leg svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .flight-remove-leg:hover {
    color: #dc2626 !important;
    background: transparent !important;
    border: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-add-leg {
    order: 9 !important;
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 10px 18px 14px !important;
    padding: 0 18px !important;
    color: #005cff !important;
    background: #ffffff !important;
    border: 1px solid #005cff !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-add-leg span {
    display: inline-grid !important;
    width: 18px !important;
    height: 18px !important;
    place-items: center !important;
    border: 1px solid currentColor !important;
    border-radius: 999px !important;
    font-size: 0.86rem !important;
    line-height: 1 !important;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search {
    grid-column: 1 / -1 !important;
    justify-self: end !important;
    display: inline-flex !important;
    width: 220px !important;
    min-width: 0 !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 18px 16px !important;
    padding: 0 22px !important;
    color: #ffffff !important;
    background: #005cff !important;
    border: 1px solid #005cff !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search:hover {
    background: #004fd8 !important;
    border-color: #004fd8 !important;
    box-shadow: none !important;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-date,
  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-traveler,
  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip > .home-flight-date,
  .panel-search-field[data-active-tab="flights"].is-flight-roundtrip > .home-flight-return-date {
    grid-column: 1 / -1 !important;
    border-left: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .btn-search {
    justify-self: stretch !important;
    width: auto !important;
  }
}

@media (min-width: 821px) {
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-route-pair::before {
    content: "Flight " attr(data-leg) !important;
    position: absolute !important;
    top: -30px !important;
    left: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    color: #8b95a6 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-trip-options,
  .panel-search-field[data-active-tab="flights"] > .home-flight-route-pair,
  .panel-search-field[data-active-tab="flights"] > .home-flight-date,
  .panel-search-field[data-active-tab="flights"] > .home-flight-return-date,
  .panel-search-field[data-active-tab="flights"] > .home-flight-traveler,
  .panel-search-field[data-active-tab="flights"] > .home-flight-add-leg,
  .panel-search-field[data-active-tab="flights"] > .btn-search,
  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs,
  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs > .home-flight-route-pair,
  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs > .home-flight-extra-date {
    grid-row: auto !important;
  }

  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity > .home-flight-date,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity > .home-flight-extra-date,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-dynamic-legs > .home-flight-extra-date,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity > .home-flight-traveler {
    grid-column: 1 / -1 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap svg,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap i,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-swap svg,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-swap i {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-swap::before,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-swap::before {
    content: "\21F5" !important;
    display: block !important;
    color: #0c8bdc !important;
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transform: translateY(-1px) !important;
  }
}

@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair {
    min-height: 104px !important;
    margin-top: 14px !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair {
    margin-top: 34px !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair::before,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-route-pair::before {
    top: -26px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field {
    min-height: 51px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-date,
  .panel-search-field[data-active-tab="flights"] .home-flight-return-date,
  .panel-search-field[data-active-tab="flights"] .home-flight-extra-date,
  .panel-search-field[data-active-tab="flights"] .home-flight-traveler {
    min-height: 62px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-filter-label {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .stay-date-range,
  .panel-search-field[data-active-tab="flights"] .traveler-selector {
    min-height: 40px !important;
  }

  .panel-search-field[data-active-tab="flights"] .stay-date-range-button,
  .panel-search-field[data-active-tab="flights"] .traveler-toggle {
    min-height: 40px !important;
    padding-bottom: 10px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .flight-remove-leg {
    top: -33px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .flight-remove-leg i {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    color: currentColor !important;
    font-size: 20px !important;
    line-height: 20px !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-add-leg {
    min-height: 40px !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }

  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-date,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-return-date,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-extra-date,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-traveler {
    min-height: 62px !important;
  }

  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-date .stay-date-range,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-return-date .stay-date-range,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-extra-date .stay-date-range,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-date .stay-date-range-button,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-return-date .stay-date-range-button,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-extra-date .stay-date-range-button,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-traveler .traveler-selector,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-traveler .traveler-toggle {
    min-height: 40px !important;
    height: auto !important;
  }
}

/* 20260721 final two-mode desktop flight behavior */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"] .home-flight-trip-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-trip-options {
    order: 1 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-main-leg {
    order: 2 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-date {
    order: 3 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-return-date {
    order: 4 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-traveler {
    order: 5 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-extra-leg.home-flight-route-pair {
    order: 6 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-extra-date {
    order: 7 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-dynamic-legs,
  body[data-page="flights"] .flight-page-home-form.panel-search-field > .home-flight-dynamic-legs {
    order: 8 !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs > .home-flight-route-pair {
    order: 1 !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-dynamic-legs > .home-flight-extra-date {
    order: 2 !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .home-flight-add-leg {
    order: 9 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"] > .btn-search {
    order: 11 !important;
    grid-row: auto !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-date {
    grid-column: 1 / span 6 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-return-date {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    grid-column: 7 / -1 !important;
    border-left: 1px solid #edf2f8 !important;
  }

  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-oneway > .home-flight-return-date {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    grid-column: 7 / -1 !important;
    border-left: 1px solid #edf2f8 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-traveler {
    grid-column: 1 / -1 !important;
    border-left: 0 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity > .home-flight-return-date {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity > .home-flight-traveler {
    order: 10 !important;
    grid-column: 1 / -1 !important;
  }

  body[data-page="flights"]:has(.flight-page-home-form.is-flight-multicity) .whatsapp-float,
  body[data-page="flights"] .whatsapp-float {
    top: auto !important;
    bottom: 84px !important;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-date,
  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .home-flight-return-date {
    grid-column: 1 / -1 !important;
    border-left: 0 !important;
  }
}

/* 20260721 use plane icons in desktop flight route rows */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field::before,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-field::before {
    content: "" !important;
    width: 24px !important;
    height: 24px !important;
    background: #0c8bdc !important;
    transform: none !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-to::before,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-to::before {
    transform: none !important;
  }
}

/* 20260721 final desktop slider/button cleanup */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range,
  body[data-page="packages"] .package-filters.promotion-filters .rebuilt-price-range,
  body[data-page="ready-packages"] .package-filters.promotion-filters .rebuilt-price-range,
  body[data-page="promotions"] .package-filters.promotion-filters .rebuilt-price-range {
    box-shadow: none !important;
    filter: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-handle,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-handle:active,
  .panel-search-field[data-active-tab="packages"] .home-price-range-control .rebuilt-price-range .price-range-handle:focus,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-handle,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-handle:active,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .rebuilt-price-range .price-range-handle:focus,
  body[data-page="packages"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle,
  body[data-page="packages"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle:active,
  body[data-page="packages"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle:focus,
  body[data-page="ready-packages"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle,
  body[data-page="ready-packages"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle:active,
  body[data-page="ready-packages"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle:focus,
  body[data-page="promotions"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle,
  body[data-page="promotions"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle:active,
  body[data-page="promotions"] .package-filters.promotion-filters .rebuilt-price-range .price-range-handle:focus {
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-webkit-slider-thumb,
  body[data-page="packages"] .package-filters.promotion-filters .package-price-range-field .hotel-search-range::-webkit-slider-thumb,
  body[data-page="ready-packages"] .package-filters.promotion-filters .package-price-range-field .hotel-search-range::-webkit-slider-thumb,
  body[data-page="promotions"] .package-filters.promotion-filters .package-price-range-field .hotel-search-range::-webkit-slider-thumb {
    box-shadow: none !important;
    filter: none !important;
  }

  .panel-search-field[data-active-tab="packages"] .home-price-range-control .hotel-search-range::-moz-range-thumb,
  .panel-search-field[data-active-tab="promotions"] .home-price-range-control .hotel-search-range::-moz-range-thumb,
  body[data-page="packages"] .package-filters.promotion-filters .package-price-range-field .hotel-search-range::-moz-range-thumb,
  body[data-page="ready-packages"] .package-filters.promotion-filters .package-price-range-field .hotel-search-range::-moz-range-thumb,
  body[data-page="promotions"] .package-filters.promotion-filters .package-price-range-field .hotel-search-range::-moz-range-thumb {
    box-shadow: none !important;
    filter: none !important;
  }

  .panel-search-field[data-active-tab="flights"]:not(.is-flight-multicity) .home-flight-add-leg,
  .panel-search-field[data-active-tab="flights"] .home-flight-add-leg[hidden] {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-oneway > .btn-search,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-oneway > .btn-search {
    grid-column: 1 / -1 !important;
    justify-self: end !important;
    width: min(240px, calc(100% - 36px)) !important;
    min-height: 48px !important;
    height: 48px !important;
    max-height: 48px !important;
    margin: 0 18px 16px 0 !important;
    padding: 0 22px !important;
  }
}

/* 20260721 north-facing flight icons and text remove action */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field::before,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-field::before,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-to::before,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-to::before {
    transform: rotate(-45deg) !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair .flight-remove-leg,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-route-pair .flight-remove-leg,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot .flight-remove-leg,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-remove-slot .flight-remove-leg {
    position: absolute !important;
    top: -35px !important;
    right: 0 !important;
    z-index: 6 !important;
    transform: none !important;
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    color: #ef3340 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair .flight-remove-leg svg,
  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair .flight-remove-leg i,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-route-pair .flight-remove-leg svg,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-route-pair .flight-remove-leg i {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-route-pair .flight-remove-leg::before,
  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-multicity .home-flight-route-pair .flight-remove-leg::before {
    content: "Remove Flight" !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .home-flight-remove-slot {
    display: none !important;
  }

  .panel-search-field[data-active-tab="flights"].is-flight-multicity .flight-remove-leg:hover {
    color: #dc2626 !important;
    background: transparent !important;
    border: 0 !important;
  }
}

/* 20260721 compact homepage flight tabs and traveler alignment */
@media (min-width: 821px) {
  body[data-page="home"] .panel-search-field[data-active-tab="flights"] .home-flight-trip-options {
    min-height: 44px !important;
    height: 44px !important;
  }

  body[data-page="home"] .panel-search-field[data-active-tab="flights"] .home-flight-trip-options label,
  body[data-page="home"] .panel-search-field[data-active-tab="flights"] .home-flight-trip-options label > span {
    min-height: 44px !important;
    height: 44px !important;
  }

  body[data-page="flights"] .flight-page-home-form.panel-search-field > .home-flight-traveler {
    justify-self: start !important;
    text-align: left !important;
  }

  body[data-page="flights"] .flight-page-home-form.panel-search-field.is-flight-oneway > .home-flight-traveler {
    grid-column: 1 / span 6 !important;
    border-left: 0 !important;
  }

  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-traveler .traveler-toggle {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-add-leg span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    transform: none !important;
  }
}

/* 20260722 keep flight place dropdowns clickable */
@media (min-width: 821px) {
  .panel-search-field[data-active-tab="flights"],
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select,
  body[data-page="flights"] .flight-page-home-form.panel-search-field,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-field,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .searchable-select {
    overflow: visible !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field:focus-within,
  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .route-field:has(.searchable-select.open),
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-field:focus-within,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .route-field:has(.searchable-select.open) {
    z-index: 60 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select.open,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .searchable-select.open {
    position: relative !important;
    z-index: 70 !important;
  }

  .panel-search-field[data-active-tab="flights"] .home-flight-route-pair .searchable-select.open .searchable-select-list,
  body[data-page="flights"] .flight-page-home-form.panel-search-field .home-flight-route-pair .searchable-select.open .searchable-select-list {
    z-index: 999 !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
  }
}

/* Keep the dedicated packages page filter visually identical to the homepage Packages tab. */
@media (min-width: 821px) {
  body[data-page="packages"] .package-results-section > .section-inner {
    max-width: 1300px !important;
  }

  body[data-page="packages"] .package-page-home-filter {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: end !important;
    column-gap: 16px !important;
    row-gap: 20px !important;
    width: 100% !important;
    margin: 0 0 30px !important;
    padding: 24px 20px 22px !important;
    background: #ffffff !important;
    border: 1px solid #dbe7f7 !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-field {
    display: grid !important;
    align-content: start !important;
    gap: 8px !important;
    min-width: 0 !important;
    min-height: 104px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-field > span {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    color: #334a6a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transform: none !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-field > span i,
  body[data-page="packages"] .package-page-home-filter .home-package-field > span svg {
    width: 20px !important;
    height: 20px !important;
    color: #52698c !important;
    stroke-width: 2 !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-field select,
  body[data-page="packages"] .package-page-home-filter .home-package-field input:not([type="range"]),
  body[data-page="packages"] .package-page-home-filter .home-package-field .searchable-select-input,
  body[data-page="packages"] .package-page-home-filter .home-package-city-dropdown summary {
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 18px !important;
    color: #52627a !important;
    background: #f8fbff !important;
    border: 1px solid #cad9ee !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
  }

  body[data-page="packages"] .package-page-home-filter .searchable-select,
  body[data-page="packages"] .package-page-home-filter .home-package-city-dropdown {
    width: 100% !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-city-dropdown summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-city-dropdown summary span {
    color: #52627a !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-price {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-price > .home-price-heading {
    position: relative !important;
    top: 2px !important;
    transform: translateY(9px) !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-price-range-control {
    display: grid !important;
    grid-column: 1 / -1 !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-price-range-control .price-range-caption {
    display: grid !important;
    grid-template-columns: auto minmax(82px, 1fr) auto !important;
    align-items: center !important;
    direction: ltr !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #52627a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    transform: translateY(5px) !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-price-range-control .price-range-caption span:first-child {
    grid-column: 1 !important;
    justify-self: start !important;
    text-align: left !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-price-range-control .price-range-caption span:last-child {
    grid-column: 3 !important;
    justify-self: end !important;
    text-align: right !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-price-range-control .price-range-caption strong[data-hotel-price-range-label] {
    color: #001026 !important;
    display: block !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    grid-column: 2 !important;
    justify-self: center !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-price-range-control .hotel-search-dual-range,
  body[data-page="packages"] .package-page-home-filter .home-price-range-control .rebuilt-price-range {
    position: relative !important;
    display: block !important;
    width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 10px 18px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-actions {
    display: flex !important;
    grid-column: 1 / 3 !important;
    grid-row: 3 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    justify-self: start !important;
    align-self: start !important;
    gap: 12px !important;
    margin: -12px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-reset,
  body[data-page="packages"] .package-page-home-filter .home-package-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 132px !important;
    min-width: 132px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-reset {
    color: #062f50 !important;
    background: #ffffff !important;
    border: 1px solid #c9d8ef !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-submit {
    color: #ffffff !important;
    background: #2f62ff !important;
    border: 0 !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  body[data-page="packages"] .package-page-home-filter {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }

  body[data-page="packages"] .package-page-home-filter .home-package-actions {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    margin-top: 0 !important;
  }
}

@media (min-width: 821px) {
  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-package-field {
    min-height: 104px !important;
  }

  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .package-city-dropdown summary {
    height: 58px !important;
    min-height: 58px !important;
    border-radius: 16px !important;
  }

  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-price-range-control .price-range-caption strong[data-hotel-price-range-label] {
    font-weight: 400 !important;
  }

  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-package-field:has(.home-price-range-control) > .home-price-heading,
  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-package-field:has(.home-price-range-control) > .home-price-heading [data-price-filter-heading-text] {
    color: #52627a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }

  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-package-field:has(.home-price-range-control) > .home-price-heading > i,
  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-package-field:has(.home-price-range-control) > .home-price-heading > svg {
    color: #52698c !important;
    font-size: 18.4px !important;
    width: 18.4px !important;
    height: 18.4px !important;
    top: auto !important;
  }

  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-price-range-control .price-range-caption {
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
  }

  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-price-range-control .hotel-search-dual-range,
  body[data-page="packages"] form.filters.package-filters.promotion-filters.package-page-home-filter .home-price-range-control .rebuilt-price-range {
    width: 100% !important;
    max-width: 100% !important;
    margin: -4px 0 0 !important;
    transform: translateY(-4px) !important;
  }
}

