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

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

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//bardiyawood.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//bardiyawood.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//bardiyawood.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//bardiyawood.com/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: #777777;
	--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: #333333;
	--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: #333;
	--wd-widget-title-font-size: 16px;
	--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: rgb(101,183,65);
	--wd-alternative-color: rgb(255,181,52);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(67,121,242);
	--wd-link-color-hover: rgb(30,115,190);
}
.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: #ffffff;
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(249,249,249);
	background-image: none;
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.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: #0a0a0a;
}

@font-face {
	font-family: "iransans-regular";
	src: url("//bardiyawood.com/wp-content/uploads/2024/11/IRANSansWebFaNum.woff2") format("woff2"), 
url("//bardiyawood.com/wp-content/uploads/2024/11/IRANSansWebFaNum.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "iransans-bold";
	src: url("//bardiyawood.com/wp-content/uploads/2024/05/IRANSansXFaNum-Bold.woff2") format("woff2"), 
url("//bardiyawood.com/wp-content/uploads/2024/05/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: #65b741;
    font-size: 20px;
}
@media only screen and (max-width: 1200px) {
  .eactc-main-container {
    margin-bottom: 65px;
  }
}
.custom-button-class{
	background-color: #65b741;
	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: #65B741;}
.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:#65b741;
                                    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: #6FB54D !important; 
    background-color: transparent !important; 
    
    /* --- تغییر در اینجا --- */
    /* برای اعمال صحیح border-radius، از حاشیه تک‌رنگ استفاده می‌کنیم */
    border: 2px solid #6FB54D !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: #6FB54D !important; 
    color: #ffffff !important; 
    border-color: #6FB54D !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: black; /* متن سفید */
    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;
}
/**************************** استایل پاپ‌آپ آیفون ******************************/
.bw-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    z-index: 99999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.bw-modal-overlay.is-visible { opacity: 1; visibility: visible; }
.bw-modal-box {
    background: #fff; width: 90%; max-width: 800px;
    border-radius: 20px; overflow: hidden; position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: row;
}
.bw-modal-overlay.is-visible .bw-modal-box { transform: scale(1); }
.bw-close-btn {
    position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.8);
    border: none; font-size: 28px; line-height: 1; cursor: pointer;
    z-index: 10; width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #333;
    transition: all 0.2s;
}
.bw-close-btn:hover { background: #fff; transform: rotate(90deg); }
.bw-content-wrapper { display: flex; width: 100%; }
.bw-visual { width: 45%; position: relative; background: #f0f0f0; }
.bw-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bw-badge {
    position: absolute; top: 20px; right: 20px;
    background: #d4af37; color: #000; padding: 5px 12px;
    font-weight: bold; border-radius: 30px; font-size: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.bw-details { width: 55%; padding: 40px; text-align: right; display: flex; flex-direction: column; justify-content: center; }
.bw-title { font-size: 24px; font-weight: 800; margin-bottom: 15px; color: #333; line-height: 1.4; font-family: inherit; }
.bw-title .highlight { color: #d4af37; }
.bw-desc { font-size: 15px; color: #666; margin-bottom: 30px; line-height: 1.6; }
.bw-cta-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white; text-decoration: none; padding: 15px 30px;
    border-radius: 12px; font-weight: bold; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}
.bw-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(220, 39, 67, 0.4); color: white; }
.bw-footer-text { margin-top: 15px; font-size: 12px; color: #999; text-align: center; }
@media (max-width: 768px) {
    .bw-modal-box { flex-direction: column; width: 95%; max-height: 90vh; overflow-y: auto; }
    .bw-content-wrapper { flex-direction: column; }
    .bw-visual { width: 100%; height: 200px; }
    .bw-details { width: 100%; padding: 25px; }
    .bw-title { font-size: 20px; }
}
.trigger-iphone-popup {
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
    z-index: 1001; 
    position: relative; 
}
.trigger-iphone-popup a {
    pointer-events: auto !important;
}
/*******************استایل کلی کانتینر لیست قیمت خظی کارت محصولات**********************/
.bardiya-price-list {
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    margin-top: 10px;
    width: 100%;
}

.b-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.b-label {
    white-space: nowrap;
    color: #555;
    font-weight: 500;
}

.b-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 5px;
    position: relative;
    top: -4px;
}

.b-value {
    white-space: nowrap;
    color: #000;
    font-weight: bold;
}

.b-value .woocommerce-Price-amount {
    color: #333;
}
/***********************************************************/
.wd-swatches-product .wd-swatch {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent;
}

.wd-swatches-product .wd-swatch-text {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 45px;
    padding: 0 20px;
    margin: 0 5px 10px 0;
    background-color: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.wd-swatches-product .wd-swatch-text:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.wd-swatches-product .wd-swatch.active .wd-swatch-text {
    background-color: #1f2937 !important;
    color: #ffffff !important;
    border-color: #1f2937 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.wd-swatches-product .wd-swatch.disable-swatch .wd-swatch-text {
    background-color: #f9fafb;
    color: #d1d5db;
    text-decoration: line-through;
    cursor: not-allowed;
    border-color: #f3f4f6;
}

.wd-swatches-product .wd-swatch.disable-swatch:after {
    display: none;
}

.variations .label {
    margin-bottom: 10px;
    display: block;
    font-weight: bold;
    color: #111;
}

/*********************** تغییر آیکون روبیکا و بله **************************/
/* تغییر آیکون وی کی به بله */
.wd-social-icons .wd-social-icon.social-vk {
    background-image: url('https://bardiyawood.com/wp-content/uploads/2026/04/bale.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
		background-color:white;
    color: transparent !important; /* مخفی کردن آیکون قبلی */
}
.wd-social-icons .wd-social-icon.social-vk i {
    display: none !important;
}

/* تغییر آیکون اوکی به روبیکا */
.wd-social-icons .wd-social-icon.social-ok {
    background-image: url('https://bardiyawood.com/wp-content/uploads/2026/04/rubica.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
		background-color:white;
    color: transparent !important;
}
.wd-social-icons .wd-social-icon.social-ok i {
    display: none !important;
}
/*************** استایل های پاپ آپ علاقه مندی *****************/
/* Custom Wishlist Toast Notification */
#custom-wishlist-toast {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background: #ffffff;
    color: #333333;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 999999;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    border-right: 4px solid #10b981; /* خط سبز رنگ موفقیت */
    direction: rtl;
    font-family: inherit;
}

#custom-wishlist-toast.show-toast {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.toast-message-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.toast-success-icon {
    color: #10b981;
    width: 22px;
    height: 22px;
    transition: color 0.3s ease;
}

.toast-view-btn {
    background: #f3f4f6;
    color: #374151;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toast-view-btn:hover {
    background: #e5e7eb;
    color: #111827;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* استایل حالت حذف شدن (Toggle) */
#custom-wishlist-toast.toast-remove {
    border-right-color: #ef4444; /* خط قرمز */
}
#custom-wishlist-toast.toast-remove .toast-success-icon {
    color: #ef4444; /* آیکون قرمز */
}

/* رسپانسیو */
@media (max-width: 768px) {
    #custom-wishlist-toast {
        right: 15px;
        left: 15px;
        bottom: -100px;
        padding: 12px 15px;
        gap: 10px;
    }
    #custom-wishlist-toast.show-toast {
        bottom: 20px;
    }
    .toast-message-wrapper {
        font-size: 13px;
    }
}
/****************** استایل های صفحه سبد خرید ********************/
/* ====================================================
   استایل‌های مدرن و مینیمال سبد خرید 
   (بدون تغییر ابعاد، با خطوط جداکننده پیش‌فرض وودمارت)
==================================================== */

/* 1. استایل‌دهی به بدنه اصلی جدول محصولات */
.woocommerce table.shop_table.cart {
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(101, 183, 65, 0.08); /* سایه ملایم */
    background-color: #FBF6EE; /* پس‌زمینه سازمانی */
  	
}

/* هدر جدول */
.woocommerce table.shop_table.cart thead th {
    background-color: #C1F2B0; /* سبز روشن */
    border-bottom: none; /* حذف بردر پیش‌فرض زیر هدر برای زیبایی بیشتر */
    color: #2c541c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. استایل تصویر محصول (افکت بصری) */
.woocommerce table.shop_table.cart td.product-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.woocommerce table.shop_table.cart td.product-thumbnail img:hover {
    transform: scale(1.05);
}

/* 3. ردیف اکشن‌ها (کوپن و بروزرسانی سبد) */
.woocommerce table.shop_table.cart .wd-cart-action-row td {
    background-color: #FBF6EE;
}

.cart-actions .coupon input.input-text {
    border-radius: 6px;
    background-color: #ffffff;
    color: #333;
    transition: all 0.3s ease;
}

.cart-actions .coupon input.input-text:focus {
    outline: none;
    border-color: #65B741;
    box-shadow: 0 0 0 2px rgba(101, 183, 65, 0.2);
}

/* 4. باکس جمع کل سبد خرید (فاکتور) */
.woocommerce .cart-totals-inner {
    background-color: #FBF6EE;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(101, 183, 65, 0.08);
}

.woocommerce .cart-totals-inner h2 {
    color: #2c541c;
}

.woocommerce .cart-totals-inner table tr.order-total th,
.woocommerce .cart-totals-inner table tr.order-total td {
    color: #333;
}

/* رنگ قیمت نهایی فاکتور */
.woocommerce .cart-totals-inner table tr.order-total .woocommerce-Price-amount {
    color: #65B741; /* برجسته‌سازی با رنگ مکمل */
    text-shadow: 0px 1px 1px rgba(255, 181, 52, 0.2);
}

/* رنگ قیمت محصولات در جدول */
.woocommerce table.shop_table.cart .woocommerce-Price-amount {
    color: #65B741;
    font-weight:700;
}

/* 5. دکمه تسویه حساب */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background-color: #65B741; /* سبز اصلی */
    color: #ffffff;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(101, 183, 65, 0.3);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #FFB534; /* تغییر به رنگ مکمل در هاور */
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 181, 52, 0.4);
}
.quantity {
 background-color:white!important; 
}
.coupon button {
 background-color:#FFB534!important;
}
.cart-subtotal .woocommerce-Price-amount{
  color:#65B741!important;
}
/* ====================================================
   تنظیمات پدینگ جدول (جلوگیری از چسبیدن محتوا به لبه‌ها)
==================================================== */

/* تنظیمات دسکتاپ و تبلت (ساختار استاندارد جدول) */
@media (min-width: 768px) {
    /* ایجاد فاصله از لبه راست جدول (چون سایت RTL است) */
    .woocommerce table.shop_table.cart th:first-child,
    .woocommerce table.shop_table.cart td:first-child {
        padding-right: 30px !important; 
    }

    /* ایجاد فاصله از لبه چپ جدول */
    .woocommerce table.shop_table.cart th:last-child,
    .woocommerce table.shop_table.cart td:last-child {
        padding-left: 30px !important; 
    }

    /* پدینگ ردیف پایین (بخش کوپن و بروزرسانی سبد) */
    .woocommerce table.shop_table.cart .wd-cart-action-row td {
        padding-right: 30px !important;
        padding-left: 30px !important;
        padding-bottom: 25px !important;
    }
}

/* تنظیمات موبایل (جایی که ساختار جدول ریسپانسیو و روی هم چیده می‌شود) */
@media (max-width: 767px) {
   .shop_table_responsive  {
  padding:15px;
		}
}
/*************************** استایل های فرم صفحه تسویه حساب *************************/
.woocommerce-checkout form.checkout .woocommerce-input-wrapper input[type="text"],
.woocommerce-checkout form.checkout .woocommerce-input-wrapper input[type="email"],
.woocommerce-checkout form.checkout .woocommerce-input-wrapper input[type="tel"],
.woocommerce-checkout form.checkout .woocommerce-input-wrapper textarea,
.woocommerce-checkout form.checkout .select2-selection {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #e5e5e5 !important; /* رنگ خنثی پیش‌فرض برای حاشیه */
    transition: all 0.3s ease !important;
    color: #333;
}
/* افکت فوکوس روی فیلدها (روشن شدن با هاله سبز سازمانی) */
.woocommerce-checkout form.checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout form.checkout .woocommerce-input-wrapper textarea:focus,
.woocommerce-checkout form.checkout .select2-container--open .select2-selection {
    border-color: #65B741 !important;
    box-shadow: 0 0 0 2px rgba(101, 183, 65, 0.2) !important;
    outline: none !important;
}
@media (max-width: 767px) {
.woocommerce-form-coupon-toggle {
  margin-top:30px;
	}
}
.woocommerce-privacy-policy-text {
 display:none; 
}
/* استایل دکمه‌های رادیویی حمل و نقل در تسویه حساب */
.woocommerce-checkout #order_review ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout #order_review ul#shipping_method li {
    margin-bottom: 10px;
}

.woocommerce-checkout #order_review ul#shipping_method input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-left: 8px; /* فاصله از متن در سایت‌های راست‌چین */
    vertical-align: middle;
    cursor: pointer;
}

