.PostBox.SinglePostBox {
    width: 280px;
}
.PostBox SinglePostBox E19-1637 .PostBox{
background: #fff;
}
/* استایل برای دکمه مربع */
#backToTop {
  position: fixed;
  bottom: 20px;
  left: 20px; /* تغییر به سمت چپ */
  background-color: rgb(99, 208, 223); /* رنگ پس‌زمینه */
  color: white; /* رنگ فلش */
  border: none;
  cursor: pointer;
  width: 50px; /* عرض */
  height: 50px; /* ارتفاع */
  border-radius: 10px; /* گردی لبه برای زیبایی */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 24px;
  display: none; /* پیش‌فرض مخفی */
  z-index: 1000; /* بالای همه عناصر */
}

#backToTop:hover {
  background-color: #399cb5; /* تغییر رنگ در حالت هاور */
}
/*----------------------------------------------------*/
.PostBox .PostBTitle {
    margin-top: 13px;
}
.PostAuthor{
   margin-top: -16px;
}

.PostSliderRight {
    border: 1px solid #fff;
    background: #fff;
}
.PostSliderLeft {
   border: 1px solid #fff;
   background: #fff;
}
.PostImage {
   padding: 0px;
    height: 193px;
}
.PostSlider .PostBox {
    width: 290px;
    margin-right: 10px;
}
.PostBText{
display: none;
}

.PostBox {
    height: 316px;
}


.PostDate{
    font-size: 12px;
    float: left;
    padding: 5px;
}
.PostBox {
    
    background: #f6f6f6;
    border: 0px ;
}
.LoginButton a span {
    font-size: 12px;
    float: right;
    margin-right: 2px;
    margin-top: 3px;
}

.E2-1578:hover, .E2-1577:hover, .E2-1714:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); 
/*  filter: brightness(0.9); */
  filter: grayscale(50%);

}

.ProductSlider .ProductBox {
    display: inline-block;
    width: 285px;
    margin-left: 0px;
    margin-right: 16px;
    margin-bottom: 0px;
    border: 0px;
}
.PPBack.PBOutStock,
.PPBack.PBOutStock * {
  display: none !important;
}
.SetCompare{
display: none !important;
}

.ProductBox {
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.ProductBox:hover {
  transform: translateY(-5px); 
  box-shadow:none;
}

.SSOfferSmall{
    display: none;
}
.PPBack{
  display: none;
}
.DiscountPercent {
    display: none;
}
.ProductSlider .ProductBox {
    border: 0px;
    border-left: 1px solid #d1d1d180;
    border-radius: 0px;
    padding-left: 14px;
}


/* استایل اصلی برای  */
.PostBox {
  position: relative;
  width: 300px; 
  display: inline-block;
  text-align: center;
  overflow: hidden; 
}

/* برای PostImage */
.PostImage {
  position: relative;
  width: 100%;
  overflow: hidden; 
}

.PostImage img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease; 
}


.PostImage::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); 
  opacity: 0; /* پیش‌فرض: مخفی */
  transition: opacity 0.2s ease, transform 0.2s ease; 
  z-index: 1;
}


.PostBox:hover .PostImage::after {
  opacity: 1; /* لایه ظاهر می‌شود */
  transform: translateY(0); 
}
.PostBox:hover {
   box-shadow: 0 0 9px 1px rgba(0, 0, 0, .2);
}


.PostSlider {
    height: 326px;
}
/*----------------------------------------------------کلاس اسلایدر-----------------------------------------------------------------------*/
.carousel-slide {
  text-align: center;
  margin-left: 52px;
 transition: transform 0.3s ease-in-out;
}
.carousel-slide img {
  width: 160px;
  display: block;
  margin: 0 auto;

}
.carousel-slide span {
  font-size: 16px;
  display: block;
  margin-top: 8px;
  text-align: center;
}
.carousel-slide:hover {
  transform: translateY(-5px); 
}


/*--------------------------------------------------------------------------------------------------------------------------------------------------*/
