/* Price million style */

/* .wc-price-number {
    font-size: 1.4rem;
    color: #222;
    font-weight: bold;
} */

.wc-price-unit {
  font-size: 0.825rem !important;
  color: #888 !important;
  font-weight: 500 !important;
  /* padding-right: 5px; */
}

/* Custom product tag style */
.break-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px; /* Adjust gap between tags */
}
.break-tags .tag {
  background-color: #fff2f5; /* Background color of tags */
  color: #db0f40; /* Text color */
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.7rem;
}
.break-tags .tag:hover {
  background-color: #fff2f1; /* Background color on hover */
}


/*  استایل دکمه و فیلد برای بخش کپی لینک با شورتکد [shortlink] */
.shortlink-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    /* margin: 20px 0; */
}

#shortlink-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #E8E8E8;
    background: white;
    border-radius: 8px;
    color: #A3A3A3;
}
#shortlink-input:focus {
    /* border: 2px solid #000; */
    outline: none;
}
.shortlink-wrapper button {
  border: none;
  border-radius: 8px;
}
/*  پایان  --- استایل دکمه و فیلد برای بخش کپی لینک با شورتکد [shortlink] */


/*
code for style product single carousel or slide show
*/
#d_product_slider img.swiper-slide-image {
  height: 270px !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* تنظیم ارتفاع ثابت و object-fit: cover برای Image Carousel */
.elementor-image-carousel .swiper-slide img {
  height: 100%; /* ارتفاع ثابت */
  width: 100%;
  object-fit: cover; /* تصاویر بدون تغییر نسبت ابعاد، داخل کادر قرار بگیرند */
  border-radius: 8px; /* اختیاری: اضافه کردن گوشه‌های گرد */
}

/* Woocommerce table style: */
woocommerce table,
td,
th {
  border: none !important;
  vertical-align: middle !important;
  text-align: right;
}


/* woocomerce information table */
.woocommerce table.shop_attributes th {
    width: 110px !important;
	font-size: 0.75rem;
    color: #757575;
    font-weight: 700;
/*     padding: 8px; */
/*     border-top: 0; */
/*     border-bottom: 1px dotted rgba(0,0,0,.1); */
/*     margin: 0; */
/*     line-height: 1.5; */
}

/* ویرایش مارجین بردکرامب ووکامرس */
.woocommerce .woocommerce-breadcrumb {
    margin: 0 !important;
}


/*   ویرایش بخش نظرات و بررسی ووکامرس */
/* woocommerce product review */
.woocommerce #reviews #comments h2 {
  font-size: 0.85rem;
}

#reviewspan #reply-title {
    font-size: 0.875rem !important;
}

span#reply-title.comment-reply-title{
	 font-size: 0.8rem !important;
	font-weight: 500;
	padding: 16px 0 ;
}


p.form-submit input.submit-comment-button  {
	background-color:white !important;
	color: black !important;
	border-radius: 8px !important;
	border: 1px black solid !important;
}

#comment p.comment-form-comment label {
	font-size: 0.8rem !important;
}

.woocommerce #reviews #comment {
    height: 110px !important;
	border-radius: 8px !important;
}
.woocommerce #reviews #comment p.comment-form-comment textarea {
	font-size: 0.75rem !important;
	line-height: 1.3rem !important;
}

#comments .woocommerce-Reviews-title {
	display: none;
}

#comments p.woocommerce-noreviews {
	font-size: 0.8rem;
	background-color: #fffde8;
	color: #baa809;
	padding: 16px 16px;
}

ol.commentlist {
  padding: 0px;
}
.comment-text {
  margin: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p {
  margin: 0 0 1em;
  font-size: 12px;
}

strong.woocommerce-review__author {
  color: black;
  font-weight: bold;
  font-size: 12px;
}

textarea#comment {
  
}


