/*
 * Arabic pages only (2026-12-03). Loaded after style.css when the page language is Arabic
 * (nadipack-core/inc/i18n.php). The design is the Persian one (same right-to-left rules, same faces); the only
 * difference is the digits: the Persian faces are "FaNum" builds that draw 0-9 as ۰-۹, and Arabic copy for Iraq
 * and the Gulf uses 0-9. "NadipackDigits" (style.css) covers U+0030-0039 only, so letters keep their face.
 * Declared on every element so var(--np-face) resolves to that element's own face (text or heading).
 */
body.nadipack-lang-ar, body.nadipack-lang-ar * { --np-latin: "NadipackDigits", var(--np-face, "IRANYekan"); }

/* Latin words inside Arabic titles (Skin Pack, Top Seal) keep their own capitals */
body.nadipack-lang-ar :is(h1, h2, h3, h4, h5, h6, .logico-title, .post-title, .elementor-tab-title, .logico-tab-title-item) { text-transform: none !important; }

/* Submenus (owner 2026-12-05): longer Arabic labels broke onto a second line in the 180px box; the box now takes the
   width of its longest label */
body.nadipack-lang-ar .header-menu-container .main-menu > li ul.sub-menu { width: max-content !important; min-width: 180px; max-width: 420px; }
body.nadipack-lang-ar .header-menu-container .main-menu > li ul.sub-menu a { white-space: nowrap; }
