html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  font-family: Tahoma, Arial, "Noto Sans Arabic", sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] span,
html[dir="rtl"] button,
html[dir="rtl"] th,
html[dir="rtl"] td {
  letter-spacing: 0 !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}

html[dir="rtl"] .fontlarge,
html[dir="rtl"] .line-height,
html[dir="rtl"] .content-strip__container__content__text-block,
html[dir="rtl"] .content-strip__container__content__text-block h2,
html[dir="rtl"] .content-strip__container__content__text-block p {
  text-align: right !important;
}

html[dir="rtl"] .yj-industry-title {
  width: calc(100% - 32px);
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  text-align: center !important;
  line-height: 1.35 !important;
}

html[dir="rtl"] .slick-slider,
html[dir="rtl"] .slick-list,
html[dir="rtl"] .slick-track,
html[dir="rtl"] .site-carousel,
html[dir="rtl"] .site-carousel__container {
  direction: ltr;
}

html[dir="rtl"] .slick-slide .content,
html[dir="rtl"] .slick-slide .content-strip__container__content {
  direction: rtl;
}

html[dir="rtl"] .topnav4__nav__container__items,
html[dir="rtl"] .topnav4__nav__container--mobile__items,
html[dir="rtl"] .footer-main__container__content,
html[dir="rtl"] .product-breadcrumb__inner,
html[dir="rtl"] .product-hero__inner,
html[dir="rtl"] .career-link__container__content,
html[dir="rtl"] .content-strip__container__content {
  direction: rtl;
}

html[dir="rtl"] .topnav4__nav__container__items__item.yj-language-switch {
  margin-right: auto !important;
  margin-left: 12px !important;
}

html[dir="rtl"] .topnav4__nav__container__items__item__subnav,
html[dir="rtl"] .yj-language-switch__menu {
  right: 0;
  left: auto;
  text-align: right;
}

html[dir="rtl"] .product-layout {
  direction: rtl;
}

html[dir="rtl"] .product-main,
html[dir="rtl"] .product-sidebar,
html[dir="rtl"] .product-card__body,
html[dir="rtl"] .product-detail-copy,
html[dir="rtl"] .crossflow-tech-card__body,
html[dir="rtl"] .product-tab-panel,
html[dir="rtl"] .contact-info-block,
html[dir="rtl"] .footer-main__container {
  text-align: right;
}

html[dir="rtl"] .product-nav-list a {
  padding-right: 22px;
  padding-left: 44px;
}

html[dir="rtl"] .product-nav-list a::after {
  right: auto;
  left: 22px;
  transform: translateY(-50%) rotate(-135deg);
}

html[dir="rtl"] .product-side-heading,
html[dir="rtl"] .product-contact-card,
html[dir="rtl"] .product-breadcrumb,
html[dir="rtl"] .product-hero,
html[dir="rtl"] .crossflow-section-heading,
html[dir="rtl"] .product-detail-header,
html[dir="rtl"] .case-page,
html[dir="rtl"] .about-page,
html[dir="rtl"] .contact-page {
  text-align: right;
}

html[dir="rtl"] .product-side-heading,
html[dir="rtl"] .crossflow-section-heading h3,
html[dir="rtl"] .product-detail-section h2,
html[dir="rtl"] .product-tab-panel h2 {
  border-left: 0;
}

html[dir="rtl"] .product-card-grid,
html[dir="rtl"] .case-grid,
html[dir="rtl"] .crossflow-tech-grid,
html[dir="rtl"] .product-application-grid,
html[dir="rtl"] .product-parameter-grid {
  direction: rtl;
}

html[dir="rtl"] .product-detail-list,
html[dir="rtl"] .crossflow-feature-list,
html[dir="rtl"] .product-tab-panel ul,
html[dir="rtl"] .product-tab-panel ol {
  padding-right: 24px;
  padding-left: 0;
}

html[dir="rtl"] .yj-floating-contact {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .yj-floating-contact__panel {
  right: auto;
  left: 66px;
}

html[dir="rtl"] .yj-floating-contact__panel::after {
  right: auto;
  left: -6px;
  border-right: 0;
  border-left: 1px solid rgba(0, 36, 156, 0.12);
  transform: translateY(-50%) rotate(-45deg);
}

html[dir="rtl"] .yj-floating-contact__button:hover,
html[dir="rtl"] .yj-floating-contact__button:focus {
  transform: translateX(2px);
}

html[dir="rtl"] .product-slider__arrow--prev,
html[dir="rtl"] .related-slider__arrow--prev {
  right: auto;
  left: auto;
}

html[dir="rtl"] [class*="model"],
html[dir="rtl"] [class*="phone"],
html[dir="rtl"] .yj-floating-contact__phone,
html[dir="rtl"] code,
html[dir="rtl"] .product-parameter-table td:last-child {
  unicode-bidi: isolate;
}

html[dir="rtl"] table {
  direction: rtl;
}

html[dir="rtl"] th,
html[dir="rtl"] td {
  text-align: right;
}

@media only screen and (max-width: 839px) {
  html[dir="rtl"] .topnav4__nav__container--mobile__logo__img {
    width: 124px !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  html[dir="rtl"] .yj-floating-contact {
    right: auto;
    left: 12px;
  }

  html[dir="rtl"] .yj-floating-contact__panel {
    right: auto;
    left: 56px;
  }

  html[dir="rtl"] .topnav4__nav__container--mobile__items {
    direction: rtl;
  }

  html[dir="rtl"] .topnav4__nav__container--mobile__items__item--phne-number {
    text-align: left;
  }
}
