body.rtl {
	font-family: "Cairo", "Tajawal", Tahoma, "Segoe UI", sans-serif;
	text-align: right;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl .widget-title,
body.rtl .product_title,
body.rtl .related-title {
	font-family: "Tajawal", "Cairo", Tahoma, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

body.rtl input:not([type="email"]):not([type="url"]):not([type="tel"]),
body.rtl textarea,
body.rtl select,
body.rtl .search-field {
	text-align: right;
}

body.rtl .main-navigation ul {
	padding-right: 0;
	padding-left: 0;
}

body.rtl .main-navigation > li.menu-item-has-children > a {
	padding-right: 21px;
	padding-left: 36px;
}

body.rtl .main-navigation > li.menu-item-has-children > a .toggle-menu-children,
body.rtl .main-navigation ul ul li.menu-item-has-children .toggle-menu-children,
body.rtl .main-navigation ul ul li.dropdown .toggle-menu-children {
	right: auto;
	left: 7px;
}

body.rtl .main-navigation ul.dropdown-submenu,
body.rtl .main-navigation ul.sub-menu {
	left: auto;
	right: 0;
	text-align: right;
}

body.rtl .main-navigation ul.dropdown-submenu ul,
body.rtl .main-navigation ul.sub-menu ul,
body.rtl .main-navigation li.menu-item-has-children ul li.menu-item-has-children:hover ul,
body.rtl .main-navigation li.menu-item-has-children ul li.dropdown ul {
	left: auto;
	right: calc(100% + 20px);
}

body.rtl .main-navigation li.is-mega-menu.align-right .dropdown-submenu {
	right: auto;
	left: 0;
}

body.rtl .main-navigation li.is-mega-menu .menu-item-mega {
	border-right: 0;
	border-left: 1px solid #eeeeee;
}

body.rtl .main-navigation li.is-mega-menu .menu-item-mega:last-child {
	border-left: 0;
}

body.rtl .fm-menu-mobile .menu-mobile-wrapper {
	left: auto;
	right: -82%;
}

body.rtl .fm-menu-mobile .menu-mobile-wrapper.open {
	transform: translate3d(-100%, 0, 0);
}

body.rtl .fm-menu-mobile li.menu-item-has-children {
	padding-right: 0;
	padding-left: 23px;
}

body.rtl .fm-menu-mobile li.menu-item-has-children .toggle-menu-children {
	right: auto;
	left: 0;
}

body.rtl .fm-menu-mobile ul ul {
	padding-right: 10px;
	padding-left: 0;
}

body.rtl .fm-menu-mobile ul ul ul {
	padding-right: 10px;
	padding-left: 0;
}

body.rtl .farmart-menu-department .farmart-title {
	margin-right: 18px;
	margin-left: 0;
}

body.rtl .farmart-menu-department .farmart-svg-icon {
	margin-right: 6px;
	margin-left: 0;
}

body.rtl .farmart-menu-department .department-menu {
	left: auto;
	right: 0;
}

body.rtl .farmart-menu-department .department-menu li.dropdown a .toggle-menu-children,
body.rtl .farmart-menu-department .department-menu li.menu-item-has-children a .toggle-menu-children {
	right: auto;
	left: 0;
}

body.rtl .farmart-menu-department .department-menu ul ul.sub-menu,
body.rtl .farmart-menu-department .department-menu ul ul.dropdown-submenu,
body.rtl .farmart-menu-department .department-menu ul li.is-mega-menu.mega-fullwidth > .dropdown-submenu,
body.rtl .farmart-menu-department .department-menu ul li:hover > ul.dropdown-submenu {
	left: auto;
	right: calc(100% - 1px);
}

body.rtl .farmart-menu-department ul.farmart-department-menu > li > a:before {
	right: auto;
	left: 0;
}

body.rtl .farmart-menu-department.menu-click .department-menu {
	left: auto;
	right: -100%;
}

body.rtl .farmart-menu-department.menu-click.active .department-menu {
	right: 0;
}

body.rtl .site-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding-right: 0;
	padding-left: 0;
}

body.rtl .site-breadcrumb li {
	float: none;
}

body.rtl .site-breadcrumb li:after {
	transform: scaleX(-1);
}

body.rtl .farmart-social-share,
body.rtl .socials-inline {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

body.rtl .farmart-social-share li,
body.rtl .socials-inline li {
	margin-right: 0;
	margin-left: 10px;
}

body.rtl .farmart-social-share li:last-child,
body.rtl .socials-inline li:last-child {
	margin-left: 0;
}

body.rtl .farmart-social-share a {
	direction: rtl;
}

body.rtl .farmart-social-share a .text {
	margin-right: 8px;
	margin-left: 0;
}

body.rtl #topbar {
	direction: rtl;
}

body.rtl #topbar .topbar--left,
body.rtl #topbar .topbar--right {
	min-width: 0;
}

