Back to Compare
Apigenin

Momentous

Apigenin 60 Servings

Flavour

Momentous

Buy

Price History

Loading...

Description

Apigenin is a bioflavonoid supplement found in various fruits, vegetables, and herbs, such as chamomile and parsley, which can help reduce stress and promote higher-quality sleep. Apigenin works by activating chloride ion channels, calming overall neuronal activity in the forebrain, and allowing the body to enter a more restful state. Research has also demonstrated that apigenin can decrease the stress hormone cortisol.

Ingredients

Apigenin (from grapefruit) - 50 mg A plant-derived flavonoid selected to support relaxation, stress regulation, and sleep quality through its calming effects on the nervous system. Other Ingredients: Rice Flour, Hypromellose (capsule), L-leucine, Silica Sourced from high-quality suppliers and manufactured to strict standards to ensure purity, potency, and consistency. Onset Time & Expected Results When to use Take 1 capsule 30–60 minutes before bed as part of your nightly routine. Onset time Some may notice a calming effect within the first few nights, with more consistent sleep benefits typically building over 2–4 days of regular use. Expected results Easier transition into sleep Improved sleep quality and duration Reduced nighttime stress and mental activity Better recovery and next-day mental clarity Results may vary based on individual factors like stress levels, sleep habits, and consistency of use. Clinical Research & 3rd Party Test Results There are 2 credible reviews and studies related to this product: Pharmacological profile of apigenin, a flavonoid isolated from Matricaria chamomilla Apigenin: a natural molecule at the intersection of sleep and aging Build Your Stack Best Seller {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image2920") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.8 Rated 4.8 out of 5 stars 959 {"averageRating":"4.8","reviewCount":959} Magnesium L-Threonate Crosses the blood-brain barrier boosting magnesium levels Helps support learning, attention, and cognitive function Promotes calm brain activity and improved sleep quality £29.25 £39.00 Add to Bag Magnesium L-Threonate Subscribe & Save 25% £ 29.25 £ 39.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 39.00 £ 39.00 £ 39.00 £ 39.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Magnesium L-Threonate Subscribe & Save 25% £ 29.25 £ 39.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 39.00 £ 39.00 £ 39.00 £ 39.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image669") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.8 Rated 4.8 out of 5 stars 221 {"averageRating":"4.8","reviewCount":221} L-Theanine Promotes calm, focused mental clarity Helps reduce acute stress without brain fog Supports relaxation and sleep quality £23.25 £31.00 Add to Bag L-Theanine Subscribe & Save 25% £ 23.25 £ 31.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 31.00 £ 31.00 £ 31.00 £ 31.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } L-Theanine Subscribe & Save 25% £ 23.25 £ 31.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 31.00 £ 31.00 £ 31.00 £ 31.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Upgraded Formula {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image6133") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.5 Rated 4.5 out of 5 stars 310 {"averageRating":"4.5","reviewCount":310} Creatine Chews 150-Count New Signature Spec creatine quality designation Guaranteed 1g of creatine in every chew Clinically studied to support strength and cognitive function* £29.25 £39.00 Add to Bag Creatine Chews 150-Count Flavor: Lemon LimeMangoStrawberry Subscribe & Save 25% £ 29.25 £ 39.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 39.00 £ 39.00 £ 39.00 £ 39.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Creatine Chews 150-Count Flavor: Lemon LimeMangoStrawberry Subscribe & Save 25% £ 29.25 £ 39.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 39.00 £ 39.00 £ 39.00 £ 39.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image5525") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.5 Rated 4.5 out of 5 stars 139 {"averageRating":"4.5","reviewCount":139} Elite Sleep A synergestic blend to promote restful sleep Helps reset circadian rhythm during disrupted sleep cycles Supports nighttime recovery & reduces next-day grogginess £26.25 £35.00 Add to Bag Elite Sleep Subscribe & Save 25% £ 26.25 £ 35.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 35.00 £ 35.00 £ 35.00 £ 35.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Elite Sleep Subscribe & Save 25% £ 26.25 £ 35.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 1 month Delivery every 2 months Delivery every 3 months One-time Purchase £ 35.00 £ 35.00 £ 35.00 £ 35.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } {const lazyImages = window.lazyImages = window.lazyImages || [] const el = document.querySelector("#image5877") if(el && window.lazyImageFn) window.lazyImageFn(el); else if(el) lazyImages.push(el) } 4.9 Rated 4.9 out of 5 stars 1,178 {"averageRating":"4.9","reviewCount":1178} Omega-3 Travel Packs Convenient travel format to reduce inflammation and support recovery Promotes cognitive clarity, cardiovascular health, and joint mobility Norwegian sourced + tested for heavy metals and purity £9.00 £12.00 Add to Bag Omega-3 Travel Packs Subscribe & Save 25% £ 9.00 £ 12.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 12.00 £ 12.00 £ 12.00 £ 12.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } Omega-3 Travel Packs Subscribe & Save 25% £ 9.00 £ 12.00 Out of Stock Protection 10% off future deliveries Cancel or reschedule anytime Experience long-term results Delivery every 2 months Delivery every 1 month Delivery every 3 months One-time Purchase £ 12.00 £ 12.00 £ 12.00 £ 12.00 Sorry, We are currently out of stock! Estimated to be back in stock: Add to Bag Notify me when available View Full Details .first-hidden { display: none; } .product-carousel .swiper-slide { flex-shrink: 0; } @media (min-width: 768px) { .product-carousel .swiper-wrapper { display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; } .product-carousel .swiper-wrapper::-webkit-scrollbar { display: none; } } #shopify-section-template--20282421117111__horizontal_line_hMFxBL { padding-top: 0px; padding-bottom: 10px; } @media (max-width: 1023px) { #shopify-section-template--20282421117111__horizontal_line_hMFxBL { padding-top: 0px; padding-bottom: 10px; } } Frequently Asked Questions What is Apigenin? Apigenin is a naturally occurring flavonoid found in certain plants. As a dietary supplement, it is commonly used to support relaxation, stress management, and healthy sleep patterns as part of a consistent routine. Who should use Apigenin? Apigenin may be beneficial for individuals who experience occasional difficulty relaxing at night or want to support consistent sleep quality. It is commonly used by those looking for a non-melatonin option to support relaxation and stress resilience. Is Apigenin habit-forming or addictive? Apigenin is a sleep support compound that is not considered habit-forming or addictive. It is commonly used to support relaxation and stress management as part of a consistent sleep routine. Can I take Apigenin every night? Yes. Apigenin is typically used nightly when taken as directed. Consistent use as part of a structured sleep routine may help support its intended benefits over time. How long should I use Apigenin to see noticeable results? The timeline for experiencing benefits from Apigenin can vary by individual. Some individuals notice relaxation benefits earlier, while improvements in overall sleep quality may develop over time with consistent use. For best results, Apigenin is typically used as part of a broader sleep routine that includes consistent sleep habits and good sleep hygiene. How is Apigenin different from melatonin? Apigenin is a non-hormonal compound used to support relaxation and sleep quality. Unlike melatonin, which directly influences sleep-wake signaling, apigenin is commonly used to support calmness and stress management without altering hormone levels. Can I take Apigenin with other supplements or sleep aids? Apigenin is commonly used alongside other sleep-support supplements and is included in the Momentous Nightly Sleep Pack with Magnesium L-Threonate and L-Theanine. While Apigenin is generally used as part of a broader supplement routine, individuals with specific health considerations should consult a healthcare professional before combining supplements. Is Momentous Apigenin NSF Certified for Sport®? Yes. Momentous Apigenin is NSF Certified for Sport®, meaning every batch is independently tested to verify purity, potency, and label accuracy. NSF Certified for Sport® certification also confirms that the product is tested for banned substances, making it suitable for drug-tested athletes. This third-party certification ensures that what is listed on the label is exactly what is in the product, with no harmful contaminants or undeclared ingredients. 4.8 Rated 4.8 out of 5 stars Based on 205 reviews 5 Rated out of 5 stars 174 Total 5 star reviews: 174 4 Rated out of 5 stars 22 Total 4 star reviews: 22 3 Rated out of 5 stars 5 Total 3 star reviews: 5 2 Rated out of 5 stars 2 Total 2 star reviews: 2 1 Rated out of 5 stars 2 Total 1 star reviews: 2 96%would recommend this product Reviews Summary Generated by AI from 100 most recent customer reviews Last updated 5 months ago Customers say this supplement helps them fall asleep faster and stay asleep through the night. Many reviews mention improved sleep quality with less morning grogginess compared to other sleep aids. Users frequently combine it with magnesium and L-theanine as part of a sleep stack. Common feedback includes deeper, more restful sleep and reduced nighttime awakenings. While most customers report positive results within weeks, some note it may take time to build up in the system. A few users experienced no improvement or found it kept them awake. Reviews consistently praise the gentle, non-drowsy effects and clean formulation. Read More Customers Talked About Sleep Quality Effectiveness Sleep Onset Relaxation Morning Effects Filters Write a Review (Opens in a new window) 205 reviews Sort Most RecentPhotos & VideosMost HelpfulHighest RatingOldestLowest RatingLeast Helpful KB Kaitlyn B. Verified Buyer 21 seconds ago Rated 5 out of 5 stars Sleep fix I’ve been taking this for a few weeks and honestly have been sleeping more consistently Read MoreRead more about this review Was this helpful?Yes, this review from Kaitlyn B. was helpful. 0 people voted yesNo, this review from Kaitlyn B. was not helpful. 0 people voted no PU Paul U. Verified Buyer 1 week ago Rated 5 out of 5 stars Great product I take this before bed and really helps with my quality of sleep. Read MoreRead more about this review Was this helpful?Yes, this review from Paul U. was helpful. 0 people voted yesNo, this review from Paul U. was not helpful. 0 people voted no SB Sarah B. Verified Buyer Product Standouts Results, Trust and Transparency 2 weeks ago Product Standouts Results, Trust and Transparency Rated 5 out of 5 stars Finally found my sleep stack! I paired this with the magnesium L-Threonate and it’s helped tremendously with my sleep. I’ve literally tried everything and this duo is it! Read MoreRead more about this review Was this helpful?Yes, this review from Sarah B. was helpful. 0 people voted yesNo, this review from Sarah B. was not helpful. 0 people voted no MD Matt D. Verified Buyer Product Standouts Ease of Use, Results, Trust and Transparency, Value for Money 2 months ago Product Standouts Ease of Use, Results, Trust and Transparency, Value for Money Rated 5 out of 5 stars Excellent product! Quality vitamins! I take 2 capsules (100mg total) each night. I’m a big guy at 6’3” 230lbs. Definitely helps with my sleep and gets me to that calm state of mind to fall asleep smoothly and stay asleep through the night. No grogginess in the morning. Read MoreRead more about this review Was this helpful?Yes, this review from Matt D. was helpful. 0 people voted yesNo, this review from Matt D. was not helpful. 0 people voted no BI Barb I. Verified Buyer Product Standouts Ease of Use, Results, Value for Money 2 months ago Product Standouts Ease of Use, Results, Value for Money Rated 5 out of 5 stars Used for sleep I take Apigenin with your Magnesium every night to help me sleep. It really seemed to start working right away. I like that the capsules are small and easy to swallow. I still wake up several times a night, but the time is less than before I started using your products. No grogginess in the morning at all. Read MoreRead more about this review Was this helpful?Yes, this review from Barb I. was helpful. 0 people voted yesNo, this review from Barb I. was not helpful. 0 people voted no Loading... Loading... Show More {"areReviewsGrouped":false,"chatAssistant":{"reviewCount":205},"media":[],"productAttributes":[],"questionCount":0,"reviewAggregate":{"dateUpdated":"2026-07-24T12:17:02.433Z","mediaCount":0,"productAttributeCount":[{"title":"Product Standouts","type":"multi-value","options":[{"title":"Results","count":4},{"title":"Ease of Use","count":3},{"title":"Value for Money","count":3},{"title":"Trust and Transparency","count":2}]}],"productId":"shopify-7113706537143","productName":"Apigenin","ratingAndReviewCount":205,"ratingAndReviewCountByLevel":{"level1Count":2,"level2Count":2,"level3Count":5,"level4Count":22,"level5Count":174},"ratingAndReviewValuesTotal":979,"ratingCount":0,"ratingCountByLevel":{},"ratingValuesTotal":0,"recommendationCount":196,"replyCount":0,"replyWordsTotal":0,"reviewCount":205,"reviewCountByLevel":{"level1Count":2,"level2Count":2,"level3Count":5,"level4Count":22,"level5Count":174},"reviewRatingValuesTotal":979,"reviewWordsTotal":5787,"subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7113706537143","subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c"},"reviews":[{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"2fd13e7b-89f6-4588-81fd-196cebcdaa2f","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7113706537143","productId":"shopify-7113706537143","body":"I’ve been taking this for a few weeks and honestly have been sleeping more consistently ","dateCreated":"2026-07-24T12:17:01.456Z","dateUpdated":"2026-07-24T12:17:01.456Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productHandle":"apigenin","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Apigenin_HERO_x280.png?v=1776800083","productName":"Apigenin","productUrl":"//www.livemomentous.com/products/apigenin","rating":5,"reviewer":{"displayName":"Kaitlyn B.","isVerified":true},"isIncentivized":false,"status":"approved","title":"Sleep fix","unhelpfulCount":0,"variantId":"41127762526391"},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"f570c09b-694d-4c76-9ea6-bd757e6ba5e9","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7113706537143","productId":"shopify-7113706537143","body":"I take this before bed and really helps with my quality of sleep. ","dateCreated":"2026-07-10T15:29:22.058Z","dateUpdated":"2026-07-10T15:29:22.058Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productHandle":"apigenin","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Apigenin_HERO_x280.png?v=1776800083","productName":"Apigenin","productUrl":"//www.livemomentous.com/products/apigenin","rating":5,"reviewer":{"displayName":"Paul U.","isVerified":true},"isIncentivized":false,"status":"approved","title":"Great product","unhelpfulCount":0,"variantId":"41127762526391"},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"cbd65f78-eb7e-4b1d-ac2e-d616ba087622","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7113706537143","productId":"shopify-7113706537143","body":"I paired this with the magnesium L-Threonate and it’s helped tremendously with my sleep. I’ve literally tried everything and this duo is it! ","dateCreated":"2026-07-05T15:08:43.894Z","dateUpdated":"2026-07-05T15:08:43.894Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productAttributes":[{"title":"Product Standouts","type":"multi-value","value":["Results","Trust and Transparency"]}],"productHandle":"apigenin","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Apigenin_HERO_x280.png?v=1776800083","productName":"Apigenin","productUrl":"//www.livemomentous.com/products/apigenin","rating":5,"reviewer":{"displayName":"Sarah B.","isVerified":true},"isIncentivized":false,"status":"approved","title":"Finally found my sleep stack!","unhelpfulCount":0,"variantId":"41127762526391"},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"6dc9698c-9478-47e2-a0a1-a58470b8a6bf","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7113706537143","productId":"shopify-7113706537143","body":"Quality vitamins! I take 2 capsules (100mg total) each night. I’m a big guy at 6’3” 230lbs. Definitely helps with my sleep and gets me to that calm state of mind to fall asleep smoothly and stay asleep through the night. No grogginess in the morning. ","dateCreated":"2026-05-23T21:52:13.925Z","dateUpdated":"2026-05-23T21:52:13.925Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productAttributes":[{"title":"Product Standouts","type":"multi-value","value":["Ease of Use","Results","Trust and Transparency","Value for Money"]}],"productHandle":"apigenin","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Apigenin_HERO_x280.png?v=1776800083","productName":"Apigenin","productUrl":"//www.livemomentous.com/products/apigenin","rating":5,"reviewer":{"displayName":"Matt D.","isVerified":true},"isIncentivized":false,"status":"approved","title":"Excellent product! ","unhelpfulCount":0,"variantId":"41127762526391"},{"subscriberId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c","reviewId":"ca8f094d-32cf-479a-8bad-7c133088df9f","subscriberId_productId":"72adcf9f-ede7-4232-8bc6-db71fceaf77c:shopify-7113706537143","productId":"shopify-7113706537143","body":"I take Apigenin with your Magnesium every night to help me sleep. It really seemed to start working right away. I like that the capsules are small and easy to swallow. I still wake up several times a night, but the time is less than before I started using your products. No grogginess in the morning at all. ","dateCreated":"2026-05-23T18:22:35.396Z","dateUpdated":"2026-05-23T18:22:35.396Z","helpfulCount":0,"isRecommended":true,"languageCode":"en","productAttributes":[{"title":"Product Standouts","type":"multi-value","value":["Ease of Use","Results","Value for Money"]}],"productHandle":"apigenin","productImageUrl":"https://cdn.shopify.com/s/files/1/1400/2351/files/Apigenin_HERO_x280.png?v=1776800083","productName":"Apigenin","productUrl":"//www.livemomentous.com/products/apigenin","rating":5,"reviewer":{"displayName":"Barb I.","isVerified":true},"isIncentivized":false,"status":"approved","title":"Used for sleep","unhelpfulCount":0,"variantId":"41127762526391"}],"reviewsKeywords":{"keywordTopics":[{"keywords":[{"name":"sleep","occurrences":33},{"name":"sleep quality","occurrences":17},{"name":"REM sleep","occurrences":2},{"name":"deep sleep","occurrences":2},{"name":"sleep scores","occurrences":1},{"name":"sleep improvement","occurrences":1},{"name":"sleep duration","occurrences":1}],"topic":"Sleep Quality"},{"keywords":[{"name":"effectiveness","occurrences":15},{"name":"results","occurrences":3},{"name":"improvement","occurrences":1}],"topic":"Effectiveness"},{"keywords":[{"name":"falling asleep","occurrences":2},{"name":"onset time","occurrences":2},{"name":"sleep onset","occurrences":2},{"name":"fall asleep","occurrences":1}],"topic":"Sleep Onset"},{"keywords":[{"name":"relaxation","occurrences":6},{"name":"calming","occurrences":3},{"name":"calming effect","occurrences":1},{"name":"relaxed","occurrences":1}],"topic":"Relaxation"},{"keywords":[{"name":"grogginess","occurrences":5},{"name":"morning energy","occurrences":2},{"name":"morning clarity","occurrences":1},{"name":"morning effects","occurrences":1},{"name":"morning feel","occurrences":1},{"name":"morning grogginess","occurrences":1}],"topic":"Morning Effects"},{"keywords":[{"name":"quality","occurrences":5},{"name":"capsules","occurrences":2},{"name":"transparency","occurrences":2},{"name":"product quality","occurrences":1},{"name":"ingredients","occurrences":1}],"topic":"Product Quality"},{"keywords":[{"name":"staying asleep","occurrences":2},{"name":"night waking","occurrences":1},{"name":"sleep disruption","occurrences":1}],"topic":"Sleep Maintenance"}],"languageCode":"en"},"reviewsNextUrl":"https://api.okendo.io/v1/stores/72adcf9f-ede7-4232-8bc6-db71fceaf77c/products/shopify-7113706537143/reviews?limit=5&orderBy=date%20desc&lastEvaluated=%7B%22subscriberId%22%3A%2272adcf9f-ede7-4232-8bc6-db71fceaf77c%22%2C%22dateCreated%22%3A%222026-05-23T18%3A22%3A35.396Z%22%2C%22subscriberId_productId%22%3A%2272adcf9f-ede7-4232-8bc6-db71fceaf77c%3Ashopify-7113706537143%22%2C%22reviewId%22%3A%22ca8f094d-32cf-479a-8bad-7c133088df9f%22%7D","reviewsSummary":{"body":"Customers say this supplement helps them fall asleep faster and stay asleep through the night. Many reviews mention improved sleep quality with less morning grogginess compared to other sleep aids. Users frequently combine it with magnesium and L-theanine as part of a sleep stack. Common feedback includes deeper, more restful sleep and reduced nighttime awakenings. While most customers report positive results within weeks, some note it may take time to build up in the system. A few users experienced no improvement or found it kept them awake. Reviews consistently praise the gentle, non-drowsy effects and clean formulation.","contributingReviewCount":100,"dateGenerated":"2026-02-06T00:06:51.484Z","datePublished":"2026-02-17T02:07:36.952Z","languageCode":"en"},"sort":{"defaultSort":"date desc"}} !(function() { const widgets = document.querySelectorAll('.js-oke-widgetSize'); if (widgets && widgets.length) { if (!window.okeSetWidgetSizes) { window.okeSetWidgetSizes = (allWidgets) => { if (allWidgets) { allWidgets.forEach(widget => { const width = widget.getBoundingClientRect().width; widget.classList.remove('oke-is-small', 'oke-is-medium', 'oke-is-large'); widget.classList.add(width > 960 ? 'oke-is-large' : width > 640 ? 'oke-is-medium' : 'oke-is-small'); }); } }; } if (!window.okeResizeObserver) { let okeMetafieldResizerTimer; window.okeResizeObserver = new ResizeObserver(entries => { if (entries && entries.length) { if (okeMetafieldResizerTimer) { clearTimeout(okeMetafieldResizerTimer); } okeMetafieldResizerTimer = window.setTimeout(() => { window.okeSetWidgetSizes(entries.map(e => e.target)); }, 100); } }); } window.okeSetWidgetSizes(document.querySelectorAll('.js-oke-widgetSize')); widgets.forEach((widget) => { window.okeResizeObserver.observe(widget); }); } })(); @media (min-width: 1024px) { .oke-w-main { width: 67%; margin-left: auto; } } [ { "@context": "https://schema.org/", "@type": "Product", "name": "Apigenin", "url": "https:\/\/www.livemomentous.com\/products\/apigenin", "image":"https:\/\/www.livemomentous.com\/cdn\/shop\/files\/Apigenin_HERO.png?v=1776800083\u0026width=1000","description": "Apigenin is a naturally occurring flavonoid found in chamomile and other plants, known for its calming effects on the brain and its ability to support deeper, more restorative sleep. It works by activating GABA receptors and reducing neuronal activity in the forebrain—helping to ease the mind and promote relaxation.\nOften used as part of a nighttime routine, Apigenin may also help lower cortisol levels and support antioxidant activity in the brain. It’s an effective, non-sedating option for improving sleep quality and managing daily stress.","sku": "850030796455","brand": { "@type": "Brand", "name": "Momentous" },"aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.8", "reviewCount": "205", "bestRating": "5", "worstRating": "1" },"hasMerchantReturnPolicy": { "@type": "MerchantReturnPolicy", "@id": "#momentous-return-policy", "applicableCountry": "US", "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow", "merchantReturnDays": 30, "merchantReturnLink": "https:\/\/www.livemomentous.com\/policies\/refund-policy", "returnMethod": "https://schema.org/ReturnByMail", "returnFees": "https://schema.org/FreeReturn", "customerRemorseReturnFees": "https://schema.org/FreeReturn", "returnShippingFeesAmount": { "@type": "MonetaryAmount", "value": 0, "currency": "USD" }, "refundType": "https://schema.org/FullRefund" }, "offers": [{ "@type": "Offer","sku": "850030796455","gtin12": "850030796455","itemCondition": "https://schema.org/NewCondition", "availability": "https://schema.org/InStock", "price": 18.0, "priceCurrency": "GBP", "url": "https:\/\/www.livemomentous.com\/products\/apigenin?variant=41127762526391","priceSpecification": [ { "@type": "UnitPriceSpecification", "price": 18.0, "priceCurrency": "GBP", "name": "One-Time Purchase" }, { "@type": "UnitPriceSpecification", "price": 13.5, "priceCurrency": "GBP", "name": "Delivery every 2 months", "validForMemberTier": { "@type": "MemberProgramTier", "@id": "#momentous-subscriber", "name": "Subscriber" } } ],"hasMerchantReturnPolicy": { "@type": "MerchantReturnPolicy", "@id": "#momentous-return-policy" } } ] }, { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https:\/\/www.livemomentous.com" }, { "@type": "ListItem", "position": 2, "name": "Capsules", "item": "https:\/\/www.livemomentous.com\/collections\/capsules" }, { "@type": "ListItem", "position": 3, "name": "Apigenin", "item": "https:\/\/www.livemomentous.com\/products\/apigenin" } ] } ] .combined-product-button.flavour-disabled { opacity: 0.5; position: relative; cursor: not-allowed; pointer-events: none; } .combined-product-button.flavour-disabled:after { content: ' '; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: linear-gradient(to top left, rgba(0,0,0,0) calc(50% - 1px), #CFCFCA, rgba(0,0,0,0) calc(50% + 1px)) } Sign up for offers, product news, and tips Support Account Help & Contact Subscriptions Locations Press Inquiries Company About Us Careers Blog Affiliate Program Trusted Experts Wholesale Corporate Wellness Resources Privacy Policy Terms of Service Your Privacy Choices Accessibility California Prop 65 Save with HSA/FSA Certificate of Analysis Patents Do Not Sell My Information *These statements have not been evaluated by the food and drug administration. This product is not intended to diagnose, treat, cure, or prevent any disease. Afghanistan - USD $ Åland Islands - USD $ Algeria - USD $ Andorra - EUR € Anguilla - USD $ Antigua & Barbuda - USD $ Argentina - USD $ Armenia - USD $ Aruba - USD $ Ascension Island - USD $ Australia - AUD $ Austria - EUR € Bahamas - USD $ Bahrain - USD $ Bangladesh - USD $ Barbados - USD $ Belgium - EUR € Belize - USD $ Bermuda - USD $ Bhutan - USD $ Bolivia - USD $ Bosnia & Herzegovina - USD $ Botswana - USD $ Brazil - USD $ British Indian Ocean Territory - USD $ Brunei - USD $ Bulgaria - USD $ Burkina Faso - USD $ Burundi - USD $ Cambodia - USD $ Cameroon - USD $ Canada - CAD $ Cape Verde - USD $ Caribbean Netherlands - USD $ Cayman Islands - USD $ Central African Republic - USD $ Chad - USD $ Chile - USD $ China - USD $ Christmas Island - USD $ Cocos (Keeling) Islands - USD $ Colombia - USD $ Congo - Brazzaville - USD $ Congo - Kinshasa - USD $ Cook Islands - USD $ Costa Rica - USD $ Côte d’Ivoire - USD $ Croatia - USD $ Curaçao - USD $ Cyprus - EUR € Czechia - USD $ Denmark - USD $ Dominica - USD $ Dominican Republic - USD $ Ecuador - USD $ Egypt - USD $ El Salvador - USD $ Estonia - EUR € Eswatini - USD $ Ethiopia - USD $ Falkland Islands - USD $ Finland - EUR € France - EUR € French Guiana - USD $ French Polynesia - USD $ French Southern Territories - USD $ Gabon - USD $ Gambia - USD $ Germany - EUR € Ghana - USD $ Greece - EUR € Guadeloupe - USD $ Guatemala - USD $ Guernsey - USD $ Guinea - USD $ Guyana - USD $ Haiti - USD $ Hong Kong SAR - USD $ Hungary - USD $ Iceland - USD $ India - USD $ Indonesia - USD $ Iraq - USD $ Ireland - EUR € Isle of Man - USD $ Israel - USD $ Italy - EUR € Jamaica - USD $ Japan - USD $ Jersey - USD $ Jordan - USD $ Kenya - USD $ Kosovo - EUR € Kuwait - USD $ Laos - USD $ Latvia - EUR € Lebanon - USD $ Liberia - USD $ Liechtenstein - USD $ Lithuania - EUR € Luxembourg - EUR € Macao SAR - USD $ Madagascar - USD $ Malawi - USD $ Malaysia - USD $ Maldives - USD $ Mali - USD $ Malta - EUR € Martinique - USD $ Mauritania - USD $ Mauritius - USD $ Mayotte - USD $ Mexico - USD $ Moldova - USD $ Monaco - EUR € Montenegro - EUR € Morocco - USD $ Mozambique - USD $ Namibia - USD $ Nauru - USD $ Nepal - USD $ Netherlands - EUR € New Zealand - USD $ Nicaragua - USD $ Niger - USD $ Nigeria - USD $ Niue - USD $ Norfolk Island - USD $ Norway - USD $ Oman - USD $ Pakistan - USD $ Palestinian Territories - USD $ Panama - USD $ Papua New Guinea - USD $ Paraguay - USD $ Peru - USD $ Philippines - USD $ Pitcairn Islands - USD $ Poland - USD $ Portugal - EUR € Qatar - USD $ Réunion - USD $ Romania - USD $ Rwanda - USD $ San Marino - EUR € São Tomé & Príncipe - USD $ Saudi Arabia - USD $ Senegal - USD $ Seychelles - USD $ Sierra Leone - USD $ Singapore - USD $ Slovakia - EUR € Slovenia - EUR € Solomon Islands - USD $ Somalia - USD $ South Africa - USD $ South Georgia & South Sandwich Islands - USD $ South Korea - USD $ South Sudan - USD $ Spain - EUR € Sri Lanka - USD $ St. Helena - USD $ St. Pierre & Miquelon - USD $ Suriname - USD $ Svalbard & Jan Mayen - USD $ Sweden - USD $ Switzerland - USD $ Taiwan - USD $ Tajikistan - USD $ Tanzania - USD $ Thailand - USD $ Togo - USD $ Tokelau - USD $ Trinidad & Tobago - USD $ Tristan da Cunha - USD $ Tunisia - USD $ Türkiye - USD $ Turkmenistan - USD $ Tuvalu - USD $ U.S. Outlying Islands - USD $ Uganda - USD $ Ukraine - USD $ United Arab Emirates - USD $ United Kingdom - GBP £ United States - USD $ Uruguay - USD $ Vatican City - USD $ Venezuela - USD $ Vietnam - USD $ Western Sahara - USD $ Yemen - USD $ Zambia - USD $ Zimbabwe - USD $ United Kingdom - GB £ .country-selector { position: relative; } .country-selector__select { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; } .country-selector__selected-display { display: flex; align-items: center; gap: 8px; } document.querySelector('.country-selector__select').addEventListener('change', function() { const selectedOption = this.options[this.selectedIndex]; const flagSrc = selectedOption.dataset.flagSrc; const currency = selectedOption.dataset.currency; // Update the displayed flag and text const display = this.closest('.country-selector').querySelector('.country-selector__selected-display'); display.querySelector('img').src = flagSrc; display.querySelector('img').alt = selectedOption.text; display.querySelector('span').textContent = selectedOption.text; // Submit the form this.closest('form').submit(); }); document.addEventListener("DOMContentLoaded", () => { const managePreferencesBtn = document.querySelector( 'a[aria-label="Your Privacy Choices"]' ); if (managePreferencesBtn) { managePreferencesBtn.addEventListener("click", (event) => { event.preventDefault(); const consent = window[Symbol.for("blotout-consent")]; if (consent && typeof consent.showBanner === "function") { consent.showBanner(); console.log('Banner Fired') } }); } }); document.addEventListener('DOMContentLoaded', function() { // Handle newsletter form submission document.addEventListener('newsletter-submit', function(event) { const email = event.detail.email; // Here you can integrate with your email service (Klaviyo, Mailchimp, etc.) // Example: Send to Klaviyo or your backend console.log('Newsletter subscription:', email); // You can add your newsletter integration here // For example, if using Klaviyo: // if (window._learnq) { // window._learnq.push(['identify', { $email: email }]); // } }); }); /* Ensure x-cloak works properly */ [x-cloak] { display: none !important; } /* Custom styles for localization form integration */ #footer-new .country-selector { min-width: 200px; } #footer-new .country-selector__selected-display { padding: 8px 12px; cursor: pointer; transition: border-color 0.2s; } #footer-new .country-selector__selected-display:hover { border-color: #f97316; } #footer-new .country-selector__selected-display:focus-within { outline: 2px solid #f97316; outline-offset: 2px; } /* Ensure proper spacing for social icons */ #footer-new [role="list"] { list-style: none; padding: 0; margin: 0; } /* Smooth transitions for all interactive elements */ #footer-new a, #footer-new button { transition: all 0.2s ease-in-out; } /* High contrast mode support */ @media (prefers-contrast: high) { #footer-new { border-top: 2px solid currentColor; } #footer-new a:focus, #footer-new button:focus { outline-width: 3px; } } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { #footer-new * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } .footer-new__logo { width: 300px; height: 120px; } @media (max-width: 768px) { .footer-new__logo { width: 200px; height: 85px; } } .new-footer-klaviyo-form button[type="button"] { font-size: 0 !important; } .new-footer-klaviyo-form button[type="button"]::before { content: ""; display: inline-block; width: 19px; height: 16px; background-image: url("data:image/svg+xml;utf8,"); background-repeat: no-repeat; background-size: contain; margin-right: 6px; /* spacing before text */ vertical-align: middle; } function closeKlaviyoOutOfStockModal() { let modalElem = document.getElementById("klaviyo_modal"); modalElem.style.display = "none"; document.getElementById('back-in-stock').innerHTML = "" document.body.classList.remove('back-in-stock-opned') } function successKlaviyoOutOfStockModal() { document.getElementById("klaviyo_out_of_stock_form").innerHTML = `

