/**
 * Technogen Enterprise — RTL Stylesheet for Arabic (Algeria)
 * Active when <html dir="rtl">
 */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] dt,
html[dir="rtl"] dd {
  text-align: right;
}

/* Header & Navigation */
html[dir="rtl"] .utility .wrap {
  flex-direction: row-reverse;
}
html[dir="rtl"] .utility-contacts {
  flex-direction: row-reverse;
}
html[dir="rtl"] .lang-selector-shell {
  margin-right: 0;
  margin-left: 12px;
}
html[dir="rtl"] .lang-dropdown {
  left: auto;
  right: 0;
  text-align: right;
}
html[dir="rtl"] .nav-row {
  flex-direction: row-reverse;
}
html[dir="rtl"] nav {
  flex-direction: row-reverse;
}
html[dir="rtl"] .mega {
  left: -180px;
  right: auto;
  text-align: right;
}

/* Hero Section */
html[dir="rtl"] .plate {
  left: auto;
  right: -25px;
  border-left: none;
  border-right: 5px solid var(--accent);
  text-align: right;
}
html[dir="rtl"] .hero-facts span:before {
  margin-right: 0;
  margin-left: 8px;
}

/* Feature & Bullet Lists */
html[dir="rtl"] .feature-list li:before {
  margin-right: 0;
  margin-left: 10px;
  float: right;
}
html[dir="rtl"] .check-list li:before {
  margin-right: 0;
  margin-left: 10px;
  float: right;
}
html[dir="rtl"] .industries span {
  border-left: none;
  border-right: 4px solid var(--accent);
}

/* Tables */
html[dir="rtl"] .spec-table th,
html[dir="rtl"] .spec-table td {
  text-align: right;
}

/* Forms & Inputs */
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="url"] {
  direction: ltr;
  text-align: right;
}

/* Breadcrumbs */
html[dir="rtl"] .crumb {
  flex-direction: row;
}

/* Inquiries & Footer */
html[dir="rtl"] .inquiry-band .wrap {
  flex-direction: row-reverse;
}
html[dir="rtl"] .footer-grid {
  text-align: right;
}

/* Preserve Numbers & Model codes in LTR inside RTL */
html[dir="rtl"] .notranslate,
html[dir="rtl"] .model-code,
html[dir="rtl"] code,
html[dir="rtl"] [dir="ltr"] {
  direction: ltr;
  display: inline-block;
  text-align: left;
}