.woocommerce-checkout #order_review ul#shipping_method label {
    color: #444;
    cursor: pointer;
    font-size: 15px;
    vertical-align: middle;
}
/******************* استایل های مراحل خرید سبد خرید و تسویه حساب ******************/
.bw-steps-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* اسکرول نرم در iOS */
    margin-bottom: 40px;
    padding-bottom: 10px; /* فضای خالی برای نوار اسکرول در موبایل */
    direction: rtl;
}

/* مخفی‌سازی و زیباسازی اسکرول‌بار مرورگر */
.bw-steps-wrapper::-webkit-scrollbar {
    height: 4px;
}
.bw-steps-wrapper::-webkit-scrollbar-thumb {
    background-color: #C1F2B0;
    border-radius: 4px;
}

.bw-steps-list {
    display: flex;
    align-items: center;
    justify-content: center; /* وسط‌چین در دسکتاپ */
    min-width: max-content; /* اجبار به اسکرول افقی در عرض‌های کم بدون شکسته شدن متن */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 15px;
}

@media (max-width: 768px) {
    .bw-steps-list {
        justify-content: flex-start; /* تراز از راست در موبایل برای شروع اسکرول */
        padding: 0 15px !important;
    }
}

.bw-step {
    display: flex;
    align-items: center;
    white-space: nowrap !important; /* جلوگیری از دو خطه شدن متن */
    margin: 0 !important;
}

