.ksco-spare-parts-grid{

    display:grid;

    grid-template-columns:repeat(5,minmax(0,1fr));

    gap:24px;

    margin-top:10px;

}
.ksco-spare-part-card{

    display:flex;

    flex-direction:column;

    background:#fff;

    border:1px solid #E5E7EB;

    border-radius:14px;

    overflow:hidden;

    transition:.25s ease;

    height:100%;
    
    cursor: pointer;

}

.ksco-spare-part-card:hover{

    transform:translateY(-6px);

    border-color:#173358;

    box-shadow:0 20px 40px rgba(23,51,88,.12);

}

.ksco-spare-part-image{

    display:flex;

    align-items:center;

    justify-content:center;

    background:#F8FAFC;

    aspect-ratio:1/1;

    padding:18px;

    overflow:hidden;

}

.ksco-spare-part-image img{

width:92%;
height:92%;

    object-fit:contain;

    padding:18px;

}

.ksco-spare-part-card:hover
.ksco-spare-part-image img{

    transform:scale(1.05);

}

.ksco-spare-part-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:18px 16px;

}

.ksco-spare-part-title{

    margin:0;

    color:#173358;

    font-size:16px;

    font-weight:600;

    line-height:1.5;

    text-align:center;

}

.ksco-spare-part-description{

    margin-top:6px;

    color:#7B8798;

    font-size:13px;

    font-weight:400;

    line-height:1.5;

    text-align:center;

    direction:ltr;

    letter-spacing:.2px;

}

.ksco-spare-part-code,

.ksco-spare-part-models{

    display:flex;

    justify-content:space-between;

    gap:12px;

    padding:10px 0;

    border-top:1px solid #EEF2F6;

    font-size:14px;

}

.ksco-label{

    font-weight:600;

    color:#173358;

}

.ksco-value{

    color:#6B7280;

    text-align:end;

}

.ksco-spare-part-footer{

    margin-top:auto;

    padding-top:20px;

}

.ksco-spare-part-download{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:100%;

    height:46px;

    border-radius:8px;

    background:#173358;

    color:#fff;

    font-weight:600;

    text-decoration:none;

    transition:.25s;

}

.ksco-spare-part-download:hover{

    background:#0F2643;

    color:#fff;

}
@media (max-width:1400px){

    .ksco-spare-parts-grid{

        grid-template-columns:repeat(4,1fr);

    }

}

@media (max-width:1100px){

    .ksco-spare-parts-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media (max-width:768px){

    .ksco-spare-parts-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:480px){

    .ksco-spare-parts-grid{

        grid-template-columns:1fr;

    }

}

.ksco-spare-modal{

    position:fixed;

    inset:0;

    z-index:99999;

    display:none;

}

.ksco-spare-modal.active{

    display:block;

}

.ksco-spare-modal-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(4px);

}

.ksco-spare-modal-dialog{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    width:min(1000px,92vw);

    max-height:90vh;

    overflow:auto;

    background:#fff;

    border-radius:16px;

    box-shadow:0 24px 60px rgba(0,0,0,.18);

}

.ksco-spare-modal-close{

    position:absolute;

    top:18px;

    right:18px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#173358;

    color:#fff;

    cursor:pointer;

    font-size:24px;

    line-height:1;

}

.ksco-spare-modal-content{

    padding:40px;

}

/*======================================================
  Spare Part View Details
======================================================*/

.ksco-spare-part-more{

    margin-top:auto;

    display:flex;

    justify-content:flex-end;

    align-items:center;

    padding-top:14px;

}

.ksco-spare-part-arrow{

    width:20px;

    height:20px;

    color:#A8B3C2;

    transition:all .25s ease;

}

.ksco-spare-part-card{

    cursor:pointer;

}

.ksco-spare-part-card:hover .ksco-spare-part-more{

    color:var(--ksco-primary);

}

.ksco-spare-part-card:hover .ksco-spare-part-arrow{

    color:var(--ksco-primary);

    transform:translateX(-5px);

}

.ksco-spare-part-card:hover .ksco-spare-part-image img{

    transform:scale(1.04);

}