You will receive an email when the product is back in stock! `; } function createKlaviyoOutOfStockSubscriptionModal(variantId, productTitle, variantTitle, backDate, image) { let modalElem = document.createElement("div"); modalElem.innerHTML = `

We’ll notify you when the product is back in stock!
${productTitle}
${productTitle}

${variantTitle}

Estimated to be back in stock: ${backDate}

Email
Notify me when available ` modalElem.id = "klaviyo_modal"; modalElem.classList.add("klaviyo_modal"); modalElem.style.display = "block"; return modalElem; } function klaviyoFormValidateEmail(email) { return String(email) .toLowerCase() .match( /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ ); }; window.openKlaviyoStockAlertSubscriptionForm = function(variantId, productTitle, variantTitle, backDate, image) { let modalElem = createKlaviyoOutOfStockSubscriptionModal(variantId, productTitle, variantTitle, backDate, image); document.getElementById('back-in-stock').appendChild(modalElem); document.body.classList.add('back-in-stock-opned') document.querySelectorAll('.klaviyo_modal_close_triger').forEach(item => { item.addEventListener("click", closeKlaviyoOutOfStockModal); }) document.getElementById("klaviyo_out_of_stock_form_button").addEventListener("click", function(evt) { evt.stopPropagation(); const email = document.getElementById("Klaviyo_out_of_stock_email").value; const emailValidation = klaviyoFormValidateEmail(email); console.log(email, variantId, 'email, variantId'); if (!emailValidation) return; const data = { data: { type: "back-in-stock-subscription", attributes: { profile: { data: { type: "profile", attributes: { email: email } } }, channels: ["EMAIL"] }, relationships: { variant: { data: { type: "catalog-variant", id: `$shopify:::$default:::${variantId}` } } } } }; fetch("https://a.klaviyo.com/client/back-in-stock-subscriptions/?company_id=MfVp5f", { method: "POST", headers: { "Content-Type": "application/json", "revision": "2024-06-15" }, body: JSON.stringify(data) }) .then(async res => { if (!res.ok) { const errorText = await res.text(); // Don't assume JSON here console.error("Klaviyo API error:", errorText); throw new Error("Failed to subscribe"); } // Only try parsing JSON if there's content const contentType = res.headers.get("content-type") || ""; if (contentType.includes("application/json")) { const result = await res.json(); console.log("Subscription success:", result); } // Run your success handler successKlaviyoOutOfStockModal(); }) .catch(err => { console.error("Klaviyo Back-in-Stock Error:", err); }); }); document.getElementById("Klaviyo_out_of_stock_email").addEventListener("input", function(evt) { let email = document.getElementById("Klaviyo_out_of_stock_email").value; let emailValidation = klaviyoFormValidateEmail(email) if (emailValidation) { document.getElementById('klaviyo_out_of_stock_form_button').removeAttribute("disabled"); } else { document.getElementById("klaviyo_out_of_stock_form_button").setAttribute("disabled", "true"); } }) } window.upsell_popup = { title : null, subtitle : null, info : null, product_handle : "", product_id : 1234, product_image : "//www.livemomentous.com/cdn/shopifycloud/storefront/assets/no-image-2048-a2addb12_550x.gif", product_variants : [ ], base_product_id : 1234 } if (window.location.pathname == '/a/account/login') { window.location.replace('/tools/recurring/login/'); } window.addEventListener('load', function() { var _learnq = window._learnq || []; function addedToCart() { fetch(`${window.location.origin}/cart.js`) .then(res => res.clone().json().then(data => { var cart = { total_price: data.total_price/100, $value: data.total_price/100, total_discount: data.total_discount, original_total_price: data.original_total_price/100, items: data.items } if (item !== 'undefined') { cart = Object.assign(cart, item) } if (klAjax) { _learnq.push(['track', 'Added to Cart', cart]); klAjax = false; } })) }; (function (ns, fetch) { ns.fetch = function() { const response = fetch.apply(this, arguments); response.then(res => { if (`${window.location.origin}/cart/add.js` .includes(res.url)) { addedToCart() } }); return response } }(window, window.fetch)); var klAjax = true; var atcButtons = document.querySelectorAll("form[action*='/cart/add'] button[type='submit']"); for (var i = 0; i { window.ShopifyAnalytics.meta.selectedVariantId = '41127762526391'; console.log( 'window.ShopifyAnalytics.meta.selectedVariantId:', window.ShopifyAnalytics.meta.selectedVariantId ); }, 5000); .rebuy-product-actions .subscription-checkbox .slider.round, .buttons-wrappers button:nth-of-type(2) { display: none; } .siena-iframe { display: none; } @media (max-width: 1366px) { .siena-iframe { z-index: 39; } .siena-iframe.siena-iframe--bottom-0, .siena-iframe.siena-iframe--fullscreen{ z-index: 9999999; } } ttd_dom_ready( function() { if (typeof TTDUniversalPixelApi === 'function') { var universalPixelApi = new TTDUniversalPixelApi(); universalPixelApi.init("h4w8qq9", ["k1r6x4d"], "https://insight.adsrvr.org/track/up"); } }); document.querySelectorAll('button[aria-label*="Add to Bag"]').forEach(function(btn) { var productn = btn.getAttribute('aria-label').slice(11) btn.addEventListener('click', function(event) { var conversionPixel = new Image(); conversionPixel.src = "https://insight.adsrvr.org/track/pxl/?adv=h4w8qq9&ct=0:fmme5s8&fmt=3&td1=" + productn + "&ts=" + (new Date()).getTime(); // Adding a unique ID to prevent caching conversionPixel.height = 1; conversionPixel.width = 1; conversionPixel.style.display = "none"; // Hide the pixel document.body.appendChild(conversionPixel); }); });
0 ? 'is-visible' : 'is-hidden', 'widget-layout-' + currentLayout()]">

:

1 ? 'lazy' : 'eager'" v-bind:src="itemImage(product, product.selected_variant, '400x400')" v-bind:alt="itemImageAlt(product, product.selected_variant)">
{{ value }}
{{ frequencyLabel(frequency, product.subscription_interval) }}
Quantity {{ n }}
Sale price Original price
Price
Powered by Rebuy
0 ? 'is-visible' : 'is-hidden']">

:

0">
{{ variant.title }}
{{ value }}
0">
0 ? 'is-visible' : 'is-hidden', 'widget-layout-' + currentLayout()]">

:

1 ? 'lazy' : 'eager'" v-bind:src="itemImage(product, product.selected_variant, '400x400')" v-bind:alt="itemImageAlt(product, product.selected_variant)">
{{ value }} Select your purchase method
Out of Stock Protection {{ frequencyLabel(frequency, product.subscription_interval) }}
One-Time Purchase Receive Once Add to Bag
Price View Product
el.classList.remove('show')); $event.target.closest('.rebuy-product-block').querySelector('.rebuy-product-options').classList.add('show')" type="button">
Price
Powered by Rebuy
0 ? 'is-visible' : 'is-hidden', 'widget-layout-' + currentLayout()]">

:

1 ? 'lazy' : 'eager'" v-bind:src="itemImage(product, product.selected_variant, '400x400')" v-bind:alt="itemImageAlt(product, product.selected_variant)">
{{ value }} Select your purchase method
Out of Stock Protection {{ frequencyLabel(frequency, product.subscription_interval) }}
One-Time Purchase Receive Once Add to Bag
Price View Product
el.classList.remove('show')); $event.target.closest('.rebuy-product-block').querySelector('.rebuy-product-options').classList.add('show')" type="button">
Price
Powered by Rebuy Search Search for products, collections, pages, and articles .search-form-wrapper { position: relative; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); isolation: isolate; } .search-form__input:focus { border: 1px solid #000; } .search-form__results { width: 480px; border-radius: 10px; border: 1px solid #E5E7EB; background: #FFF; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); top: 100%; } @media(max-width: 640px) { .search-form__results { width: 100%; border-radius: 10px; border: none; margin-top: 0; } } .search-form__results.show { display: block; } .search-result-divider { border-top: 1px solid var(--grey-100, #e5e5e5); } .search-product-img { width: 5rem; height: 5rem; } @media(max-width: 640px) { .search-product-img { width: 70px; height: 70px; } } .atc-btn[data-loading] { opacity: 0.6; pointer-events: none; } .atc-btn[data-added] { background-color: #2d7a3a; } .search-form__results.is-loading::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--grey-900, #171717) 50%, transparent 100%); background-size: 200% 100%; animation: search-loading-shimmer 1.2s ease-in-out infinite; pointer-events: none; } .search-form__results-content { max-height: calc(100vh - 170px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; } .search-result-divider { position: sticky; bottom: 0; background-color: #FFF; z-index: 10; } @keyframes search-loading-shimmer { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } } @media(max-width: 640px) { .search-product-row { flex-direction: column; align-items: flex-start !important; } .search-recommended-section { display: none; } } .query-item-text *, .query-item-text { white-space: nowrap; } .query-item-text mark { background-color: #FFFADF; color: inherit; border-radius: 2px; } .search-form__clear-btn { background: none; border: none; padding: 0; cursor: pointer; line-height: 0; color: var(--grey-400, #999); } .search-form__clear-btn:hover svg path { stroke: var(--grey-700, #404040); } (function() { 'use strict'; const SEARCH_ICON = ` `; // Guard: only define the class once even if snippet is rendered multiple times if (!window.MomentousPredictiveSearch) { window.MomentousPredictiveSearch = class { constructor(wrapper) { this.wrapper = wrapper; this.input = wrapper.querySelector('[data-search-input]'); this.resultsContainer = wrapper.querySelector('[data-search-results]'); this.resultsContent = wrapper.querySelector('[data-search-results-content]'); this.form = wrapper.querySelector('.search-form'); this.submitBtn = wrapper.querySelector('[data-search-submit]'); this.clearBtn = wrapper.querySelector('[data-search-clear]'); this.debounceTimer = null; this.currentRequest = null; this.currentQuery = ''; this.minQueryLength = 2; this.debounceDelay = 300; this.cache = new Map(); this.requestId = 0; this.init(); } init() { this.input.addEventListener('input', (e) => { this.handleInput(e.target.value); this.updateClearBtn(); }); if (this.clearBtn) { this.clearBtn.addEventListener('click', () => { this.input.value = ''; this.currentQuery = ''; this.hideResults(); this.updateClearBtn(); this.input.focus(); }); } this.input.addEventListener('focus', () => { if (this.input.value.length >= this.minQueryLength) { this.showResults(); } }); this.input.addEventListener('touchend', (e) => { e.stopPropagation(); this.input.focus(); }); this.input.addEventListener('touchstart', (e) => { e.stopPropagation(); }, { passive: true }); const handleOutsideInteraction = (e) => { if (!this.wrapper.contains(e.target)) { const sidebarPanel = document.getElementById('ss-panel'); if (sidebarPanel && sidebarPanel.contains(this.wrapper) && sidebarPanel.contains(e.target)) { return; } this.hideResults(); } }; document.addEventListener('click', handleOutsideInteraction); document.addEventListener('touchstart', handleOutsideInteraction, { passive: true }); document.addEventListener('keydown', (e) => { if (e.key === 'Escape') this.hideResults(); }); } updateClearBtn() { const show = this.input.value.length >= this.minQueryLength; if (this.clearBtn) this.clearBtn.classList.toggle('hidden', !show); if (this.submitBtn) this.submitBtn.classList.toggle('hidden', show); } handleInput(query) { const trimmedQuery = query.trim(); if (this.debounceTimer) clearTimeout(this.debounceTimer); if (trimmedQuery.length { this.fetchSearchData(trimmedQuery); }, this.debounceDelay); } async fetchSearchData(query) { if (this.cache.has(query)) { const cached = this.cache.get(query); this.setLoadingState(false); this.renderResults(cached.results, query, cached.recommended); return; } if (this.currentRequest) { this.currentRequest.abort(); this.currentRequest = null; } const requestId = ++this.requestId; const controller = new AbortController(); this.currentRequest = controller; const baseUrl = window.Shopify?.routes?.root || '/'; const apiUrl = `${baseUrl}search/suggest.json?q=${encodeURIComponent(query)}&resources[type]=product,query&resources[limit]=5&resources[limit_scope]=each`; try { const response = await fetch(apiUrl, { signal: controller.signal, headers: { 'Accept': 'application/json' } }); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data = await response.json(); if (requestId !== this.requestId) return; this.currentRequest = null; const results = data.resources?.results || {}; if (this.cache.size > 50) this.cache.clear(); this.cache.set(query, { results, recommended: null }); this.setLoadingState(false); this.renderResults(results, query, null); } catch (error) { if (error.name === 'AbortError') return; if (requestId !== this.requestId) return; console.error('Predictive search error:', error); this.setLoadingState(false); this.showError(); } } async fetchRecommendations(productId) { try { const baseUrl = window.Shopify?.routes?.root || '/'; const url = `${baseUrl}recommendations/products.json?product_id=${productId}&limit=6&intent=related`; const response = await fetch(url, { headers: { 'Accept': 'application/json' } }); if (!response.ok) return []; const data = await response.json(); return (data.products || []) .filter(p => { const tags = (p.tags || []).map(t => t.toLowerCase()); return !tags.includes('searchnise_ignore') && !tags.includes('search_hide'); }) .slice(0, 3); } catch (e) { return []; } } async addToCart(variantId, btn) { btn.setAttribute('data-loading', ''); btn.textContent = 'Adding...'; try { const response = await fetch('/cart/add.js', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' }, body: JSON.stringify({ id: variantId, quantity: 1 }) }); if (!response.ok) throw new Error('Failed to add to cart'); btn.removeAttribute('data-loading'); btn.setAttribute('data-added', ''); btn.textContent = 'Added!'; document.dispatchEvent(new CustomEvent('cart:refresh')); setTimeout(() => { btn.removeAttribute('data-added'); btn.textContent = 'Add to Cart'; }, 2000); } catch (e) { btn.removeAttribute('data-loading'); btn.textContent = 'Add to Cart'; console.error('ATC error:', e); } } bindAtcButtons() { this.resultsContent.querySelectorAll('.atc-btn').forEach(btn => { btn.addEventListener('click', (e) => { e.preventDefault(); const variantId = btn.dataset.variantId; if (variantId) this.addToCart(variantId, btn); }); }); } renderResults(results, query, preloadedRecommended) { if (!results || ((!results.products || results.products.length === 0) && (!results.queries || results.queries.length === 0))) { this.resultsContent.innerHTML = `
No results found for "${this.escapeHtml(query)}" `; this.showResults(); return; } const products = (results.products || []) .filter(p => { const tags = (p.tags || []).map(t => t.toLowerCase()); return !tags.includes('searchnise_ignore') && !tags.includes('search_hide'); }) .slice(0, 4); const queries = (results.queries || []).slice(0, 4); const firstProductId = products.length > 0 ? products[0].id : null; let html = ''; if (products.length > 0) { html += `
`; products.forEach(product => { html += this.renderMatchedProduct(product); }); html += ` `; } if (queries.length > 0) { html += `
Top Searches
  • ${SEARCH_ICON} ${queries.map(q => this.renderQueryItem(q)).join('')}
