/* =====================================================================
   Hot Flight Deals - design layer ("Ocean blue + coral")
   Loaded LAST in ~/css/site-bundle so it can normalise the older stylesheets.
   ===================================================================== */
:root {
    --hfd-primary: #0b2545;        /* deep navy  - header, footer, headings */
    --hfd-primary-dark: #071a33;
    --hfd-accent: #1668c2;         /* sky blue   - links (5.5:1 on white) */
    --hfd-accent-bright: #1d7fe0;  /* decorative only (icons, focus rings) */
    --hfd-accent-light: #e8f2fd;
    --hfd-action: #d2401f;         /* coral      - button backgrounds (white text 4.7:1) */
    --hfd-action-dark: #b93a1c;    /* coral text on light backgrounds (5.2:1+) and hover */
    --hfd-action-soft: #ff6b4a;
    --hfd-surface: #f3f7fb;        /* mist       - section backgrounds */
    --hfd-ink: #15202e;
    --hfd-muted: #5a6779;
    --hfd-line: #dbe3ec;            /* dividers / card borders */
    --hfd-field: #7d8a9d;           /* form-field outlines (3:1, WCAG 1.4.11) */
    --hfd-radius: 10px;
    --hfd-radius-lg: 18px;
    --hfd-shadow: 0 18px 40px rgba(7, 26, 51, .22);
    --hfd-shadow-sm: 0 2px 8px rgba(7, 26, 51, .07);
    --hfd-font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--hfd-font); font-size: 15px; line-height: 1.6; color: var(--hfd-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: var(--hfd-font); line-height: 1.25; color: inherit; }
h1, h2 { font-weight: 800; letter-spacing: -.015em; }
img { max-width: 100%; height: auto; }
a { color: var(--hfd-accent); }
a:hover, a:focus { color: var(--hfd-primary); }
:focus-visible { outline: 3px solid var(--hfd-accent-bright); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.hfd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--hfd-radius);
    font: 700 16px/1 var(--hfd-font); letter-spacing: .01em; cursor: pointer; text-decoration: none !important;
    transition: background-color .15s ease, transform .05s ease, box-shadow .15s ease;
}
.hfd-btn:active { transform: translateY(1px); }
.hfd-btn--primary, .hfd-btn--coral { background: var(--hfd-action); color: #fff !important; box-shadow: 0 6px 16px rgba(210, 64, 31, .30); }
.hfd-btn--primary:hover, .hfd-btn--primary:focus, .hfd-btn--coral:hover, .hfd-btn--coral:focus { background: var(--hfd-action-dark); color: #fff !important; }
.hfd-btn--ghost { background: rgba(255,255,255,.12); color: #fff !important; border: 1.5px solid rgba(255,255,255,.55); }
.hfd-btn--ghost:hover, .hfd-btn--ghost:focus { background: rgba(255,255,255,.22); }
.hfd-btn--block { width: 100%; }
.btn { border-radius: 8px; }

/* ---------- Header / footer (old markup, new colours) ---------- */
.footer, .footer_other_details { background-color: var(--hfd-primary) !important; }
.navbar-trans .navbar-nav > li > a { color: var(--hfd-primary) !important; font-weight: 700; }
.navbar-trans .navbar-nav > li > a:hover, .navbar-trans .navbar-nav > .active > a { color: var(--hfd-accent) !important; }
.navbar-trans .navbar-nav > .active > a { box-shadow: inset 0 -3px 0 var(--hfd-accent); background: transparent !important; }
footer a { color: rgba(255,255,255,.85); }
footer a:hover, footer a:focus { color: #fff; text-decoration: underline; }
.footer-heading { color: #fff; letter-spacing: .06em; }

/* ---------- Header: one row (logo · menu · phone · currency) ----------
   ≥1025px  full menu in the bar      ≤1024px  menu button + dropdown (as the old site did)
   ≤767px   logo · currency · call · menu                                                   */
.header-top { min-height: 0 !important; border: 0 !important; }
.hfd-nav {
    position: relative !important; top: 0 !important; margin: 0; min-height: 0; border: 0;
    border-bottom: 1px solid var(--hfd-line); background: #fff !important; box-shadow: 0 2px 12px rgba(7,26,51,.06);
}
.hfd-nav.afterscroll { background: #fff !important; }
.hfd-nav > .container { display: flex; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.hfd-nav > .container::before, .hfd-nav > .container::after { display: none; }   /* bootstrap clearfix */
.hfd-nav .navbar-header { display: contents; }
.hfd-nav .navbar-header::before, .hfd-nav .navbar-header::after { display: none; }   /* clearfix would add phantom flex items */
.hfd-nav .navbar-header > a { order: 1; flex: 0 1 auto; min-width: 0; display: flex; align-items: center; }
.hfd-nav img.navbar-brand, .hfd-nav img.navbar-brand.img-responsive {
    position: static !important; display: block; height: auto !important; max-height: 56px; width: auto !important; max-width: 100%;
    padding: 0 !important; margin: 0 !important; background: transparent !important; float: none !important;
    object-fit: contain; object-position: left center;
}
.hfd-nav .navbar-collapse { order: 2; flex: 1 1 auto; min-width: 0; padding: 0; border: 0; box-shadow: none; }
.hfd-nav .navbar-nav { float: none; margin: 0; display: flex; justify-content: flex-end; flex-wrap: nowrap; }
.hfd-nav .navbar-nav > li { float: none; }
.hfd-nav .navbar-nav > li > a { color: var(--hfd-primary) !important; font-weight: 700; font-size: 14px; letter-spacing: .02em; padding: 12px 10px; white-space: nowrap; }
.hfd-nav .navbar-nav > li.number_tops { display: none; }
.hfd-nav-tools { order: 3; display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.hfd-nav-phone { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--hfd-primary) !important; }
.hfd-nav-phone .fa {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--hfd-accent-light); color: var(--hfd-accent); font-size: 18px;
}
.hfd-nav-phone span { display: flex; flex-direction: column; line-height: 1.15; }
.hfd-nav-phone strong { font-size: 17px; font-weight: 800; white-space: nowrap; }
.hfd-nav-phone small { font-size: 12px; color: var(--hfd-muted); white-space: nowrap; }
.hfd-nav-phone:hover strong { color: var(--hfd-accent); }
.hfd-currency { display: flex; align-items: center; gap: 6px; height: 44px; margin: 0; padding: 0 2px 0 8px; border: 1.5px solid var(--hfd-field); border-radius: 10px; background: #fff; }
.hfd-currency:focus-within { border-color: var(--hfd-accent); box-shadow: 0 0 0 3px rgba(29,127,224,.18); }
#currencyImage { display: block !important; width: 24px !important; height: auto; margin: 0 !important; border-radius: 3px; }
#countryCurrency {
    width: auto !important; min-width: 0; height: 40px !important; margin: 0 !important; padding: 0 20px 0 2px !important;
    border: 0 !important; box-shadow: none !important; background-color: transparent; color: var(--hfd-primary) !important;
    font-weight: 700; font-size: 14px; cursor: pointer;
}
.hfd-nav .unpublishdeal-top { order: 3; flex: 0 0 auto; margin: 0 !important; padding: 0; position: static !important; float: none !important; width: auto !important; }
.hfd-nav .unpublishdeal-top a.hfd-call-pill {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; height: 44px; margin: 0 !important;
    padding: 0 14px !important; position: static !important; width: auto !important; border: 0 !important; border-radius: 999px;
    background: var(--hfd-action) !important; color: #fff !important; font-weight: 800; font-size: 14px !important; line-height: 1;
    text-decoration: none !important; white-space: nowrap; box-shadow: 0 4px 12px rgba(210,64,31,.28);
}
.hfd-nav .unpublishdeal-top a.hfd-call-pill:hover, .hfd-nav .unpublishdeal-top a.hfd-call-pill:focus { background: var(--hfd-action-dark) !important; }
.hfd-call-pill .fa { font-size: 16px; line-height: 1; }
.hfd-nav .navbar-toggle {
    order: 4; flex: 0 0 44px; float: none; display: none; place-content: center; width: 44px; height: 44px;
    margin: 0 !important; padding: 0 !important; border-radius: 10px; border-color: var(--hfd-field);
}
.hfd-nav .navbar-toggle .icon-bar { background-color: var(--hfd-primary); width: 20px; }
.hfd-nav .navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }

/* desktop: the logo keeps its size; the menu takes the remaining space */
@media (min-width: 1025px) {
    .hfd-nav .navbar-header > a { flex: 0 0 auto; }
}
/* small laptops: icon-only phone so all six menu links fit on one line */
@media (min-width: 1025px) and (max-width: 1399px) {
    .hfd-nav-phone span { display: none; }
    .hfd-nav img.navbar-brand, .hfd-nav img.navbar-brand.img-responsive { max-height: 50px; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
    .hfd-nav .navbar-nav > li > a { padding: 12px 7px; font-size: 13px; }
    .hfd-nav img.navbar-brand, .hfd-nav img.navbar-brand.img-responsive { max-height: 44px; }
}

/* tablets and phones: menu button + dropdown */
@media (max-width: 1024px) {
    .hfd-nav > .container { flex-wrap: wrap; gap: 8px; width: 100%; max-width: 100%; padding: 8px 15px; }
    .hfd-nav .navbar-header > a { flex: 1 1 0; }           /* logo takes only the space left over */
    .hfd-nav img.navbar-brand, .hfd-nav img.navbar-brand.img-responsive { max-height: 48px; }
    .hfd-nav-phone span { display: none; }
    .hfd-nav .navbar-toggle { display: grid; }
    .hfd-nav .navbar-collapse { order: 5; flex: 0 0 100%; max-height: none; margin: 0 -15px; padding: 0 15px 8px; border-top: 1px solid var(--hfd-line); }
    .hfd-nav .navbar-collapse.collapse { display: none !important; }
    .hfd-nav .navbar-collapse.collapse.in, .hfd-nav .navbar-collapse.collapsing { display: block !important; }
    /* ---- dropdown menu: white panel, full-width rows ---- */
    .hfd-nav .navbar-collapse { flex-basis: calc(100% + 30px) !important; width: auto !important; background: #fff; box-shadow: 0 14px 24px rgba(7,26,51,.12); }
    .hfd-nav #navbar .navbar-nav { display: block; margin: 4px 0 0 !important; padding: 0; }
    .hfd-nav #navbar .navbar-nav > li { display: block; width: 100%; float: none !important; }
    .hfd-nav #navbar .navbar-nav > li > a {
        display: flex !important; align-items: center; justify-content: space-between;
        min-height: 52px; padding: 0 8px 0 14px !important; margin: 0 !important;
        background: #fff !important; color: var(--hfd-primary) !important; border: 0 !important; border-bottom: 1px solid #edf1f6 !important;
        border-radius: 0; font-size: 14px !important; font-weight: 700; letter-spacing: .06em; text-decoration: none !important;
    }
    .hfd-nav #navbar .navbar-nav > li > a::before { display: none !important; }      /* old accent bars */
    .hfd-nav #navbar .navbar-nav > li > a::after {
        content: "\f105"; font-family: FontAwesome; font-size: 18px; font-weight: 400; color: #9aa7b8; padding-right: 6px;
    }
    .hfd-nav #navbar .navbar-nav > li > a:hover, .hfd-nav #navbar .navbar-nav > li > a:focus { background: var(--hfd-surface) !important; color: var(--hfd-accent) !important; }
    .hfd-nav #navbar .navbar-nav > li.active > a, .hfd-nav #navbar .navbar-nav > li > a.active {
        background: var(--hfd-accent-light) !important; color: var(--hfd-accent) !important; box-shadow: inset 4px 0 0 var(--hfd-accent);
    }
    /* phone number -> full-width call button at the bottom */
    .hfd-nav #navbar .navbar-nav > li.number_tops { display: block; width: 100%; padding: 14px 4px 6px; float: none !important; }
    .hfd-nav #navbar .navbar-nav > li.number_tops > a {
        flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-height: 60px; padding: 8px 14px !important;
        background: var(--hfd-action) !important; color: #fff !important; border: 0 !important; border-radius: 12px;
        font-size: 18px !important; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(210,64,31,.28);
    }
    .hfd-nav #navbar .navbar-nav > li.number_tops > a::after { display: none; }
    .hfd-nav #navbar .navbar-nav > li.number_tops > a br { display: none; }
    .hfd-nav #navbar .navbar-nav > li.number_tops > a span {
        float: none !important; width: auto !important; margin: 0 !important; color: rgba(255,255,255,.92) !important;
        font-size: 12px !important; font-weight: 600; letter-spacing: .02em; text-transform: none;
    }
    .hfd-nav #navbar .navbar-nav > li.number_tops > a:hover, .hfd-nav #navbar .navbar-nav > li.number_tops > a:focus { background: var(--hfd-action-dark) !important; color: #fff !important; }
}
/* phones: no logo - one row of currency · call button · menu (HOME is in the menu) */
@media (max-width: 767px) {
    .hfd-nav > .container { gap: 8px; padding: 8px 12px; }
    .hfd-nav .navbar-header > a { display: none !important; }
    .hfd-nav-tools { order: 2; flex: 1 1 0; min-width: 0; gap: 0; }
    .hfd-nav-phone { display: none !important; }          /* the coral call button covers this */
    .hfd-currency { flex: 1 1 auto; min-width: 0; padding: 0 2px 0 10px; }
    #countryCurrency { flex: 1 1 auto; width: 100% !important; }
    .hfd-nav .unpublishdeal-top { order: 3; flex: 1.3 1 0; min-width: 0; }
    .hfd-nav .unpublishdeal-top a.hfd-call-pill { width: 100% !important; padding: 0 10px !important; }
    .hfd-nav .navbar-collapse { flex-basis: calc(100% + 24px) !important; margin: 0 -12px; padding: 0 12px 8px; }
}
@media (max-width: 340px) {
    /* very small phones: icon-only call button */
    .hfd-nav .unpublishdeal-top { flex: 0 0 44px; }
    .hfd-nav .unpublishdeal-top a.hfd-call-pill { width: 44px !important; padding: 0 !important; border-radius: 50%; font-size: 0 !important; }
    .hfd-nav .unpublishdeal-top a.hfd-call-pill .fa { font-size: 18px; }
    .hfd-call-pill span { display: none; }
}

/* ---------- Hero ---------- */
.top-slider {
    position: relative; height: auto !important; min-height: 520px; overflow: visible;
    padding: 56px 0 64px;
}
.top-slider::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(7,26,51,.45) 0%, rgba(7,26,51,.72) 50%, rgba(7,26,51,.86) 100%);
}
.top-slider > .container { position: relative; }
.search-outer { margin-top: 0 !important; }

