/* Homepage redesign — scoped to .home-v2 only. Do not load on other pages. */
.home-v2 {
  --hv2-navy: #1e2a5a;
  --hv2-navy-deep: #0b1f3a;
  --hv2-orange: #f27036;
  --hv2-orange-hover: #e05f24;
  --hv2-peach: #fdf2eb;
  --hv2-peach-2: #f8e6da;
  --hv2-text: #2c3347;
  --hv2-muted: #6b7280;
  --hv2-radius: 16px;
  --hv2-radius-sm: 12px;
  --hv2-shadow: none;
}

.home-v2,
.home-v2 * {
  box-sizing: border-box;
}

.home-v2 {
  /* Do not clip hero dropdowns / glass; page-level x-scroll handled elsewhere if needed */
  overflow-x: visible;
  color: var(--hv2-text);
}

/* ---- Header polish (visual only; shared markup unchanged) ---- */
.home-v2 nav.navbar.navbar-default {
  background: #fff !important;
  border: none !important;
  box-shadow: 0 1px 0 rgba(30, 42, 90, 0.06);
}

.home-v2 nav.navbar .navbar-nav > li > a {
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  color: var(--hv2-navy) !important;
  text-transform: uppercase;
}

.home-v2 nav.navbar a[href^="tel"] {
  color: var(--hv2-orange) !important;
  font-weight: 700;
}

/* Header: stop 24x7 badge overlapping phone / hours at mid desktop widths */
.home-v2 .support_head:not(.mobile_) {
  margin-right: 0;
  float: left;
  flex-shrink: 0;
  max-width: 100%;
}

.home-v2 .support_head:not(.mobile_) + .Destop1,
.home-v2 .Destop1 {
  display: inline-block;
  vertical-align: top;
  margin-left: 8px;
  min-width: 0;
  max-width: 100%;
  position: relative;
  z-index: 3;
}

.home-v2 .Destop1 #number,
.home-v2 #number {
  min-width: 0;
  max-width: 100%;
}

.home-v2 #number a.mobile,
.home-v2 #number p {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 992px) and (max-width: 1199px) {
  /* Badge overlaps phone at ~1140px — hide desktop badge, keep phone + hours */
  .home-v2 .support_head:not(.mobile_) {
    display: none;
  }

  .home-v2 .Destop1 {
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .home-v2 .support_head:not(.mobile_) img {
    width: 150px;
    max-width: 100%;
    padding-right: 8px;
  }
}

/* ---- Hero (use live slider webps; no navy wash over the search area) ---- */
.home-v2 .search__engine {
  height: auto;
  min-height: clamp(420px, 62vh, 640px);
  padding: 0 0 clamp(28px, 5vw, 56px);
  background-color: transparent;
  background-image: url(../../images/slider/flycheapestonline_lm.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 30;
  overflow: visible;
}

/* Heading contrast only — never covers the search panel */
.home-v2 .search__engine::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(15, 30, 60, 0.35), transparent);
  pointer-events: none;
  z-index: 1;
}

/*
  Mobile hero photo: style-new.css originally forces
  .search__engine { background: #002537 !important } at max-width 576px
  (solid navy, no image). Homepage must re-assert the photo with !important.
*/
@media (max-width: 991px) {
  .home-v2 .search__engine {
    background-color: transparent !important;
    background-image: url(../../images/slider/flycheapestonline_md.webp) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
}

@media (max-width: 575px) {
  .home-v2 .search__engine {
    background-image: url(../../images/slider/flycheapestonline_sm.webp) !important;
  }
}

/*
  Neutralize legacy hero .overlay.
  WHY !important: flightSearchEngine.ascx sets
  .overlay { background-color: rgba(0,0,0,.4) !important } (shared control —
  cannot remove without changing non-homepage pages). Homepage must win here
  or the sharp-cornered dark rect sits behind the rounded glass.
*/
.home-v2 .search__engine .overlay,
.home-v2 section.search__engine > .overlay,
.home-v2 .search__engine div.overlay {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/*
  Homepage hero: hide headline/subcopy. Do NOT use .banner-content-wrap as a
  spacer — shared CSS sets it display:none under 991px, so the box floated up.
  Offset the search container itself (always present).
*/
.home-v2 .search__engine .banner-content-wrap,
.home-v2 .search__engine .banner-content {
  display: none !important;
}

.home-v2 .search__engine > .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  overflow: visible;
  padding-top: 0;
}

/* Desktop (≥992px) — restore the (no-headline) vertical slot from image 2 */
@media (min-width: 992px) {
  .home-v2 .search__engine > .container {
    padding-top: clamp(160px, 22vh, 240px);
  }
}

/*
  Glass panel — exactly ONE backdrop-filter (on ::before only).
  Beats shared .search__engine .styled { background:#08244e99 } via higher specificity.
  No overflow:hidden (dropdowns must not clip). No JS wrapper.
*/
.home-v2 .search__engine .styled {
  position: relative;
  isolation: isolate;
  margin: 12px auto 0;
  width: 100%;
  max-width: 100%;
  padding: clamp(14px, 2vw, 22px) clamp(14px, 2.2vw, 24px);
  background: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  overflow: visible;
  z-index: 40;
}

.home-v2 .search__engine .styled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  /* Slightly more transparent peach glass */
  background: rgba(253, 242, 235, 0.20);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  /* Contain Chrome backdrop-filter paint to the rounded box (no outer dark rect) */
  clip-path: inset(0 round 24px);
  -webkit-clip-path: inset(0 round 24px);
}

.home-v2 .search__engine .styled::after {
  content: none;
  display: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-v2 .search__engine .styled::before {
    background: rgba(253, 242, 235, 0.72);
  }
}

@media (max-width: 991px) {
  .home-v2 .search__engine .styled {
    padding: 14px 12px;
  }
}

.home-v2 .search__engine .flight__type {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 12px !important;
  min-height: 40px;
}

/* Remove "Flight" label; radios sit on the left */
.home-v2 .search__engine .flight__type > span {
  display: none !important;
}

