/* حل CSS Grid لعرض المنتجات في شبكة 2x2 */
.products-container,
.category-products,
.product-list,
.items-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 10px !important;
}

.product-item,
.product-card,
.item {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* للأجهزة اللوحية */
@media (min-width: 768px) and (max-width: 1024px) {
    .products-container,
    .category-products,
    .product-list,
    .items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* لأجهزة اللاب توب والديسك توب */
@media (min-width: 1025px) {
    .products-container,
    .category-products,
    .product-list,
    .items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        gap: 25px !important;
    }
}