/* PREMIER SA MOBILE HEADER LUX V2.0.0 — only viewport <= 920px.
   Visual-only header: no modifications to bookings/auth/payment engine. */
.psmh-root,.psmh-overlay,.psmh-drawer{display:none}
@media(max-width:920px){
  .psmh-root,.psmh-root *,.psmh-overlay,.psmh-drawer,.psmh-drawer *{box-sizing:border-box}
  .psmh-root{--psmh-navy:#082b30;--psmh-deep:#002a29;--psmh-gold:#dab266;display:block!important;position:relative;z-index:95;width:100%;max-width:100vw;margin:0!important;padding:0!important;background:linear-gradient(115deg,#002b2b 0%,#013a39 52%,#082e39 100%);color:#fff;font-family:var(--psa-font-ar,var(--font-ar),'Tajawal',Tahoma,Arial,sans-serif);font-size:13px;line-height:1.35;isolation:isolate;box-shadow:0 6px 16px rgba(0,38,40,.1)}
  .psmh-root a,.psmh-root button{font:inherit;letter-spacing:normal;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .psmh-root button{appearance:none}
  .psmh-beta{height:34px;display:flex;align-items:center;justify-content:center;padding:0 45px 0 45px;background:linear-gradient(110deg,#e4c175,#d8a450 90%);color:#0c2b33;position:relative;font-weight:700;font-size:11.5px;text-align:center}
  .psmh-beta-copy{display:inline-flex;align-items:center;justify-content:center;gap:7px}
  .psmh-beta svg{width:17px;height:17px;flex:0 0 auto}
  .psmh-beta button{position:absolute;right:5px;top:0;height:34px;width:36px;border:0;background:transparent;color:#173036;display:grid;place-items:center}
  .psmh-beta button svg{width:17px;height:17px}
  .psmh-beta[hidden]{display:none!important}
  .psmh-head{height:106px;position:relative;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:8px 11px;direction:ltr;border-bottom:1px solid rgba(255,255,255,.14)}
  .psmh-menu-button{width:45px;height:48px;flex:0 0 45px;padding:0;border:0;border-radius:8px;display:grid;place-items:center;background:transparent;color:#fff;align-self:center}
  .psmh-menu-button svg{width:28px;height:28px;stroke-width:1.9}
  .psmh-brand{position:absolute;left:50%;top:7px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;width:clamp(156px,43vw,205px);height:92px;text-decoration:none!important;color:#fff!important;direction:rtl;text-align:center;min-width:0;gap:1px}
  .psmh-brand-mark{display:block;width:100px;height:43px;max-width:none;flex-shrink:0;filter:none;overflow:visible}
  .psmh-brand-ar{font-size:clamp(10px,2.7vw,13px);white-space:nowrap;font-weight:800;line-height:1.25;max-width:100%;text-shadow:0 1px 4px #042221}
  /* English full legal brand name fits beneath the Arabic identity. */
  .psmh-brand-en{font-family:Arial,Helvetica,sans-serif;font-size:clamp(6.2px,1.75vw,7.6px);font-weight:600;letter-spacing:.12px;line-height:1.2;white-space:nowrap;max-width:100%;text-align:center;display:block;overflow:visible}
  .psmh-head-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:1px;z-index:1;direction:ltr}
  .psmh-action{height:57px;min-width:40px;padding:4px 3px;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;background:none;border:0;color:#fff;font-size:10px!important;white-space:nowrap}
  .psmh-action svg{width:21px;height:21px}
  .psmh-action .psmh-chevron{display:none}
  .psmh-navigation{height:67px;display:flex;align-items:stretch;gap:0;direction:ltr;padding:3px 6px 5px;overflow:hidden;background:rgba(0,22,26,.18)}
  .psmh-tab{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:3px 1px;text-decoration:none!important;color:rgba(255,255,255,.93)!important;border:1.5px solid transparent;border-radius:14px;background:transparent;font-size:clamp(9px,2.7vw,12px)!important;font-weight:700;text-align:center;line-height:1.1;white-space:nowrap;transition:background .15s,color .15s}
  .psmh-tab+ .psmh-tab{border-left-color:rgba(255,255,255,.1)}
  .psmh-tab svg{width:22px;height:22px;stroke:#dab266;stroke-width:1.8}
  .psmh-tab.is-active{border-color:#dcb46c;background:rgba(212,160,66,.10);color:#e5c178!important;border-radius:14px}
  .psmh-tab.is-active svg{stroke:#e6ba61;stroke-width:2.25}
  .psmh-root :is(button,a):focus-visible,.psmh-drawer :is(button,a):focus-visible{outline:3px solid #f2c76d;outline-offset:2px}
  .psmh-overlay{display:none;position:fixed;inset:0;z-index:99980;background:rgba(3,24,26,.55);backdrop-filter:blur(2px)}
  .psmh-overlay.is-open{display:block!important}
  .psmh-drawer{display:flex;visibility:hidden;flex-direction:column;position:fixed;top:0;bottom:0;left:0;width:min(340px,88vw);max-width:100vw;z-index:99981;transform:translateX(-102%);opacity:0;pointer-events:none;background:#fff;color:#132d35;box-shadow:12px 0 42px rgba(0,0,0,.24);transition:transform .22s ease,opacity .22s ease,visibility .22s ease;padding:max(17px,env(safe-area-inset-top)) 17px max(14px,env(safe-area-inset-bottom))}
  .psmh-drawer.is-open{visibility:visible;transform:translateX(0);opacity:1;pointer-events:auto}
  .psmh-drawer-top{display:flex;align-items:center;justify-content:space-between;padding:0 2px 15px;border-bottom:1px solid #ecedef;color:#a47b35;font-family:Georgia,serif;font-size:19px}
  .psmh-drawer-top button{background:#edf1f1;border:0;border-radius:10px;width:38px;height:38px;color:#102d32;display:grid;place-items:center}
  .psmh-drawer :is(button,a) svg{width:20px;height:20px;flex:0 0 20px}
  .psmh-drawer-links{overflow:auto;padding:12px 0;display:grid;gap:3px}
  .psmh-drawer-link{display:flex;align-items:center;gap:13px;width:100%;padding:12px 10px;background:transparent;border:0;border-radius:10px;color:#1a3339;text-align:start;text-decoration:none;font-size:14px;font-weight:700}
  .psmh-drawer-link svg{color:#9d7638}
  .psmh-drawer-link em{margin-inline-start:auto;font-size:10px;font-style:normal;color:#9b793e}
  .psmh-drawer-bottom{margin-top:auto;padding-top:12px;border-top:1px solid #ecedef;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
  .psmh-drawer-bottom button{display:flex;align-items:center;gap:7px;padding:9px;background:#0b3638;color:#fff;border:0;border-radius:9px;font-size:12px}
  .psmh-drawer-bottom a{font-size:12px;color:#0b3638;text-decoration:none}
  html.psmh-drawer-open,html.psmh-drawer-open body{overflow:hidden!important}
  /* Make the mobile header the ONE visual header. Existing header DOM and listeners remain intact. */
  body>.site-header,body>.site-head,body>.legal-topbar,body>.premier-beta-notice{display:none!important}
  /* Old fixed-header offset removed from every mobile page. */
  html body{padding-top:0!important;margin:0!important}
  body.page-home{padding-top:0!important;--psa-beta-h:0px!important;--psa-header-top:0px!important;--psa-fixed-header-h:0px!important}
  html[lang^="en"] body.page-home,html[dir="ltr"] body.page-home{padding-top:0!important}
  #premierResultsAppbar,#premierTravelerAppbar{display:none!important}
  html.premier-mobile-app .results-shell{padding-top:10px!important;min-height:0!important}
  html.premier-mobile-app body{padding-top:0!important}
  #toast.toast{top:12px!important}
  body.page-home #toast.toast{top:12px!important}
}
@media(max-width:365px){
 .psmh-head{height:91px;padding-inline:7px}
 .psmh-brand{top:7px;height:78px;width:142px}
 .psmh-brand-mark{height:32px;width:80px}
 .psmh-brand-ar{font-size:9.6px}
 .psmh-brand-en{font-size:6.2px;letter-spacing:0}
 .psmh-menu-button{width:36px;flex-basis:36px}
 .psmh-head-actions{gap:0}
 .psmh-action{font-size:9px!important;min-width:35px}
 .psmh-action svg{width:18px;height:18px}
 .psmh-navigation{height:61px;padding-inline:3px}
 .psmh-tab{font-size:9px!important;gap:2px}
 .psmh-tab svg{width:19px;height:19px}
}
@media(min-width:921px){.psmh-root,.psmh-overlay,.psmh-drawer{display:none!important}}
@media(prefers-reduced-motion:reduce){.psmh-tab,.psmh-drawer{transition:none!important}}