.home-v2 .search__engine .flight__type > div {
  flex: 0 1 auto;
  min-width: 0;
  margin-right: auto;
}

.home-v2 .search__engine .custom__styled__radio {
  margin: 0 !important;
  width: auto !important;
  border-collapse: collapse !important;
}

.home-v2 .search__engine .custom__styled__radio tbody,
.home-v2 .search__engine .custom__styled__radio tr {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.15rem 0.35rem;
}

.home-v2 .search__engine .custom__styled__radio tr td {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.3rem;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: middle !important;
  white-space: nowrap;
  float: none !important;
}

/* Custom radios — orange inner dot stays inside the ring (no spill) */
.home-v2 .search__engine .custom__styled__radio tr td [type=radio],
.home-v2 .search__engine .custom__styled__radio input[type="radio"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  accent-color: transparent !important;
  display: inline-block !important;
  position: static !important;
  float: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 0 0.2em 0 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  flex-shrink: 0;
  box-sizing: border-box !important;
  border: 2px solid var(--hv2-orange) !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  background-image: none !important;
  background-clip: padding-box !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  cursor: pointer;
}

.home-v2 .search__engine .custom__styled__radio tr td [type=radio]:checked,
.home-v2 .search__engine .custom__styled__radio input[type="radio"]:checked {
  /* white ring + orange core via inset shadows — never paints outside border */
  background-color: #fff !important;
  background-image: none !important;
  border-color: var(--hv2-orange) !important;
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 7px var(--hv2-orange) !important;
}

/* Beat ascx 20px/15px radio sizing so fill stays centered */
.home-v2 .search__engine .custom__styled__radio tr td [type=radio],
.home-v2 .search__engine .custom__styled__radio tr td input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
}

.home-v2 .search__engine .custom__styled__radio tr td label {
  display: inline-block !important;
  position: static !important;
  float: none !important;
  font-size: clamp(0.8rem, 2.8vw, 1rem) !important;
  font-weight: 600;
  color: var(--hv2-navy) !important;
  margin: 0 0.55rem 0 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

/* Kill decorative connector that creates the swap gap on mobile */
.home-v2 .search__engine .track_loc {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile right-edge "24x7 Support" WhatsApp tab (matches support-mobile.png) */
@media (max-width: 991px) {
  .home-v2 a.support_head.mobile_,
  .home-v2 .support_head.mobile_ {
    display: block !important;
    position: fixed !important;
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: 42px !important;
    height: 140px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
    z-index: 9990 !important;
    float: none !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .home-v2 a.support_head.mobile_ img,
  .home-v2 .support_head.mobile_ img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain !important;
    display: block !important;
  }
}

@media (min-width: 992px) {
  .home-v2 a.support_head.mobile_,
  .home-v2 .support_head.mobile_ {
    display: none !important;
  }
}

/* Economy: no border, blends into peach panel; keep level with radios */
.home-v2 .search__engine .flight__type > select {
  width: auto !important;
  min-width: 110px;
  max-width: 160px;
  min-height: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  padding: 0 28px 0 10px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--hv2-navy) !important;
  font-size: 16px !important;
  font-weight: 600;
  flex: 0 0 auto;
  align-self: center !important;
  position: static !important;
  top: auto !important;
  margin: 0 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e2a5a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  cursor: pointer;
  vertical-align: middle;
}

.home-v2 .search__engine .styled > .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 10px 12px;
  overflow: visible !important;
}

.home-v2 .search__engine .styled > .row > [class*="col-"] {
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: visible !important;
}

.home-v2 .search__engine #switch__ {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  position: relative !important;
}

.home-v2 .search__engine .input__styled_icon {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  margin-bottom: 0 !important;
}

.home-v2 .search__engine .refresh {
  flex: 0 0 auto;
  margin: 0 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 2;
  cursor: pointer;
}

.home-v2 .search__engine .styled > .row > .col-md-5 {
  flex: 1 1 280px;
  max-width: 100%;
}

.home-v2 .search__engine .styled > .row > .col-md-3 {
  flex: 1 1 200px;
  max-width: 100%;
}

.home-v2 .search__engine .styled > .row > .col-md-2 {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 100%;
}

/* Passenger column: enough room for "1 Adt, 0 Chd, 0 Inf" */
.home-v2 .search__engine .styled > .row > .col-md-2:has(#txtTotalPax),
.home-v2 .search__engine .styled > .row > .col-md-2:has(.manage__traveller) {
  flex: 1.2 1 190px;
  min-width: 180px;
  max-width: 260px;
}

.home-v2 .search__engine .styled > .row > .col-md-2:last-child {
  flex: 0 1 170px;
}

.home-v2 .search__engine .d-flex {
  display: flex !important;
  width: 100%;
  gap: 8px;
  align-items: center !important;
}

/* Field wrappers match input height so icons stay vertically centered at every size */
.home-v2 .search__engine .icon_st,
.home-v2 .search__engine .input__styled_icon {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  position: relative !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  align-self: center !important;
  overflow: visible !important;
}

/* Field inputs only (not cabin select) — ellipsis if value exceeds field */
    .home-v2 .search__engine .styled > .row input,
    .home-v2 .search__engine .input__styled_icon input,
    .home-v2 .search__engine .icon_st input {
        border-radius: 10px !important;
        border: 1px solid #e5e7eb !important;
        background: #fff !important;
        color: var(--hv2-text) !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        font-weight: 600;
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 16px;
    }

/* Date + traveller: room for right-side icons */
.home-v2 .search__engine .icon_st input#from,
.home-v2 .search__engine .icon_st input#to,
.home-v2 .search__engine .d-flex .icon_st input,
.home-v2 .search__engine .icon_st input#txtTotalPax,
.home-v2 .search__engine #txtTotalPax,
.home-v2 .search__engine .input__styled_icon input {
  padding-left: 12px !important;
  padding-right: 40px !important;
}

/* Passenger summary: never clip mid-word; ellipsis + full value in native title/tooltip */
.home-v2 .search__engine #txtTotalPax {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2 .search__engine input:focus {
  color: var(--hv2-text) !important;
  outline: 2px solid rgba(242, 112, 54, 0.35);
}