.bw-step a, 
.bw-step > span {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #888;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 50px; /* طراحی کپسولی مدرن */
    background-color: #f7f7f7;
    transition: all 0.3s ease;
}

/* استایل دایره شماره مراحل */
.bw-step .step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* --------------------------------------
   وضعیت 1: مرحله فعال (Active)
-------------------------------------- */
.bw-step.active a, 
.bw-step.active > span {
    background-color: #FBF6EE; /* پس زمینه گرم سازمانی */
    color: #2c541c;
    border: 1px solid #65B741; /* حاشیه سبز سازمانی */
    box-shadow: 0 4px 15px rgba(101, 183, 65, 0.15);
}

.bw-step.active .step-num {
    background-color: #FFB534; /* شماره با رنگ مکمل برای جلب توجه */
    color: #fff;
}

/* --------------------------------------
   وضعیت 2: مرحله تکمیل شده (Completed)
-------------------------------------- */
.bw-step.completed a, 
.bw-step.completed > span {
    background-color: #C1F2B0; /* پس زمینه سبز روشن */
    color: #2c541c;
    border: 1px solid transparent;
}

.bw-step.completed .step-num {
    background-color: #65B741; /* سبز اصلی */
    color: #fff;
}

/* --------------------------------------
   خطوط جداکننده (Divider) بین مراحل
-------------------------------------- */
.bw-step-divider {
    width: 50px;
    height: 3px;
    background-color: #f0f0f0;
    border-radius: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bw-step-divider.completed-divider {
    background-color: #65B741; /* خطوط پس از تکمیل به رنگ سبز در می‌آیند */
}

/******************** استایل باکس اطلاعات تحویل حضوری (UI/UX) ***********************/

/* 1. استایل ردیف جدید (تنظیم فاصله مساوی از بالا و پایین) */
.bw-local-pickup-row td {
    padding: 15px 20px 20px 20px !important; /* اضافه شدن 15px فاصله از بالا */
    border: none !important;
}

/* 2 و 3. استایل باکس اطلاعات (تمام عرض و راست‌چین) */
.bw-local-pickup-info {
    background-color: #ffffff;
    border: 1px solid #C1F2B0;
    border-right: 4px solid #65B741;
    border-radius: 12px;
    padding: 15px;
    font-size: 13px;
    color: #444;
    line-height: 1.8;
    box-shadow: 0 4px 15px rgba(101, 183, 65, 0.05);
    
    /* تنظیمات جدید برای تمام عرض شدن و چینش متن */
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    text-align: right !important;
    direction: rtl !important;
    
    /* اعمال انیمیشن هنگام ظاهر شدن */
    animation: fadeInPickupBox 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bw-local-pickup-info p {
    margin: 0 0 5px 0 !important;
}

.bw-local-pickup-info p:last-child {
    margin: 0 !important;
}

.bw-local-pickup-info strong {
    color: #2c541c;
}

/* انیمیشن نرم برای ظاهر شدن باکس */
@keyframes fadeInPickupBox {
    from { 
        opacity: 0; 
        transform: translateY(-8px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* مخفی سازی آدرس مقصد در سبد خرید در صورت نیاز */
.woocommerce-cart .hide-shipping-destination .woocommerce-shipping-destination {
    display: none !important;
}