{"id":4266,"date":"2026-11-01T18:54:31","date_gmt":"2026-11-01T18:54:31","guid":{"rendered":"https:\/\/broadwayteamnyc.com\/?page_id=4266"},"modified":"2026-12-04T18:20:46","modified_gmt":"2026-12-04T18:20:46","slug":"dining-deals-offers","status":"publish","type":"page","link":"https:\/\/broadwayteamnyc.com\/?page_id=4266","title":{"rendered":"Coupons"},"content":{"rendered":"    <style>\n        .bta-coupon-section {\n            --bta-wine: #5b1037;\n            --bta-wine-dark: #350921;\n            --bta-gold: #d7a61d;\n            --bta-ink: #17141a;\n            --bta-muted: #716b73;\n            width: 100%;\n        }\n        .bta-coupon-section [hidden] {\n            display: none !important;\n        }\n        .bta-coupon-global-text {\n            box-sizing: border-box;\n            width: 100%;\n            max-width: 980px;\n            margin: 0 auto 30px;\n            padding: 0 12px;\n            color: #4b1c3a;\n            font-size: 18px;\n            font-weight: 600;\n            line-height: 1.55;\n            text-align: center;\n            overflow-wrap: anywhere;\n        }\n        .bta-coupon-checking {\n            color: var(--bta-muted);\n        }\n        .bta-coupon-gate {\n            max-width: 420px;\n            padding: 20px 0;\n        }\n        .bta-coupon-gate label {\n            display: block;\n            margin-bottom: 8px;\n            color: var(--bta-ink);\n            font-weight: 700;\n        }\n        .bta-coupon-gate-controls {\n            display: flex;\n            gap: 8px;\n            flex-wrap: wrap;\n        }\n        .bta-coupon-gate input {\n            flex: 1 1 180px;\n            min-width: 0;\n            min-height: 44px;\n            padding: 8px 10px;\n        }\n        .bta-coupon-gate button {\n            min-height: 44px;\n            padding: 8px 16px;\n            border: 0;\n            border-radius: 4px;\n            background: var(--bta-wine);\n            color: #fff;\n            font: inherit;\n            font-weight: 700;\n            cursor: pointer;\n        }\n        .bta-coupon-gate button:disabled {\n            opacity: .65;\n            cursor: wait;\n        }\n        .bta-coupon-gate-error {\n            color: #9e2638;\n        }\n        .bta-coupon-grid {\n            display: grid;\n            grid-template-columns: repeat(3, minmax(0, 1fr));\n            gap: 24px;\n        }\n        .bta-coupon-card {\n            position: relative;\n            display: flex;\n            min-width: 0;\n            flex-direction: column;\n            overflow: hidden;\n            border: 1px solid #e4dfe4;\n            border-radius: 8px;\n            background: #fff;\n            color: var(--bta-ink);\n            text-decoration: none;\n            box-shadow: 0 8px 24px rgba(43, 21, 35, .08);\n            transform: translateY(0);\n            transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;\n        }\n        .bta-coupon-card::before {\n            position: absolute;\n            z-index: 2;\n            top: 0;\n            right: 0;\n            left: 0;\n            height: 3px;\n            background: var(--bta-gold);\n            content: \"\";\n            transform: scaleX(.28);\n            transform-origin: center;\n            transition: transform .28s ease;\n        }\n        .bta-coupon-card:hover::before,\n        a.bta-coupon-card:focus-visible::before {\n            transform: scaleX(1);\n        }\n        .bta-coupon-card:hover,\n        a.bta-coupon-card:focus-visible {\n            transform: translateY(-6px);\n            border-color: #cdbfc8;\n            color: var(--bta-ink);\n            text-decoration: none;\n            box-shadow: 0 18px 38px rgba(43, 21, 35, .17);\n        }\n        a.bta-coupon-card:focus-visible {\n            outline: 3px solid rgba(215, 166, 29, .45);\n            outline-offset: 3px;\n        }\n        .bta-coupon-media {\n            display: grid;\n            width: 100%;\n            aspect-ratio: 4 \/ 5;\n            place-items: center;\n            overflow: hidden;\n            background: #f5f2f5;\n        }\n        .bta-coupon-image {\n            display: block;\n            width: 100%;\n            height: 100%;\n            margin: 0;\n            object-fit: contain;\n            transform: scale(1);\n            transition: transform .4s ease;\n        }\n        .bta-coupon-card:hover .bta-coupon-image,\n        a.bta-coupon-card:focus-visible .bta-coupon-image {\n            transform: scale(1.035);\n        }\n        .bta-coupon-image-placeholder {\n            width: 56px;\n            height: 40px;\n            border: 2px solid #d4cbd1;\n            border-radius: 4px;\n        }\n        .bta-coupon-content {\n            display: flex;\n            min-height: 142px;\n            flex-direction: column;\n            padding: 18px 20px 20px;\n        }\n        .bta-coupon-kicker {\n            margin-bottom: 7px;\n            color: var(--bta-wine);\n            font-size: 12px;\n            font-weight: 700;\n            letter-spacing: 0;\n            text-transform: uppercase;\n        }\n        .bta-coupon-title {\n            display: -webkit-box;\n            overflow: hidden;\n            color: var(--bta-ink);\n            font-size: 18px;\n            font-weight: 700;\n            line-height: 1.35;\n            -webkit-box-orient: vertical;\n            -webkit-line-clamp: 3;\n            transition: color .25s ease;\n        }\n        .bta-coupon-card:hover .bta-coupon-title,\n        a.bta-coupon-card:focus-visible .bta-coupon-title {\n            color: var(--bta-wine);\n        }\n        .bta-coupon-description {\n            margin: 10px 0 0;\n            color: var(--bta-ink);\n            font-size: 14px;\n            line-height: 1.5;\n            overflow-wrap: anywhere;\n        }\n        .bta-coupon-meta {\n            margin-top: auto;\n            padding-top: 14px;\n            color: var(--bta-muted);\n            font-size: 13px;\n        }\n        .bta-coupon-actions {\n            display: flex;\n            flex-direction: column;\n            align-items: center;\n            margin-top: 32px;\n        }\n        .bta-coupon-load-more {\n            display: inline-flex;\n            min-height: 48px;\n            align-items: center;\n            justify-content: center;\n            gap: 10px;\n            border: 1px solid var(--bta-wine);\n            border-radius: 6px;\n            padding: 11px 24px;\n            background: var(--bta-wine);\n            color: #fff;\n            font: inherit;\n            font-weight: 700;\n            cursor: pointer;\n            transition: background .2s ease, border-color .2s ease;\n        }\n        .bta-coupon-load-more:hover,\n        .bta-coupon-load-more:focus-visible {\n            border-color: var(--bta-wine-dark);\n            background: var(--bta-wine-dark);\n        }\n        .bta-coupon-load-more:disabled {\n            cursor: wait;\n            opacity: .75;\n        }\n        .bta-coupon-spinner {\n            display: none;\n            width: 16px;\n            height: 16px;\n            border: 2px solid rgba(255, 255, 255, .45);\n            border-top-color: #fff;\n            border-radius: 50%;\n            animation: bta-coupon-spin .7s linear infinite;\n        }\n        .bta-coupon-load-more.is-loading .bta-coupon-spinner {\n            display: inline-block;\n        }\n        .bta-coupon-error,\n        .bta-coupon-empty {\n            margin: 18px 0 0;\n            color: #9e2638;\n            text-align: center;\n        }\n        @keyframes bta-coupon-spin {\n            to { transform: rotate(360deg); }\n        }\n        @media (max-width: 900px) {\n            .bta-coupon-grid {\n                grid-template-columns: repeat(2, minmax(0, 1fr));\n                gap: 20px;\n            }\n        }\n        @media (max-width: 560px) {\n            .bta-coupon-global-text {\n                margin-bottom: 24px;\n                font-size: 16px;\n            }\n            .bta-coupon-grid {\n                grid-template-columns: minmax(0, 1fr);\n                gap: 18px;\n            }\n            .bta-coupon-content {\n                min-height: 126px;\n                padding: 16px;\n            }\n        }\n        @media (prefers-reduced-motion: reduce) {\n            .bta-coupon-card,\n            .bta-coupon-card::before,\n            .bta-coupon-image,\n            .bta-coupon-title,\n            .bta-coupon-load-more {\n                transition: none;\n            }\n        }\n    <\/style>\n    <script>\n        function btaCouponShowGate(section, message) {\n            section.querySelector('.bta-coupon-checking').hidden = true;\n            section.querySelector('.bta-coupon-gate').hidden = false;\n            section.querySelector('.bta-coupon-grid').innerHTML = '';\n            section.querySelector('.bta-coupon-grid').hidden = true;\n            section.querySelector('.bta-coupon-actions').hidden = true;\n            section.querySelector('.bta-coupon-empty').hidden = true;\n            var error = section.querySelector('.bta-coupon-gate-error');\n            error.textContent = message || '';\n            error.hidden = !message;\n        }\n\n        function btaCouponLoadFirst(section) {\n            var endpoint = new URL(section.getAttribute('data-endpoint'), window.location.href);\n            endpoint.searchParams.set('placeholder', section.getAttribute('data-placeholder'));\n            endpoint.searchParams.set('per_page', section.getAttribute('data-per-page'));\n            endpoint.searchParams.set('coupon_lang', section.getAttribute('data-language'));\n            endpoint.searchParams.set('page', '1');\n            return fetch(endpoint.toString(), { credentials: 'same-origin', cache: 'no-store' })\n                .then(function (response) {\n                    if (response.status === 403) {\n                        btaCouponShowGate(section);\n                        return null;\n                    }\n                    if (!response.ok) throw new Error('Could not load offers. Please try again.');\n                    return response.json();\n                })\n                .then(function (data) {\n                    if (!data) return;\n                    if (!data.success) throw new Error('Could not load offers. Please try again.');\n                    var grid = section.querySelector('.bta-coupon-grid');\n                    grid.innerHTML = data.items_html;\n                    grid.hidden = !data.items_html;\n                    section.querySelector('.bta-coupon-empty').hidden = !!data.items_html;\n                    section.querySelector('.bta-coupon-actions').hidden = !data.has_more;\n                    section.querySelector('.bta-coupon-load-more').setAttribute('data-page', '1');\n                    section.querySelector('.bta-coupon-checking').hidden = true;\n                    section.querySelector('.bta-coupon-gate').hidden = true;\n                })\n                .catch(function (error) {\n                    btaCouponShowGate(section, error.message);\n                });\n        }\n\n        function btaCouponInit() {\n            document.querySelectorAll('.bta-coupon-section').forEach(btaCouponLoadFirst);\n        }\n        if (document.readyState === 'loading') {\n            document.addEventListener('DOMContentLoaded', btaCouponInit);\n        } else {\n            btaCouponInit();\n        }\n\n        document.addEventListener('submit', function (event) {\n            var form = event.target.closest('.bta-coupon-gate');\n            if (!form) return;\n            event.preventDefault();\n            var section = form.closest('.bta-coupon-section');\n            var button = form.querySelector('button[type=\"submit\"]');\n            var error = form.querySelector('.bta-coupon-gate-error');\n            var body = new URLSearchParams();\n            body.set('action', 'bta_coupon_unlock');\n            body.set('promo_code', form.querySelector('[name=\"promo_code\"]').value);\n            button.disabled = true;\n            error.hidden = true;\n            fetch(section.getAttribute('data-unlock-endpoint'), {\n                method: 'POST', credentials: 'same-origin', cache: 'no-store',\n                headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n                body: body.toString()\n            }).then(function (response) { return response.json(); })\n                .then(function (data) {\n                    if (!data.success) throw new Error(data.data && data.data.message || 'Invalid promo code.');\n                    form.reset();\n                    document.querySelectorAll('.bta-coupon-section').forEach(btaCouponLoadFirst);\n                }).catch(function (failure) {\n                    error.textContent = failure.message || 'Could not verify the promo code.';\n                    error.hidden = false;\n                }).finally(function () { button.disabled = false; });\n        });\n\n        document.addEventListener('click', function (event) {\n            var button = event.target.closest('.bta-coupon-load-more');\n            if (!button || button.disabled) {\n                return;\n            }\n\n            var section = button.closest('.bta-coupon-section');\n            var grid = section.querySelector('.bta-coupon-grid');\n            var error = section.querySelector('.bta-coupon-error');\n            var nextPage = Number(button.getAttribute('data-page')) + 1;\n            var endpoint = new URL(button.getAttribute('data-endpoint'), window.location.href);\n\n            endpoint.searchParams.set('placeholder', section.getAttribute('data-placeholder'));\n            endpoint.searchParams.set('per_page', section.getAttribute('data-per-page'));\n            endpoint.searchParams.set('coupon_lang', section.getAttribute('data-language'));\n            endpoint.searchParams.set('page', String(nextPage));\n\n            button.disabled = true;\n            button.classList.add('is-loading');\n            error.hidden = true;\n\n            fetch(endpoint.toString(), { credentials: 'same-origin', cache: 'no-store' })\n                .then(function (response) {\n                    if (response.status === 403) {\n                        btaCouponShowGate(section);\n                        throw new Error('locked');\n                    }\n                    if (!response.ok) {\n                        throw new Error('Request failed');\n                    }\n                    return response.json();\n                })\n                .then(function (data) {\n                    if (!data.success) {\n                        throw new Error('Invalid response');\n                    }\n\n                    grid.insertAdjacentHTML('beforeend', data.items_html);\n                    button.setAttribute('data-page', String(nextPage));\n\n                    if (!data.has_more) {\n                        button.remove();\n                    }\n                })\n                .catch(function (failure) {\n                    if (failure.message === 'locked') return;\n                    error.textContent = 'More offers could not be loaded. Please try again.';\n                    error.hidden = false;\n                })\n                .finally(function () {\n                    if (button.isConnected) {\n                        button.disabled = false;\n                        button.classList.remove('is-loading');\n                    }\n                });\n        });\n    <\/script>\n        <section\n        id=\"bta-coupons-1\"\n        class=\"bta-coupon-section\"\n        data-placeholder=\"homepage_top\"\n        data-per-page=\"12\"\n        data-language=\"en\"\n        data-endpoint=\"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/coupons\/v1\/list\"\n        data-unlock-endpoint=\"https:\/\/broadwayteamnyc.com\/wp-admin\/admin-ajax.php\"\n    >\n                <p class=\"bta-coupon-checking\" role=\"status\">Checking access...<\/p>\n        <form class=\"bta-coupon-gate\" hidden>\n            <label for=\"bta-coupons-1-code\">Promo code<\/label>\n            <div class=\"bta-coupon-gate-controls\">\n                <input id=\"bta-coupons-1-code\" type=\"password\" name=\"promo_code\" autocomplete=\"off\" required maxlength=\"128\">\n                <button type=\"submit\">Unlock offers<\/button>\n            <\/div>\n            <p class=\"bta-coupon-gate-error\" role=\"alert\" hidden><\/p>\n        <\/form>\n        <div class=\"bta-coupon-grid\" aria-live=\"polite\" hidden><\/div>\n        <p class=\"bta-coupon-empty\" hidden>No offers are available right now.<\/p>\n        <div class=\"bta-coupon-actions\" hidden>\n            <button type=\"button\" class=\"bta-coupon-load-more\" data-page=\"1\" data-endpoint=\"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/coupons\/v1\/list\">\n                <span>Load more offers<\/span>\n                <span class=\"bta-coupon-spinner\" aria-hidden=\"true\"><\/span>\n            <\/button>\n            <p class=\"bta-coupon-error\" role=\"alert\" hidden><\/p>\n        <\/div>\n    <\/section>\n    \n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_eb_attr":"","postBodyCss":"","postBodyMargin":[],"postBodyPadding":[],"postBodyBackground":{"backgroundType":"classic","gradient":""},"footnotes":""},"class_list":["post-4266","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/wp\/v2\/pages\/4266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4266"}],"version-history":[{"count":2,"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/wp\/v2\/pages\/4266\/revisions"}],"predecessor-version":[{"id":4420,"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=\/wp\/v2\/pages\/4266\/revisions\/4420"}],"wp:attachment":[{"href":"https:\/\/broadwayteamnyc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}