/* All search-field icons: right side, vertically centered in the 48px field */
.home-v2 .search__engine .input__styled_icon i,
.home-v2 .search__engine .input__styled_icon .fa,
.home-v2 .search__engine .icon_st i,
.home-v2 .search__engine .icon_st .fa,
.home-v2 .search__engine .icon_st > i.fa-user,
.home-v2 .search__engine .icon_st i.fa-user,
.home-v2 .search__engine .icon_st > i.fa-calendar,
.home-v2 .search__engine .icon_st i.fa-calendar,
.home-v2 .search__engine .icon_st:has(#txtTotalPax) > i {
  color: var(--hv2-orange) !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  right: 12px !important;
  width: 1.15em !important;
  height: auto !important;
  margin: auto 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 1.15rem !important;
  transform: none !important;
  -webkit-transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  z-index: 2 !important;
  pointer-events: none;
}

/* Passengers dropdown — fully outside search panel edge, never clipped */
.home-v2 .search__engine .styled > .row {
  overflow: visible !important;
  position: relative;
  z-index: 2;
}

.home-v2 .search__engine .styled > .row > .col-md-2 {
  position: relative !important;
  overflow: visible !important;
  z-index: 60;
}

.home-v2 .search__engine .styled > .row > .col-md-2 .icon_st {
  z-index: 1;
}

.home-v2 .search__engine .manage__traveller {
  display: none;
  position: absolute !important;
  /* Same as desktop: open below the field (not upward) */
  top: calc(100% + 8px) !important;
  bottom: auto !important;
  left: auto !important;
  right: 0 !important;
  width: 280px !important;
  max-width: min(280px, calc(100vw - 24px)) !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(15, 25, 45, 0.22) !important;
  z-index: 300 !important;
  padding: 4px 0 8px !important;
  overflow: visible !important;
}

/* Passenger col above CTA so the panel isn’t cut by the button */
.home-v2 .search__engine .styled > .row > .col-md-2:has(.manage__traveller) {
  position: relative !important;
  z-index: 80 !important;
  overflow: visible !important;
}

.home-v2 .search__engine .styled > .row > .col-md-2:last-child {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .home-v2 .search__engine .styled > .row > .col-md-5 {
    margin-right: 4px;
  }
  .home-v2 .search__engine .styled > .row > .col-md-3 {
    margin-left: 4px;
  }
}

.home-v2 .search__engine .manage__traveller .d-flex,
.home-v2 .search__engine .manage__traveller .d-flex.align-items-center {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid #eee !important;
  box-sizing: border-box !important;
}

.home-v2 .search__engine .manage__traveller .d-flex h4 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--hv2-navy) !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

.home-v2 .search__engine .manage__traveller .d-flex h4 span {
  color: var(--hv2-muted) !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  margin-right: 0 !important;
}

.home-v2 .search__engine .manage__traveller .d-flex button {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  color: var(--hv2-navy) !important;
  line-height: 1 !important;
  padding: 0 !important;
  font-size: 1.1rem !important;
  cursor: pointer;
}

.home-v2 .search__engine .manage__traveller .d-flex input,
.home-v2 .search__engine .manage__traveller .d-flex .quantity__input,
.home-v2 .search__engine .manage__traveller .d-flex button + input {
  flex: 0 0 36px !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: var(--hv2-text) !important;
  line-height: 32px !important;
}

.home-v2 .search__engine .manage__traveller .red__btn,
.home-v2 .search__engine .manage__traveller button.red__btn {
  display: block !important;
  width: calc(100% - 24px) !important;
  margin: 8px 12px 4px !important;
  background: var(--hv2-orange) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 10px !important;
  min-height: 42px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Keep datepicker on-screen (appended to body; homepage only via body class) */
body.home-v2-page #ui-datepicker-div {
  z-index: 99999 !important;
  max-width: min(320px, calc(100vw - 16px)) !important;
  box-sizing: border-box !important;
}

.home-v2 .search__engine .refresh i {
  background: var(--hv2-orange) !important;
}

.home-v2 .search__engine .lnkbttnSearch,
.home-v2 .search__engine .hv2-search-btn,
.home-v2 .search__engine input.lnkbttnSearch.hv2-search-btn,
.home-v2 input.lnkbttnSearch,
.home-v2 .search__engine button.lnkbttnSearch {
  background: #f27036 !important;
  background-color: #f27036 !important;
  background-image: none !important;
  border: 0 !important;
  border-color: #f27036 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  min-height: 48px !important;
  height: 48px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  white-space: normal !important;
  width: 100% !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  padding: 8px 10px !important;
  -webkit-appearance: none;
  appearance: none;
}

.home-v2 .search__engine .lnkbttnSearch:hover,
.home-v2 .search__engine .hv2-search-btn:hover,
.home-v2 .search__engine input.lnkbttnSearch:hover,
.home-v2 .search__engine button:hover.lnkbttnSearch {
  background: #e05f24 !important;
  background-color: #e05f24 !important;
  border-color: #e05f24 !important;
  color: #ffffff !important;
}

.home-v2 .mobile__promotion {
  display: none !important;
}

