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

:root {
	--wd-text-font: "Yekan", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(58,58,58);
	--wd-text-font-size: 15px;
	--wd-title-font: "Yekan", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Yekan", 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: "Yekan", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Yekan", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: inherit;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Yekan", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: inherit;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(0,117,87);
	--wd-alternative-color: rgba(0,117,87,0.2);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: rgba(0,117,87,0.2);
	--btn-default-bgcolor-hover: rgba(0,117,87,0.2);
	--btn-default-color: rgb(0,117,87);
	--btn-default-color-hover: rgb(0,117,87);
	--btn-accented-bgcolor: rgb(0,117,87);
	--btn-accented-bgcolor-hover: rgb(0,117,87);
	--btn-transform: capitalize;
	--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;
}
:is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg .wd-product {
	--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-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.header-banner {
	background-color: rgb(0,117,87);
	background-image: none;
}
.page-title-default {
	background-color: rgb(28,97,231);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.footer-container {
	background-color: #ffffff;
	background-image: none;
}
.page .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog .main-page-wrapper {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgb(0,117,87);
}
html .wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(0,117,87);
}
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-bg: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

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

}

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

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--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;
}

@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;
}
}


@font-face {
	font-family: "Yekan";
	src: url("//emg-shop.ir/wp-content/uploads/2024/08/Yekan.woff2") format("woff2"), 
url("//emg-shop.ir/wp-content/uploads/2024/08/Yekan.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "IRANSans";
	src: url("//emg-shop.ir/wp-content/uploads/2024/12/IRANSansX-Black.woff2") format("woff2"), 
url("//emg-shop.ir/wp-content/uploads/2024/12/IRANSansX-Black.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Morabba";
	src: url("//emg-shop.ir/wp-content/uploads/2024/12/Morabba-Regular.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

.category-grid-item .category-image-wrapp {
    background-color: rgb(181 209 195 / 55%);
    padding: 20px;
}
.elementor-12378 .elementor-element.elementor-element-c057ace .elementor-button[type="submit"] {
    background-color: var(--e-global-color-primary) !important;
}










/* ==================================================
   حساب کاربری زمرد
   مخصوص WoodMart 7.5.2
================================================== */

/* ساختار اصلی؛ فقط داخل صفحه حساب کاربری */
.woocommerce-my-account-wrapper,
.woocommerce-my-account-wrapper *,
.woocommerce-my-account-wrapper *::before,
.woocommerce-my-account-wrapper *::after {
    box-sizing: border-box;
}

/* عنوان حساب کاربری */
.woocommerce-my-account-wrapper .woocommerce-MyAccount-title {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 0 14px !important;
    color: #222 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    text-align: right !important;
    white-space: nowrap !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

/* منوی حساب کاربری */
.woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation {
    width: 100% !important;
    margin-bottom: 25px !important;
}

.woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation ul li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 15px !important;

    direction: rtl !important;
    writing-mode: horizontal-tb !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    color: #333 !important;
    background: #f5f5f5 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    text-align: right !important;
    text-decoration: none !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease !important;
}

/* گزینه فعال */
.woocommerce-my-account-wrapper
.woocommerce-MyAccount-navigation ul li.is-active > a {
    color: #fff !important;
    background: #007557 !important;
    border-color: #007557 !important;
}

/* حالت هاور */
.woocommerce-my-account-wrapper
.woocommerce-MyAccount-navigation ul li:not(.is-active) > a:hover {
    color: #007557 !important;
    background: #eaf6f2 !important;
    border-color: #007557 !important;
}

/* جلوگیری از بیرون‌زدگی محتوای اصلی */
.woocommerce-my-account-wrapper .woocommerce-MyAccount-content {
    min-width: 0 !important;
}

.woocommerce-my-account-wrapper .woocommerce-MyAccount-content img {
    height: auto !important;
    max-width: 100% !important;
}

/* ==================================================
   دسکتاپ
================================================== */

@media (min-width: 1025px) {

    .woocommerce-my-account-wrapper .wd-my-account-sidebar {
        width: 280px !important;
        max-width: 280px !important;
        flex: 0 0 280px !important;
    }

    .woocommerce-my-account-wrapper .woocommerce-MyAccount-content {
        width: calc(100% - 280px) !important;
        max-width: calc(100% - 280px) !important;
        flex: 1 1 auto !important;
    }
}

/* ==================================================
   تبلت
================================================== */

@media (min-width: 769px) and (max-width: 1024px) {

    .woocommerce-my-account-wrapper .wd-my-account-sidebar {
        width: 240px !important;
        max-width: 240px !important;
        flex: 0 0 240px !important;
    }

    .woocommerce-my-account-wrapper .woocommerce-MyAccount-content {
        width: calc(100% - 240px) !important;
        max-width: calc(100% - 240px) !important;
        flex: 1 1 auto !important;
    }

    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-navigation ul li a {
        padding: 11px 12px !important;
        font-size: 14px !important;
    }
}

/* ==================================================
   موبایل
================================================== */

@media (max-width: 768.98px) {

    /* حذف حاشیه منفی خود وودمارت که باعث بیرون‌زدگی می‌شود */
    .woocommerce-my-account-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }

    /* ستون منو */
    .woocommerce-my-account-wrapper .wd-my-account-sidebar {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;

        margin: 0 0 25px !important;
        padding: 0 !important;
        border: 0 !important;
        transform: none !important;
    }

    .woocommerce-my-account-wrapper .woocommerce-MyAccount-title {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 15px !important;
        padding: 0 0 12px !important;
        font-size: 18px !important;
        white-space: normal !important;
    }

    .woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation,
    .woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation ul,
    .woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation ul li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation ul {
        gap: 7px !important;
    }

    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-navigation ul li a {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;

        margin: 0 !important;
        padding: 11px 13px !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;

        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    /* محتوای پیشخوان، سفارش‌ها و اطلاعات حساب */
    .woocommerce-my-account-wrapper .woocommerce-MyAccount-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;

        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow-x: hidden !important;
    }

    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content > * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content p,
    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content a,
    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content td,
    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content th {
        overflow-wrap: anywhere !important;
    }

    /* فرم اطلاعات حساب */
    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content select,
    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* جدول سفارش‌ها داخل خودش اسکرول می‌خورد، نه کل صفحه */
    .woocommerce-my-account-wrapper
    .woocommerce-MyAccount-content table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* کارت‌های پیشخوان */
    .woocommerce-my-account-wrapper .wd-my-account-links {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-my-account-wrapper .wd-my-account-links > div {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}
