/* TraveHub home — "Field Notes" design.
   index.html loads it right after fn-base.css, which holds the @font-face rules
   (this file replaced the old site.css, since deleted).
   site.js still drives the page (language, dark mode,
   Travelpayouts widgets, hotels form, carousels); this file styles everything it touches,
   including the elements it creates at runtime (language menus, results bars, continue
   note, back-to-top button, calendar skeleton). */

:root{
  /* names site.js / consent.js still read (widget fallbacks, cookie banner) */
  --brand-blue:#0063DC;--brand-pink:#C8176B;--brand-dark:#1D2233;--blue-700:#0A4FB0;--blue-50:#EAF1FB;
  --bg-surface:#FFFDF8;--bg-subtle:#F1EADC;--border-default:rgba(29,34,51,.2);--border-subtle:rgba(29,34,51,.12);
  --fg-primary:#1D2233;--fg-secondary:#4B5063;--fg-tertiary:#6B6F7E;
  --font-body:'Readex Pro','Segoe UI',Tahoma,system-ui,sans-serif;--font-display:'Young Serif',Georgia,serif;
  --radius-md:10px;--radius-lg:12px;--radius-xl:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  --fd:'Young Serif',Georgia,'Times New Roman',serif;--fdl:'Young Serif',Georgia,'Times New Roman',serif;
  --fb:'Readex Pro','Segoe UI',Tahoma,system-ui,sans-serif;--fh:'Kalam','Segoe Print','Comic Sans MS',cursive;--fm:'Handjet','Courier New',monospace;
  --dark:#1D2233;
  --paper:#F2EADB;--paper2:#FBF6EC;--paper3:#E8DCC5;--card:#FFFDF8;--ink:#1D2233;--ink2:#4B5063;
  --pen:#0063DC;--pen2:#0A4FB0;--on-pen:#FFFFFF;--stamp:#C8176B;--green:#1B6B41;--violet:#5B43B5;--amber:#F4B63F;
  --sea:#D3E3DF;--seaink:#5E9A95;--manila:#E9D4A8;--sticky:#F7DF72;--belt:#23262E;--slat1:#2D313A;--slat2:#1A1D23;--photo:#FFFFFF;
  --line:rgba(29,34,51,.14);--line2:rgba(29,34,51,.34);--rule:rgba(0,99,220,.14);--shadow:rgba(29,34,51,.22);--hard:#1D2233;
  --onbelt:#EDE7D9;
  margin:0;background:var(--paper);color:var(--ink);font-family:var(--fb);font-size:17px;line-height:1.55;
  -webkit-font-smoothing:antialiased;overflow-x:clip;
}
body.dark{
  --paper:#0E1524;--paper2:#162037;--paper3:#1E2A45;--card:#1A2540;--ink:#ECE6D8;--ink2:#B4BBCB;
  --pen:#7FB2FF;--pen2:#A9CBFF;--on-pen:#0E1524;--stamp:#FF62AE;--green:#5BD39A;--violet:#B9A6FF;--amber:#F4C45A;
  --sea:#12304A;--seaink:#5E9AB5;--manila:#CDB98F;--sticky:#E5C75A;--belt:#07090E;--slat1:#15181F;--slat2:#0B0D12;--photo:#E9E4D8;
  --line:rgba(236,230,216,.14);--line2:rgba(236,230,216,.32);--rule:rgba(127,178,255,.12);--shadow:rgba(0,0,0,.5);--hard:#03060C;
  --bg-surface:#1A2540;--fg-primary:#ECE6D8;--fg-secondary:#B4BBCB;
}
body.rtl{--fd:'Aref Ruqaa','Traditional Arabic',serif;--fh:'Aref Ruqaa','Traditional Arabic',serif}
/* Paper objects that host the booking widgets stay light at night (the widgets only have a
   light theme); they sit on the dark desk like a real ticket would. */
.pass,.wall,.search-widget .sw-tab,.tpwl-results-section.has-results .wrap{
  --paper:#F2EADB;--paper2:#FBF6EC;--paper3:#E8DCC5;--card:#FFFDF8;--ink:#1D2233;--ink2:#4B5063;
  --pen:#0063DC;--pen2:#0A4FB0;--on-pen:#FFFFFF;--stamp:#C8176B;--green:#1B6B41;--manila:#E9D4A8;
  --line:rgba(29,34,51,.14);--line2:rgba(29,34,51,.34);--rule:rgba(0,99,220,.14);
}
body.dark .pass,body.dark .wall{--card:#F1EADC;--paper2:#F6F0E3}
a{color:var(--pen)}a:hover{color:var(--pen2)}
:focus-visible{outline:2.5px solid var(--pen);outline-offset:3px}
img{max-width:100%}
.wrap{width:1240px;max-width:100%;margin:0 auto;padding:0 40px}
.ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icf{width:20px;height:20px;flex:none;fill:currentColor}
svg.lucide{width:18px;height:18px;flex:none}
body.rtl .flip{transform:scaleX(-1)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.sec{position:relative;padding:72px 0}
.sec-head{position:relative;margin:0 0 36px;max-width:760px}
.over{display:flex;align-items:center;gap:10px;margin:0 0 6px;font:400 23px/1.2 var(--fh);color:var(--pen)}
.over::before{content:'';width:34px;height:2px;flex:none;border-radius:2px;background:currentColor;transform:rotate(-8deg)}
body.rtl .over{font-size:25px}
.h2{margin:0;font:400 clamp(34px,4.2vw,54px)/1.05 var(--fd);letter-spacing:-.01em;text-wrap:balance}
body.rtl .h2{font:700 clamp(28px,3.2vw,42px)/1.3 var(--fb);letter-spacing:0}
.sub{margin:10px 0 0;font-size:18px;color:var(--ink2)}
.icon-btn{width:44px;height:44px;flex:none;display:grid;place-items:center;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer;transition:background .15s}
.icon-btn:hover{background:var(--paper3)}
.btn-ink{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:10px;background:var(--ink);color:var(--paper);font:600 16px/1 var(--fb);text-decoration:none;cursor:pointer;box-shadow:4px 4px 0 var(--pen);transition:transform .15s,box-shadow .15s}
.btn-ink:hover{color:var(--paper);transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--pen)}

/* ---------- header ---------- */
.nav{position:sticky;top:0;z-index:100;height:76px;background:var(--paper);transition:box-shadow .2s}
.nav.th-scrolled{box-shadow:0 1px 0 var(--line2),0 10px 24px -18px var(--shadow)}
.nav-in{height:100%;display:flex;align-items:center;gap:26px}
.logo{display:flex;align-items:center;min-height:44px;flex:none}
.logo img{display:block;height:38px;width:auto}
body:not(.dark) .logo-n,body.dark .logo-d{display:none}
/* Arabic wordmark (ترايف هب) only when the page is in Arabic; the other five languages use TraveHub */
html[lang="ar"] .lg-en,html:not([lang="ar"]) .lg-ar{display:none!important}
.nav-links{display:flex;align-items:center;gap:4px;margin-inline-start:10px}
.nav-links a{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;color:var(--ink);font:500 16px/1 var(--fb);text-decoration:none;cursor:pointer}
.nav-links a:hover{color:var(--pen)}
.nl-ring{position:absolute;left:-2px;top:3px;width:calc(100% + 4px);height:calc(100% - 6px);overflow:visible;pointer-events:none}
.nl-ring path{fill:none;stroke:var(--stamp);stroke-width:2;stroke-linecap:round}
.nav-act{margin-inline-start:auto;display:flex;align-items:center;gap:10px}
.lang-wrap{position:relative}
.lang-btn{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border:1.5px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font:600 15px/1 var(--fb);letter-spacing:.04em;cursor:pointer}
.lang-btn:hover{background:var(--paper3)}
.lang-btn .ic{width:17px;height:17px}
.lang-menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:150;display:none;min-width:220px;padding:6px;background:var(--paper2);border:1.5px solid var(--ink);border-radius:12px;box-shadow:5px 5px 0 var(--hard)}
.lang-menu.open{display:block;animation:popIn .16s ease both}
.cc-item{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:8px;cursor:pointer;color:var(--ink);font-size:15px;text-decoration:none}
.cc-item:hover{background:var(--paper3)}
.cc-item.active{font-weight:600;color:var(--pen)}
.cc-item .ccode{margin-inline-start:auto;font:600 13px/1 var(--fm);letter-spacing:.1em;color:var(--ink2)}
.cc-item svg{width:15px;height:15px;color:var(--pen)}
body:not(.dark) .i-sun,body.dark .i-moon{display:none}
.hamburger{display:none}
.hamburger .i-close{display:none}
.hamburger.is-open .i-menu{display:none}
.hamburger.is-open .i-close{display:block}
.mobile-nav{display:none;position:fixed;top:64px;left:0;right:0;bottom:0;z-index:99;overflow-y:auto;padding:14px 22px 28px;background-color:var(--paper2);background-image:repeating-linear-gradient(transparent 0 43px,var(--rule) 43px 44px);border-top:1.5px solid var(--line2)}
.mobile-nav.open{display:flex;flex-direction:column;animation:menuIn .28s cubic-bezier(.2,.8,.2,1) both}
/* The cookie banner (#thConsent, z-index 2147483000 in consent.js) drops just under .nav while the menu is open, so the menu is on top */
body:has(#mobileNav.open) #thConsent{z-index:99}
@keyframes menuIn{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}
.mobile-nav-link{display:flex;align-items:baseline;gap:14px;min-height:60px;padding:12px 0;border-bottom:1.5px dashed var(--line2);color:var(--ink);font:400 30px/1.1 var(--fd);text-decoration:none;cursor:pointer}
body.rtl .mobile-nav-link{font:700 25px/1.3 var(--fb)}
.mobile-nav-link:hover{color:var(--pen)}
.mn-n{width:28px;flex:none;font:600 15px/1 var(--fm);letter-spacing:.14em;color:var(--stamp)}
.mobile-nav-link.active .mn-t{background:linear-gradient(transparent 60%,var(--sticky) 60%)}
body.dark .mobile-nav-link.active .mn-t{background:linear-gradient(transparent 60%,rgba(229,199,90,.35) 60%)}
.mn-h{margin:22px 0 8px;font:400 20px/1.2 var(--fh);color:var(--ink2)}
.mn-theme{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;margin-top:22px;border:1.5px solid var(--ink);border-radius:12px;background:var(--card);color:var(--ink);font:600 16px/1 var(--fb);cursor:pointer;box-shadow:3px 3px 0 var(--hard)}
body:not(.dark) .mn-day,body.dark .mn-night{display:none}
#langList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
/* Rows are buttons (fr, tr, es, de) and links (ar, en: pages of their own). A button takes the
   browser's control font from its default styles and a link would take the page's, so both are
   pinned to the control font: -webkit-small-control is that font in Chromium and Safari, and a
   browser without the keyword uses the declaration before it for all six rows alike. */
.lang-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:52px;padding:8px 12px;border:1.5px solid var(--line2);border-radius:10px;background:var(--card);color:var(--ink);cursor:pointer;text-align:start;position:relative;font:13.3333px Arial,sans-serif;font:-webkit-small-control;text-decoration:none}
.lang-option.active{border-color:var(--ink);box-shadow:3px 3px 0 var(--hard)}
.lang-option-native{font-weight:600;font-size:15px}
.lang-option-name{font-size:12px;color:var(--ink2)}
.lang-option svg{position:absolute;top:8px;inset-inline-end:8px;width:15px;height:15px;color:var(--pen)}