@media (max-width: 991px) {
  .home-v2 .search__engine .styled {
    padding: 12px 14px;
  }

  .home-v2 .search__engine .styled > .row > [class*="col-"] {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px !important;
  }

  .home-v2 .search__engine .styled > .row > .col-md-2:last-child {
    flex: 1 1 100% !important;
  }

  /* Gap between arrival/cities block and the date row */
  .home-v2 .search__engine .styled > .row {
    gap: 12px !important;
  }

  .home-v2 .search__engine .styled > .row > .col-md-5 {
    margin-bottom: 4px !important;
  }

  .home-v2 .search__engine .styled > .row > .col-md-3.d-flex,
  .home-v2 .search__engine .styled > .row > .col-md-3.p-lg-0 {
    margin-top: 8px !important;
    margin-bottom: 12px !important;
    gap: 10px !important;
  }

  .home-v2 .search__engine #switch__ {
    margin-bottom: 8px !important;
  }

  /* Keep field wrappers = input height on tablet/mobile so icons stay centered */
  .home-v2 .search__engine .icon_st,
  .home-v2 .search__engine .input__styled_icon {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }

  .home-v2 .search__engine .input__styled_icon i,
  .home-v2 .search__engine .icon_st i,
  .home-v2 .search__engine .icon_st > i {
    left: auto !important;
    right: 12px !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: auto 0 !important;
    transform: none !important;
  }

  .home-v2 .search__engine #txtTotalPax {
    padding-left: 12px !important;
    padding-right: 40px !important;
  }

  .home-v2 .search__engine .manage__traveller {
    right: 0 !important;
    left: auto !important;
    width: min(280px, calc(100vw - 28px)) !important;
  }

  /* Cities stacked; swap tight between departure & arrival */
  .home-v2 .search__engine #switch__ {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 2px !important;
    margin: 0 !important;
    row-gap: 2px !important;
  }

  .home-v2 .search__engine #switch__ .input__styled_icon,
  .home-v2 .search__engine #switch__ .input__styled_icon > div,
  .home-v2 .search__engine #switch__ .input__styled_icon span,
  .home-v2 .search__engine #switch__ [id^="UpdatePanel"] {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  .home-v2 .search__engine #switch__ .input__styled_icon input {
    margin: 0 !important;
  }

  .home-v2 .search__engine .refresh {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    align-self: center !important;
    order: 0;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .home-v2 .search__engine .flight__type {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.4rem !important;
    padding: 0 0 10px !important;
    min-height: 40px !important;
    margin: 0 !important;
  }

  .home-v2 .search__engine .flight__type > select,
  .home-v2 .search__engine .flight__type .bootstrap-select {
    position: static !important;
    top: auto !important;
    width: auto !important;
    max-width: 40% !important;
    flex: 0 1 auto !important;
    font-size: clamp(0.8rem, 3.2vw, 0.95rem) !important;
    height: 36px !important;
    min-height: 36px !important;
    line-height: 36px !important;
    margin: 0 !important;
    align-self: center !important;
  }

  .home-v2 .search__engine .flight__type .bootstrap-select > .dropdown-toggle {
    height: 36px !important;
    padding: 0 28px 0 8px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--hv2-navy) !important;
    font-weight: 600 !important;
  }

  .home-v2 .search__engine .flight__type > div {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
  }

  .home-v2 .search__engine .styled > .row input,
  .home-v2 .search__engine .input__styled_icon input,
  .home-v2 .search__engine .icon_st input {
    font-size: max(16px, 0.95rem) !important;
    min-height: 46px !important;
    height: 46px !important;
  }

  .home-v2 .search__engine .custom__styled__radio tr td label,
  .home-v2 .search__engine .flight__type > select {
    font-size: clamp(0.78rem, 3.1vw, 0.95rem) !important;
  }

  .home-v2 .search__engine .lnkbttnSearch,
  .home-v2 .search__engine .hv2-search-btn {
    font-size: clamp(0.9rem, 3.5vw, 1.05rem) !important;
  }

  /* Support card: stack cleanly, no clipped headline */
  .home-v2 .hv2-support-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .home-v2 .hv2-support-card h2 {
    font-size: clamp(1.05rem, 5vw, 1.45rem) !important;
    white-space: normal !important;
  }

  .home-v2 .hv2-support-card p {
    white-space: normal !important;
    font-size: clamp(0.85rem, 3.4vw, 0.95rem) !important;
  }

  .home-v2 .hv2-support-actions {
    margin-left: 0;
    width: 100%;
    align-items: center;
    flex-wrap: nowrap;
  }

  .home-v2 .hv2-promo h2,
  .home-v2 .hv2-promo-sub {
    white-space: normal !important;
  }
}

@media (max-width: 575px) {
  .home-v2 .search__engine .flight__type > select,
  .home-v2 .search__engine .flight__type .bootstrap-select {
    max-width: 36% !important;
    min-width: 0 !important;
    padding-left: 2px !important;
    padding-right: 20px !important;
  }

  .home-v2 .search__engine .custom__styled__radio tr td label {
    margin-right: 0.35rem !important;
    font-size: clamp(0.75rem, 3.4vw, 0.88rem) !important;
  }

  .home-v2 .search__engine .d-flex {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .home-v2 .search__engine .d-flex .icon_st {
    flex: 1 1 calc(50% - 4px) !important;
  }

  .home-v2 .search__engine #switch__ + .d-flex {
    flex-wrap: wrap !important;
  }

  .home-v2 .search__engine #switch__ + .d-flex .icon_st input {
    margin-bottom: 0 !important;
  }

  .home-v2 .unpublished_deals {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Hide legacy icon row on homepage redesign */
.home-v2 .hv2-hide-legacy {
  display: none !important;
}

/* ---- Shared section helpers ---- */
.home-v2 .hv2-section,
.home-v2 .start__package,
.home-v2 .hv2-promo,
.home-v2 .hv2-payments,
.home-v2 .search__engine {
  clear: both;
  width: 100%;
  float: none;
}

.home-v2 .hv2-section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.home-v2 .hv2-section--peach {
  background: var(--hv2-peach);
}

.home-v2 .hv2-h2 {
  font-size: clamp(1.5rem, 3vw, 30px);
  font-weight: 800;
  color: var(--hv2-navy);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.home-v2 .hv2-sub {
  color: var(--hv2-muted);
  font-size: clamp(0.9rem, 1.4vw, 18px);
  margin: 0;
  max-width: 36ch;
}

.home-v2 .hv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: none;
  background: var(--hv2-orange);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  transition: background 0.2s ease;
  font-size: 18px
}

.home-v2 .hv2-btn:hover,
.home-v2 .hv2-btn:focus {
  background: var(--hv2-orange-hover);
  color: #fff !important;
  text-decoration: none !important;
}

.home-v2 .hv2-btn--ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
}

