/* SV Botanica — Arabic (/ar/, Modern Standard Arabic) locale overrides. Load LAST in <head>:
   <link rel="stylesheet" href="/css/arabic.css">

   DIRECTION (2026-11-09)
   Pages carry <html lang="ar" dir="rtl">. Flex and grid rows flip on their own; this file flips only
   the PHYSICAL left/right rules in product.css and chrome.css (borders, margins, absolute offsets,
   text-align). Latin runs (binomials, assay figures, HPLC, ppm) keep their own direction through the
   Unicode bidi algorithm; tables and spec values with mixed scripts get unicode-bidi:plaintext.

   FONTS
   Arabic fonts are not self-hosted. Every target device ships a good Arabic face: SF Arabic / Geeza Pro
   on Apple, Segoe UI and Tahoma on Windows, Noto Sans Arabic on Android. Latin glyphs keep the brand
   faces (Jost body, Playfair Display headings); Arabic glyphs fall through per glyph. Arabic is never
   letter-spaced or upper-cased (letter-spacing breaks the joining of the letters). */
html body{font-family:'Jost','SF Arabic','Geeza Pro','Segoe UI','Noto Sans Arabic','Tahoma','Arial',system-ui,sans-serif}
html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{
  font-family:'Playfair Display','SF Arabic','Geeza Pro','Segoe UI','Noto Sans Arabic','Noto Naskh Arabic','Tahoma',Georgia,serif;line-height:1.5}
.nav-logo-name,.b-name{font-family:'Playfair Display',Georgia,serif}
.nav-logo,.nav-logo-name,.nav-logo-tag{direction:ltr}
.nav-search input,.mob-search input{font-family:'Jost','SF Arabic','Geeza Pro','Segoe UI','Noto Sans Arabic',sans-serif}

/* Arabic needs more leading than Latin and no tracking anywhere */
p,li,td,dd{line-height:1.95}
*{letter-spacing:normal!important}
.hero-eyebrow,.grade-tag,.cert-badge,.grades-table th,.specs-table th,.compare-table th,
.footer-col h3,.badge,.btn-primary,.btn-secondary,#svb-cc button{text-transform:none!important}

/* Arabic has no italic tradition: <em> on Arabic text becomes weight, not slant. Latin binomials
   (h1 em, .hero-botanical) keep their italics. */
.hero-lead em,.prose em,.spec-note em,.faq-a em,td em,.ss em,p em{font-style:normal;font-weight:600}
.hero h1 em{font-style:italic}
.hero-botanical{font-style:normal}

/* nav items must not wrap */
.nav-links>a,.nav-cta,.mob-cta{white-space:nowrap}

/* ── physical → logical flips (product.css) ── */
.hero-img-badge{left:auto;right:1.2rem}
.fact-item{border-right:none;border-left:1px solid rgba(255,255,255,.1)}
.fact-item:last-child{border-left:none}
.constituent-card{border-left:1px solid #e0ddd0;border-right:3px solid var(--gold)}
.insight-card{border-left:1px solid #e0ddd0;border-right:3px solid var(--terra)}
.doc-card{border-left:1px solid var(--border);border-right:4px solid var(--terra)}
.grades-table th,.specs-table th,.compare-table th,.compare-table td,.grades-table td,.specs-table td{text-align:right}
.grade-tag{margin-left:0;margin-right:.4rem}
.app-card ul li{padding-left:0;padding-right:1rem}
.app-card ul li::before{content:"‹";left:auto;right:0}
.prose ul,.prose ol,.faq-a ul,.faq-a ol{padding-left:0;padding-right:1.3rem}
blockquote{border-left:none;border-right:3px solid var(--gold);padding-left:0;padding-right:1rem}

/* mixed-script text stays in the RTL paragraph direction: Latin runs (binomials, HPLC, ppm, 21.52%)
   are embedded by the bidi algorithm in the right logical order. Do NOT use unicode-bidi:plaintext on
   cells — a cell that starts with "pH" or "20.0%" then flips to LTR and the Arabic words land on the
   wrong side (seen in the 2026-11-09 phone check). Only the pure-Latin binomial in the h1 is LTR. */
.hero h1 em{direction:ltr;unicode-bidi:isolate}

/* ── chrome.css ── */
.nav-links{margin-left:0;margin-right:auto}
.nav-links>a:not(.nav-cta)::after{left:auto;right:0}
.nav-hamburger{margin-left:0;margin-right:auto}
.foot-legal a{margin-left:0;margin-right:18px}
.nav-search input{direction:rtl}

/* overflow guards (carried over from the German/Korean phone audits) */
.three-col>*{min-width:0;overflow-wrap:break-word}
@media(max-width:600px){.three-col{grid-template-columns:minmax(0,1fr)}}
h1,h2,h3,h4,p,li,td,th,dd,dt,a{overflow-wrap:break-word}
@media (max-width:1200px){.nav-links .nav-search{display:none}}
@media (max-width:960px){.nav-links{display:none!important}.nav-hamburger{display:flex!important}}

/* skip-to-content link */
.skip-link{position:absolute;left:auto;right:-9999px;top:0;z-index:5000;background:#3D4A1E;color:#F0EDD5;padding:.6rem 1rem;font-size:14px;border-radius:0 0 0 6px;text-decoration:none}.skip-link:focus{right:0;left:auto;outline:2px solid #CFB055}

/* consent bar */
#svb-cc[hidden]{display:none!important}#svb-cc{position:fixed;left:0;right:0;bottom:0;z-index:4000;background:#3D4A1E;color:#F0EDD5;font-family:'Jost','SF Arabic','Geeza Pro','Segoe UI','Noto Sans Arabic','Tahoma',sans-serif;font-size:13.5px;line-height:1.6;padding:12px 20px;display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:center;box-shadow:0 -6px 24px rgba(0,0,0,.25)}#svb-cc p{margin:0;max-width:640px}#svb-cc a{color:#CFB055;text-decoration:underline}#svb-cc div{display:flex;gap:8px}#svb-cc button{font:inherit;font-size:12.5px;cursor:pointer;border-radius:4px;padding:8px 14px}#svb-cc-no{background:transparent;color:#F0EDD5;border:1px solid rgba(240,237,213,.6)}#svb-cc-yes{background:#CFB055;color:#3D4A1E;border:1px solid #CFB055;font-weight:600}@media(max-width:600px){#svb-cc{font-size:12.5px;padding:10px 14px}}
