:root {
	--wd-hb-opt-h: 40px;
	--wd-cat-brd-radius: 50%;
	--wd-text-font: YekanBakhFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(40,40,40);
	--wd-text-font-size: 14px;
	--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(79, 79, 79);
	--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: 14px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(92,64,34);
	--wd-alternative-color: rgb(245,241,236);
	--btn-default-transform: none;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(122,143,90);
	--btn-accented-bgcolor-hover: rgb(110,142,55);
	--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-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--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-promo-popup-wrap {
	--wd-popup-width: 480px;
}
.wd-hb {
	background-color: rgb(90,52,30);
	background-image: none;
}
: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);
}
: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: rgba(251, 250, 247, 1);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: #f6f6f6;
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
	background-repeat: repeat;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
	background-repeat: repeat;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgba(16,16,16,0.9);
}
html .btn.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);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 40px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-hb-opt-h: 50px;
	}
	.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: 1400px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(174,182,161);
}

.site-logo a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    isolation: isolate;
}

.site-logo img {
    display: block;
}

.site-logo a::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 38%;
    pointer-events: none;
    z-index: 2;

    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 248, 240, 0.00) 18%,
        rgba(255, 248, 240, 0.18) 38%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 245, 225, 0.22) 62%,
        rgba(255, 248, 240, 0.00) 82%,
        transparent 100%
    );

    transform: skewX(-16deg) translateX(-260%);
    filter: blur(3px);
    opacity: 0.95;
    mix-blend-mode: screen;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 15%,
        #000 85%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 15%,
        #000 85%,
        transparent 100%
    );

    animation: shahremiz-logo-shine 3.8s ease-in-out infinite;
}

@keyframes shahremiz-logo-shine {
    0%, 38% {
        transform: skewX(-16deg) translateX(-260%);
        opacity: 0;
    }
    45% {
        opacity: 0.95;
    }
    78% {
        transform: skewX(-16deg) translateX(340%);
        opacity: 0.95;
    }
    100% {
        transform: skewX(-16deg) translateX(340%);
        opacity: 0;
    }
}

/* ShahreMiz - Product reviews layout fix based on actual WoodMart structure */

.single-product .wd-single-reviews .woocommerce-Reviews {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 35px 55px !important;
    align-items: flex-start !important;
    width: 100% !important;
    direction: ltr !important;
}

/* ستون چپ: دیدگاه‌ها */
.single-product .wd-single-reviews .woocommerce-Reviews #comments {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    direction: rtl !important;
    text-align: center !important;
}

/* ستون راست: خلاصه امتیازها */
.single-product .wd-single-reviews .woocommerce-Reviews .wd-rating-summary-wrap {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    direction: rtl !important;
}

/* فرم ثبت دیدگاه: پایین و عرض کامل */
.single-product .wd-single-reviews .woocommerce-Reviews #review_form_wrapper {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    direction: rtl !important;
}

/* تمیزکاری بخش دیدگاه‌ها */
.single-product .wd-single-reviews #comments .wd-reviews-heading,
.single-product .wd-single-reviews #comments .wd-reviews-content {
    text-align: center !important;
}

.single-product .wd-single-reviews #comments .woocommerce-Reviews-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 0 14px !important;
}

.single-product .wd-single-reviews #comments .woocommerce-noreviews {
    margin: 0 !important;
    color: #777 !important;
    font-size: 13px !important;
}

/* خلاصه امتیازها کامل داخل ستون خودش بماند */
.single-product .wd-single-reviews .wd-rating-summary,
.single-product .wd-single-reviews .wd-rating-summary-cont,
.single-product .wd-single-reviews .wd-rating-summary-item {
    width: 100% !important;
    max-width: 100% !important;
}

/* فرم و فیلدها */
.single-product .wd-single-reviews #review_form_wrapper .comment-respond,
.single-product .wd-single-reviews #review_form_wrapper form,
.single-product .wd-single-reviews #review_form_wrapper .comment-form,
.single-product .wd-single-reviews #review_form_wrapper textarea,
.single-product .wd-single-reviews #review_form_wrapper input[type="text"],
.single-product .wd-single-reviews #review_form_wrapper input[type="email"],
.single-product .wd-single-reviews #review_form_wrapper input[type="tel"] {
    width: 100% !important;
    max-width: 100% !important;
}

