/* Surab Ali Languages: switcher, per-language typography, RTL. White #fff, orange #F45225, black #111. */

/* ---------- Language switcher (reuses the country selector look; native names, no flags) ---------- */
.sai-lang summary{display:inline-flex;align-items:center;gap:8px}
.sai-lang .sai-globe{flex:none;color:var(--sa-orange,#F45225)}
.sai-lang .sai-cur,.sai-lang .sai-n,.sai-m .sai-n{font-family:"Segoe UI","Noto Sans","Noto Sans Arabic","Noto Sans Devanagari","Noto Sans Bengali","Nirmala UI","Tahoma","Arial",system-ui,sans-serif;font-weight:600;font-size:14px;line-height:1.3;white-space:nowrap}
.sai-lang .sai-cur{max-width:9em;overflow:hidden;text-overflow:ellipsis}
.sai-lang>div{min-width:200px}
.sai-lang>div a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;transition:background .2s}
.sai-lang>div a:hover{background:#fff7f4}
.sai-lang>div a[aria-current=true]{background:#fff7f4;box-shadow:inset 0 0 0 1.5px var(--sa-orange,#F45225)}
.sai-lang .sai-ck{flex:none;width:18px;height:18px;border-radius:50%;opacity:0}
.sai-lang a[aria-current=true] .sai-ck{opacity:1;background:var(--sa-orange,#F45225) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.sai-tag{margin-inline-start:auto;padding:1px 7px;border-radius:999px;background:#111;color:#fff;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.sai-lang>div{transform-origin:top;animation:sai-pop .18s ease-out}
@keyframes sai-pop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.sai-lang>div{animation:none}}
.sai-lang a:focus-visible,.sai-lang summary:focus-visible,.sai-m a:focus-visible{outline:3px solid var(--sa-orange,#F45225);outline-offset:2px}

/* mobile menu block (hidden on desktop, like the country rows) */
.sa-header .sai-nav-lang{display:none}
.sa-header .is-menu-open .sai-nav-lang{display:block;margin-top:14px;width:100%}
.sai-nav-h{display:block;margin:0 0 8px;color:#6b6b6b;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.sai-m{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sai-m a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:10px 14px;border:1.5px solid var(--sa-line,#E8E6E1);border-radius:14px;color:#111;text-decoration:none}
.sai-m a[aria-current=true]{border-color:var(--sa-orange,#F45225);background:#fff7f4}
.sai-m .sai-ck{width:16px;height:16px}
@media(max-width:1180px){.sa-header .sai-lang{display:none}}

/* ---------- Per-language typography (font is declared and downloaded only on the page that needs it) ---------- */
html:not([lang|=en]) body :where(*){letter-spacing:0!important;text-transform:none!important}
html:not([lang|=en]) body :where(em,i,cite){font-style:normal}
html[lang|=ar] body,html[lang|=ar] body :where(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,small,button,input,select,textarea,label,summary,b,em){font-family:"SAI Script","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif}
html[lang|=hi] body,html[lang|=hi] body :where(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,small,button,input,select,textarea,label,summary,b,em){font-family:"SAI Script","Noto Sans Devanagari","Nirmala UI","Mangal",sans-serif}
html[lang|=bn] body,html[lang|=bn] body :where(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,small,button,input,select,textarea,label,summary,b,em),
html[lang|=as] body,html[lang|=as] body :where(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,small,button,input,select,textarea,label,summary,b,em){font-family:"SAI Script","Noto Sans Bengali","Nirmala UI","Vrinda",sans-serif}
html[lang|=ur] body,html[lang|=ur] body :where(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,small,button,input,select,textarea,label,summary,b,em){font-family:"SAI Script","Noto Nastaliq Urdu","Jameel Noori Nastaleeq","Segoe UI",Tahoma,serif}
/* keep the switcher in system fonts so five scripts never trigger five downloads */
html body .sai-lang .sai-cur,html body .sai-lang .sai-n,html body .sai-m .sai-n,html body .sai-lang .sai-tag{font-family:"Segoe UI","Noto Sans","Nirmala UI",Tahoma,Arial,system-ui,sans-serif}
/* taller lines for scripts with tall marks */
html[lang|=hi] body :where(p,li,.sax-sub,.sax-lead){line-height:1.8}
html[lang|=bn] body :where(p,li,.sax-sub,.sax-lead),html[lang|=as] body :where(p,li,.sax-sub,.sax-lead){line-height:1.8}
html[lang|=ar] body :where(p,li,.sax-sub,.sax-lead){line-height:1.9}
html[lang|=ur] body :where(p,li,.sax-sub,.sax-lead){line-height:2.2}
html[lang|=ur] body :where(h1,h2,h3,h4,.sax-h1,.sax-h2){line-height:1.75!important}
html[lang|=ar] body :where(h1,h2,h3,h4,.sax-h1,.sax-h2),html[lang|=hi] body :where(h1,h2,h3,h4,.sax-h1,.sax-h2){line-height:1.35!important}
html[lang|=hi] body .sax-h1,html[lang|=ar] body .sax-h1,html[lang|=ur] body .sax-h1,html[lang|=bn] body .sax-h1,html[lang|=as] body .sax-h1{font-size:clamp(2.2rem,min(4.6vw,8svh),4rem)}

/* ---------- Right-to-left (Arabic, Urdu) ---------- */
html[dir=rtl] body{text-align:start}
html[dir=rtl] .sa-header>div,html[dir=rtl] .sa-header .wp-block-group{direction:rtl}
html[dir=rtl] .sa-country>div,html[dir=rtl] .sai-lang>div{right:auto;left:0}
html[dir=rtl] .sa-country summary{padding:8px 10px 8px 14px}
html[dir=rtl] .sa-flags .sa-flag+.sa-flag{margin-left:0;margin-right:-7px}
html[dir=rtl] .sax-hero-copy,html[dir=rtl] .sax-head,html[dir=rtl] .sa-head{text-align:right}
html[dir=rtl] .sax-eyebrow .sax-rule{order:2}
html[dir=rtl] .sax-stats,html[dir=rtl] .sax-cta{direction:rtl}
html[dir=rtl] input[type=tel],html[dir=rtl] input[type=email],html[dir=rtl] input[type=url],html[dir=rtl] input[type=date],html[dir=rtl] input[type=number]{direction:ltr;text-align:right}
html[dir=rtl] a[href^="tel:"],html[dir=rtl] a[href*="wa.me"]{unicode-bidi:isolate}
html[dir=rtl] .sax-cmp-range,html[dir=rtl] .sax-cmp,html[dir=rtl] .sax-cmp-stage,html[dir=rtl] .sac3d-stage,html[dir=rtl] .sac3d-ring{direction:ltr}
html[dir=rtl] .sac3d-ctl{direction:ltr}
html[dir=rtl] .sa-footer .sa-fg>div,html[dir=rtl] .sa-fb{text-align:right}
bdi[dir=ltr]{white-space:normal}bdi.sai-ph{white-space:nowrap}
html[dir=rtl] .sa-header .is-menu-open .wp-block-navigation-item__content::after{content:"\2190"}
/* ===== Phase B: RTL layout (Arabic, Urdu). Scoped to html[dir=rtl] so English, Hindi, Assamese and Bengali are untouched. ===== */
/* full-bleed sections use a left-based centring trick; mirror it */
html[dir=rtl] .sa-hero,html[dir=rtl] .sa-sec,html[dir=rtl] .sa-pagehead{left:auto;right:calc(50% - 50vw);margin-left:0;margin-right:0}
/* direction-sensitive data stays left-to-right and readable */
html[dir=rtl] .sax-bp a[href^="tel:"],html[dir=rtl] .sax-bp a[href*="wa.me"],html[dir=rtl] .sa-chat a[href^="tel:"],html[dir=rtl] .sab-ref,html[dir=rtl] .sab-code,html[dir=rtl] [data-ltr]{direction:ltr;unicode-bidi:isolate;display:inline-block}
/* Nastaliq needs more size than Latin text to stay readable */
html[lang|=ur] :is(main,.sa-footer) :where(li,p,small,span,a,label,button,input,select,textarea,summary,td,th,strong,b){font-size:max(1em,15px)}
html[lang|=ur] :is(main,.sa-footer) :where(small){font-size:max(1em,14px)}
/* modal close buttons move to the start (left) corner */
html[dir=rtl] .sa-chat-x,html[dir=rtl] .sax-dlg-x,html[dir=rtl] .sax-vdlg-x{right:auto;left:10px}
html[dir=rtl] .sa-chat{overflow-x:hidden}
html[dir=rtl] .sa-chat :where(button,a,div){min-width:0}
/* Nastaliq needs generous line height inside the large mobile-menu links */
html[lang|=ur] .sa-header .is-menu-open .wp-block-navigation-item__content{font-size:1.45rem;line-height:2.2;padding-block:4px}
html[lang|=ur] .sa-header .is-menu-open .wp-block-navigation-item__label{line-height:2.2}
html[lang|=ur] .sa-header .is-menu-open .sa-nav-flag .wp-block-navigation-item__content,html[lang|=ur] .sa-header .is-menu-open .sa-nav-cta .wp-block-navigation-item__content{font-size:1.05rem;line-height:2}
/* Stage C1: booking reference stays left-to-right; the popup "back" arrow points the other way */
html[dir=rtl] .sab-refno{direction:ltr;unicode-bidi:isolate;text-align:start}
html[dir=rtl] .sac-arr{display:inline-block;transform:scaleX(-1)}

/* Stage C2: longer navigation labels (Assamese, Bengali, Hindi): keep the logo on one line and the header inside the screen */
html:not([lang|=en]) .sa-header .sa-logo{flex:none}
html:not([lang|=en]) .sa-logo-t{white-space:nowrap}
html:is([lang|=as],[lang|=bn]) .sa-header .wp-block-navigation__container{gap:clamp(10px,1.3vw,22px)!important}
@media(max-width:1320px){
	html:is([lang|=as],[lang|=bn],[lang|=hi]) .sa-header .wp-block-navigation-item__content{font-size:13.5px}
	html:is([lang|=as],[lang|=bn],[lang|=hi]) .sa-header .wp-block-navigation__container{gap:clamp(8px,.9vw,14px)!important}
	html:not([lang|=en]) .sa-header .wp-block-group{gap:8px!important}
}
