/* r15.6 site-wide: footer reveal must not leave an empty navy band. */
.sf .foot [data-reveal],
.sf .foot [data-reveal].rv,
.sf .foot [data-reveal] .si,
.sf .foot .rv,
.sf .foot .rv .si,
.sf .foot .fgrid,
.sf .foot .fgrid2,
.sf .foot .fgrid .si,
.sf .foot .fgrid2 .si {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Auth sidebar: no orange/amber accent on "more" or the current tier pill. */
.sf .au-side .brush {
  color: #FFFFFF !important;
  font-family: "Kaushan Script", cursive;
}
.sf[lang="ur"] .au-side .brush,
.sf[dir="rtl"] .au-side .brush {
  font-family: "Noto Nastaliq Urdu", serif;
}
.sf[lang="ar"] .au-side .brush {
  font-family: "Noto Kufi Arabic", serif;
}
.sf .tiers span.cur {
  background: #FFFFFF !important;
  color: #0B1F57 !important;
}

/* Tier card without invented "N more trips" or cashback claims. */
.sf .tierc.plain .prog,
.sf .tierc.plain .tstep,
.sf .tierc.plain > small,
.sf .tierc.plain .tn:empty,
.sf .tierc.plain .thead:empty {
  display: none;
}

/* Legacy /bus/ request form stays in the DOM for field IDs; the 3-step widget is the UI. */
.sfl-bus-legacy { display: none !important; }
#sf-bus-flow { margin: 0 auto 48px; }

/* Prototype card fields and "any 16-digit number" banners. */
.sq-proto,
.sf .sq-proto,
[data-proto-banner] {
  display: none !important;
}
.sf label:has(> input[autocomplete="cc-number"]),
.sf label:has(> input[autocomplete="cc-exp"]),
.sf label:has(> input[autocomplete="cc-csc"]),
.sf label:has(> input[autocomplete="cc-name"]),
.sf input[autocomplete="cc-number"],
.sf input[autocomplete="cc-exp"],
.sf input[autocomplete="cc-csc"],
.sf input[autocomplete="cc-name"] {
  display: none !important;
}

/* Auth phone picker host */
#sf-auth-phone, .sfp-auth-host { margin-top: 8px; }
#sf-auth-phone[hidden], .sfp-auth-host[hidden] { display: none !important; }

/* The 3-step widget is the /bus/ UI; hide the legacy r10 request-card grid. */
.sfl-bus-r10 .sfl-bus-ideas,
.sfl-bus-r10 .bk-card.sfl-bus-idea { display: none !important; }

/* If an old /bus/ results wrapper still ships, never let it host the new flow. */
.sfl-bus-r10 #sf-bus-flow{min-width:0;width:100%;max-width:100%}
.sfl-bus-lead,h2.bk-count,.sfl-bus-ideas,.sfl-bus-legacy{display:none!important}


/* r15.6.4 compact single-row cookie banner removed in r15.10 (item 6): its !important
   rules hid Manage choices and clipped the title at <=430px. The dock layout now lives
   in sf-r158.css; only the "sit above the mobile Continue bar" offset is kept. */
@media (max-width: 430px) {
  html:has(.sbf-mobbar:not([hidden])) .ckb,
  body:has(.sbf-mobbar:not([hidden])) .ckb,
  .sf:has(.sbf-mobbar:not([hidden])) .ckb,
  html:has(.sbf-mobbar:not([hidden])) .sf .ckb,
  body:has(.sbf-mobbar:not([hidden])) .sf .ckb,
  .sf:has(.sbf-mobbar:not([hidden])) .sf .ckb {
    bottom: calc(116px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .lang button {
    min-width: 0 !important;
    padding: 0 7px !important;
    overflow: visible !important;
  }
  .lang .ls {
    display: inline !important;
    overflow: visible !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    max-width: none !important;
  }
}

/* r15.11 P2-2: the r15.6 ".sftoast above the Continue bar" offset was removed; sf-r158.css places the toast. */

/* r15.6.2b: option rows are the hit target; header scroll pad */
.xc-o small, .xc-o .xc-ot, .xc-o .xc-on1, .xc-o .xc-oi, .xc-o .xc-code, .xc-o .xc-flag, .xc-o b, .xc-o svg {
  pointer-events: none !important;
}
html, .sf {
  scroll-padding-top: 150px;
}


/* r15.6.4 — Powered by Perform Group lockup (English only, under the wordmark).
   In RTL the lockup's right edge (toward the crescent) must line up with the
   wordmark's right edge. Key off lang, dir attribute, and :dir(rtl). Physical
   margin-left:auto is used so alignment does not flip if direction is missing. */
a.logo .logo-txt{display:flex;flex-direction:column;min-width:0;justify-content:center;align-items:flex-start;text-align:start}
html[lang="ur"] a.logo .logo-txt,
html[lang="ar"] a.logo .logo-txt,
html[dir="rtl"] a.logo .logo-txt,
.sf[lang="ur"] a.logo .logo-txt,
.sf[lang="ar"] a.logo .logo-txt,
.sf[dir="rtl"] a.logo .logo-txt,
:dir(rtl) a.logo .logo-txt,
a.logo .logo-txt:dir(rtl){align-items:flex-start;text-align:start}
html[lang="ur"] a.logo .logo-word,
html[lang="ar"] a.logo .logo-word,
html[lang="ur"] a.logo .logo-powered,
html[lang="ar"] a.logo .logo-powered,
html[dir="rtl"] a.logo .logo-word,
html[dir="rtl"] a.logo .logo-powered,
.sf[lang="ur"] a.logo .logo-word,
.sf[lang="ar"] a.logo .logo-word,
.sf[lang="ur"] a.logo .logo-powered,
.sf[lang="ar"] a.logo .logo-powered,
.sf[dir="rtl"] a.logo .logo-word,
.sf[dir="rtl"] a.logo .logo-powered,
:dir(rtl) a.logo .logo-word,
:dir(rtl) a.logo .logo-powered{
  margin-left:auto!important;margin-right:0!important
}
a.logo .logo-powered,.ad-hdr .logo-powered,.ad-foot .logo-powered,.sf-pwa .logo-powered,.off-powered{
  display:block;font-family:"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,sans-serif!important;
  font-size:10px!important;font-weight:400!important;font-style:normal!important;
  letter-spacing:.01em!important;line-height:1.2!important;margin-top:2px!important;
  color:#5B5B5B;white-space:nowrap!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  direction:ltr;unicode-bidi:isolate}
footer a.logo .logo-powered,.foot a.logo .logo-powered,.ad-foot a.logo .logo-powered{color:#C5CCE0}
.sf-pwa .logo-powered{color:#D7DEF0;margin-top:6px!important}
@media (max-width:430px){a.logo .logo-powered{font-size:9px!important;letter-spacing:0!important}}


/* r15.7: homepage fields wrap to a second row before they squeeze. Every
   control keeps a sensible min-width so stepper counts, select values and
   "Select month" stay fully visible at 1024–1440. Labels share one top line
   in a row, values share one line, and fields in a row are the same height. */
.sf form.search .fields{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;min-width:0;max-width:100%}
.sf form.search .field{
  flex:1 1 13.5rem;min-width:min(100%,13.5rem);width:auto;max-width:100%;
  display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;
  gap:4px;box-sizing:border-box;position:relative;overflow:visible;
  padding:10px 44px 10px 16px;min-height:88px
}
.sf form.search .go{flex:0 0 auto;min-width:max-content;max-width:100%;min-height:88px}
.sf form.search .field > label{
  flex:0 0 20px;height:20px;line-height:20px!important;margin:0;padding:0;
  font-size:13px!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis
}
.sf form.search .field > input,
.sf form.search .field > select,
.sf form.search .field > button.xc-sel-btn{
  flex:0 0 44px;height:44px;min-height:44px;max-height:44px;margin:0;
  line-height:44px;padding-top:0;padding-bottom:0;box-sizing:border-box
}
.sf form.search .field > input[type="text"]{padding-inline-end:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.sf form.search .field > input[type="number"]{padding-inline-end:0;text-overflow:clip;overflow:visible;white-space:nowrap;min-width:2.25rem}
.sf form.search .field input,
.sf form.search .field select,
.sf form.search .field sc-raw-select,
.sf form.search .field .xc-dv,
.sf form.search .field > button.xc-sel-btn{field-sizing:fixed;max-width:100%;box-sizing:border-box}
/* Date/month face: flex row with a gap so the calendar icon does not touch the text. */
.sf form.search .field > span.xc-dv{
  display:flex!important;flex-direction:row;align-items:center;gap:8px;
  overflow:visible;text-overflow:clip;white-space:nowrap!important;
  max-width:100%;max-height:none;-webkit-line-clamp:unset;
  line-height:22px;min-height:44px;height:44px;pointer-events:auto;
  box-sizing:border-box
}
.sf form.search .field > span.xc-dv > svg,
.sf form.search .field > span.xc-dv > .xci{flex:none;display:block;width:16px;height:16px}
.sf form.search .field > span.xc-dv > span{min-width:0;overflow:hidden;text-overflow:clip;white-space:nowrap}
/* Selects (Package, Room sharing, Visa type, Vehicle, …): keep the value on one line. */
.sf form.search .field:has(select),
.sf form.search .field:has(input[type="month"]),
.sf form.search .field:has(input[data-xc="month"]){
  flex:1 1 14.5rem;min-width:min(100%,14.5rem);overflow:visible
}
.sf form.search .field > select,
.sf form.search .field > button.xc-sel-btn,
.sf form.search .field > input[type="month"]{
  white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important
}
/* Traveller / pilgrim / passenger / seat / applicant / guest steppers.
   Icon sits in the grid, vertically centred next to the + button. */
.sf form.search .field:has(input[type="number"]),
.sf form.search .field:has(.xc-nwrap),
.sf form.search .field:has(.xc-nstep){
  flex:1 1 14.5rem;min-width:min(100%,14.5rem);overflow:visible
}
.sf form.search .field.xc-nwrap:has(.xc-nstep),
.sf form.search .field.xc-nwrap:has(.xc-sb),
.sf form.search .xc-nwrap:has(.xc-nstep){
  display:grid!important;
  grid-template-columns:44px minmax(2.5rem,auto) 44px 16px!important;
  grid-template-rows:20px 44px;
  justify-content:start!important;justify-items:start;align-items:center;
  column-gap:8px;row-gap:4px;
  width:auto!important;max-width:100%;min-width:12.5rem;
  padding:10px 16px!important;box-sizing:border-box
}
/* A leftover xc-nwrap on a select field must not shrink the value to 44px. */
.sf form.search .field.xc-nwrap:not(:has(.xc-nstep)):not(:has(.xc-sb)){
  display:flex!important;flex-direction:column;justify-content:flex-start;align-items:stretch;
  grid-template-columns:none!important;width:auto!important
}
.sf form.search .field > button.xc-sel-btn{width:100%;min-width:0;align-self:stretch}
.sf form.search .field.xc-nwrap > label,
.sf form.search .xc-nwrap > label{grid-column:1/-1;grid-row:1;width:100%;height:20px}
.sf form.search .field.xc-nwrap > button.xc-nstep:first-of-type,
.sf form.search .field.xc-nwrap > button.xc-sb:first-of-type{grid-column:1;grid-row:2}
.sf form.search .field.xc-nwrap > input,
.sf form.search .xc-nwrap > input,
.sf form.search .xc-nwrap > .xc-step output{
  grid-column:2;grid-row:2;
  overflow:visible!important;text-overflow:clip!important;
  min-width:2.25rem!important;width:100%!important;max-width:none!important;
  height:44px;min-height:44px;text-align:center;opacity:1;color:inherit;position:relative;z-index:1
}
.sf form.search .field.xc-nwrap > button.xc-nstep:last-of-type,
.sf form.search .field.xc-nwrap > button.xc-sb:last-of-type{grid-column:3;grid-row:2}
.sf form.search .field.xc-nwrap > svg.fi,
.sf form.search .field.xc-nwrap > svg.ci,
.sf form.search .field.xc-nwrap > .fi,
.sf form.search .field:has(.xc-nstep) > svg.fi{
  grid-column:4;grid-row:2;
  position:static!important;inset:auto!important;top:auto!important;right:auto!important;left:auto!important;
  transform:none!important;align-self:center;justify-self:start;margin:0;flex:none;pointer-events:none
}
/* Trailing pin / chevron on text and select fields: centre on the value row, not the whole card. */
.sf form.search .field > svg.fi,
.sf form.search .field > .xc-pin,
.sf form.search .field > svg.ci.fi{
  pointer-events:none;z-index:1;flex:none;
  top:auto;bottom:calc(10px + (44px - 16px)/2);transform:none
}
/* City / destination text fields. */
.sf form.search .field:has(input[type="text"]),
.sf form.search .field:has(input[data-xc^="place"]){flex:1 1 13.5rem;min-width:min(100%,13.5rem)}
/* Date fields — the whole cell is the hit target; value stays on one line. */
.sf form.search .field:has(input[type="date"]),
.sf form.search .field:has(input[data-xc="rs"]),
.sf form.search .field:has(input[data-xc="re"]),
.sf form.search .field:has(input[data-xc="date"]){
  flex:1 1 12.5rem;min-width:min(100%,12.5rem);cursor:pointer
}
.sf form.search .field:has(input[type="date"]) > input,
.sf form.search .field:has(input[data-xc="rs"]) > input,
.sf form.search .field:has(input[data-xc="re"]) > input,
.sf form.search .field:has(input[data-xc="date"]) > input,
.sf form.search .field:has(input[type="month"]) > input,
.sf form.search .field:has(input[data-xc="month"]) > input{
  width:100%;min-width:0;max-width:100%;flex:0 0 44px;height:44px;min-height:44px
}
.sf form.search .field:has(input[data-xc^="guests"]),
.sf form.search .field:has(.xc-gsum){flex:1 1 13.5rem;min-width:min(100%,13.5rem)}
.sf form.search .field > span.xc-dv.xc-gsum{padding-inline-end:0;text-overflow:clip;overflow:visible}
@container sf (max-width:760px){
  .sf form.search .field,.sf form.search .go{flex:1 1 100%;min-width:0}
}

/* r15.7 F: 390 hotels search card is full width; check-out matches check-in;
   mobile calendar sheet drops the duplicate month title (grid already has .cal-mname). */
@media (max-width:767px){
  .sf section.hs,.sf .hs{grid-auto-columns:100%!important}
  .sf .hs-dates,.sf .hs-d{align-items:stretch}
  .sf .hs-ci,.sf .hs-co,.sf .hs-d .sfield,.sf .hs-d .field{min-height:62px;height:auto;align-self:stretch}
  .sf .cal-htxt b{display:none!important}
}
/* Currency: keep the chevron visible; never size the native select to the longest option. */
.curr{position:relative;overflow:hidden;min-width:72px;box-sizing:border-box;font-family:"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",sans-serif!important}
.curr select,.curr sc-raw-select{
  appearance:none!important;-webkit-appearance:none!important;
  display:block;width:100%!important;max-width:100%!important;box-sizing:border-box;
  font-family:"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:13px!important;font-weight:600!important;line-height:38px;
  padding-inline:14px 30px!important;background:transparent;border:0;color:inherit
}
.curr svg{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);z-index:5!important;pointer-events:none;color:var(--brand,#0B5D3B);width:16px;height:16px;flex:none}
.curr > .xc-dv, .curr > button.xc-sel-btn{background:transparent!important;max-width:100%;box-sizing:border-box}
/* Results hotel search bar: dates get their content width; city may shrink; no clipped text. */
.sf .hs-in{display:flex;align-items:stretch;flex-wrap:wrap;gap:6px;min-width:0}
.sf .hs-dest{flex:1 1 8rem;min-width:7rem;max-width:100%}
.sf .hs-dates{flex:1 0 auto;min-width:min(100%, 20rem);overflow:visible}
.sf .hs-d{flex:1 0 auto;min-width:max-content;overflow:visible}
.sf .hs-d span{min-width:max-content}
.sf .hs-d b, .sf .hs-g b{overflow:visible;text-overflow:clip;white-space:nowrap;min-width:max-content}
.sf .hs-g{flex:1 1 10rem;min-width:9rem;overflow:visible}
.sf .hs-go{flex:0 0 auto;min-width:max-content}
@media (max-width: 1100px){
  .sf .hs-dest{flex:1 1 100%;min-width:0}
  .sf .hs-dates{flex:1 1 auto;min-width:min(100%, 20rem)}
  .sf .hs-g{flex:1 1 12rem}
}
@container sf (max-width: 1100px){
  .sf .hs-dest{flex:1 1 100%;min-width:0}
  .sf .hs-dates{flex:1 1 auto;min-width:min(100%, 20rem)}
  .sf .hs-g{flex:1 1 12rem}
}
@container sf (max-width: 520px){
  .sf .hs-dates b{white-space:nowrap;overflow:visible;overflow-wrap:normal;text-overflow:clip}
}
.sf[lang="ur"] .hs-d, .sf[lang="ur"] .hs-g, .sf[lang="ur"] .hs-dest, .sf[lang="ur"] .hs-go,
html[lang="ur"] .hs-d, html[lang="ur"] .hs-g, html[lang="ur"] .hs-dest, html[lang="ur"] .hs-go{
  min-height:64px
}
.sf[lang="ur"] .hs-d b, .sf[lang="ur"] .hs-g b, html[lang="ur"] .hs-d b, html[lang="ur"] .hs-g b{line-height:1.55}
.sf[lang="ar"] .hs-d, .sf[lang="ar"] .hs-g, .sf[lang="ar"] .hs-dest, .sf[lang="ar"] .hs-go,
html[lang="ar"] .hs-d, html[lang="ar"] .hs-g, html[lang="ar"] .hs-dest, html[lang="ar"] .hs-go{
  min-height:56px
}

/* Date-range summary stays in the calendar footer, never as field value text */
.sf form.search .field > .xc-st,
.sf form.search .field > .xc-foot{display:none!important}

/* r15.6.5: results-bar value faces + hotels calendar */
/* Depart/Return/Cabin (and the same overlay on every results search bar): no native
   white chip, no vertically clipped glyphs, typography matches Passengers, no caret. */
.sf .sfield b{overflow:visible;min-height:1.3em;line-height:1.3;display:flex;align-items:center}
.sf .sfield .xc-dv,
.sf .sfield button.xc-dv,
.sf .sfield button.xc-sel-btn,
.sf .sbar .xc-dv,
.sf .sbar button.xc-sel-btn,
.sf [role="search"] .xc-dv,
.sf [role="search"] button.xc-sel-btn{
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;background-color:transparent!important;
  box-shadow:none!important;border:0!important;
  color:inherit!important;caret-color:transparent!important;
  font:inherit!important;font-size:16px!important;font-weight:600!important;
  line-height:1.3!important;min-height:1.3em!important;height:auto!important;max-height:none!important;
  overflow:visible!important;-webkit-line-clamp:unset!important;-webkit-box-orient:unset!important;
  display:flex!important;align-items:center!important;padding:0!important
}
.sf .sfield select,
.sf .sfield input,
.sf .sbar select,
.sf .sbar input[type="date"],
.sf .sbar input[type="text"],
.sf [role="search"] select,
.sf [role="search"] input[type="date"]{
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;caret-color:transparent!important
}
.sf .sfield:has(button.xc-sel-btn) select.xc-sel,
.sf .sbar:has(button.xc-sel-btn) select.xc-sel,
.sf [role="search"]:has(button.xc-sel-btn) select.xc-sel{
  color:transparent!important;caret-color:transparent!important
}

/* Hotels widget: do not clip the calendar pop; month nav; 2 months on desktop; sheet on phone. */
.sf section.hs{overflow:visible}
.sf .hs-pop.cal{max-width:min(100vw - 24px, 720px);box-sizing:border-box}
.sf .cal-h{gap:8px}
.sf .cal-htxt{flex:1;min-width:0;text-align:center}
.sf .cal-nav{flex:0 0 44px;width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;border-radius:8px;color:var(--gray-100);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.sf .cal-nav:disabled{opacity:.35;cursor:default}
.sf .cal-months{display:flex;gap:18px;align-items:flex-start}
.sf .cal-month{flex:1 1 0;min-width:0}
.sf .cal-mname{font-weight:600;font-size:13px;margin:0 0 6px;color:var(--gray-100)}
.sf .cday.pad{visibility:hidden;pointer-events:none}
.sf .cday.past,.sf .cday:disabled{color:var(--gray-50);opacity:.45;cursor:default}
.sf .cal-htxt{display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.3}
.sf .cal-htxt span{display:block;font-weight:400;font-size:13px;color:var(--gray-70)}
@media (max-width: 767px){
  .sf .cal-m2{display:none}
  .sf section.hs:has(.hs-pop){z-index:81}
  .sf .hs-pop.cal{
    position:fixed!important;
    left:0;right:0;bottom:0;top:auto;
    width:100%;max-width:none;
    max-height:min(85vh, 640px);
    overflow:auto;
    z-index:82;
    border-radius:16px 16px 0 0;
    padding-bottom:max(18px, env(safe-area-inset-bottom, 0px))
  }
  .sf .hs-scrim{z-index:80!important;background:rgba(15,23,42,.45)}
}
@media (min-width: 768px){
  .sf .hs-pop.cal{min-width:min(100vw - 48px, 640px)}
}
[dir=rtl] .sf .cal-nav svg{transform:scaleX(-1)}

/* qa F-6: keep عربي inside the 360px viewport */
@media (max-width: 380px) {
  .sf .lang button { padding: 0 5px !important; }
}