.single-product .wd-single-reviews #review_form_wrapper .form-submit {
    text-align: right !important;
}

/* موبایل */
@media (max-width: 768px) {
    .single-product .wd-single-reviews .woocommerce-Reviews {
        display: block !important;
        direction: rtl !important;
    }

    .single-product .wd-single-reviews .woocommerce-Reviews .wd-rating-summary-wrap,
    .single-product .wd-single-reviews .woocommerce-Reviews #comments,
    .single-product .wd-single-reviews .woocommerce-Reviews #review_form_wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
    }
}
.single-product .wd-single-reviews .woocommerce-Reviews {
    padding: 20px 45px 35px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .single-product .wd-single-reviews .woocommerce-Reviews {
        padding: 15px 18px 25px !important;
    }
}
@media (max-width: 1024px) {
    .woocommerce-breadcrumb .wd-last-link~span {
        display: inline !important;
    }
}


/* متن موبایل به‌صورت پیش‌فرض مخفی */
.shm-banner-mobile {
    display: none;
}

/* تنظیم بنر سربرگ در موبایل */
@media (max-width: 768.98px) {

    .wd-hb-wrapp {
        --wd-hb-opt-h: 38px !important;
    }

    .wd-hb {
        padding: 0 !important;
    }

    /* متن دقیقاً وسط کل بنر بماند */
    .wd-hb .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 38px !important;
        text-align: center !important;
    }

    .wd-hb .container p {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        text-align: center !important;
    }

    .shm-banner-desktop {
        display: none !important;
    }

    .shm-banner-mobile {
        display: inline !important;
    }

    /* ضربدر کاملاً در فضای خالی سمت چپ */
    .wd-hb-close.wd-style-icon {
        left: 4px !important;
        right: auto !important;
        inset-inline-start: auto !important;
        inset-inline-end: auto !important;
        width: 36px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .wd-hb-close.wd-style-icon > a {
        width: 36px !important;
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .wd-hb-close .wd-action-icon {
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    body.single-product .elementor-widget:not(:last-child) {
        margin-block-end: 10px !important;
    }
}


/* =========================================================
   شهرمیز و میزسیتی
   اصلاح عنوان برگه و یکسان‌سازی فونت محتوای ووکامرس
========================================================= */


/* =========================================================
   1) عنوان صفحات داخلی
========================================================= */

.wd-page-title.title-size-small {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 145px;
    overflow: hidden;
}


/* تصویر پس‌زمینه */

.wd-page-title .wd-page-title-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* لایه روشن سمت محل نمایش عنوان */

.wd-page-title .wd-page-title-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        270deg,
        rgba(249, 244, 237, .94) 0%,
        rgba(249, 244, 237, .74) 26%,
        rgba(249, 244, 237, .20) 54%,
        transparent 75%
    );
}


/* جایگاه عنوان و مسیر راهنما */

.wd-page-title.title-size-small > .container {
    position: relative;
    z-index: 2;

    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;

    width: 100%;
    gap: 7px;

    direction: rtl;
    text-align: right !important;
}


/* عنوان اصلی صفحه */

.wd-page-title .entry-title {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #3f2b1e !important;

    /*
     * استفاده قطعی از فونت متن اصلی قالب
     * تا فونت جداگانه عنوان وودمارت اعمال نشود
     */
    font-family: var(--wd-text-font, inherit) !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;

    text-align: right !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .35);
    backdrop-filter: none !important;
}


/* حذف طراحی احتمالی قبلی */

.wd-page-title .entry-title::before {
    display: none !important;
}


/* خط تأکیدی زیر عنوان */

