/* Responsive styles for Category Grid Display */

/* Tablet (medium devices) */
@media only screen and (min-width: 577px) and (max-width: 992px) {
    .cgd-container {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .cgd-category-title {
        font-size: 14px;
        padding: 8px;
    }
    
    .cgd-category-title-below {
        font-size: 14px;
        padding: 8px;
    }
}

/* Mobile (small devices) */
@media only screen and (max-width: 576px) {
    .cgd-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 10px;
    }
    
    .cgd-category-title {
        font-size: 12px;
        padding: 6px;
    }
    
    .cgd-category-title-below {
        font-size: 12px;
        padding: 6px;
        margin-top: 4px;
    }
    
    .cgd-category-item:hover {
        transform: translateY(-3px);
    }
}

/* Very small devices */
@media only screen and (max-width: 320px) {
    .cgd-container {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
