.tgcs-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

@media(min-width:768px){
    .tgcs-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media(min-width:1200px){
    .tgcs-grid{
        grid-template-columns:repeat(5,1fr);
    }
}

.tgcs-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:10px;
    overflow:hidden;

    display:flex;
    flex-direction:column;

    height:100%;

    padding-bottom:8px;
}

.tgcs-card:hover{
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.tgcs-card img{
    width:100%;
    height:auto;
    display:block;
}

.tgcs-card h3{
    font-size:12px;
    line-height:1.35;
    font-weight:600;

    margin:8px;
    min-height:48px;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.tgcs-price{
    margin:0 8px 8px;
    font-size:12px;
    font-weight:600;
}

.tgcs-btn{
    display:block;

    margin:0 8px 8px;
    padding:8px 0;

    background:#2563eb;
    color:#fff;

    text-align:center;
    text-decoration:none;

    border-radius:6px;
    font-size:12px;
    font-weight:600;

    margin-top:auto;
}

.tgcs-btn:hover{
    background:#1d4ed8;
    color:#fff;
}

.tgcs-search{
    margin-bottom:20px;
}

.tgcs-search input{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

.tgcs-load-more-wrap{
    text-align:center;
    margin-top:25px;
}

#tgcs-load-more{
    padding:12px 24px;
    border:none;
    background:#111;
    color:#fff;
    border-radius:8px;
    cursor:pointer;
}

.tgcs-card-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:8px;
}