.shop-body{
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.card img{
  width: 100%;
  height: auto;
  border-radius: var(--main-radius) var(--main-radius) 0 0;
}
.card h2 {
  font-size: 0.8rem;
  text-align: justify;
  line-height: 22px;
  padding: 10px;
  height: 55px;
  overflow: hidden;
  color: #404040;
  font-weight: 900;
}
.card h2:hover {
}
.d-flex{
  padding: 0px!important;
}
.card{
  border-radius: 0px;
  border: 1px solid #eee!important;
}
.card a{
  overflow: hidden;
  display: block;
}
.card a:hover img {
  transform: scale(1.1); /* 10% بزرگ‌تر شدن */
  transition: transform 0.3s ease; /* انیمیشن صاف */
}

.price{
  display: block;
  font-family: "Vazir FD";
  padding: 0 10px;
  padding-bottom: 4px;
  text-align: center;
  background-color: var(--main-color);
  color: #fff;
  width: 93%;
  margin: 0 auto;
  border-radius: 15px;
  margin-bottom: 8px;
}
.price bdi{
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}
.Shopping-box bdi, .woocommerce-Price-currencySymbol {
  color: #fff;
  font-size: 0.8rem;
}
.price ins{
  text-decoration: none;
  color: #3a3a3a;
}
.price del{
  text-decoration-color: #9b9b9b;

}
.price del bdi .woocommerce-Price-currencySymbol{
  color: #e6e6e6;
}
.price del bdi{
  color: #e6e6e6;
  font-weight: 100;
}
.fillter-body{
  background-color: #fff;
  border: 1px solid #dfdfdf;
  border-radius: var(--main-radius);
  box-shadow: var(--card-shadow);
  padding: 15px;
}
.woocommerce-breadcrumb , .woocommerce-breadcrumb a{
  color: #a5a5a5!important;
}
h1{
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 15px;
  font-size: 1.3rem;
  font-weight: 900;
  padding-bottom: 0px;
}
.woof_container_inner h4 {
  margin-bottom: 10px;
  margin-top: 25px;
  font-size: 0.9rem;
  font-weight: 900;}
.woof label {
  font-size: 0.8rem;
  padding-top: 9px !important;
}
.woof_list.woof_list_checkbox input{
  height: 20px !important;
  width: 20px !important;
  border-radius: var(--main-radius) !important;
}
.icheckbox_square-blue {
  /*background: #e63946 !important;*/
  border: 1px solid #dfdfdf!important;
  vertical-align: middle;
  margin: 0;                      /* حذف فاصله اضافی */
  padding: 0;                     /* حذف padding */
  box-shadow: none !important;    /* حذف سایه */
  outline: none !important;
  background: #fff!important;
  box-shadow: 0 0 1px gray !important;
  width: 15px!important;
  height: 15px!important;
}

.icheckbox_square-blue.checked {
  background: var(--main-color) !important;
  /*border-color: #424750 !important;*/
}

.woocommerce-breadcrumb {
  margin: 0px auto;
  padding: 10px;
  color: #767676;
  font-size: 0.8rem;
  padding-right: 25px;
}
.woocommerce-breadcrumb a {
  color: #767676;
  font-size: 0.8rem;
}
.icheckbox_square-blue.checked::after {
  content: "✔";
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.woocommerce .widget_product_categories input[type="checkbox"],
.woocommerce .widget_layered_nav input[type="checkbox"],
.woocommerce .widget_layered_nav_filters input[type="checkbox"] {
  box-shadow: none !important;  /* حذف سایه */
  outline: none !important;     /* حذف خطوط حاشیه مرورگر */
}
.woocommerce .widget_product_categories li,
.woocommerce .widget_layered_nav li,
.woocommerce .widget_layered_nav_filters li {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.irs--round .irs-from , .irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single , .irs--round .irs-bar {
  background-color: var(--main-color)!important;
}
.irs--round .irs-handle{
  background-color: #fff!important;
  width: 10px!important;
  border: 4px solid #5b5b5b!important;
}

.irs-from , .irs-to{
  font-size: 0.8rem!important;
  padding: 5px!important;
  font-family:"Vazir FD"!important;
}

.js-grid-text-2 , .js-grid-text-4  {
  font-family:"Vazir FD"!important;
}

.woof_list_label .woof_label_term{
  width: 35px!important;
  height: 35px!important;
  font-family:"Vazir FD"!important;
}

.woof_list_label li .woof_label_term:hover{
  background-color: #5b5b5b!important;
  color: #fff!important;
}
.woocommerce-result-count{
  display: none;
}
.woocommerce-ordering{
  text-align: left;
  padding-left: 6px;
}
.woof_products_top_panel, .star-rating{
  display: none!important;
}
select.orderby{
  border: 1px solid #e0e0e2;
  font-size: 0.9rem;
  padding: 2px;
}
.page-title{
  font-size: 1.1rem;
  padding-right: 25px;
  margin-bottom: 0;
}
.woof_label_term.checked{
  background-color: var(--main-color) !important;
  color: #fff !important;
  border: unset !important;
}
.woof_list_label li .woof_label_term:hover {
  border: unset!important;
}
button.woof_reset_search_form{
  background-color: var(--main-color);
  border: unset;
  font-size: 0.8rem;
  color: #fff;
  padding: 5px 15px;
  border-radius: var(--main-radius);
}
.rate-box{
  position: absolute;
  top: 4%;
  left: 4%;
}
.fa-star {
  color: #f5a623;
  font-size: 14px;
}
.out-of-stock{
  color: #7e488a;
  width: 108%;
  background-color: #d6d0f9;
  display: block;
  border-radius: 15px;
  margin-right: -4%;
  position: relative;
  top: 2px;
  height: 27px;
}
.shop-products{
  background-color: #fff;
  border: 1px solid #dfdfdf;
  border-radius: var(--main-radius);
  box-shadow: var(--card-shadow);
}


.my-sorting-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-top: 15px;
  padding-right: 25px;
}

.my-sorting-label {
  font-weight: 600;
  font-size: 14px;
}

.my-sorting-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.my-sorting-item a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

.my-sorting-item a:hover {
  border-color: #999;
}

.my-sorting-item.active a {
  font-weight: 900;
  background-color: var(--main-color);
  color: #fff !important;
  border-radius: var(--main-radius);
}

.page-link ,page-numbers{
  border-radius: 50%;
  font-family: 'vazirfd';
  padding: 10px;
  line-height: 24px;
  width: 2rem;
  height: 2rem;
}
.current {
  font-family: "Vazir FD", sans-serif;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  margin: 0 3px;
  border-radius: 50px;
  transition: all 0.3s ease;
  padding: .375rem .75rem;
  position: relative;
  display: block;
  background-color: var(--main-color);
  color: #fff !important;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.shop-pagination .page-item .page-link {
  width: 28px;
  height: 28px;
  text-align: center;
  color: #333;
  font-family: "Vazir FD", sans-serif;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  margin: 0 3px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-item{
  margin: 5px;
}
.pagination{
  margin-top: 13px;
}
.irs--round .irs-grid-text{
  display: none!important;
}
.sideboxtitle{
  font-size: 0.8rem;
}
.sf-product-percent {
  font-family: 'vazirfd';
  padding-inline: 9px;
  width: 53px;
  height: 26px;
  top: 0px !important;
  right: 15px !important;
  padding: 0 !important;
  border-radius: 0 0 15px 15px !important;
  min-width: unset !important;
  min-height: unset !important;
  line-height: unset !important;
  font-weight: 900 !important;
  color: #fff;
  font-size: .857em;
  z-index: 9;
  margin: 0;
  position: absolute;
  text-align: center;
  padding-top: 3px !important;
  background-color: var(--main-color)!important;
  box-shadow: var(--card-shadow);
}
.sf-product-percent {
  font-family: 'vazirbfd';
  padding-inline: 9px;
  width: 53px;
  height: 35px;
  top: 0px !important;
  right: 10% !important;
  padding: 0 !important;
  border-radius: 0 0 18px 18px !important;
  min-width: unset !important;
  min-height: unset !important;
  line-height: unset !important;
  font-weight: 900 !important;
  color: #fff;
  font-size: .857em;
  z-index: 9;
  margin: 0;
  position: absolute;
  text-align: center;
  padding-top: 6px !important;
  background-color: #ff2727 !important;
  box-shadow: var(--card-shadow);
  border-bottom: 0px solid #fff;
  box-shadow: 0 1px 1px 1px #ff2727;
}
#closePopup {
  display: none;
}
#filter-popup{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 255 255 / 96%);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
@media only screen and (max-width: 450px) {
  .shop-products {
    width: 95%;
    margin: 0 auto;
  }
  .fillter-bod {
    display: none;
  }
  .d-flex{

  }
  .pd10{
    padding: 12px;
  }
  p9{
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
  }
  .Shopping-box bdi, .woocommerce-Price-currencySymbol{
    font-size: 0.6rem;
  }
  .price del bdi{
    font-size: 0.6rem;
  }
  .woocommerce-products-header{
    display: none;
  }
  .page-title {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .card h2 {
    font-size: 0.7rem;
  }
  select.orderby {
    position: relative;
    top: -31px;
    width: 57%;
    border-radius: var(--main-radius);
    border: var(--main-border);
  }
  .mfilter{
    margin-top: 25px;
  }
  #closePopup{
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
  }
  .sidebox{
    width: 80%;
  }
  .fa-filter{
    color: var(--main-color);
  }
}