`; } const searchUrl = (window.Shopify?.routes?.root || '/') + `search?q=${encodeURIComponent(query)}&type=product`; html += `
View all results for “${this.escapeHtml(query)}” `; if (firstProductId) { if (preloadedRecommended && preloadedRecommended.length > 0) { html += this.renderRecommendedSection(preloadedRecommended); } else if (preloadedRecommended === null) { html += `
`; } } this.resultsContent.innerHTML = html; this.showResults(); this.bindAtcButtons(); if (firstProductId && preloadedRecommended === null) { this.fetchAndPatchRecommendations(firstProductId, query); } } renderMatchedProduct(product) { const imgUrl = product.featured_image?.url || product.image || ''; const imgSized = imgUrl ? imgUrl.replace(/(\.[a-z]+)(\?.*)?$/i, '_220x220$1$2') : ''; const price = this.formatPrice(product.price, product.price_min, product.price_max); const isSingleVariant = !product.variants || product.variants.length ${imgSized ? `${title}` : `
` }
${title}
${price ? `
${price} ` : ''} View Product `; } renderSuggestedProduct(product) { const imgUrl = product.featured_image?.src || product.featured_image?.url || product.images?.[0] || ''; const imgSized = imgUrl ? imgUrl.replace(/(\.[a-z]+)(\?.*)?$/i, '_300x300$1$2') : ''; const productUrl = this.escapeHtml(product.url || `/products/${product.handle}`); const title = this.escapeHtml(product.title || ''); return `
${imgSized ? `${title}` : `
` }
${title} `; } renderQueryItem(item) { const queryText = item.styled_text || this.escapeHtml(item.text || ''); const queryUrl = this.escapeHtml(item.url || '#'); return `
  • ${queryText} `; } renderRecommendedSection(recommended) { return `