.comment-form-comment label,
.comment-form-rating label {
	color: gray;
	font-size: 0.75rem;
}
.woocommerce #review_form #respond {
	background: #F5F5F5 !important;
	border-radius: 8px;
	padding: 16px 16px !important;
}


/* label#comment-form-rating-label {
    font-size: 0.75rem;
} */


/*  ستاره فرم ارسال نظر ووکامرس */
/* #commentform > div > p > span > a {
	color: #A3A3A3;
} */
#commentform > div > p > span > a.active, #commentform > div > p > span >  a::before{
/* 	color: #edd500; */
	color: #A3A3A3;
}

/* ستاره بخش نظرات ووکامرس star rating woocomerce */
 .star-rating span:before, .star-rating::before {
        color: #edd500 !important;
    }

/* ویرایش مارجین کامنت ها */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0 !important;
/*     border: 1px solid #e1dde7; */
/*     border-radius: 8px; */
/*     padding: 1em 1em 0; */
}

/* تعداد نظرات */
a.woocommerce-review-link {
    color: #757575;
    font-size: 0.75rem;
}

/*   پایان ویرایش بخش نظرات و بررسی ووکامرس */



/* ویرایش فرم کامنت ووکامرس */
/* فرم نظر */
.custom-review-form {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: none;
/*   margin-bottom: 5px; */
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #757575;
  border-radius: 4px;
}

button[type="submit"] {
	width:100%;
  background: #F5F5F5 !important;
  color: black !important;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

/* لیست نظرات */
.custom-reviews-list {
  margin-top: 30px;
}

.review-item {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.review-item h4 {
  color: #333;
  margin: 0 0 10px 0;
}

.review-item time {
  color: #666;
  font-size: 0.9em;
}


/* #submit_review_btn {
	width: 100%;
 background: #F5F5F5;
  color: black !important;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
} */

.submit-comment-button {

}

.custom-comment-list {

}
/* پایان ویرایش فرم کامنت های ووکامرس */









/* Wordpress comment section styling */
div#respond{
	margin-top: 24px;
}

input#submit {
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    color: #000000;
    border-color: black;
    padding: 12px;
	font-size: 0.85 rem;
}

textarea#comment {
    border-radius: 16px;
    border: solid 1px #d1d1d1;
    padding: 16px;
	font-size: 0.8 rem;
/* 	border-color: #e8e8e8; */
	background: white;
/* 	font-family: inherit; */
/*     font-size: 0.8rem; */
    line-height: 1.4;
    margin: 0;
}
p.comment-form-comment{
		font-size: 0.8rem;
	margin-bottom: 8px !important;
}

h2#reply-title {
    display: block !important;
	font-size: 0.8rem;
/* 	color: red; */
}




/* comments li list style */
ol.comment-list li {
	background-color : white;
	border-radius:16px;
/* 	padding : 16px; */
}

ol.comment-list li a {
/* 	color : #0066FF; */
	color : #a5a5a5
}



ol.comment-list {
	padding-right: 0px;
}

ol.comment-list span.says {
    display: none;
}

ol.comment-list li {
    border: 1px #f5f5f5 solid;
    padding: 0 16px;
    margin: 8px 0;
}

/* ol.comment-list li article.comment-body{
    padding: 16px 0;
} */


#comments .comment .comment-body, #comments .pingback .comment-body {
    border-block-end: 0 !important;
	padding: 16px 0 !important;
}

a.comment-reply-link , a.comment-edit-link{
	background-color: #f5f5f5;
    padding: 2px 7px;
    border-radius: 4px;
    color: black !important;
}

a.comment-edit-link {
	display:none; /*remove edit link*/
}

.comment-content {
    padding-bottom: 16px;
}

textarea#comment {

}

h2.title-comments{
	font-size: 0.8 rem;
	color: gray;
}

.comment-content p {
	font-size: 0.8 rem;
}

/* end of wordpress comment styling */



/**
 * افزودن استایل‌های سفارشی برای پیام‌های موجودی
 */
