/* Arabic / RTL layer on top of site.css + footer.css (loaded only by /ar/ pages) */
html[dir=rtl] body{font-family:"Segoe UI",Tahoma,"Noto Naskh Arabic","Noto Sans Arabic",system-ui,-apple-system,Arial,sans-serif;line-height:1.85}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{letter-spacing:0;line-height:1.4}
.ar-main{max-width:1120px;margin:0 auto;padding:8px 20px 56px}
.ar-main h2{font-size:25px;margin:34px 0 12px}
.ar-main h3{font-size:19px;margin:0 0 6px}
.ar-main p{margin:0 0 12px}
.ar-main ul:not(.hl),.ar-main ol:not(.days){padding-inline-start:22px;margin:0 0 12px}
.ar-main li{margin-bottom:6px}
.ar-hero{padding:34px 28px;background:var(--soft);border:1px solid var(--line);border-radius:20px;margin:10px 0 26px}
.ar-hero h1{font-size:clamp(28px,4.6vw,44px);margin:6px 0 12px}
.ar-hero .btn{margin-top:8px}
.ar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.ar-card{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff}
.ar-card p{margin:0 0 8px}
.ar-card a{font-weight:700}
.ar-price{font-size:22px;font-weight:800;color:var(--acc)}
.ar-muted{color:var(--muted)}
/* day-by-day list: site.css positions the number/line with physical left */
html[dir=rtl] ol.days li{padding:0 52px 22px 0}
html[dir=rtl] ol.days li::before{left:auto;right:0}
html[dir=rtl] ol.days li::after{left:auto;right:16px}
/* ✓ lists + price tables already use logical properties; keep numerals/LTR runs readable */
html[dir=rtl] .ft-contact a[dir=ltr]{unicode-bidi:isolate}
@media(max-width:600px){.ar-main{padding:8px 16px 48px}.ar-hero{padding:24px 18px}}

/* ---- /ar/ home + tour pages: same template as the other languages (inline CSS is logical-property based) ---- */
html[dir=rtl] *{letter-spacing:0!important}
html[dir=rtl] .fcard,html[dir=rtl] .locale-option{text-align:right}
html[dir=rtl] .ar.l{left:auto;right:8px}
html[dir=rtl] .ar.r{right:auto;left:8px}

/* itinerary step bullets (site.css uses physical left) */
html[dir=rtl] ol.days ul.st li{padding:0 20px 0 0}
html[dir=rtl] ol.days ul.st li::before{left:auto;right:2px}
.tc-sum th,.tc-sum td{text-align:right}
