/**
 * RTL overrides for Persian (fa) and Arabic (ar).
 */

body.rtl {
	direction: rtl;
	text-align: right;
}

body.rtl .sm-site-header__inner,
body.rtl .sm-site-nav,
body.rtl .sm-header-actions,
body.rtl .sm-lang-tabs,
body.rtl .sm-hero__actions,
body.rtl .sm-service-list__item,
body.rtl .sm-order-list__item,
body.rtl .sm-site-footer__inner {
	flex-direction: row-reverse;
}

body.rtl .sm-lang-switcher__menu {
	inset-inline-end: 0;
	inset-inline-start: auto;
}

body.rtl .sm-service-card .sm-button {
	align-self: flex-end;
}

body.rtl .sm-hero__title,
body.rtl .sm-hero__text,
body.rtl .sm-section-lead,
body.rtl .sm-finale__title,
body.rtl .sm-finale__text {
	margin-right: 0;
}

body.rtl .sm-finale__inner {
	text-align: right;
}

@media (min-width: 840px) {
	body.rtl .sm-how__step:not(:last-child)::after {
		background: linear-gradient(-90deg, rgba(212, 175, 55, 0.55), rgba(212, 175, 55, 0.08));
	}
}

body.rtl .sm-cards-swiper__prev::before {
	transform: rotate(-135deg);
	margin-inline-start: 0;
	margin-inline-end: 0.35rem;
}

body.rtl .sm-cards-swiper__next::before {
	transform: rotate(45deg);
	margin-inline-end: 0;
	margin-inline-start: 0.35rem;
}

@media (min-width: 800px) {
	body.rtl .sm-star-profile__media {
		justify-self: end;
	}
}