/* add_action('wp_head', function() {
    echo '<style> */
    .wc-stock-message {
        display: block;
		font-size: 0.8rem;
        font-weight: 500;
        padding: 5px 12px;
        border-radius: 4px;
        text-align: center;

    }
    
    .wc-stock-message.outofstock {
        background-color: #ffedf4;
        color: #e60969;
/*         border: 1px solid #f8d3d3; */
    }
    
    .wc-stock-message.onbackorder {
        background-color: #edf9ff;
        color: #004dff;
/*         border: 1px solid #f5e6c0; */
    }
    </style>';
/* }); */







/* اصلاح نمایش خطاهای پر کردن فورم در ووکامرس */
ul.woocommerce-error li a {
  color: #960238!important;
  font-size: 0.82rem !important;
}


/* استایل پیام‌های موفقیت */
/* .woocommerce-message {
    background: #e4ffde!important;
    border: none!important;
    color: #018531!important;
    padding: 16px 48px 24px 16px!important;
    border-radius: 8px!important;
    font: 0.875rem vazirmatn !important;
    outline: none!important;
} */

/* استایل پیام‌های خطا */
/* .woocommerce-error {
  background: #ffe8f0!important;
  border: none!important;
  color: #960238!important;
  padding: 16px 48px 24px 16px!important;
  border-radius: 8px!important;
  font: 0.875rem vazirmatn!important;
} */

/* .woocommerce-info {
  background: #F5F5F5!important;
  border: none!important;
  color: #757575!important;
  padding: 16px 48px 24px 16px!important;
  border-radius: 8px!important;
  font: 0.875rem vazirmatn!important;
} */

/* .wc-backward {
  width: 100% !important;
  font: 0.875rem vazirmatn !important;
  font-size: bold !important;
  background: #F5F5F5 !important;
  color: black !important;
  align-items: center !important;
} */

/* .restore-item {
  padding: 0px 8px !important;
} */


/* آیکون پیام‌ها */
/* .woocommerce-message:before{
  color: #018531!important;
  font-size: 1.2em!important;
}
.woocommerce-error:before {
    color: #960238!important;
    font-size: 1.2em!important;

} */

/* دکمه بستن پیام */
/* .woocommerce-message .button,
.woocommerce-error .button {
    background: rgba(0,0,0,0.2)!important;
    color: white!important;
    border: none!important;
    float: left!important;
    margin-right: 10px!important;
    margin-top: 25px!important;
    border-radius: 8px!important;
    font-size: 0.756rem!important;
} */





/*  شروع استایل پایه برای آیتم‌های فیلتر */
.custom-jet-filter .jet-checkboxes-list__item,
.custom-jet-filter .jet-radio-list__item {
  display: inline-flex;
  padding: 8px 8px;
  margin: 0px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

/* استایل هاور */
.custom-jet-filter .jet-checkboxes-list__item:hover,
.custom-jet-filter .jet-radio-list__item:hover {
  border-color: #bdbdbd;
  background: #f5f5f5;
}

/* استایل حالت انتخاب شده */
.custom-jet-filter .jet-checkboxes-list__item.selected,
.custom-jet-filter .jet-radio-list__item.selected {
  border-color: #007bff !important;
  background-color: rgba(0, 123, 255, 0.1) !important;
  font-weight: 700 !important;
  color: #007bff !important;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

/* مخفی کردن چک‌باکس و رادیو اصلی */
.custom-jet-filter .jet-checkboxes-list__input,
.custom-jet-filter .jet-radio-list__input {
  display: none;
}

/* استایل دکمه رادیو و چک‌باکس سفارشی */
.custom-jet-filter .jet-checkboxes-list__decorator,
.custom-jet-filter .jet-radio-list__decorator {
  display: none;
}

/* استایل متن */
.custom-jet-filter .jet-checkboxes-list__label,
.custom-jet-filter .jet-radio-list__label {
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

/*پایان استایل پایه برای آیتم‌های فیلتر */