@media (max-width: 1024px) {

    /* Completely kill horizontal scroll everywhere on mobile */
    html, body, .site-wrapper, .archive-grid, .bestseller-grid {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Force the main product grid to single column */
    html body .bestseller-grid.archive-grid,
    html body .archive-grid,
    html body .bestseller-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Lock every product card */
    html body .bestseller-product-card.archive-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    /* Force all images inside cards to behave */
    html body .bestseller-product-image img,
    html body .bestseller-image-container img,
    html body picture img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }

    /* Titles wrap */
    html body .bestseller-product-title {
        white-space: normal !important;
        word-break: break-word !important;
        display: block !important;
    }

    /* Buttons full width */
    html body .bestseller-btn {
        width: 100% !important;
        display: block !important;
    }
}