/* ============================================================================
   MA YVE GRILL | Menu Editorial | v11 patch
   Pairs with template-menu-editorial.php v2.3.4 (enqueue after v10).

   FIX: hash-link landing offset (e.g. /menu/#category-fumbwa from the
   "Order Serge's Favourite" button on the Our Story page).
   The browser natively jumps a hash target to the very top of the viewport,
   where the fixed site header and the pinned category rail COVER it, so the
   Fumbwa title landed hidden between two categories.

   scroll-margin-top pushes the landing point down by exactly the occluded
   zone, measured live on mayvegrill.space (2026-08-23):
     desktop 1440px: header 64px + pinned rail 187px + 29px breathing = 280px
     mobile 390px:   header 88px + pinned rail 312px + 28px breathing = 428px
   Pure CSS, no JS, immune to WP Rocket delayed scripts.
   ============================================================================ */

.menu-category {
    scroll-margin-top: 280px;
}

@media (max-width: 768px) {
    .menu-category {
        scroll-margin-top: 428px;
    }
}
