@charset "UTF-8";
/* ==========================================================================
   Quality Herbs — RTL layer.
   qh.css is written with logical properties, so almost everything mirrors on
   its own. Only genuinely physical things are corrected here: directional
   glyphs, and typography that needs different metrics in Arabic.
   ========================================================================== */

/* Arrows and chevrons point the other way. */
[dir="rtl"] .qh-ico--dir { transform: scaleX(-1); }

/* Arabic sits lower on the line than Latin, so tighten the optical gap under
   headings and give body copy a little more leading. */
[dir="rtl"] body { line-height: 1.9; }
[dir="rtl"] .qh-lead { line-height: 1.8; }

/* Playfair's italic is used for binomials; Latin names stay LTR inside RTL
   copy so "Foeniculum vulgare" does not get reordered. */
[dir="rtl"] .qh-binomial,
[dir="rtl"] .qh-detail__binomial {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif;
}

/* Latin-script metadata (emails, phone numbers, URLs) keeps its own direction. */
[dir="rtl"] .qh-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* The hero plate frame is optically centred for the LTR composition; mirror it
   so it balances the Arabic headline. The leaf is brand artwork, so it is
   mirrored back to its correct orientation rather than left flipped. */
[dir="rtl"] .qh-hero__plate { transform: scaleX(-1); }
[dir="rtl"] .qh-hero__plate .qh-botanical,
[dir="rtl"] .qh-hero__leaf { transform: scaleX(-1); }

/* Numerals in figures and plate numbers read better left-to-right even in AR. */
[dir="rtl"] .qh-figure__n,
[dir="rtl"] .qh-404__code { direction: ltr; unicode-bidi: isolate; }
