{"id":2557,"date":"2026-05-01T18:29:06","date_gmt":"2026-05-01T18:29:06","guid":{"rendered":"https:\/\/tarboush.be\/booking\/?page_id=2557"},"modified":"2026-05-01T18:29:06","modified_gmt":"2026-05-01T18:29:06","slug":"order","status":"publish","type":"page","link":"https:\/\/tarboush.be\/booking\/order\/","title":{"rendered":"order"},"content":{"rendered":"\n    <section class=\"tarboush-ordering-paused-wrap\" role=\"alert\" aria-live=\"polite\">\n        <div class=\"tarboush-ordering-paused-card\">\n            <div class=\"tarboush-ordering-paused-icons\" aria-hidden=\"true\">\u26a0\ufe0f\ufe0f<\/div>\n            <h2>Critical System Error<\/h2>\n            <p>The requested service is currently unavailable due to a system error. Please contact the website administrator for assistance.<\/p>\n        <\/div>\n    <\/section>\n    \n\n\n\n<script>\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n\n    const container = document.querySelector(\".rsp-tabs-container\");\n    if (!container) return;\n\n    const tabs = container.querySelectorAll(\".rsp-tabs a\");\n    const panes = container.querySelectorAll(\".rsp-tab-pane\");\n\n    \/\/ -------------------------\n    \/\/ 1. INITIAL STATE (IMPORTANT FIX)\n    \/\/ -------------------------\n\n    panes.forEach(p => {\n        p.style.display = \"none\";\n    });\n\n    \/\/ default tab = first (Main courses)\n    const firstTab = tabs[0];\n\n    if (firstTab) {\n        firstTab.classList.add(\"active\");\n\n        const target = firstTab.getAttribute(\"href\");\n        const firstPane = container.querySelector(target);\n\n        if (firstPane) {\n            firstPane.style.display = \"block\";\n        }\n    }\n\n    \/\/ -------------------------\n    \/\/ 2. CLICK HANDLER\n    \/\/ -------------------------\n\n    document.addEventListener(\"click\", function (e) {\n\n        const link = e.target.closest(\".rsp-tabs a\");\n        if (!link) return;\n\n        e.preventDefault();\n\n        \/\/ remove active from all tabs\n        tabs.forEach(a => a.classList.remove(\"active\"));\n\n        \/\/ hide all panes\n        panes.forEach(p => p.style.display = \"none\");\n\n        \/\/ activate clicked tab\n        link.classList.add(\"active\");\n\n        \/\/ show correct pane\n        const target = link.getAttribute(\"href\");\n        const el = container.querySelector(target);\n\n        if (el) {\n            el.style.display = \"block\";\n        }\n    });\n\n});\n\n<\/script>\n\n\n\n<script>\n(function () {\n    'use strict';\n\n    document.addEventListener('DOMContentLoaded', function () {\n\n        var groups = document.querySelectorAll('.orderable-main__group');\n        if (!groups.length) return;\n\n        var nav = document.createElement('nav');\n\n        \/\/ \u274c REMOVED:\n        \/\/ nav.id = 'rsp-cat-nav';\n        \/\/ nav.setAttribute('aria-label', 'Menu categories');\n\n        var links = [];\n\n        groups.forEach(function (group, i) {\n\n            var heading = group.querySelector('.orderable-category-heading');\n            if (!heading) return;\n\n            var label = heading.textContent.trim();\n            var anchorId = 'rsp-group-' + i;\n\n            group.id = anchorId;\n\n            var a = document.createElement('a');\n            a.href = '#' + anchorId;\n            a.textContent = label;\n            a.dataset.target = anchorId;\n\n            a.addEventListener('click', function (e) {\n                e.preventDefault();\n\n                var target = document.getElementById(anchorId);\n                if (!target) return;\n\n                var navH = nav.offsetHeight;\n\n                var top = target.getBoundingClientRect().top + window.pageYOffset - navH - 8;\n\n                window.scrollTo({\n                    top: top,\n                    behavior: 'smooth'\n                });\n\n                setActive(a);\n            });\n\n            nav.appendChild(a);\n            links.push({ el: a, group: group });\n        });\n\n        var main = document.querySelector('.orderable-main');\n\n        if (main && main.parentNode) {\n            main.parentNode.insertBefore(nav, main);\n        } else if (groups[0] && groups[0].parentNode) {\n            groups[0].parentNode.insertBefore(nav, groups[0]);\n        }\n\n        if (links.length) setActive(links[0].el);\n\n        var ticking = false;\n\n        window.addEventListener('scroll', function () {\n\n            if (ticking) return;\n            ticking = true;\n\n            requestAnimationFrame(function () {\n                ticking = false;\n\n                var navH = nav.offsetHeight + 12;\n                var active = null;\n\n                links.forEach(function (item) {\n                    if (item.group.getBoundingClientRect().top <= navH + 10) {\n                        active = item.el;\n                    }\n                });\n\n                if (active) setActive(active);\n            });\n\n        }, { passive: true });\n\n        function setActive(activeLink) {\n\n            links.forEach(function (item) {\n                item.el.classList.remove('rsp-active');\n            });\n\n            activeLink.classList.add('rsp-active');\n\n            activeLink.scrollIntoView({\n                inline: 'nearest',\n                block: 'nearest'\n            });\n        }\n\n    });\n}());\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2557","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/pages\/2557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/comments?post=2557"}],"version-history":[{"count":1,"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/pages\/2557\/revisions"}],"predecessor-version":[{"id":2558,"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/pages\/2557\/revisions\/2558"}],"wp:attachment":[{"href":"https:\/\/tarboush.be\/booking\/wp-json\/wp\/v2\/media?parent=2557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}