:root {
	--wd-text-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(221,51,51);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: rgb(247,247,247);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #439665;
	--btn-accented-bgcolor-hover: #3D885C;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 500px;
	--wd-popup-padding: 0px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 280px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #f7f7f7;
	background-image: none;
}
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;
}
.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;
	}

}
:root{
--wd-container-w: 1600px;
--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: 8px;
--wd-cat-brd-radius: 12px;
}

@media (min-width: 1600px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

@media (max-width: 576px) {
	/* مخفی کردن چک‌باکس و آیکون منو */
#toggle-mobile-menu {
    display: none;
}

#mobile-menu-icon {
    display: none !important;
}
/*حذف کامل ساید بار */
.wd-my-account-sidebar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}
/* دکمه موبایل شیشه ای */
@media (max-width: 1024px) {

    /* نوار شیشه‌ای پایین */
    body .wd-toolbar {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        height: 66px !important;
        padding: 8px 10px !important;
        border-radius: 24px !important;
        overflow: visible !important;
        z-index: 9999 !important;

        background: rgba(25, 30, 45, 0.64) !important;
        border: 1px solid rgba(255, 255, 255, 0.26) !important;

        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);

        box-shadow:
            0 12px 35px rgba(0, 0, 0, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
    }

    /* حالت عادی: آیکن‌ها و نوشته‌ها سفید */
    body .wd-toolbar .wd-tools-element > a,
    body .wd-toolbar .wd-tools-icon,
    body .wd-toolbar .wd-tools-icon::before,
    body .wd-toolbar .wd-toolbar-label {
        color: #ffffff !important;
        filter: none !important;
    }

    /* با حرکت موس یا لمس، رنگ آبی نشود */
    body .wd-toolbar .wd-tools-element > a:hover {
        color: #ffffff !important;
    }

    /* صفحه اصلی */
    body.home .wd-toolbar-home > a,
    body.page-id-2897 .wd-toolbar-home > a,

    /* فروشگاه و محصولات */
    body.woocommerce-shop .wd-toolbar-shop > a,
    body.post-type-archive-product .wd-toolbar-shop > a,
    body.tax-product_cat .wd-toolbar-shop > a,
    body.tax-product_tag .wd-toolbar-shop > a,
    body.single-product .wd-toolbar-shop > a,
    body.search .wd-toolbar-shop > a,

    /* سبد خرید */
    body.woocommerce-cart .wd-header-cart > a,

    /* حساب کاربری */
    body.woocommerce-account .wd-header-my-account > a,
    body.page-id-13844 .wd-header-my-account > a,

    /* علاقه‌مندی‌ها */
    body.page-id-6962 .wd-header-wishlist > a {
        position: relative;
        color: #ffffff !important;
    }

    /* فقط آیکن صفحه فعال آبی شود */
    body.home .wd-toolbar-home .wd-tools-icon,
    body.home .wd-toolbar-home .wd-tools-icon::before,
    body.page-id-2897 .wd-toolbar-home .wd-tools-icon,
    body.page-id-2897 .wd-toolbar-home .wd-tools-icon::before,

    body.woocommerce-shop .wd-toolbar-shop .wd-tools-icon,
    body.woocommerce-shop .wd-toolbar-shop .wd-tools-icon::before,
    body.post-type-archive-product .wd-toolbar-shop .wd-tools-icon,
    body.post-type-archive-product .wd-toolbar-shop .wd-tools-icon::before,
    body.tax-product_cat .wd-toolbar-shop .wd-tools-icon,
    body.tax-product_cat .wd-toolbar-shop .wd-tools-icon::before,
    body.tax-product_tag .wd-toolbar-shop .wd-tools-icon,
    body.tax-product_tag .wd-toolbar-shop .wd-tools-icon::before,
    body.single-product .wd-toolbar-shop .wd-tools-icon,
    body.single-product .wd-toolbar-shop .wd-tools-icon::before,
    body.search .wd-toolbar-shop .wd-tools-icon,
    body.search .wd-toolbar-shop .wd-tools-icon::before,

    body.woocommerce-cart .wd-header-cart .wd-tools-icon,
    body.woocommerce-cart .wd-header-cart .wd-tools-icon::before,

    body.woocommerce-account .wd-header-my-account .wd-tools-icon,
    body.woocommerce-account .wd-header-my-account .wd-tools-icon::before,
    body.page-id-13844 .wd-header-my-account .wd-tools-icon,
    body.page-id-13844 .wd-header-my-account .wd-tools-icon::before,

    body.page-id-6962 .wd-header-wishlist .wd-tools-icon,
    body.page-id-6962 .wd-header-wishlist .wd-tools-icon::before {
        color: #4d7cff !important;
        filter: drop-shadow(0 0 7px #4d7cff) !important;
    }

    /* خط آبی زیر آیتم فعال */
    body.home .wd-toolbar-home > a::after,
    body.page-id-2897 .wd-toolbar-home > a::after,

    body.woocommerce-shop .wd-toolbar-shop > a::after,
    body.post-type-archive-product .wd-toolbar-shop > a::after,
    body.tax-product_cat .wd-toolbar-shop > a::after,
    body.tax-product_tag .wd-toolbar-shop > a::after,
    body.single-product .wd-toolbar-shop > a::after,
    body.search .wd-toolbar-shop > a::after,

    body.woocommerce-cart .wd-header-cart > a::after,

    body.woocommerce-account .wd-header-my-account > a::after,
    body.page-id-13844 .wd-header-my-account > a::after,

    body.page-id-6962 .wd-header-wishlist > a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 1px;
        width: 28px;
        height: 3px;
        transform: translateX(-50%);
        border-radius: 20px;
        background: #4d7cff;
        box-shadow: 0 0 9px #4d7cff;
    }

    /* جلوگیری از چسبیدن محتوا به نوار */
    body.sticky-toolbar-on {
        padding-bottom: calc(85px + env(safe-area-inset-bottom)) !important;
    }
}
@media (max-width: 1024px) {
    body .wd-toolbar .wd-tools-element > a::after {
        bottom: -5px !important;
    }
}
/* نمایش دائمی نوار افزودن به سبد خرید در صفحه محصول */
@media (max-width: 768.98px) {

    /* حذف دکمه خرید داخل صفحه محصول */
    body.single-product form.cart {
        display: none !important;
    }

    /* نمایش فرم خرید شناور */
    body.single-product .wd-sticky-btn form.cart {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        direction: rtl !important;
        gap: 8px !important;
        width: 100% !important;
        height: 50px !important;
        margin: 0 !important;
        padding: 4px 6px !important;
    }

    /* نوار سبز شناور */
    body.single-product .wd-sticky-btn {
        display: flex !important;
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        height: 50px !important;
        padding: 0 !important;
        transform: translate3d(0, 0, 0) !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        z-index: 9998 !important;
        background: #267b4b !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    }

    body.single-product .wd-sticky-btn-container,
    body.single-product .wd-sticky-btn-cart {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* بخش تعداد؛ هم‌ارتفاع با دکمه سبز */
    body.single-product .wd-sticky-btn .quantity {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex: 0 0 120px !important;
        width: 120px !important;
        min-width: 120px !important;
        height: 42px !important;
        margin: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.18) !important;
        overflow: hidden !important;
    }

    body.single-product .wd-sticky-btn .quantity button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 40px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #ffffff !important;
        font-size: 20px !important;
    }

    body.single-product .wd-sticky-btn .quantity input {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #ffffff !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        text-align: center !important;
    }

    /* دکمه سبز خرید */
    body.single-product .wd-sticky-btn .single_add_to_cart_button,
    body.single-product .wd-sticky-btn .wd-sticky-add-to-cart {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        width: auto !important;
        height: 42px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 13px !important;
        background: #1d633b !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    /* دکمه آموزش اقساطی باقی بماند */
    body.single-product .installment-guide-button {
        display: inline-block !important;
    }

    body.single-product.sticky-toolbar-on,
    body.single-product.wd-sticky-btn-on-mb {
        padding-bottom: calc(145px + env(safe-area-inset-bottom)) !important;
    }
}
@media (max-width: 768.98px) {

    body.single-product .wd-sticky-btn form.cart {
        height: 50px !important;
        padding: 0 !important;
        gap: 8px !important;
    }

    body.single-product .wd-sticky-btn .quantity,
    body.single-product .wd-sticky-btn .single_add_to_cart_button,
    body.single-product .wd-sticky-btn .wd-sticky-add-to-cart {
        height: 50px !important;
        min-height: 50px !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
    }

    body.single-product .wd-sticky-btn .quantity {
        flex: 0 0 120px !important;
        width: 120px !important;
        min-width: 120px !important;
        border-radius: 13px !important;
    }

    body.single-product .wd-sticky-btn .quantity button,
    body.single-product .wd-sticky-btn .quantity input {
        height: 48px !important;
        min-height: 48px !important;
    }

    body.single-product .wd-sticky-btn .single_add_to_cart_button,
    body.single-product .wd-sticky-btn .wd-sticky-add-to-cart {
        flex: 1 1 auto !important;
        border-radius: 13px !important;
    }
}
@media (max-width: 768.98px) {

    /* محصولی که مبلغ ندارد */
    body.single-product:not(
        :has(.summary.entry-summary .price .woocommerce-Price-amount)
    ) .wd-sticky-btn,

    body.single-product:not(
        :has(.summary.entry-summary .price .woocommerce-Price-amount)
    ) form.cart {
        display: none !important;
    }
}

}