.wd-page-title .entry-title::after {
    content: "";
    display: block;

    width: 42px;
    height: 3px;
    margin-top: 8px;

    border-radius: 20px;
    background: var(--wd-primary-color, #633d24);
    opacity: .85;
}


/* مسیر راهنما */

.wd-page-title .wd-breadcrumbs {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #75675c !important;

    font-family: var(--wd-text-font, inherit) !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;

    direction: rtl;
    text-align: right !important;
    backdrop-filter: none !important;
}


.wd-page-title .wd-breadcrumbs a,
.wd-page-title .wd-breadcrumbs span,
.wd-page-title .wd-breadcrumbs .wd-last {
    color: inherit !important;
    font-family: var(--wd-text-font, inherit) !important;
    letter-spacing: 0 !important;
}


.wd-page-title .wd-breadcrumbs a:hover {
    color: var(--wd-primary-color, #633d24) !important;
}


.wd-page-title .wd-delimiter {
    margin-inline: 2px !important;
    opacity: .45;
}



/* =========================================================
   2) محتوای حساب کاربری و ووکامرس
========================================================= */

.woocommerce-MyAccount-content,
.woocommerce-MyAccount-content p,
.woocommerce-MyAccount-content a,
.woocommerce-MyAccount-content button,
.woocommerce-MyAccount-content input,
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content label,
.woocommerce-MyAccount-content table,
.woocommerce-MyAccount-content th,
.woocommerce-MyAccount-content td,
.wd-wishlist-content,
.wd-wishlist-content p,
.wd-wishlist-content a,
.wd-wishlist-content button {
    font-family: var(--wd-text-font, inherit) !important;
    letter-spacing: 0 !important;
}


/* =========================================================
   3) حالت خالی علاقه‌مندی و مقایسه
========================================================= */

.wd-empty-block {
    direction: rtl;
    text-align: center;
}


.wd-empty-block .wd-empty-block-title {
    margin-bottom: 10px !important;

    color: var(--wd-title-color, #242424) !important;

    font-family: var(--wd-text-font, inherit) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
}


.wd-empty-block .wd-empty-block-text {
    margin-bottom: 18px !important;

    color: var(--wd-text-color, #777) !important;

    font-family: var(--wd-text-font, inherit) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    letter-spacing: 0 !important;
}


/* دکمه بازگشت به فروشگاه */

.wd-empty-block .wd-empty-block-btn,
.wd-empty-block a.button {
    min-height: 42px;
    padding: 10px 22px !important;

    border-radius: 10px !important;

    font-family: var(--wd-text-font, inherit) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
}


/* متن‌ها و عناصر صفحات علاقه‌مندی */

.wd-wishlist-content .wd-entities-title,
.wd-wishlist-content .product-title,
.wd-wishlist-content .price,
.wd-wishlist-content .button,
.wd-wishlist-content .wd-empty-block-title,
.wd-wishlist-content .wd-empty-block-text {
    font-family: var(--wd-text-font, inherit) !important;
    letter-spacing: 0 !important;
}



/* =========================================================
   4) نسخه موبایل
========================================================= */

@media (max-width: 767.98px) {

    .wd-page-title.title-size-small {
        min-height: 115px;
    }


    .wd-page-title .wd-page-title-bg::after {
        background: linear-gradient(
            270deg,
            rgba(249, 244, 237, .95) 0%,
            rgba(249, 244, 237, .80) 58%,
            rgba(249, 244, 237, .34) 100%
        );
    }


    .wd-page-title.title-size-small > .container {
        align-items: flex-start !important;
        padding-inline: 20px !important;
        gap: 5px;
    }


    .wd-page-title .entry-title {
        font-family: var(--wd-text-font, inherit) !important;
        font-size: 23px !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
    }


    .wd-page-title .entry-title::after {
        width: 34px;
        height: 2px;
        margin-top: 6px;
    }


    .wd-page-title .wd-breadcrumbs {
        font-family: var(--wd-text-font, inherit) !important;
        font-size: 10.5px !important;
    }


    .wd-empty-block .wd-empty-block-title {
        font-size: 22px !important;
        line-height: 1.65 !important;
    }


    .wd-empty-block .wd-empty-block-text {
        font-size: 12px !important;
        line-height: 1.85 !important;
    }


    .wd-empty-block .wd-empty-block-btn,
    .wd-empty-block a.button {
        min-height: 40px;
        padding: 9px 18px !important;
        font-size: 12px !important;
    }
}