:root {
	--wd-text-font: "Iransans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 14px;
	--wd-title-font: "Iransans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Iransans", 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: "Iransans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Iransans", 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: 14px;
	--wd-header-el-font: "Iransans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(254,237,1);
	--wd-alternative-color: rgb(192,199,209);
	--btn-default-bgcolor: rgb(254,237,1);
	--btn-default-bgcolor-hover: rgb(192,199,209);
	--btn-accented-bgcolor: rgb(254,237,1);
	--btn-accented-bgcolor-hover: rgb(192,199,209);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(254,237,1);
	--notices-success-color: rgb(227,234,247);
	--notices-warning-bg: rgb(254,237,1);
	--notices-warning-color: rgb(254,237,1);
	--wd-link-color: rgb(254,237,1);
	--wd-link-color-hover: rgb(254,237,1);
}
.wd-age-verify-wrap {
	--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-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	background-repeat: no-repeat;
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgba(255,255,255,0);
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title, "product-subtitle subtitle-9927" {
	font-family: "Iransans", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 20px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,0,0);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,0,0);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,0,0);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-bottom-active: -1px;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-default-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

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

rs-slides :is([data-type=text],[data-type=button]) {
font-family: Iransans !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: Iransans !important;
}

.wd-page-title {
background-color: rgba(10,10,10,0);
}

@font-face {
	font-family: "Iransans";
	src: url("//markazyadak.com/wp-content/uploads/2025/10/IRANSansWeb.woff2") format("woff2"), 
url("//markazyadak.com/wp-content/uploads/2025/10/IRANSansWeb.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

.swiper {
      width: 100%;
      height: 100%;
      background: #000;
    }

    .swiper-slide {
      font-size: 18px;
      color: #fff;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      padding: 40px 60px;
    }

    .parallax-bg {
      position: absolute;
      left: 0;
      top: 0;
      width: 130%;
      height: 100%;
      -webkit-background-size: cover;
      background-size: cover;
      background-position: center;
    }

    .swiper-slide .title {
      font-size: 41px;
      font-weight: 300;
    }

    .swiper-slide .subtitle {
      font-size: 21px;
    }

    .swiper-slide .text {
      font-size: 14px;
      max-width: 400px;
      line-height: 1.3;
    }

/* لینک‌های داخل توضیحات محصول */
.single-product .woocommerce-product-details__short-description a,
.single-product .woocommerce-Tabs-panel--description a,
.single-product .woocommerce-product-description a,

/* لینک‌های داخل توضیحات دسته‌بندی */
.tax-product_cat .term-description a,
.tax-product_cat .woocommerce-products-header__description a,
.tax-product_cat .page-description a,

/* لینک‌های داخل متن مقاله */
.single-post .entry-content a,
.single-post .wd-entry-content a,
.single-post .post-content a {
    color: #9a7b2a !important;
}



/* =========================================
   MARKAZYADAK - SINGLE POST HERO DESIGN
   Woodmart 8.6.8
========================================= */

/* هدر مقاله */
.single-post .wd-single-post-header {
    position: relative;
    width: 100%;
    margin-bottom: 35px;
    overflow: hidden;
    border-radius: 16px;
    isolation: isolate;
    background: #171717;
}

/* تصویر شاخص */
.single-post .wd-single-post-header .wd-post-image {
    position: relative;
    width: 100%;
    height: 360px;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 0;
}

/* تصویر تمام فضای بنر را پر کند */
.single-post .wd-single-post-header .wd-post-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center 45%;
    display: block;
    transition: transform .7s ease;
}

/* افکت زوم */
.single-post .wd-single-post-header:hover .wd-post-image img {
    transform: scale(1.025);
}

/* گرادیانت روی تصویر */
.single-post .wd-single-post-header .wd-post-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.48) 35%,
        rgba(0,0,0,.08) 100%
    );
    z-index: 1;
}

/* عنوان و اطلاعات روی تصویر */
.single-post .wd-single-post-header > .wd-post-cat,
.single-post .wd-single-post-header > .wd-post-title,
.single-post .wd-single-post-header > .wd-post-meta {
    position: absolute !important;
    z-index: 3;
    right: 35px;
    left: 35px;
}

/* دسته بندی */
.single-post .wd-single-post-header > .wd-post-cat {
    top: auto;
    bottom: 115px;
    width: fit-content;
    left: auto;
    right: 35px;
}

