/* ========================================
   PACKAGE GRID & BADGES
   ======================================== */

/* Grid Layout */
.products-page-wrapper .packages-grid,
.products-page-wrapper .product-grid,
.related-products-container .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: stretch !important;
}

@media (max-width: 1024px) {
    .products-page-wrapper .product-grid,
    .related-products-container .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 767px) {
    .products-page-wrapper .product-grid,
    .related-products-container .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* RTL Support */
[dir="rtl"] .badge-bundle,
[dir="rtl"] .badge-sale {
    right: auto;
    left: 15px;
}
