@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//kingwood.pw/new/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.5") format("woff2");
}

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

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

:root {
	--wd-text-font: "iransans-regular", 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-bold", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "iransans-regular", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(0,0,0);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "iransans-regular", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iransans-bold", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(0,0,0);
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "iransans-bold", 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: #83b735;
	--wd-alternative-color: #fbbc34;
	--btn-default-font-family: "vazir", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "vazir", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(218,165,32);
	--btn-accented-bgcolor-hover: rgb(184,134,11);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(163,127,37);
	--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: #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 {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(229,229,229);
	background-image: none;
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(221,51,51);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1200px;
--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-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--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: 8px;
}

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


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

@font-face {
	font-family: "iransans-regular";
	src: url("//kingwood.pw/new/wp-content/uploads/2025/12/IRANSansXFaNum-Regular.woff2") format("woff2"), 
url("//kingwood.pw/new/wp-content/uploads/2025/12/IRANSansXFaNum-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "iransans-bold";
	src: url("//kingwood.pw/new/wp-content/uploads/2025/12/IRANSansXFaNum-Bold.woff2") format("woff2"), 
url("//kingwood.pw/new/wp-content/uploads/2025/12/IRANSansXFaNum-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}

.full-width {
        left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw !important;
	position: relative;
	right: 50%;
	width: 100vw;
}
/*.single_add_to_cart_button {display:none;}*/
/*.quantity  {display:none!important;}*/
.archive .title-size-default {
	padding: 120px 0;
}
#gform_submit_button_1 {display:none;}
#input_1_10 {text-align:right;}
.woocommerce-Price-amount {color:black; font-size:16px;}
body.single-product .woocommerce-Price-amount {
    color: 	#B8860B;
    font-size: 20px;
}
@media only screen and (max-width: 1200px) {
  .eactc-main-container {
    margin-bottom: 65px;
  }
}
.custom-button-class{
	background-color: #B8860B;
	padding:10px;
	color:white;
	display:block;
	border-radius:5px;
}
.wrapp-buttons {display:none;}
.woocommerce-loop-product__title {color:black; }
#gform_submit_button_3 , #gform_submit_button_4 {display:none;}
#input_3_1 , #input_4_1 {text-align:right;}
#gform_submit_button_5 {background-color:	#B8860B;}
.blinking{
    animation:blinkingText 1.2s infinite;
}
@keyframes blinkingText{
    0%{   
	}
    100%{   color: #CF0A0A;    }
}
.comment-text {
	color:black;
	font-size:16px;
	line-height:2.5em;
}
.wd-term-desc {
font-size:16px;
color:#1F1F1F;
line-height:2.5em;
text-align:justify;
}
.wd-term-desc h2 {text-align:justify; line-height:2.5em;}
.custom-button-class:hover {color:black;}
.woocommerce-Reviews-title {font-size:23px!important; font-weight:700; color:black;}
.custom-button-class {font-weight:700;}
.term-description {
        
				margin-top :25px;
	      line-height: 2.7em; font-size : 14px !important; direction:rtl; text-align:justify; color:#0F0F0F;
    }
.wd-term-desc {
				border: solid 1px #ededed;
     	  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
        border-radius: 15px;
        
				margin-top :25px;
			  padding:30px;
	      line-height: 2.7em; font-size : 16px !important; direction:rtl; text-align:justify; color:#0F0F0F;
}
                        .wd-term-desc {
                                    position: relative;
                                    max-height: 440px;
                                    overflow: hidden;
                                    border: solid 1px #eeeeee;
                                    
                                    border-radius: 15px;
                                    padding: 15px 25px;
                                    transition: max-height 0.3s;
																		margin:15px;
                                }

                                .wd-term-desc.expand {
                                    max-height: 100000px !important;
                                    transition: max-height 0.35s ease-in-out;
                                }

                                .term-description-link {
                                    position: absolute;
                                    bottom: 0px;
                                    right: 0;
                                    display: block;
                                    width: 100%;
                                    height: 90px;
                                    text-align: center;
                                    color: #532E1C;
                                    font-weight: 700;
                                    font-size: 13px;
                                    padding-top: 55px;
                                    background-color: #ffffff00;
                                    background-image: linear-gradient(to bottom, #ffffff00, white 60%);
                                    cursor: pointer;
                                }

                                .term-description-link.expand {
/*                                     position: relative; */
                                    background-image: none;
                                    padding-top: 10px;
                                    height: 40px;
                                }

                                .term-description-link:after {
                                    content: "ادامه مطلب";
                                    padding: 2px 5px;
                                    color:#B8860B;
                                    border-radius: 4px;
                                    transition: all .4s;
                                }

                                .term-description-link.expand:after {
                                    content: " بستن";
                                }

                                .term-description-link:hover:after {
                                    color: black;
                                    padding: 5px 10px;
                                    border-bottom: none;
                                   background: #f1f1f1;
                                   border-radius: 20px;                         
}
/* blog setting */
/* استایل‌های عمومی برای تمام پاراگراف‌های داخل .post */
.post p {
    line-height: 2.5em;
    font-size: 17px !important;
    direction: rtl;
    text-align: justify;
    color: #0F0F0F;
}
.post .entry-content.wd-post-desc p {
    line-height: initial;
    font-size: initial !important; 
    direction: initial; 
    text-align: center;
    color: rgb(119, 119, 119); 
}
.read-more-section {
	line-height: initial!important; 
    font-size: initial !important; 
    direction: initial!important; 
    text-align: center!important; 
    color: initial!important; 
}
.post ul {line-height: 2.5em; font-size : 17px !important; direction:rtl; text-align:justify; color:#0F0F0F}
.post ol {line-height: 2.5em; font-size : 17px !important; direction:rtl; text-align:justify; color:#0F0F0F}
.article-body-container .entry-content {font-size : 16px !important;}
.woocommerce-breadcrumb {font-size:15px;}
.post h2 {text-align:justify; line-height:2em; color:#0F0F0F;}
.post h3:not(.wd-entities-title) {text-align:justify; line-height:2em; color:#0F0F0F;}
.post h4 {text-align:justify; line-height:2em; color:#0F0F0F;}
.post {
  text-underline-offset: 0.5em;
}
.page {
  text-underline-offset: 0.5em;
}
.product-label.onsale {
	background-color:#e1312e!important;
}
.wd-sticky-social {
    display: flex!important;
}
/* Instagram Gradient Background */
.wd-social-icons .social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* WhatsApp Background Color */
.wd-social-icons .social-whatsapp {
  background-color: #25D366;
}

/* Optional: Changing icon color to white for better contrast */
.wd-social-icons .social-instagram .wd-icon,
.wd-social-icons .social-whatsapp .wd-icon {
  color: #ffffff; /* This makes the icon itself white */
}
/********************* استایل دهی دکمه سفارش تلفنی در کارت محصول***********************/
/*
 * استایل دهی جذاب‌تر دکمه سفارش تلفنی - (اصلاحیه Border-Radius)
 */

/* 1. استایل پایه */
.woocommerce .wd-products .wd-product .product-wrapper a.button.phone-order-button {
    color: 	#8B4513 !important; 
    background-color: transparent !important; 
    
    /* --- تغییر در اینجا --- */
    /* برای اعمال صحیح border-radius، از حاشیه تک‌رنگ استفاده می‌کنیم */
    border: 2px solid	#8B4513 !important; 
    
    /* تنظیمات ظاهری */
    padding: 8px 15px !important;    
    line-height: 1.5 !important;    
    text-align: center !important;  
    font-weight: bold !important;   
    border-radius: 10px !important; /* گردی گوشه‌ها در حالت عادی */

    /* ایجاد فاصله */
    margin-top: 10px !important; 
    
    /* تنظیمات عرض */
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important; 
    
    /* حذف افکت‌های پیش‌فرض */
    box-shadow: none !important;
    text-shadow: none !important;
    
    /* انیمیشن نرم */
    transition: all 0.3s ease !important;
}

/* استایل آیکون SVG */
.woocommerce .wd-products .wd-product .product-wrapper a.button.phone-order-button svg.phone-icon-svg {
    margin-left: 8px; 
    width: 1em;       
    height: 1em;
    vertical-align: -0.15em; 
}

/* 2. استایل هاور */
.woocommerce .wd-products .wd-product .product-wrapper a.button.phone-order-button:hover {
    background-color: #8B4513 !important; 
    color: #ffffff !important; 
    border-color:	#8B4513 !important; 
    
    /* افزودن سایه و افکت */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}


/********************************* زیباسازی منوی پیشخوان کاربری ******************************/

/* 1. استایل کلی محفظه منو */
.woocommerce-MyAccount-navigation {
    background-color: #ffffff; /* پس‌زمینه سفید */
    border-radius: 12px;         /* گرد کردن گوشه‌ها */
    padding: 15px;               /* فاصله داخلی بیشتر */
    box-shadow: 0 6px 25px rgba(0,0,0,0.08); /* سایه واضح‌تر */
    border: 1px solid #e9e9e9; /* حاشیه ملایم */
}

/* 2. ایجاد فاصله بین آیتم‌های منو */
.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 8px; /* فاصله بیشتر بین دکمه‌ها */
}

/* 3. استایل هر دکمه (لینک) */
.woocommerce-MyAccount-navigation ul li a {
    display: block; /* تمام عرض والد را بگیرد */
    padding: 14px 20px; /* پدینگ داخلی برای بزرگتر شدن دکمه */
    border-radius: 10px; /* گرد کردن گوشه دکمه‌ها */
    font-weight: 500;   /* ضخامت فونت */
    color: #444;       /* رنگ متن کمی تیره‌تر */
    transition: all 0.25s ease-in-out; /* انیمیشن نرم‌تر */
    border: 1px solid transparent; /* برای حفظ فضا در هاور */
}

/* 4. استایل دکمه "فعال" (صفحه‌ای که در آن هستید) */
.woocommerce-MyAccount-navigation ul li.is-active > a {
    background-color: var(--wd-primary-color); /* استفاده از رنگ اصلی قالب (سبز) */
    color: #ffffff; /* متن سفید */
    font-weight: 600; /* کمی ضخیم‌تر */
    box-shadow: 0 4px 10px rgba(100, 185, 63, 0.4); /* سایه سبز رنگ ملایم */
    border-color: var(--wd-primary-color);
}

/* 5. استایل هاور (رفتن ماوس روی دکمه‌های غیرفعال) */
.woocommerce-MyAccount-navigation ul li:not(.is-active) a:hover {
    background-color: #f5f5f5; /* پس‌زمینه خیلی روشن در هاور */
    color: #111; /* رنگ متن تیره‌تر در هاور */
    border-color: #ddd; /* حاشیه ملایم در هاور */
    transform: translateX(-3px); /* حرکت جزیی به چپ در هاور */
}
/*************************** مخفی کردن آیتم‌های دانلودها و شیوه پرداخت در منوی حساب کاربری *************************/
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods {
    display: none !important;
}
/************* مخفی کردن متن خوشامدگویی و توضیحات در پیشخوان حساب کاربری********************/
body.woocommerce-dashboard .woocommerce-MyAccount-content > p:nth-of-type(1),
body.woocommerce-dashboard .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none !important;
}
/* --- مدرن‌سازی نوار اطلاع "خالی بودن" + لینک‌های دسته --- */

/* 1. استایل کلی نوار */
.woocommerce-MyAccount-content .woocommerce-info {
    background-color: #f7f7f7;
    color: #555;
    border: none;
    border-top: 4px solid var(--wd-primary-color);
    border-radius: 10px;
    padding: 30px 40px 40px 40px; /* افزایش پدینگ پایین برای جا دادن دکمه‌ها */
    text-align: center;
    max-width: 600px;
    width: auto;
    margin: 40px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    font-size: 1.1em;
    display: block;
    position: relative; /* برای آیکون */
}

/* 2. مخفی کردن لینک پیش‌فرض "مرور محصولات" */
.woocommerce-MyAccount-content .woocommerce-info a.button,
.woocommerce-MyAccount-content .woocommerce-info a:not(.bardiya-cat-link) { /* لینک پیش فرض رو مخفی کن */
    display: none !important;
}

/* 3. استایل آیکون پیش‌فرض */
.woocommerce-MyAccount-content .woocommerce-info::before {
    color: var(--wd-primary-color);
    top: 30px;
    font-size: 1.3em;
    /* display: none !important; /* اگر نمی‌خوای آیکون باشه */
}

/* 4. استایل محفظه لینک‌های جدید */
.bardiya-product-links {
    margin-top: 25px; /* فاصله از متن بالا */
    display: flex;
    flex-wrap: wrap; /* برای شکستن در موبایل */
    justify-content: center; /* دکمه‌ها وسط چین */
    gap: 12px; /* فاصله بین دکمه‌ها */
}

/* 5. استایل هر دکمه (لینک دسته) */
.bardiya-cat-link {
    display: inline-block;
    background-color: var(--wd-primary-color); /* رنگ اصلی قالب */
    color: #ffffff !important; /* رنگ متن سفید */
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9em; /* کمی کوچکتر از متن اصلی */
    font-weight: 500;
    text-decoration: none !important; /* حذف زیرخط */
    transition: all 0.25s ease;
    border: 1px solid var(--wd-primary-color);
}

/* 6. استایل هاور دکمه‌ها */
.bardiya-cat-link:hover {
    background-color: #ffffff; /* پس‌زمینه سفید */
    color: var(--wd-primary-color) !important; /* متن به رنگ اصلی */
    transform: translateY(-2px); /* کمی بالا بره */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/*********************تغییر فونت پاپ آپ علافه مندی ها**********************/
.bebanstore-toast {font-family:inherit!important;}

/********************* مخفی کردن بخش آدرس صورتحساب در صفحه "آدرس‌های من**********************/

.woocommerce-MyAccount-content .woocommerce-Addresses .u-column1, /* ستون نمایش آدرس صورتحساب */
.woocommerce-MyAccount-content .woocommerce-address-fields .u-column1, /* ستون فرم ویرایش صورتحساب */
.woocommerce-MyAccount-content h3#billing_address_heading, /* عنوان در فرم ویرایش */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column1 h3 /* عنوان در نمایش کلی */ {
    display: none !important;
}

/* 2. تمام-عرض کردن ستون آدرس حمل و نقل (چون تنها ستون باقی‌مانده است) */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2,
.woocommerce-MyAccount-content .woocommerce-address-fields .u-column2 {
    width: 100% !important; /* عرض کامل */
    float: none !important; /* حذف شناوری */
    padding-right: 0 !important; /* حذف پدینگ اضافی سمت راست (مخصوص rtl) */
    padding-left: 0 !important; /* حذف پدینگ اضافی سمت چپ (برای اطمینان) */
}

/********** استایل کامل صفحه آدرس‌های من (مخفی کردن صورتحساب + زیباسازی و وسط‌چین کردن حمل و نقل)************/

/* 1. مخفی کردن ستون آدرس صورتحساب */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column1 {
    display: none !important;
}

/* 2. استفاده از Flexbox برای وسط‌چین کردن ستون باقی‌مانده */
.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: flex;
    justify-content: center; /* وسط‌چین کردن ستون */
    align-items: flex-start;
    width: 100%;
}

/* 3. استایل مدرن برای باکس آدرس حمل و نقل */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 35px 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
    border: 1px solid #f0f0f0;
    max-width: 600px;
    width: 100%;
    float: none !important;
    box-sizing: border-box;
    margin: 30px 0;
}

/* 4. استایل و وسط‌چین کردن هدر باکس (شامل عنوان و دکمه) */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 header.woocommerce-Address-title {
    text-align: center !important; /* وسط‌چین کردن محتوای داخل هدر */
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px; /* فاصله زیر هدر */
}

/* 4.1 استایل عنوان (داخل هدر) */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 header.woocommerce-Address-title h2 {
    font-size: 1.5em;
    color: #333;
    margin: 0 0 15px 0; /* فقط فاصله پایین */
    padding: 0;
    border: none;
    width: 100%;
}

/* 5. استایل دکمه "افزودن/ویرایش" (داخل هدر) */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 header.woocommerce-Address-title .edit {
    display: inline-block; /* برای وسط‌چین شدن توسط والد */
    background-color: var(--wd-primary-color);
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 header.woocommerce-Address-title .edit:hover {
    background-color: #fff;
    color: var(--wd-primary-color) !important;
    border-color: var(--wd-primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* 6. استایل متن آدرس یا پیام "شما هنوز..." (تگ address) */
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 address {
     text-align: center !important; /* وسط‌چین کردن متن آدرس */
     line-height: 1.8;
     color: #555;
     font-size: 1.05em;
     margin: 0; /* حذف مارجین اضافی */
     padding: 10px 0; /* کمی فاصله عمودی */
     font-style: normal; /* حذف ایتالیک پیش‌فرض تگ address */
}


/* 7. ریسپانسیو سازی برای موبایل */
@media (max-width: 767px) {
    .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 {
        padding: 25px 30px;
        margin: 20px 15px;
    }

    .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 header.woocommerce-Address-title h2 {
        font-size: 1.3em;
    }

     .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 header.woocommerce-Address-title {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 header.woocommerce-Address-title .edit {
        padding: 10px 20px;
    }
}
/****************************تغییر رنگ دکمه سبد خرید پاپ آپ*************************/
.bebanstore-cart-popup-button {background-color:#64b93f;}
/* مخفی کردن دکمه "تغییر آدرس" در صفحه سبد خرید */
.woocommerce-cart .cart_totals .shipping-calculator-button {
    display: none !important;
}
/****************************زیباسازی کامل صفحه تشکر از خرید (Order Received)*************************/
body.woocommerce-order-received {
    background-color: #f9f9f9;
}

/* مخفی کردن بخش‌های تکراری و پیش‌فرض ووکامرس */
body.woocommerce-order-received .woocommerce-order-overview, /* لیست اولی (تکراری) */
body.woocommerce-order-received .woocommerce-order-details > h2, /* عنوان "مشخصات سفارش" */
body.woocommerce-order-received .woocommerce-order-details > table.order_details, /* جدول سفارش (تکراری) */
body.woocommerce-order-received .woocommerce-customer-details { /* بخش آدرس‌ها (تکراری) */
    display: none !important;
}

/* ---------------------------------- */
/* ۲. کادر پیام "متشکریم" + آیکون
/* ---------------------------------- */

body.woocommerce-order-received .woocommerce-thankyou-order-received {
    background-color: #ffffff;
    color: #444; /* رنگ متن ملایم‌تر */
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 40px; /* پدینگ بیشتر برای جا دادن آیکون */
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    max-width: 800px;
    margin: 30px auto 20px auto; /* مارجین پایین کم شد تا دکمه‌ها نزدیک باشن */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border-top: 4px solid var(--wd-primary-color, #8bc34a);
    position: relative;
}

/* آیکون تایید در بالای کادر "متشکریم" */
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    /* حذف تنظیمات فونت آیکون قبلی */
    font-family: unset;
    line-height: unset;
    
    /* اضافه کردن SVG به عنوان پس‌زمینه */
    content: ''; /* برای نمایش ::before الزامی است */
    display: block;
    width: 80px;  /* اندازه آیکون */
    height: 80px; /* اندازه آیکون */
    margin: 0 auto 25px auto; /* وسط‌چین کردن و فاصله از متن */
    
    /* کد SVG چک‌مارک سبز (با رنگ اصلی قالب) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238bc34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    /* ریست کردن استایل‌های باقی‌مانده */
    top: auto;
    right: auto;
    position: relative;
    transform: none;
    color: transparent; /* رنگ خود ::before رو مخفی می‌کنیم */

    display: block; /* برای قرار گرفتن در بالای متن */
    font-size: 4.5em; /* اندازه بزرگ آیکون */
    color: var(--wd-primary-color, #8bc34a); /* رنگ سبز */
    margin: 0 auto 25px auto; /* وسط‌چین کردن و فاصله از متن */
    line-height: 1;
    /* ریست کردن استایل‌های پیش‌فرض */
    top: auto;
    right: auto;
    position: relative;
    transform: none;
}

/* ---------------------------------- */
/* ۳. دکمه‌های "پیگیری سفارش" و "پیشخوان"
/* ---------------------------------- */

.wd-order-received-actions {
    text-align: center;
    margin: 0 auto 40px auto; /* فاصله از پایین و وسط‌چین */
    max-width: 800px;
    display: flex;
    flex-wrap: wrap; /* برای ریسپانسیو */
    justify-content: center;
    gap: 15px; /* فاصله بین دکمه‌ها */
}

/* استایل دکمه‌های اصلی و ثانویه */
.wd-order-received-actions .wd-action-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

/* دکمه اصلی (سبز) */
.wd-order-received-actions .wd-action-btn-primary {
    background-color: var(--wd-primary-color, #8bc34a);
    color: #fff !important;
    border-color: var(--wd-primary-color, #8bc34a);
}
.wd-order-received-actions .wd-action-btn-primary:hover {
    background-color: #fff;
    color: var(--wd-primary-color, #8bc34a) !important;
}

/* دکمه ثانویه (سفید/خاکستری) */
.wd-order-received-actions .wd-action-btn-secondary {
    background-color: #fff;
    color: #555 !important;
    border: 2px solid #e0e0e0;
}
.wd-order-received-actions .wd-action-btn-secondary:hover {
    background-color: #f9f9f9;
    color: #111 !important;
    border-color: #ccc;
}

/* ---------------------------------- */
/* ۴. کادر "خلاصه سفارش" (افزونه Beban)
/* ---------------------------------- */

body.woocommerce-order-received .beban-order-summary {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9e9e9;
    max-width: 800px;
    margin: 0 auto 40px auto; /* وسط‌چین کردن */
    padding: 35px 40px;
    box-sizing: border-box;
}

.beban-summary-section {
    border-bottom: 1px dashed #eee;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.beban-summary-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* چیدمان گرید برای آیتم‌های خلاصه */
.beban-summary-boxs {
    display: grid;
    /* ریسپانسیو: در دسکتاپ 3 ستونه، در تبلت 2 ستونه، در موبایل 1 ستونه */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; /* فاصله بین آیتم‌ها */
}

.beban-summary-box {
    background: #fdfdfd;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

/* باکس آدرس (تمام عرض) */
.beban-summary-box.beban-info-address {
    grid-column: 1 / -1; /* تمام عرض گرید را بگیرد */
    line-height: 1.7;
}

.beban-summary-label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.beban-summary-value {
    font-weight: 400;
    color: #555;
    font-size: 1em;
}

/* برجسته کردن قیمت */
.beban-summary-value .woocommerce-Price-amount {
    font-weight: 700;
    color: var(--wd-primary-color, #8bc34a);
    font-size: 1.1em;
}

/* ---------------------------------- */
/* ۵. کادر "مرسولات" (محصولات)
/* ---------------------------------- */

body.woocommerce-order-received .beban-order-products {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9e9e9;
    max-width: 800px;
    margin: 0 auto 40px auto; /* وسط‌چین کردن */
    padding: 35px 40px;
    box-sizing: border-box;
}

.beban-order-title {
    text-align: center;
    font-size: 1.6em !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 30px !important;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.beban-product-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}
.beban-product-card:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.beban-product-image img {
    border-radius: 10px;
    width: 75px;
    height: 75px;
    object-fit: cover;
    border: 1px solid #eee;
}

.beban-product-details {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr auto; /* چیدمان دو ستونه (نام و قیمت) */
    align-items: center;
}

.beban-product-name a {
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
    text-decoration: none;
}
.beban-product-name a:hover {
    color: var(--wd-primary-color, #8bc34a);
}

.beban-product-quantity {
    font-size: 0.95em;
    color: #777;
    grid-column: 1 / 2; /* زیر اسم محصول */
    margin-top: 5px;
}

.beban-product-total {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    grid-column: 2 / 3; /* ستون دوم */
    grid-row: 1 / 3; /* هر دو ردیف */
    text-align: left;
    padding-right: 15px;
}

/* ---------------------------------- */
/* ۶. ریسپانسیو
/* ---------------------------------- */

@media (max-width: 600px) {
    /* تک ستونه شدن آیتم‌های خلاصه */
    .beban-summary-boxs {
        grid-template-columns: 1fr;
    }
    
    /* پدینگ کمتر کارت‌ها در موبایل */
    body.woocommerce-order-received .beban-order-summary,
    body.woocommerce-order-received .beban-order-products,
    body.woocommerce-order-received .woocommerce-thankyou-order-received {
        padding: 20px 25px;
    }

    /* دکمه‌ها زیر هم در موبایل */
    .wd-order-received-actions {
        flex-direction: column;
        gap: 12px;
    }

    .wd-order-received-actions .wd-action-btn {
        width: 100%;
        text-align: center;
    }
}
/* مخفی کردن "دانلودها" و "روش‌های پرداخت" 
  از منوی کشویی آیکون حساب کاربری در هدر 
*/
.wd-header-my-account .woocommerce-MyAccount-navigation-link--downloads,
.wd-header-my-account .woocommerce-MyAccount-navigation-link--payment-methods {
    display: none !important;
}
/* مخفی کردن باکس‌های دانلود و روش پرداخت در پیشخوان حساب کاربری */
.wd-my-account-links .downloads-link,
.wd-my-account-links .payment-methods-link {
    display: none !important;
}