.single-post .wd-single-post-header .wd-post-cat a {
    background: #e87524;
    color: #fff !important;
    border-radius: 5px;
    padding: 6px 13px;
    font-size: 12px;
}

/* عنوان H1 */
.single-post .wd-single-post-header > .wd-post-title {
    top: auto;
    bottom: 65px;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 27px;
    line-height: 1.7;
    font-weight: 800;
    text-align: right;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* متادیتا */
.single-post .wd-single-post-header > .wd-post-meta {
    top: auto;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff !important;
    font-size: 12px;
}

.single-post .wd-single-post-header .wd-post-meta,
.single-post .wd-single-post-header .wd-post-meta a,
.single-post .wd-single-post-header .wd-post-meta time,
.single-post .wd-single-post-header .wd-post-meta span {
    color: #fff !important;
}

/* موبایل */
@media (max-width: 767px) {

    .single-post .wd-single-post-header {
        border-radius: 10px;
        margin-bottom: 25px;
    }

    .single-post .wd-single-post-header .wd-post-image {
        height: 250px;
    }

    .single-post .wd-single-post-header > .wd-post-cat {
        right: 16px;
        bottom: 105px;
    }

    .single-post .wd-single-post-header > .wd-post-title {
        right: 16px;
        left: 16px;
        bottom: 55px;
        font-size: 19px;
        line-height: 1.8;
    }

    .single-post .wd-single-post-header > .wd-post-meta {
        right: 16px;
        left: 16px;
        bottom: 14px;
        gap: 10px;
        font-size: 10px;
        flex-wrap: wrap;
    }
}

/* تبلت */
@media (min-width: 768px) and (max-width: 1024px) {
    .single-post .wd-single-post-header .wd-post-image {
        height: 300px;
    }

    .single-post .wd-single-post-header > .wd-post-title {
        font-size: 23px;
    }
}


/* =========================================
   MARKAZYADAK - SINGLE POST HEADER
   DESKTOP + MOBILE
========================================= */

/* 1. حذف نوار عنوان وبلاگ */
body.single-post .wd-page-title.title-blog,
body.single-post .wd-page-title-bg {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. فاصله دقیق 10 پیکسل از منو تا محتوای مقاله */
body.single-post .wd-page-content.main-page-wrapper {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

body.single-post #main-content.wd-content-layout {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-post .site-content {
    padding-top: 0 !important;
}

/* 3. تنظیم هدر مقاله */
body.single-post .wd-single-post-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 30px !important;
}

/* 4. دسته‌بندی: متن سفید با پس‌زمینه زرد */
body.single-post .wd-single-post-header .wd-post-cat a,
body.single-post .wd-single-post-header .wd-post-cat a:visited,
body.single-post .wd-single-post-header .wd-post-cat a:hover,
body.single-post .wd-single-post-header .wd-post-cat a:focus {
    background: #f5d34b !important;
    background-color: #f5d34b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 5. حذف نام نویسنده */
body.single-post .wd-single-post-header .wd-post-author {
    display: none !important;
}

/* 6. حذف تعداد دیدگاه‌ها و آیکون کامنت */
body.single-post .wd-single-post-header .wd-post-reply {
    display: none !important;
}

/* 7. تنظیم فاصله اطلاعات مقاله */
body.single-post .wd-single-post-header .wd-post-meta {
    gap: 15px !important;
}

/* 8. تنظیم یکسان فاصله در موبایل */
@media screen and (max-width: 767px) {

    body.single-post .wd-page-content.main-page-wrapper {
        margin-top: 10px !important;
        padding-top: 0 !important;
    }

    body.single-post .wd-single-post-header {
        margin-top: 0 !important;
    }
}
/* فاصله تصویر شاخص از منوی مشکی */
body.single-post .wd-page-content.main-page-wrapper {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

/* حذف فاصله‌های داخلی قبل از تصویر */
body.single-post #main-content,
body.single-post .wd-content-layout,
body.single-post .site-content,
body.single-post article,
body.single-post .wd-single-post-header {
    padding-top: 0 !important;
}

/* دسکتاپ و موبایل */
@media (max-width: 767px) {
    body.single-post .wd-page-content.main-page-wrapper {
        margin-top: 10px !important;
    }
}
