

.custom-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  
  .custom-sidebar.open {
    right: 0;
  }
  
  .custom-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
  }
  
  .custom-sidebar-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }
  
  .custom-sidebar-content {
    padding: 1rem;
  }
  

.openSidebarBtn
  {
  border: 0;
    background: #f83600;
    margin-bottom: 15px;
    margin-right: 0;
    padding-right: 0;
    color: #fff;
    padding: 5px 30px;
    border-radius: 3px;
}





.woocommerce-ordering select {
  border-color: transparent !important;
    cursor: pointer !important;
    outline: 0;
    background: #eeeeee94;
    padding: 8px;
    border-radius: 3px;
}


.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
   
    background-color: #f83600;

}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
   
    background-color: #f83600;
}

.woof .widget_price_filter .ui-slider .ui-slider-handle {

    border: 1px solid #f83600;
}


.woocommerce ul.products li.product .onsale {

    display: none;

}
.woof_container_inner h4 {
   
    font-size: 1rem;
}
.woocommerce-pagination {
  display: none !important;
}
#load-more {
 
    cursor: pointer;
    background: #f83600;
    border: 0;
    color: #fff;
}


.custom-sorting {
     display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 13px;
    margin-bottom: 20px;
    align-items: center;
}

.custom-sorting a {
  color: #666;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.custom-sorting a:hover,
.custom-sorting a.active {
    color: #b11f29;
  font-weight: bold;

}

.woocommerce .woocommerce-result-count {
    margin: 0 0 1em;
    float: left;
	    font-size: 12px;
  
    margin-top: 7px;
}
@media only screen and (max-width: 991px) {
.woocommerce .woocommerce-result-count
{
	    margin-left: 15px;
}
}


/* مخفی و نمایان‌سازی در ریسپانسیو */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* استایل موبایل پاپ‌آپ */
.mobile-sort-modal {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  height: 50vh;
  background: #fff;
  z-index: 10000;
 
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  transition: bottom 0.3s ease-in-out;
}

.mobile-sort-modal.active {
  bottom: 0;
}

.modal-content {
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 15px;
}

.modal-body .sort-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.modal-body .sort-link .tick {
  display: none;
  color: #B11F29;
}

.modal-body .sort-link.active .tick {
  display: inline;
}

.close-mobile-sort {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #444;
}

.mobile-sort-trigger {
 
 text-align: center;
 cursor: pointer;
    position: absolute;
    right: 0;
}


.content-area{
	
	position:relative
	
}



/*----------*/