body.rtl #topbar .topbar--item > *:after {
	right: auto;
	left: 0;
}

body.rtl #topbar .topbar--item > *:first-child {
	padding-right: 0;
	padding-left: 15px;
}

body.rtl #topbar .topbar--item > *:last-child {
	padding-left: 0;
}

body.rtl #topbar .widget,
body.rtl #topbar .widget_block,
body.rtl #topbar .widget_block > *,
body.rtl #topbar .widget p,
body.rtl #topbar .widget a,
body.rtl #topbar .topbar-dropdown .current {
	min-width: 0;
}

body.rtl #topbar .widget p,
body.rtl #topbar .widget a,
body.rtl #topbar .widget_block > * {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.rtl #topbar .widget a,
body.rtl #topbar .topbar-dropdown .current {
	text-align: right;
}

body.rtl #topbar .widget a:hover,
body.rtl #topbar .widget a:focus,
body.rtl #topbar .topbar-dropdown:hover .current {
	text-align: right;
}

body.rtl #topbar .topbar-dropdown .current,
body.rtl #topbar .widget_block > * {
	padding-right: 12px;
	padding-left: 12px;
}

body.rtl #topbar br {
	display: none;
}

body.rtl #topbar .farmart-svg-icon,
body.rtl #topbar .topbar-dropdown img {
	flex: 0 0 auto;
	margin-right: 0;
	margin-left: 6px;
}

body.rtl #topbar .topbar-dropdown .farmart-svg-icon {
	margin-left: 5px;
}

body.rtl .header-main.has-center,
body.rtl .header-bottom.has-center {
	direction: rtl;
}

body.rtl .header-main.has-center .header-wrapper,
body.rtl .header-bottom.has-center .header-wrapper {
	flex-direction: row-reverse;
	align-items: center;
	gap: 18px;
}

body.rtl .header-main.has-center .header-items,
body.rtl .header-bottom.has-center .header-items {
	min-width: 0;
}

body.rtl .header-main.has-center .header-items--left,
body.rtl .header-bottom.has-center .header-items--left {
	padding-right: 0;
	padding-left: 30px;
}

body.rtl .header-main.has-center .header-items--center,
body.rtl .header-bottom.has-center .header-items--center {
	min-width: 0;
	justify-content: center;
}

body.rtl .header-main.has-center .header-items--center > *,
body.rtl .header-bottom.has-center .header-items--center > * {
	min-width: 0;
	max-width: 100%;
}

body.rtl .header-main.has-center .header-items--right,
body.rtl .header-bottom.has-center .header-items--right {
	padding-left: 0;
	padding-right: 30px;
	text-align: left;
}

body.rtl .header-main.has-center .header-items--right > *,
body.rtl .header-bottom.has-center .header-items--right > * {
	text-align: right;
}

body.rtl .header-main.has-center .site-branding,
body.rtl .header-bottom.has-center .site-branding,
body.rtl .header-main.has-center .farmart-products-search,
body.rtl .header-bottom.has-center .farmart-products-search,
body.rtl .header-main.has-center .header-element,
body.rtl .header-bottom.has-center .header-element {
	min-width: 0;
}

body.rtl .header-main.has-center .header-element--header-bar,
body.rtl .header-bottom.has-center .header-element--header-bar {
	white-space: nowrap;
}

body.rtl .header-main.has-center .header-element--header-bar .header-bar__box-content,
body.rtl .header-bottom.has-center .header-element--header-bar .header-bar__box-content {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media screen and (max-width: 1199px) {
	body.rtl .main-navigation ul.dropdown-submenu ul,
	body.rtl .main-navigation ul.sub-menu ul,
	body.rtl .main-navigation li.menu-item-has-children ul li.menu-item-has-children:hover ul,
	body.rtl .main-navigation li.menu-item-has-children ul li.dropdown ul {
		right: 100%;
	}

	body.rtl #topbar > .container {
		flex-direction: column;
		align-items: stretch;
	}

	body.rtl #topbar .topbar--left,
	body.rtl #topbar .topbar--right {
		justify-content: center;
	}

	body.rtl #topbar .topbar--item {
		justify-content: center;
		flex-wrap: wrap;
	}

	body.rtl #topbar .topbar--item > * {
		max-width: 100%;
	}

	body.rtl .header-main.has-center .header-wrapper,
	body.rtl .header-bottom.has-center .header-wrapper {
		flex-direction: column;
		gap: 12px;
	}

	body.rtl .header-main.has-center .header-items--left,
	body.rtl .header-main.has-center .header-items--right,
	body.rtl .header-bottom.has-center .header-items--left,
	body.rtl .header-bottom.has-center .header-items--right {
		padding-right: 0;
		padding-left: 0;
	}
}
