/* v2.9.11 (Arabic fix) - right-to-left layout for /ar pages. Loaded after every other style sheet, only on Arabic pages.
   What this file does, in order: 1 fonts and sizes | 2 top bar and header | 3 pop-over menus | 4 the slide-in menu panel (it used to sit open on
   the page) | 5 hero and text | 6 booking widget and date / time pickers | 7 forms | 8 cards, lists, footer | 9 sliders and rails | 10 floating buttons.
   Rules use [dir=rtl] / html[lang=ar] so English, French, Amharic and Chinese pages are not touched at all. */

/* ---------- 1. fonts and sizes ---------- */
html[lang=ar]{--sans:"Noto Sans Arabic","Jost",system-ui,"Segoe UI",Tahoma,sans-serif;--serif:"Noto Naskh Arabic","Cormorant Garamond",Georgia,serif}
html[lang=ar] body{font-family:var(--sans);line-height:1.75}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] h4{font-family:var(--serif);letter-spacing:0;line-height:1.4}
/* Arabic letters join: no letter-spacing and no upper-casing anywhere */
html[lang=ar] *{letter-spacing:0!important;text-transform:none!important}
/* the Latin sizes (small, spaced capitals) are too small for Arabic script */
html[lang=ar] .nav a,html[lang=ar] .nav-dd-menu a,html[lang=ar] .nav-more-menu a,html[lang=ar] .lang-menu a{font-size:.94rem;font-weight:500}
html[lang=ar] .topbar{font-size:.86rem}
html[lang=ar] .btn,html[lang=ar] .mbook,html[lang=ar] .more,html[lang=ar] .tag,html[lang=ar] .eyebrow{font-size:.92rem;font-weight:600}
html[lang=ar] .bookform label span,html[lang=ar] .form label>span,html[lang=ar] .qgrid b,html[lang=ar] .sgrid span,html[lang=ar] .fcol h4{font-size:.9rem;font-weight:600}
html[lang=ar] .drawer nav a,html[lang=ar] .drawer nav .dr-row>a,html[lang=ar] .drawer nav .dr-lab{font-size:1.4rem;font-weight:500}
html[lang=ar] .drawer nav .dr-sub a{font-size:1.1rem}

/* ---------- 2. top bar and header ---------- */
[dir=rtl] .topbar .wrap{direction:rtl;flex-direction:row}
[dir=rtl] .topbar .tb-links{margin-left:0!important;margin-right:auto!important;direction:rtl}
[dir=rtl] .topbar svg,[dir=rtl] .tbi svg{margin-inline:0 .3rem}
[dir=rtl] .bar .wrap{direction:rtl;flex-direction:row}
[dir=rtl] .nav{direction:rtl;margin-left:0!important;margin-right:auto!important}
[dir=rtl] .acts{direction:rtl}
[dir=rtl] .nav-dd{direction:rtl}
[dir=rtl] .nav-dd-btn,[dir=rtl] .nav-more-btn{margin-inline-start:.2rem}
html[dir=rtl] .hdr .brand img{transform-origin:right center}
@media(max-width:1100px){html[dir=rtl] .acts{margin-right:auto;margin-left:0}}
html.nav-compact[dir=rtl] .acts{margin-right:auto;margin-left:0}
/* phone numbers and e-mail addresses keep their own (left-to-right) order inside Arabic text */
[dir=rtl] a[href^="tel:"],[dir=rtl] a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate;display:inline-block}

/* ---------- 3. pop-over menus (language, "More", header drop-downs) ---------- */
[dir=rtl] .pop,[dir=rtl] .nav-more-menu,[dir=rtl] .lang-menu,[dir=rtl] .nav-dd-menu{direction:rtl;text-align:right}
[dir=rtl] .nav-dd-menu a,[dir=rtl] .nav-more-menu a,[dir=rtl] .lang-menu a{text-align:right}

/* ---------- 4. slide-in menu panel ----------
   The panel is anchored to the left in Arabic, but it was still hidden by sliding it to the RIGHT (translateX(105%)). That pushed it into
   the page, so it sat on top of the site all the time. It now hides to the left, and is also made invisible while closed. */
[dir=rtl] .drawer{inset:0 auto 0 0;direction:rtl;text-align:right;transform:translateX(-105%);visibility:hidden;border-left:0;border-right:1px solid var(--lx-hair,var(--line));
  transition:transform .35s cubic-bezier(.2,.7,.2,1),visibility 0s linear .35s}
[dir=rtl] .drawer.open{transform:none;visibility:visible;transition-delay:0s}
@media(prefers-reduced-motion:reduce){[dir=rtl] .drawer{transition:none}}
[dir=rtl] .drawer .x{right:auto;left:1rem}
[dir=rtl] .drawer nav a,[dir=rtl] .drawer nav .dr-row>a,[dir=rtl] .drawer nav .dr-lab{text-align:right}
[dir=rtl] .drawer nav .dr-row{direction:rtl}
[dir=rtl] .drawer nav .dr-sub{padding:.2rem .9rem .5rem 0}
[dir=rtl] .dr-search{direction:rtl}
[dir=rtl] .dr-search input{text-align:right}
/* current page marker: bar on the right edge, rounded on the left */
[dir=rtl] .drawer nav a[aria-current=page],[dir=rtl] .drawer nav .dr-row>a[aria-current=page],[dir=rtl] .drawer nav .dr-row>.dr-lab[aria-current=page],[dir=rtl] .drawer nav .dr-sub a[aria-current=page]{
  box-shadow:inset -3px 0 0 var(--gold);border-radius:10px 0 0 10px;padding-left:0;padding-right:1rem}
