/* ==========================================================================
   Parak Mahan Chemi — Demo 3 · Arabic adjustments
   Load LAST on ar/ pages:  style.css → pages.css → pages-b|c.css → ar.css
   Layout is already RTL; Estedad covers Arabic script and Arabic-Indic
   digits (٠-٩). This file only tunes rhythm and a few script differences.
   ========================================================================== */

:lang(ar) body {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  line-height: 1.9;
}
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { letter-spacing: 0; line-height: 1.4; }
:lang(ar) .hero h1 { line-height: 1.3; letter-spacing: 0; }
:lang(ar) .h2, :lang(ar) .page-hero__title, :lang(ar) .pdp__title { line-height: 1.35; letter-spacing: 0; }
/* Arabic words are longer on average; keep headline measure comfortable */
:lang(ar) .hero h1 { font-size: clamp(1.95rem, 1.1rem + 3.3vw, 3.6rem); }
:lang(ar) .hero__sub, :lang(ar) .lead, :lang(ar) .page-hero__lead, :lang(ar) .pdp__lead { line-height: 2; }
:lang(ar) .prose { line-height: 2.05; }
/* tatweel-free justification is not used; avoid text-justify stretching */
:lang(ar) p { text-align: start; }
/* the Persian breadcrumb separator mirrors correctly in Arabic too */
:lang(ar) .breadcrumb li + li::before { content: "›"; }
/* Latin fragments (codes, emails) keep isolation inside Arabic runs */
:lang(ar) .ltr, :lang(ar) bdi { unicode-bidi: isolate; }
/* Arabic-Indic digits look slightly smaller than Persian ones in Estedad */
:lang(ar) .stat__v, :lang(ar) .spec__v, :lang(ar) .product__purity, :lang(ar) .coa__big { font-feature-settings: "tnum" 1; }
