/* Armouché — the Arabic pages (/ar/… and the Arabic articles): right to left.
   Loaded after style.css and world.css, only by pages whose <html> says lang="ar" dir="rtl".
   Wherever the layout is built with flex, grid and logical properties it mirrors by itself; this file holds the rest:
   the Arabic type, and the rules that name a physical side (left, right). */

/* ---------- type ---------- */
/* The display face (Lilita One) has no Arabic letters: Arabic headings are set in Tajawal ExtraBold under the same
   family name, whatever weight is asked for (so the browser never thickens it by itself). */
@font-face{font-family:"Armouche Display AR";src:url(../fonts/tajawal-arabic-800-normal.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E}
html[lang="ar"]{--display:"Armouche Display","Armouche Display AR","Tajawal",system-ui,sans-serif;--body:"Tajawal","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:106.25%}
html[lang="ar"] body{font-size:18px;line-height:1.7;font-feature-settings:normal}
/* Arabic letters join: spacing them out breaks the words */
html[lang="ar"] *,html[lang="ar"] *::before,html[lang="ar"] *::after{letter-spacing:0!important}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] h4{line-height:1.3}
html[lang="ar"] .chapter{font-size:.95rem}
/* small labels were tiny capitals with wide spacing in English; Arabic has neither, so they get a readable size */
html[lang="ar"] .nb-sticker small,html[lang="ar"] .bwt-stub small,html[lang="ar"] .ct-badge span,html[lang="ar"] .fr-badge span{font-size:.8rem}
html[lang="ar"] .bwt-l{font-size:.84rem;opacity:.8}
html[lang="ar"] .sp-tags{font-size:.8rem}
html[lang="ar"] .sp-price small{font-size:.8rem}
html[lang="ar"] .apps .app-store .st-t small{font-size:.72rem}
@media (max-width:640px){html[lang="ar"] .nb-sticker small{font-size:.7rem}}
/* English kept inside an Arabic page (a dish's English name, a brand, a code): its own face and direction */
html[lang="ar"] [lang="en"]{font-family:var(--body);direction:ltr;unicode-bidi:isolate}
/* numbers that must read left to right as one piece: phone numbers, codes, the e-mail address */
html[lang="ar"] [data-cfg="phone"],html[lang="ar"] a[data-email],html[lang="ar"] .v-code,html[lang="ar"] code{direction:ltr;unicode-bidi:isolate}

/* ---------- arrows point the other way ---------- */
[dir="rtl"] svg.flip-x{scale:-1 1}
[dir="rtl"] svg:has(>use[href="#i-arrow"]){scale:-1 1}
[dir="rtl"] .post-more .ico{transform:none}

/* ---------- header, menus, footer ---------- */
/* the Arabic logo is taller for its width than the English one: same height in the header */
html[lang="ar"] .brand{width:clamp(104px,9vw,134px)}
html[lang="ar"] .mobile-nav .top img{width:110px}
html[lang="ar"] .site-footer .logo-foot{width:240px}
[dir="rtl"] .nav a::after{transform-origin:right}
[dir="rtl"] .nav a.btn{padding:0 20px 0 24px}
[dir="rtl"] .cart-btn .count{right:auto;left:-6px}
html[lang="ar"] .lang-link[lang="en"]{font-family:var(--body);font-weight:700;font-size:.95rem}
html[lang="ar"] .site-footer .big{line-height:1.15}
html[lang="ar"] .site-footer h2{font-size:.98rem}

/* ---------- the order panel and checkout ---------- */
[dir="rtl"] .v-line::before,[dir="rtl"] .v-line::after{left:auto;right:58px}
[dir="rtl"] .v-tag{padding-right:0;border-right:0;padding-left:12px;border-left:2px dashed rgba(255,247,235,.35)}
html[lang="ar"] .v-tag small{font-size:.74rem}
html[lang="ar"] .og-r{font-size:.8rem}
html[lang="ar"] .line .en,html[lang="ar"] .opts>.en{color:var(--teal);font-size:.92rem;font-weight:500;margin:0;text-align:right}

/* ---------- the menu: Arabic leads, the English name follows ---------- */
html[lang="ar"] .item .en{grid-area:ar;color:var(--teal);font-weight:500;font-size:.92rem;text-align:right}
html[lang="ar"] .group h3 .en{font-size:1.05rem;color:var(--teal);font-weight:700}
html[lang="ar"] .addons summary .en{color:var(--teal);font-weight:700;font-size:.88rem}
html[lang="ar"] .ad-g h4 .en{color:var(--teal);font-weight:700;font-size:.84rem;margin-inline-start:4px}
[dir="rtl"] .item::after{transform-origin:100% 50%}
html[lang="ar"] .item .name .pick{font-size:.74rem}
[dir="rtl"] .menu-hero .offer{padding:10px 10px 10px 16px}
@media (max-width:560px){[dir="rtl"] .menu-hero .offer{padding:8px 8px 8px 12px}}

/* ---------- homepage ---------- */
[dir="rtl"] .portal-offer{padding:6px 6px 6px 16px}
@media (max-width:860px){[dir="rtl"] .portal-offer{padding-right:6px;padding-left:14px}}
[dir="rtl"] .bite-hint{padding:10px 12px 10px 18px}
[dir="rtl"] .bite-note{text-align:right;padding:16px 16px 16px 44px}
[dir="rtl"] .bn-x{right:auto;left:8px}
[dir="rtl"] .nb-steps li+li::before{left:auto;right:-21px}
[dir="rtl"] .bw-ticket{text-align:right}
[dir="rtl"] .bw-ticket::before,[dir="rtl"] .bw-ticket::after{left:auto;right:96px;margin-left:0;margin-right:-9px}
[dir="rtl"] .bwt-stub{border-right:0;border-left:2px dashed rgba(0,97,100,.3)}
[dir="rtl"] .bwt-main{padding:14px 20px 14px 16px}
@media (max-width:640px){
  [dir="rtl"] .bw-ticket::before,[dir="rtl"] .bw-ticket::after{right:78px}
  [dir="rtl"] .bwt-main{padding:12px 16px 12px 12px}
}
[dir="rtl"] .ct-dish{text-align:right;padding:8px 8px 8px 14px}
[dir="rtl"] .ct-dish.is-on{transform:translateX(-4px)}
@media (max-width:1100px) and (min-width:861px){[dir="rtl"] .ct-dish{padding:6px 6px 6px 10px}}
@media (min-width:861px) and (max-height:700px){[dir="rtl"] .ct-dish{padding:4px 5px 4px 10px}}
@media (max-width:860px){[dir="rtl"] .ct-dish{padding:5px 5px 5px 10px}[dir="rtl"] .ct-dish.is-on{transform:none}}
@media (max-width:860px) and (max-height:800px){[dir="rtl"] .ct-dish{padding:4px 4px 4px 8px}}
[dir="rtl"] .ov-cue{padding:10px 12px 10px 16px}
@media (max-width:860px){[dir="rtl"] .ov-cue{padding:8px 10px 8px 12px}}
[dir="rtl"] .sp-add{padding:0 14px 0 18px}
[dir="rtl"] .bd-n span{padding-left:0;border-left:0;padding-right:12px;border-right:2px solid rgba(28,42,47,.15)}
[dir="rtl"] .bd-ar{text-align:right}
[dir="rtl"] .bd-keys button{padding:0 7px 0 16px}
[dir="rtl"] .fan-l{text-align:right}
[dir="rtl"] .apps .app-store{padding:0 11px 0 14px}
[dir="rtl"] .sp-note-mark{right:auto;left:-26px;transform:rotate(-14deg)}
html[lang="ar"] .sp-note-h{line-height:1.2}
html[lang="ar"] .table-note .q{line-height:1.35}
[dir="rtl"] .sv .apps .app-store,[dir="rtl"] .foot-apps .app-store{padding:0 9px 0 11px}

/* ---------- Story ---------- */
/* the three words slide sideways as one strip: the strip keeps its left-to-right order (the motion is built on it),
   and each word's own panel reads right to left */
[dir="rtl"] .sb-pin{direction:ltr}
[dir="rtl"] .sb-pin .beat{direction:rtl}
[dir="rtl"] .sm-lb{text-align:right}
[dir="rtl"] .sm-eg{text-align:left}
[dir="rtl"] .bw{text-align:right}
[dir="rtl"] .band-btn{text-align:right}
html[lang="ar"] .band-name{line-height:1.25}
/* the day behind the counter runs from the right: the line fills from there, and the three points and the hour tags change side */
[dir="rtl"] .pp-fill{transform-origin:100% 50%}
[dir="rtl"] .pp-dot{margin:-8px -8px 0 0}
[dir="rtl"] .pp-dot.d1{left:auto;right:16.66%}
[dir="rtl"] .pp-dot.d2{left:auto;right:50%}
[dir="rtl"] .pp-dot.d3{left:auto;right:83.33%}
[dir="rtl"] .pp-time{left:auto;right:16px}
[dir="rtl"] .share-say{padding:14px 18px 14px 20px;border-radius:16px 0 0 16px}
@media (max-width:860px){[dir="rtl"] .share-say{padding:10px 14px}}

/* ---------- Visit ---------- */
[dir="rtl"] .gz-word .ch.dot{margin-left:0;margin-right:.06em}
html[lang="ar"] .gz-word{line-height:1.1}
/* the corner marks: each letter stays at its edge with its line pointing in, and the height above the sea moves away from the WhatsApp button */
[dir="rtl"] .gz-marks .m-n{flex-direction:row-reverse}
[dir="rtl"] .gz-marks .m-e{flex-direction:row}
[dir="rtl"] .gz-marks .m-alt{left:auto;right:0}
html[lang="ar"] .gz-marks{font-size:.84rem}
[dir="rtl"] .stop .card{text-align:left}
[dir="rtl"] .stop:nth-child(even) .card{text-align:right}
@media (max-width:760px){
  [dir="rtl"] .route-path{left:auto;right:22px;margin-left:0;margin-right:-60px}
  [dir="rtl"] .stop .card,[dir="rtl"] .stop:nth-child(even) .card{text-align:right}
}
@media (hover:none),(pointer:coarse){[dir="rtl"] .map-shield span::after{margin-left:0;margin-right:8px}}

/* ---------- forms ---------- */
[dir="rtl"] .fl label{left:auto;right:0;transform-origin:100% 0}
[dir="rtl"] .fl-select select{padding:28px 0 12px 28px}
[dir="rtl"] .fl-select::after{right:auto;left:6px}
[dir="rtl"] .consent .err{margin:8px 36px 0 0}
[dir="rtl"] input[type="tel"],[dir="rtl"] input[type="email"],[dir="rtl"] input[type="url"]{direction:ltr;text-align:right}

/* ---------- reading pages ---------- */
[dir="rtl"] .prose ul{padding-left:0;padding-right:1.2em}
html[lang="ar"] .post-body{line-height:1.9}

/* ---------- what floats over the page changes side with the text ---------- */
/* (the text now starts on the right, so the WhatsApp button moves to the left, and the cards that sat on the left move to the right) */
[dir="rtl"] .wa-float{right:auto;left:max(20px,env(safe-area-inset-left))}
@media (max-width:860px){[dir="rtl"] .wa-float{right:auto;left:16px}}
[dir="rtl"] .cookie{left:auto;right:clamp(12px,2vw,28px);padding:20px 18px 20px 22px;transform-origin:80% 100%}
@media (max-width:860px){[dir="rtl"] .cookie{left:12px;right:12px;padding:16px 14px 16px 16px}}
[dir="rtl"] .ck-art{scale:-1 1}
[dir="rtl"] .bite-note{left:auto;right:clamp(12px,2vw,28px)}
@media (min-width:861px){
  [dir="rtl"] .portal-offer{left:auto;right:var(--gutter)}
  [dir="rtl"] .portal-foot{padding-right:var(--gutter);padding-left:calc(var(--gutter) + 72px)}
}
[dir="rtl"] .is-scene .chapter.tc{left:auto;right:var(--gutter)}
[dir="rtl"] .is-scene .table-note{left:auto;right:var(--gutter)}
[dir="rtl"] .is-scene .table-hands{right:auto;left:var(--gutter)}
@media (max-width:860px){[dir="rtl"] .is-scene .table-note{left:var(--gutter)}}

/* ---------- the WhatsApp button ---------- */
@media (hover:hover){[dir="rtl"] .wa-float:hover .wa-label{margin-left:4px;margin-right:10px}}
[dir="rtl"] .wa-float:focus-visible .wa-label{margin-left:4px;margin-right:10px}
