

/*=========================================================
  Latest Products Slider
  Nexorun
=========================================================*/

.nx-products{

    padding:100px 0;

}

/*=========================================================
 Slider 
=========================================================*/

.latest-products-slider{

    position:relative;

    width:100%;

    overflow:hidden;

}

.latest-products-track{

    display:flex;

    flex-wrap:nowrap;

    gap:30px;

    overflow-x:auto;

    overflow-y:hidden;

    scroll-behavior:smooth;

    scrollbar-width:none;

    padding:10px 4px;

}

.latest-products-track::-webkit-scrollbar{

    display:none;

}

/*=========================================================
 Product Card
=========================================================*/

.latest-product-card{

    flex:0 0 calc((100% - 60px)/3);

    max-width:calc((100% - 60px)/3);

    background:#101d2d;

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    overflow:hidden;

    transition:.35s;

    height:450px;

}

.latest-product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 60px rgba(0,0,0,.35);

}

.latest-product-image{

    display:block;

}

.latest-product-image img{

    width:100%;

    height:230px;

    object-fit:contain;

    padding:25px;

}

.latest-product-content{

    padding:24px;

    display:flex;

    flex-direction:column;
       
   
}

.latest-product-content h3{

    font-size:24px;

    line-height:1.5;

    margin-bottom:15px;

    min-height:72px;

}

.latest-product-content p{

    color:#c8d4df;

    line-height:2;

    flex:1;

    margin-bottom:24px;

}

.latest-product-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:52px;

    border-radius:14px;

    background:linear-gradient(135deg,#00d4ff,#3f8cff);

    color:#fff;

margin-bottom:15px;
    transition:.3s;


}

.latest-product-btn:hover{

    transform:translateY(-3px);

}

/*=========================================================
 Navigation
=========================================================*/

.latest-slider-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:56px;

    height:56px;

    border:none;

    border-radius:50%;

    background:#102746;

    color:white;

    cursor:pointer;

    font-size:24px;

    transition:.3s;

    z-index:20;

}

.latest-slider-btn:hover{

    background:#2563EB;

}

.latest-prev{

    right:-15px;

}

.latest-next{

    left:-15px;

}

/*=========================================================
 Responsive
=========================================================*/

@media(max-width:992px){

.latest-product-card{

    flex:0 0 320px;

    width:320px;

}

}

@media(max-width:768px){

.latest-product-card{

    flex:0 0 85%;

    width:85%;

}

.latest-slider-btn{

    display:none;

}

}




/*=========================================================
از اینجا به بعد برای کارت محصولات در صفحه دسته بندی
=========================================================*/

.product-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;

}

.product-card{

background:#101d2d;

border:1px solid rgba(255,255,255,.08);

border-radius:24px;

overflow:hidden;

display:flex;

flex-direction:column;

transition:.35s;

height:100%;

}

.product-card:hover{

transform:translateY(-10px);

box-shadow:0 25px 60px rgba(0,0,0,.35);

}


.product-content{

padding:25px;

display:flex;

flex-direction:column;

flex:1;

}

.product-content h3{

font-size:24px;

line-height:1.5;

margin-bottom:15px;

min-height:70px;

}

.product-content p{

color:#c8d4df;

line-height:2;

margin-bottom:25px;

flex:1;

}



@media(max-width:992px){

.product-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.product-grid{

grid-template-columns:1fr;

}

.product-card img{

height:180px;

}

.product-content{

padding:20px;

}

.product-content h3{

font-size:20px;

min-height:auto;

}

.product-content p{

font-size:15px;

}

.btn-primary{

width:100%;

align-self:stretch;

}

}