:root {
	--wd-text-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 16px;
	--wd-title-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: rgb(36,36,36);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(8,82,147);
	--wd-alternative-color: rgb(111,178,26);
	--btn-default-font-family: "IRSansx", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(8,82,147);
	--btn-accented-bgcolor-hover: rgb(0,73,137);
	--wd-form-brd-width: 0px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(18,70,171);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(248,248,248);
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgba(15,15,15,0.04);
	--wd-bordered-bg:rgba(15,15,15,0.04);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav.wd-nav-secondary > li > a {
	font-family: "IRansansX, sans-serif", Arial, Helvetica, sans-serif;
	font-weight: 700;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 18px;
	text-transform: none;
}
html .wd-nav-mobile > li > a {
	text-transform: none;
}
.whb-general-header .wd-nav.wd-nav-secondary > li > a {
	font-weight: 400;
	color: rgb(119,119,119);
}
.whb-general-header .wd-nav.wd-nav-secondary > li:hover > a, .whb-general-header .wd-nav.wd-nav-secondary > li.current-menu-item > a {
	color: rgb(36,36,36);
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,252,252);
	background-image: none;
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity :is(input[type],.btn) {
	background: rgb(95,171,18);
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .wd-sticky-add-to-cart:hover, html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity :is(input[type],.btn), html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity+.button {
	background: rgb(84,157,10);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgba(15,15,15,0.04);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 16px;
	}

}
:root{
--wd-container-w: 1390px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}



.wd-page-title {
background-color: rgb(40,89,184);
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-family: 'IRsansX';
}


/* style Google Ai Post */










/* رنگ منوی چپ هدر */
.whb-general-header .wd-nav.wd-nav-secondary>li>a { color: #000;}
.wd-search-cat>a>span { color: #000;}
.wd-search-cat>a  {color :#000}




/* mega menu */
.wd-dropdown {    border-radius: 0 0 8px 8px;}
.wd-dropdown-menu:is(.wd-design-sized,.wd-design-full-width,.wd-design-full-height)>.container>.wd-grid-f-inline {    --wd-f-basis: 11%;}
.wd-sub-accented>li>a {border-bottom: 3px solid #e2e1e7;margin-bottom: 10px;margin-top: -20px;}

/* menu SHop Category */
.wd-page-title {background-color: #6fb21a;}


/* blog */
.blog-design-masonry.wd-add-shadow .article-inner {padding: 12px;   box-shadow: 2px 5px 30px rgba(0, 0, 0, .1);    border-radius: 8px;}
.post-img-wrapp { border-radius: 10px;}
.wd-post-date.wd-style-with-bg { border-radius: 10px;}
.blog-design-masonry .post-title {font-size: 16px !important;  margin: 15px 0px 25px;}
.blog-design-masonry.has-post-thumbnail .wd-post-date { border-radius: 10px;}
.wd-post.blog-style-bg .wd-post-inner {padding: 15px; box-shadow: 2px 5px 30px rgba(0, 0, 0, .1); border-radius: 8px;}
.wd-post-img img { border-radius: 8px;}
h3.wd-entities-title.title.post-title a { font-size: 17px;}
.wd-post-desc { font-size: 13px;}


/* استایل کامنت نظرات باگ */
.comments-area .comment-respond {
    padding: 30px;
    background: #fff;
    box-shadow: 2px 5px 30px rgba(0, 0, 0, .1);
    border-radius: 12px;
}


/* نمایش سریع */
table :is(tbody,tfoot) th {font-size: 13px;}
.product-image-summary .entry-title { font-size: 18px !important}


/* تصاویر شاخص بلاگ */
.wd-single-post-img img { border-radius: 10px;height: 500px; object-fit: fill;}
.wd-post-img img :hover { border-radius: 8px;}
.wd-single-post-img img:hover { border-radius: 8px;}


/* تصویر شاخص در صفحه محصول */
.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child {
width: 100%;max-width: 500px;aspect-ratio: 1 / 1;   margin: 0 auto;padding: 5px;
background-color: #eee;   border-radius: 5px; overflow: hidden;}
.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child img {
width: 100%;height: 100%;object-fit: cover;border-radius: 5px;}



/* کاور تصویر محصول دسته بندی */
.elementor-element-1f38592,.elementor-element-f64e60d , .elementor-element-ba965f4{
    --wd-prod-bg: #d9dadf4f;
    --wd-bordered-bg: #d9dadf4f;
}


/* استیکی چسبان */
.wd-sticky-btn .wd-sticky-btn-cart .wd-action-btn.wd-style-icon { display: none;}

/* امتیازدهی کامنت ها */
span#reply-title { font-size: 14px;}
.comment-form>.comment-form-rating { border: 1px solid #eabe12;  border-radius: 41px;   padding: 13px;}


/* login */
.woocommerce-LostPassword.lost_password { display: none;}
.login-form-footer { display: none;}
/* login shadow profile */
.wd-dropdown.wd-dropdown-menu.wd-dropdown-my-account.wd-design-default {max-width: 190px;border-radius: 11px;top: 37px;box-shadow: 2px 5px 30px rgba(0, 0, 0, .1);}

/* Cart*/
.wd-checkout-steps {font-size: 18px;}
.cart-totals-inner tr.shipping td > *:last-child {display: none;}

/* popup خرید  */
.popup-added_to_cart h3 {  font-size: 18px; }
.wd-popup { padding: var(--wd-popup-padding, 60px 10px); }


/* قیمت محصولات در دسته بندی ها */
.price .amount {
    line-height: 3;
}


/* کارت محصول */
.products-bordered-grid.wd-products-with-bg.elements-grid>.wd-col { background: #fff !important;}

/* صفحه جزیییات محصول */
.product-summary-shadow .summary-inner {box-shadow: 2px 5px 30px  rgba(0,0,0,.1) !important ;}
.woocommerce-breadcrumb{
background: rgb(248 248 248);   padding: 5px 20px; border-radius: 7px;}


/* صفحه  checkout  */
/* توضیحات تکمیلی */
.shop_attributes th { background: #eee;  width: 200px; padding: 10px; border-radius: 6px;}
.shop_attributes td { background: #f8f8f8; width: 100%; padding: 10px; border-radius: 6px;}

/* checkout *//* آیکن کارت محصول */
.wd-action-btn.wd-style-icon>a {width: 40px;}
.wd-buttons[class*="wd-pos-r"] { border-radius: 44px;}

/* استایل اختصاصی فقط برای صفحه checkout */
.woocommerce-privacy-policy-text { display: none;}

/* کد تخفیف */
:root :is(.woocommerce-form-coupon-toggle,.woocommerce-form-login-toggle)>div {display : none;}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review) { background-color: #bdcbe8;}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):before {    background-image: radial-gradient(farthest-side, transparent 6px, #bdcbe8 0);}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):after { background-image: radial-gradient(farthest-side, transparent 6px, #bdcbe8 0); }

/* گزینه های پست */
input#shipping_method_0_free_shipping28 {display: none;}


/* سایدبار */
/* widget سایدبار shop*/
:is(.widget,.wd-widget,div[class^="vc_wp"]) {
box-shadow: 0 5px 8px -3px rgba(0, 0, 0, .1);
background: #fff;
padding: 15px;
border-radius: 8px;}
.widget:last-child {
padding-bottom: 10px;padding-top: 10px;}

/* متن سبد خرید سایدبار */
.wd-heading .title {font-size: 100%;}

/* سایدبار عنوان محصول */
.product_list_widget>li .wd-entities-title {  font-size: 12px;}

/* سایدبار - حمل رایگان */
.progress-msg {padding: 10px;border-radius: 10px; font-size: 13px;line-height: 2; background: #6fb21a21;}
.wd-progress-bar .progress-bar { background-color: rgb(111 178 26);}

/* متن کلوز */
.wd-action-btn.wd-style-text>a { font-size: 13px;}



/* آیکن کارت محصول */
.wd-action-btn.wd-style-icon>a {width: 40px;}
.wd-buttons[class*="wd-pos-r"] { border-radius: 44px;}

/* کارت محصول */
.products-bordered-grid.wd-products-with-bg.elements-grid>.wd-col { background: #fff !important;}





/*   استایل محصول ناموجود  */
.product-label.out-of-stock {
background-color: #242424; color: #ffffff;padding: 6px 12px; border-radius: 6px;}
.outofstock{ filter: grayscale(1);}
.outofstock .woocommerce-Price-amount {filter: blur(5px); }

/* محو کردن قیمت نوار چسبان وقتی محصول ناموجود است */
.wd-sticky-btn-cart:has(.stock.out-of-stock) .price,
.wd-sticky-btn-cart:has(.stock.out-of-stock) .woocommerce-Price-amount {
    filter: blur(5px);
    user-select: none;
}
/* محو کردن قیمت نوار چسبان وقتی محصول ناموجود است */
.wd-sticky-btn-cart:has(.stock.out-of-stock) .price,
.wd-sticky-btn-cart:has(.stock.out-of-stock) .woocommerce-Price-amount {
    filter: blur(5px);
    user-select: none;
}






/* پیامک اطلاع رسانی */
form#sms-notif-form-1 {
    background: rgb(238, 238, 238);
    padding: 15px;
    border-radius: 10px;
}
label#sms-notif-enable-label-1 {
    margin-bottom: 15px;
}
input#sms-notif-mobile-1 {
    background: #fff;
    margin-bottom: 10px;
}


/* برای عدم نمایش تصویر دسته بندی در عنوان ها */
.wd-page-title.page-title.page-title-default.title-size-small.title-design-default.color-scheme-light.with-back-btn.without-title.wd-nav-side-hidden-mb-on { background: #6fb21a; background-image: unset !important;}


/* پنل پیشخوان کاربران */
.woocommerce-MyAccount-navigation ul li a {background: #FFFFFF; margin: 10px 0; padding: 15px !important; border-radius: 8px; text-align: right; }


/* پیشخوان */
.woocommerce-MyAccount-title.entry-title {
    padding: 10px !important;
    color: #ffffff !important;
    background: #1246ab !important;
    border-radius: 8px !important;
}

/* علاقه مندی پنل */
a.wd-wishlist-remove {background: red; padding: 5px 10px; border-radius: 0 0 6px 6px;color: #fff; margin-top: -18px;}

.wd-my-account-sidebar.woodmart-my-account-sidebar { box-shadow: -2px 2px 30px #00000010; border-radius: 10px; border: none; text-align: right; padding: 15px 0 15px 0; max-width: 20%;}
.woocommerce-MyAccount-title.entry-title {  font-size: 17px; padding-right: 20px;  font-weight: 600;  color: #444;    text-align: right;}
.woocommerce-MyAccount-content {Box-shadow: -2px 2px 30px #00000010; border-radius: 10px; padding: 40px;background: #FFF;}
.wd-my-account-sidebar {border: none;}
.wd-my-account-links a {box-shadow: none;border: 1px solid #e9e9e9;border-radius: 18px;}
.woocommerce-EditAccountForm fieldset { border-radius: 8px; border: 1px solid #eee;}
/* استایل‌های واکنشگرا */
@media (max-width: 768px) {
.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content { float: none !important; width: 100%; padding: 15px; }
	a.wd-wishlist-remove {    margin-top: 0px;}	
.wd-my-account-sidebar { padding: 0;}
.woocommerce-my-account-wrapper { margin-inline: 0;}
.rtl .woocommerce-MyAccount-content {padding-right: 15px;}
/* استایل منوی افقی در موبایل */
.woocommerce-MyAccount-navigation { overflow-x: auto; -webkit-overflow-scrolling: touch;padding: 10px !important;    }
.woocommerce-MyAccount-navigation ul {display: flex; flex-wrap: nowrap;  gap: 10px; padding-bottom: 5px;}
.woocommerce-MyAccount-navigation ul li {margin: 0;padding: 0; border-bottom: none;flex: 0 0 auto; }
.woocommerce-MyAccount-navigation ul li a {padding: 8px 15px; font-size: 13px; border: 1px solid #e6e6e6; border-radius: 20px; }
/* نمایش اسکرولبار افقی به صورت زیبا */
.woocommerce-MyAccount-navigation::-webkit-scrollbar { height: 4px;    }
.woocommerce-MyAccount-navigation::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px;}
.woocommerce-MyAccount-navigation::-webkit-scrollbar-thumb { background: #333; border-radius: 4px;}
}




/********  موبایل **********/

@media (max-width: 768px) { 
.woocommerce-shipping-methods label {font-size: 12px !important;}
.wd-checkout-prod-title>:is(.cart-product-label-link,.cart-product-label) {font-size: 14px;}	
.woocommerce-billing-fields>h3 { font-size: 16px;background: #70b21a; color: #fff; padding: 8px;border-radius: 6px;
    font-weight: 500;}	
.woocommerce-additional-fields>h3 { font-size: 16px;background: #70b21a; color: #fff; padding: 8px;border-radius: 6px; font-weight: 500;}	
	
	
}



//remove liamwp fonts in elementor editor
add_action('elementor/init', function() {
    add_filter('elementor/fonts/groups', function($font_groups) {
        unset($font_groups['PERSIAN']);
        return $font_groups;
    }, 999);

    add_filter('elementor/fonts/additional_fonts', function($additional_fonts) {
        //list
        $fonts_to_remove = [
            'IRAnjoman', 'IRAnjoman-Bold', 'IRAnjoman-Light', 
            'IRAviny', 'IRBakeri', 'IRDana', 'IRDana-Bold', 
            'IRDana-Light', 'IRManeli', 'IRGandom', 'IRTanha', 
            'IRSharp', 'IRSharp-Bold', 'IRSharp-Light', 
            'IRDastnevis-Bold', 'IRSans', 'IRSans-Bold', 
            'IRSans-Light', 'IRSansx', 'IRSansx-Bold', 
            'IRSansx-Light', 'IRYekan', 'IRYekan-Bold', 
            'IRYekan-Light', 'IRFarhang', 'IRFarhang-Bold', 
            'IRFarhang-Light', 'IRKalameh', 'IRKalameh-Bold', 
            'IRKalameh-Light', 'IRYekanBakh', 'IRYekanBakh-Bold', 
            'IRYekanBakh-Light', 'IRSahel', 'IRSahel-Bold', 
            'IRSahel-Light', 'IRSamim', 'IRSamim-Bold', 
            'IRSamim-Light', 'IRShabnam', 'IRShabnam-Bold', 
            'IRShabnam-Light', 'IRVazir', 'IRVazir-Bold', 
            'IRVazir-Light'
        ];
        
        foreach ($fonts_to_remove as $font) {
            unset($additional_fonts[$font]);
        }

        return $additional_fonts;
    }, 999);
});