/* =========================================================
   Cheap Flights Page Styles (Pixel-perfect 1920px Layout)
   ========================================================= */

.cheap-flight,
.cheap-flight * {
  box-sizing: border-box;
}

.cheap-flight {
  background: #f2f2f2;
  width: 1920px;
  height: 3924px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  transform-origin: top center;
}

/* Layering guarantees */
.cheap-flight .header { z-index: 1000 !important; }
.cheap-flight .form-search { z-index: 800 !important; }
.cheap-flight .time-datepicker-popover,
.cheap-flight .destination-picker-popover,
.cheap-flight .dropdown-passenger-popover { z-index: 99999 !important; }
.cheap-flight .cheap-flight-to-phuket { z-index: 20 !important; }
.cheap-flight .flight-to-phuket-faq { z-index: 20 !important; }
.cheap-flight .flight-to-phuket-schedules,
.cheap-flight .rectangle-178,
.cheap-flight .frame-26 { z-index: 20 !important; }
.cheap-flight .frame-18 { z-index: 20 !important; }
.cheap-flight .footer { z-index: 20 !important; }

/* Hero Banner & Overlay */
.cheap-flight .rectangle-154 {
  background: linear-gradient(to left, #c4c4c4, #c4c4c4);
  width: 1920px;
  height: 530px;
  position: absolute;
  left: 0px;
  top: 60px;
  object-fit: cover;
  z-index: 1;
}

.cheap-flight .rectangle-155 {
  background: #021b67;
  opacity: 0.5;
  width: 1920px;
  height: 526px;
  position: absolute;
  left: 0px;
  top: 64px;
  z-index: 2;
}

/* Hide Booking Tabs and Header Text from _box_search on Cheap Flight page */
.cheap-flight .text,
.cheap-flight .find-and-compare-cheap-flights,
.cheap-flight .lorem-ipsum-is-simply-dummy-text-of-the-printing-and-typesetting-industry2,
.cheap-flight .frame-15,
.cheap-flight .polygon-1 {
  display: none !important;
}

/* Hero Title & Subtitle */
.cheap-flight .cheap-hero-text {
  width: 900px;
  position: absolute;
  left: 510px;
  top: 136px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cheap-flight .cheap-hero-title {
  color: #ffffff;
  text-align: center;
  font-family: var(--medium-46px-font-family, "-", sans-serif);
  font-size: 46px;
  line-height: 120%;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 12px;
}

.cheap-flight .cheap-hero-desc {
  color: #ffffff;
  text-align: center;
  font-family: var(--regular-16px-font-family, "-", sans-serif);
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  margin: 0;
  opacity: 0.95;
}

/* =========================================================
   Section: Cheap flight to Phuket (Cards & Disclaimer)
   ========================================================= */
.cheap-flight-to-phuket {
  width: 1140px;
  height: 630px;
  position: absolute;
  left: 390px;
  top: 646px;
}

.cheap-flight-to-phuket2 {
  color: #2649aa;
  text-align: center;
  font-family: var(--medium-30px-font-family, "-", sans-serif);
  font-size: 30px;
  line-height: 140%;
  font-weight: 500;
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cheap-flight-to-phuket .rectangle-113 {
  background: #f5aa14;
  width: 56px;
  height: 4px;
  position: absolute;
  left: 542px;
  top: 50px;
}

/* Flight Card Base */
.flight-card-item {
  width: 364px;
  height: 140px;
  position: absolute;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flight-card-item:hover {
  transform: translateY(-2px);
}

.flight-card-item .rectangle-175 {
  background: #ffffff;
  border-radius: 4px;
  width: 364px;
  height: 140px;
  position: absolute;
  left: 0px;
  top: 0px;
  box-shadow: 0px 15px 30px 0px rgba(0, 0, 0, 0.08);
}

.flight-card-item .logo-jetstar,
.flight-card-item .logo-airline {
  width: 70px;
  height: 20px;
  position: absolute;
  left: 16px;
  top: 16px;
  object-fit: contain;
}

.flight-card-item .arrow-forward {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 332px;
  top: 18px;
}

.flight-card-item .from {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  position: absolute;
  left: 216px;
  top: 16px;
}

.flight-card-item .usd-418-22 {
  color: #eb453c;
  position: absolute;
  left: 248px;
  top: 13px;
  font-size: 14px;
}

.flight-card-item .usd-418-22-span {
  font-size: 12px;
}

.flight-card-item .usd-418-22-span2 {
  font-size: 20px;
  font-weight: 700;
}

.flight-card-item .usd-418-22-span3 {
  font-size: 14px;
  font-weight: 500;
}

.flight-card-item .line-108 {
  border-style: dashed;
  border-color: rgba(0, 0, 0, 0.15);
  border-width: 1px 0 0 0;
  width: 332px;
  height: 0px;
  position: absolute;
  left: 16px;
  top: 44px;
}

.flight-card-item .one-way {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  position: absolute;
  left: 16px;
  top: 56px;
}

.flight-card-item .hanoi-han {
  color: #2649aa;
  font-size: 16px;
  position: absolute;
  left: 16px;
  top: 80px;
}

.flight-card-item .hanoi-han-span {
  font-weight: 500;
}

.flight-card-item .vietnam {
  color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  position: absolute;
  left: 16px;
  top: 106px;
}

.flight-card-item .mdi-airplane-sharp {
  width: 24px;
  height: 24px;
  position: absolute;
  left: 170px;
  top: 80px;
}

.flight-card-item .bangkok-bkk {
  color: #2649aa;
  font-size: 16px;
  position: absolute;
  left: 210px;
  top: 80px;
}

.flight-card-item .bangkok-bkk-span {
  font-weight: 500;
}

.flight-card-item .thailand {
  color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  position: absolute;
  left: 210px;
  top: 106px;
}

/* Card 3x3 Grid Positions */
.hn-bangkok  { left: 0px;   top: 102px; }
.hn-bangkok2 { left: 388px; top: 102px; }
.hn-bangkok3 { left: 776px; top: 102px; }

.hn-bangkok4 { left: 0px;   top: 266px; }
.hn-bangkok6 { left: 388px; top: 266px; }
.hn-bangkok8 { left: 776px; top: 266px; }

.hn-bangkok5 { left: 0px;   top: 430px; }
.hn-bangkok7 { left: 388px; top: 430px; }
.hn-bangkok9 { left: 776px; top: 430px; }

.prices-shown-are-for-1-adult-ticket-including-taxes-fees-as-ticket-fares-can-change-frequently-these-advertised-prices-are-for-reference-only-the-actual-prices-will-be-shown-at-time-of-booking {
  color: rgba(0, 0, 0, 0.45);
  text-align: left;
  font-size: 12px;
  line-height: 140%;
  font-weight: 400;
  position: absolute;
  left: 0px;
  top: 602px;
  width: 1140px;
  height: 28px;
}

/* =========================================================
   Section: Flight to Phuket FAQ
   ========================================================= */
.flight-to-phuket-faq {
  width: 1920px;
  height: 582px;
  position: absolute;
  left: 0px;
  top: 1324px;
}

.flight-to-phuket-faq .rectangle-176 {
  background: #ffffff;
  width: 1920px;
  height: 582px;
  position: absolute;
  left: 0px;
  top: 0px;
}

.flight-to-phuket-faq2 {
  color: #2649aa;
  text-align: center;
  font-size: 30px;
  line-height: 140%;
  font-weight: 500;
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flight-to-phuket-faq .rectangle-156 {
  background: #f5aa14;
  width: 56px;
  height: 4px;
  position: absolute;
  left: 932px;
  top: 98px;
}

.flight-to-phuket-faq .rectangle-177 {
  border-radius: 4px;
  width: 364px;
  height: 182px;
  position: absolute;
  left: 390px;
  top: 152px;
  object-fit: cover;
}

.take-a-flight-to-phuket-easily-whether-you-want-fast-cheap-or-something-entirely-different-our-travel-experts-have-collected-everything-you-need-to-know-so-you-can-find-the-best-option-from-hanoi-to-phuket {
  color: #000000;
  text-align: left;
  font-size: 14px;
  line-height: 150%;
  font-weight: 400;
  position: absolute;
  left: 390px;
  top: 350px;
  width: 364px;
  height: 83px;
}

/* FAQ Accordion Items (Cheap Flight Page) */
.cheap-flight .faq-accordion-item {
  width: 752px;
  position: absolute;
  left: 778px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cheap-flight .faq-accordion-item .rectangle-1772,
.cheap-flight .faq-accordion-item .rectangle-1773 {
  background: #ffffff;
  border-radius: 4px;
  width: 752px;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.cheap-flight .faq-accordion-item .faq-title {
  color: #2649aa;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 140.63%;
  position: absolute;
  left: 16px;
  top: 12px;
  width: 672px;
}

.cheap-flight .faq-accordion-item .mdi-chevron-down-outline,
.cheap-flight .faq-accordion-item .mdi-chevron-down-outline2,
.cheap-flight .faq-accordion-item .mdi-chevron-down-outline3,
.cheap-flight .faq-accordion-item .mdi-chevron-down-outline4,
.cheap-flight .faq-accordion-item .mdi-chevron-down-outline5 {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 16px;
  top: 12px;
  transition: transform 0.2s ease;
}

.flight-to-phuket-faq .faq  { top: 152px; height: 48px; }
.flight-to-phuket-faq .faq2 { top: 216px; height: 48px; }
.flight-to-phuket-faq .faq3 { top: 280px; height: 48px; }
.flight-to-phuket-faq .faq4 { top: 344px; height: 48px; }
.flight-to-phuket-faq .faq5 { top: 408px; height: 110px; }

.flight-to-phuket-faq .faq5 .line-120 {
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.08);
  border-width: 1px 0 0 0;
  width: 716px;
  height: 0px;
  position: absolute;
  left: 18px;
  top: 51px;
}

.faq5 .popular-airlines-flying-to-philippines-air-asia-philippine-airlines-cebu-pacific-air-to-cebu-flight-schedules {
  color: #333333;
  text-align: left;
  font-size: 14px;
  line-height: 140%;
  position: absolute;
  left: 18px;
  top: 67px;
  width: 714px;
}

/* =========================================================
   Section: Flight to Phuket schedules
   ========================================================= */
.flight-to-phuket-schedules {
  color: #2649aa;
  text-align: center;
  font-size: 30px;
  line-height: 140%;
  font-weight: 500;
  position: absolute;
  left: 0;
  right: 0;
  top: 1962px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cheap-flight .rectangle-178 {
  background: #f5aa14;
  width: 56px;
  height: 4px;
  position: absolute;
  left: 932px;
  top: 2012px;
}

.frame-26 {
  width: 1141px;
  height: 965px;
  position: absolute;
  left: 390px;
  top: 2064px;
}

.frame-26 .rectangle-180 {
  background: #00247d;
  border-radius: 4px 4px 0px 0px;
  width: 1140px;
  height: 48px;
  position: absolute;
  left: 1px;
  top: 0px;
}

.frame-26 .flight-info {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  left: 25px;
  top: 13px;
}

.frame-26 .departure {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  left: 258px;
  top: 13px;
}

.frame-26 .arrival {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  left: 605px;
  top: 13px;
}

.frame-26 .weekly-schedules {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  left: 895px;
  top: 13px;
}

.frame-26 .rectangle-181 {
  background: #ffffff;
  border-radius: 0px 0px 4px 4px;
  width: 1140px;
  height: 917px;
  position: absolute;
  left: 1px;
  top: 48px;
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.08);
}

/* Dividing Lines between schedule rows */
.frame-26 .line-121 { border-top: 1px solid rgba(0, 0, 0, 0.06); width: 1140px; position: absolute; left: 0px; top: 179px; }
.frame-26 .line-122 { border-top: 1px solid rgba(0, 0, 0, 0.06); width: 1140px; position: absolute; left: 0px; top: 310px; }
.frame-26 .line-123 { border-top: 1px solid rgba(0, 0, 0, 0.06); width: 1140px; position: absolute; left: 0px; top: 441px; }
.frame-26 .line-124 { border-top: 1px solid rgba(0, 0, 0, 0.06); width: 1140px; position: absolute; left: 0px; top: 572px; }
.frame-26 .line-125 { border-top: 1px solid rgba(0, 0, 0, 0.06); width: 1140px; position: absolute; left: 0px; top: 703px; }
.frame-26 .line-126 { border-top: 1px solid rgba(0, 0, 0, 0.06); width: 1140px; position: absolute; left: 0px; top: 834px; }

/* Schedule Row */
.schedule-row {
  width: 1015px;
  height: 83px;
  position: absolute;
  left: 25px;
}

.schedule-row .logo-airline {
  width: 72px;
  height: 20px;
  position: absolute;
  left: 0px;
  top: 0px;
  object-fit: contain;
}

.schedule-row .flight-code {
  color: #2649aa;
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  left: 0px;
  top: 32px;
}

.schedule-row .dep-time {
  color: #2649aa;
  font-size: 20px;
  font-weight: 600;
  position: absolute;
  left: 233px;
  top: 0px;
}

.schedule-row .dep-city {
  color: #2649aa;
  font-size: 16px;
  position: absolute;
  left: 233px;
  top: 32px;
}

.schedule-row .group-545 {
  position: absolute;
  left: 388px;
  top: 17px;
  width: 125px;
  height: 4px;
}

.schedule-row .mdi-airplane-sharp {
  width: 24px;
  height: 24px;
  position: absolute;
  left: 438px;
  top: 4px;
}

.schedule-row .arr-time {
  color: #2649aa;
  font-size: 20px;
  font-weight: 600;
  position: absolute;
  left: 580px;
  top: 0px;
}

.schedule-row .arr-city {
  color: #2649aa;
  font-size: 16px;
  position: absolute;
  left: 580px;
  top: 32px;
}

/* Day of week badges */
.schedule-row .days-list {
  display: flex;
  gap: 12px;
  position: absolute;
  left: 837px;
  top: 0px;
  font-size: 20px;
  font-weight: 600;
  color: #2649aa;
}

.schedule-row .days-list span.off {
  color: rgba(38, 73, 170, 0.4);
}

.schedule-row .btn-find-flights-40-px {
  width: 133px;
  height: 40px;
  position: absolute;
  left: 860px;
  top: 36px;
  background: #eb453c;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.schedule-row .btn-find-flights-40-px:hover {
  background: #d4382f;
}

.schedule-row .btn-find-flights-40-px .search {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Schedule Row Positions */
.schedules-flight-hn-phuket  { top: 72px; }
.schedules-flight-hn-phuket2 { top: 203px; }
.schedules-flight-hn-phuket5 { top: 334px; }
.schedules-flight-hn-phuket3 { top: 465px; }
.schedules-flight-hn-phuket6 { top: 596px; }
.schedules-flight-hn-phuket4 { top: 727px; }
.schedules-flight-hn-phuket7 { top: 858px; }

/* =========================================================
   Section: More cheap flights
   ========================================================= */
.frame-18 {
  width: 1030px;
  height: 242px;
  position: absolute;
  left: 445px;
  top: 3085px;
}

.more-cheap-flights {
  color: #2649aa;
  text-align: center;
  font-size: 30px;
  line-height: 140%;
  font-weight: 500;
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-18 .rectangle-179 {
  background: #f5aa14;
  width: 56px;
  height: 4px;
  position: absolute;
  left: 487px;
  top: 50px;
}

.frame-18 .flights-departing-from {
  width: 1030px;
  position: absolute;
  left: 0px;
  top: 92px;
}

/* Reusing the proven .flights-grid and .flight-link pills */
.frame-18 .flights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.frame-18 .flight-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 1px solid #2649aa;
  border-radius: 4px;
  color: #2649aa;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none !important;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.frame-18 .flight-link:hover,
.frame-18 .flight-link.active {
  background-color: #2649aa !important;
  color: #ffffff !important;
}

/* =========================================================
   Footer Positioning inside .cheap-flight
   ========================================================= */
.cheap-flight .footer {
  position: absolute !important;
  left: 0px;
  top: 3391px;
  width: 1920px;
  height: 533px;
}

/* =========================================================
   Multi-Cities Expansion for .cheap-flight (+204px shift)
   ========================================================= */
.cheap-flight.is-multicity {
  height: 4128px !important;
}

.cheap-flight.is-multicity .rectangle-154,
.cheap-flight.is-multicity .rectangle-155 {
  height: 734px !important;
}

.cheap-flight.is-multicity .cheap-flight-to-phuket {
  top: 850px !important;
}

.cheap-flight.is-multicity .flight-to-phuket-faq {
  top: 1528px !important;
}

.cheap-flight.is-multicity .flight-to-phuket-schedules {
  top: 2166px !important;
}

.cheap-flight.is-multicity .rectangle-178 {
  top: 2216px !important;
}

.cheap-flight.is-multicity .frame-26 {
  top: 2268px !important;
}

.cheap-flight.is-multicity .frame-18 {
  top: 3289px !important;
}

.cheap-flight.is-multicity .footer {
  top: 3595px !important;
}
