
.allslide1{

}
.okslideall{
 width: 100%;
 height: 215px;
}


.allslidemain1{
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding: 0px   !important;
  height: 300px  !important;
  overflow: hidden;
  background:  transparent
}


.category-slider-wrapper {
    position: relative;
    padding: 0 40px; /* فضا براي فلش‌هاي کناري */
    direction: rtl;
}

.category-card {
    display: block;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px 10px;
    text-align:  right;
    margin: 0 8px; /* فاصله بين کارت‌ها */
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    height: 210px  ;
}

.category-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.category-card .img-box {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.category-card .img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.category-title {
    font-size: 13px;
    color: #5A699B;
    margin: 0;
    font-weight: 600;
    text-align: right;
    line-height: 18px ;
    height: 38px;
    overflow: hidden;
}

.gheymatslidi{
 font-size: 14px;
    font-weight: 800;
    text-align: left;
        color: #5A699B;
        margin-top: 3px   !important;
}

.ricon01{
  float: right;
  font-size: 18px;
 color: #5A699B;
}
.ricon02{
  float: right;
  font-size: 18px;
 color:  #5A699B;

}
.ricon02:hover{ color:  #FF0000 ; }

.ricon03{
  float: right;
  font-size: 18px;
 color:  #FF0000;

}

.iconghalb{
 position:  relative;
 top: 5px;
 right: 15px;
 z-index: 1000;

}


/* استايل فلش‌هاي چپ و راست */
.category-slider-wrapper .slick-prev,
.category-slider-wrapper .slick-next {

    position: absolute;
    top: 80px;
    transform: translateY(-50%);
    background:  transparent;
    border: 0px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: 0%;
    z-index: 10;
    cursor: pointer;
    outline: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #555;


}

/*
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);

*/


.icoprev,
.iconext {
 font-size: 25px !important;
  color: #555  !important;

}

.icoprev:hover,
.iconext:hover {
    color: #000   !important;
        transition: all 0.3s ease;
}

.category-slider-wrapper .slick-prev {
    left: 10px !important;
}

.category-slider-wrapper .slick-next {
     right: 0px !important;
}

.category-slider-wrapper .slick-prev:hover,
.category-slider-wrapper .slick-next:hover {
    background: #f9f9f9;
    color: #000;
}

/*
  ======================
*/

/* کانتينر اصلي والد (بايد دور کل اين حلقه‌هاي PHP قرار بگيرد) */
.category-container {
    display: flex;
    flex-wrap: wrap; /* رفتن به خط بعد در صورت تکميل عرض */
    gap: 10px; /* فاصله ?? پيکسلي از هم (هم افقي و هم عمودي) */
    padding-right: 20px  !important;
    padding-left:  20px  !important;
    margin-bottom: 20px  !important;
    margin-top:   20px  !important;
}

/* استايل هر آيتم */
.namectslide {
    background-color: #f0f0f0; /* رنگ پس‌زمينه دلخواه شما */
    border-radius: 5px;       /* اختياري: گرد کردن گوشه‌ها */
}

.namectslide a {
    text-decoration: none;
    color: #333;
        padding: 10px;
    display: block; /* براي اينکه کل کادر پس‌زمينه بگيرد */
    transition: background-color 0.3s, color 0.3s; /* انيميشن نرم */
}

.namectslide:hover {
    background-color: #D9534F; /* رنگ پس‌زمينه دلخواه شما */
        color: #fff !important; /* سفيد شدن متن لينک هنگام هاور */
}

.namectslide:hover a {
    color: #fff !important; /* سفيد شدن متن لينک هنگام هاور */
}

/* ------------------------------------------------- */

.namectslideaa {
    background-color: #D9534F;
    border-radius: 5px;
}

.namectslideaa a {
    text-decoration: none;
    color: #fff !important;
    display: block;
        padding: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.namectslideaa:hover {
color: #fff !important;
}

.namectslideaa:hover a {
    color: #fff !important;
}

 /* ------------------------------------------------- */


.rmenuonvan{
 text-align: right !important;
 font-size: 18px;
    font-weight: 800;
}


.leftmenumor{
 text-align: left !important;
 font-size: 14px ;
    color: #8484FF !important;
}
.leftmenumor a{
    color: #8484FF !important;
 text-align: left !important;
 font-size: 14px   ;
    font-weight: 800;
}


.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 0px;
}


.takhdarsad-circle {
  float:  right;
  margin-top: 0px !important;
  padding-top: 4px !important;
  margin-top: -8px  !important;
    width: 25px;
    height: 25px;
    background-color:  #ddd;
    color: #8484FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
     margin-right: -5px    !important;
}