.home-v2 .hv2-btn--wa {
  background: #25d366;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  flex: 0 0 48px;
  align-self: center;
}

.home-v2 .hv2-btn--wa i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1;
  width: 1em;
  height: 1em;
  font-size: inherit;
}

/* ---- Support banner (below search stacking context so dropdowns win) ---- */
.home-v2 .hv2-support {
  margin-top: -28px;
  position: relative;
  z-index: 5;
  padding-top: 0;
  pointer-events: auto;
}

.home-v2 .hv2-support-actions,
.home-v2 .hv2-support-actions a,
.home-v2 .hv2-nav-arrows,
.home-v2 .hv2-nav-arrows button {
  position: relative;
  z-index: 6;
  pointer-events: auto !important;
}

.home-v2 .hv2-support-card {
    border-radius: var(--hv2-radius);
    overflow: hidden;
    background: var(--hv2-navy-deep);
    color: #fff;
    box-shadow: none;
    min-height: 0;
    padding: clamp(18px, 3vw, 55px);
    background-image: linear-gradient(90deg, rgb(15 25 45 / 34%), rgb(15 25 45 / 27%)), url(../../images/home-v2/hero-bg.jpg);
    background-size: cover;
    background-position: center;
}

.home-v2 .hv2-support-card h2 {
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.home-v2 .hv2-support-card p {
  margin: 0;
  opacity: 0.9;
  max-width: none;
  font-size: 18px;
  line-height: 1.45;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .home-v2 .hv2-support-card p {
    white-space: normal;
  }
}

.home-v2 .hv2-support-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: end
}

/* Match pill + WA circle height so tablet/desktop stay on one baseline */
    .home-v2 .hv2-support-actions .hv2-btn {
        min-height: 48px;
        height: 48px;
        padding-top: 0;
        padding-bottom: 0;
        box-sizing: border-box;
        align-self: center;
        line-height: 1.75;
        font-size: 18px;
    }

.home-v2 .hv2-support-actions .hv2-btn--wa {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
}

/* ---- Trending / package cards ---- */
.home-v2 .start__package {
  background: var(--hv2-peach);
  padding: clamp(40px, 6vw, 45px) 0 !important;
}

/* Hide only the old section title, NOT city names on cards */
.home-v2 .start__package > .container > h4,
.home-v2 .hv2-trending-cards > h4 {
  display: none !important;
}

