@import url('https://fonts.googleapis.com/css?family=Cairo&display=optional');
body,input{
	text-align:right;
	font-family: 'Cairo', sans-serif !important;

}
h2{
	font-family: 'Cairo', sans-serif !important;
    font-size: 15px;
}

.h2_title_homepage{
	width: 100%;
}
.a_title_homepage{
	 white-space: normal !important;
}

.img_homepage:not(.is-broken){
	height: 217.5px !important;
}

@media (max-width: 767px) {
	.img_homepage:not(.is-broken){
		height: 140px !important;
		max-height: 140px !important;
	}
}
.header-search select{
	direction: rtl;
	font-family: 'Cairo', sans-serif !important;
}
.header-search .form-control{
	direction: rtl;
	font-family: 'Cairo', sans-serif !important;
}
.menu>li>a{
	    font-family: 'Cairo', sans-serif !important;
}

.cart-dropdown .dropdown-toggle::before {
    display:none !important;
}

.menu .megamenu.megamenu-fixed-width{
	left: auto;
    right: 0;
    width: 640px;
}

.catAccordion .accordion-btn{
	left: 0px;
}
.sidebar-shop .widget-title a::before, .sidebar-shop .widget-title a::after{
	left: .5rem;
}

.breadcrumb-nav{
	direction: rtl;
}

.breadcrumb-item+.breadcrumb-item::before{
	content: '\e81a';
    font-family: 'porto';
    padding-left: 1.2rem;
    font-size: 1.4rem;
    vertical-align: middle;
    margin-top: -.2rem;
    transform: scale(-1);
    color: #000;
}

 
.menu.sf-arrows > li > a.sf-with-ul {
	padding-left: 2.8rem !important;
	padding-right: 1.4rem !important;
}

.menu.sf-arrows .sf-with-ul::after{
	right: auto !important;
	left: 1.15rem !important;
}
.menu.sf-arrows ul .sf-with-ul::after {
    left: 0 !important;
    right: auto !important;
    transform: rotate(180deg) !important;
}

.menu ul ul{
    top: -1rem !important;
    right: 100% !important;
    left: auto !important;
}

.header-dropdown>a::after {
    position: absolute;
    top: 50%;
     right: auto !important; 
    width: 0;
    /* left: 0 !important; */
    height: 0;
    margin-top: -2px;
    margin-left: -9px;
    border-width: 4px 3px 0;
    border-style: solid;
    border-color: #999 transparent transparent;
    content: '';
}

.header-search .select-custom::after {
    right: auto;
    color: #8d8d8d;
    font-size: 1.4rem;
    left: 25px;
}

.toolbox-pagination{
    direction: rtl;
}

.toolbox .pagination{
    margin-right: auto;
    margin-left: -8px;
}
#select_product select{
    text-align: right;
    direction: rtl;
    float: right;
}

.homepage_product_category{
    font-size: 12px;
}

/* RTL polish – keep same template, mirror subtle improvements */
#searchResults1 .product-info {
	text-align: right;
	margin-left: 0 !important;
	margin-right: 8px;
}

#searchResults1 .result-item {
	flex-direction: row-reverse;
}

.header-middle .header-right {
	flex-direction: row;
}

@media (max-width: 991px) {
	.header-middle .header-right {
		flex-direction: row !important;
	}

	.menu .megamenu.megamenu-fixed-width {
		width: min(640px, calc(100vw - 1.5rem));
		max-width: calc(100vw - 1.5rem);
	}
}

.cart-summary,
.cart-table-container {
	text-align: right;
}

.footer .widget-title,
.footer .contact-info-label {
	font-family: 'Cairo', sans-serif !important;
}

.about-section h2,
.about-section h3,
.about-section h4,
.about-section h5,
.about-section p {
	font-family: 'Cairo', sans-serif !important;
}

.product-card .product-title,
.product-card .price {
	font-family: 'Cairo', sans-serif !important;
}

#addCartModal .add-cart-box p,
#addCartModal .btn-actions button {
	font-family: 'Cairo', sans-serif !important;
}

.main-nav .menu > li > a {
	font-family: 'Cairo', sans-serif !important;
}

/* Static pages RTL */
.page-static .page-header h1,
.static-card-title,
.static-card-subtitle,
.career-card-title,
.contact-block-title,
.about-lead,
.page-static .page-subtitle,
.career-side-list a,
.contact-form label,
.career-apply-form label {
	font-family: 'Cairo', sans-serif !important;
}

.page-static .page-content {
	text-align: right;
}

.career-apply-btn {
	align-self: flex-end;
}

html[lang="ar"] .contact-block-title i {
	margin-right: 0;
	margin-left: 6px;
}
