html[dir="rtl"] {
    &:root {
        --flow-direction-factor-inline: -1;
    }

    .ty-horizontal-filters-content-to-right {
        right: auto;
        left: 0;
    }
    .ty-horizontal-product-filters-dropdown a .ty-icon-cancel-circle {
        padding-right: 5px;
    }
    .ty-cart-items__list-item-desc p span {
        float: left;
    }
    .ty-icon-right-dir:before {
        content: "\e003";
    }

    .ty-price-slider {
        .ty-range-slider__num {
            --ty-force-range-slider-num-end: calc(var(--gap-xs) * -1);
        }
    }
    .ty-order-info__profile-field-item {
        &.b-phone,
        &.s-phone {
            direction: rtl;
        }
    }
    .ty-control-group.ty-profile-field__item {
        &.ty-billing-phone input,
        &.ty-billing-address-line2 input,
        &.ty-shipping-phone input,
        &.ty-shipping-address-line2 input {
            direction: rtl !important;
            text-align: left !important;
        }
    }
    [name="payment_info[customer_phone]"] {
        direction: rtl !important;
        text-align: left !important;
    }
    .ty-inputmask-bdi {
        direction: rtl !important;
        text-align: left !important;
    }

    @media (max-width: 576px) {
        .ui-datepicker {
            left: 0 !important;
            right: 0 !important;
        }
    }

    /** Fix old-owlcarousel non-adaptive for RTL **/
    .ty-scroller-list .owl-controls .owl-buttons {
        .owl-next:before, .owl-prev:after {
            -webkit-transform: scaleX(-1);
            transform: scaleX(-1);

        }
        .owl-next span, .owl-prev span {
            -webkit-transform: scaleX(-1);
	        transform: scaleX(-1);

	        &:before {
		        margin: 0 !important;
	        }
        }
    }
    .owl-controls-outside .owl-buttons {
        .owl-next, .owl-prev, .owl-next span, .owl-prev span {
            -webkit-transform: scaleX(-1);
            transform: scaleX(-1);
        }
    }

    .ty-owl-previewer {
	    .owl-wrapper-outer {
		    direction: inherit !important;
		}
	    .owl-prev:before,
        .owl-next:before {
		    .rotate(180deg);
		}
    }
    .owl-stage-outer {
        direction: ltr !important;
    }

    .ut2-social-buttons__inline {
        .pinterest__wrapper a {
            display: inline-block;
            background-position-x: ~"calc(100% - 6px)";
        }
    }

    .ab-vg-product_labels {
		float: right;
    }
    .ut2-features-list .ty-control-group span:before,
    .ut2-features-list .ty-control-group em:before {
		.box-shadow(none);
    }
    .flip-clock-divider .flip-clock-label {
	    left: auto;
	    right: 50%;
    }
    .ty-product-review-reviews-stars {
        flex-direction: row-reverse;
    }

	.ut2-lfl > i:before, .ut2-lsl > i:before {
    	content: "\e909";
	}
	&.touchevents .ut2-lfl.active > i:before, &.touchevents .ut2-lsl.active > i:before {
        -webkit-transform: rotate(180deg);
    	transform: rotate(180deg);
	}

    input.cm-mask-phone {
        direction: initial;
        text-align: right;
    }

    a[href^="tel:"] {
        direction: initial;
        display: block;
    }

    body.floating-header #tygh_main_container:before {
        .ut2_header_mask() when (@abt__ut2_containers_header_add_header_mask = true) {
            background: linear-gradient(0deg, fade(@header_bg, 0%) 100%, fade(@header_bg, 60%), fade(@header_bg, 80%));
        }
        .ut2_header_mask();
    }
}
@media (max-width: 576px) {
  .amr {
      width: 50%;
      margin: 0px !important;
      padding: 8px;
      float: right;
  }
  .ali-bnr {
      width: 100%;
      margin: 0px !important;
      padding: 8px;
      float: none !important;
  }
}
.green {
    background: green;
}
.red {
    background: red;
}
.yellow {
    background: #FFF89B;
}
.ali {
    background: #FFC97E;
}
.amro {
    background: #F4F4F4;
}