.home-v2 .hv2-trending-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 992px) {
  .home-v2 .hv2-trending-layout {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.home-v2 .hv2-trending-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .home-v2 .hv2-trending-head {
    width: 26%;
    max-width: 280px;
  }
}

.home-v2 .hv2-trending-cards,
.home-v2 .hv2-trending-cards.hv2-trend-viewport {
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  position: relative;
  min-height: 260px;
}

.home-v2 .hv2-trending-cards .datalist,
.home-v2 .hv2-trending-cards span[id*="DatalistHomePackingimage"],
.home-v2 .hv2-trending-cards > span {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.home-v2 .start__package .row.hv2-trend-ready {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  transition: transform 0.35s ease;
  will-change: transform;
}

.home-v2 .start__package .row.hv2-trend-ready > [class*="col-"] {
  flex: 0 0 auto !important;
  padding: 0 !important;
  float: none !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.home-v2 .hv2-nav-arrows {
  display: flex;
  gap: 0.5rem;
}

.home-v2 .hv2-nav-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--hv2-orange);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-v2 .hv2-nav-arrows button:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Card: image on top, name + coupon stacked below (no overlap / clipping) */
.home-v2 .start__package .our__pkg {
  background: #fff;
  border-radius: var(--hv2-radius);
  overflow: hidden;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  margin: 0 !important;
  border: 1px solid rgba(30, 42, 90, 0.08);
  height: 100%;
  width: 100% !important;
  max-width: none !important;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.home-v2 .start__package .our__pkg > a {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  text-decoration: none !important;
}

.home-v2 .start__package .style__package {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 168px;
  overflow: hidden;
  margin: 0 !important;
  border-radius: var(--hv2-radius) var(--hv2-radius) 0 0;
  background: #dbe3ef;
}

.home-v2 .start__package .style__package img,
.home-v2 .start__package .style__package img.img-responsive {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  background: #dbe3ef;
}

.home-v2 .start__package .style__package::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.home-v2 .start__package .style__package h4 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 !important;
  padding: 0.65rem 0.85rem !important;
  background: none !important;
  color: #fff !important;
  font-size: clamp(1rem, 2.4vw, 24px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: capitalize;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  z-index: 3;
  display: block !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Coupon row BELOW image — stack so code never mid-word clips */
.home-v2 .start__package .style__package__price {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0 !important;
  background: #0b1f3a;
  z-index: auto;
  border-radius: 0;
  min-width: 0;
  flex: 0 0 auto;
}

.home-v2 .start__package .style__package__price h3 {
  margin: 0 !important;
  font-size: clamp(1rem, 2vw, 16px) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  min-width: 0;
  flex: 0 0 auto;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 100%;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}

.home-v2 .start__package .style__package__price h3 span {
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-right: 0;
}

/* Override legacy .our__pkg float:right + margin-left so CTA stays centered */
.home-v2 .start__package .style__package__price button {
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: #fff !important;
  border: 2px solid #fff !important;
  color: var(--hv2-orange) !important;
  border-radius: 999px !important;
  padding: 0.45rem 0.85rem !important;
  font-size: clamp(0.78rem, 1.5vw, 0.88rem) !important;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap !important;
  min-height: 36px;
  width: 100% !important;
  max-width: 100%;
  flex: 0 0 auto;
  align-self: stretch;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
}

.home-v2 .start__package .style__package__price button a {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--hv2-orange) !important;
  border-radius: 0 !important;
  font-size: inherit !important;
  font-weight: inherit;
  text-decoration: none !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: 100%;
  line-height: inherit;
  text-align: center;
  display: inline !important;
  pointer-events: none;
}

/* Trending track: fixed viewport clips; JS sizes cards + translateX pages */
.home-v2 .start__package .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  margin: 0 !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
  gap: 12px;
  transition: transform 0.35s ease;
  will-change: transform;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-v2 .start__package .row::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.home-v2 .start__package .row::before,
.home-v2 .start__package .row::after {
  display: none !important;
  content: none !important;
}

.home-v2 .start__package .row > [class*="col-"],
.home-v2 .start__package .row > .col-md-6,
.home-v2 .start__package .row > .col-md-3,
.home-v2 .start__package .row > .col-sm-6 {
  padding: 0 !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  box-sizing: border-box !important;
  display: block !important;
  /* JS sets exact px widths; keep stable auto flex until then */
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

@media (max-width: 575px) {
  .home-v2 .start__package .style__package {
    aspect-ratio: 16 / 10;
  }

  .home-v2 .hv2-trending-layout {
    align-items: stretch;
  }

  .home-v2 .hv2-trending-head {
    width: 100%;
    max-width: none;
  }
}

/* ---- Promo banner (same content width as .hv2-support-card) ---- */
.home-v2 .hv2-promo {
  position: relative;
  background: #fff;
  padding: clamp(8px, 2vw, 20px) 0 clamp(28px, 4vw, 48px);
  color: #fff;
  text-align: left;
}

/* Keep Bootstrap .container gutters — match support banner outer edges */
.home-v2 .hv2-promo > .container {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  min-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-v2 .hv2-promo-card {
    border-radius: var(--hv2-radius);
    overflow: hidden;
    min-height: 0;
    padding: clamp(18px, 2.8vw, 50px) clamp(18px, 3.5vw, 30px);
    /* Distinct from hero/search skyline webp */
    background: linear-gradient(90deg, rgba(15, 25, 45, 0.82), rgba(15, 25, 45, 0.48)), url(../../images/home-v2/promo-call.jpg) center/cover no-repeat;
    box-shadow: none;
    margin-top: 25px;
}

.home-v2 .hv2-promo-eyebrow {
  display: inline-block;
  background: var(--hv2-orange);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.home-v2 .hv2-promo h2 {
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .home-v2 .hv2-promo h2 {
    white-space: normal;
  }
}

.home-v2 .hv2-promo-sub {
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
  margin: 0 0 0.75rem;
  line-height: 1.4;
  font-size: 18px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .home-v2 .hv2-promo-sub {
    white-space: normal;
  }
}

/* ---- Wanderlust ---- */
.home-v2 .hv2-wanderlust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 992px) {
  .home-v2 .hv2-wanderlust-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 2rem;
  }
}

.home-v2 .hv2-wanderlust-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 576px) {
  .home-v2 .hv2-wanderlust-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.home-v2 .hv2-card {
  background: #fff;
  border-radius: var(--hv2-radius);
  box-shadow: 0 10px 28px rgba(30, 42, 90, 0.1);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30, 42, 90, 0.08);
}

.home-v2 .hv2-card-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background-color: #e5e7eb;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex: 0 0 auto;
  min-height: 180px;
}

.home-v2 .hv2-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-v2 .hv2-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.home-v2 .hv2-card-body h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 800;
  color: var(--hv2-navy);
  text-transform: capitalize;
  overflow-wrap: anywhere;
}

.home-v2 .hv2-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.home-v2 .hv2-card-meta span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.home-v2 .hv2-card-meta strong {
  display: block;
  color: var(--hv2-navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-v2 .hv2-badge {
  background: var(--hv2-orange);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(226, 95, 36, 0.45);
}

/* ---- Newsletter mid-page ---- */
.home-v2 .hv2-newsletter {
  background: var(--hv2-peach);
}

.home-v2 .hv2-newsletter-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .home-v2 .hv2-newsletter-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.home-v2 .hv2-nl-slot {
  margin: 1.25rem 0 0.75rem;
  max-width: 560px;
}

.home-v2 .hv2-nl-slot .col-md-7,
.home-v2 .hv2-nl-slot .col-md-3,
.home-v2 .hv2-nl-slot .col-md-5,
.home-v2 .hv2-nl-slot .col-md-4,
.home-v2 .hv2-nl-slot .col-md-1,
.home-v2 .hv2-nl-slot .col-md-12 {
  width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0.65rem;
}

    .home-v2 .hv2-nl-slot .form-control {
        border-radius: 999px !important;
        min-height: 48px;
        color: var(--hv2-text) !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        font-size: 16px;
    }

    .home-v2 .hv2-nl-slot a.form-control {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        min-width: 160px;
        background: var(--hv2-orange) !important;
        color: #fff !important;
        border: none !important;
        font-weight: 700;
        padding: 0.65rem 1.35rem !important;
        font-size: 18px;
    }

.home-v2 .hv2-nl-slot .myDiv {
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Newsletter: email + subscribe, then captcha equation | input | reload */
.home-v2 .hv2-nl-email-ui {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  max-width: 560px;
}

/* Flatten Bootstrap column so name / email / captcha / subscribe stack cleanly */
.home-v2 .hv2-nl-email-ui > .col-md-7 {
  display: contents !important;
}

.home-v2 .hv2-nl-email-ui .col-md-7 > .col-md-3,
.home-v2 .hv2-nl-email-ui .col-md-7 > .col-md-5,
.home-v2 .hv2-nl-email-ui .col-md-7 > .col-md-12 {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 0.65rem !important;
}

.home-v2 .hv2-nl-email-ui .col-md-5 {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 0.65rem !important;
}

.home-v2 .hv2-nl-email-ui .col-md-5 input {
  width: 100% !important;
  box-shadow: none !important;
}

.home-v2 .hv2-nl-email-ui .col-md-3:last-of-type,
.home-v2 .hv2-nl-email-ui a[id$="btnSendSubscriptionMail"] {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

.home-v2 .hv2-nl-email-ui a[id$="btnSendSubscriptionMail"] {
  min-height: 48px !important;
  border-radius: 999px !important;
  padding: 0.7rem 1.4rem !important;
  box-shadow: none !important;
}

/* Captcha row: equation + textbox + reload at one height */
.home-v2 .hv2-nl-email-ui #captcha {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  height: auto !important;
}

.home-v2 .hv2-nl-email-ui #captcha .myDiv {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  height: auto !important;
}

.home-v2 .hv2-nl-email-ui #captcha .myDiv > [class*="col-"] {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home-v2 .hv2-nl-email-ui #captcha .myDiv > [class*="col-"]:first-child {
  flex: 0 0 auto;
  min-width: 88px;
}

.home-v2 .hv2-nl-email-ui #captcha .myDiv > [class*="col-"]:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.home-v2 .hv2-nl-email-ui #captcha .myDiv > [class*="col-"]:last-child {
  flex: 0 0 auto;
}

.home-v2 .hv2-nl-email-ui #captcha_equation1,
.home-v2 .hv2-nl-email-ui #captcha .txtCaptchaCode,
.home-v2 .hv2-nl-email-ui #captcha input[id$="txtCaptchaCode"] {
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  box-shadow: none !important;
  width: 100% !important;
  line-height: 1.2 !important;
  padding: 0.5rem 1rem !important;
}

