
        /* Hide table structure */
        #productTable thead { display: none; }

        #productTable,
        #productTable tbody,
        #productTable tr,
        #productTable td {
            display: block;
            width: 100%;
            border: none !important;
            background: transparent !important;
        }

        #productTable tbody tr { margin-bottom: 1rem; }
        #productTable td { padding: 0 !important; }

        /* Grid layout for cards on each page */
        #productTable tbody {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 1.25rem;
        }

        /* Product card */
        .product-card {
            border: 0;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 .125rem .5rem rgba(0,0,0,.08);
            transition: all .2s ease;
            height: 100%;
        }

        .product-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.12);
        }

        .product-card img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            background: #fff;
        }

        .price {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0d6efd;
        }

        .description {
            min-height: 48px;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            border-radius: .5rem !important;
            margin: 0 .125rem;
        }

        @media (max-width: 576px) {
            .dataTables_wrapper .dataTables_filter,
            .dataTables_wrapper .dataTables_length {
                text-align: left !important;
                float: none !important;
                margin-bottom: .75rem;
            }

            .dataTables_wrapper .dataTables_filter input {
                width: 100%;
                margin-left: 0;
                margin-top: .5rem;
            }

            #productTable tbody {
                grid-template-columns: 1fr;
            }
        }