/*
 * Arabic/RTL overrides for twentytwenty-child.
 * Add this after the main child theme styles on Arabic pages.
 */

html[lang^="ar"],
html[lang^="ar"] body,
html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[lang^="ar"] *,
html[dir="rtl"] * {
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .header-inner,
html[dir="rtl"] .menu-ul,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .flex,
html[dir="rtl"] .banner_content,
html[dir="rtl"] .featured_btn_main {
  direction: rtl;
}

html[dir="rtl"] .header {
  left: auto;
  right: 0;
}

html[dir="rtl"] .header-actions {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .lang-switch {
  margin-right: 0;
  margin-left: 10px;
}

html[dir="rtl"] .mobile-menu {
  left: auto;
  right: 0;
  transform: translateX(-100%);
}

html[dir="rtl"] .mobile-menu.menu_active {
  transform: translateX(0);
}

html[dir="rtl"] .hme_category_slider {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .hme_why_content {
  padding-left: 0;
  padding-right: 7%;
}

html[dir="rtl"] .hme_why_section::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .hme_why_section::after {
  right: auto;
  left: 0;
  background-position: bottom left;
}

html[dir="rtl"] .hme_why_content li {
  padding-left: 0;
  padding-right: 35px;
  background-position: right top 4px;
}

html[dir="rtl"] .about_first_content {
  width: 50%;
  padding-left: 0;
  padding-right: 50px;
  padding-top: 35px;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .about_first_content h1,
html[dir="rtl"] .about_first_content h2,
html[dir="rtl"] .about_first_content h3,
html[dir="rtl"] .about_first_content p {
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .category_tag {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .blog-main-content {
  padding-left: 0;
  padding-right: 60px;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .blog-main_content_inner {
  padding-right: 0;
  padding-left: 7%;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .blog-main_content_inner span,
html[dir="rtl"] .blog-main_content_inner h5,
html[dir="rtl"] .blog-main_content_inner p,
html[dir="rtl"] .blog-main-list-content,
html[dir="rtl"] .blog-main-list-content h5,
html[dir="rtl"] .blog-main-list-content p {
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .blog-list-img img {
  object-position: top center;
}

html[dir="rtl"] .blog_tag {
  left: auto;
  right: 15px;
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .blog_tag a {
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .woo-search-input,
html[dir="rtl"] .search-input,
html[dir="rtl"] .search-field,
html[dir="rtl"] .blog_search_text {
  direction: rtl !important;
  text-align: right !important;
  padding-right: 20px !important;
  padding-left: 50px !important;
  background-position: left 20px center !important;
}

html[dir="rtl"] .search-input-wrapper,
html[dir="rtl"] .search-no-results .search-form {
  direction: rtl !important;
  flex-direction: row-reverse !important;
}

html[dir="rtl"] .search-submit-btn,
html[dir="rtl"] .woo-search-submit {
  right: auto !important;
  left: -1px !important;
}

/* Keep the product-search text clear of the RTL submit button and loader. */
html[dir="rtl"] .woo-search-form .woo-search-input {
  padding-left: 100px !important;
  padding-right: 20px !important;
}

html[dir="rtl"] .woo-search-form .search-loading {
  right: auto !important;
  left: 70px !important;
}

html[dir="rtl"] .woo-search-form .woo-search-submit {
  right: auto !important;
  left: 15px !important;
}

html[dir="rtl"] .search-no-results .search-submit {
  margin-left: 0 !important;
  margin-right: 5px !important;
}

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

html[dir="rtl"] .breadcrumbs ul li::after {
  left: auto;
  right: -11px;
}

html[dir="rtl"] .faq_menu,
html[dir="rtl"] .faq_accordion,
html[dir="rtl"] .faq_item,
html[dir="rtl"] .faq_answer {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .faq_question {
  direction: rtl;
  text-align: right;
  padding: 30px 30px 30px 65px;
}

html[dir="rtl"] .faq_icon {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .faq_item.active .faq_answer {
  padding: 0 30px 30px;
}

html[dir="rtl"] .faq_item.active .faq_icon {
  top: 35px;
}

html[dir="rtl"] .production_usage_wrap,
html[dir="rtl"] .production_usage_wrap ul,
html[dir="rtl"] .production_box {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .production_box h3 {
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .download_btn {
  right: 30px;
  left: auto;
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .mg-link img,
html[dir="rtl"] .mg-link svg,
html[dir="rtl"] .mg-link .arrow,
html[dir="rtl"] .mg-link .icon {
  transform: scaleX(-1);
}

html[dir="rtl"] .mg-link::before,
html[dir="rtl"] .mg-link::after {
  transform: scaleX(-1);
}

html[dir="rtl"] .mg-card,
html[dir="rtl"] .mg-card * {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .wdo-address-badge {
  left: auto;
  right: 16px;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .progress-steps,
html[dir="rtl"] .progress-step {
  direction: rtl;
}

html[dir="rtl"] .progress-line-active {
  left: auto;
  right: 5%;
}

html[dir="rtl"] .progress-step::after,
html[dir="rtl"] .step-circle.completed::before {
  left: auto;
  right: 50%;
}

html[dir="rtl"] .feature_prev,
html[dir="rtl"] .feature_next,
html[dir="rtl"] .cat_prev,
html[dir="rtl"] .cat_next,
html[dir="rtl"] .new_prev,
html[dir="rtl"] .new_next,
html[dir="rtl"] .related-prev,
html[dir="rtl"] .related-next {
  transform: scaleX(-1);
}

html[dir="rtl"] .main_btn {
  padding: 0 25px 0 50px;
}

html[dir="rtl"] .main_btn::after {
  right: auto;
  left: 3px;
  transform: scaleX(-1);
  background-position: top right;
}

html[dir="rtl"] .main_btn:hover::after,
html[dir="rtl"] .main_btn.white:hover::after {
  background-position: top left;
}

html[dir="rtl"] .main_btn.white::after {
  background-position: top right;
}

html[dir="rtl"] .learn_btn {
  padding-right: 0;
  padding-left: 25px;
}

html[dir="rtl"] .learn_btn::after {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

html[dir="rtl"] .learn_btn:hover::after {
  right: auto;
  left: -10px;
}

html[dir="rtl"] .footer_subscribe_inner h3 {
  padding-right: 0;
  padding-left: 20px;
}

html[dir="rtl"] .footer_subscribe_input {
  direction: rtl;
  text-align: right;
  padding-right: 20px;
  padding-left: 210px;
}

html[dir="rtl"] .footer_subscribe_btn {
  right: auto;
  left: 0;
  text-align: center;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

html[dir="rtl"] .footer_nav,
html[dir="rtl"] .footer_nav_inner,
html[dir="rtl"] .footer_nav ul {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .footer_nav ul {
  padding-right: 0;
  padding-left: 10px;
}

html[dir="rtl"] .footer_contact {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .footer_contact ul li {
  padding-left: 0;
  padding-right: 60px;
}

html[dir="rtl"] .footer-social {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .footer_icon {
  left: auto;
  right: 0;
}

html[dir="rtl"] .contact-form .iti {
  direction: rtl;
}

html[dir="rtl"] .contact-form .iti__flag-container {
  left: auto;
  right: 0;
}

html[dir="rtl"] .contact-form .iti__selected-flag {
  border-radius: 0 49px 49px 0;
}

html[dir="rtl"] .contact-form .iti--separate-dial-code .iti__selected-dial-code,
html[dir="rtl"] .contact-form .iti--show-selected-dial-code .iti__selected-dial-code {
  margin-left: 0;
  margin-right: 6px;
}

html[dir="rtl"] .contact-form .phone-intl-ready {
  direction: rtl;
  text-align: right;
  padding-left: 20px !important;
  padding-right: 100px !important;
}

html[dir="rtl"] .auth-phone-group .iti {
  direction: rtl;
}

html[dir="rtl"] .auth-phone-group .iti__flag-container {
  left: auto;
  right: 0;
}

html[dir="rtl"] .auth-phone-group .iti__selected-flag {
  border-radius: 0 49px 49px 0 !important;
}

html[dir="rtl"] .auth-phone-group .iti__selected-dial-code {
  margin-left: 0 !important;
  margin-right: 6px !important;
}

html[dir="rtl"] .auth-phone-group .phone-intl-ready {
  direction: rtl !important;
  text-align: right !important;
  padding-right: 100px !important;
  padding-left: 20px !important;
}

html[dir="rtl"] .contact-details-wrap,
html[dir="rtl"] .contact-details-wrap ul,
html[dir="rtl"] .contact-details-wrap ul li {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .contact-details-wrap ul li {
  padding-right: 35px;
  padding-left: 20px;
  border-left: 0;
  border-right: 1px solid #C7C7C7;
}

html[dir="rtl"] .contact-details-wrap ul li:first-child {
  padding-right: 0;
  padding-left: 20px;
  border-right: 0;
}

html[dir="rtl"] .contact-details-wrap ul li:last-child {
  border-right: 1px solid #C7C7C7;
}

html[dir="rtl"] .gm-style-iw-chr {
  right: auto;
  left: 4px;
}

html[dir="rtl"] .gm-style-iw-chr button {
  margin-left: 0 !important;
  margin-right: auto !important;
}

html[dir="rtl"] .store-locator-info-window {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .category_select_wrap,
html[dir="rtl"] .category_select_wrap ul,
html[dir="rtl"] .category_select_wrap li {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .category_select_wrap li:first-child::after {
  right: auto;
  left: 0;
}

html[dir="rtl"] .padding-left {
  padding-left: 0;
  padding-right: calc((100% - (1400px - 0rem)) / 2);
}

html[dir="rtl"] .padding-right {
  padding-right: 0;
  padding-left: calc((100% - (1400px - 0rem)) / 2);
}

html[dir="rtl"] .swiper,
html[dir="rtl"] .swiper-wrapper,
html[dir="rtl"] .swiper-slide {
  direction: rtl;
}

html[dir="rtl"] .swiper-button-prev,
html[dir="rtl"] .slider_btn_prev,
html[dir="rtl"] .swiper-prev {
  transform: scaleX(-1);
}

html[dir="rtl"] .swiper-button-next,
html[dir="rtl"] .slider_btn_next,
html[dir="rtl"] .swiper-next {
  transform: scaleX(-1);
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .nice-select {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce form .password-input .show-password-input,
html[dir="rtl"] .woocommerce-page form .password-input .show-password-input {
  right: auto;
  left: 0.7em;
}

html[dir="rtl"] .password-input-wrapper {
  direction: rtl;
}

html[dir="rtl"] .password-input-wrapper input {
  direction: rtl;
  text-align: right;
  padding-right: 20px !important;
  padding-left: 42px !important;
}

html[dir="rtl"] .password-input-wrapper .password-toggle-btn,
html[dir="rtl"] .password-toggle-btn {
  right: auto !important;
  left: 12px !important;
}

html[dir="rtl"] .woocommerce form .password-input input,
html[dir="rtl"] .woocommerce-page form .password-input input {
  padding-right: 20px;
  padding-left: 42px;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .woocommerce-MyAccount-content {
  padding-left: 0 !important;
  padding-right: 25px !important;
  direction: rtl;
  text-align: right;
}

/* Keep the password visibility icon at the left edge in Arabic forms. */
html[dir="rtl"] .woocommerce form .password-input,
html[dir="rtl"] .woocommerce-page form .password-input,
html[dir="rtl"] .password-input-wrapper {
  position: relative !important;
}

html[dir="rtl"] .woocommerce form .password-input .show-password-input,
html[dir="rtl"] .woocommerce-page form .password-input .show-password-input,
html[dir="rtl"] .password-input-wrapper .password-toggle-btn {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  right: auto !important;
  left: 12px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

html[dir="rtl"] .woocommerce form .password-input input,
html[dir="rtl"] .woocommerce-page form .password-input input,
html[dir="rtl"] .password-input-wrapper input {
  padding-right: 20px !important;
  padding-left: 48px !important;
}

/* Some account forms render the visibility control outside the Woo form wrapper. */
html[dir="rtl"] .show-password-input {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  right: auto !important;
  left: 12px !important;
  inset-inline-start: auto !important;
  inset-inline-end: 12px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

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

html[dir="rtl"] .mg-table thead th:first-child {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

html[dir="rtl"] .mg-table thead th:last-child {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

html[dir="rtl"] .mg-close {
  right: auto !important;
  left: 20px !important;
}

html[dir="rtl"] .mg-items-table-modal {
  direction: rtl;
}

html[dir="rtl"] .mg-items-table-modal th:first-child {
  text-align: right;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

html[dir="rtl"] .mg-items-table-modal th:last-child {
  text-align: right;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

html[dir="rtl"] .mg-order-details table.shop_table,
html[dir="rtl"] .mg-order-details table.shop_table tbody td,
html[dir="rtl"] .mg-order-details table.shop_table tfoot,
html[dir="rtl"] .mg-order-details table.shop_table tfoot td,
html[dir="rtl"] .mg-order-details table.shop_table tfoot th {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] .mg-order-details table.shop_table thead th:first-child {
  text-align: right !important;
}

html[dir="rtl"] .woocommerce-myaccount-content-no-sidebar {
  padding-right: 0;
}

html[dir="rtl"] .nice-select {
  padding-right: 20px;
  padding-left: 42px;
}

html[dir="rtl"] .nice-select .current,
html[dir="rtl"] .nice-select .list,
html[dir="rtl"] .nice-select .option,
html[dir="rtl"] .nice-select ul.list,
html[dir="rtl"] .nice-select ul.list li.option,
html[dir="rtl"] .blog_search_main .nice-select .current,
html[dir="rtl"] .blog_search_main .nice-select .list,
html[dir="rtl"] .blog_search_main .nice-select .option {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .nice-select .current,
html[dir="rtl"] .blog_search_main .nice-select .current {
  display: block !important;
  width: 100% !important;
  padding-right: 0 !important;
  padding-left: 22px !important;
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .nice-select .option,
html[dir="rtl"] .nice-select ul.list li.option,
html[dir="rtl"] .blog_search_main .nice-select .option {
  padding-right: 18px !important;
  padding-left: 29px !important;
}

html[dir="rtl"] .nice-select:after,
html[dir="rtl"] .blog_search_main .nice-select:after {
  right: auto;
  left: 18px;
}

html[dir="rtl"] .mannaglass-rfq-form #rfq-repeater-container .rfq-product-col .nice-select,
html[dir="rtl"] .mannaglass-rfq-form #rfq-repeater-container .rfq-product-select,
html[dir="rtl"] .mannaglass-sample-form #rfq-repeater-container .rfq-product-col .nice-select,
html[dir="rtl"] .mannaglass-sample-form #rfq-repeater-container .rfq-product-select {
  direction: rtl !important;
  text-align: right !important;
  padding-right: 20px !important;
  padding-left: 42px !important;
}

html[dir="rtl"] .mannaglass-rfq-form #rfq-repeater-container .rfq-product-col .nice-select:after,
html[dir="rtl"] .mannaglass-sample-form #rfq-repeater-container .rfq-product-col .nice-select:after {
  right: auto !important;
  left: 18px !important;
}

html[dir="rtl"] .mannaglass-rfq-form #rfq-repeater-container .rfq-product-col .nice-select .current,
html[dir="rtl"] .mannaglass-rfq-form #rfq-repeater-container .rfq-product-col .nice-select .option,
html[dir="rtl"] .mannaglass-sample-form #rfq-repeater-container .rfq-product-col .nice-select .current,
html[dir="rtl"] .mannaglass-sample-form #rfq-repeater-container .rfq-product-col .nice-select .option {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .mannaglass-rfq-form .iti,
html[dir="rtl"] .mannaglass-sample-form .iti {
  direction: rtl;
}

html[dir="rtl"] .mannaglass-rfq-form .iti__flag-container,
html[dir="rtl"] .mannaglass-sample-form .iti__flag-container {
  left: auto;
  right: 0;
}

html[dir="rtl"] .mannaglass-rfq-form .iti__selected-flag,
html[dir="rtl"] .mannaglass-sample-form .iti__selected-flag {
  border-radius: 0 49px 49px 0;
}

html[dir="rtl"] .mannaglass-rfq-form .iti__selected-dial-code,
html[dir="rtl"] .mannaglass-sample-form .iti__selected-dial-code {
  margin-left: 0 !important;
  margin-right: 6px !important;
}

html[dir="rtl"] .mannaglass-form .qs-phone-intl.phone-intl-ready,
html[dir="rtl"] .mannaglass-form .form-row.has-success .qs-phone-intl.phone-intl-ready,
html[dir="rtl"] .mannaglass-form .form-row.has-success .qs-phone-intl.phone-intl-read,
html[dir="rtl"] .mannaglass-rfq-form .qs-phone-intl.phone-intl-ready,
html[dir="rtl"] .mannaglass-rfq-form .form-row.has-success .qs-phone-intl.phone-intl-ready,
html[dir="rtl"] .mannaglass-sample-form .qs-phone-intl.phone-intl-ready,
html[dir="rtl"] .mannaglass-sample-form .form-row.has-success .qs-phone-intl.phone-intl-ready {
  direction: rtl !important;
  text-align: right !important;
  padding-left: 20px !important;
  padding-right: 100px !important;
}

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

html[dir="rtl"] .vision_bottom_year {
  right: auto;
  left: 0;
}

html[dir="rtl"] .vision_bottom_content {
  width: 44%;
  padding: 50px 75px 50px 0;
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .vision_bottom_content h2,
html[dir="rtl"] .vision_bottom_content p {
  direction: rtl;
  text-align: right;
  font-family: "Noto Kufi Arabic", sans-serif;
}

html[dir="rtl"] .vision_bottom_content p {
  line-height: 1.9;
}

html[dir="rtl"] .manna-toast {
  right: auto;
  left: 20px;
  text-align: right;
}

/* Keep the quote-list toast content and close control inside its bar in RTL. */
html[dir="rtl"] .mannaglass-toast-container {
  right: 20px !important;
  left: auto !important;
  width: min(350px, calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  box-sizing: border-box !important;
}

html[dir="rtl"] .mannaglass-toast {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html[dir="rtl"] .mannaglass-toast .toast-content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: 8px 12px !important;
  margin-right: 0 !important;
  margin-left: 10px !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  text-align: right !important;
  box-sizing: border-box !important;
}

html[dir="rtl"] .mannaglass-toast .button.wc-forward {
  position: static !important;
  float: none !important;
  flex: 0 0 auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}

html[dir="rtl"] .mannaglass-toast .toast-close {
  position: static !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

html[dir="rtl"] .otgs-development-site-front-end {
  direction: rtl;
  padding-right: 20px !important;
  padding-left: 20px !important;
  text-align: center;
}

html[dir="rtl"] .otgs-development-site-front-end .icon {
  position: static !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  vertical-align: middle;
}

/* Mirror the product-card favorite control to the left for Arabic layouts. */
html[dir="rtl"] .featured_box .wishlist {
  right: auto !important;
  left: 15px !important;
}

@media (max-width: 1600px) {
  html[dir="rtl"] .featured_box .wishlist {
    left: 10px !important;
  }
}

@media (max-width: 1200px) {
  html[dir="rtl"] .featured_box .wishlist {
    left: 20px !important;
  }
}

@media (max-width: 860px) {
  html[dir="rtl"] .featured_box .wishlist {
    left: 10px !important;
  }
}

@media (max-width: 1600px) {
  html[dir="rtl"] .padding-left {
    padding-left: 0;
    padding-right: calc((100% - (1200px - 0rem)) / 2);
  }

  html[dir="rtl"] .padding-right {
    padding-right: 0;
    padding-left: calc((100% - (1200px - 0rem)) / 2);
  }

  html[dir="rtl"] .vision_bottom_content {
    width: 45%;
    padding: 30px 40px 30px 0;
  }

  html[dir="rtl"] .blog_tag {
    left: auto;
    right: 10px;
  }

  html[dir="rtl"] .blog-main-content {
    padding-left: 0;
    padding-right: 35px;
  }

  html[dir="rtl"] .faq_question {
    padding: 25px 20px 25px 60px;
  }

  html[dir="rtl"] .faq_icon {
    right: auto;
    left: 26px;
  }

  html[dir="rtl"] .faq_item.active .faq_answer {
    padding: 0 20px 20px;
  }

  html[dir="rtl"] .faq_item.active .faq_icon {
    top: 27px;
  }
}

@media (max-width: 1199px) {
  html[dir="rtl"] .padding-left {
    padding-left: 0;
    padding-right: 5%;
  }

  html[dir="rtl"] .padding-right {
    padding-right: 0;
    padding-left: 5%;
  }

  html[dir="rtl"] .footer_subscribe_input {
    padding-right: 20px;
    padding-left: 150px;
  }

  html[dir="rtl"] .contact-details-wrap ul li {
    padding-right: 35px;
    padding-left: 20px;
    border-left: 0;
    border-right: 1px solid #C7C7C7;
  }

  html[dir="rtl"] .contact-details-wrap ul li:nth-child(3) {
    padding-right: 0;
    padding-left: 20px;
    border-right: 0;
  }

  html[dir="rtl"] .contact-details-wrap ul li:last-child {
    border-right: 1px solid #C7C7C7;
  }

  html[dir="rtl"] .faq_question {
    padding: 20px 20px 20px 55px;
  }

  html[dir="rtl"] .faq_icon {
    right: auto;
    left: 22px;
  }

  html[dir="rtl"] .faq_item.active .faq_icon {
    top: 23px;
  }

  html[dir="rtl"] .download_btn {
    right: 15px;
    left: auto;
  }
}

@media (max-width: 1300px) {
  html[dir="rtl"] .logo-container {
    justify-content: right;
  }

  html[dir="rtl"] .header-actions {
    margin-left: 10px;
  }

  html[dir="rtl"] .hme_why_content {
    padding-left: 0;
    padding-right: 5%;
  }

  html[dir="rtl"] .hme_why_content li {
    background-position: right top 3px;
  }
}

@media (max-width: 768px) {
  html[dir="rtl"] .logo-container {
    justify-content: right;
  }

  html[dir="rtl"] .about_first_content {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 30px;
  }

  html[dir="rtl"] .vision_bottom_content {
    width: 100%;
    padding: 30px 5%;
  }

  html[dir="rtl"] .blog-main-content {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px;
  }

  html[dir="rtl"] .blog-main_content_inner {
    padding-right: 0;
    padding-left: 0;
  }

  html[dir="rtl"] .contact-details-wrap ul li,
  html[dir="rtl"] .contact-details-wrap ul li:first-child,
  html[dir="rtl"] .contact-details-wrap ul li:nth-child(3),
  html[dir="rtl"] .contact-details-wrap ul li:last-child {
    padding: 15px 0 20px 20px;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid #C7C7C7;
  }

  html[dir="rtl"] .category_select_wrap li:first-child::after {
    right: 0;
    left: auto;
  }

  html[dir="rtl"] .faq_question {
    padding: 15px 15px 15px 50px;
  }

  html[dir="rtl"] .faq_icon {
    right: auto;
    left: 16px;
  }

  html[dir="rtl"] .faq_item.active .faq_icon {
    top: 17px;
  }

  html[dir="rtl"] .woocommerce-MyAccount-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

@media (max-width: 581px) {
  html[dir="rtl"] .progress-step::after,
  html[dir="rtl"] .step-circle.completed::before {
    left: auto;
    right: 12px;
  }
}

@media (max-width: 600px) {
  html[dir="rtl"] .hme_why_content {
    padding-left: 0;
    padding-right: 0;
  }

  html[dir="rtl"] .about_first_content {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 30px;
  }

  html[dir="rtl"] .vision_bottom_content {
    width: 100%;
    padding: 30px 5%;
  }

  html[dir="rtl"] .blog-main-content {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px;
  }

  html[dir="rtl"] .blog-main_content_inner {
    padding-right: 0;
    padding-left: 0;
  }

  html[dir="rtl"] .footer_subscribe_input {
    padding-right: 15px;
    padding-left: 110px;
  }

  html[dir="rtl"] .main_btn {
    padding: 0 20px 0 50px;
  }

  html[dir="rtl"] .footer_nav ul {
    padding-left: 0;
  }

  html[dir="rtl"] .footer_contact {
    margin-right: 0;
  }

  html[dir="rtl"] .footer .footer-social {
    margin-left: 0;
    margin-right: 0;
  }
}

html[dir="rtl"] .featured_box_content h3 {
  line-height: 1.3;
}

html[dir="rtl"] .swiper-rtl .swiper-button-prev {
  right: -5px;
  left: auto;
}

html[dir="rtl"] .swiper-rtl .swiper-button-next {
  left: 5px;
}

html[dir="rtl"] .related-swiper-wrapper::after {
  right: -1000px;
  left: unset;
}

html[dir="rtl"] .main-title {
  line-height: 1.3;
}

html[dir="rtl"] .e-spec-tech-data-content_sec {
  padding-right: 100px;
  padding-left: 0;
}

@media (max-width: 1200px) {
  html[dir="rtl"] .e-spec-tech-data-content_sec {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  html[dir="rtl"] .e-spec-tech-data-content_sec {
    padding-right: 0;
    padding-left: 0;
  }
}

html[dir="rtl"] .woocommerce-MyAccount-content h1,
html[dir="rtl"] .section-title {
  line-height: 1.3;
}

html[dir="rtl"] .product-name {
  text-align: right;
}

html[dir="rtl"] #mg-revise-reason-modal label {
  text-align: right !important;
}

html[dir="rtl"] .mg-close-revise {
  left: 15px;
  right: unset !important;
}
/* Keep Arabic footer navigation visually sequenced like the English source. */
html[lang^="ar"] #menu-footer-left-menu-arabic,
html[lang^="ar"] #menu-footer-privacy-menu-arabic {
  display: flex;
  flex-direction: column;
}
html[lang^="ar"] #menu-footer-left-menu-arabic li:nth-child(1) { order: 2; }
html[lang^="ar"] #menu-footer-left-menu-arabic li:nth-child(2) { order: 1; }
html[lang^="ar"] #menu-footer-left-menu-arabic li:nth-child(3) { order: 3; }
html[lang^="ar"] #menu-footer-privacy-menu-arabic li:nth-child(1) { order: 2; }
html[lang^="ar"] #menu-footer-privacy-menu-arabic li:nth-child(2) { order: 1; }

/* Keep return tracking identifiers readable on narrow RTL screens. */
@media (max-width: 581px) {
  html[dir="rtl"] body.woocommerce-return-tracking .order-id-display {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  html[dir="rtl"] body.woocommerce-return-tracking .order-id-display p {
    width: 100%;
  }

  html[dir="rtl"] body.woocommerce-return-tracking .order-id-display p a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
}
/* Prevent Arabic request-form selects from clipping their labels. */
html[dir="rtl"] .mannaglass-rfq-form .nice-select,
html[dir="rtl"] .mannaglass-sample-form .nice-select {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  min-height: 54px !important;
  line-height: normal !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

html[dir="rtl"] .mannaglass-rfq-form .nice-select .current,
html[dir="rtl"] .mannaglass-sample-form .nice-select .current {
  box-sizing: border-box;
  display: block !important;
  position: static !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transform: none !important;
  overflow: visible !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
/* Keep the inline phone dropdown no wider than its measured input width. */
html[dir="rtl"] .iti--inline-dropdown .iti__dropdown-content {
  box-sizing: border-box !important;
  max-width: calc(100vw - 40px) !important;
  transform: translateX(40px) !important;
}

html[dir="rtl"] .iti--inline-dropdown .iti__country-list {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html[dir="rtl"] #mannaglass-rfq-form .nice-select,
html[dir="rtl"] #mannaglass-sample-form .nice-select,
html[dir="rtl"] .mannaglass-rfq-form .nice-select,
html[dir="rtl"] .mannaglass-sample-form .nice-select {
  display: flex !important;
  align-items: center !important;
  height: 54px !important;
  min-height: 54px !important;
  line-height: normal !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
}

html[dir="rtl"] #mannaglass-rfq-form .nice-select > .current,
html[dir="rtl"] #mannaglass-sample-form .nice-select > .current,
html[dir="rtl"] .mannaglass-rfq-form .nice-select > .current,
html[dir="rtl"] .mannaglass-sample-form .nice-select > .current {
  display: block !important;
  position: static !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 1.5 !important;
  margin-block: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transform: none !important;
  overflow: visible !important;
}

html[dir="rtl"] #mannaglass-rfq-form select.rfq-product-select,
html[dir="rtl"] #mannaglass-sample-form select.rfq-product-select {
  box-sizing: border-box !important;
  height: 54px !important;
  min-height: 54px !important;
  line-height: normal !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: middle;
}

html[dir="rtl"] #mannaglass-rfq-form .select2-container .select2-selection--single,
html[dir="rtl"] #mannaglass-sample-form .select2-container .select2-selection--single {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  height: 54px !important;
  min-height: 54px !important;
}

html[dir="rtl"] #mannaglass-rfq-form .select2-selection__rendered,
html[dir="rtl"] #mannaglass-sample-form .select2-selection__rendered {
  height: auto !important;
  line-height: 1.5 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Center the location text field in RTL request forms. */
html[dir="rtl"] #mannaglass-rfq-form .form-row-group input[type="text"],
html[dir="rtl"] #mannaglass-sample-form .form-row-group input[type="text"],
html[dir="rtl"] .mannaglass-rfq-form .form-row-group input[type="text"],
html[dir="rtl"] .mannaglass-sample-form .form-row-group input[type="text"],
html[dir="rtl"] #mannaglass-rfq-form input[placeholder="اختر الموقع"],
html[dir="rtl"] #mannaglass-sample-form input[placeholder="اختر الموقع"] {
  box-sizing: border-box !important;
  height: 54px !important;
  min-height: 54px !important;
  line-height: normal !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: middle;
}
/* Keep the Arabic location field padding consistent with form inputs. */
html[dir="rtl"] #mannaglass-rfq-form .form-row-group input[type="text"],
html[dir="rtl"] #mannaglass-sample-form .form-row-group input[type="text"],
html[dir="rtl"] #mannaglass-rfq-form .form-row input[placeholder="اختر الموقع"],
html[dir="rtl"] #mannaglass-sample-form .form-row input[placeholder="اختر الموقع"] {
  padding: 0 30px !important;
}
/* Use the requested form-row padding values. */
html[dir="rtl"] .form-row input,
html[dir="rtl"] .form-row select {
  box-sizing: border-box;
  width: 100% !important;
  padding: 0 20px !important;
}

html[dir="rtl"] .form-row textarea {
  box-sizing: border-box;
  width: 100% !important;
  padding: 10px 20px !important;
}

html[dir="rtl"] #mannaglass-rfq-form .form-row-group input[type="text"],
html[dir="rtl"] #mannaglass-sample-form .form-row-group input[type="text"],
html[dir="rtl"] #mannaglass-rfq-form .form-row input[placeholder="اختر الموقع"],
html[dir="rtl"] #mannaglass-sample-form .form-row input[placeholder="اختر الموقع"] {
  padding: 0 20px !important;
}
/* Keep the phone country menu within the mobile field. */
@media (max-width: 900px) {
  html[dir="rtl"] .iti--inline-dropdown {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html[dir="rtl"] .iti--inline-dropdown .iti__dropdown-content {
    box-sizing: border-box !important;
    left: auto !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
  }

  html[dir="rtl"] .iti--inline-dropdown .iti__country-list,
  html[dir="rtl"] .iti--inline-dropdown .iti__search-input {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* Keep the Arabic account password toggle on the left edge. */
html[dir="rtl"] body.woocommerce-account .woocommerce-form-login .password-input .show-password-input {
  left: 16px !important;
  right: inherit !important;
}

html[dir="rtl"] body.woocommerce-account .woocommerce-form-login .password-input input {
  padding-right: 20px !important;
  padding-left: 45px !important;
}

@media (max-width: 860px) {
  html[dir="rtl"] body.woocommerce-account .woocommerce-form-login .password-input .show-password-input {
    top: 12px !important;
    transform: none !important;
  }
}
