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

:root {
	--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(22,44,129);
	--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(22,44,129);
	--btn-accented-bgcolor-hover: rgb(22,44,129);
	--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-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(174,182,161);
	background-image: url(https://qparde.ir/wp-content/uploads/2026/06/پرده-حریر.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	background-position: center center;
}
.page .wd-page-content {
	background-image: url(https://qparde.ir/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://qparde.ir/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-product .wd-page-content {
	background-image: url(https://qparde.ir/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.woodmart-archive-blog .wd-page-content {
	background-image: url(https://qparde.ir/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-post .wd-page-content {
	background-image: url(https://qparde.ir/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);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

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

}

@media (max-width: 768.98px) {
	.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;
--wd-cat-brd-radius: 8px;
}

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


/* ========================================== */
/* تنظیم کانتر برای شمارش مراحل */
/* ========================================== */
.tc-result-wrap {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-top: -20px !important;
}

.tc-result {
    display: inline-block !important;
}


form.cart {
    counter-reset: stepCounter;
}

.custom-curtain-box {
	
    counter-increment: stepCounter;
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: none !important;
    border: 1px solid rgba(0, 100, 85, 0.15) !important;
}

.custom-curtain-box:hover {
    box-shadow: 0 15px 30px rgba(0, 80, 70, 0.3),
                0 5px 12px rgba(0, 80, 70, 0.15) !important;
    border-color: rgba(0, 100, 85, 0.3) !important;
}

.custom-curtain-box::before {
    content: "مرحله " counter(stepCounter);
    position: absolute;
    top: -14px;
    right: 20px;
    background: linear-gradient(135deg, #162c81, #162c81) !important;
 	color: white;
    padding: 6px 20px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(0, 80, 70, 0.2);
    z-index: 10;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .custom-curtain-box {
        border-radius: 20px !important;
        padding: 15px !important;
    }
    .custom-curtain-box::before {
        font-size: 10px;
        padding: 4px 14px;
        top: -12px;
        right: 15px;
        white-space: nowrap;
    }
}

/* ========================================== */
/* استایل دکمه راهنما (وسط چین) */
/* ========================================== */

.help-btn-custom {
    background-color: #162c81 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 8px 22px !important;
    color: white !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
    margin-bottom: 5px !important;
    display: block !important;
    width: fit-content !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.help-btn-custom:hover {
    background-color: #f38931 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(243, 137, 49, 0.3) !important;
}

.help-btn-custom:active {
    transform: translateY(0px) !important;
}

@media (max-width: 768px) {
    .help-btn-custom {
        padding: 7px 18px !important;
        font-size: 12px !important;
        width: 80% !important;
    }
}

@media (max-width: 480px) {
    .help-btn-custom {
        padding: 8px 16px !important;
        font-size: 11px !important;
        width: 90% !important;
    }
}

/* ========================================== */
/* استایل مودال (با فاصله عنوان از ضربدر) */
/* ========================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.modal:target {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    position: relative;
    direction: rtl;
    text-align: right;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.3s ease;
    padding: 30px 30px 35px 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    color: #162c81;
    font-size: 22px;
    margin: 15px 0 20px 0;  
    padding-bottom: 12px;
    border-bottom: 2px solid #162c81;
    display: inline-block;
    padding-left: 30px;
}

.modal-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #2d3e50;
    margin: 10px 0;
}

.modal-content ul {
    padding-right: 20px;
    margin: 10px 0;
}

.modal-content li {
    font-size: 14px;
    line-height: 1.7;
    color: #2d3e50;
    margin-bottom: 8px;
}

.note-box {
    background: #fef5e8;
    border-right: 4px solid #162c81;
    padding: 12px 18px;
    border-radius: 12px;
    margin-top: 20px;
}

.note-box strong {
    color: #162c81;
    font-size: 14px;
}

.close-btn {
    position: absolute;
    top: 20px;
    left: 25px;
    text-decoration: none;
    font-size: 26px;
    color: #aaa;
    transition: all 0.2s ease;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: #f38931;
    background: #f0f0f0;
}

@media (max-width: 640px) {
    .modal-content {
        padding: 22px 20px 25px 20px;
    }
    .modal-content h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .close-btn {
        top: 15px;
        left: 15px;
        font-size: 22px;
        width: 28px;
        height: 28px;
    }
}








/* مخفی کردن مودال در حالت عادی */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* نمایش مودال فقط زمانی که target آن فعال باشد */
.modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    text-decoration: none;
    font-size: 24px;
    color: #333;
}











/*                                           */

/* یکسان کردن اندازه عکس‌های آخرین نوشته‌ها */
.elementor-element-ad19eea .entry-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.elementor-element-ad19eea .post-img-wrapp {
    width: 100%;
    height: 100%;
}

.elementor-element-ad19eea .post-img-wrapp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* یکسان کردن ارتفاع کل کارت‌ها */
.elementor-element-ad19eea .wd-carousel-item {
    height: auto;
}

.elementor-element-ad19eea .wd-post {
    height: 100%;
}

.elementor-element-ad19eea .article-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.elementor-element-ad19eea .article-body-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* یکسان کردن ارتفاع عنوان‌ها */
.elementor-element-ad19eea .post-title {
    min-height: 58px;
}


/* توضیحات هم ارتفاع مشخص داشته باشند */
.elementor-element-ad19eea .wd-post-desc {
    min-height: 48px;
}









.elementor-element-ad19eea .hovered-social-icons {
    display: none !important;
}


.elementor-element-ad19eea .post-title {
    height: 58px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


























/* ========================================= 
   استایل زیر دسته‌ها - نسخه کوچیک‌تر و جمع‌وجورتر
   ========================================= */

.wd-products .wd-cat {
    margin-bottom: 16px;
}

.wd-products .wd-cat-wrap {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(46, 49, 146, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.wd-products .wd-cat-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 22px -4px rgba(46, 49, 146, 0.3);
}

.wd-products .wd-cat-thumb {
    margin: 0;
}

.wd-products .wd-cat-image {
    aspect-ratio: 1.9 / 1;
    overflow: hidden;
    background: #f7f7f7;
}

.wd-products .wd-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wd-products .wd-cat-wrap:hover .wd-cat-image img {
    transform: scale(1.06);
}

.wd-products .wd-cat-content {
    padding: 8px 6px 10px;
    background: #fff;
    text-align: center;
}

.wd-products .wd-cat .wd-entities-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    transition: transform 0.3s ease, color 0.3s ease;
}

.wd-products .wd-cat-wrap .wd-entities-title {
        transform: translateY(-2px);
}


.wd-products .wd-cat .wd-entities-title a {
    color: #222;
}

.wd-products .wd-cat-wrap:hover .wd-entities-title a {
    color: #2e3192;
}

.wd-products .wd-cat-count {
    display: inline-block;
    margin-top: 5px;
    padding: 2px 10px;
    background: #eeeef8;
    color: #2e3192;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.wd-products .wd-cat-wrap:hover .wd-cat-count {
    background: #2e3192;
    color: #fff;
}

.wd-products .wd-product {
    margin-top: 0;
}


/* ========================================= 
   موبایل 
   ========================================= */

@media (max-width: 767px) {

    .wd-products .wd-cat-wrap {
        border-radius: 8px;
    }

    .wd-products .wd-cat-content {
        padding: 6px 4px 8px;
    }

    .wd-products .wd-cat .wd-entities-title {
        font-size: 11px;
        line-height: 1.4;
    }

    .wd-products .wd-cat-count {
        font-size: 9px;
        padding: 2px 8px;
    }
}

/* ========================================= 
   اضافه: هم‌سطح کردن ارتفاع عنوان‌ها (برای متن طولانی)
   ========================================= */

.wd-products .wd-cat .wd-entities-title {
    min-height: 34px; /* دو خط رو جا می‌کنه، هماهنگ با فونت 13px */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}





/* ========================================= 
   حذف خط‌های عجیب هنگام هاور (افکت پیش‌فرض قالب)
   ========================================= */

.wd-products .wd-cat-wrap::before,
.wd-products .wd-cat-wrap::after,
.wd-products .wd-cat-content::before,
.wd-products .wd-cat-content::after,
.wd-products .wd-cat-thumb::before,
.wd-products .wd-cat-thumb::after,
.wd-products .wd-cat a.wd-fill::before,
.wd-products .wd-cat a.wd-fill::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* ========================================= 
   کادر دورِ کارت با هاور - کم‌رنگ، هم‌ردیوس با باکس
   ========================================= */

.wd-products .wd-cat-wrap {
    border: 1px solid transparent;
    box-sizing: border-box;
}

.wd-products .wd-cat-wrap:hover {
    border: 1px solid rgba(46, 49, 146, 0.35) !important;
}




/* ========================================= 
   نوشته بلندتر و کلفت‌تر (بدون حاشیه دور خودش)
   ========================================= */

.wd-products .wd-cat-content {
    padding: 6px 8px 8px;
}

.wd-products .wd-cat .wd-entities-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
    min-height: 44px;
    padding: 6px 8px;
    border: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================= 
   کم کردن ارتفاع باکس‌ها (تصویر کوتاه‌تر)
   ========================================= */

.wd-products .wd-cat-image {
    aspect-ratio: 2.6 / 1;
}

/* ========================================= 
   حاشیه ثابت دور کل باکس (نه فقط عنوان)
   ========================================= */

.wd-products .wd-cat-wrap {
    border: 1px solid #bababa !important;
    box-sizing: border-box;
    transform: none !important;
}

.wd-products .wd-cat-wrap:hover {
    border: 1px solid #2e3192 !important;
    transform: none !important;
}

/* ========================================= 
   حذف خط‌های هاور (بالای عنوان و زیر تعداد محصول)
   ========================================= */

.wd-products .wd-cat-content::before,
.wd-products .wd-cat-content::after,
.wd-products .wd-cat-header::before,
.wd-products .wd-cat-header::after,
.wd-products .wd-cat .wd-entities-title::before,
.wd-products .wd-cat .wd-entities-title::after,
.wd-products .wd-cat-count::before,
.wd-products .wd-cat-count::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
}




.wd-products .wd-cat-content {
    box-shadow: inset 0 0 10px 2px #bababa, inset 0 0 5px 1px rgba(46, 49, 146, 15.3);
    padding-top: 10px;
    padding-bottom: 4px;
}

.cat-design-zoom-out .wd-cat-inner {
    overflow: clip !important;
}
@media (max-width: 767px) {

    .wd-products .wd-cat-image {
        aspect-ratio: 1.3 / 1 !important; /* برگشت به حالت نرمال‌تر فقط برای موبایل */
    }

    .wd-products .wd-cat-wrap {
        border-radius: 12px !important;
    }

    .wd-products .wd-cat-image {
        border-radius: 12px 12px 0 0;
        overflow: hidden;
    }

    .wd-products .wd-cat-content {
        padding: 5px 5px 7px;
        min-height: 62px;
    }

    .wd-products .wd-cat .wd-entities-title {
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
        min-height: 30px;
        -webkit-line-clamp: 2;
    }

    .wd-products .wd-cat-count {
        font-size: 9px !important;
        padding: 1px 8px !important;
        margin-top: 4px;
    }.wd-products .wd-cat-wrap {
     border: 1px solid #bababa !important;
    box-shadow: none;
    transition: box-shadow 0.25s ease;
}

.wd-products .wd-cat-wrap:hover {
 border-color: #bababa !important;
    box-shadow: 
        inset 0 0 0 2px #2e3192,
        0 14px 22px -4px rgba(46, 49, 146, 0.3);
}

/* کم کردن فاصله بالا و پایین محتوا */
.wd-products .wd-cat-content {
	border-color: #bababa !important;
    box-shadow: 
        inset 0 0 0 1px #bababa,
        0 14px 22px -4px rgba(46, 49, 146, 0.3);
    padding-top: 3px;
	padding-bottom: 4px;}
	
}

.wd-products .wd-cat-wrap {
    border: 1px solid #bababa !important;
    box-shadow: none;
    transition: box-shadow 0.25s ease;
}












/* =========================================================
   شروع محصولات از ردیف جدید
   بدون اضافه کردن عنصر به Grid
   ========================================================= */

/* اولین محصول بعد از زیر دسته‌ها */
.wd-products > .wd-cat ~ .wd-product {
    /* فعلاً خالی - فقط برای توضیح */
}

/*
   اولین محصول واقعی را با JS کلاس می‌گیرد:
   .first-real-product
*/

.wd-products > .wd-product.first-real-product {
    grid-column: 1 !important;
}




/*
  خط زیر دسته و محصول چاپی
*/

.wd-products {
    position: relative;
}

.wd-products.has-cat-line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: var(--cat-line-top);
    height: 1px;
    background: #ddd;
    z-index: 10;
    pointer-events: none;
}
















/* ================================
   گوشه تصویری دسته‌بندی
   دسکتاپ + موبایل
================================ */

/* ساختار پایه */
.wd-products > .wd-cat .wd-cat-wrap {
    position: relative;
    overflow: hidden;
}

/* ================================
   دسکتاپ
================================ */
@media (min-width: 768px) {

    .wd-products > .wd-cat .cat-corner-thumb {
        position: absolute;
        left: -18px;
        bottom: -22px;

        width: 105px;
        height: 105px;

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        border: 4px solid #fff;
        border-radius: 0 75% 0 0;

        box-shadow: 0 4px 14px rgba(46, 49, 146, 0.28);

        z-index: 5;
        pointer-events: none;

        transition:
            transform 0.35s ease,
            box-shadow 0.35s ease;
    }

    .wd-products > .wd-cat:hover .cat-corner-thumb {
        transform: scale(1.06);
        box-shadow: 0 6px 18px rgba(46, 49, 146, 0.38);
    }
}


/* ================================
   موبایل
================================ */
@media (max-width: 767px) {

    .wd-products > .wd-cat .cat-corner-thumb {
        position: absolute;
        left: -12px;
        bottom: -14px;

        width: 68px;
        height: 68px;

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        border: 3px solid #fff;
        border-radius: 0 75% 0 0;

        box-shadow: 0 3px 10px rgba(46, 49, 146, 0.22);

        z-index: 5;
        pointer-events: none;
    }

}