
/* COUPONSEEK V4.4.4 CATEGORY GRID FIX */

@media screen and (max-width:767px) {

    body.cs-v4 #categories {
        width:100%!important;
        max-width:100%!important;
        margin-left:auto!important;
        margin-right:auto!important;
        box-sizing:border-box!important;
    }

    body.cs-v4 #categories #category-grid {
        display:grid!important;
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        grid-auto-flow:row!important;
        width:100%!important;
        max-width:100%!important;
        margin:0 auto!important;
        padding:0!important;
        gap:12px!important;
        justify-content:center!important;
        justify-items:stretch!important;
        align-items:stretch!important;
        box-sizing:border-box!important;
    }

    body.cs-v4 #category-grid > a.cs-category {
        grid-column:span 2!important;
        grid-row:auto!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:flex-start!important;
        justify-self:stretch!important;
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
        height:auto!important;
        margin:0!important;
        padding:0!important;
        gap:0!important;
        float:none!important;
        overflow:hidden!important;
        border-radius:12px!important;
        box-sizing:border-box!important;
        text-align:center!important;
    }

    body.cs-v4 #category-grid > a.cs-category img {
        display:block!important;
        width:100%!important;
        max-width:none!important;
        height:auto!important;
        min-height:0!important;
        max-height:none!important;
        aspect-ratio:4/3!important;
        object-fit:cover!important;
        object-position:center!important;
        margin:0 auto!important;
        padding:0!important;
        flex-shrink:0!important;
    }

    body.cs-v4 #category-grid > a.cs-category strong {
        display:flex!important;
        justify-content:center!important;
        align-items:center!important;
        width:100%!important;
        min-height:46px!important;
        flex:1!important;
        margin:0!important;
        padding:10px 5px!important;
        text-align:center!important;
        font-size:14px!important;
        line-height:1.3!important;
        box-sizing:border-box!important;
    }

    body.cs-v4 #category-grid > a.cs-category:last-child:nth-child(odd) {
        grid-column:2/span 2!important;
    }
}

/* END V4.4.4 */

