{"id":2,"date":"2022-03-09T05:06:20","date_gmt":"2022-03-09T05:06:20","guid":{"rendered":"http:\/\/demo.flycart.net\/woo-discount-rules\/?page_id=2"},"modified":"2026-06-01T06:22:09","modified_gmt":"2026-06-01T06:22:09","slug":"demo2","status":"publish","type":"page","link":"https:\/\/demo.flycart.net\/woo-discount-rules\/","title":{"rendered":"Woo Discount Rules"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Take the demo<\/h4>\n\n\n    <style>\n    \/* \u2500\u2500 Email card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n    .des-card {\n        max-width: 460px;\n        background: #fff;\n        border: 1px solid #e5e7eb;\n        border-radius: 16px;\n        box-shadow: 0 8px 32px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);\n        padding: 44px 40px 36px;\n        font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", sans-serif;\n        box-sizing: border-box;\n    }\n    .des-card-icon {\n        width: 48px;\n        height: 48px;\n        background: #ede9fe;\n        border-radius: 12px;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        margin: 0 auto 22px;\n    }\n    .des-card-title {\n        margin: 0 0 10px;\n        font-size: 22px;\n        font-weight: 700;\n        color: #111827;\n        line-height: 1.3;\n        letter-spacing: -.01em;\n    }\n    .des-card-desc {\n        margin: 0 0 28px;\n        font-size: 14px;\n        color: #6b7280;\n        line-height: 1.7;\n    }\n    .des-field { margin-bottom: 20px; }\n    .des-field-note {\n        margin: 10px 0 0;\n        font-size: 12px;\n        color: #9ca3af;\n        line-height: 1.6;\n        font-style: italic;\n    }\n    .des-field label {\n        display: block;\n        margin-bottom: 7px;\n        font-size: 13px;\n        font-weight: 600;\n        color: #374151;\n        letter-spacing: .01em;\n    }\n    .des-field input[type=\"email\"],\n    .des-field input[type=\"text\"] {\n        width: 100%;\n        padding: 12px 14px;\n        font-size: 15px;\n        border: 1.5px solid #d1d5db;\n        border-radius: 10px;\n        box-sizing: border-box;\n        color: #111827;\n        background: #f9fafb;\n        outline: none;\n        transition: border-color .15s, box-shadow .15s, background .15s;\n        font-family: inherit;\n        -webkit-appearance: none;\n    }\n    .des-field input[type=\"email\"]:focus,\n    .des-field input[type=\"text\"]:focus {\n        border-color: #7c3aed;\n        background: #fff;\n        box-shadow: 0 0 0 4px rgba(124,58,237,.1);\n    }\n    .des-field input[type=\"email\"]::placeholder,\n    .des-field input[type=\"text\"]::placeholder { color: #9ca3af; }\n    .des-btn {\n        display: block;\n        width: 100%;\n        padding: 13px 20px;\n        font-size: 15px;\n        font-weight: 600;\n        color: #fff;\n        background: #7c3aed;\n        border: none;\n        border-radius: 10px;\n        cursor: pointer;\n        letter-spacing: .02em;\n        transition: background .15s, box-shadow .15s, transform .1s;\n        -webkit-appearance: none;\n    }\n    .des-btn:hover {\n        background: #6d28d9;\n        box-shadow: 0 6px 16px rgba(109,40,217,.28);\n    }\n    .des-btn:active { transform: scale(.98); }\n    .des-card-footer {\n        margin: 20px 0 0;\n        font-size: 12px;\n        color: #9ca3af;\n        text-align: center;\n        line-height: 1.6;\n    }\n    .des-card-footer span { margin: 0 6px; }\n\n    \/* \u2500\u2500 Secondary button (Resend) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n    .des-btn-secondary {\n        display: block;\n        width: 100%;\n        padding: 12px 20px;\n        font-size: 14px;\n        font-weight: 600;\n        color: #7c3aed;\n        background: #f5f3ff;\n        border: 1.5px solid #ede9fe;\n        border-radius: 10px;\n        cursor: pointer;\n        letter-spacing: .01em;\n        transition: background .15s, border-color .15s, box-shadow .15s;\n        font-family: inherit;\n        -webkit-appearance: none;\n        margin-top: 12px;\n    }\n    .des-btn-secondary:hover:not(:disabled) {\n        background: #ede9fe;\n        border-color: #ddd6fe;\n        box-shadow: 0 2px 8px rgba(124,58,237,.12);\n    }\n    .des-btn-secondary:disabled {\n        color: #a78bfa;\n        background: #faf5ff;\n        border-color: #ede9fe;\n        cursor: not-allowed;\n        opacity: .7;\n    }\n    \/* \u2500\u2500 Link-style button (Use a different email) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n    .des-link-btn {\n        background: none;\n        border: none;\n        padding: 0;\n        color: #6b7280;\n        font-size: 13px;\n        font-family: inherit;\n        cursor: pointer;\n        text-decoration: underline;\n        text-underline-offset: 2px;\n        display: block;\n        width: 100%;\n        text-align: center;\n        margin-top: 14px;\n        transition: color .15s;\n    }\n    .des-link-btn:hover { color: #374151; }\n\n    \/* \u2500\u2500 Shared alerts \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n    .des-error {\n        color: #991b1b;\n        background: #fef2f2;\n        border: 1px solid #fecaca;\n        border-radius: 10px;\n        padding: 11px 14px;\n        font-size: 13px;\n        margin-bottom: 18px;\n        font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n    }\n    .des-info {\n        color: #065f46;\n        background: #ecfdf5;\n        border: 1px solid #a7f3d0;\n        border-radius: 10px;\n        padding: 11px 14px;\n        font-size: 13px;\n        margin-bottom: 18px;\n        font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n    }\n    <\/style>\n        <div class=\"des-card\">\n\n        <div class=\"des-card-icon\">\n            <svg width=\"22\" height=\"22\" viewBox=\"0 0 24 24\" fill=\"none\"\n                 stroke=\"#7c3aed\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\n                 aria-hidden=\"true\">\n                <rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"\/>\n                <path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"\/>\n            <\/svg>\n        <\/div>\n\n        <h2 class=\"des-card-title\">Verify your email to continue<\/h2>\n        <p class=\"des-card-desc\">\n            To keep the demo free of spam and bots, we ask everyone to verify their email first.\n            Enter your email address and we'll send you a one-time passcode.\n        <\/p>\n\n        \n        <form method=\"post\">\n            <div class=\"des-field\">\n                <label for=\"des_email\">Email<\/label>\n                <input type=\"email\" id=\"des_email\" name=\"des_email\"\n                       required placeholder=\"you@example.com\" autocomplete=\"email\" \/>\n            <\/div>\n            <input type=\"hidden\" name=\"des_action\" value=\"send_otp\" \/>\n            <button type=\"submit\" class=\"des-btn\">Send Verification Code<\/button>\n        <\/form>\n\n\n    <\/div>\n    \n","protected":false},"excerpt":{"rendered":"<p>Take the demo<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/pages\/2"}],"collection":[{"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":9,"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/pages\/2\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/demo.flycart.net\/woo-discount-rules\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}