[dir=rtl] .drawer nav a[aria-current=page]::after{display:none}
[dir=rtl] .drawer .dr-lang{direction:rtl}
[dir=rtl] .dr-foot{text-align:right}
[dir=rtl] .dr-foot a[href^="tel:"],[dir=rtl] .dr-foot a[href^="mailto:"]{display:block;text-align:right}

/* ---------- 5. hero and text ---------- */
[dir=rtl] .sc{margin-left:0;margin-right:max(1.2rem,calc((100% - 1240px)/2));text-align:right}
[dir=rtl] .hero .lead,[dir=rtl] .hero h1,[dir=rtl] .hero .eyebrow{text-align:right}
/* English text that is still waiting for its Arabic version keeps its full stops and brackets on the correct side */
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,[dir=rtl] h4,[dir=rtl] p,[dir=rtl] .lead,[dir=rtl] blockquote,[dir=rtl] .eyebrow{unicode-bidi:plaintext}
[dir=rtl] .highlights li,[dir=rtl] .vmeta,[dir=rtl] .btns{text-align:right}
[dir=rtl] .highlights li svg{margin-inline-end:.6rem;margin-inline-start:0}
[dir=rtl] .prose,[dir=rtl] .vbody{text-align:right}
[dir=rtl] .prose ul,[dir=rtl] .prose ol,[dir=rtl] .vbody ul,[dir=rtl] .vbody ol{padding-inline:1.4rem 0}
[dir=rtl] .eyebrow::before{margin-inline:0 .6rem}
[dir=rtl] .more svg,[dir=rtl] .arrow{transform:scaleX(-1)}
[dir=rtl] .qgrid a{border-left:0;border-right:1px solid var(--line)}[dir=rtl] .qgrid a:first-child{border-right:0}
[dir=rtl] .rates td:not(:first-child),[dir=rtl] .rates th:not(:first-child){text-align:left}
[dir=rtl] table{direction:rtl}[dir=rtl] th,[dir=rtl] td{text-align:right}

/* ---------- 6. booking widget and the date / time / number pickers ---------- */
[dir=rtl] .bookform,[dir=rtl] .bookbar{direction:rtl}
[dir=rtl] .bookform label{text-align:right}
[dir=rtl] .gs-btn{direction:rtl;text-align:right}
[dir=rtl] .gs-v{direction:rtl;unicode-bidi:plaintext;text-align:right}
[dir=rtl] .gs-layer,[dir=rtl] .gs-list li{direction:rtl;text-align:right}
[dir=rtl] .gs-list li[aria-selected=true]::after{margin-inline-start:auto}

/* ---------- 7. forms ---------- */
[dir=rtl] input,[dir=rtl] textarea,[dir=rtl] select{text-align:right}
[dir=rtl] input[type=email],[dir=rtl] input[type=tel],[dir=rtl] input[type=url],[dir=rtl] input[type=number],[dir=rtl] input[type=date],[dir=rtl] input[name=promo]{direction:ltr;text-align:right}
[dir=rtl] select{background-position:left .8rem center;padding-inline:1rem 2rem}
[dir=rtl] .form label,[dir=rtl] .fsub label{text-align:right}
[dir=rtl] .panel>.x,[dir=rtl] .panel .x{right:auto;left:.9rem}
[dir=rtl] .panel,[dir=rtl] .modal{direction:rtl;text-align:right}

/* ---------- 8. cards, footer ---------- */
[dir=rtl] .ftr{text-align:right}
[dir=rtl] .ftr .fgrid,[dir=rtl] .ftr .copy{direction:rtl}
[dir=rtl] body.has-wa .copy{padding-right:0;padding-left:3.6rem}
[dir=rtl] .cb,[dir=rtl] .card{text-align:right}
[dir=rtl] .shead,[dir=rtl] .sgrid,[dir=rtl] .qgrid a{text-align:center}

/* ---------- 9. sliders and rails ----------
   The scripts of the rails (rooms, dining, offers, sights) and of the Dining / Accommodation selector count the scroll position from the left.
   In a right-to-left box the browser counts it as a negative number, which broke the arrows, the dots and the looping. The scroll boxes
   therefore keep left-to-right order; the text inside every card stays right-to-left. (Recommended for you has its own right-to-left script.) */
[dir=rtl] [data-autoslide],[dir=rtl] .dn-track{direction:ltr}
[dir=rtl] [data-autoslide]>*,[dir=rtl] .dn-track>*{direction:rtl;text-align:right}
[dir=rtl] .pz-autoslide{direction:rtl}

/* ---------- 10. floating buttons and notices ---------- */
[dir=rtl] .fb-tab{left:0;right:auto;border-radius:0 12px 12px 0}
[dir=rtl] .fb-tab:hover{padding-right:.55rem;padding-left:.8rem}
[dir=rtl] .wa,[dir=rtl] .totop{left:1rem;right:auto}
@media(max-width:760px){[dir=rtl] .wa,[dir=rtl] .totop{left:.8rem;right:auto}}
[dir=rtl] .homefab{right:calc(.8rem + env(safe-area-inset-right));left:auto}
[dir=rtl] .cc-launch,[dir=rtl] .cc-win,[dir=rtl] #cc{left:1rem;right:auto}
[dir=rtl] .consent{direction:rtl;text-align:right}