.hfd-hero-copy { color: #fff; padding-top: 8px; padding-left: 40px; }
.hfd-eyebrow {
    display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.hfd-hero-title { color: #fff; font-size: 48px; line-height: 1.08; margin: 0 0 16px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hfd-hero-lead { font-size: 18px; color: rgba(255,255,255,.9); max-width: 30em; margin: 0 0 24px; }
.hfd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hfd-hero-points { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hfd-hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.hfd-hero-points .fa { color: #7cc4ff; }
.hfd-hero-note { font-size: 13px; color: rgba(255,255,255,.75); max-width: 34em; }
.hfd-hero-note summary { cursor: pointer; font-weight: 700; color: #fff; }

/* ---------- Flight search card (white) ---------- */
:is(#Flights, #Hotels, #Rental_car).hfd-search {
    background: #fff; color: var(--hfd-ink); opacity: 1;
    border-radius: var(--hfd-radius-lg); box-shadow: var(--hfd-shadow);
    padding: 22px 24px 24px; border-top: 5px solid var(--hfd-action);
}
:is(#Flights, #Hotels, #Rental_car).hfd-search .hfd-form { margin: 0; }
.hfd-trip { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; background: var(--hfd-surface); border-radius: 999px; }
.hfd-trip__opt { position: relative; margin: 0; cursor: pointer; font-weight: 700; font-size: 14px; }
.hfd-trip__opt input { position: absolute; opacity: 0; pointer-events: none; }
.hfd-trip__opt span { display: block; padding: 8px 18px; border-radius: 999px; color: var(--hfd-muted); transition: background .15s, color .15s; }
.hfd-trip__opt input:checked + span { background: var(--hfd-primary); color: #fff; }
.hfd-trip__opt input:focus-visible + span { outline: 3px solid var(--hfd-accent); outline-offset: 2px; }

.hfd-row { display: grid; gap: 12px; margin-bottom: 12px; }
.hfd-row--route, .hfd-row--dates { grid-template-columns: 1fr 1fr; }
.hfd-row--pax { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); margin-bottom: 18px; }
.hfd-row--one { grid-template-columns: 1fr; }
.hfd-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.hfd-search__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 20px; font-weight: 800; color: var(--hfd-primary); }
.hfd-search__title .fa { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--hfd-accent-light); color: var(--hfd-accent); font-size: 17px; }
/* car form: the drop-off field is shown by DoubleDropClick() (inline display), hide its empty cell otherwise */
.hfd-field--dropoff:has(> input[style*="display: none"]), .hfd-field--dropoff:has(> input[style*="display:none"]) { display: none; }
.hfd-row--route:has(> .hfd-field--dropoff > input[style*="none"]) { grid-template-columns: 1fr; }
.hfd-field { min-width: 0; }
.hfd-field > label {
    display: block; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: var(--hfd-primary);
}
.hfd-field > label small { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--hfd-muted); }

:is(#Flights, #Hotels, #Rental_car).hfd-search .form-control, :is(#Flights, #Hotels, #Rental_car).hfd-search select {
    width: 100% !important; height: 50px !important; margin: 0 !important; padding: 0 14px;
    border: 1.5px solid var(--hfd-field) !important; border-radius: var(--hfd-radius);
    background-color: #fff; color: var(--hfd-ink); font: 600 15px var(--hfd-font);
    box-shadow: none; float: none !important;
}
:is(#Flights, #Hotels, #Rental_car).hfd-search select { padding-right: 30px; }
:is(#Flights, #Hotels, #Rental_car).hfd-search .form-control::placeholder { color: #6b7789; font-weight: 400; opacity: 1; }
:is(#Flights, #Hotels, #Rental_car).hfd-search .form-control:hover, :is(#Flights, #Hotels, #Rental_car).hfd-search select:hover { border-color: var(--hfd-primary) !important; }
:is(#Flights, #Hotels, #Rental_car).hfd-search .form-control:focus, :is(#Flights, #Hotels, #Rental_car).hfd-search select:focus { border-color: var(--hfd-accent) !important; outline: none; box-shadow: 0 0 0 3px rgba(29,127,224,.18); }
:is(#Flights, #Hotels, #Rental_car).hfd-search .ng-invalid.ng-touched { border-color: #e5484d; }
.hfd-field .sui-autocomplete, .hfd-field .sui-input, .hfd-field [class*="sui-"] { width: 100% !important; }
.hfd-date { display: flex; }
:is(#Flights, #Hotels, #Rental_car).hfd-search .hfd-date input.form-control { flex: 1 1 auto; border-radius: var(--hfd-radius) 0 0 var(--hfd-radius) !important; border-right-width: 0 !important; }
:is(#Flights, #Hotels, #Rental_car).hfd-search .hfd-date select.form-control {
    flex: 0 0 106px; width: 106px !important; border-radius: 0 var(--hfd-radius) var(--hfd-radius) 0 !important;
    background-color: var(--hfd-surface); color: var(--hfd-primary); font-size: 14px;
}
:is(#Flights, #Hotels, #Rental_car).hfd-search .hfd-btn--primary { min-height: 56px; font-size: 18px; }
.search-outer #flight_desktop_form_hidden .search-box { background: transparent; padding: 0; box-shadow: none; }

/* ---------- Home sections ---------- */
.hfd-section { padding: 72px 0; }
.hfd-section--mist { background: var(--hfd-surface); }
.hfd-section__head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.hfd-section__head h2 { font-size: 34px; color: var(--hfd-primary); margin: 0 0 10px; }
.hfd-section__head p { color: var(--hfd-muted); font-size: 17px; margin: 0; }
.hfd-kicker { display: block; margin-bottom: 8px; color: var(--hfd-action-dark); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

.hfd-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hfd-feature { background: #fff; border: 1px solid var(--hfd-line); border-radius: 16px; padding: 24px; box-shadow: var(--hfd-shadow-sm); }
.hfd-feature__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--hfd-accent-light); color: var(--hfd-accent); font-size: 22px; margin-bottom: 14px; }
.hfd-feature h3 { font-size: 18px; font-weight: 800; color: var(--hfd-primary); margin: 0 0 6px; }
.hfd-feature p { color: var(--hfd-muted); margin: 0; }

.hfd-dest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hfd-dest { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--hfd-primary); box-shadow: var(--hfd-shadow-sm); text-decoration: none !important; }
.hfd-dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hfd-dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,51,0) 40%, rgba(7,26,51,.85) 100%); }
.hfd-dest__label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.hfd-dest__label strong { display: block; font-size: 22px; font-weight: 800; }
.hfd-dest__label span { font-weight: 600; opacity: .9; }
.hfd-dest:hover img, .hfd-dest:focus img { transform: scale(1.05); }

.hfd-deals__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hfd-deal { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hfd-line); border-radius: 18px; overflow: hidden; box-shadow: var(--hfd-shadow-sm); }
.hfd-deal__img { aspect-ratio: 16 / 8; overflow: hidden; }
.hfd-deal__img img { width: 100%; height: 100%; object-fit: cover; }
.hfd-deal__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hfd-deal__tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #fff1ec; color: var(--hfd-action-dark); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hfd-deal h3 { font-size: 22px; font-weight: 800; color: var(--hfd-primary); margin: 0; }
.hfd-deal p { color: var(--hfd-muted); margin: 0; flex: 1; }
.hfd-deal .hfd-link { font-weight: 800; color: var(--hfd-action-dark); text-decoration: none; }
.hfd-deal .hfd-link:hover { text-decoration: underline; }

.hfd-cta-band { background: linear-gradient(110deg, var(--hfd-primary) 0%, #123a6b 100%); color: #fff; padding: 48px 0; }
.hfd-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hfd-cta-band h2 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.hfd-cta-band p { margin: 0; color: rgba(255,255,255,.85); font-size: 16px; }

.hfd-newsletter { padding: 44px 0; background: var(--hfd-surface); border-top: 1px solid var(--hfd-line); }
.hfd-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hfd-newsletter h2 { font-size: 24px; color: var(--hfd-primary); margin: 0 0 4px; }
.hfd-newsletter p { margin: 0; color: var(--hfd-muted); }
.hfd-newsletter__form { display: flex; gap: 10px; flex: 1 1 360px; max-width: 520px; }
.hfd-newsletter__form .form-control { height: 52px; border-radius: var(--hfd-radius); border: 1.5px solid var(--hfd-field) !important; font-size: 15px; box-shadow: none; }
.hfd-newsletter__error { display: block; margin-top: 6px; color: var(--hfd-action-dark); font-weight: 600; }

/* ---------- Inner pages: header band, split section, reviews ---------- */
.hfd-page-head { background: linear-gradient(110deg, var(--hfd-primary) 0%, #123a6b 100%); color: #fff; padding: 44px 0 48px; }
.hfd-page-head h1 { color: #fff; font-size: 38px; margin: 6px 0 8px; }
.hfd-page-head p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0; max-width: 40em; }
.hfd-crumbs { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
.hfd-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.hfd-crumbs a { color: #fff; text-decoration: underline; }
.hfd-split::before, .hfd-split::after, .hfd-cta-band__inner::before, .hfd-cta-band__inner::after, .hfd-newsletter__inner::before, .hfd-newsletter__inner::after { content: none; display: none; }
.hfd-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hfd-split h2 { font-size: 32px; color: var(--hfd-primary); margin: 0 0 14px; }
.hfd-split p { color: var(--hfd-muted); font-size: 16px; line-height: 1.7; }
.hfd-split__media { justify-self: end; width: 100%; max-width: 420px; }
.hfd-split__media img { width: 100%; max-height: 300px; border-radius: 16px; box-shadow: var(--hfd-shadow-sm); aspect-ratio: 4 / 3; object-fit: cover; object-position: right center; }
.hfd-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.hfd-quote { position: relative; margin: 0; padding: 28px 24px 22px; background: #fff; border: 1px solid var(--hfd-line); border-radius: 16px; box-shadow: var(--hfd-shadow-sm); }
.hfd-quote__mark { color: var(--hfd-accent-light); font-size: 34px; position: absolute; top: 16px; right: 18px; color: #c9ddf4; }
.hfd-quote blockquote { margin: 0 0 16px; padding: 0; border: 0; font-size: 15px; line-height: 1.65; color: var(--hfd-ink); }
.hfd-quote blockquote p { margin: 0 0 10px; }
.hfd-quote figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--hfd-line); padding-top: 12px; }
.hfd-quote figcaption strong { color: var(--hfd-primary); }
.hfd-quote figcaption span { font-size: 13px; color: var(--hfd-muted); font-style: italic; }

/* ---------- Sign in ---------- */
.hfd-auth { background: var(--hfd-surface); padding: 64px 16px 80px; }
.hfd-auth__card { max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--hfd-line); border-top: 5px solid var(--hfd-action); border-radius: 18px; box-shadow: var(--hfd-shadow-sm); padding: 32px 28px 26px; }
.hfd-auth__card h1 { font-size: 28px; color: var(--hfd-primary); margin: 0 0 4px; }
.hfd-auth__lead { color: var(--hfd-muted); margin: 0 0 20px; }
.hfd-auth__form .hfd-field { margin-bottom: 16px; }
.hfd-auth__form .hfd-field > label { color: var(--hfd-primary); }
.hfd-auth__form .form-control { height: 50px; border: 1.5px solid var(--hfd-field) !important; border-radius: var(--hfd-radius); font-size: 16px; box-shadow: none; }
.hfd-auth__form .form-control:focus { border-color: var(--hfd-accent) !important; box-shadow: 0 0 0 3px rgba(29,127,224,.18); }
.hfd-auth__form .hfd-btn { margin-top: 6px; min-height: 54px; font-size: 17px; }
.hfd-auth__alt { margin: 18px 0 0; text-align: center; color: var(--hfd-muted); }
.hfd-auth__alt a { font-weight: 700; }
.hfd-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.hfd-alert--ok { background: #e7f7ee; color: #146c3c; }
.hfd-alert--error { background: #fdecea; color: #a1281a; }

/* ---------- Search results (Floading) ---------- */
.flight-fare-section { background: #fff; border: 1px solid var(--hfd-line); border-radius: 14px; box-shadow: var(--hfd-shadow-sm); margin: 0 0 16px; overflow: hidden; transition: box-shadow .15s ease, border-color .15s ease; }
.flight-fare-section:hover { border-color: #b8c6d6; box-shadow: 0 10px 24px rgba(7,26,51,.12); }
.flight-fare-section .flight_box_row { padding-top: 12px; padding-bottom: 12px; }
.flight-fare-section .flight_box_row + .flight_box_row { border-top: 1px dashed var(--hfd-line); }
.flight-fare-section .flight-fair { color: var(--hfd-primary); font-size: 28px; font-weight: 800; margin: 4px 0 2px; }
.flight-fare-section .taxes-rs { color: var(--hfd-muted); font-size: 12px; margin: 0 0 6px; }
.flight-fare-section .badge-success { background: #e7f7ee; color: #146c3c; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.flight-fare-section .btn-primary { min-width: 120px; min-height: 44px; border: 0 !important; border-radius: var(--hfd-radius) !important; background: var(--hfd-action) !important; color: #fff !important; font-weight: 800; }
.flight-fare-section .btn-primary:hover { background: var(--hfd-action-dark) !important; }
.flight-fare-section .btn-success { min-width: 120px; min-height: 40px; border-radius: var(--hfd-radius) !important; background: #fff !important; color: var(--hfd-primary) !important; font-weight: 700; border: 1.5px solid var(--hfd-primary) !important; }
.flight-fare-section .date-and-time { color: var(--hfd-muted); font-size: 13px; }
.flight-fare-section .flight_stops { font-weight: 700; color: var(--hfd-primary); margin-bottom: 2px; }
.antootherSave { background: #fff6e5; border-bottom: 1px solid #ffd99a; padding: 8px 15px; color: #7a4b00; }

/* ---------- Checkout (FlightBooking) ---------- */
.panel.panel-warning { border: 1px solid var(--hfd-line); border-radius: 14px; box-shadow: var(--hfd-shadow-sm); overflow: hidden; }
.panel.panel-warning > .panel-heading { background: var(--hfd-surface); color: var(--hfd-primary); border-color: var(--hfd-line); font-weight: 800; font-size: 16px; padding: 12px 18px; }
.panel.panel-warning > .panel-body { padding: 18px; }
.panel-body .form-control, .panel-body select.form-control { height: 46px; border-radius: 8px; border: 1.5px solid var(--hfd-field); font-size: 15px; box-shadow: none; }
.panel-body label { font-weight: 600; color: var(--hfd-ink); }
#completebooking { min-height: 56px; padding: 0 36px; border: 0; border-radius: var(--hfd-radius); background: var(--hfd-action) !important; color: #fff !important; font-weight: 800; font-size: 18px; box-shadow: 0 6px 16px rgba(210,64,31,.30); }
#completebooking:hover, #completebooking:focus { background: var(--hfd-action-dark) !important; }

/* ---------- Misc ---------- */
.form-control:focus { border-color: var(--hfd-accent); box-shadow: 0 0 0 3px rgba(29,127,224,.15); }
.daterangepicker td.active, .daterangepicker td.active:hover { background-color: var(--hfd-primary) !important; }
.daterangepicker td.in-range { background-color: var(--hfd-accent-light); }
.daterangepicker .applyBtn { background: var(--hfd-action); border-color: var(--hfd-action); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hfd-hero-title { font-size: 40px; }
    .hfd-hero-copy { padding-left: 20px; }
}
@media (max-width: 991px) {
    .hfd-row--pax { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hfd-features__grid, .hfd-dest__grid { grid-template-columns: repeat(2, 1fr); }
    .hfd-deals__grid { grid-template-columns: 1fr; }
    .hfd-quotes { grid-template-columns: 1fr; }
    .hfd-split { grid-template-columns: 1fr; gap: 28px; }
    .hfd-hero-copy { padding: 32px 15px 0; }
}
@media (max-width: 767px) {
    /* the old phone-only form (style_new.css forces it with div#baf_mob_form {display:block !important}) */
    div#baf_mob_form.tabbable-panel { display: none !important; }
    .top-slider { background-image: none !important; background-color: var(--hfd-primary) !important; }
    .top-slider::before { display: none; }
    footer li a, .footer-list a, .footer_other_details a { display: inline-block; padding: 8px 0; }
    .navbar-trans .navbar-nav > li > a { padding-top: 12px; padding-bottom: 12px; }
    #flight_desktop_form_hidden { display: block !important; width: 100% !important; float: none !important; padding: 0 !important; }
    .search-outer { padding-left: 12px; padding-right: 12px; }
    .top-slider { min-height: 0; padding: 18px 0 28px; }
    :is(#Flights, #Hotels, #Rental_car).hfd-search { padding: 18px 16px 20px; border-radius: 14px; }
    .hfd-row--route, .hfd-row--dates { grid-template-columns: 1fr; }
    .hfd-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .hfd-trip { display: flex; }
    .hfd-trip__opt { flex: 1; text-align: center; }
    :is(#Flights, #Hotels, #Rental_car).hfd-search .form-control, :is(#Flights, #Hotels, #Rental_car).hfd-search select { font-size: 16px; }
    .hfd-hero-title { font-size: 30px; }
    .hfd-hero-lead { font-size: 16px; }
    .hfd-hero-note { display: none; }
    .hfd-section { padding: 48px 0; }
    .hfd-section__head h2 { font-size: 26px; }
    .hfd-features__grid, .hfd-dest__grid { grid-template-columns: 1fr; }
    .hfd-newsletter__form { flex-direction: column; }
    .hfd-page-head { padding: 28px 0 32px; }
    .hfd-page-head h1 { font-size: 28px; }
    .hfd-split h2 { font-size: 26px; }
    .hfd-auth { padding: 28px 12px 48px; }
    .hfd-auth__card { padding: 24px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 991px) { .hfd-split__media { justify-self: center; max-width: 520px; } .hfd-split__media img { max-height: 260px; } }
.hfd-split--text { grid-template-columns: minmax(0, 1fr); }
.hfd-split--text { justify-items: center; text-align: center; padding-top: 24px; padding-bottom: 24px; }
.hfd-split--text .hfd-split__text { max-width: 820px; margin: 0 auto; }
.hfd-split--text h2 { font-size: 36px; }
.hfd-split--text p { font-size: 17px; }

/* ===== Flight results: trip summary bar ===== */
.nwbgfloadmodify, .flight-content.result-modify.addons.nwbgfloadmodify { margin-top: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; background: var(--hfd-primary) !important; }
.hfd-trip-bar { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding: 16px 0; color: #fff; }
.hfd-trip-bar__item { display: flex; flex-direction: column; min-width: 0; }
.hfd-trip-bar__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hfd-trip-bar__item strong { font-size: 17px; font-weight: 700; color: #fff; white-space: nowrap; }
.hfd-trip-bar__route strong { font-size: 20px; letter-spacing: .02em; }
.hfd-trip-bar__route .fa { margin: 0 6px; opacity: .8; }
.hfd-trip-bar__modify { margin-left: auto; background: var(--hfd-action); color: #fff; border: 0; border-radius: 10px; padding: 11px 22px; font-weight: 700; font-size: 15px; }
.hfd-trip-bar__modify:hover, .hfd-trip-bar__modify:focus { background: var(--hfd-action-dark); outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
@media (max-width: 767px) {
    .hfd-trip-bar { gap: 8px 18px; padding: 12px 0; }
    .hfd-trip-bar__item strong { font-size: 15px; }
    .hfd-trip-bar__route strong { font-size: 17px; }
    .hfd-trip-bar__modify { width: 100%; margin-left: 0; }
}

/* ===== Flight results: searching state ===== */
.hfd-search-wait { max-width: 640px; margin: 32px auto 48px; padding: 36px 32px 28px; background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(11,37,69,.12); text-align: center; float: none; }
.hfd-search-wait h2 { font-size: 26px; font-weight: 700; color: var(--hfd-primary); margin: 14px 0 6px; }
.hfd-search-wait__sub { color: var(--hfd-muted); font-size: 15px; margin: 0 auto 22px; max-width: 460px; }
.hfd-search-wait__plane { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #e8f1fb; color: var(--hfd-accent); font-size: 32px; }
.hfd-search-wait__plane .fa { animation: hfd-fly 1.6s ease-in-out infinite; }
@keyframes hfd-fly { 0%,100% { transform: translate(-4px, 3px) rotate(0deg); } 50% { transform: translate(4px, -3px) rotate(-6deg); } }
.hfd-search-wait__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px; background: var(--hfd-surface); border-radius: 14px; }
.hfd-search-wait__route strong { display: block; font-size: 32px !important; font-weight: 800; color: var(--hfd-primary); letter-spacing: .04em; line-height: 1.1; }
.hfd-search-wait__route span { display: block; font-size: 13px; color: var(--hfd-muted); margin-top: 4px; }
.hfd-search-wait__route > .fa { font-size: 26px; color: var(--hfd-accent); }
.hfd-search-wait__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 20px; color: var(--hfd-ink, #1c2a3a); font-size: 15px; }
.hfd-search-wait__meta .fa { color: var(--hfd-accent); margin-right: 4px; }
.hfd-search-wait__bar { height: 6px; border-radius: 6px; background: #e6edf5; overflow: hidden; }
.hfd-search-wait__bar span { display: block; height: 100%; width: 35%; border-radius: 6px; background: linear-gradient(90deg, var(--hfd-accent), var(--hfd-accent-bright)); animation: hfd-bar 1.4s ease-in-out infinite; }
@keyframes hfd-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }
.hfd-search-wait__perks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--hfd-muted); }
.hfd-search-wait__perks .fa { color: #1f9d55; margin-right: 4px; }
@media (max-width: 767px) {
    .hfd-search-wait { margin: 16px 12px 32px; padding: 26px 16px 20px; }
    .hfd-search-wait h2 { font-size: 21px; }
    .hfd-search-wait__route strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .hfd-search-wait__plane .fa, .hfd-search-wait__bar span { animation: none; } }

/* while searching: hide filters, side ad and result tools so the page is just the progress card */
body:has(#floading[style*="block"]) #showfilter,
body:has(#floading[style*="block"]) .btn-warning-filter,
body:has(#floading[style*="block"]) .newtabfilter_sec,
body:has(#floading[style*="block"]) #loader-image { display: none !important; }
body:has(#floading[style*="block"]) .filter-Content .right-content { width: 100% !important; float: none; margin: 0 auto; }
body:has(#floading[style*="block"]) .filter-Content .well { background: var(--hfd-surface); border: 0; box-shadow: none; }
#floading.newfloadbaf { float: none; width: 100%; }

/* ===== Flight results: match the home page theme ===== */
.filter-Content > .container > .well { background: var(--hfd-surface) !important; border: 0 !important; box-shadow: none !important; }
/* sidebar */
.filter-Content .filter-sidebar .advice, .filter-Content .advice-advance { background: #fff !important; border: 1px solid #e3e9f1 !important; border-radius: 14px; box-shadow: 0 1px 3px rgba(11,37,69,.05); }
.filter-Content .filter-sidebar .advice .info-text { color: var(--hfd-primary) !important; }
.filter-Content .resultsCountGrid, .filter-Content .resultsCountGrid .count { background: var(--hfd-primary) !important; border-radius: 12px 12px 0 0; }
.filter-Content .resultsCountGrid .filtered, .filter-Content .resultsCountGrid a { color: #fff !important; letter-spacing: .04em; }
.filter-Content .accordion#refreshSearchDiv { border: 1px solid #e3e9f1; border-top: 0; border-radius: 0 0 14px 14px; }
.filter-Content .containerss .checkmark { background: #fff !important; border: 2px solid var(--hfd-field) !important; border-radius: 5px; }
.filter-Content .containerss input:checked ~ .checkmark { background: var(--hfd-accent) !important; border-color: var(--hfd-accent) !important; }
.filter-Content .advice-advance .compare-all { background: var(--hfd-accent) !important; color: #fff !important; border: 0; border-radius: 10px; font-weight: 700; }
/* airline price matrix */
.filter-Content .matrix-box { background: #fff !important; border: 1px solid #e3e9f1; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(11,37,69,.05); }
.filter-Content .matrixTable, .filter-Content .matrixTable tr, .filter-Content .matrixTable td, .filter-Content .matrixTable th { background: #fff !important; color: var(--hfd-primary) !important; border-color: #e3e9f1 !important; }
.filter-Content .matrixTable td, .filter-Content .matrixTable th { font-size: 14px !important; padding: 10px 8px !important; }
.filter-Content .matrixTable tr:first-child td, .filter-Content .matrixTable tr:first-child th { font-size: 13px !important; color: var(--hfd-muted) !important; font-weight: 600; }
.filter-Content .matrixTable tr:first-child td:first-child, .filter-Content .matrixTable tr:first-child td:first-child * { color: var(--hfd-action) !important; font-size: 18px !important; font-weight: 800; }
.filter-Content .matrixTable td:first-child { font-weight: 700; background: #f7fafd !important; }
.filter-Content .matrixTable td[ng-click]:hover, .filter-Content .matrixTable td:hover { background: #eaf3fd !important; cursor: pointer; }
/* phone fare */
.filter-Content .panel-warning { border: 1px solid #e3e9f1 !important; border-left: 5px solid var(--hfd-action) !important; border-radius: 14px !important; box-shadow: 0 1px 3px rgba(11,37,69,.05) !important; }
.filter-Content .panel-warning .call-price { color: var(--hfd-action) !important; font-weight: 800; }
.filter-Content .panel-warning .date-and-time { color: var(--hfd-primary) !important; }
.filter-Content .panel-warning a { color: var(--hfd-accent) !important; font-weight: 600; }
/* sort tabs */
.filter-Content .newtabfilter_sec_inner ul { display: flex; flex-wrap: wrap; gap: 10px; border-bottom: 0 !important; }
.filter-Content .newtabfilter_sec_inner ul li { margin: 0 !important; }
.filter-Content .newtabfilter_sec_inner ul li a { display: inline-block; background: #fff !important; color: var(--hfd-primary) !important; border: 1.5px solid #d5dfeb !important; border-radius: 999px !important; padding: 8px 18px !important; font-weight: 700; font-size: 14px !important; }
.filter-Content .newtabfilter_sec_inner ul li a:hover { border-color: var(--hfd-accent) !important; }
.filter-Content .newtabfilter_sec_inner ul li a.activefillter { background: var(--hfd-primary) !important; border-color: var(--hfd-primary) !important; color: #fff !important; }
.filter-Content .newtabfilter_sec_inner .Cheapest_currency { color: inherit !important; font-weight: 600; opacity: .85; margin-left: 4px; }
/* flight cards */
.filter-Content .flight-fare-section { background: #fff !important; border: 1px solid #e3e9f1 !important; border-radius: 16px !important; overflow: hidden; box-shadow: 0 2px 8px rgba(11,37,69,.06) !important; margin-bottom: 18px !important; }
.filter-Content .flight-fare-section:hover { box-shadow: 0 6px 20px rgba(11,37,69,.12) !important; }
.filter-Content .flight_box_row.first_row { background: #f7fafd !important; border-bottom: 1px solid #e3e9f1 !important; }
.filter-Content .first_row .flight-fair { color: var(--hfd-primary) !important; font-size: 28px !important; font-weight: 800 !important; margin: 0 !important; }
.filter-Content .first_row .fair-section span { position: static !important; display: block; margin: 2px 0 0 !important; color: var(--hfd-muted) !important; font-size: 12px !important; }
.filter-Content .first_row .taxes-rs { color: var(--hfd-muted) !important; font-size: 12px !important; margin: 2px 0 6px !important; }
.filter-Content .first_row .badge-success { background: #e7f7ee !important; color: #17693a !important; border-radius: 999px; font-weight: 700; padding: 4px 10px !important; font-size: 12px !important; }
.filter-Content .first_row .btn-primary { background: var(--hfd-action) !important; color: #fff !important; border-radius: 10px !important; font-weight: 700; }
.filter-Content .first_row .btn-primary:hover { background: var(--hfd-action-dark) !important; }
.filter-Content .first_row .btn-success { background: #fff !important; color: var(--hfd-primary) !important; border: 1.5px solid var(--hfd-primary) !important; border-radius: 10px !important; font-weight: 700; }
.filter-Content .second_row { background: #fff !important; }
.filter-Content .second_row .place-name { color: var(--hfd-primary) !important; }
.filter-Content .second_row .date-and-time { color: var(--hfd-muted) !important; }
.filter-Content .second_row .flight_stops { color: var(--hfd-primary) !important; font-weight: 700; }
.filter-Content .second_row .total_hours { color: var(--hfd-muted) !important; }
.filter-Content .second_row .total_hours .fa { color: var(--hfd-accent) !important; }
.filter-Content .antootherSave { background: #fff6e5 !important; color: #7a4b00 !important; border: 0 !important; }
.filter-Content .first_row .btn-success { box-shadow: inset 0 0 0 1.5px var(--hfd-primary) !important; }
.filter-Content .first_row .fair-section a { display: block; text-decoration: none; }
.filter-Content .matrixTable { width: 100% !important; margin: 0 !important; }
.filter-Content .panel-warning .date-and-time span[style*="font-weight: 800"] { font-size: 17px !important; color: var(--hfd-action) !important; }
.filter-Content .panel-warning .call-price { font-size: 26px !important; }
.filter-Content .flight-fare-section .btn-sm.btn-primary { background: #fff !important; color: var(--hfd-accent) !important; border: 1.5px solid #cfdcec !important; border-radius: 10px !important; font-weight: 700; width: auto !important; padding: 6px 14px !important; }
.filter-Content .flight-fare-section .btn-sm.btn-primary:hover { border-color: var(--hfd-accent) !important; }
.filter-Content .flight-fare-section .label-primary { background: #e8f1fb !important; color: var(--hfd-accent) !important; border-radius: 999px; font-weight: 700; }
.filter-Content .matrixTable.table-responsive { display: table !important; table-layout: auto; }
/* compact phone-fare strip */
.hfd-phonefare { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0; padding: 10px 14px; background: #fff; border: 1px solid #e3e9f1; border-left: 4px solid var(--hfd-action); border-radius: 12px; }
.hfd-phonefare__icon { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fdece7; color: var(--hfd-action); font-size: 16px; }
.hfd-phonefare__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.hfd-phonefare__text strong { color: var(--hfd-primary); font-size: 15px; }
.hfd-phonefare__price { color: var(--hfd-action); font-size: 17px; font-weight: 800; margin-left: 4px; }
.hfd-phonefare__text > span { color: var(--hfd-muted); font-size: 12.5px; }
.hfd-phonefare__text a { color: var(--hfd-accent); font-weight: 600; }
.hfd-phonefare__call { margin-left: auto; background: var(--hfd-action); color: #fff !important; border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none !important; }
.hfd-phonefare__call:hover { background: var(--hfd-action-dark); }
.hfd-phonefare__desc { flex-basis: 100%; margin: 4px 0 0; color: var(--hfd-muted); font-size: 13px; }
@media (max-width: 767px) { .hfd-phonefare__call { margin-left: 0; width: 100%; text-align: center; } }
/* compact airline price grid */
.filter-Content .matrixTable td, .filter-Content .matrixTable th { padding: 4px 6px !important; font-size: 13px !important; line-height: 1.3 !important; height: auto !important; vertical-align: middle !important; }
.filter-Content .matrixTable tr:first-child td, .filter-Content .matrixTable tr:first-child th { padding: 6px 6px 4px !important; font-size: 12px !important; }
.filter-Content .matrixTable img { max-height: 22px !important; max-width: 40px !important; width: auto !important; height: auto !important; margin: 0 auto 2px !important; display: block; }
.filter-Content .matrixTable tr:first-child td:first-child img { max-height: 20px !important; }
.filter-Content .matrixTable tr:first-child td:first-child, .filter-Content .matrixTable tr:first-child td:first-child * { font-size: 15px !important; }
.filter-Content .matrixTable br { display: none; }
.filter-Content .matrix-box { margin-bottom: 0 !important; }
/* compact flight cards */
.filter-Content .flight_box_row.first_row { display: flex !important; align-items: center; padding: 8px 14px !important; min-height: 0 !important; height: auto !important; }
.filter-Content .first_row > div { float: none !important; padding: 0 !important; }
.filter-Content .first_row > div:first-child { flex: 1 1 auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; width: auto !important; }
.filter-Content .first_row > div:last-child { flex: none; width: auto !important; }
.filter-Content .first_row .fair-section { display: flex; align-items: baseline; gap: 8px; }
.filter-Content .first_row .flight-fair { font-size: 24px !important; line-height: 1.1 !important; }
.filter-Content .first_row .fair-section span { display: inline !important; }
.filter-Content .first_row .taxes-rs { margin: 0 !important; }
.filter-Content .first_row .badge-success { margin: 0 !important; padding: 2px 8px !important; font-size: 11.5px !important; }
.filter-Content .first_row .text-right { display: flex; gap: 8px; align-items: center; }
.filter-Content .first_row .text-right br { display: none; }
.filter-Content .first_row .text-right .btn { width: 88px !important; margin: 0 !important; padding: 7px 0 !important; font-size: 14px !important; }
.filter-Content .flight_box_row.second_row { display: flex !important; align-items: center; padding: 6px 14px !important; min-height: 0 !important; height: auto !important; }
.filter-Content .second_row > div { float: none !important; padding: 0 6px !important; }
.filter-Content .second_row > div:first-child { display: flex; align-items: center; gap: 8px; }
.filter-Content .second_row .top-air, .filter-Content .second_row .cities { margin: 0 !important; width: 26px; flex: none; }
.filter-Content .second_row .cities img { max-height: 22px; width: auto !important; }
.filter-Content .second_row p { margin: 0 !important; font-size: 13px; line-height: 1.3; }
.filter-Content .second_row .date-and-time { font-size: 12px !important; line-height: 1.3; margin: 0 !important; }
.filter-Content .second_row .place-name { font-size: 16px !important; line-height: 1.2; margin: 0 !important; }
.filter-Content .second_row .flight_stops { font-size: 13px !important; }
.filter-Content .second_row .total_hours { font-size: 12px !important; margin: 0 !important; }
.filter-Content .flight_box_row.third_row { display: flex !important; flex-wrap: wrap; align-items: center; padding: 6px 14px !important; min-height: 0 !important; height: auto !important; }
.filter-Content .third_row > div { float: none !important; padding: 0 !important; flex: 1 1 100%; width: 100% !important; }
.filter-Content .third_row > .col-xs-7:first-child { flex: 1 1 auto; width: auto !important; }
.filter-Content .third_row > .col-xs-7:first-child + .col-xs-5 { flex: none; width: auto !important; }
.filter-Content .third_row .label-primary { padding: 4px 10px !important; font-size: 11px; }
.filter-Content .third_row img { max-height: 18px; width: auto; }
.filter-Content .flight-fare-section .btn-sm.btn-primary { padding: 4px 12px !important; font-size: 12px !important; }
.filter-Content .flight-fare-section { margin-bottom: 12px !important; }
.filter-Content .third_row .btn { height: auto !important; min-height: 0 !important; line-height: 1.3 !important; }
/* flight results on phones */
@media (max-width: 767px) {
    .filter-Content .newtabfilter_sec_inner ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .filter-Content .newtabfilter_sec_inner ul li a { white-space: nowrap; padding: 6px 14px !important; font-size: 13px !important; }
    .filter-Content .flight_box_row.first_row { flex-wrap: wrap; gap: 8px; padding: 10px 12px !important; }
    .filter-Content .first_row > div:first-child { flex: 1 1 100%; }
    .filter-Content .first_row > div:last-child { flex: 1 1 100%; width: 100% !important; }
    .filter-Content .first_row .text-right { width: 100%; }
    .filter-Content .first_row .text-right > button, .filter-Content .first_row .text-right > a { flex: 1 1 0; }
    .filter-Content .first_row .text-right .btn { width: 100% !important; }
    .filter-Content .first_row .fair-section span { white-space: nowrap; }
    .filter-Content .flight_box_row.second_row { flex-wrap: wrap; row-gap: 2px; padding: 8px 12px !important; }
    .filter-Content .second_row > div { padding: 0 !important; }
    .filter-Content .second_row > div:first-child { flex: 1 1 100%; width: 100% !important; }
    .filter-Content .second_row > div:first-child p { font-size: 12px; color: var(--hfd-muted); }
    .filter-Content .second_row > div:first-child p br, .filter-Content .second_row > div:first-child p font { display: none; }
    .filter-Content .second_row > div:not(:first-child) { flex: 1 1 33%; width: 33% !important; }
    .filter-Content .second_row > div:last-child { text-align: right; }
    .filter-Content .second_row .date-and-time { font-size: 11px !important; white-space: normal; }
    .filter-Content .second_row .place-name { font-size: 17px !important; }
    .filter-Content .flight_box_row.third_row { padding: 8px 12px 10px !important; gap: 6px; }
    .filter-Content .third_row > .col-xs-7:first-child { flex: 1 1 100%; }
    .filter-Content .third_row > .col-xs-7:first-child + .col-xs-5 { flex: 1 1 100%; width: 100% !important; text-align: left !important; }
    .filter-Content .third_row > .col-xs-7:first-child + .col-xs-5 .btn { width: 100% !important; padding: 7px 12px !important; }
}
@media (max-width: 767px) { .filter-Content .newtabfilter_sec_inner ul { overflow: visible; gap: 6px; } .filter-Content .newtabfilter_sec_inner ul li { flex: 1 1 0; min-width: 0; } .filter-Content .newtabfilter_sec_inner ul li a { display: block; text-align: center; padding: 6px 4px !important; font-size: 12px !important; } .filter-Content .newtabfilter_sec_inner .Cheapest_currency { display: block; margin: 0; } }
@media (max-width: 767px) { .filter-Content .newtabfilter_sec_inner ul li { float: none !important; width: auto !important; } .filter-Content .newtabfilter_sec_inner ul li a { width: 100% !important; white-space: nowrap; } .filter-Content .newtabfilter_sec_inner .Cheapest_currency { display: inline; margin-left: 3px; } }

/* old responsive.css fixes .container at 1366px: never wider than the screen */
.container { max-width: 100%; }

/* ===== Flight booking (review & pay) page ===== */
#mainBookingDiv { background: var(--hfd-surface) !important; padding-bottom: 32px; }
#mainBookingDiv .mc { margin-top: 0 !important; padding: 22px 0 !important; background: var(--hfd-primary) !important; }
#mainBookingDiv .mc .white-mb { font-family: inherit; font-size: 26px !important; font-weight: 700; color: #fff !important; margin: 0 0 4px !important; }
#mainBookingDiv .mc .step-flight { font-size: 14px !important; color: rgba(255,255,255,.8) !important; margin: 0 !important; }
#mainBookingDiv .mc .container > div { float: none; width: 100%; }
#mainBookingDiv .book-Content > .container { width: auto !important; max-width: 1200px; margin: 0 auto; }
#mainBookingDiv .book-Content > .container > div[style*="margin:30px"] { margin: 18px 0 !important; }
/* trust strip */
#mainBookingDiv .number-pt.alert-success { background: #fff !important; border: 1px solid #e3e9f1 !important; border-radius: 12px; color: var(--hfd-primary) !important; padding: 12px 16px !important; margin-bottom: 14px; min-height: 0 !important; height: auto !important; }
#mainBookingDiv .number-pt .lowest-tip, #mainBookingDiv .number-pt b { font-size: 14px !important; font-weight: 600; color: var(--hfd-primary) !important; line-height: 1.7; }
#mainBookingDiv .number-pt .glyphicon-ok { color: #1f9d55; margin-right: 4px; }
#mainBookingDiv .number-pt img { max-height: 40px; width: auto; margin: 0 !important; }
/* section cards */
#mainBookingDiv .panel { background: #fff; border: 1px solid #e3e9f1 !important; border-radius: 16px !important; box-shadow: 0 1px 3px rgba(11,37,69,.05) !important; overflow: hidden; margin-bottom: 18px; }
#mainBookingDiv .panel > .panel-heading { background: #fff !important; color: var(--hfd-primary) !important; border-bottom: 1px solid #e3e9f1 !important; padding: 14px 20px !important; font-size: 18px !important; font-weight: 700; }
#mainBookingDiv .panel > .panel-heading * { color: inherit !important; }
#mainBookingDiv .panel > .panel-heading small, #mainBookingDiv .panel > .panel-heading span:not(:first-child) { font-size: 13px !important; font-weight: 500; color: var(--hfd-muted) !important; }
#mainBookingDiv .panel .panel { box-shadow: none !important; border-radius: 12px !important; }
#mainBookingDiv .panel .panel > .panel-heading, #mainBookingDiv .panel-hd { background: #f7fafd !important; font-size: 15px !important; padding: 10px 16px !important; }
#mainBookingDiv .panel-body h3 { font-size: 16px !important; color: var(--hfd-primary) !important; font-weight: 700; }
/* itinerary */
#mainBookingDiv .place-name { color: var(--hfd-primary) !important; }
#mainBookingDiv .date-and-time { color: var(--hfd-muted); }
#mainBookingDiv .conn.mt-layout span { background: #fff6e5 !important; color: #8a5300 !important; border: 1px solid #f5d79e !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 700; padding: 3px 12px !important; }
/* form fields + buttons */
#mainBookingDiv .form-control { border-radius: 10px; border: 1px solid var(--hfd-field); box-shadow: none; height: 42px; }
#mainBookingDiv .form-control:focus { border-color: var(--hfd-accent); box-shadow: 0 0 0 3px rgba(22,104,194,.18); }
#mainBookingDiv #completebooking { background: var(--hfd-action) !important; border: 0 !important; border-radius: 12px; font-weight: 700; padding: 12px 28px; color: #fff !important; }
#mainBookingDiv #completebooking:hover { background: var(--hfd-action-dark) !important; }
#mainBookingDiv .btn-primary { background: var(--hfd-accent) !important; border-color: var(--hfd-accent) !important; border-radius: 10px; }
#mainBookingDiv .review-book { color: var(--hfd-primary) !important; font-size: 17px !important; font-weight: 700; }
@media (max-width: 767px) {
    #mainBookingDiv .mc .white-mb { font-size: 21px !important; }
    #mainBookingDiv .panel > .panel-heading { font-size: 16px !important; padding: 12px 14px !important; }
    #mainBookingDiv #completebooking { width: 100%; }
}
#mainBookingDiv .panel .panel-body .panel, #mainBookingDiv .panel-body > .row > [class*="col-"] > .well, #mainBookingDiv .well { background: #f7fafd !important; border-color: #e3e9f1 !important; }

/* ===== Booking confirmation page ===== */
.hfd-confirm { background: var(--hfd-surface); padding-bottom: 40px; }
.hfd-confirm__head { background: linear-gradient(180deg, var(--hfd-primary) 0, var(--hfd-primary) 110px, var(--hfd-surface) 110px); padding: 28px 0 8px; }
.hfd-confirm__card { display: flex; gap: 20px; align-items: flex-start; max-width: 900px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 28px 30px; box-shadow: 0 10px 40px rgba(11,37,69,.12); }
.hfd-confirm__icon { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e7f7ee; color: #1f9d55; font-size: 26px; }
.hfd-confirm__main { flex: 1; min-width: 0; }
.hfd-confirm__main h1 { font-size: 24px; font-weight: 700; color: var(--hfd-primary); margin: 4px 0 14px; }
.hfd-confirm__meta { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 14px 18px; background: var(--hfd-surface); border-radius: 12px; margin-bottom: 14px; }
.hfd-confirm__meta span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hfd-muted); }
.hfd-confirm__meta strong { font-size: 22px; font-weight: 800; color: var(--hfd-primary); letter-spacing: .03em; }
.hfd-confirm__meta .hfd-confirm__status { font-size: 15px; display: inline-block; margin-top: 4px; padding: 3px 12px; border-radius: 999px; background: #fff6e5; color: #8a5300; letter-spacing: 0; }
.hfd-confirm #ticketMessage { border-radius: 12px; font-size: 14px; font-weight: 500; text-align: left !important; margin: 0 0 12px; padding: 12px 16px; }
.hfd-confirm #ticketMessage:empty { display: none; }
.hfd-confirm #ticketMessage.alert-success { background: #e7f7ee; border-color: #bfe6cf; color: #17693a; }
.hfd-confirm__help { margin: 0; color: var(--hfd-muted); font-size: 14px; }
.hfd-confirm__help .fa { color: var(--hfd-accent); margin-right: 4px; }
.hfd-confirm__help a { color: var(--hfd-accent); font-weight: 700; }
.hfd-confirm__title { display: block; max-width: 900px; font-size: 18px; font-weight: 700; color: var(--hfd-primary); margin: 24px auto 10px; padding: 0 15px; }
.hfd-confirm > .container { width: auto !important; max-width: 900px; margin: 0 auto; }
.hfd-confirm .status-content { background: #fff; border: 1px solid #e3e9f1; border-radius: 16px; padding: 8px 18px 14px; box-shadow: 0 1px 3px rgba(11,37,69,.05); }
.hfd-confirm .table-responsive { border: 0; overflow: visible; }
.hfd-confirm .date-flit { margin: 14px 0 6px; padding-bottom: 6px; border-bottom: 1px solid #e3e9f1; color: var(--hfd-primary); font-size: 15px; }
.hfd-confirm .date-flit .fa { color: var(--hfd-accent); margin-right: 4px; }
.hfd-confirm .flight_box_row.second_row { background: #fff !important; border: 0 !important; padding: 8px 0 !important; min-height: 0 !important; height: auto !important; }
.hfd-confirm .second_row .cities { width: 26px; display: inline-block; vertical-align: middle; }
.hfd-confirm .second_row .cities img { max-height: 22px; width: auto !important; }
.hfd-confirm .second_row p { margin: 2px 0 0; font-size: 13px; color: var(--hfd-primary); }
.hfd-confirm .second_row .date-and-time { font-size: 12px; color: var(--hfd-muted); }
.hfd-confirm .second_row .place-name { color: var(--hfd-primary) !important; font-size: 14px; font-weight: 600; }
.hfd-confirm .second_row .flight_stops { font-weight: 700; }
.hfd-confirm .second_row .total_hours { font-size: 12px; color: var(--hfd-muted); }
.hfd-confirm .second_row .total_hours .fa { color: var(--hfd-accent); }
.hfd-confirm .conn.mt-layout span { background: #fff6e5 !important; color: #8a5300 !important; border: 1px solid #f5d79e !important; border-radius: 999px !important; font-size: 12px !important; font-weight: 700; padding: 2px 12px !important; }
@media (max-width: 767px) {
    .hfd-confirm__card { flex-direction: column; padding: 20px 16px; gap: 10px; margin: 0 4px; }
    .hfd-confirm__main h1 { font-size: 20px; }
    .hfd-confirm .second_row > div, .hfd-confirm .second_row > .row > div { width: 50% !important; margin-bottom: 6px; }
}
.hfd-confirm__icon.is-warn { background: #fff6e5; color: #b26a00; }
.hfd-confirm__lost { color: var(--hfd-muted); font-size: 15px; margin: 0 0 12px; }

/* ===== Booking page: itinerary as Depart / Return timeline cards ===== */
#mainBookingDiv .hfd-itin[style*="block"] { display: grid !important; }
#mainBookingDiv .hfd-itin { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; padding: 18px !important; background: #fff; }
.hfd-leg { border: 1px solid #e3e9f1; border-radius: 16px; overflow: hidden; background: #fff; }
.hfd-leg__head { padding: 14px 18px 12px; background: var(--hfd-primary); color: #fff; }
.hfd-leg--return .hfd-leg__head { background: linear-gradient(135deg, #12406e, var(--hfd-accent)); }
.hfd-leg__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 3px 10px; border-radius: 999px; }
.hfd-leg__route { display: flex; align-items: center; gap: 12px; margin: 8px 0 2px; }
.hfd-leg__route b { font-size: 28px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.hfd-leg__line { flex: 1; position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 6px, transparent 6px 11px); }
.hfd-leg__line .fa { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); font-size: 16px; color: #fff; background: inherit; padding: 0 6px; }
.hfd-leg__head .hfd-leg__line .fa { background: transparent; text-shadow: 0 0 0 transparent; }
.hfd-leg__sum { font-size: 13px; color: rgba(255,255,255,.85); }
.hfd-tl { list-style: none; margin: 0; padding: 16px 18px 18px; }
.hfd-seg { display: grid; grid-template-columns: 78px 18px 1fr; column-gap: 12px; align-items: center; }
.hfd-seg__time b { display: block; font-size: 15px; font-weight: 800; color: var(--hfd-primary); line-height: 1.2; }
.hfd-seg__time small { display: block; font-size: 11.5px; color: var(--hfd-muted); }
.hfd-seg__dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--hfd-accent); background: #fff; justify-self: center; position: relative; z-index: 1; }
.hfd-seg__dot--end { background: var(--hfd-accent); }
.hfd-seg__place strong { font-size: 14px; color: var(--hfd-primary); font-weight: 700; }
.hfd-seg__place span { display: inline-block; margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--hfd-accent); background: #e8f1fb; border-radius: 6px; padding: 1px 6px; }
.hfd-seg__dur { font-size: 12px; color: var(--hfd-muted); padding: 10px 0; }
.hfd-seg__rail { justify-self: center; align-self: stretch; width: 2px; background: var(--hfd-accent); opacity: .5; margin: -4px 0; }
.hfd-seg__flight { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 0; font-size: 12.5px; color: var(--hfd-primary); font-weight: 600; }
.hfd-seg__flight img { height: 18px; width: auto; }
.hfd-seg__cabin { font-weight: 500; color: var(--hfd-muted); }
.hfd-seg__cabin::before { content: "\00B7"; margin-right: 6px; }
.hfd-layover { margin: 10px 0 10px 90px; padding: 8px 12px; border: 1px dashed #f0c674; background: #fff8ea; color: #7a4b00; border-radius: 10px; font-size: 13px; }
.hfd-layover .fa { margin-right: 4px; }
@media (max-width: 767px) {
    #mainBookingDiv .hfd-itin { grid-template-columns: 1fr; padding: 12px !important; gap: 14px; }
    .hfd-leg__route b { font-size: 24px; }
    .hfd-seg { grid-template-columns: 66px 16px 1fr; column-gap: 10px; }
    .hfd-layover { margin-left: 0; }
}
#mainBookingDiv .hfd-itin::before, #mainBookingDiv .hfd-itin::after { content: none !important; display: none !important; }
