/* English/LTR adaptation of the modern Persian site shell. */
html[lang="en"] body {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .homepage-header .navbar-brand,
html[lang="en"] .homepage-header .header-actions,
html[lang="en"] .homepage-header .product-family-link,
html[lang="en"] .homepage-header .digital-menu-link,
html[lang="en"] .homepage-footer .footer-link--icon,
html[lang="en"] .homepage-footer .footer-contact-line,
html[lang="en"] .footer-it-credit,
html[lang="en"] .footer-it-dialog__body a {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .homepage-header .brand-sub,
html[lang="en"] .homepage-header .header-contact span,
html[lang="en"] .footer-it-dialog__body strong {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .homepage-header .mega-menu,
html[lang="en"] .homepage-header .digital-services-menu {
  text-align: left;
}

html[lang="en"] .homepage-header .product-mega-heading,
html[lang="en"] .homepage-header .digital-menu-heading,
html[lang="en"] .homepage-header .mega-heading {
  direction: ltr;
}

html[lang="en"] .homepage-header .digital-menu-link--catalog > i {
  margin-right: 0;
  margin-left: auto;
}

html[lang="en"] .homepage-footer .footer-it-credit__action {
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,.08);
}

html[lang="en"] .footer-it-dialog__body strong em {
  margin-right: 0;
  margin-left: 8px;
}

html[lang="en"] .homepage-header .dropdown-menu-end {
  --bs-position: start;
  right: auto;
  left: 0;
}

html[lang="en"] .mobile-app-shell,
html[lang="en"] .mobile-sheet,
html[lang="en"] .mobile-search-panel {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .page-homepage main,
html[lang="en"] .page-homepage .about-factory-content,
html[lang="en"] .page-homepage .catalog-copy,
html[lang="en"] .page-homepage .factory-content,
html[lang="en"] .page-homepage .digital-feature,
html[lang="en"] .page-homepage .digital-card,
html[lang="en"] .page-homepage .product-body,
html[lang="en"] .page-homepage .media-card .overlay,
html[lang="en"] .page-alltile main,
html[lang="en"] .page-alltile .product-content,
html[lang="en"] .page-alltile .product-spec-row {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .page-product main,
html[lang="en"] .page-product .product-info-panel,
html[lang="en"] .page-product .texture-side,
html[lang="en"] .page-product .texture-detail,
html[lang="en"] .page-product .calc-cta-content,
html[lang="en"] .page-product .spec-section,
html[lang="en"] .page-product .expert-request-modal,
html[lang="en"] .page-digital-services .digital-landing {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .page-product .product-title span,
html[lang="en"] .page-product .product-lead,
html[lang="en"] .page-product .texture-option-copy,
html[lang="en"] .page-product .texture-detail-kicker,
html[lang="en"] .page-digital-services .digital-hero-copy,
html[lang="en"] .page-digital-services .service-card,
html[lang="en"] .page-digital-services .process-copy,
html[lang="en"] .page-digital-services .process-list {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .page-search main,
html[lang="en"] .page-search-result main,
html[lang="en"] .page-aboutus main,
html[lang="en"] .page-contactus main,
html[lang="en"] .page-branch main,
html[lang="en"] .page-catalog main,
html[lang="en"] .page-cooperation main,
html[lang="en"] .page-gallery main,
html[lang="en"] .knowledge-page {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .page-search .filter-workspace,
html[lang="en"] .page-search .filter-summary,
html[lang="en"] .page-aboutus .section-head,
html[lang="en"] .page-aboutus .story-copy,
html[lang="en"] .page-aboutus .machine-card,
html[lang="en"] .page-contactus .hero-copy,
html[lang="en"] .page-contactus .location-card,
html[lang="en"] .page-contactus .org-command,
html[lang="en"] .page-branch .hero-copy,
html[lang="en"] .page-branch .side-panel,
html[lang="en"] .page-branch .apply-section,
html[lang="en"] .page-cooperation .cooperation-form,
html[lang="en"] .page-cooperation .cooperation-summary,
html[lang="en"] .page-catalog .catalog-v2-copy {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .page-homepage .about-factory-content .section-kicker,
html[lang="en"] .page-homepage .catalog-copy .section-kicker,
html[lang="en"] .page-homepage .play-btn__copy,
html[lang="en"] .page-homepage .u-homepage-6 {
  text-align: left;
}

html[lang="en"] .page-homepage .hero-copy {
  width: 100%;
  max-width: none;
  text-align: center;
}

html[lang="en"] .page-homepage .hero-title--en {
  width: 100%;
  white-space: nowrap;
  text-align: center !important;
  font-size: clamp(1.7rem, 6.4vw, 5.25rem);
  letter-spacing: -0.035em;
}

html[lang="en"] .page-homepage .digital-section-desc {
  width: 100%;
  max-width: none;
  white-space: nowrap;
  text-align: center !important;
}

@media (max-width: 767.98px) {
  html[lang="en"] .page-homepage .digital-section-desc {
    white-space: normal;
  }
}

@media (max-width: 1199.98px) {
  html[lang="en"] .homepage-header .navbar-collapse {
    text-align: left;
  }
}

/* Page-level LTR normalization for components originally authored for Persian. */
html[lang="en"] :is(
  .page-homepage,
  .page-alltile,
  .page-search,
  .page-search-result,
  .page-product,
  .page-aboutus,
  .page-contactus,
  .page-branch,
  .page-catalog,
  .page-cooperation,
  .page-gallery,
  .page-gallery-detail,
  .page-knowledge-archive,
  .page-knowledge-article,
  .page-digital-services
) :where(h1, h2, h3, h4, h5, h6, p, label, li, dt, dd, th, td, input, select, textarea) {
  direction: ltr;
  text-align: left;
}

html[lang="en"] :is(
  .page-homepage,
  .page-alltile,
  .page-search,
  .page-search-result,
  .page-product,
  .page-aboutus,
  .page-contactus,
  .page-branch,
  .page-catalog,
  .page-cooperation,
  .page-gallery,
  .page-gallery-detail,
  .page-knowledge-archive,
  .page-knowledge-article,
  .page-digital-services
) :where(form, fieldset, table, .breadcrumb-mini, .section-head, .page-heading, .page-description) {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .page-product :is(.packing-table, .technical-table),
html[lang="en"] .page-product :is(.packing-table-wrap, .technical-table-wrap),
html[lang="en"] .page-branch :is(.representative-list, .province-groups, .leaflet-popup-content),
html[lang="en"] .page-catalog .tile-share-menu {
  direction: ltr !important;
  text-align: left !important;
}

html[lang="en"] .page-catalog .tile-share-menu :is(a, button),
html[lang="en"] .knowledge-ltr :is(.knowledge-card-body, h1, h2, h3, h4, p, li, blockquote, th, td),
html[lang="en"] .page-aboutus .about-modal-title,
html[lang="en"] .page-gallery :is(.gallery-modal-title, .gallery-detail-title),
html[lang="en"] .page-gallery-detail :is(.gallery-modal-title, .gallery-detail-title) {
  text-align: left !important;
}

html[lang="en"] .knowledge-ltr .knowledge-content blockquote {
  border-right: 0;
  border-left: 3px solid #d3a558;
}
