
.allslide1{

}
.okslideall{
 width: 100%;
 height: 160px;
}


.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: center;
    margin: 0 8px; /* فاصله بين کارت‌ها */
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.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: #333333;
    margin: 0;
    font-weight: 600;
}

/* استايل فلش‌هاي چپ و راست */
.category-slider-wrapper .slick-prev,
.category-slider-wrapper .slick-next {

    position: absolute;
    top: 50%;
    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; /* رنگ پس‌زمينه دلخواه شما */
    padding: 10px;            /* پدينگ ?? پيکسل */
    border-radius: 5px;       /* اختياري: گرد کردن گوشه‌ها */
}

/* استايل لينک داخل آن */
.namectslide a {
    text-decoration: none;
    color: #333;
}



/* استايل هر آيتم */
.namectslideaa {
    background-color: #D9534F; /* رنگ پس‌زمينه دلخواه شما */
    padding: 10px;            /* پدينگ ?? پيکسل */
    border-radius: 5px;       /* اختياري: گرد کردن گوشه‌ها */
}

/* استايل لينک داخل آن */
.namectslideaa a {
    text-decoration: none;
    color: #333;
    color: #fff
}



.allslidemain1{
  padding-bottom: 50px   !important;
}










