@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//gheshm.shop/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.0.6") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//gheshm.shop/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-header-banner-h: 53px;
	--wd-cat-brd-radius: 27%;
	--wd-text-font: YekanBakhFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: YekanBakhFaNum;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: YekanBakhFaNum;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: YekanBakhFaNum;
	--wd-widget-title-font: YekanBakhFaNum;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: YekanBakhFaNum;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(245,154,87);
	--wd-alternative-color: rgb(224,234,240);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-transform: none;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(245,154,87);
	--btn-accented-bgcolor-hover: rgb(223,140,79);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 95px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(245,154,87);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 480px;
}
: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:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(244,243,239);
	background-image: url(https://gheshm.shop/wp-content/uploads/2026/06/5846183417895128783.jpg);
	background-size: cover;
	background-position: center top;
}
.page .wd-page-content {
	background-image: url(https://gheshm.shop/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-image: url(https://gheshm.shop/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-product .wd-page-content {
	background-image: url(https://gheshm.shop/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.woodmart-archive-blog .wd-page-content {
	background-image: url(https://gheshm.shop/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-post .wd-page-content {
	background-image: url(https://gheshm.shop/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
html .wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgba(16,16,16,0.9);
}
html .wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(51,51,51);
}
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)7;
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(221,153,51);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(221,51,51);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 40px;
	--wd-sticky-btn-height: 95px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 44px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

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

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

@media (min-width: 1400px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


@media (max-width: 576px) {
	<!-- MOBILE STICKY ADD TO CART -->
<style>
@media (max-width:768px){

.mobile-sticky-cart{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:99999;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    padding:12px 14px;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);

    box-shadow:0 -4px 20px rgba(0,0,0,.08);
    border-top:1px solid rgba(0,0,0,.08);
}

.mobile-sticky-cart.hidden{
    opacity:0;
    visibility:hidden;
    transform:translateY(100%);
    transition:.25s;
}

.mobile-sticky-cart-price{
    display:flex;
    flex-direction:column;
    line-height:1.3;
}

.mobile-sticky-cart-price .price{
    margin:0;
    font-size:18px;
    font-weight:700;
}

.mobile-sticky-cart-btn{
    flex-shrink:0;
}

.mobile-sticky-cart-btn button{
    border:none;
    padding:13px 20px;
    border-radius:14px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    min-width:170px;
}

body{
    padding-bottom:95px;
}

}
</style>

<script>
document.addEventListener("DOMContentLoaded", function(){

    // فقط موبایل
    if(window.innerWidth > 768) return;

    const cartForm = document.querySelector("form.cart");
    if(!cartForm) return;

    // جلوگیری از ساخت دوباره
    if(document.querySelector(".mobile-sticky-cart")) return;

    // ساخت باکس
    const sticky = document.createElement("div");
    sticky.className = "mobile-sticky-cart hidden";

    sticky.innerHTML = `
        <div class="mobile-sticky-cart-price"></div>

        <div class="mobile-sticky-cart-btn"></div>
    `;

    document.body.appendChild(sticky);

    const priceBox = sticky.querySelector(".mobile-sticky-cart-price");
    const btnBox = sticky.querySelector(".mobile-sticky-cart-btn");

    // قیمت
    function updatePrice(){

        const price = document.querySelector(
            ".elementor-widget-wd_single_product_price p.price, p.price"
        );

        if(price){
            priceBox.innerHTML = price.outerHTML;
        }
    }

    // دکمه افزودن به سبد
    function updateButton(){

        const originalBtn = document.querySelector(
            "form.cart button.single_add_to_cart_button"
        );

        if(!originalBtn) return;

        btnBox.innerHTML = "";

        const newBtn = originalBtn.cloneNode(true);

        newBtn.addEventListener("click", function(e){
            e.preventDefault();
            originalBtn.click();
        });

        btnBox.appendChild(newBtn);
    }

    updatePrice();
    updateButton();

    // محصولات متغیر
    const observer = new MutationObserver(function(){
        updatePrice();
        updateButton();
    });

    observer.observe(document.body,{
        childList:true,
        subtree:true,
        characterData:true
    });

    // نمایش بعد از اسکرول
    function toggleSticky(){

        const originalBtn = document.querySelector(
            "form.cart .single_add_to_cart_button"
        );

        if(!originalBtn) return;

        const rect = originalBtn.getBoundingClientRect();

        if(rect.top < 0){
            sticky.classList.remove("hidden");
        }else{
            sticky.classList.add("hidden");
        }
    }

    window.addEventListener("scroll", toggleSticky);

    setTimeout(function(){
        updatePrice();
        updateButton();
        toggleSticky();
    }, 1000);

});
</script>
}

