/* Gope Bottom Navigation Real Fix v1.0.0
 * IMPORTANT: this fix does NOT add padding-top and does NOT move #products.
 * It only creates scrollable room AFTER the product list.
 */
@media (max-width: 767px) {
    /* Cancel the previous Safe Fix if it is still active. */
    #products.gope-content {
        padding-bottom: 0 !important;
        margin-top: 0 !important;
    }

    main.gope-store {
        padding-bottom: 0 !important;
    }

    /* The fixed bottom navigation is roughly 84px tall in the supplied screenshot.
       Add room only after the product section so the last card can scroll above it. */
    #products.gope-content {
        margin-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Never alter the product grid's position or its rows. */
    #products.gope-content > .gope-grid {
        margin-top: 0 !important;
    }
}
