/*-----------------------------------
IRAN Sans-Serif Font License Info
------------------------------------*/
/**
*	Name:			IRAN Sans-Serif Font
*	Version:		5.0
*	Author:			Moslem Ebrahimi (moslemebrahimi.com)
*	Created on:		Dec 25, 2012
*	Updated on:		Sep 01, 2017
*	Website:		http://fontiran.com
*	Copyright:		Commercial/Proprietary Software
*/

/*-----------------------------------
Fonts
------------------------------------*/
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: 100; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-thin.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-thin.woff2') format('woff2'); }
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: 300; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-Light.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-Light.woff2') format('woff2'); }
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: normal; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-Regular.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-Regular.woff2') format('woff2'); }
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: 600; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-SemiBold.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2'); }
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: bold; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-Bold.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-Bold.woff2') format('woff2'); }
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: 800; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: 900; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-Black.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-Black.woff2') format('woff2'); }
@font-face { font-family: YekanBakhFaNum; font-style: normal; font-weight: 950; src: url('font/yekanbakhfa/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff'), url('font/yekanbakhfa/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2'); }

@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: 100; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-thin.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-thin.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: 200; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-UltraLight.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-UltraLight.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: 300; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-light.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-light.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: 500; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-medium.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-medium.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: 600; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-demibold.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-demibold.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: 800; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-extrabold.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-extrabold.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: 900; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-black.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-black.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: bold; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-bold.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-bold.woff2') format('woff2'); }
@font-face { font-family: IRANSansXFaNum; font-style: normal; font-weight: normal; src: url('font/IRANSansX-new/woff/IRANSansXFaNum-regular.woff') format('woff'), url('font/IRANSansX-new/woff2/IRANSansXFaNum-regular.woff2') format('woff2'); }

@font-face { font-family: iranyekan; font-style: normal; font-weight: bold; src: url('font/IRANYekanXFaNum/woff/IRANYekanXFaNum-Bold.woff') format('woff'), url('font/IRANYekanXFaNum/woff2/IRANYekanXFaNum-Bold.woff2') format('woff2'); }
@font-face { font-family: iranyekan; font-style: normal; font-weight: normal; src: url('font/IRANYekanXFaNum/woff/IRANYekanXFaNum-Regular.woff') format('woff'), url('font/IRANYekanXFaNum/woff2/IRANYekanXFaNum-Regular.woff2') format('woff2'); }

/* دیگر فونت‌ها */
@font-face { font-family: dana; font-style: normal; font-weight: normal; src: url('font/dana/woff/dana-regular.woff') format('woff'); }
@font-face { font-family: dana; font-style: normal; font-weight: bold; src: url('font/dana/woff/dana-bold.woff') format('woff'); }

/*-----------------------------------
Global RTL Fix
------------------------------------*/
body, html {
    direction: rtl;
    text-align: right;
}

* {
    direction: rtl !important;
    text-align: right !important;
}

/*-----------------------------------
Woocommerce & Grid RTL Adjustments
------------------------------------*/
.shop_table tr td:last-child, 
.shop_table tr th:last-child,
.woocommerce-order-details__title,
.woocommerce-column__title,
.payment_methods {
    text-align: right !important;
}

.wd-tools-text .woocommerce-Price-currencySymbol {
    float: left;
    padding-right: 6px;
}

.wd-dropdown-search-cat, .whb-col-right .wd-search-dropdown {
    left: 0;
    right: auto;
}

.text-left :is(.checkout_coupon, .login.hidden-form) {
    margin-left: auto;
    margin-right: 0;
}

/*-----------------------------------
Navigation RTL
------------------------------------*/
.rtl .prev-btn .wd-page-nav-icon:after { content: "\f114" !important; }
.rtl .next-btn .wd-page-nav-icon:after { content: "\f113" !important; }

/*-----------------------------------
Product Grid RTL
------------------------------------*/
.products-bordered-grid.elements-grid:not(.elements-list) [class*="-grid-item"] {
    box-shadow: 0 0 1px 1px #e6e6e6;
    background-color: white;
    border-radius: 3px;
}

/*-----------------------------------
Slider RTL
------------------------------------*/
.mootanroslider .inner { border-radius: 12px; background-color: white; padding-top: 33px; padding-bottom: 12px; }
.mootanroslider .labels-rectangular { top: 15px; left: 8px; right: auto; }
.mootanroslider .product-information ul li { float: right; }

/*-----------------------------------
Responsive RTL Fix
------------------------------------*/
@media screen and (max-width: 768px) {
    .woocommerce-customer-details { text-align: right !important; }
    #shop-carousel .carousel-title-container * { font-size: 11px; }
    .wd-timer span { font-size: 13px; }
}

/*-----------------------------------
Additional RTL Adjustments
------------------------------------*/
p.stock.wd-style-default.in-stock:before { margin-inline-start: 0px; margin-inline-end: 5px; float: right; }
#timer-product .elementor-widget-container { display: flex; align-items: center; justify-content: space-between; }
#timer-product .title.element-title { display: flex !important; margin-left: auto; margin-right: 0; }