/*==================================================
LATEST PRODUCTS SLIDER
==================================================*/

.cyb-latest-slider{
    padding:80px 0;
}

.cyb-slider-header{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:40px;

    text-align:center;

}

.cyb-slider-header > div:first-child{

    width:100%;

}

.cyb-slider-header h2{

    margin-bottom:10px;

}

.cyb-slider-header p{

    color:#666;

}

.cyb-slider-nav{

    position:absolute;

    right:0;

    top:50%;

    transform:translateY(-50%);

    display:flex;

    gap:12px;

}

.cyb-latest-prev,
.cyb-latest-next{

    width:46px;

    height:46px;

    border-radius:50%;

    border:1px solid #ddd;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    color:#222;

    font-size:18px;

    transition:.3s;
    

}

.cyb-latest-prev:hover,
.cyb-latest-next:hover{

    background:#d40018;

    color:#fff;

    border-color:#d40018;

}


/* CARD */

.cyb-latest-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:12px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 10px 35px rgba(0,0,0,.05);

    height:100%;

}

.cyb-latest-card{

    display:flex;
    border:1px solid #ececec;

    flex-direction:column;

    height:380px;
    box-shadow:0 1px 6px rgba(15,23,42,.05);
    

    width:300px;

    flex:none;

}



.cyb-latest-card:hover{

    transform:translateY(-5px);

    box-shadow:0 6px 14px rgba(15,23,42,.08);

}

.cyb-latest-image img{
    width:100%;
    height:240px;
    max-width:none;
    max-height:none;
    object-fit:contain;
    display:block;
}

.cyb-latest-image img{
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:contain;
    image-rendering:auto;
    display:block;
}
.cyb-latest-card:hover img{

    transform:scale(1.05);

}

.cyb-latest-body{

    padding:18px;

}


.cyb-latest-body{

    padding:18px;

    min-height:120px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

}

.cyb-latest-price{

    color:#d40018;

    font-size:20px;

    font-weight:700;

    margin-bottom:10px;

}

.cyb-latest-body h4{

    font-size:16px;

      line-height:1.5;
      height:48px;

    overflow:hidden;


    margin:0;

    min-height:48px;

}

.cyb-latest-body h4 a{

    color:#222;

    text-decoration:none;

}

.cyb-marquee{

    overflow:hidden;

    width:100%;

    position:relative;

}

.cyb-marquee-track{

    display:flex;

    gap:25px;

    width:max-content;

    will-change:transform;

}

.cyb-marquee:hover .cyb-marquee-track{

    animation-play-state:paused;

}

@media (max-width:768px){

    .cyb-latest-card{

        flex:0 0 220px !important;

        width:220px !important;

        height:300px !important;

    }

    .cyb-latest-image{

        width:220px !important;

        height:185px !important;

        padding:0 !important;

        overflow:hidden !important;

    }

    .cyb-latest-image img{

        width:100% !important;

        height:100% !important;

        max-width:none !important;

        max-height:none !important;

        object-fit:cover !important;

        display:block !important;

    }

    .cyb-latest-body{

        padding:12px !important;

        min-height:95px !important;

    }

    .cyb-latest-price{

        font-size:16px !important;

    }

    .cyb-latest-body h4{

        font-size:14px !important;

    }

}


@media (max-width:480px){

    .cyb-latest-card{

        flex:0 0 190px !important;

        width:190px !important;

        height:270px !important;

    }

    .cyb-latest-image{

        width:190px !important;

        height:165px !important;

    }

    .cyb-latest-image img{

        width:100% !important;

        height:100% !important;

        object-fit:cover !important;

    }

}

/* =========================================
   HIDE NEW ARRIVALS ARROWS ON MOBILE ONLY
========================================= */

@media (max-width: 768px){

    .cyb-slider-nav{
        display:none !important;
    }

}