.home-v2 .hv2-nl-email-ui #captcha_equation1 {
  margin: 0 !important;
  white-space: nowrap;
  background: #fff !important;
}

.home-v2 .hv2-nl-email-ui #refresh_button,
.home-v2 .hv2-nl-email-ui #captcha .fa-refresh {
  width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  cursor: pointer;
  background: #fff !important;
  color: var(--hv2-orange) !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
}

.home-v2 .hv2-nl-consent {
  font-size: 14px;
  color: var(--hv2-muted);
  max-width: 42ch;
  line-height: 1.4;
}

/* Footer strip: payment badges only after newsletter form is moved to Save today.
   Align Visa/MC/PCI with "Get in touch with us":
   style-new .main-footer had padding-left:15px; home .main-footer-sub had 0. */
.home-v2 .main-footer-sub {
  padding: 1.25rem 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.home-v2 .main-footer {
  padding: 40px 0 30px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Same container inset for badge strip + footer columns (overrides clear-padding) */
.home-v2 .main-footer-sub > .container.clear-padding,
.home-v2 .main-footer > .container.clear-padding {
  padding-left: 15px !important;
  padding-right: 15px !important;
  text-align: left !important;
}

.home-v2 .main-footer-sub .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

/* Shared left edge: no extra Bootstrap col gutter on badges or about column */
.home-v2 .main-footer-sub .card-main,
.home-v2 .main-footer .about-box {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
}

.home-v2 .main-footer-sub .card-main {
  width: 100% !important;
  float: none !important;
  margin: 0;
  padding-right: 0 !important;
}

.home-v2 .main-footer-sub .footer-atol-img {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start !important;
  align-items: center;
  width: 100%;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.home-v2 .main-footer-sub .footer-atol-img img,
.home-v2 .main-footer-sub .footer-atol-img img.atol {
  max-height: 48px;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Keep badges left-aligned on tablet/mobile (style-new centers them) */
@media (max-width: 991px) {
  .home-v2 .main-footer-sub .footer-atol-img {
    text-align: left !important;
    float: none !important;
    justify-content: flex-start !important;
  }
}

/* If move script hasn't run yet, don't show two newsletters — hide footer form column */
.home-v2 .main-footer-sub > .container > .col-md-7 {
  display: none !important;
}

.home-v2 .hv2-nl-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.75rem;
  min-width: 0;
}

.home-v2 .hv2-nl-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--hv2-radius-sm);
  aspect-ratio: 4 / 3;
  background: #e5e7eb;
  box-shadow: none !important;
  filter: none !important;
}

.home-v2 .hv2-nl-collage img:first-child {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

/* ---- Payments banner ---- */
.home-v2 .hv2-payments {
  padding: clamp(56px, 8vw, 100px) 0;
  /* Beach + people (unused elsewhere on homepage); distinct from hero skyline */
  background: linear-gradient(105deg, rgba(253, 242, 235, 0.94) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0.28) 100%),
    url(../../images/home-v2/payments-beach.webp) center/cover no-repeat;
}

.home-v2 .hv2-payments h2 {
  color: var(--hv2-navy);
  font-size: clamp(1.35rem, 2.8vw, 30px);
  font-weight: 800;
  max-width: none;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.home-v2 .hv2-payments p {
  max-width: none;
  color: var(--hv2-text);
  margin: 0 0 1.25rem;
  line-height: 1.5;
  font-size: clamp(0.85rem, 1.35vw, 18px);
}

@media (max-width: 991px) {
  .home-v2 .hv2-payments h2,
  .home-v2 .hv2-payments p {
    white-space: normal;
  }
}

/* ---- Why book ---- */
.home-v2 .hv2-why {
  text-align: center;
}

.home-v2 .hv2-why-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
  margin: 2rem auto 1.5rem;
  max-width: 960px;
}

@media (min-width: 768px) {
  .home-v2 .hv2-why-layout {
    grid-template-columns: 1fr minmax(0, 220px) 1fr;
    grid-template-rows: auto auto;
  }

  .home-v2 .hv2-why-center {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.home-v2 .hv2-why-center img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: var(--hv2-radius);
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 14px 36px rgba(30, 42, 90, 0.16);
}

.home-v2 .hv2-trust {
  background: #fff;
  border-radius: var(--hv2-radius-sm);
  box-shadow: 0 10px 28px rgba(30, 42, 90, 0.12);
  border: 1px solid rgba(30, 42, 90, 0.06);
  padding: 1.25rem 1.35rem;
  text-align: left;
  min-width: 0;
}

.home-v2 .hv2-trust-logo {
  display: block;
  max-width: 180px;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 0 0.55rem;
}

.home-v2 .hv2-trust-stars {
  color: #fbbc05;
  letter-spacing: 0.1em;
  font-size: 1.05rem;
  line-height: 1;
  margin: 0 0 0.4rem;
}

.home-v2 .hv2-trust strong {
  display: block;
  color: var(--hv2-navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.home-v2 .hv2-trust span {
  color: var(--hv2-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.home-v2 .hv2-why-center img {
  object-fit: cover;
}

/* ---- Footer (homepage visual only) ---- */
.home-v2 .main-footer-sub {
  background: var(--hv2-navy-deep) !important;
}

.home-v2 .main-footer-sub label,
.home-v2 .main-footer-sub p {
  color: #fff !important;
}

.home-v2 .main-footer {
  background: var(--hv2-navy-deep) !important;
}

.home-v2 .main-footer h3,
.home-v2 .main-footer h4,
.home-v2 .main-footer .styleh3 {
  color: #ff8f7a !important;
}

.home-v2 .main-footer a,
.home-v2 .main-footer p,
.home-v2 .main-footer li {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Footer contact / social: left-align icons with text (not centered) */
.home-v2 .main-footer .contact-box,
.home-v2 .main-footer .about-box,
.home-v2 .main-footer .links {
  text-align: left !important;
}

    .home-v2 .main-footer .contact-box h4,
    .home-v2 .main-footer .about-box h3,
    .home-v2 .main-footer .links h4 {
        text-align: left !important;
        font-size: 18px;
    }

    .home-v2 .main-footer .contact-box p,
    .home-v2 .main-footer .contact-box .customer_support {
        text-align: left !important;
        font-size: 16px;
    }

.home-v2 .main-footer .contact-box > div[style*="display: flex"],
.home-v2 .main-footer .contact-box > div[style*="display:flex"] {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0.75rem;
  margin-top: 15px;
  width: 100%;
}

.home-v2 .main-footer .contact-box > div[style*="display: flex"] > p,
.home-v2 .main-footer .contact-box > div[style*="display:flex"] > p {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 12px 0 0 !important;
  text-align: left !important;
  float: none !important;
}

.home-v2 .main-footer .about-box,
.home-v2 .main-footer .links,
.home-v2 .main-footer .contact-box,
.home-v2 .main-footer .col-md-4,
.home-v2 .main-footer .col-md-12 {
  text-align: left !important;
  float: left !important;
}

    .home-v2 .main-footer .about-box p,
    .home-v2 .main-footer .about-box h3,
    .home-v2 .main-footer .links ul,
    .home-v2 .main-footer .links li {
        text-align: left !important;
        font-size: 16px;
    }

.home-v2 .main-footer .links ul {
  text-align: left !important;
  padding-left: 0 !important;
}

.home-v2 .main-footer-sub .form-control {
  border-radius: 999px !important;
}

.home-v2 .main-footer-sub a.form-control {
  background: var(--hv2-orange) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
}

/* Placeholder tiles */
.home-v2 .hv2-ph {
  background: linear-gradient(135deg, #e8edf5, #d5dde8);
  color: var(--hv2-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 767px) {
  .home-v2 .hv2-support-actions {
    margin-left: 0;
    width: 100%;
    align-items: center;
    flex-wrap: nowrap;
  }
}

/* Kill leftover absolute white ghost boxes from legacy search CSS */
.home-v2 .search__engine .styled select:not(.flight__type select) {
  max-width: 100%;
}

.home-v2 .search__engine table {
  background: transparent !important;
}

/* Override style-new / ascx mobile rules that break homepage search */
.home-v2 .search__engine .refresh i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important;
}

.home-v2 .mobile__promotion {
  display: none !important;
}

/* Fixed footer call bar: no clipped / tiny text on narrow phones */
.home-v2 .unpublished_deals {
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.35rem 0.75rem !important;
  padding: 8px 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.home-v2 .unpublished_deals > div {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

.home-v2 .unpublished_deals p,
.home-v2 .unpublished_deals a {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.3 !important;
  word-break: normal;
}

.home-v2 .unpublished_deals p {
  font-size: clamp(0.8rem, 3.6vw, 0.95rem) !important;
}

.home-v2 .unpublished_deals a {
  font-size: clamp(0.95rem, 4.2vw, 1.15rem) !important;
  display: inline-block;
}

/* Sections below hero must stay above any absolute hero remnants */
.home-v2 .start__package,
.home-v2 .hv2-promo,
.home-v2 .hv2-wanderlust,
.home-v2 .hv2-newsletter,
.home-v2 .hv2-payments,
.home-v2 .hv2-why {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

/*
  FAB centerline: square ResponseiQ call + circular Tawk chat share one axis
  (centers aligned). Chat launcher is ~60px @ bottom 20 → center = 50px up.
*/
body.home-v2-page {
  --hv2-fab-center: 50px;
  --hv2-call-size: 52px;
}

body.home-v2-page #riq_dilricn2nw.dilricn2nw,
body.home-v2-page #riq_dilricn2nw {
  bottom: calc(var(--hv2-fab-center) - (var(--hv2-call-size) / 2)) !important;
  top: auto !important;
}

@media (max-width: 767px) {
  /* Clear the fixed .unpublished_deals bar (~56px) while keeping centers aligned */
  body.home-v2-page {
    --hv2-fab-center: 86px;
  }

  /* Tawk launcher (~60px): bottom so its center matches --hv2-fab-center */
  body.home-v2-page iframe[title="Chat widget"]:not(.hv2-tawk-open-frame) {
    bottom: calc(var(--hv2-fab-center) - 30px) !important;
  }
}

/*
  Mobile Tawk opens #max-widget (true fullscreen). Keep a floating panel instead.
  Class toggled from Default.aspx onChatMaximized / onChatMinimized.
*/
html.hv2-tawk-panel body.home-v2-page iframe[title="Chat widget"],
body.home-v2-page iframe[title="Chat widget"].hv2-tawk-open-frame {
  width: min(320px, calc(100vw - 48px)) !important;
  height: min(460px, calc(100vh - 160px)) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: calc(100vh - 160px) !important;
  top: auto !important;
  left: auto !important;
  right: 16px !important;
  bottom: 88px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28) !important;
}