/* ---------- hero ---------- */
.hero{position:relative;padding:22px 0 64px}
.stars{position:absolute;inset:0;pointer-events:none;overflow:hidden}
body:not(.dark) .stars,body:not(.dark) .moon{display:none}
.star{position:absolute;width:3px;height:3px;border-radius:50%;background:#FFF3C4;box-shadow:0 0 6px 1px rgba(255,243,196,.7);animation:tw 3.4s ease-in-out infinite}
.star:nth-child(3n){width:2px;height:2px;animation-delay:1.1s}
.star:nth-child(3n+1){animation-delay:2.2s}
@keyframes tw{0%,100%{opacity:.3}50%{opacity:1}}
.moon{position:absolute;top:18px;right:3.5%;width:50px;height:50px;color:#FFE9A8}
.moon path{fill:currentColor}
.hero-top{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 500px;gap:40px;align-items:start}
.badge{display:flex;align-items:center;gap:8px;margin:14px 0 18px;font:400 20px/1.3 var(--fh);color:var(--ink2)}
.badge .ic{width:22px;height:22px;color:var(--green)}
.h1{margin:0;font:400 clamp(44px,5.4vw,78px)/1 var(--fd);letter-spacing:-.015em}
.h1a,.h1c{display:block}
.h1a:empty{display:none}
.mk{position:relative;display:block;width:fit-content;color:var(--pen)}
.swoosh{position:absolute;left:-2%;bottom:-.12em;width:104%;height:.3em;overflow:visible;pointer-events:none}
.swoosh path{fill:none;stroke:var(--stamp);stroke-width:5;stroke-linecap:round;stroke-dasharray:1 1}
.swoosh .sw2{stroke-width:3;opacity:.65}
.fx-on .swoosh path{animation:draw 1.2s .4s cubic-bezier(.6,0,.2,1) both}
.fx-on .swoosh .sw2{animation-delay:.75s}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
body.rtl .h1{font:700 clamp(46px,5.4vw,80px)/1.3 var(--fd);letter-spacing:0}
.lead{margin:20px 0 0;max-width:33em;font-size:19px;line-height:1.55;color:var(--ink2)}

/* "Continue your search" note (built by site.js into #continueHost) */
#continueHost:empty{display:none}
.continue-chip{position:relative;display:inline-flex;align-items:stretch;margin-top:26px;background:var(--sticky);color:var(--dark);border-radius:2px 2px 16px 2px;transform:rotate(-2deg);box-shadow:0 12px 18px -12px var(--shadow)}
.continue-chip::before{content:'';position:absolute;top:-11px;left:50%;width:74px;height:22px;margin-left:-37px;background:rgba(255,255,255,.5);transform:rotate(3deg)}
body.dark .continue-chip::before{background:rgba(255,255,255,.28)}
.continue-chip .cc-go{display:flex;align-items:center;flex-wrap:wrap;gap:4px 0;min-height:48px;padding:10px 6px 10px 16px;border:0;background:none;color:inherit;font:400 17px/1.25 var(--fh);text-align:start;cursor:pointer}
body.rtl .continue-chip .cc-go{padding:10px 16px 10px 6px}
.continue-chip .cc-go b{margin-inline-start:8px;font:700 19px/1 var(--fm);letter-spacing:.1em}
.continue-chip .cc-go svg{width:17px;height:17px;margin-inline-end:8px}
.continue-chip .cc-x{width:44px;flex:none;display:grid;place-items:center;padding:0;border:0;background:none;color:inherit;cursor:pointer}
.continue-chip .cc-x svg{width:17px;height:17px}

.deskcol{position:relative;height:460px}
.desk{position:relative;width:500px;height:400px;direction:ltr}
.scrap{position:absolute;left:0;top:44px;width:300px;height:230px;transform:rotate(-5deg);filter:drop-shadow(0 10px 12px var(--shadow))}
.scrap svg{display:block;width:100%;height:100%}
.sc-paper{fill:var(--sea);stroke:var(--line2);stroke-width:1}
.sc-land{fill:var(--paper2)}
.sc-coast{fill:none;stroke:var(--seaink);stroke-width:1.3}
.sc-grid{fill:none;stroke:var(--seaink);stroke-width:.8;stroke-dasharray:3 5;opacity:.6}
.sc-wave{fill:none;stroke:var(--seaink);stroke-width:1.2;stroke-linecap:round}
.sc-cmp{fill:var(--ink2)}
.fly{position:absolute;left:0;top:0;width:500px;height:400px;overflow:visible;pointer-events:none}
.fly-path{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:1 7;stroke-linecap:round;opacity:.75}
.fly-dot{fill:var(--stamp)}
.fly-ring{fill:none;stroke:var(--stamp);stroke-width:1.5}
.ruh{position:absolute;left:44px;top:278px;font:700 17px/1 var(--fm);letter-spacing:.12em;color:var(--ink)}
.plane{position:absolute;left:0;top:0;width:26px;height:26px;color:var(--pen);offset-path:path('M64 262 C40 190 110 110 182 66');offset-rotate:auto;animation:fly 5.6s ease-in-out infinite}
.plane .icf{width:26px;height:26px}
@keyframes fly{0%{offset-distance:0%;opacity:0}12%{opacity:1}82%{opacity:1}100%{offset-distance:100%;opacity:0}}
.polaroid{position:absolute;right:16px;top:0;width:292px;padding:14px 14px 0;background:var(--photo);color:var(--dark);transform:rotate(3deg);box-shadow:0 22px 34px -20px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.14)}
.tape{position:absolute;top:-13px;width:90px;height:26px;background:rgba(244,182,63,.45)}
.tape.t1{left:-14px;transform:rotate(-24deg)}
.tape.t2{right:-16px;transform:rotate(28deg)}
.pol-photo{position:relative;display:block;height:264px;overflow:hidden;background:#CFC6B4}
.ph{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .9s ease}
.ph.on{opacity:1}
.fx-on .ph.on{animation:develop 1.8s ease both}
@keyframes develop{0%{filter:sepia(.9) brightness(1.4) contrast(.6)}100%{filter:none}}
.pol-cap{display:flex;align-items:center;justify-content:space-between;gap:10px;height:62px;padding:0 4px 0 66px} /* text starts clear of the stamp */
.pol-city{font:400 25px/1.1 var(--fh);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pol-city>span{display:none}
.pol-city>span.on{display:inline}
.pol-code{font:700 26px/1 var(--fm);letter-spacing:.08em;color:#0063DC}
.pstamp{position:absolute;left:150px;top:236px;width:132px;height:132px;display:grid;place-items:center;color:var(--stamp);transform:rotate(-14deg);pointer-events:none}
body:not(.dark) .pstamp{mix-blend-mode:multiply}
.pstamp svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ps-o{fill:none;stroke:currentColor;stroke-width:3.4}
.ps-i{fill:none;stroke:currentColor;stroke-width:1.4}
.ps-in{position:relative;display:flex;flex-direction:column;align-items:center;line-height:1}
.ps-top{font:600 13px/1 var(--fm);letter-spacing:.16em}
.ps-code{margin:4px 0 3px;font:700 42px/1 var(--fm);letter-spacing:.04em}
.ps-date{font:600 12px/1 var(--fm);letter-spacing:.12em;text-transform:uppercase}
html[lang="ar"] .ps-date{letter-spacing:0} /* Arabic month name: see .flatpickr-weekday */
.fx-on .pstamp.ta{animation:thA .6s cubic-bezier(.3,1.6,.5,1) both}
.fx-on .pstamp.tb{animation:thB .6s cubic-bezier(.3,1.6,.5,1) both}
@keyframes thA{0%{opacity:0;transform:rotate(-14deg) scale(1.8)}55%{opacity:1;transform:rotate(-14deg) scale(.92)}100%{opacity:1;transform:rotate(-14deg) scale(1)}}
@keyframes thB{0%{opacity:0;transform:rotate(-14deg) scale(1.8)}55%{opacity:1;transform:rotate(-14deg) scale(.92)}100%{opacity:1;transform:rotate(-14deg) scale(1)}}
.flyto{position:absolute;right:26px;top:370px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 8px;border:0;background:none;color:var(--pen);font:400 22px/1 var(--fh);cursor:pointer;max-width:330px}
.flyto-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fl-a{display:inline-flex;transition:transform .2s}
.flyto:hover .fl-a{transform:translateX(4px)}
body.rtl .flyto:hover .fl-a{transform:translateX(-4px)}
.flyto-u{position:absolute;left:8px;bottom:5px;width:calc(100% - 16px);height:8px;overflow:visible;pointer-events:none}
.flyto-u path{fill:none;stroke:var(--pen);stroke-width:1.6;stroke-linecap:round}
.frames{position:absolute;left:0;bottom:0;display:flex;align-items:center;gap:2px}
.frm{position:relative;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;background:none;color:var(--ink2);font:600 17px/1 var(--fm);letter-spacing:.06em;cursor:pointer}
.frm:hover{color:var(--ink)}
.frm.on{color:var(--stamp)}
.frm-r{position:absolute;left:4px;top:5px;width:36px;height:34px;overflow:visible;opacity:0;pointer-events:none}
.frm-r path{fill:none;stroke:var(--stamp);stroke-width:1.8;stroke-linecap:round}
.frm.on .frm-r{opacity:1}
.frm-play{margin-inline-start:10px;border:1.5px solid var(--ink);border-radius:50%;color:var(--ink)}
.frm-play .i-play,.frm-play.paused .i-pause,.pn-play .i-play,.pn-play.paused .i-pause{display:none}
.frm-play.paused .i-play,.pn-play.paused .i-play{display:block}
.pnav{display:none;align-items:center;gap:8px}
.pn-c{min-width:56px;text-align:center;font:600 18px/1 var(--fm);letter-spacing:.08em;color:var(--ink2)}

/* ---------- search: folder tabs + boarding pass ---------- */
.search-wrap{position:relative;z-index:20;margin-top:30px}
.sw-tabs{display:flex;gap:6px;padding-inline-start:18px}
.sw-tab{position:relative;top:1.5px;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 22px;border:1.5px solid var(--ink);border-bottom:0;border-radius:12px 12px 0 0;background:var(--manila);color:var(--dark);font:600 16px/1 var(--fb);cursor:pointer}
body.dark .sw-tab{border-color:#ECE6D8}
.sw-tab.active{z-index:2;background:var(--card)}
.sw-tab svg{width:19px;height:19px}
.pass{position:relative;display:flex;align-items:stretch;background:var(--card);color:var(--ink);border:1.5px solid var(--ink);border-radius:14px;box-shadow:7px 7px 0 var(--hard)}
body.dark .pass{border-color:#ECE6D8}
.pass-main{flex:1;min-width:0;padding:14px 22px 16px}
.pass-head{display:flex;align-items:center;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;min-height:30px;margin-bottom:6px}
.pass-brand{margin:0;font:600 14px/1.2 var(--fm);letter-spacing:.24em;text-transform:uppercase;color:var(--ink2)}
body.rtl .pass-brand{font:500 14px/1.3 var(--fb);letter-spacing:0}
.pass-note{margin:0;font:400 16px/1.2 var(--fh);color:var(--ink2)}
.pass-stub{position:relative;flex:none;width:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 10px;border-inline-start:2px dashed var(--line2)}
.pass-stub .nt{position:absolute;inset-inline-start:-13px;width:24px;height:24px;border-radius:50%;background:var(--paper);border:1.5px solid var(--ink)}
body.dark .pass-stub .nt{background:#0E1524;border-color:#ECE6D8}
.pass-stub .nt-t{top:-12px;clip-path:inset(50% 0 0 0)}
.pass-stub .nt-b{bottom:-12px;clip-path:inset(0 0 50% 0)}
.barcode{display:block;width:44px;height:150px;color:var(--ink)}
.barcode path{fill:currentColor}
.stub-word{writing-mode:vertical-rl;font:600 13px/1 var(--fm);letter-spacing:.3em;color:var(--ink2)}
/* Travelpayouts White Label (flights). Its insides are styled from site.js; this only places it. */
.tpwl-search{min-height:180px;--th-pill-lift:-86px}
/* Arabic page, screens over 600px: site.js lifts the flight search's language/currency pills
   (EN, SAR) by --th-pill-lift into the tab row, at the right end of #tpwl-search. On /en/ the
   tabs start at the left; here they start at the right too, and the pills covered the Flights
   tab. So the tabs start after the pills: the card's border and .pass-main's padding (where
   #tpwl-search, and so the pills, end), the pills' width (170px with EN and SAR; site.js sets
   --th-pills-w if they are wider, up to 260px), then a 16px gap. Kept whether or not the
   widget has loaded, so the tabs never move. */
@media (min-width:601px){html[lang="ar"] .sw-tabs{padding-inline-start:calc(1.5px + 12px + clamp(170px,var(--th-pills-w,0px),260px) + 16px)}}
@media (min-width:761px){html[lang="ar"] .sw-tabs{padding-inline-start:calc(1.5px + 22px + clamp(170px,var(--th-pills-w,0px),260px) + 16px)}}
body:not(.tpwl-ready) .tpwl-search{border-radius:12px;background:linear-gradient(100deg,#EFE7D8 30%,#F8F3E9 50%,#EFE7D8 70%) 0 0/300% 100%;animation:shimmer 1.4s linear infinite}
@keyframes shimmer{to{background-position:-300% 0}}
/* Consent stand-in for the flight search + price calendar (strict mode: EU/UK/EFTA, until allowed).
   consent.js puts .th-await-consent on <html> until banner Accept or the stand-in's own button;
   both widgets wait for it and .wl-gate takes their place: the button, then one line naming the
   partner. Arabic shows for lang=ar, English for every other language. */
.wl-gate{display:none}
.th-await-consent .wl-gate{display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:180px;padding:8px 0 4px;text-align:center}
.th-await-consent #tpwl-search,.th-await-consent .tpwl-results-section,.th-await-consent #tp-calendar-wrap,.th-await-consent .wall .legend{display:none}
.wl-gate .wl-gate-btn{flex:none;align-self:stretch;margin-top:0}
.wl-gate-t{margin:0;font:400 14px/1.55 var(--fb);color:var(--ink2)}
.wl-gate-t a{color:var(--pen);font-weight:600}
.wl-gate-cal{min-height:260px;align-items:center}
.wl-gate-cal .wl-gate-btn{align-self:center;padding:0 30px}
.wl-gate [data-wg-ar]{display:none}
html[lang="ar"] .wl-gate [data-wg-ar]{display:inline}
html[lang="ar"] .wl-gate [data-wg-en]{display:none}
/* Hotels form (our own markup) */
.sw-bar{display:flex;align-items:stretch;gap:10px;padding:8px 0 4px;flex-wrap:wrap}
.sw-field{position:relative;flex:1 1 0;min-width:0;display:flex;align-items:center;gap:10px;min-height:92px;padding:10px 14px;border-radius:12px;background:#F4EDDF}
.sw-field:hover{background:#EFE5D1}
.sw-field:focus-within{background:#FFFDF8;outline:2px solid var(--stamp);outline-offset:-2px}
.sw-field-icon{display:grid;place-items:center;color:var(--pen)}
.sw-field-icon svg{width:19px;height:19px}
.sw-field-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.sw-field-body label{font:600 13px/1.1 var(--fm);letter-spacing:.16em;text-transform:uppercase;color:var(--ink2)}
body.rtl .sw-field-body label{font:500 13px/1.2 var(--fb);letter-spacing:0}
.sw-field-body input,.sw-val{width:100%;min-height:30px;padding:0;border:0;background:none;color:var(--pen);font:600 16px/1.3 var(--fb);outline:none;text-overflow:ellipsis}
.sw-field-body input::placeholder{color:var(--ink2);font-weight:400}
.sw-sep{display:none}
.sw-clear{flex:0 0 auto;width:30px;height:30px;border-radius:50%;border:0;background:rgba(29,34,51,.08);color:var(--ink2);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.sw-clear:hover{background:var(--stamp);color:#fff}
.sw-clear svg{width:14px;height:14px}
.sw-cta{flex:0 0 100%;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:60px;margin-top:6px;border:0;border-radius:10px;background:var(--stamp);color:#fff;outline:2px dashed rgba(255,255,255,.55);outline-offset:-7px;font:700 18px/1 var(--fb);cursor:pointer;box-shadow:3px 3px 0 var(--dark);transition:transform .15s,box-shadow .15s}
.sw-cta:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--dark)}
.sw-cta:focus-visible{outline:3px solid var(--pen);outline-offset:3px}
.sw-cta svg{width:19px;height:19px}
.trav-panel{display:none;position:absolute;top:calc(100% + 8px);inset-inline-start:0;z-index:70;min-width:300px;padding:14px 16px;background:var(--paper2);color:var(--ink);border:1.5px solid var(--ink);border-radius:12px;box-shadow:6px 6px 0 var(--dark);cursor:default}
.trav-panel.open{display:block;animation:popIn .18s ease both}
@keyframes popIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.tp-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px dashed var(--line2)}
.tp-label{display:flex;flex-direction:column}
.tp-label span{font-weight:600}
.tp-label small{font-size:13px;color:var(--ink2)}
.tp-ctrl{display:flex;align-items:center;gap:8px}
.tp-ctrl button{width:44px;height:44px;display:grid;place-items:center;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:none;color:var(--ink);font:600 20px/1 var(--fb);cursor:pointer}
.tp-ctrl button:hover{background:var(--paper3)}
.tp-ctrl span{min-width:26px;text-align:center;font:700 20px/1 var(--fm)}
.tp-ctrl span.bump{animation:bump .3s ease}
@keyframes bump{50%{transform:scale(1.35)}}
.tp-done .btn-ink{width:100%;margin-top:12px}
/* flatpickr (hotel dates) */
.flatpickr-calendar{font-family:var(--fb)!important;background:#FBF6EC!important;border:1.5px solid #1D2233!important;border-radius:12px!important;box-shadow:6px 6px 0 #1D2233!important}
.flatpickr-calendar::before,.flatpickr-calendar::after{display:none!important}
.flatpickr-months .flatpickr-month,.flatpickr-current-month{color:#1D2233!important;font-family:var(--fdl)!important}
.flatpickr-weekday{color:#4B5063!important;font-family:var(--fm)!important;font-weight:600!important;letter-spacing:.08em}
/* Arabic letters join only at letter-spacing 0: Safari (iPhone, iPad, Mac) draws them apart
   ("س ب ت" for "سبت"); Chrome ignores letter-spacing on Arabic, so it never showed there.
   The same reset is on every element below that carries Arabic text with letter-spacing. */
html[lang="ar"] .flatpickr-weekday{letter-spacing:0}
.flatpickr-day{border-radius:8px!important;color:#1D2233}
.flatpickr-day:hover{background:#E8DCC5!important;border-color:transparent!important}
.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange{background:#0063DC!important;border-color:#0063DC!important;color:#fff!important}
.flatpickr-day.inRange{background:rgba(0,99,220,.12)!important;box-shadow:-5px 0 0 rgba(0,99,220,.12),5px 0 0 rgba(0,99,220,.12)!important;border-color:transparent!important}
.flatpickr-day.flatpickr-disabled{color:rgba(29,34,51,.3)!important}

/* ---------- boarding-pass flight form (flight-form.js, TASK UX.1) ----------
   Our form on the card; the White Label stays in the page and runs the search. Every rule is
   under html.th-form-v2 (set unless ?form=v1, index.html) or hides a new element by default,
   so ?form=v1 shows the White Label's own form as it was. Layout: one row from 1240px (the
   mockup), route over dates below that, the stub across the bottom up to 980px, stacked on
   phones. */
.bp,.bp-trip,.bp-stub{display:none}
.th-form-v2 .search-widget{position:relative}
.th-form-v2 #pane-flights{position:relative}
/* The White Label: in the page and running every search, hidden from view and from screen
   readers. Not display:none: it has to render, and site.js clicks its Search button for the
   calendar / route-card deep links. Its EN/SAR pills go with it (so no F.8c room beside the tabs). */
.th-form-v2 #searchRebuild{position:absolute;top:0;inset-inline:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none}
.th-form-v2[lang="ar"] .sw-tabs{padding-inline-start:18px}
/* strict mode before consent: the existing consent step shows once Search is pressed */
.th-form-v2 #pane-flights .wl-gate{display:none}
.th-form-v2.th-await-consent #pane-flights.bp-needs-consent .wl-gate{display:flex;min-height:0;padding:16px 0 4px}
/* head: trip type instead of the note (the note moves under the Search button) */
.th-form-v2 .search-widget:not([data-pane="hotels"]) .bp-trip{display:inline-flex;gap:4px}
.th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-note{display:none}
.bp-trip button{min-height:40px;padding:0 18px;border:1.5px solid transparent;border-radius:999px;background:none;color:var(--ink);font:500 15px/1 var(--fb);cursor:pointer}
.bp-trip button[aria-pressed="true"]{border-color:var(--ink);background:var(--paper)}
.bp-trip button:focus-visible,.bp-btn:focus-visible,.bp-swap:focus-visible,.bp-cls button:focus-visible{outline:2px solid var(--stamp);outline-offset:2px}
/* the currency pill (currency.js / currency.css) at the end of the card head, the same spot on
   both tabs; on phones it sits beside the card title and the trip or stay type goes to its own row */
.pass-head .cx-wrap{order:3}
@media (max-width:760px){
  .pass-head .cx-wrap{order:1}
  .pass-head .bp-trip,.pass-head .hk-type{order:2;flex-basis:100%}
}
/* fields */
.th-form-v2 .bp{display:block;padding:12px 0 4px}
.bp-rt{display:flex;align-items:flex-end;gap:0 28px}
.bp-route{flex:0 1 350px;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);align-items:center;gap:0 16px}
.bp-when{flex:1 1 0;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:0 20px}
.bp.bp-oneway .bp-f-ret{display:none}
.bp.bp-oneway .bp-when{grid-template-columns:repeat(2,minmax(0,1fr))}
.bp-f{position:relative;min-width:0}
.bp-btn{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;min-width:0;padding:6px 10px 10px;border:0;border-bottom:1.5px dashed var(--line2);border-radius:8px 8px 0 0;background:none;color:var(--ink);text-align:start;cursor:pointer}
.bp-btn:hover,.bp-btn[aria-expanded="true"]{background:rgba(29,34,51,.05)}
.bp-btn[aria-expanded="true"]{border-bottom:1.5px solid var(--ink)}
.bp-lbl{font:600 13px/1.1 var(--fm);letter-spacing:.16em;text-transform:uppercase;color:var(--ink2)}
body.rtl .bp-lbl{font:500 13px/1.2 var(--fb);letter-spacing:0}
.bp-code{min-height:48px;font:400 48px/1 var(--fdl);color:var(--ink)}
.bp-code:empty::before{content:"\2013\2009\2013\2009\2013";color:var(--line2)}
.bp-sub{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* a date or the travellers line is never cut off: it wraps in the rare case it doesn't fit */
.bp-val{max-width:100%}
.bp-sub{font:400 14px/1.3 var(--fb);color:var(--ink2)}
.bp-val{font:400 20px/1.2 var(--fdl);color:var(--ink)}
body.rtl .bp-val{font:600 16px/1.35 var(--fb)}
.bp-val.is-ph,body.rtl .bp-val.is-ph{font:500 17px/1.35 var(--fb);color:var(--ink2)}
.bp-sub.is-ph{opacity:.8}
.bp-swap{width:46px;height:46px;display:grid;place-items:center;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:var(--card);color:var(--ink);cursor:pointer}
.bp-swap:hover{background:var(--paper)}
.bp-swap.spin svg{animation:bpSpin .35s ease}
@keyframes bpSpin{to{transform:rotate(180deg)}}
.bp-fp{position:absolute;bottom:0;inset-inline-start:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}
.bp-err .bp-btn{border-bottom:2px solid var(--stamp)}
.bp-err .bp-lbl{color:var(--stamp)}
.bp-msg{margin:10px 0 0;font:600 14px/1.4 var(--fb);color:var(--stamp)}
.bp-msg:empty{display:none}
/* multi-city: one row per flight (FLIGHT 01 · FROM → TO · DEPART), split by dashed lines;
   "+ Add another flight" and the one TRAVELERS & CLASS underneath */
.bp-multi{display:none}
.bp.bp-is-multi .bp-rt{display:none}
.bp.bp-is-multi .bp-multi{display:block}
.bp-leg{display:grid;grid-template-columns:96px minmax(0,1fr) 36px;align-items:center;gap:0 12px;padding:8px 0}
.bp-leg[hidden],.bp-add[hidden]{display:none}
.bp-leg+.bp-leg{border-top:1.5px dashed var(--line2)}
.bp-leg-lbl{font:600 13px/1.1 var(--fm);letter-spacing:.16em;text-transform:uppercase;color:var(--ink2)}
body.rtl .bp-leg-lbl{font:500 13px/1.2 var(--fb);letter-spacing:0}
.bp-leg-lbl b{font:700 14px/1 var(--fm);letter-spacing:.1em;color:var(--ink)}
.bp-leg-sum{display:none}
.bp-leg-fields{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) minmax(0,1.3fr);align-items:center;gap:0 14px}
.bp-leg-arrow{display:grid;place-items:center;color:var(--ink2)}
.bp-leg-arrow svg{width:22px;height:22px}
.bp-leg .bp-btn{gap:3px;padding:4px 10px 6px;border-bottom:0}
.bp-leg .bp-btn[aria-expanded="true"]{border-bottom:0}
.bp-leg .bp-code{min-height:34px;font-size:34px}
.bp-leg .bp-val{font-size:20px}
body.rtl .bp-leg .bp-val{font-size:15px}
.bp-leg .bp-err .bp-btn{border-bottom:2px solid var(--stamp)}
.bp-leg-x{grid-column:3;width:32px;height:32px;display:grid;place-items:center;padding:0;border:1.5px solid var(--line2);border-radius:50%;background:none;color:var(--ink2);cursor:pointer}
.bp-leg-x svg{width:14px;height:14px}
.bp-leg-x:hover{border-color:var(--stamp);color:var(--stamp)}
.bp-multi-foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 28px;padding-top:12px;border-top:1.5px dashed var(--line2)}
.bp-add{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:1.5px dashed var(--ink);border-radius:999px;background:none;color:var(--ink);font:600 15px/1 var(--fb);cursor:pointer}
.bp-add:hover{background:var(--paper)}
.bp-add svg{width:16px;height:16px}
.bp-trav-slot{flex:0 1 300px;min-width:0}
.bp-leg-x:focus-visible,.bp-add:focus-visible,.bp-leg-sum:focus-visible{outline:2px solid var(--stamp);outline-offset:2px}
/* pickers: places and travellers (dates are flatpickr, skinned above) */
.bp-pop{position:absolute;top:calc(100% + 8px);inset-inline-start:0;z-index:70;width:max(100%,340px);padding:10px;background:var(--paper2);color:var(--ink);border:1.5px solid var(--ink);border-radius:12px;box-shadow:6px 6px 0 var(--dark);animation:popIn .18s ease both}
.bp-pop[hidden]{display:none}
.bp-pop-trav{inset-inline-start:auto;inset-inline-end:0;width:340px;padding:12px 16px 14px}
.bp-q{width:100%;min-height:46px;padding:0 14px;border:1.5px solid var(--line2);border-radius:10px;background:var(--card);color:var(--ink);font:500 16px/1 var(--fb);outline:none}
.bp-q:focus{border-color:var(--stamp)}
.bp-list{max-height:300px;overflow-y:auto;margin-top:8px}
.bp-list:empty{display:none}
.bp-none{padding:12px 13px;font:400 14px/1.3 var(--fb);color:var(--ink2)}
.bp-ap{margin-inline-start:auto;color:var(--ink2)}
.bp-ap .icf{width:16px;height:16px}
.bp-pop-trav .tp-ctrl button:disabled{opacity:.3;cursor:default}
.bp-pop-trav .tp-ctrl button:disabled:hover{background:none}
.bp-cls{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:12px;padding:4px;border:1.5px solid var(--line2);border-radius:999px}
.bp-cls button{min-height:40px;border:0;border-radius:999px;background:none;color:var(--ink);font:600 15px/1 var(--fb);cursor:pointer}
.bp-cls button[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
/* the date calendar (flatpickr, skinned above) reads right to left on the Arabic page:
   Sunday on the right, the previous month's arrow on the right, pointing right */
html[dir="rtl"] .bp-cal{direction:rtl}
html[dir="rtl"] .bp-cal .flatpickr-prev-month svg,html[dir="rtl"] .bp-cal .flatpickr-next-month svg{transform:scaleX(-1)}
/* the stub: barcode, Search, the note and the White Label's Powered-by line */
.th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-stub{display:flex;width:250px;padding:26px 24px 20px}
.th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-stub>.barcode,.th-form-v2 .search-widget:not([data-pane="hotels"]) .stub-word{display:none}
.th-form-v2 .search-widget:not([data-pane="hotels"]) .bp-stub{display:flex}
.bp-stub{flex-direction:column;align-items:center;gap:14px;width:100%}
.bp-barcode{display:block;width:100%;max-width:190px;height:40px;color:var(--ink)}
.bp-barcode path{fill:currentColor}
.bp-go{flex:none;width:100%;min-height:56px;margin:0;padding:0 18px;font-size:17px}
.bp-go.is-busy{opacity:.85;cursor:progress}
.bp-stub-sum,.bp-go-n{display:none}
.pass-stub.bp-is-multi .bp-stub-sum{display:block;margin:0;font:600 15px/1.3 var(--fb);color:var(--ink);text-align:center}
.bp-note{margin:0;font:400 15px/1.25 var(--fh);color:var(--ink2);text-align:center}
.bp-powered{margin:-6px 0 0;font:400 12px/1.3 var(--fb);color:#6B6F7E;text-align:center}
.bp-powered a{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none}
.bp-powered svg{width:auto;height:12px}
.bp-powered svg path{fill:#6B6F7E}
@media (min-width:1240px){
  .th-form-v2 .bp-when .bp-btn{padding-inline:4px}
  .th-form-v2 body.rtl .bp-rt .bp-val{font-size:15px}
}
@media (max-width:1239px){
  .th-form-v2 .bp-rt{flex-direction:column;align-items:stretch;gap:14px 0}
  .th-form-v2 .bp-route,.th-form-v2 .bp-when{flex:none}
}
@media (max-width:980px){
  .th-form-v2 .search-widget:not([data-pane="hotels"]) .pass{flex-direction:column}
  .th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-stub{width:auto;padding:20px 22px;border-inline-start:0;border-top:2px dashed var(--line2)}
  .th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-stub .nt{top:-14px;bottom:auto;inset-inline-start:auto;inset-inline-end:auto}
  .th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-stub .nt-t{left:-14px;clip-path:inset(0 0 0 50%)}
  .th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-stub .nt-b{right:-14px;clip-path:inset(0 50% 0 0)}
  .th-form-v2 .bp-stub{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px 24px}
  .th-form-v2 .bp-barcode{flex:none;width:160px}
  .th-form-v2 .bp-go{flex:1 1 260px;width:auto;max-width:420px}
  .th-form-v2 .bp-note,.th-form-v2 .bp-powered{flex:0 0 100%;margin:0}
}
@media (max-width:760px){
  .th-form-v2[lang="ar"] .sw-tabs{padding-inline-start:10px}
  .th-form-v2 .bp{position:relative;padding-top:8px}
  .th-form-v2 .bp-route{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:0 10px}
  .th-form-v2 .bp-code{min-height:40px;font-size:40px}
  .th-form-v2 .bp-when{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
  .th-form-v2 .bp-f-trav{grid-column:1/-1}
  .th-form-v2 .bp.bp-oneway .bp-f-trav{grid-column:auto}
  .th-form-v2 .bp-val{font-size:19px}
  .th-form-v2 body.rtl .bp-val{font-size:15px}
  .th-form-v2 .bp-when .bp-btn{padding-inline:6px}
  .th-form-v2 .bp-val.is-ph{font-size:16px}
  /* popovers span the card under their field */
  .th-form-v2 .bp-f{position:static}
  .th-form-v2 .bp-pop{top:auto;inset-inline:0;width:auto;margin-top:8px}
  .th-form-v2 .bp-trip button{min-height:36px;padding:0 14px;font-size:14px}
  .th-form-v2 .bp-barcode{display:none}
  .th-form-v2 .bp-go{flex:1 1 100%;max-width:none}
  .th-form-v2 .search-widget:not([data-pane="hotels"]) .pass-stub{padding:16px 12px 14px}
  .th-form-v2 .bp-leg{grid-template-columns:auto minmax(0,1fr) auto;gap:4px 10px;padding:6px 0}
  .th-form-v2 .bp-leg-sum{grid-column:2;grid-row:1;display:flex;align-items:center;gap:6px;min-width:0;min-height:44px;padding:0 4px;border:0;background:none;color:var(--ink);font:600 16px/1.2 var(--fb);text-align:start;cursor:pointer}
  .th-form-v2 .bp-leg-lbl,.th-form-v2 .bp-leg-x{grid-row:1}
  .th-form-v2 .bp-leg-sum::after{content:"";flex:none;width:8px;height:8px;margin-inline-start:auto;border-right:2px solid var(--ink2);border-bottom:2px solid var(--ink2);transform:rotate(45deg);transition:transform .15s}
  .th-form-v2 .bp-leg.is-open .bp-leg-sum::after{transform:rotate(-135deg)}
  .th-form-v2 .bp-leg-route{white-space:nowrap;letter-spacing:.03em}
  .th-form-v2 .bp-leg-route.is-ph{color:var(--ink2);font-weight:500;letter-spacing:0}
  .th-form-v2 .bp-leg-date{white-space:nowrap;color:var(--ink2);font-weight:500}
  .th-form-v2 .bp-leg-fields{display:none;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding-bottom:6px}
  .th-form-v2 .bp-leg.is-open .bp-leg-fields{display:grid}
  .th-form-v2 .bp-leg-arrow{display:none}
  .th-form-v2 .bp-leg [data-slot="date"]{grid-column:1/-1}
  .th-form-v2 .bp-leg .bp-btn{border-bottom:1.5px dashed var(--line2)}
  .th-form-v2 .bp-leg .bp-code{min-height:30px;font-size:30px}
  .th-form-v2 .bp-leg .bp-val{font-size:18px}
  .th-form-v2 .bp-multi-foot{flex-direction:column;align-items:stretch}
  .th-form-v2 .bp-trav-slot{flex:none}
  .th-form-v2 .pass-stub.bp-is-multi .bp-stub-sum{display:none}
  .th-form-v2 .pass-stub.bp-is-multi .bp-go-n{display:inline}
  .th-form-v2 .pass-stub.bp-is-multi .bp-go:not(.is-busy) .bp-go-t{display:none}
  .th-form-v2 .pass-stub.bp-is-multi .bp-go.is-busy .bp-go-n{display:none}
}

/* flight results (White Label) */
.tpwl-results-section{position:relative;z-index:1}
.tpwl-results-section:not(.has-results){padding:0}
.tpwl-results-section.has-results{padding:40px 0 8px}
.tpwl-results-section.has-results .wrap{padding-top:24px;padding-bottom:24px}
body.dark .tpwl-results-section.has-results .wrap{background:#EFE8DA;border-radius:16px;color:#1D2233}
.results-modbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px;padding-bottom:14px;border-bottom:1.5px dashed var(--line2)}
.rmb-route{flex:1 1 auto;font:700 22px/1 var(--fm);letter-spacing:.1em;color:var(--ink)}
.rmb-back,.rmb-share{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 16px;border-radius:999px;font:600 15px/1 var(--fb);cursor:pointer}
.rmb-back{border:0;background:var(--ink);color:var(--paper);box-shadow:3px 3px 0 var(--pen)}
.rmb-share{border:1.5px solid var(--ink);background:transparent;color:var(--ink)}
.rmb-back svg,.rmb-share svg{width:16px;height:16px}
.results-sticky{position:fixed;top:76px;inset-inline:0;z-index:90;display:flex;align-items:center;gap:12px;padding:8px 20px;background:var(--paper2);border-bottom:1.5px solid var(--line2);transform:translateY(-110%);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .25s ease}
.results-sticky.show{transform:none;opacity:1;pointer-events:auto}
.results-sticky .rmb-back{background:var(--ink);color:var(--paper)}
.results-sticky .rmb-route{font-size:18px}

/* ---------- stamps ---------- */
.why{background:var(--paper3);overflow:hidden}
.guil{position:absolute;inset:0;width:100%;height:100%;color:var(--line);pointer-events:none}
.guil path{fill:none;stroke:currentColor;stroke-width:.9}
.why .over{color:var(--pen2)}
.stamps{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.stp{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.stp1{--r:-8deg;--d:0s;color:var(--pen)}
.stp2{--r:5deg;--d:.12s;color:var(--stamp)}
.stp3{--r:-3deg;--d:.24s;color:var(--green)}
.stp4{--r:7deg;--d:.36s;color:var(--violet)}
.stp-m{position:relative;width:200px;height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(var(--r))}
body:not(.dark) .stp-m{mix-blend-mode:multiply}
.stp-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.stp-svg .o{fill:none;stroke:currentColor;stroke-width:3.4}
.stp-svg .i{fill:none;stroke:currentColor;stroke-width:1.4}
.stp-svg .d{fill:none;stroke:currentColor;stroke-width:3;stroke-dasharray:10 7}
.stp-t,.stp-d{position:relative;font:600 13px/1 var(--fm);letter-spacing:.24em;text-transform:uppercase}
.stp-b{position:relative;margin:6px 0;max-width:170px;font:700 56px/.95 var(--fm);letter-spacing:.02em;text-transform:uppercase;overflow-wrap:anywhere}
html[lang="ar"] .stp-d,html[lang="ar"] .stp-b{letter-spacing:0} /* Arabic words: see .flatpickr-weekday */
.stp2 .stp-b{font-size:108px;line-height:.85}
.stp4 .stp-b{max-width:150px;font-size:42px;line-height:.92}
body.rtl .stp-b{font:700 36px/1.25 var(--fb)}
body.rtl .stp2 .stp-b{font-size:88px;line-height:1}
body.rtl .stp4 .stp-b{font-size:28px}
.stp-l{margin:0;max-width:240px;font:400 21px/1.3 var(--fh);color:var(--ink)}
.fx-on .stp:not(.in) .stp-m{opacity:0}
.fx-on .stp.in .stp-m{animation:stIn .55s cubic-bezier(.3,1.5,.5,1) both;animation-delay:var(--d)}
@keyframes stIn{0%{opacity:0;transform:rotate(var(--r)) scale(1.7)}60%{opacity:1;transform:rotate(var(--r)) scale(.94)}100%{opacity:1;transform:rotate(var(--r)) scale(1)}}

/* ---------- airline belt ---------- */
.belt-sec{padding:64px 0 60px;background:var(--belt);color:var(--onbelt)}
.belt-sec .over{color:var(--amber)}
.belt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:34px}
.belt-head .sec-head{margin:0}
.belt-btn{border-color:var(--onbelt);color:var(--onbelt)}
.belt-btn:hover{background:rgba(255,255,255,.08)}
.belt-btn .i-play,.belt-btn.paused .i-pause{display:none}
.belt-btn.paused .i-play{display:block}
.rail{height:10px;background:linear-gradient(#A3A8B2,#61666F 55%,#3B3F47)}
.am-viewport{position:relative;height:150px;overflow:hidden;background:repeating-linear-gradient(90deg,var(--slat1) 0 48px,var(--slat2) 48px 50px);animation:slats 80s linear infinite}
@keyframes slats{from{background-position:0 0}to{background-position:-4850px 0}}
.am-track{display:flex;width:max-content;height:100%;align-items:center;animation:belt 80s linear infinite}
@keyframes belt{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.belt.paused .am-viewport,.belt.paused .am-track,.belt:hover .am-viewport,.belt:hover .am-track{animation-play-state:paused}
.am-chip{position:relative;flex:none;width:172px;height:96px;margin-right:22px;display:grid;place-items:center;padding:0 16px 0 30px;background:#E9D4A8;border:1.5px solid rgba(29,34,51,.55);border-radius:6px 16px 16px 6px;box-shadow:0 10px 12px -6px rgba(0,0,0,.6)}
body.dark .am-chip{background:#CDB98F}
.am-chip::before{content:'';position:absolute;left:11px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:var(--belt);box-shadow:0 0 0 3px rgba(29,34,51,.25)}
.am-chip img{display:block;max-width:122px;max-height:40px;width:auto;height:auto;object-fit:contain}
.am-chip:nth-child(3n+1){transform:rotate(-3deg)}
.am-chip:nth-child(3n+2){transform:rotate(2deg) translateY(5px)}
.am-chip:nth-child(3n){transform:rotate(-1deg) translateY(-4px)}

/* ---------- how it works ---------- */
.how-grid{position:relative}
.how-route{position:absolute;left:0;top:70px;width:100%;height:70px;overflow:visible;pointer-events:none}
.how-route path{fill:none;stroke:var(--pen);stroke-width:2.2;stroke-dasharray:2 9;stroke-linecap:round}
body.rtl .how-route{transform:scaleX(-1)}
.fx-on .how-grid:not(.in) .how-route{clip-path:inset(0 100% 0 0)}
.fx-on .how-grid.in .how-route{clip-path:inset(0 0 0 0);transition:clip-path 1.6s cubic-bezier(.6,0,.2,1) .2s}
.steps{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.step{display:flex;flex-direction:column;gap:12px}
.step-art{display:block;width:100%;height:190px}
.step-art svg{display:block;width:100%;height:100%;overflow:visible}
.a-thin{fill:none;stroke:var(--ink);stroke-width:1.3;stroke-linecap:round}
.a-fill{fill:var(--paper2);stroke:var(--ink);stroke-width:2.2;stroke-linejoin:round}
.a-card{fill:var(--card);stroke:var(--ink);stroke-width:2;stroke-linejoin:round}
.a-lens{fill:var(--sea);fill-opacity:.6;stroke:var(--ink);stroke-width:2.6}
.a-handle{fill:none;stroke:var(--ink);stroke-width:7;stroke-linecap:round}
.a-pen{fill:none;stroke:var(--pen);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:3 6}
.a-green{fill:none;stroke:var(--green);stroke-width:2.6;stroke-linecap:round}
.a-pink{fill:none;stroke:var(--stamp);stroke-width:2.4;stroke-linecap:round}
.a-dot{fill:var(--ink2)}
.a-stamp{fill:var(--stamp)}
.a-okc{fill:var(--green)}
.a-okp{fill:none;stroke:var(--card);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.a-perf{fill:none;stroke:var(--line2);stroke-width:1.6;stroke-dasharray:3 4}
.step-h{display:flex;align-items:center;gap:12px;margin:0;font:400 28px/1.15 var(--fd)}
body.rtl .step-h{font:700 22px/1.4 var(--fb)}
.num{position:relative;width:44px;height:44px;flex:none;display:grid;place-items:center;font:400 26px/1 var(--fdl);color:var(--stamp)}
.num svg{position:absolute;left:-4px;top:-4px;width:52px;height:52px;overflow:visible}
.num path{fill:none;stroke:var(--stamp);stroke-width:2;stroke-linecap:round}
.step-p{margin:0;max-width:30em;color:var(--ink2)}

/* ---------- price calendar ---------- */
.cal-sec{background-color:var(--paper);background-image:linear-gradient(var(--rule) 1px,transparent 1px),linear-gradient(90deg,var(--rule) 1px,transparent 1px);background-size:28px 28px}
.wall{position:relative;padding:34px 24px 18px;background:var(--card);color:var(--ink);border:1.5px solid var(--ink);border-radius:12px;box-shadow:7px 7px 0 var(--hard)}
body.dark .wall{border-color:#ECE6D8}
.rings{position:absolute;left:34px;right:34px;top:-15px;display:flex;justify-content:space-between;pointer-events:none}
.rg{position:relative;width:12px;height:30px;border:3px solid #8E939E;border-radius:7px}
.rg::after{content:'';position:absolute;left:50%;bottom:-3px;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:#1D2233;opacity:.7}
.tp-ext-widget{position:relative}
.th-loading{border-radius:12px;background:linear-gradient(100deg,#EFE7D8 30%,#F8F3E9 50%,#EFE7D8 70%) 0 0/300% 100%;animation:shimmer 1.4s linear infinite}
.legend{list-style:none;display:flex;flex-wrap:wrap;gap:6px 22px;margin:14px 0 0;padding:12px 4px 0;border-top:1.5px dashed var(--line2);font-size:15px}
.legend li{display:flex;align-items:center;gap:8px}
.lg{width:22px;height:16px;border-radius:5px}
.lg-low{background:#E3F1E7;box-shadow:inset 0 0 0 2px #1B6B41}
.lg-mid{background:#F4EDDF;box-shadow:inset 0 0 0 1px rgba(29,34,51,.3)}
.lg-high{background:#FBE7F0;box-shadow:inset 0 0 0 1px #C8176B}
.legend .lg-note{margin-inline-start:auto;font:400 17px/1.3 var(--fh);color:var(--ink2)}
@media (max-width:760px){.legend .lg-note{margin-inline-start:0;flex-basis:100%}}

/* ---------- top routes ---------- */
.routes-car{position:relative}
.rc-track{display:flex;gap:22px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding:10px 4px 26px;margin:0 -4px}
.rc-track::-webkit-scrollbar{display:none}
.rc-card{position:relative;flex:none;width:272px;scroll-snap-align:start;display:flex;flex-direction:column;background:var(--card);border:1.5px solid var(--ink);border-radius:14px;color:var(--ink);text-decoration:none;box-shadow:5px 5px 0 var(--hard);transition:transform .18s,box-shadow .18s}
.rc-card:hover{color:var(--ink);transform:translate(-3px,-3px) rotate(-.6deg);box-shadow:8px 8px 0 var(--hard)}
.rc-photo{position:relative;display:block;height:176px;margin:10px 10px 0;border-radius:8px;background:#CFC6B4 center/cover no-repeat}
.rc-plane{display:none}
.rc-code{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;background:var(--paper2);color:var(--ink);font:700 16px/1 var(--fm);letter-spacing:.12em}
.rc-code svg{width:13px;height:13px}
.rc-perf{position:relative;display:block;height:22px}
.rc-perf::before{content:'';position:absolute;left:16px;right:16px;top:10px;border-top:2px dashed var(--line2)}
.rc-perf .nt{position:absolute;top:-1px;width:24px;height:24px;border-radius:50%;background:var(--paper);border:1.5px solid var(--ink)}
.rc-perf .nt-t{left:-12px;clip-path:inset(0 0 0 50%)}
.rc-perf .nt-b{right:-12px;clip-path:inset(0 50% 0 0)}
.rc-info{flex:1;display:flex;flex-direction:column;gap:10px;padding:0 18px 18px}
.rc-cities{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font:400 22px/1.2 var(--fd)}
body.rtl .rc-cities{font:700 18px/1.4 var(--fb)}
.rc-cities svg{width:16px;height:16px;color:var(--ink2)}
.rc-cta{margin-top:auto;display:inline-flex;align-items:center;gap:6px;color:var(--pen);font-weight:600}
.rc-cta svg{width:16px;height:16px}
.rc-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:6px}
.rc-dots{display:flex;flex-wrap:wrap;gap:2px}
.rc-dot{width:28px;height:28px;padding:0;border:0;background:none;cursor:pointer;position:relative}
.rc-dot::after{content:'';position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px;border-radius:50%;border:1.5px solid var(--ink2)}
.rc-dot.active::after{background:var(--stamp);border-color:var(--stamp);transform:scale(1.25)}
.rc-btns{display:flex;gap:10px}
.rc-btn{width:44px;height:44px;display:grid;place-items:center;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.rc-btn:hover{background:var(--paper3)}
.rc-btn svg{width:20px;height:20px}

/* ---------- FAQ notebook ---------- */
.faq-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:48px;align-items:start}
.doodle{display:block;width:240px;height:160px;margin-top:10px;overflow:visible}
.dl-trail{fill:none;stroke:var(--ink2);stroke-width:1.8;stroke-dasharray:3 7;stroke-linecap:round}
.dl-plane{fill:var(--paper2);stroke:var(--ink);stroke-width:2;stroke-linejoin:round}
body.rtl .doodle{transform:scaleX(-1)}
.notebook{position:relative;padding:22px 32px 20px 84px;background-color:var(--card);background-image:repeating-linear-gradient(transparent 0 39px,var(--rule) 39px 40px);background-position:0 12px;border:1.5px solid var(--ink);border-radius:6px 14px 14px 6px;box-shadow:7px 7px 0 var(--hard)}
.notebook::before{content:'';position:absolute;top:0;bottom:0;left:62px;border-left:2px solid var(--stamp);opacity:.45}
.nb-holes{position:absolute;left:16px;top:22px;bottom:22px;width:20px;background:radial-gradient(circle at 10px 10px,var(--paper) 7px,transparent 8px) 0 0/20px 70px repeat-y}
body.rtl .notebook{padding:22px 84px 20px 32px;border-radius:14px 6px 6px 14px}
body.rtl .notebook::before{left:auto;right:62px}
body.rtl .nb-holes{left:auto;right:16px}
.faq-item{border-bottom:1.5px dashed var(--line2)}
.faq-item:last-child{border-bottom:0}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:10px 0;list-style:none;color:var(--ink);font:400 24px/1.25 var(--fh);cursor:pointer}
.faq-item summary::-webkit-details-marker{display:none}
body.rtl .faq-item summary{font-weight:700;font-size:23px;line-height:1.6}
.q-ic{flex:none;width:36px;height:36px;display:grid;place-items:center;color:var(--pen);transition:transform .25s ease}
.faq-item[open] .q-ic{transform:rotate(45deg)}
.faq-item p{margin:0;padding:0 0 18px;max-width:44em;font-size:17px;line-height:1.6;color:var(--ink2)}
.faq-item[open] p{animation:inkIn .35s ease both}
@keyframes inkIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* ---------- footer postcard ---------- */
.foot{padding:64px 0 28px;background:var(--paper3)}
.postcard{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);background:var(--card);border:1.5px solid var(--ink);border-radius:8px;box-shadow:8px 8px 0 var(--hard);transform:rotate(-.4deg)}
.pc-msg{position:relative;padding:36px 40px}
.pc-msg::after{content:'';position:absolute;top:36px;bottom:36px;inset-inline-end:0;border-inline-end:1.5px solid var(--line2)}
.pc-logo{display:block;height:38px;width:auto}
.pc-desc{margin:22px 0 0;max-width:26em;font:400 22px/1.45 var(--fh);color:var(--ink)}
body.rtl .pc-desc{font-size:24px;line-height:1.7}
.pc-sl{margin:22px 0 6px;font-size:14px;color:var(--ink2)}
.pc-social{display:flex;gap:8px}
.pc-social a{width:44px;height:44px;display:grid;place-items:center;border:1.5px solid var(--ink);border-radius:50%;color:var(--ink)}
.pc-social a:hover{background:var(--ink);color:var(--paper)}
.pc-contact{list-style:none;margin:14px 0 0;padding:0}
.pc-contact li{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px}
.pc-contact .ic{color:var(--stamp)}
.pc-a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-size:15px;text-decoration:none;cursor:pointer}
.pc-a:hover{color:var(--pen);text-decoration:underline;text-underline-offset:4px}
.pc-addr{padding:36px 40px 32px}
.pc-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:150px}
.pc-h{margin:0 0 4px;font:400 21px/1.2 var(--fh);color:var(--stamp)}
.pc-col .pc-a{display:flex;border-bottom:1px dashed var(--line2)}
.pc-mark{position:absolute;top:34px;inset-inline-end:128px;width:132px;height:132px;color:var(--ink2);opacity:.8;pointer-events:none;transform:rotate(-10deg)}
body:not(.dark) .pc-mark{mix-blend-mode:multiply}
.pm-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.pm-o{fill:none;stroke:currentColor;stroke-width:2.4}
.pm-i{fill:none;stroke:currentColor;stroke-width:1.2}
.rch{position:absolute;left:50%;top:9px;width:12px;height:57px;margin-left:-6px;transform-origin:50% 100%;text-align:center;font:600 11px/1 var(--fm)}
.pm-c{position:absolute;left:0;right:0;top:44px;text-align:center;font:700 18px/1.2 'Aref Ruqaa','Traditional Arabic',serif}
.pm-y{position:absolute;left:0;right:0;top:74px;text-align:center;font:600 13px/1 var(--fm);letter-spacing:.2em}
.pm-waves{position:absolute;top:30px;inset-inline-end:118px;width:190px;height:66px;overflow:visible}
.pm-waves path{fill:none;stroke:currentColor;stroke-width:1.6}
/* language switch = the postage stamp */
.foot-lang{position:absolute;top:22px;inset-inline-end:26px;z-index:3}
.foot-lang-btn{width:112px;height:136px;padding:7px;border:0;background:radial-gradient(circle at 50% 50%,transparent 3.6px,var(--pen) 4px) -6px -6px/12px 12px;cursor:pointer;transform:rotate(4deg);filter:drop-shadow(0 4px 5px var(--shadow));transition:transform .2s}
.foot-lang-btn:hover,.foot-lang.open .foot-lang-btn{transform:rotate(1deg) scale(1.03)}
.fl-in{display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:100%;height:100%;padding:9px 5px;background:var(--pen);border:1.5px solid rgba(255,255,255,.55);color:#fff}
body.dark .fl-in{color:#0E1524;border-color:rgba(14,21,36,.35)}
.fl-t{font:600 11px/1 var(--fm);letter-spacing:.2em;text-transform:uppercase}
body.rtl .fl-t{font:600 12px/1 var(--fb);letter-spacing:0}
.fl-in .ic{width:30px;height:30px;stroke-width:1.6}
#footLangLabel{font:600 14px/1.1 var(--fb);text-align:center}
.foot-lang-menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;display:none;min-width:230px;padding:6px;background:var(--paper2);border:1.5px solid var(--ink);border-radius:12px;box-shadow:5px 5px 0 var(--hard)}
.foot-lang.open .foot-lang-menu{display:block;animation:popIn .16s ease both}
.foot-lang-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--ink);font:500 15px/1 var(--fb);cursor:pointer;text-align:start;text-decoration:none}
/* Arabic and English rows of the three language menus are links to that page (site.js thLangRow);
   a:hover must not recolour them */
a.cc-item:hover,a.lang-option:hover,a.foot-lang-item:hover{color:var(--ink)}
a.cc-item.active:hover,a.foot-lang-item.active:hover{color:var(--pen)}
.foot-lang-item:hover{background:var(--paper3)}
.foot-lang-item.active{color:var(--pen);font-weight:700}
.foot-lang-item small{font-size:12px;color:var(--ink2)}
.foot-lang-item svg{width:15px;height:15px}
.foot-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;margin-top:26px;font-size:14px;color:var(--ink2)}
.foot-bar .pc-a{font-size:14px}

/* back to top (created by site.js) */
#thTop{position:fixed;bottom:22px;right:22px;z-index:95;width:48px;height:48px;display:grid;place-items:center;border:1.5px solid var(--ink);border-radius:50%;background:var(--sticky);color:var(--dark);cursor:pointer;box-shadow:3px 3px 0 var(--hard);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s}
#thTop.show{opacity:1;visibility:visible;transform:none}
body.rtl #thTop{right:auto;left:22px}
#thTop svg{width:20px;height:20px}
#cs-toast{background:var(--ink)!important;color:var(--paper)!important;font-family:var(--fb)!important}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .hero-top{grid-template-columns:minmax(0,1fr) 420px}
  .deskcol{height:390px}
  .desk{zoom:.84}
  .flyto{top:310px;right:14px}
  .pass-stub{display:none}
}
@media (max-width:980px){
  .hero-top{display:flex;flex-direction:column;gap:26px}
  .deskcol{align-self:center;width:500px;height:460px}
  .desk{zoom:1}
  .flyto{top:370px;right:26px}
  .stamps{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 16px}
  .stp:last-child:nth-child(odd){grid-column:1/-1}
  .steps{gap:24px}
  .faq-grid{grid-template-columns:1fr;gap:10px}
  .doodle{display:none}
  .postcard{grid-template-columns:1fr}
  .pc-msg::after{top:auto;bottom:0;left:40px;right:40px;border-inline-end:0;border-bottom:1.5px solid var(--line2)}
  .pc-cols{margin-top:0}
  .pc-desc{margin-top:120px}
}
@media (max-width:760px){
  body{font-size:16px}
  .wrap{padding:0 20px}
  .sec{padding:56px 0}
  .sec-head{margin-bottom:28px}
  .over{font-size:20px}
  body.rtl .over{font-size:22px}
  .nav{height:64px}
  .nav-in{gap:10px}
  .logo img{height:32px}
  .nav-links,#themeToggle{display:none}
  .hamburger{display:grid}
  .lang-btn{padding:0 12px;font-size:14px}
  .hero{padding:8px 0 44px}
  .badge{margin:8px 0 12px;font-size:17px;align-items:flex-start}
  .lead{margin-top:14px;font-size:17px}
  .deskcol{width:100%;height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
  .desk{zoom:.7}
  .frames{display:none}
  .pnav{display:flex}
  .flyto{position:relative;right:auto;top:auto;padding:0 4px;font-size:21px;max-width:100%}
  .search-wrap{margin-top:26px}
  .sw-tabs{padding-inline-start:10px}
  .sw-tab{padding:0 16px;font-size:15px}
  .pass-main{padding:12px 12px 14px}
  .pass-note{display:none}
  .sw-field{flex:1 1 100%;min-height:76px}
  .trav-panel{min-width:0;inset-inline:0}
  .stp-m{width:150px;height:150px}
  .stp-b{font-size:42px;max-width:130px}
  .stp2 .stp-b{font-size:80px}
  .stp4 .stp-b{max-width:110px;font-size:30px}
  body.rtl .stp-b{font-size:28px}
  body.rtl .stp2 .stp-b{font-size:64px}
  body.rtl .stp4 .stp-b{font-size:21px}
  .stp-t,.stp-d{font-size:11px}
  .stp-l{font-size:18px}
  .belt-sec{padding:52px 0 44px}
  .belt-head{align-items:flex-start}
  .how-route{display:none}
  .steps{grid-template-columns:1fr;gap:26px}
  .step{display:grid;grid-template-columns:118px minmax(0,1fr);gap:6px 14px;align-items:start}
  .step-art{grid-row:span 2;height:100px}
  .step-h{font-size:22px;gap:8px}
  .num{width:36px;height:36px;font-size:20px}
  .num svg{width:44px;height:44px}
  .step-p{font-size:15px}
  .wall{padding:26px 8px 12px}
  .rings{left:18px;right:18px}
  .rc-card{width:260px}
  .notebook{padding:10px 16px 8px 46px}
  .notebook::before{left:34px}
  .nb-holes{left:8px;width:18px}
  body.rtl .notebook{padding:10px 46px 8px 16px}
  body.rtl .notebook::before{left:auto;right:34px}
  body.rtl .nb-holes{left:auto;right:8px}
  .faq-item summary{min-height:56px;font-size:20px}
  body.rtl .faq-item summary{font-size:20px}
  .faq-item p{font-size:16px}
  .foot{padding:44px 0 24px}
  .postcard{transform:none}
  .pc-msg{padding:24px 20px}
  .pc-msg::after{left:20px;right:20px}
  .pc-logo{height:32px}
  .pc-desc{margin-top:150px;font-size:20px}
  .pc-addr{padding:20px}
  .pc-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
  .foot-lang{top:18px;inset-inline-end:16px}
  .foot-lang-btn{width:98px;height:118px}
  .pc-mark{top:56px;inset-inline-end:100px}
  .pm-waves{display:none}
  .results-sticky{top:64px;padding:8px 14px}
}
@media (min-width:600px) and (max-width:760px){.desk{zoom:.9}}
@media (max-width:420px){
  .desk{zoom:.64}
  .h1{font-size:42px}
  body.rtl .h1{font-size:46px}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .plane{display:none}
}

/* ---- Hotel destination suggestions -------------------------------------------------
   The list the destination field opens while typing. Lives inside .sw-field, which is
   already position:relative. Uses the paper/ink tokens so it reads as part of the
   boarding pass rather than a browser-default dropdown, and inherits the dark-theme
   token overrides automatically. Data comes from Travelpayouts places2 (see
   hotelAcSearch in site.js). */
.airport-drop{
  position:absolute; inset-inline:0; top:calc(100% + 6px); z-index:40;
  display:none; max-height:288px; overflow-y:auto;
  background:var(--paper2); color:var(--ink);
  border:1.5px solid var(--ink); border-radius:12px;
  box-shadow:0 18px 38px -16px rgba(29,34,51,.45);
}
.airport-drop.open{display:block}
.airport-drop-item{
  display:flex; align-items:center; gap:11px; padding:10px 13px; cursor:pointer;
  text-align:start; border-bottom:1px solid rgba(29,34,51,.10);
}
.airport-drop-item:last-child{border-bottom:0}
.airport-drop-item:hover,.airport-drop-item.active{background:var(--paper3)}
.airport-drop-item .a-code{
  flex:0 0 auto; min-width:44px; padding:3px 7px; border-radius:6px;
  background:var(--ink); color:var(--paper2);
  font:700 13px/1.2 var(--fm); letter-spacing:.08em; text-align:center;
}
.airport-drop-item .a-info{min-width:0}
.airport-drop-item .a-city{
  font:600 15px/1.25 var(--fb); color:var(--pen);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.airport-drop-item .a-sub{
  font:400 12.5px/1.25 var(--fb); color:var(--ink2);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
@media (max-width:600px){
  .airport-drop{max-height:244px}
  .airport-drop-item{padding:12px 13px}   /* keeps rows at a comfortable touch height */
}

/* Below 760px the hotel field row wrapped into a cramped 186px destination beside a
   128px date field - too narrow for a rendered range like "الأحد, 5 أكتوبر - الجمعة,
   10 أكتوبر", and it left the suggestion list only 186px wide. Give each field the full
   width instead, which also gives the dropdown the whole card to render in. */
@media (max-width:760px){
  .sw-bar{flex-direction:column;align-items:stretch}
  .sw-bar .sw-field{flex:1 1 auto!important;width:100%}
}

/* ---------- Hotels: the stay card (Ammar, 16 Oct: «ابتكر شيء خصيصا لصندوق بحث الفنادق») ----------
   The boarding pass's hotel twin, drawn with the flight form's parts: stay type in the head
   where the trip type sits, the destination typed big where FROM/TO's codes are, CHECK-IN ·
   a nights moon (the swap button's place) · CHECK-OUT, guests and rooms, and on the stub a
   room-key tag (city code + dates) over Search. Laid out by the pane's own width. */
.hk-type{display:none}
.search-widget[data-pane="hotels"] .hk-type{display:inline-flex;flex-wrap:wrap;gap:4px;min-width:0;margin:0;padding:0;border:0}
.search-widget[data-pane="hotels"] .pass-note{display:none}
.hk-type label{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border:1.5px solid transparent;border-radius:999px;color:var(--ink);font:500 15px/1 var(--fb);cursor:pointer}
.hk-type input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.hk-type label:hover{background:rgba(29,34,51,.05)}
.hk-type label:has(input:checked){border-color:var(--ink);background:var(--paper)}
.hk-type label:has(input:focus-visible){outline:2px solid var(--stamp);outline-offset:2px}
@media (forced-colors:active){.hk-type label:has(input:checked){border-color:Highlight}}
#pane-hotels.hk{position:relative;container:hk / inline-size;padding:12px 0 4px}
.hk-rt{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"dest" "when" "guests";gap:14px 28px;align-items:end}
.hk-dest{grid-area:dest}.hk-when{grid-area:when}.hk-guests{grid-area:guests}
.hk-f{position:relative;min-width:0}
.hk-lbl{display:block;font:600 13px/1.1 var(--fm);letter-spacing:.16em;text-transform:uppercase;color:var(--ink2)}
body.rtl .hk-lbl{font:500 13px/1.2 var(--fb);letter-spacing:0}
/* destination, typed big */
.hk-dest{display:flex;flex-direction:column;gap:5px;padding:6px 10px 10px;border-bottom:1.5px dashed var(--line2);border-radius:8px 8px 0 0}
.hk-dest:hover,.hk-dest:focus-within{background:rgba(29,34,51,.05)}
.hk-dest:focus-within{border-bottom:1.5px solid var(--ink)}
.hk-q{width:100%;min-width:0;height:48px;margin:0;padding:0;padding-inline-end:42px;border:0;background:none;color:var(--ink);font:400 36px/1 var(--fdl);outline:none}
body.rtl .hk-q{font:600 28px/1.2 var(--fb)}
.hk-q::placeholder{color:#8A8D99;opacity:1}
.hk-sub{min-height:18px;font:400 14px/1.3 var(--fb);color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hk-sub.is-set{color:var(--ink);font-weight:500}
.hk-dest .sw-clear{position:absolute;inset-inline-end:8px;top:34px}
.hk-dest .airport-drop{top:calc(100% + 8px);z-index:70}
/* dates: CHECK-IN · nights · CHECK-OUT */
.hk-when{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);align-items:end;gap:0 12px;min-width:0}
.hk-btn{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;min-width:0;margin:0;padding:6px 10px 10px;border:0;border-bottom:1.5px dashed var(--line2);border-radius:8px 8px 0 0;background:none;color:var(--ink);font:inherit;text-align:start;cursor:pointer}
.hk-btn:hover,.hk-btn[aria-expanded="true"]{background:rgba(29,34,51,.05)}
.hk-btn[aria-expanded="true"]{border-bottom:1.5px solid var(--ink)}
.hk-btn:focus-visible{outline:2px solid var(--stamp);outline-offset:2px}
.hk-dv{display:flex;align-items:center;gap:10px;min-width:0;min-height:48px}
.hk-d{flex:none;font:400 44px/1 var(--fdl);color:var(--ink)}
.hk-my{display:flex;flex-direction:column;gap:3px;min-width:0}
.hk-m{font:600 15px/1.15 var(--fb);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hk-w{font:400 13px/1.15 var(--fb);color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hk-nights{display:flex;flex-direction:column;align-items:center;gap:5px;padding-bottom:6px}
.hk-moon{position:relative;width:54px;height:54px;display:grid;place-items:center;border:1.5px solid var(--ink);border-radius:50%;background:var(--card)}
.hk-moon svg{position:absolute;top:8px;left:50%;width:13px;height:13px;margin-left:-6.5px;fill:var(--stamp)}
.hk-moon b{margin-top:10px;font:700 20px/1 var(--fm);color:var(--ink)}
.hk-nights small{font:500 12px/1 var(--fb);color:var(--ink2);white-space:nowrap}
.hk-when .bp-fp{position:absolute}
/* guests and rooms */
.hk-val{display:flex;align-items:center;min-height:48px;font:400 20px/1.2 var(--fdl);color:var(--ink)}
body.rtl .hk-val{font:600 16px/1.35 var(--fb)}
.hk-pop{inset-inline-start:auto;inset-inline-end:0;width:340px;max-width:calc(100vw - 48px)}
/* the stub: a room-key tag over Search */
.hk-stub{display:none}
.search-widget[data-pane="hotels"] .pass-stub{display:flex;width:250px;padding:22px 24px 20px}
.search-widget[data-pane="hotels"] .pass-stub>.barcode,.search-widget[data-pane="hotels"] .stub-word{display:none}
.search-widget[data-pane="hotels"] .hk-stub{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%}
.hk-tag{position:relative;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:112px;height:138px;margin-top:18px;padding-top:24px;background:var(--paper2);border:1.5px solid var(--ink);border-radius:12px 12px 46px 46px;outline:1.5px dashed var(--stamp);outline-offset:-8px;box-shadow:4px 4px 0 var(--dark);transform:rotate(-5deg)}
.hk-tag::before{content:"";position:absolute;top:12px;left:50%;width:14px;height:14px;margin-left:-7px;border:1.5px solid var(--ink);border-radius:50%;background:var(--card)}
.hk-tag::after{content:"";position:absolute;top:-16px;left:50%;width:30px;height:34px;margin-left:-15px;border:3px solid #B8892F;border-radius:50%;clip-path:inset(0 0 46% 0)}
.hk-tag-b{font:600 10px/1 var(--fm);letter-spacing:.24em;color:var(--ink2)}
.hk-tag-c{min-height:32px;font:400 32px/1 var(--fdl);color:var(--stamp)}
.hk-tag-c:empty::before{content:"\2013\2009\2013\2009\2013";color:var(--line2)}
.hk-tag-d{min-height:13px;font:600 13px/1 var(--fm);letter-spacing:.06em;color:var(--ink)}
.hk-go{flex:none;width:100%;min-height:56px;margin:0;padding:0 18px;font-size:17px;white-space:nowrap}
.hk-partners{margin:-6px 0 0;font:400 12px/1.3 var(--fb);color:#6B6F7E;text-align:center}
/* the calendar under the dates: two months on wide screens (flatpickr, skinned above) */
.hk-cal{z-index:80!important}
@container hk (min-width:36em) and (min-width:560px){
  .hk-rt{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);grid-template-areas:"dest dest" "when guests"}
}
@container hk (min-width:62em) and (min-width:990px){
  .hk-rt{grid-template-columns:minmax(0,1.1fr) minmax(0,1.5fr) minmax(0,.8fr);grid-template-areas:"dest when guests"}
}
@container hk (max-width:25em){
  .hk-d{font-size:36px}
  .hk-dv{gap:7px}
  .hk-when{grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:0 8px}
  .hk-moon{width:46px;height:46px}
  .hk-moon svg{top:6px}
  .hk-moon b{font-size:18px}
  .hk-btn{padding-inline:6px}
  .hk-m{font-size:14px}
}
@media (max-width:980px){
  .search-widget[data-pane="hotels"] .pass{flex-direction:column}
  .search-widget[data-pane="hotels"] .pass-stub{width:auto;padding:18px 22px;border-inline-start:0;border-top:2px dashed var(--line2)}
  .search-widget[data-pane="hotels"] .pass-stub .nt{top:-14px;bottom:auto;inset-inline-start:auto;inset-inline-end:auto}
  .search-widget[data-pane="hotels"] .pass-stub .nt-t{left:-14px;clip-path:inset(0 0 0 50%)}
  .search-widget[data-pane="hotels"] .pass-stub .nt-b{right:-14px;clip-path:inset(0 50% 0 0)}
  .search-widget[data-pane="hotels"] .hk-stub{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 28px}
  .hk-tag{width:100px;height:112px;margin-top:14px;padding-top:18px;gap:5px;border-radius:10px 10px 38px 38px}
  .hk-tag::before{top:9px;width:11px;height:11px;margin-left:-5.5px}
  .hk-tag::after{top:-13px;width:24px;height:28px;margin-left:-12px}
  .hk-tag-b{font-size:8px}
  .hk-tag-c{min-height:24px;font-size:24px}
  .hk-tag-d{font-size:11px;letter-spacing:0}
  .hk-go{flex:1 1 260px;width:auto;max-width:420px}
  .search-widget[data-pane="hotels"] .bp-note,.hk-partners{flex:0 0 100%;margin:0}
}
@media (max-width:760px){
  .hk-type label{min-height:36px;padding:0 14px;font-size:14px}
  .hk-f.hk-guests{position:static}
  .hk-pop{inset-inline:0;width:auto;max-width:none}
  .hk-tag{display:none}
  .hk-go{flex:1 1 100%;max-width:none}
  .search-widget[data-pane="hotels"] .pass-stub{padding:16px 12px 14px}
  .hk-q{font-size:30px}
  body.rtl .hk-q{font-size:24px}
}
