1<!doctype html> 2<html class="js" lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <meta name="viewport" content="width=device-width,initial-scale=1"> 7 <meta name="theme-color" content=""> 8 <link rel="canonical" href="https://iwannasleep.com/products/aliv%e2%84%a2-head-gel-iws"><link rel="icon" type="image/png" href="//iwannasleep.com/cdn/shop/files/LOGO2.gif?crop=center&height=32&v=1765805851&width=32"><link rel="preconnect" href="https://fonts.shopifycdn.com" crossorigin><title> 9 Aliv⢠Head Gel IWS 10 – I wanna sleep</title> 11 12 13 <meta name="description" content="Fast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure. High-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits."> 14 15 16 17 18<meta property="og:site_name" content="I wanna sleep"> 19<meta property="og:url" content="https://iwannasleep.com/products/aliv%e2%84%a2-head-gel-iws"> 20<meta property="og:title" content="Aliv⢠Head Gel IWS"> 21<meta property="og:type" content="product"> 22<meta property="og:description" content="Fast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure. High-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits."><meta property="og:image" content="http://iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125"> 23 <meta property="og:image:secure_url" content="https://iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125"> 24 <meta property="og:image:width" content="1200"> 25 <meta property="og:image:height" content="1200"><meta property="og:price:amount" content="47.00"> 26 <meta property="og:price:currency" content="USD"><meta name="twitter:card" content="summary_large_image"> 27<meta name="twitter:title" content="Aliv⢠Head Gel IWS"> 28<meta name="twitter:description" content="Fast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure. High-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits."> 29 30 31
31<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
31 32 33
33<script src="//iwannasleep.com/cdn/shop/t/16/assets/constants.js?v=132983761750457495441791305531" defer="defer"></script>
33 34
34<script src="//iwannasleep.com/cdn/shop/t/16/assets/pubsub.js?v=25310214064522200911791305584" defer="defer"></script>
34 35
35<script src="//iwannasleep.com/cdn/shop/t/16/assets/global.js?v=184345515105158409801791305535" defer="defer"></script>
35 36
36<script src="//iwannasleep.com/cdn/shop/t/16/assets/details-disclosure.js?v=13653116266235556501791305533" defer="defer"></script>
36 37
37<script src="//iwannasleep.com/cdn/shop/t/16/assets/details-modal.js?v=25581673532751508451791305533" defer="defer"></script>
37 38
38<script src="//iwannasleep.com/cdn/shop/t/16/assets/search-form.js?v=133129549252120666541791305588" defer="defer"></script>
38<script src="//iwannasleep.com/cdn/shop/t/16/assets/animations.js?v=88693664871331136111791305513" defer="defer"></script>
38<script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.start');</script>
38<meta name="facebook-domain-verification" content="35661qq9c6q197mo1kn35v7lij0grj"> 39<meta id="shopify-digital-wallet" name="shopify-digital-wallet" content="/75207901427/digital_wallets/dialog"> 40<link rel="ucp" href="/.well-known/ucp" version="2026-08-25"><link rel="buy" href="/cart/50546243764467:1?ucp/version=2026-08-25&context/payment/0/handler=dev.shopify.shop_pay" payment="dev.shopify.shop_pay com.google.pay dev.shopify.card"><link rel="alternate" type="application/json+oembed" href="https://iwannasleep.com/products/aliv%e2%84%a2-head-gel-iws.oembed">
41<script async="async" src="/checkouts/internal/preloads.js?locale=en-US&default_configuration_id=2663547123"></script>
41 42<link rel="preconnect" href="https://shop.app" crossorigin="anonymous">
43<script async="async" src="https://shop.app/checkouts/internal/preloads.js?locale=en-US&default_configuration_id=2663547123&shop_id=75207901427" crossorigin="anonymous"></script>
vendor: 1 bytes, line 43
43
44<script id="apple-pay-shop-capabilities" type="application/json">{"shopId":75207901427,"countryCode":"US","currencyCode":"USD","merchantCapabilities":["supports3DS"],"merchantId":"gid:\/\/shopify\/Shop\/75207901427","merchantName":"I wanna sleep","requiredBillingContactFields":["postalAddress","email","phone"],"requiredShippingContactFields":["postalAddress","email","phone"],"shippingType":"shipping","supportedNetworks":["visa","masterCard","discover","amex","elo","jcb"],"total":{"type":"pending","label":"I wanna sleep","amount":"1.00"},"shopifyPaymentsEnabled":true,"supportsSubscriptions":true}</script>
vendor: 1 bytes, line 44
44
45<script id="shopify-features" type="application/json">{"accessToken":"70ce71d9a954eb05ae8c69e544027b65","betas":["rich-media-storefront-analytics"],"domain":"iwannasleep.com","predictiveSearch":true,"shopId":75207901427,"locale":"en"}</script>
vendor: 1 bytes, line 45
45
46<script>var Shopify = Shopify || {}; 47Shopify.shop = "i-wanna-sleep-usa.myshopify.com"; 48Shopify.locale = "en"; 49Shopify.currency = {"active":"USD","rate":"1.0"}; 50Shopify.country = "US"; 51Shopify.theme = {"name":"Oct - 5\/26 - New Positioning","id":188909388019,"schema_name":"Dawn","schema_version":"15.3.0","theme_store_id":null,"role":"main"}; 52Shopify.theme.handle = "null"; 53Shopify.theme.style = {"id":null,"handle":null}; 54Shopify.cdnHost = "iwannasleep.com/cdn"; 55Shopify.routes = Shopify.routes || {}; 56Shopify.routes.root = "/"; 57Shopify.shopJsCdnBaseUrl = "https://cdn.shopify.com/shopifycloud/shop-js"; 58Shopify.SignInWithShop = Shopify.SignInWithShop || {}; 59Shopify.SignInWithShop.User = Shopify.SignInWithShop.User || {}; 60Shopify.SignInWithShop.User.recognized = false;</script>
vendor: 1 bytes, line 60
60
61<script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script>
vendor: 1 bytes, line 61
61
62<script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script>
vendor: 1 bytes, line 62
62
63<script> 64 window.ShopifyPay = window.ShopifyPay || {}; 65 window.ShopifyPay.apiHost = "shop.app\/pay"; 66 window.ShopifyPay.redirectState = null; 67</script>
vendor: 1 bytes, line 67
67
68<script> 69 window.Shopify = window.Shopify || {}; 70 window.Shopify.SignInWithShop = window.Shopify.SignInWithShop || {}; 71 window.Shopify.SignInWithShop.assetMetrics = { sampleRate: 0.25 }; 72 window.Shopify.SignInWithShop.eligible = true; 73</script>
vendor: 1 bytes, line 73
73
74<script id="shop-js-analytics" type="application/json">{"pageType":"product"}</script>
vendor: 1 bytes, line 74
74
75<script defer="defer" async type="module" src="https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"></script>
vendor: 1 bytes, line 75
75
76<script type="module"> 77 await import("https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"); 78 79 window.Shopify.SignInWithShop?.initShopCartSync?.({"fedCMEnabled":true,"windoidEnabled":true}); 80 81</script>
vendor: 1 bytes, line 81
81
82<script defer="defer" async type="module" src="https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.payment-terms.en.esm.js"></script>
vendor: 1 bytes, line 82
82
83<script type="module"> 84 await import("https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.payment-terms.en.esm.js"); 85 86 87</script>
vendor: 1 bytes, line 87
87
88<script> 89 window.Shopify = window.Shopify || {}; 90 if (!window.Shopify.featureAssets) window.Shopify.featureAssets = {}; 91 window.Shopify.featureAssets['shop-js'] = {"avatar":["modules/v2/loader.avatar.en.esm.js"],"checkout-modal":["modules/v2/loader.checkout-modal.en.esm.js"],"init-customer-accounts-sign-up":["modules/v2/loader.init-customer-accounts-sign-up.en.esm.js"],"init-customer-accounts":["modules/v2/loader.init-customer-accounts.en.esm.js"],"init-fed-cm":["modules/v2/loader.init-fed-cm.en.esm.js"],"init-shop-cart-sync":["modules/v2/loader.init-shop-cart-sync.en.esm.js"],"init-shop-email-lookup-coordinator":["modules/v2/loader.init-shop-email-lookup-coordinator.en.esm.js"],"init-shop-for-new-customer-accounts":["modules/v2/loader.init-shop-for-new-customer-accounts.en.esm.js"],"init-shop-user-recognition":["modules/v2/loader.init-shop-user-recognition.en.esm.js"],"init-windoid":["modules/v2/loader.init-windoid.en.esm.js"],"lead-capture":["modules/v2/loader.lead-capture.en.esm.js"],"listener":["modules/v2/loader.listener.en.esm.js"],"pay-button":["modules/v2/loader.pay-button.en.esm.js"],"payment-terms":["modules/v2/loader.payment-terms.en.esm.js"],"shop-button":["modules/v2/loader.shop-button.en.esm.js"],"shop-cart-sync":["modules/v2/loader.shop-cart-sync.en.esm.js"],"shop-cash-offers":["modules/v2/loader.shop-cash-offers.en.esm.js"],"shop-follow-button":["modules/v2/loader.shop-follow-button.en.esm.js"],"shop-login-button":["modules/v2/loader.shop-login-button.en.esm.js"],"shop-login":["modules/v2/loader.shop-login.en.esm.js"],"shop-toast-manager":["modules/v2/loader.shop-toast-manager.en.esm.js"],"shop-user-recognition":["modules/v2/loader.shop-user-recognition.en.esm.js"]}; 92</script>
vendor: 1 bytes, line 92
92
93<script>(function() { 94 var isLoaded = false; 95 function asyncLoad() { 96 if (isLoaded) return; 97 isLoaded = true; 98 var urls = ["https:\/\/loox.io\/widget\/Dlpmlw5MP1\/loox.1760038072883.js?shop=i-wanna-sleep-usa.myshopify.com","https:\/\/shy.elfsight.com\/p\/platform.js?shop=i-wanna-sleep-usa.myshopify.com","\/\/cdn.shopify.com\/proxy\/26115395abaf501c51cb680e0e1e65548ab914722a60609c7b8fedb94a59e6c0\/cdn.bogos.io\/script_tag\/secomapp.scripttag.js?shop=i-wanna-sleep-usa.myshopify.com\u0026sp-cache-control=cHVibGljLCBtYXgtYWdlPTkwMA","https:\/\/d2fk970j0emtue.cloudfront.net\/shop\/js\/free-gift-cart-upsell-pro.min.js?shop=i-wanna-sleep-usa.myshopify.com"]; 99 for (var i = 0; i < urls.length; i++) { 100 var s = document.createElement('script'); 101 s.type = 'text/javascript'; 102 s.async = true; 103 s.src = urls[i]; 104 var x = document.getElementsByTagName('script')[0]; 105 x.parentNode.insertBefore(s, x); 106 } 107 }; 108 if(window.attachEvent) { 109 window.attachEvent('onload', asyncLoad); 110 } else { 111 window.addEventListener('load', asyncLoad, false); 112 } 113})();</script>
vendor: 1 bytes, line 113
113
114<script id="__st">var __st={"a":75207901427,"offset":-14400,"reqid":"56e4af6c-60c2-4c06-8ce9-8d0611ff3db2-1791452675","pageurl":"iwannasleep.com\/products\/aliv%E2%84%A2-head-gel-iws","u":"e828c3e4dccf","p":"product","rtyp":"product","rid":9741806272755};</script>
vendor: 1 bytes, line 114
114
115<script>window.ShopifyPaypalV4VisibilityTracking = true;</script>
vendor: 1 bytes, line 115
115
116<script id="captcha-bootstrap">!function(){'use strict';const t='contact',e='account',n='new_comment',o=[[t,t],['blogs',n],['comments',n],[t,'customer']],c=[[e,'customer_login'],[e,'guest_login'],[e,'recover_customer_password'],[e,'create_customer']],r=t=>t.map((([t,e])=>`form[action*='/${t}']:not([data-nocaptcha='true']) input[name='form_type'][value='${e}']`)).join(','),a=t=>()=>t?[...document.querySelectorAll(t)].map((t=>t.form)):[];function s(){const t=[...o],e=r(t);return a(e)}const i='password',u='form_key',d=['recaptcha-v3-token','g-recaptcha-response','h-captcha-response',i],f=()=>{try{return window.sessionStorage}catch{return}},m='__shopify_v',_=t=>t.elements[u];function p(t,e,n=!1){try{const o=window.sessionStorage,c=JSON.parse(o.getItem(e)),{data:r}=function(t){const{data:e,action:n}=t;return t[m]||n?{data:e,action:n}:{data:t,action:n}}(c);for(const[e,n]of Object.entries(r))t.elements[e]&&(t.elements[e].value=n);n&&o.removeItem(e)}catch(o){console.error('form repopulation failed',{error:o})}}const l='form_type',E='cptcha';function T(t){t.dataset[E]=!0}const w=window,h=w.document,L='Shopify',v='ce_forms',y='captcha';let A=!1;((t,e)=>{const n=(g='f06e6c50-85a8-45c8-87d0-21a2b65856fe',I='https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.5.3.iife.js',D={infoText:'Protected by hCaptcha',privacyText:'Privacy',termsText:'Terms'},(t,e,n)=>{const o=w[L][v],c=o.bindForm;if(c)return c(t,g,e,D).then(n);var r;o.q.push([[t,g,e,D],n]),r=I,A||(h.body.append(Object.assign(h.createElement('script'),{id:'captcha-provider',async:!0,src:r})),A=!0)});var g,I,D;w[L]=w[L]||{},w[L][v]=w[L][v]||{},w[L][v].q=[],w[L][y]=w[L][y]||{},w[L][y].protect=function(t,e){n(t,void 0,e),T(t)},Object.freeze(w[L][y]),function(t,e,n,w,h,L){const[v,y,A,g]=function(t,e,n){const i=e?o:[],u=t?c:[],d=[...i,...u],f=r(d),m=r(i),_=r(d.filter((([t,e])=>n.includes(e))));return[a(f),a(m),a(_),s()]}(w,h,L),I=t=>{const e=t.target;return e instanceof HTMLFormElement?e:e&&e.form},D=t=>v().includes(t);t.addEventListener('submit',(t=>{const e=I(t);if(!e)return;const n=D(e)&&!e.dataset.hcaptchaBound&&!e.dataset.recaptchaBound,o=_(e),c=g().includes(e)&&(!o||!o.value);(n||c)&&t.preventDefault(),c&&!n&&(function(t){try{if(!f())return;!function(t){const e=f();if(!e)return;const n=_(t);if(!n)return;const o=n.value;o&&e.removeItem(o)}(t);const e=Array.from(Array(32),(()=>Math.random().toString(36)[2])).join('');!function(t,e){_(t)||t.append(Object.assign(document.createElement('input'),{type:'hidden',name:u})),t.elements[u].value=e}(t,e),function(t,e){const n=f();if(!n)return;const o=[...t.querySelectorAll(`input[type='${i}']`)].map((({name:t})=>t)),c=[...d,...o],r={};for(const[a,s]of new FormData(t).entries())c.includes(a)||(r[a]=s);n.setItem(e,JSON.stringify({[m]:1,action:t.action,data:r}))}(t,e)}catch(e){console.error('failed to persist form',e)}}(e),e.submit())}));const S=(t,e)=>{t&&!t.dataset[E]&&(n(t,e.some((e=>e===t))),T(t))};for(const o of['focusin','change'])t.addEventListener(o,(t=>{const e=I(t);D(e)&&S(e,y())}));const B=e.get('form_key'),M=e.get(l),P=B&&M;t.addEventListener('DOMContentLoaded',(()=>{const t=y();if(P)for(const e of t)e.elements[l].value===M&&p(e,B);[...new Set([...A(),...v().filter((t=>'true'===t.dataset.shopifyCaptcha))])].forEach((e=>S(e,t)))}))}(h,new URLSearchParams(w.location.search),n,t,e,['guest_login'])})(!0,!0)}();</script>
vendor: 1 bytes, line 116
116
117<script integrity="sha256-JjoPp5ZfB1sSAs5SQaol1x1GgvveM+BgmRzyDexInEQ=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//iwannasleep.com/cdn/shopifycloud/storefront/assets/storefront/load_feature-1bd60354.js" crossorigin="anonymous"></script>
vendor: 1 bytes, line 117
117
118<script>(function () {var userAgent = navigator.userAgent;var platform = navigator.platform;var maxTouchPoints = navigator.maxTouchPoints || 0;var isIOS = /iPad|iPhone|iPod/.test(platform) || (platform === 'MacIntel' && maxTouchPoints > 1);var isMacSafari = platform.indexOf('Mac') === 0 && /Safari/.test(userAgent) && !/Chrome|Chromium|CriOS|FxiOS|Edg|OPR|Android/.test(userAgent);var isAppleSafari = isIOS || isMacSafari;if (isAppleSafari) {fetch('/sf_private_access_tokens' + location.search).catch(function () {});}function browserMajorVersion(pattern) {var match = userAgent.match(pattern);return match ? parseInt(match[1], 10) : null;}function shouldLoadAutosizesPolyfill() {if (!window.PerformanceObserver?.supportedEntryTypes?.includes('paint')) {return false;}var chromeVersion = browserMajorVersion(/Chrome\/(\d+)/);if (chromeVersion !== null) {return chromeVersion < 126;}var firefoxVersion = browserMajorVersion(/Firefox\/(\d+)/);if (firefoxVersion !== null) {return firefoxVersion < 150;}var safariVersion = isAppleSafari ? browserMajorVersion(/Version\/(\d+).*Safari\//) : null;if (safariVersion !== null) {return safariVersion < 27;}return true;}if (shouldLoadAutosizesPolyfill()) {var autosizesScript = document.createElement('script');autosizesScript.async = true;autosizesScript.crossOrigin = 'anonymous';autosizesScript.src = "//iwannasleep.com/cdn/shopifycloud/storefront/assets/storefront/autosizes-84416378.js";(document.head || document.documentElement).appendChild(autosizesScript);}window.ShopifyAnalytics = window.ShopifyAnalytics || {};window.ShopifyAnalytics.performance = window.ShopifyAnalytics.performance || {};(function () {var LONG_FRAME_THRESHOLD = 50;var longAnimationFrames = [];var activeRafId = null;function collectLongFrames() {var previousTime = null;function rafMonitor(now) {if (activeRafId === null) {return;}var delta = now - previousTime;if (delta > LONG_FRAME_THRESHOLD) {longAnimationFrames.push({startTime: previousTime,endTime: now,});}previousTime = now;activeRafId = requestAnimationFrame(rafMonitor);}previousTime = performance.now();activeRafId = requestAnimationFrame(rafMonitor);}if (!window.PerformanceObserver?.supportedEntryTypes?.includes('long-animation-frame')) {collectLongFrames();var timeoutId = setTimeout(function () {cancelAnimationFrame(activeRafId);}, 10000);window.ShopifyAnalytics.performance.getLongAnimationFrames = function (stopCollection) {if (stopCollection === undefined) {stopCollection = false;}if (stopCollection) {clearTimeout(timeoutId);cancelAnimationFrame(activeRafId);}return longAnimationFrames;};}})();})();</script>
118<script crossorigin="anonymous" defer="defer" src="//iwannasleep.com/cdn/shopifycloud/storefront/assets/shopify_pay/storefront-f0e26bdf.js?v=20250812"></script>
vendor: 1 bytes, line 118
118
119<script id="shopify-origin-trials" async="async" integrity="sha256-qJbe/jEZBHtr5W/BlA2cKAz3vkXu6vJQyLjgvgCC86g=" src="//cdn.shopify.com/shopifycloud/storefront/assets/storefront/origin_trials-318ab40a.js" crossorigin="anonymous" onload="window.__shopifyOriginTrialsDone = true" onerror="window.__shopifyOriginTrialsDone = true"></script>
vendor: 1 bytes, line 119
119
120<script> 121 window.Shopify = window.Shopify || {}; 122 window.Shopify.MCP = window.Shopify.MCP || {}; 123 window.Shopify.MCP.enabled = true; 124 window.Shopify.MCP.shop = "i-wanna-sleep-usa.myshopify.com"; 125 window.Shopify.MCP.mcpEndpoint = "https:\/\/iwannasleep.com\/api\/mcp"; 126 window.Shopify.MCP.tools = [{"name":"search_shop_policies_and_faqs","description":"Used to get facts about the stores policies, products, or services.\nSome examples of questions you can ask are:\n - What is your return policy?\n - What is your shipping policy?\n - What is your phone number?\n - What are your hours of operation?\"\nSet policy_types to also get the store's written policies (full text and URL).\n","inputSchema":{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/schema","type":"object","properties":{"query":{"type":"string","description":"A natural language query."},"context":{"type":"string","description":"Additional information about the request such as user demographics, mood, location, or other relevant details that could help in tailoring the response appropriately."},"policy_types":{"type":"array","items":{"type":"string","enum":["refund","shipping","privacy","terms_of_service","terms_of_sale","subscription","legal_notice","contact"]},"description":"Policy kinds to fetch, chosen from the user's question â e.g. [\"refund\"] for returns\/exchanges\/damaged items, [\"contact\"] for phone\/hours\/address. Include every kind the question touches. Omit it to get only FAQ answers."}},"required":["query"]}}]; 127</script>
vendor: 1 bytes, line 127
127
128<script>(()=>{var d="shopify:webmcp_adapter_loaded",n=Symbol.for("shopify.webmcp_adapter_loading");function s(c,a,{win:r=window,doc:o=document}={}){function p(){try{return r.localStorage.getItem(d)==="true"}catch{return!1}}function l(){try{r.localStorage.setItem(d,"true")}catch{}}function u(){return typeof(o.modelContext||r.navigator?.modelContext)?.registerTool=="function"}function f(){if(r[n]||!u())return;let t=o.head||o.getElementsByTagName("head")[0];if(!t)return;let e=o.createElement("script");e.type="module",e.crossOrigin="anonymous",a&&(e.integrity=a),e.src=c,e.addEventListener("load",l,{once:!0}),e.addEventListener("error",()=>{r[n]=!1},{once:!0}),t.appendChild(e),r[n]=!0}function _(t){let e=o.getElementById("shopify-origin-trials");if(!e||r.__shopifyOriginTrialsDone){t();return}e.addEventListener("load",t,{once:!0}),e.addEventListener("error",t,{once:!0})}function i(){_(()=>r.setTimeout(f,0))}function m(){o.addEventListener("DOMContentLoaded",i,{once:!0})}p()?i():m()}s("\/\/iwannasleep.com\/cdn\/shopifycloud\/storefront\/assets\/storefront\/webmcp-c6b62ece.js","sha256-ke4DDuBjdvea3vxLWxHc9E9nq8zihuG4IfYEGbb77ys=");})(); 129</script>
vendor: 1 bytes, line 129
129
130<script data-source-attribution="shopify.dynamic_checkout.dynamic.init">var Shopify=Shopify||{};Shopify.PaymentButton=Shopify.PaymentButton||{isStorefrontPortableWallets:!0,init:function(){window.Shopify.PaymentButton.init=function(){};var t=document.createElement("script");t.src="https://iwannasleep.com/cdn/shopifycloud/portable-wallets/latest/portable-wallets.en.js",t.type="module",document.head.appendChild(t)}}; 131</script>
vendor: 1 bytes, line 131
131
132<script data-source-attribution="shopify.dynamic_checkout.buyer_consent"> 133 function portableWalletsHideBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.add("hidden"),t.setAttribute("aria-hidden","true"),n.removeEventListener("click",e))}function portableWalletsShowBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.remove("hidden"),t.removeAttribute("aria-hidden"),n.addEventListener("click",e))}window.Shopify?.PaymentButton&&(window.Shopify.PaymentButton.hideBuyerConsent=portableWalletsHideBuyerConsent,window.Shopify.PaymentButton.showBuyerConsent=portableWalletsShowBuyerConsent); 134</script>
vendor: 1 bytes, line 134
134
135<script data-source-attribution="shopify.dynamic_checkout.cart.bootstrap">document.addEventListener("DOMContentLoaded",(function(){function t(){return document.querySelector("shopify-accelerated-checkout-cart, shopify-accelerated-checkout")}if(t())Shopify.PaymentButton.init();else{new MutationObserver((function(e,n){t()&&(Shopify.PaymentButton.init(),n.disconnect())})).observe(document.body,{childList:!0,subtree:!0})}})); 136</script>
136 137<link id="shopify-accelerated-checkout-styles" rel="stylesheet" media="screen" href="https://iwannasleep.com/cdn/shopifycloud/portable-wallets/latest/accelerated-checkout-backwards-compat.css" crossorigin="anonymous"> 138<style id="shopify-accelerated-checkout-cart"> 139 #shopify-buyer-consent { 140 margin-top: 1em; 141 display: inline-block; 142 width: 100%; 143} 144 145#shopify-buyer-consent.hidden { 146 display: none; 147} 148 149#shopify-subscription-policy-button { 150 background: none; 151 border: none; 152 padding: 0; 153 text-decoration: underline; 154 font-size: inherit; 155 cursor: pointer; 156} 157 158#shopify-subscription-policy-button::before { 159 box-shadow: none; 160} 161 162 </style>
163<script id="sections-script" data-sections="header" defer="defer" src="//iwannasleep.com/cdn/shop/t/16/compiled_assets/scripts.js?v=90487813905515327061791305645"></script>
vendor: 1 bytes, line 163
163
164<script id="shopify-cfh-end">window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script>
164 165 166 167 <style data-shopify> 168 @font-face { 169 font-family: Lato; 170 font-weight: 400; 171 font-style: normal; 172 font-display: swap; 173 src: url("//iwannasleep.com/cdn/fonts/lato/lato_n4.c3b93d431f0091c8be23185e15c9d1fee1e971c5.woff2") format("woff2"), 174 url("//iwannasleep.com/cdn/fonts/lato/lato_n4.d5c00c781efb195594fd2fd4ad04f7882949e327.woff") format("woff"); 175} 176 177 @font-face { 178 font-family: Lato; 179 font-weight: 700; 180 font-style: normal; 181 font-display: swap; 182 src: url("//iwannasleep.com/cdn/fonts/lato/lato_n7.900f219bc7337bc57a7a2151983f0a4a4d9d5dcf.woff2") format("woff2"), 183 url("//iwannasleep.com/cdn/fonts/lato/lato_n7.a55c60751adcc35be7c4f8a0313f9698598612ee.woff") format("woff"); 184} 185 186 @font-face { 187 font-family: Lato; 188 font-weight: 400; 189 font-style: italic; 190 font-display: swap; 191 src: url("//iwannasleep.com/cdn/fonts/lato/lato_i4.09c847adc47c2fefc3368f2e241a3712168bc4b6.woff2") format("woff2"), 192 url("//iwannasleep.com/cdn/fonts/lato/lato_i4.3c7d9eb6c1b0a2bf62d892c3ee4582b016d0f30c.woff") format("woff"); 193} 194 195 @font-face { 196 font-family: Lato; 197 font-weight: 700; 198 font-style: italic; 199 font-display: swap; 200 src: url("//iwannasleep.com/cdn/fonts/lato/lato_i7.16ba75868b37083a879b8dd9f2be44e067dfbf92.woff2") format("woff2"), 201 url("//iwannasleep.com/cdn/fonts/lato/lato_i7.4c07c2b3b7e64ab516aa2f2081d2bb0366b9dce8.woff") format("woff"); 202} 203 204 @font-face { 205 font-family: Lato; 206 font-weight: 400; 207 font-style: normal; 208 font-display: swap; 209 src: url("//iwannasleep.com/cdn/fonts/lato/lato_n4.c3b93d431f0091c8be23185e15c9d1fee1e971c5.woff2") format("woff2"), 210 url("//iwannasleep.com/cdn/fonts/lato/lato_n4.d5c00c781efb195594fd2fd4ad04f7882949e327.woff") format("woff"); 211} 212 213 214 215 :root, 216 .color-scheme-1 { 217 --color-background: 255,255,255; 218 219 --gradient-background: #ffffff; 220 221 222 223 224 --color-foreground: 116,18,84; 225 --color-background-contrast: 191,191,191; 226 --color-shadow: 116,18,84; 227 --color-button: 230,0,126; 228 --color-button-text: 255,255,255; 229 --color-secondary-button: 255,255,255; 230 --color-secondary-button-text: 230,0,126; 231 --color-link: 230,0,126; 232 --color-badge-foreground: 116,18,84; 233 --color-badge-background: 255,255,255; 234 --color-badge-border: 116,18,84; 235 --payment-terms-background-color: rgb(255 255 255); 236 } 237 238 239 .color-scheme-2 { 240 --color-background: 249,245,248; 241 242 --gradient-background: #f9f5f8; 243 244 245 246 247 --color-foreground: 116,18,84; 248 --color-background-contrast: 201,165,192; 249 --color-shadow: 116,18,84; 250 --color-button: 116,18,84; 251 --color-button-text: 255,255,255; 252 --color-secondary-button: 249,245,248; 253 --color-secondary-button-text: 116,18,84; 254 --color-link: 116,18,84; 255 --color-badge-foreground: 116,18,84; 256 --color-badge-background: 249,245,248; 257 --color-badge-border: 116,18,84; 258 --payment-terms-background-color: rgb(249 245 248); 259 } 260 261 262 .color-scheme-3 { 263 --color-background: 116,18,84; 264 265 --gradient-background: #741254; 266 267 268 269 270 --color-foreground: 255,255,255; 271 --color-background-contrast: 138,21,100; 272 --color-shadow: 116,18,84; 273 --color-button: 255,255,255; 274 --color-button-text: 116,18,84; 275 --color-secondary-button: 116,18,84; 276 --color-secondary-button-text: 255,255,255; 277 --color-link: 255,255,255; 278 --color-badge-foreground: 255,255,255; 279 --color-badge-background: 116,18,84; 280 --color-badge-border: 255,255,255; 281 --payment-terms-background-color: rgb(116 18 84); 282 } 283 284 285 .color-scheme-4 { 286 --color-background: 230,0,126; 287 288 --gradient-background: #e6007e; 289 290 291 292 293 --color-foreground: 255,255,255; 294 --color-background-contrast: 103,0,56; 295 --color-shadow: 116,18,84; 296 --color-button: 255,255,255; 297 --color-button-text: 230,0,126; 298 --color-secondary-button: 230,0,126; 299 --color-secondary-button-text: 255,255,255; 300 --color-link: 255,255,255; 301 --color-badge-foreground: 255,255,255; 302 --color-badge-background: 230,0,126; 303 --color-badge-border: 255,255,255; 304 --payment-terms-background-color: rgb(230 0 126); 305 } 306 307 308 .color-scheme-5 { 309 --color-background: 255,255,255; 310 311 --gradient-background: #ffffff; 312 313 314 315 316 --color-foreground: 255,255,255; 317 --color-background-contrast: 191,191,191; 318 --color-shadow: 116,18,84; 319 --color-button: 255,255,255; 320 --color-button-text: 255,255,255; 321 --color-secondary-button: 255,255,255; 322 --color-secondary-button-text: 255,255,255; 323 --color-link: 255,255,255; 324 --color-badge-foreground: 255,255,255; 325 --color-badge-background: 255,255,255; 326 --color-badge-border: 255,255,255; 327 --payment-terms-background-color: rgb(255 255 255); 328 } 329 330 331 .color-scheme-f097aea2-1def-4145-ab00-4502430e4189 { 332 --color-background: 255,255,255; 333 334 --gradient-background: #ffffff; 335 336 337 338 339 --color-foreground: 255,255,255; 340 --color-background-contrast: 191,191,191; 341 --color-shadow: 10,165,204; 342 --color-button: 255,255,255; 343 --color-button-text: 255,255,255; 344 --color-secondary-button: 255,255,255; 345 --color-secondary-button-text: 255,255,255; 346 --color-link: 255,255,255; 347 --color-badge-foreground: 255,255,255; 348 --color-badge-background: 255,255,255; 349 --color-badge-border: 255,255,255; 350 --payment-terms-background-color: rgb(255 255 255); 351 } 352 353 354 body, .color-scheme-1, .color-scheme-2, .color-scheme-3, .color-scheme-4, .color-scheme-5, .color-scheme-f097aea2-1def-4145-ab00-4502430e4189 { 355 color: rgba(var(--color-foreground), 0.75); 356 background-color: rgb(var(--color-background)); 357 } 358 359 :root { 360 --font-body-family: Lato, sans-serif; 361 --font-body-style: normal; 362 --font-body-weight: 400; 363 --font-body-weight-bold: 700; 364 365 --font-heading-family: Lato, sans-serif; 366 --font-heading-style: normal; 367 --font-heading-weight: 400; 368 369 --font-body-scale: 1.0; 370 --font-heading-scale: 1.05; 371 372 --media-padding: px; 373 --media-border-opacity: 0.05; 374 --media-border-width: 1px; 375 --media-radius: 0px;
376 --media-shadow-opacity: 0.0; 377 --media-shadow-horizontal-offset: 0px; 378 --media-shadow-vertical-offset: 4px; 379 --media-shadow-blur-radius: 5px; 380 --media-shadow-visible: 0; 381 382 --page-width: 140rem; 383 --page-width-margin: 0rem; 384 385 --product-card-image-padding: 0.0rem; 386 --product-card-corner-radius: 0.6rem; 387 --product-card-text-alignment: left; 388 --product-card-border-width: 0.0rem; 389 --product-card-border-opacity: 0.1; 390 --product-card-shadow-opacity: 0.0; 391 --product-card-shadow-visible: 0; 392 --product-card-shadow-horizontal-offset: 0.0rem; 393 --product-card-shadow-vertical-offset: 0.4rem; 394 --product-card-shadow-blur-radius: 0.5rem; 395 396 --collection-card-image-padding: 0.0rem; 397 --collection-card-corner-radius: 0.0rem; 398 --collection-card-text-alignment: left; 399 --collection-card-border-width: 0.0rem; 400 --collection-card-border-opacity: 0.1; 401 --collection-card-shadow-opacity: 0.0; 402 --collection-card-shadow-visible: 0; 403 --collection-card-shadow-horizontal-offset: 0.0rem; 404 --collection-card-shadow-vertical-offset: 0.4rem; 405 --collection-card-shadow-blur-radius: 0.5rem; 406 407 --blog-card-image-padding: 0.0rem; 408 --blog-card-corner-radius: 0.0rem; 409 --blog-card-text-alignment: left; 410 --blog-card-border-width: 0.0rem; 411 --blog-card-border-opacity: 0.1; 412 --blog-card-shadow-opacity: 0.0; 413 --blog-card-shadow-visible: 0; 414 --blog-card-shadow-horizontal-offset: 0.0rem; 415 --blog-card-shadow-vertical-offset: 0.4rem; 416 --blog-card-shadow-blur-radius: 0.5rem; 417 418 --badge-corner-radius: 0.4rem; 419 420 --popup-border-width: 1px; 421 --popup-border-opacity: 0.1; 422 --popup-corner-radius: 0px; 423 --popup-shadow-opacity: 0.05; 424 --popup-shadow-horizontal-offset: 0px; 425 --popup-shadow-vertical-offset: 4px; 426 --popup-shadow-blur-radius: 5px; 427 428 --drawer-border-width: 1px; 429 --drawer-border-opacity: 0.1; 430 --drawer-shadow-opacity: 0.0; 431 --drawer-shadow-horizontal-offset: 0px; 432 --drawer-shadow-vertical-offset: 4px; 433 --drawer-shadow-blur-radius: 5px; 434 435 --spacing-sections-desktop: 20px; 436 --spacing-sections-mobile: 20px; 437 438 --grid-desktop-vertical-spacing: 8px; 439 --grid-desktop-horizontal-spacing: 4px; 440 --grid-mobile-vertical-spacing: 4px; 441 --grid-mobile-horizontal-spacing: 2px; 442 443 --text-boxes-border-opacity: 0.1; 444 --text-boxes-border-width: 0px; 445 --text-boxes-radius: 0px; 446 --text-boxes-shadow-opacity: 0.0; 447 --text-boxes-shadow-visible: 0; 448 --text-boxes-shadow-horizontal-offset: 0px; 449 --text-boxes-shadow-vertical-offset: 4px; 450 --text-boxes-shadow-blur-radius: 5px; 451 452 --buttons-radius: 4px; 453 --buttons-radius-outset: 5px; 454 --buttons-border-width: 1px; 455 --buttons-border-opacity: 1.0; 456 --buttons-shadow-opacity: 0.0; 457 --buttons-shadow-visible: 0; 458 --buttons-shadow-horizontal-offset: 0px; 459 --buttons-shadow-vertical-offset: 4px; 460 --buttons-shadow-blur-radius: 5px; 461 --buttons-border-offset: 0.3px; 462 463 --inputs-radius: 0px; 464 --inputs-border-width: 1px; 465 --inputs-border-opacity: 0.55; 466 --inputs-shadow-opacity: 0.0; 467 --inputs-shadow-horizontal-offset: 0px; 468 --inputs-margin-offset: 0px; 469 --inputs-shadow-vertical-offset: 4px; 470 --inputs-shadow-blur-radius: 5px; 471 --inputs-radius-outset: 0px; 472 473 --variant-pills-radius: 40px; 474 --variant-pills-border-width: 1px; 475 --variant-pills-border-opacity: 0.55; 476 --variant-pills-shadow-opacity: 0.0; 477 --variant-pills-shadow-horizontal-offset: 0px; 478 --variant-pills-shadow-vertical-offset: 4px; 479 --variant-pills-shadow-blur-radius: 5px; 480 } 481 482 *, 483 *::before, 484 *::after { 485 box-sizing: inherit; 486 } 487 488 html { 489 box-sizing: border-box; 490 font-size: calc(var(--font-body-scale) * 62.5%); 491 height: 100%; 492 } 493 494 body { 495 display: grid; 496 grid-template-rows: auto auto 1fr auto; 497 grid-template-columns: 100%; 498 min-height: 100%; 499 margin: 0; 500 font-size: 1.5rem; 501 letter-spacing: 0.06rem; 502 line-height: calc(1 + 0.8 / var(--font-body-scale)); 503 font-family: var(--font-body-family); 504 font-style: var(--font-body-style); 505 font-weight: var(--font-body-weight); 506 } 507 508 @media screen and (min-width: 750px) { 509 body { 510 font-size: 1.6rem; 511 } 512 } 513 </style> 514 515 <link href="//iwannasleep.com/cdn/shop/t/16/assets/base.css?v=93653459106144468561791305513" rel="stylesheet" type="text/css" media="all" /> 516 <link rel="stylesheet" href="//iwannasleep.com/cdn/shop/t/16/assets/component-cart-items.css?v=123238115697927560811791305517" media="print" onload="this.media='all'"><link href="//iwannasleep.com/cdn/shop/t/16/assets/component-cart-drawer.css?v=86518341034034779651791305517" rel="stylesheet" type="text/css" media="all" /> 517 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-cart.css?v=164708765130180853531791305518" rel="stylesheet" type="text/css" media="all" /> 518 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-totals.css?v=15906652033866631521791305530" rel="stylesheet" type="text/css" media="all" /> 519 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-price.css?v=12840323355286466041791305526" rel="stylesheet" type="text/css" media="all" /> 520 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-discounts.css?v=152760482443307489271791305520" rel="stylesheet" type="text/css" media="all" /> 521 522 <link rel="preload" as="font" href="//iwannasleep.com/cdn/fonts/lato/lato_n4.c3b93d431f0091c8be23185e15c9d1fee1e971c5.woff2" type="font/woff2" crossorigin> 523 524 525 <link rel="preload" as="font" href="//iwannasleep.com/cdn/fonts/lato/lato_n4.c3b93d431f0091c8be23185e15c9d1fee1e971c5.woff2" type="font/woff2" crossorigin> 526 527<link href="//iwannasleep.com/cdn/shop/t/16/assets/component-localization-form.css?v=170315343355214948141791305522" rel="stylesheet" type="text/css" media="all" /> 528
528<script src="//iwannasleep.com/cdn/shop/t/16/assets/localization-form.js?v=144176611646395275351791305573" defer="defer"></script>
528<link 529 rel="stylesheet" 530 href="//iwannasleep.com/cdn/shop/t/16/assets/component-predictive-search.css?v=118923337488134913561791305526" 531 media="print" 532 onload="this.media='all'" 533 >
533<script> 534 if (Shopify.designMode) { 535 document.documentElement.classList.add('shopify-design-mode'); 536 } 537 </script>
537 538 539 540<!-- BEGIN app block: shopify://apps/growi-creator-management/blocks/growi-embed/419e0351-1ff7-4f90-8ee9-8dc5c04a0f9c -->
540<script src="https://cdn.shopify.com/extensions/01a0f38c-77be-7c07-8db7-ade2b3c1a9ef/growi-232/assets/cookie-utils.js" defer="defer"></script>
vendor: 1 bytes, line 540
540
541<script> 542 console.log('growi-embed.liquid'); 543 console.log('ðµ [GROWI-EMBED] growi-embed.liquid inline script STARTED, v.1.9.0'); 544 console.log('ðµ [GROWI-EMBED] Script execution timestamp:', new Date().toISOString()); 545 console.log('ðµ [GROWI-EMBED] Document readyState:', document.readyState); 546 console.log('ðµ [GROWI-EMBED] window.growiCookieUtils exists?', typeof window.growiCookieUtils !== 'undefined'); 547 if (typeof window.growiCookieUtils !== 'undefined') { 548 console.log('â [GROWI-EMBED] Cookie utils ALREADY available!', window.growiCookieUtils); 549 } else { 550 console.log('â³ [GROWI-EMBED] Cookie utils NOT YET available, will wait...'); 551 } 552 553 (function () { 554 // Default customization settings 555 const defaultCustomization = { 556 popup_enabled: true, 557 heading_text: null, 558 body_text: null, 559 button_text: null, 560 helper_text: null, 561 background_color: '#ffffff', 562 text_color: '#000000', 563 button_color: '#2c2c2c', 564 button_text_color: '#ffffff', 565 banner_enabled: false, 566 banner_top_offset: 0, 567 emoji: 'ð', 568 }; 569 570 // Fetch customization settings from API 571 async function fetchCustomization(affiliateTag) { 572 try { 573 const response = await fetch( 574 `https://api.growi.io/api/v1/campaigns/ambassador_program_customization?affiliate_tag=${encodeURIComponent( 575 affiliateTag 576 )}&url=${encodeURIComponent(window.location.href)}`, 577 { 578 method: 'GET', 579 headers: { 580 'Content-Type': 'application/json', 581 }, 582 } 583 ); 584 585 if (!response.ok) { 586 console.warn('Customization API returned error, returning null'); 587 return null; 588 } 589 590 const data = await response.json(); 591 592 if (data.success && data.customization) { 593 console.log('â Loaded customization settings:', data.customization); 594 return data.customization; 595 } else { 596 console.log('â¹ï¸ No customization found, returning null'); 597 return null; 598 } 599 } catch (error) { 600 console.error('Failed to fetch customization, returning null:', error); 601 return null; 602 } 603 } 604 605 function showDiscountModal(discountCode, affiliateName, discountValue, discountType, affiliateId) { 606 console.log('showDiscountModal', discountCode, affiliateName, discountValue, discountType, affiliateId); 607 608 if ( 609 !discountValue || 610 discountValue === '0' || 611 discountValue === 0 || 612 discountValue === null || 613 discountValue === undefined || 614 discountValue === 'null' 615 ) 616 return; 617 // Prevent duplicate modals 618 if (document.getElementById('__growi-modal-overlay')) return; 619 620 const overlay = document.createElement('div'); 621 overlay.id = '__growi-modal-overlay'; 622 overlay.style.cssText = ` 623 display:block; 624 position:fixed; 625 top:0; left:0; 626 width:100%; height:100%; 627 background-color:rgba(0,0,0,0.5); 628 z-index:9998; 629 `; 630 631 const modal = document.createElement('div'); 632 modal.className = '__growi_modal_content'; 633 modal.style.cssText = ` 634 display:block; 635 background-color:white; 636 z-index:9999; 637 border-top:10px solid #2C2C2C; 638 border-radius:10px; 639 text-align:center; 640 margin:auto; 641 min-height:400px; 642 height:auto; 643 position:fixed; 644 top:50%; left:50%; 645 transform:translate(-50%, -50%); 646 width:90%; max-width:500px; 647 `; 648 649 // Add mobile-specific styles 650 const mobileStyles = document.createElement('style'); 651 mobileStyles.textContent = ` 652 @media (max-width: 768px) { 653 .__growi_modal_content { 654 top: calc(50% + 20px) !important; 655 } 656 } 657 @media (max-width: 480px) { 658 .__growi_modal_content { 659 top: calc(50% + 30px) !important; 660 } 661 } 662 `; 663 document.head.appendChild(mobileStyles); 664 665 modal.innerHTML = ` 666 <div class="__growi-modal-inner" style="display:block;position:relative;width:100%;height:100%;padding:40px 40px 40px 40px;box-sizing:border-box;"> 667 <button id="__growi-close-modal" style="position:absolute;top:15px;right:15px;background-color:transparent;border:none;cursor:pointer;z-index:10000;padding:5px;"> 668 <svg style="fill:#000000" height="20px" width="20px" viewBox="0 0 490 490" xmlns="http://www.w3.org/2000/svg"> 669 <polygon points="456.851,0 245,212.564 33.149,0 0.708,32.337 670 212.669,245.004 0.708,457.678 33.149,490 671 245,277.443 456.851,490 489.292,457.678 672 277.331,245.004 489.292,32.337"/> 673 </svg> 674 </button> 675 676 <div style="text-align:center;width:100%;"> 677 <p style="text-align:center;margin:0 0 20px 0;"> 678 <img src="https://d2pnkb2a79l965.cloudfront.net/party-popper-emoji.png" style="width:80px;height:80px;display:inline-block;"> 679 </p> 680 <h2 style=" 681 text-align:center; 682 font-size:2.5em; 683 line-height:1em; 684 margin:0.5em 0; 685 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 686 Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, 687 Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; 688 font-weight:bold; 689 color:#000000; 690 "> 691 ${affiliateName ? decodeURIComponent(affiliateName) : "We've"} sent you ${ 692 discountType === 'percentage' ? `${discountValue}%` : `$${discountValue}` 693 } off! 694 </h2> 695 <h3 style=" 696 text-align:center; 697 font-size:1.3em; 698 margin:0.8em 0; 699 color:#9aaab9; 700 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 701 Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, 702 Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; 703 "> 704 Click below to redeem your discount code 705 </h3> 706 <button id="__growi-redeem-btn" style=" 707 display:block; 708 margin:20px auto 0 auto; 709 padding:12px 20px; 710 width:230px; 711 background-color:#2c2c2c; 712 color:#ffffff; 713 border:1px solid #535459; 714 border-radius:5px; 715 font-size:1.2em; 716 cursor:pointer; 717 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 718 Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, 719 Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; 720 "> 721 Redeem Coupon 722 </button> 723 <div style="font-size:0.8em;color:#9aaab9;margin-top:10px;text-align:center;"> 724 <em>Your discount will automatically be applied at checkout</em> 725 </div> 726 </div> 727 </div> 728 `; 729 730 overlay.appendChild(modal); 731 document.body.appendChild(overlay); 732 733 // Close handler 734 document.getElementById('__growi-close-modal').onclick = () => {
735 window.growiCookieUtils.setCookie('discount_seen', `${affiliateId.toLowerCase()}`, -1); 736 overlay.remove(); 737 }; 738 739 // Redeem handler 740 document.getElementById('__growi-redeem-btn').onclick = () => { 741 const redeemBtn = document.getElementById('__growi-redeem-btn'); 742 743 // Set loading state 744 redeemBtn.disabled = true; 745 redeemBtn.style.cursor = 'not-allowed'; 746 redeemBtn.innerHTML = ` 747 <svg style="animation: spin 1s linear infinite; width: 20px; height: 20px; display: inline-block; margin-right: 8px;" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 748 <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" stroke-dasharray="31.416" stroke-dashoffset="31.416" fill="none" stroke-linecap="round"/> 749 </svg> 750 Loading... 751 `; 752 753 // Add spinning animation 754 const style = document.createElement('style'); 755 style.textContent = ` 756 @keyframes spin { 757 0% { transform: rotate(0deg); } 758 100% { transform: rotate(360deg); } 759 } 760 `; 761 document.head.appendChild(style); 762 763 // Simulate loading delay then show discount code 764 setTimeout(() => { 765 // Replace button with discount code 766 redeemBtn.style.display = 'none'; 767 768 // Create discount code container 769 const discountCodeDiv = document.createElement('div'); 770 discountCodeDiv.id = '__growi-discount-code'; 771 discountCodeDiv.style.cssText = ` 772 background-color:#ecf0ff; 773 display:block; 774 width:90%; 775 margin:20px auto 0 auto; 776 text-align:center; 777 color:#3860fb; 778 font-size:25px; 779 padding:8px; 780 cursor:pointer; 781 border-radius:5px; 782 font-weight:bold; 783 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 784 Helvetica Neue, Arial, Noto Sans, sans-serif; 785 `; 786 discountCodeDiv.innerHTML = ` 787 ${discountCode.toUpperCase()} 788 <img src="https://d2pnkb2a79l965.cloudfront.net/copy-blue-icon.png" style="width:22px;margin-bottom:-5px;display:inline;"> 789 `; 790 791 // Add copy functionality 792 discountCodeDiv.onclick = () => { 793 navigator.clipboard 794 .writeText(discountCode.toUpperCase()) 795 .then(() => { 796 // Show copied feedback under the code 797 let copiedText = document.getElementById('__growi-copied-text'); 798 if (!copiedText) { 799 copiedText = document.createElement('div'); 800 copiedText.id = '__growi-copied-text'; 801 copiedText.style.cssText = ` 802 font-size:0.9em; 803 color:#28a745; 804 margin-top:8px; 805 text-align:center; 806 `; 807 discountCodeDiv.parentNode.insertBefore(copiedText, discountCodeDiv.nextSibling); 808 } 809 copiedText.innerHTML = 'â Discount applied!'; 810 }) 811 .catch(() => { 812 // Fallback for older browsers 813 const textArea = document.createElement('textarea'); 814 textArea.value = discountCode.toUpperCase(); 815 document.body.appendChild(textArea); 816 textArea.select(); 817 document.execCommand('copy'); 818 document.body.removeChild(textArea); 819 820 let copiedText = document.getElementById('__growi-copied-text'); 821 if (!copiedText) { 822 copiedText = document.createElement('div'); 823 copiedText.id = '__growi-copied-text'; 824 copiedText.style.cssText = ` 825 font-size:0.9em; 826 color:#28a745; 827 margin-top:8px; 828 text-align:center; 829 `; 830 discountCodeDiv.parentNode.insertBefore(copiedText, discountCodeDiv.nextSibling); 831 } 832 copiedText.innerHTML = 'â Discount applied!'; 833 }); 834 }; 835 836 // Insert the discount code div after the button 837 redeemBtn.parentNode.insertBefore(discountCodeDiv, redeemBtn.nextSibling); 838 }, 1500); 839
840 window.growiCookieUtils.setCookie('discount_seen', `${affiliateId.toLowerCase()}`); 841 }; 842 } 843 844 async function showDiscountModalV2(discountCode, affiliateName, discountValue, discountType, affiliateId) { 845 console.log('showDiscountModalV2', discountCode, affiliateName, discountValue, discountType, affiliateId); 846 847 if ( 848 !discountValue || 849 discountValue === '0' || 850 discountValue === 0 || 851 discountValue === null || 852 discountValue === undefined || 853 discountValue === 'null' 854 ) 855 return; 856 857 // Fetch customization from API 858 const customization = await fetchCustomization(affiliateId); 859 860 // If no customization exists, fall back to the original showDiscountModal 861 if (!customization) { 862 console.log('â¹ï¸ No customization available, falling back to default modal'); 863 showDiscountModal(discountCode, affiliateName, discountValue, discountType, affiliateId); 864 return; 865 } 866 867 // Prevent duplicate modals 868 if (document.getElementById('__growi-modal-overlay')) return; 869 870 // Merge customization with defaults 871 const config = { ...defaultCustomization, ...customization }; 872 873 // Check if popup is enabled 874 if (!config.popup_enabled) { 875 console.log('â¹ï¸ Popup is disabled by customization settings'); 876 877 if (config.banner_enabled) { 878 window.growiCookieUtils.setCookie('discount_seen', affiliateId.toLowerCase()); 879 showBanner(affiliateId, discountCode, customization); 880 } 881 882 return; 883 } 884 885 const headingText = 886 config.heading_text || 887 `${affiliateName ? decodeURIComponent(affiliateName) : "We've"} sent you ${ 888 discountType === 'percentage' ? `${discountValue}%` : `$${discountValue}` 889 } off!`; 890 const bodyText = config.body_text || 'Click below to redeem your discount code'; 891 const buttonText = config.button_text || 'Redeem Coupon'; 892 const helperText = config.helper_text || 'Your discount will automatically be applied at checkout'; 893 const buttonMarkup = config.hide_button 894 ? '' 895 : `<button id="__growi-redeem-btn" style=" 896 display:block; 897 margin:20px auto 0 auto; 898 padding:12px 20px; 899 width:230px; 900 background-color:${config.button_color}; 901 color:${config.button_text_color}; 902 border:1px solid ${config.button_color}; 903 border-radius:5px; 904 font-size:1.2em; 905 cursor:pointer; 906 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 907 Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, 908 Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; 909 "> 910 ${buttonText} 911 </button>`; 912 const helperMarkup = ` 913 <div style="font-size:0.8em;color:${config.text_color};opacity:0.7;margin-top:10px;text-align:center;"> 914 <em>${helperText}</em> 915 </div> 916 `; 917 918 const overlay = document.createElement('div'); 919 overlay.id = '__growi-modal-overlay'; 920 overlay.style.cssText = ` 921 display:block; 922 position:fixed; 923 top:0; left:0; 924 width:100%; height:100%; 925 background-color:rgba(0,0,0,0.5); 926 z-index:9998; 927 `; 928 929 const modal = document.createElement('div'); 930 modal.className = '__growi_modal_content'; 931 modal.style.cssText = ` 932 display:block; 933 background-color:${config.background_color}; 934 z-index:9999; 935 border-top:10px solid #2C2C2C; 936 border-radius:10px; 937 text-align:center; 938 margin:auto; 939 min-height:400px; 940 height:auto; 941 position:fixed; 942 top:50%; left:50%; 943 transform:translate(-50%, -50%); 944 width:90%; max-width:500px; 945 `; 946 947 // Add mobile-specific styles 948 const mobileStyles = document.createElement('style'); 949 mobileStyles.textContent = ` 950 @media (max-width: 768px) { 951 .__growi_modal_content { 952 top: calc(50% + 20px) !important; 953 } 954 } 955 @media (max-width: 480px) { 956 .__growi_modal_content { 957 top: calc(50% + 30px) !important; 958 } 959 } 960 `; 961 document.head.appendChild(mobileStyles); 962 963 modal.innerHTML = ` 964 <div class="__growi-modal-inner" style="display:block;position:relative;width:100%;height:100%;padding:40px 40px 40px 40px;box-sizing:border-box;"> 965 <button id="__growi-close-modal" style="position:absolute;top:15px;right:15px;background-color:transparent;border:none;cursor:pointer;z-index:10000;padding:5px;"> 966 <svg style="fill:${config.text_color}" height="20px" width="20px" viewBox="0 0 490 490" xmlns="http://www.w3.org/2000/svg"> 967 <polygon points="456.851,0 245,212.564 33.149,0 0.708,32.337 968 212.669,245.004 0.708,457.678 33.149,490 969 245,277.443 456.851,490 489.292,457.678 970 277.331,245.004 489.292,32.337"/> 971 </svg> 972 </button> 973 974 <div style="text-align:center;width:100%;"> 975 <p style="text-align:center;margin:0 0 20px 0;">
976 <span style="font-size:80px;line-height:1;display:inline-block;">${config.emoji || 'ð'}</span> 977 </p> 978 <h2 style=" 979 text-align:center; 980 font-size:2.5em; 981 line-height:1em; 982 margin:0.5em 0; 983 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 984 Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, 985 Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; 986 font-weight:bold; 987 color:${config.text_color}; 988 "> 989 ${headingText} 990 </h2> 991 <h3 style=" 992 text-align:center; 993 font-size:1.3em; 994 margin:0.8em 0; 995 color:${config.text_color}; 996 opacity:0.7; 997 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 998 Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, 999 Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; 1000 "> 1001 ${bodyText} 1002 </h3> 1003 ${buttonMarkup} 1004 ${helperMarkup} 1005 </div> 1006 </div> 1007 `; 1008 1009 overlay.appendChild(modal); 1010 document.body.appendChild(overlay); 1011 1012 // Close handler 1013 const closeButton = document.getElementById('__growi-close-modal'); 1014 if (closeButton) { 1015 closeButton.onclick = () => { 1016 window.growiCookieUtils.setCookie('discount_seen', affiliateId.toLowerCase(), -1); 1017 overlay.remove(); 1018 }; 1019 } 1020 1021 // Redeem handler 1022 const redeemBtn = document.getElementById('__growi-redeem-btn'); 1023 if (redeemBtn) { 1024 redeemBtn.onclick = () => { 1025 // Set loading state (preserve custom button colors) 1026 redeemBtn.disabled = true; 1027 redeemBtn.style.cursor = 'not-allowed'; 1028 redeemBtn.style.backgroundColor = config.button_color; 1029 redeemBtn.style.color = config.button_text_color; 1030 redeemBtn.innerHTML = ` 1031 <svg style="animation: spin 1s linear infinite; width: 20px; height: 20px; display: inline-block; margin-right: 8px;" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 1032 <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" stroke-dasharray="31.416" stroke-dashoffset="31.416" fill="none" stroke-linecap="round"/> 1033 </svg> 1034 Loading... 1035 `; 1036 1037 // Add spinning animation 1038 const style = document.createElement('style'); 1039 style.textContent = ` 1040 @keyframes spin { 1041 0% { transform: rotate(0deg); } 1042 100% { transform: rotate(360deg); } 1043 } 1044 `; 1045 document.head.appendChild(style); 1046 1047 // Simulate loading delay then show discount code 1048 setTimeout(() => { 1049 // Replace button with discount code 1050 redeemBtn.style.display = 'none'; 1051 1052 // Create discount code container 1053 const discountCodeDiv = document.createElement('div'); 1054 discountCodeDiv.id = '__growi-discount-code'; 1055 discountCodeDiv.style.cssText = ` 1056 background-color:#ecf0ff; 1057 display:block; 1058 width:90%; 1059 margin:20px auto 0 auto; 1060 text-align:center; 1061 color:#3860fb; 1062 font-size:25px; 1063 padding:8px; 1064 cursor:pointer; 1065 border-radius:5px; 1066 font-weight:bold; 1067 font-family:-apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 1068 Helvetica Neue, Arial, Noto Sans, sans-serif; 1069 `; 1070 discountCodeDiv.innerHTML = ` 1071 ${discountCode.toUpperCase()} 1072 <img src="https://d2pnkb2a79l965.cloudfront.net/copy-blue-icon.png" style="width:22px;margin-bottom:-5px;display:inline;"> 1073 `; 1074 1075 // Add copy functionality 1076 discountCodeDiv.onclick = () => { 1077 navigator.clipboard 1078 .writeText(discountCode.toUpperCase()) 1079 .then(() => { 1080 // Show copied feedback under the code 1081 let copiedText = document.getElementById('__growi-copied-text'); 1082 if (!copiedText) { 1083 copiedText = document.createElement('div'); 1084 copiedText.id = '__growi-copied-text'; 1085 copiedText.style.cssText = `
1086 font-size:0.9em; 1087 color:#28a745; 1088 margin-top:8px; 1089 text-align:center; 1090 `; 1091 discountCodeDiv.parentNode.insertBefore(copiedText, discountCodeDiv.nextSibling); 1092 } 1093 copiedText.innerHTML = 'â Discount applied!'; 1094 }) 1095 .catch(() => { 1096 // Fallback for older browsers 1097 const textArea = document.createElement('textarea'); 1098 textArea.value = discountCode.toUpperCase(); 1099 document.body.appendChild(textArea); 1100 textArea.select(); 1101 document.execCommand('copy'); 1102 document.body.removeChild(textArea); 1103 1104 let copiedText = document.getElementById('__growi-copied-text'); 1105 if (!copiedText) { 1106 copiedText = document.createElement('div'); 1107 copiedText.id = '__growi-copied-text'; 1108 copiedText.style.cssText = ` 1109 font-size:0.9em; 1110 color:#28a745; 1111 margin-top:8px; 1112 text-align:center; 1113 `; 1114 discountCodeDiv.parentNode.insertBefore(copiedText, discountCodeDiv.nextSibling); 1115 } 1116 copiedText.innerHTML = 'â Discount applied!'; 1117 }); 1118 }; 1119 1120 // Insert the discount code div after the button 1121 redeemBtn.parentNode.insertBefore(discountCodeDiv, redeemBtn.nextSibling); 1122 }, 1500); 1123 1124 window.growiCookieUtils.setCookie('discount_seen', affiliateId.toLowerCase()); 1125 }; 1126 } 1127 } 1128 1129 async function showBanner(affiliateId, discountCode, customizationData = null) { 1130 // Prevent duplicate banners 1131 if (document.getElementById('__growi-banner')) return; 1132 1133 // Fetch customization from API if not provided 1134 const customization = customizationData || (await fetchCustomization(affiliateId)); 1135 1136 // If no customization exists or banner not enabled, return 1137 if (!customization || !customization.banner_enabled) { 1138 console.log('â¹ï¸ Banner is disabled or no customization available'); 1139 return; 1140 } 1141 1142 // Merge customization with defaults 1143 const config = { ...defaultCustomization, ...customization }; 1144 1145 const affiliateName = window.growiCookieUtils.getCookie('affiliate_name'); 1146 const discountValue = window.growiCookieUtils.getCookie('discount_value'); 1147 const discountType = window.growiCookieUtils.getCookie('discount_type'); 1148 1149 const bannerHeading = 1150 config.heading_text || 1151 `${affiliateName ? decodeURIComponent(affiliateName) : 'We'} sent you ${ 1152 discountType === 'percentage' ? `${discountValue}%` : `$${discountValue}` 1153 } off!`; 1154 const bannerSubtext = config.body_text || `Click below to redeem your discount code`; 1155 const bannerButtonText = config.button_text || 'Redeem Coupon'; 1156 const bannerButtonMarkup = config.hide_button 1157 ? '' 1158 : `<button id="__growi-banner-btn" style=" 1159 padding: 14px 24px; 1160 background-color: ${config.button_color}; 1161 color: ${config.button_text_color}; 1162 border: none; 1163 border-radius: 6px; 1164 font-size: 16px; 1165 font-weight: 600; 1166 cursor: pointer; 1167 white-space: nowrap; 1168 flex-shrink: 0; 1169 font-family: -apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 1170 Helvetica Neue, Arial, Noto Sans, sans-serif; 1171 transition: opacity 0.2s; 1172 "> 1173 ${bannerButtonText} 1174 </button>`; 1175 1176 // Create banner element 1177 const banner = document.createElement('div'); 1178 banner.id = '__growi-banner'; 1179 banner.style.cssText = ` 1180 display: flex; 1181 align-items: center; 1182 justify-content: space-between; 1183 padding: 16px 20px; 1184 background-color: ${config.background_color}; 1185 color: ${config.text_color}; 1186 position: fixed; 1187 top: 0; 1188 left: 0; 1189 right: 0; 1190 width: 100%; 1191 z-index: 9997; 1192 box-shadow: 0 2px 8px rgba(0,0,0,0.1); 1193 border-bottom: 1px solid rgba(0,0,0,0.08); 1194 font-family: -apple-system, Inter, BlinkMacSystemFont, Segoe UI, Roboto, 1195 Helvetica Neue, Arial, Noto Sans, sans-serif; 1196 gap: 20px; 1197 box-sizing: border-box; 1198 `; 1199 1200 banner.innerHTML = ` 1201 <div style="display: flex; align-items: center; gap: 15px; flex: 1;"> 1202 <div style="font-size: 40px; line-height: 1; flex-shrink: 0;"> 1203 ${config.emoji || 'ð'} 1204 </div> 1205 <div style="flex: 1; min-width: 0;"> 1206 <div style="font-size: 18px; font-weight: 700; color: ${config.text_color}; margin-bottom: 4px; line-height: 1.3;"> 1207 ${bannerHeading} 1208 </div> 1209 <div style="font-size: 14px; color: ${config.text_color}; opacity: 0.7; line-height: 1.4;"> 1210 ${bannerSubtext} 1211 </div> 1212 </div> 1213 </div> 1214 ${bannerButtonMarkup} 1215 <button id="__growi-banner-close" style=" 1216 background: transparent; 1217 border: none; 1218 color: ${config.text_color}; 1219 cursor: pointer; 1220 padding: 8px; 1221 display: flex; 1222 align-items: center; 1223 flex-shrink: 0; 1224 opacity: 0.6; 1225 transition: opacity 0.2s; 1226 "> 1227 <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 1228 <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/> 1229 </svg> 1230 </button> 1231 `; 1232 1233 // Add responsive styles and hover effects 1234 const bannerStyles = document.createElement('style'); 1235 bannerStyles.textContent = ` 1236 #__growi-banner-btn:hover { 1237 opacity: 0.9; 1238 }
1239 #__growi-banner-close:hover { 1240 opacity: 1; 1241 } 1242 @media (max-width: 768px) { 1243 #__growi-banner { 1244 flex-direction: column; 1245 align-items: stretch !important; 1246 padding: 16px; 1247 width: 100%; 1248 } 1249 #__growi-banner > div:first-child { 1250 margin-bottom: 12px; 1251 } 1252 #__growi-banner-btn { 1253 width: 100%; 1254 } 1255 #__growi-banner-close { 1256 position: absolute; 1257 top: 16px; 1258 right: 16px; 1259 } 1260 } 1261 `; 1262 document.head.appendChild(bannerStyles); 1263 1264 // Append to body 1265 document.body.appendChild(banner); 1266 1267 // Add body padding to prevent content from being hidden behind banner 1268 const originalPaddingTop = document.body.style.paddingTop; 1269 // Wait for banner to render to get actual height 1270 setTimeout(() => { 1271 const bannerBottom = banner.getBoundingClientRect().bottom; 1272 document.body.style.paddingTop = `${bannerBottom}px`; 1273 1274 // Push down any existing sticky announcement bars so they appear below our banner 1275 const stickyAnnouncementBars = document.querySelectorAll( 1276 '[class*="announcement-bar"], [class*="announcement_bar"], [id*="announcement-bar"]' 1277 ); 1278 stickyAnnouncementBars.forEach((el) => { 1279 const style = getComputedStyle(el); 1280 if (style.position === 'sticky') { 1281 el.style.top = `${bannerBottom}px`; 1282 } 1283 }); 1284 }, 0); 1285 1286 // Store original padding for cleanup 1287 banner.dataset.originalPadding = originalPaddingTop; 1288 1289 // Button click handler - always copy code to clipboard, and optionally open modal 1290 const bannerBtn = document.getElementById('__growi-banner-btn'); 1291 if (bannerBtn) { 1292 bannerBtn.onclick = () => { 1293 const discountCode = window.growiCookieUtils.getCookie('discount_code'); 1294 const affiliateName = window.growiCookieUtils.getCookie('affiliate_name'); 1295 const discountType = window.growiCookieUtils.getCookie('discount_type'); 1296 const discountValue = window.growiCookieUtils.getCookie('discount_value'); 1297 1298 if (discountCode && discountValue) { 1299 // Always copy discount code to clipboard 1300 const originalText = bannerBtn.innerHTML; 1301 1302 navigator.clipboard 1303 .writeText(discountCode.toUpperCase()) 1304 .then(() => { 1305 bannerBtn.innerHTML = 'â Discount applied!'; 1306 bannerBtn.style.backgroundColor = '#28a745'; 1307 setTimeout(() => { 1308 bannerBtn.innerHTML = originalText; 1309 bannerBtn.style.backgroundColor = config.button_color; 1310 }, 2000); 1311 }) 1312 .catch(() => { 1313 // Fallback for older browsers 1314 const textArea = document.createElement('textarea'); 1315 textArea.value = discountCode.toUpperCase(); 1316 textArea.style.position = 'fixed'; 1317 textArea.style.opacity = '0'; 1318 document.body.appendChild(textArea); 1319 textArea.select(); 1320 document.execCommand('copy'); 1321 document.body.removeChild(textArea); 1322 1323 bannerBtn.innerHTML = 'â Discount applied!'; 1324 bannerBtn.style.backgroundColor = '#28a745'; 1325 setTimeout(() => { 1326 bannerBtn.innerHTML = originalText; 1327 bannerBtn.style.backgroundColor = config.button_color; 1328 }, 2000); 1329 }); 1330 1331 // Additionally show modal if enabled 1332 if (config.popup_enabled) { 1333 showDiscountModalV2(discountCode, affiliateName, discountValue, discountType, affiliateId); 1334 } 1335 } 1336 }; 1337 } 1338 1339 // Close button handler 1340 document.getElementById('__growi-banner-close').onclick = () => { 1341 // Restore original padding 1342 const originalPadding = banner.dataset.originalPadding || ''; 1343 document.body.style.paddingTop = originalPadding; 1344 1345 banner.remove(); 1346 // Store in cookie that banner was dismissed
1347 window.growiCookieUtils.setCookie('banner_dismissed', affiliateId.toLowerCase(), 1); // 1 day 1348 }; 1349 } 1350 1351 // ---- PAGE VIEW (exact referrer only) ---- 1352 function hasFiredPageView(visitorUid) { 1353 const key = `growi_pv_sent::${visitorUid || 'anon'}::${location.pathname}`; 1354 try { 1355 if (sessionStorage.getItem(key)) return true; 1356 } catch {} 1357 if (window.growiCookieUtils) { 1358 const ck = window.growiCookieUtils.getCookie(encodeURIComponent(key)); 1359 if (ck === '1') return true; 1360 } 1361 return false; 1362 } 1363 1364 function markFiredPageView(visitorUid) { 1365 const key = `growi_pv_sent::${visitorUid || 'anon'}::${location.pathname}`; 1366 try { 1367 sessionStorage.setItem(key, '1'); 1368 } catch {} 1369 // ~30 minutes lock across tabs 1370 window.growiCookieUtils && window.growiCookieUtils.setCookie(encodeURIComponent(key), '1', 0.02); 1371 } 1372 1373 async function sendOneTimePageView(externalId) { 1374 console.log('sendOneTimePageView', externalId); 1375 if (!window.growiCookieUtils) return; 1376 console.log('sendOneTimePageView1', externalId); 1377 if (!externalId) return; 1378 1379 const affiliateId = window.growiCookieUtils.getCookie('growi_affiliate_id'); 1380 const visitorUid = window.growiCookieUtils.getCookie('growi_visitor_uid'); 1381 if (!affiliateId || affiliateId === 'null') return; // keep your current rule 1382 console.log('sendOneTimePageView2', affiliateId); 1383 1384 if (hasFiredPageView(visitorUid)) return; 1385 console.log('sendOneTimePageView3', visitorUid); 1386 markFiredPageView(visitorUid); 1387 1388 // EXACT referrer only 1389 const referrerRaw = document.referrer || null; 1390 let referrerHost = null; 1391 try { 1392 referrerHost = referrerRaw ? new URL(referrerRaw).host : null; 1393 } catch {} 1394 1395 // Referrer captured at script-execute time, before any same-host nav 1396 // could blank document.referrer. Survives pushState / SPA-style nav 1397 // inside in-app browsers. 1398 const referrerInitialRaw = 1399 (typeof window !== 'undefined' && typeof window.__growi_initial_referrer !== 'undefined' 1400 ? window.__growi_initial_referrer 1401 : null) || null; 1402 let referrerInitialHost = null; 1403 try { 1404 referrerInitialHost = referrerInitialRaw ? new URL(referrerInitialRaw).host : null; 1405 } catch {} 1406 1407 // Get UTM parameters for Meta/Facebook ad tracking 1408 const utmParams = window.growiCookieUtils.getUtmParams ? window.growiCookieUtils.getUtmParams() : {}; 1409 1410 // Check if traffic is from Facebook/Meta based on utm_source 1411 const isFacebookSource = utmParams.utm_source && 1412 ['fb', 'facebook', 'meta'].includes(utmParams.utm_source.toLowerCase()); 1413 1414 // Click IDs + first-touch snapshot for paid-search fraud detection 1415 const clickIds = window.growiCookieUtils.getClickIds ? window.growiCookieUtils.getClickIds() : {}; 1416 const firstTouch = window.growiCookieUtils.getFirstTouch ? window.growiCookieUtils.getFirstTouch() : null; 1417 1418 // In-app-browser / platform inference from UA. Always safe to call â 1419 // returns { platform: 'browser', in_app_browser: false, ... } when 1420 // nothing matches. 1421 const clientPlatform = window.growiCookieUtils.detectClientPlatform 1422 ? window.growiCookieUtils.detectClientPlatform() 1423 : { platform: 'browser', in_app_browser: false, user_agent: '', is_mobile: false }; 1424 1425 // Prefer the value stamped onto first_touch (computed when the affiliate 1426 // cookie was set / backfilled â most accurate). Fall back to recomputing 1427 // live so payloads without a first_touch still carry signal. 1428 let inferredSource = (firstTouch && firstTouch.inferred_source) || null; 1429 if (!inferredSource) { 1430 if (clientPlatform && clientPlatform.platform && clientPlatform.platform !== 'browser') { 1431 inferredSource = clientPlatform.platform; 1432 } else if (referrerHost) { 1433 inferredSource = referrerHost; 1434 } else if (clickIds.gclid) { 1435 inferredSource = 'google_ads'; 1436 } else if (clickIds.msclkid) { 1437 inferredSource = 'bing_ads'; 1438 } else if (clickIds.fbclid) { 1439 inferredSource = 'facebook'; 1440 } else if (clickIds.ttclid) { 1441 inferredSource = 'tiktok'; 1442 } else { 1443 inferredSource = 'direct'; 1444 } 1445 } 1446 1447 const event = { 1448 name: 'page_viewed', 1449 id: (crypto.randomUUID && crypto.randomUUID()) || `${Date.now()}-${Math.random().toString(16).slice(2)}`, 1450 timestamp: new Date().toISOString(), 1451 data: { 1452 title: document.title || null, 1453 path: location.pathname, 1454 url: location.href, 1455 referrer_raw: referrerRaw, 1456 referrer_host: referrerHost, 1457 referrer_initial_raw: referrerInitialRaw, 1458 referrer_initial_host: referrerInitialHost,
1459 utm_source: utmParams.utm_source || null, 1460 utm_medium: utmParams.utm_medium || null, 1461 utm_campaign: utmParams.utm_campaign || null, 1462 utm_content: utmParams.utm_content || null, 1463 utm_term: utmParams.utm_term || null, 1464 utm_id: utmParams.utm_id || null, 1465 // Meta Ad ID (only set if utm_source is fb/facebook/meta) 1466 meta_ad_id: isFacebookSource ? (utmParams.tw_id || utmParams.utm_id || utmParams.utm_content || null) : null, 1467 click_ids: clickIds, 1468 first_touch: firstTouch, 1469 inferred_source: inferredSource, 1470 client_platform: clientPlatform, 1471 }, 1472 clientId: visitorUid, 1473 }; 1474 1475 const body = { 1476 tracking_event: { 1477 event_name: event.name, 1478 occurred_at: event.timestamp, 1479 visitor_uid: visitorUid, 1480 event_data: { 1481 pageEventId: event.id, 1482 timeStamp: event.timestamp, 1483 data: { ...event.data, clientId: event.clientId }, 1484 }, 1485 }, 1486 campaign_affiliate_id: affiliateId, 1487 external_id: `gid://shopify/Shop/${externalId}`, 1488 conversion_platform: 'shopify', 1489 }; 1490 1491 // Optional server dedupe 1492 const idempKey = `${visitorUid || 'anon'}::${location.pathname}::${Math.floor(Date.now() / 60000)}`; 1493 1494 try { 1495 await fetch('https://api.growi.io/api/v1/tracking_events', { 1496 method: 'POST', 1497 headers: { 1498 'Content-Type': 'application/json', 1499 'Idempotency-Key': idempKey, 1500 }, 1501 body: JSON.stringify(body), 1502 }); 1503 } catch (err) { 1504 console.warn('page_viewed send failed', err); 1505 } 1506 } 1507 1508 function waitForUrlParams(retries = 10, delay = 200) { 1509 // Check if URL has any parameters yet 1510 const hasParams = window.location.search.length > 0; 1511 const affiliateParam = 1512 new URLSearchParams(window.location.search).get('a') || 1513 new URLSearchParams(window.location.search).get('snowball') || 1514 new URLSearchParams(window.location.search).get('growi'); 1515 1516 // If we found affiliate params or exhausted retries, proceed 1517 if (affiliateParam || retries <= 0 || hasParams) { 1518 console.log(`â URL stabilized after ${10 - retries} attempts. Affiliate param:`, affiliateParam); 1519 initializeAffiliate(); 1520 return; 1521 } 1522 1523 // Wait and retry - Instagram WebView needs time to stabilize 1524 console.log(`â³ Waiting for URL params to stabilize... (${retries} retries left)`); 1525 setTimeout(() => waitForUrlParams(retries - 1, delay), delay); 1526 } 1527 1528 function waitForUtils(retries = 5) { 1529 console.log(`ð [WAIT-FOR-UTILS] Attempt ${6 - retries}/5 - Checking for window.growiCookieUtils...`); 1530 console.log( 1531 `ð [WAIT-FOR-UTILS] window.growiCookieUtils exists?`, 1532 typeof window.growiCookieUtils !== 'undefined' 1533 ); 1534 console.log(`ð [WAIT-FOR-UTILS] Document readyState:`, document.readyState); 1535 console.log(`ð [WAIT-FOR-UTILS] Timestamp:`, new Date().toISOString()); 1536 1537 if (window.growiCookieUtils) { 1538 console.log('â [WAIT-FOR-UTILS] Cookie utils found! Available methods:', Object.keys(window.growiCookieUtils)); 1539 // Don't immediately read params - wait for URL to stabilize first 1540 waitForUrlParams(); 1541 } else if (retries > 0) { 1542 console.log(`â³ [WAIT-FOR-UTILS] Not found yet, retrying in 100ms... (${retries} retries left)`); 1543 setTimeout(() => waitForUtils(retries - 1), 100); 1544 } else { 1545 console.error('â [WAIT-FOR-UTILS] Growi cookie utilities not loaded after 5 retries (500ms total)'); 1546 console.error('â [WAIT-FOR-UTILS] All window properties:', Object.keys(window)); 1547 console.error('â [WAIT-FOR-UTILS] Check if cookie-utils.js is loading correctly'); 1548 } 1549 } 1550 1551 function initializeAffiliate() { 1552 console.log('ð¯ [INIT-AFFILIATE] initializeAffiliate() called'); 1553 console.log( 1554 'ð¯ [INIT-AFFILIATE] window.growiCookieUtils exists?', 1555 typeof window.growiCookieUtils !== 'undefined' 1556 ); 1557 1558 if (!window.growiCookieUtils) { 1559 console.error('â [INIT-AFFILIATE] Cookie utils not available - CANNOT PROCEED'); 1560 console.error('â [INIT-AFFILIATE] This usually means cookie-utils.js failed to load or execute'); 1561 return; 1562 } 1563 1564 console.log('â [INIT-AFFILIATE] Cookie utils available, proceeding...'); 1565 1566 // Now read affiliate params after URL has stabilized 1567 const urlAffiliateId = 1568 new URLSearchParams(window.location.search).get('a') || 1569 new URLSearchParams(window.location.search).get('snowball') || 1570 new URLSearchParams(window.location.search).get('growi'); 1571 1572 // Get affiliate info from cookies 1573 const cookieInfo = window.growiCookieUtils.manageAffiliate
1573Cookies(); 1574 1575 // Determine which affiliate ID to use (URL param takes precedence) 1576 const affiliateId = urlAffiliateId || cookieInfo.affiliateId; 1577 const visitorUid = cookieInfo.visitorUid; 1578 // Brand-built Meta ads carry only a gcs_id (no affiliate param/cookie). 1579 // gcs_id alone is enough to stamp the cart so the backend can attribute 1580 // the sale. 1581 const gcsId = 1582 window.growiCookieUtils.getQueryParam('gcs_id') || 1583 window.growiCookieUtils.getCookie('growi_gcs_id'); 1584 const autoResponderId = 1585 window.growiCookieUtils.getQueryParam('igar_id') || 1586 cookieInfo.autoResponderId || 1587 window.growiCookieUtils.getCookie('growi_auto_responder_id'); 1588 // Creator-set sub-ID for platform-level tracking (e.g. ?sub_id=instagram) 1589 const subId = 1590 window.growiCookieUtils.getQueryParam('sub_id') || 1591 cookieInfo.subId || 1592 window.growiCookieUtils.getCookie('growi_sub_id'); 1593 1594 console.log('ð Final affiliate detection:', { 1595 urlAffiliateId, 1596 cookieAffiliateId: cookieInfo.affiliateId, 1597 finalAffiliateId: affiliateId, 1598 gcsId, 1599 autoResponderId, 1600 subId, 1601 }); 1602 1603 // Run if we have an affiliate from either source OR a gcs_id (brand-built 1604 // Meta ad). visitorUid is always created by manageAffiliateCookies. 1605 if ((affiliateId || gcsId || autoResponderId) && visitorUid) { 1606 // Get UTM parameters to pass to order 1607 const utmParams = window.growiCookieUtils.getUtmParams ? window.growiCookieUtils.getUtmParams() : {}; 1608 1609 // Check if traffic is from Facebook/Meta based on utm_source 1610 const isFacebookSource = utmParams.utm_source && 1611 ['fb', 'facebook', 'meta'].includes(utmParams.utm_source.toLowerCase()); 1612 1613 // Build cart attributes 1614 const cartAttributes = { 1615 __growi_visitor_uid: visitorUid, 1616 }; 1617 1618 if (affiliateId) cartAttributes.__growi_affiliate_id = affiliateId; 1619 if (gcsId) cartAttributes.__growi_gcs_id = gcsId; 1620 if (autoResponderId) cartAttributes.__growi_auto_responder_id = autoResponderId; 1621 if (subId) cartAttributes.__growi_sub_id = subId; 1622 1623 if (utmParams.utm_source) cartAttributes.__growi_utm_source = utmParams.utm_source; 1624 if (utmParams.utm_medium) cartAttributes.__growi_utm_medium = utmParams.utm_medium; 1625 if (utmParams.utm_campaign) cartAttributes.__growi_utm_campaign = utmParams.utm_campaign; 1626 if (utmParams.utm_content) cartAttributes.__growi_utm_content = utmParams.utm_content; 1627 if (utmParams.utm_term) cartAttributes.__growi_utm_term = utmParams.utm_term; 1628 if (utmParams.utm_id) cartAttributes.__growi_utm_id = utmParams.utm_id; 1629 if (utmParams.campaign_id) cartAttributes.__growi_campaign_id = utmParams.campaign_id; 1630 if (utmParams.user_id) cartAttributes.__growi_user_id = utmParams.user_id; 1631 if (utmParams.campaign_affiliate_id) cartAttributes.__growi_campaign_affiliate_id = utmParams.campaign_affiliate_id; 1632 if (utmParams.asset_id) cartAttributes.__growi_asset_id = utmParams.asset_id; 1633 if (utmParams.tw_id) cartAttributes.__growi_tw_id = utmParams.tw_id; 1634
1635 if (isFacebookSource && (utmParams.tw_id || utmParams.utm_id || utmParams.utm_content)) { 1636 cartAttributes.__growi_meta_ad_id = utmParams.tw_id || utmParams.utm_id || utmParams.utm_content; 1637 } 1638 1639 fetch('/cart/update.js', { 1640 method: 'POST', 1641 headers: { 1642 'Content-Type': 'application/json', 1643 }, 1644 body: JSON.stringify({ 1645 attributes: cartAttributes, 1646 }), 1647 }) 1648 .then((res) => { 1649 // Extract x-shopid from response headers 1650 const externalId = res.headers.get('x-shopid'); 1651 console.log('ðª Shop ID extracted from headers:', externalId); 1652 1653 return res.json().then((data) => ({ data, externalId })); 1654 }) 1655 .then(({ data, externalId }) => { 1656 console.log('â Cart attributes updated with affiliate & visitor ID', data); 1657 // --- Discount code logic start --- 1658 // Only fetch if we have an affiliateId and no discount_code cookie 1659 // Only fetch if we have an affiliateId and no discount_code cookie 1660 const discountCode = window.growiCookieUtils.getCookie('discount_code'); 1661 const affiliateName = window.growiCookieUtils.getCookie('affiliate_name'); 1662 const discountType = window.growiCookieUtils.getCookie('discount_type'); 1663 const discountValue = window.growiCookieUtils.getCookie('discount_value'); 1664 const campaignType = window.growiCookieUtils.getCookie('campaign_type'); 1665 const discountSeen = window.growiCookieUtils.getCookie('discount_seen'); 1666 const isDiscountSeen = discountSeen && discountSeen === `${affiliateId}`.toLowerCase(); 1667 1668 console.log('Test', affiliateId, discountCode, affiliateId !== 'null', externalId); 1669 1670 if (affiliateId && !!discountCode && affiliateId !== 'null' && isDiscountSeen) { 1671 const bannerDismissed = window.growiCookieUtils.getCookie('banner_dismissed'); 1672 const isBannerDismissed = bannerDismissed && bannerDismissed === `${affiliateId}`.toLowerCase(); 1673 1674 if (!isBannerDismissed) { 1675 // Check if banner is enabled before showing 1676 fetchCustomization(affiliateId).then((customization) => { 1677 if (customization && customization.banner_enabled) { 1678 showBanner(affiliateId, discountCode, customization); 1679 } 1680 }); 1681 } 1682 1683 sendOneTimePageView(externalId); 1684 } else if ( 1685 affiliateId && 1686 (!discountCode || (!!discountCode && !isDiscountSeen)) && 1687 affiliateId !== 'null' 1688 ) { 1689 const currentUrl = window.location.href; 1690 // gcs_id (Growi Content Submission ID) lets the backend attribute 1691 // brand-built Meta ads. Prefer the live URL param, fall back to the 1692 // cookie captured on the landing page. 1693 const gcsId = 1694 window.growiCookieUtils.getQueryParam('gcs_id') || 1695 window.growiCookieUtils.getCookie('growi_gcs_id'); 1696 const gcsQuery = gcsId ? `&gcs_id=${encodeURIComponent(gcsId)}` : ''; 1697 fetch( 1698 `https://api.growi.io/api/v1/campaign_affiliates/${encodeURIComponent( 1699 affiliateId 1700 )}/discount_code?url=${encodeURIComponent(currentUrl)}${gcsQuery}`, 1701 { 1702 method: 'GET', 1703 headers: { 1704 'Content-Type': 'application/json', 1705 }, 1706 } 1707 ) 1708 .then((response) => { 1709 if (!response.ok) throw new Error('Network response was not ok'); 1710 return response.json(); 1711 }) 1712 .then((data) => { 1713 if (data.success) { 1714 cookieDuration = data.cookie_duration; 1715 if (!!cookieDuration) { 1716 updateAffiliateCookieDuration(cookieDuration); 1717 console.log('â Affiliate cookie duration updated:', cookieDuration); 1718 } 1719 } 1720 if (data.success && data.discount_code) { 1721 // Set discount_code cookie for 30 days
1722 window.growiCookieUtils.setCookie('discount_code', data.discount_code, 30); 1723 // Set new response format cookies 1724 if (data.affiliate_name) { 1725 window.growiCookieUtils.setCookie('affiliate_name', data.affiliate_name, 30); 1726 } 1727 if (data.discount_type) { 1728 window.growiCookieUtils.setCookie('discount_type', data.discount_type, 30); 1729 } 1730 if (data.discount_value) { 1731 window.growiCookieUtils.setCookie('discount_value', data.discount_value, 30); 1732 } 1733 if (data.campaign_type) { 1734 window.growiCookieUtils.setCookie('campaign_type', data.campaign_type, 30); 1735 } 1736 console.log('â Discount code cookies set:', data.discount_code); 1737 1738 // Show discount modal only for ambassador programs and if not seen yet 1739 const discountSeen = window.growiCookieUtils.getCookie('discount_seen'); 1740 const isDiscountSeen = discountSeen && discountSeen === `${affiliateId}`.toLowerCase(); 1741 1742 if (!isDiscountSeen) { 1743 if (data.is_v2) { 1744 showDiscountModalV2( 1745 data.discount_code, 1746 data.affiliate_name, 1747 data.discount_value, 1748 data.discount_type, 1749 affiliateId 1750 ); 1751 } else { 1752 showDiscountModal( 1753 data.discount_code, 1754 data.affiliate_name, 1755 data.discount_value, 1756 data.discount_type, 1757 affiliateId 1758 ); 1759 } 1760 } else { 1761 // If modal was already seen, show banner instead (if not dismissed) 1762 const bannerDismissed = window.growiCookieUtils.getCookie('banner_dismissed'); 1763 const isBannerDismissed = bannerDismissed && bannerDismissed === `${affiliateId}`.toLowerCase(); 1764 1765 if (!isBannerDismissed) { 1766 // Check if banner is enabled before showing 1767 fetchCustomization(affiliateId).then((customization) => { 1768 if (customization && customization.banner_enabled) { 1769 showBanner(affiliateId, data.discount_code, customization); 1770 } 1771 }); 1772 } 1773 } 1774 } 1775 }) 1776 .catch((error) => { 1777 console.error('There has been a problem with your fetch operation:', error); 1778 }); 1779 } 1780 // --- Discount code logic end --- 1781 1782 sendOneTimePageView(externalId); 1783 }) 1784 .catch((err) => { 1785 console.error('â Failed to update cart attributes', err); 1786 }); 1787 } else { 1788 console.log('â¹ï¸ No affiliate data to process'); 1789 } 1790 } 1791 1792 // Start the process - wait for utils first, then URL stability 1793 console.log('ð [GROWI-EMBED] Starting waitForUtils() immediately...'); 1794 console.log('ð [GROWI-EMBED] Current timestamp:', new Date().toISOString()); 1795 waitForUtils(); 1796 1797 // Also try on window.load as a fallback for very slow WebViews 1798 window.addEventListener('load', () => { 1799 setTimeout(() => { 1800 console.log('ð [WINDOW-LOAD] Window load backup trigger fired (500ms after window.load)'); 1801 console.log('ð [WINDOW-LOAD] window.growiCookieUtils exists?', typeof window.growiCookieUtils !== 'undefined'); 1802 initializeAffiliate(); 1803 }, 500); 1804 }); 1805 })(); 1806</script>
1806 1807 1808 1809<!-- END app block --><!-- BEGIN app block: shopify://apps/klaviyo-email-marketing-sms/blocks/klaviyo-onsite-embed/2632fe16-c075-4321-a88b-50b567f42507 --> 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822
1822<script async src="https://static.klaviyo.com/onsite/js/SNZxEE/klaviyo.js?company_id=SNZxEE"></script>
1822 1823
1823<script>!function(){if(!window.klaviyo){window._klOnsite=window._klOnsite||[];try{window.klaviyo=new Proxy({},{get:function(n,i){return"push"===i?function(){var n;(n=window._klOnsite).push.apply(n,arguments)}:function(){for(var n=arguments.length,o=new Array(n),w=0;w<n;w++)o[w]=arguments[w];var t="function"==typeof o[o.length-1]?o.pop():void 0,e=new Promise((function(n){window._klOnsite.push([i].concat(o,[function(i){t&&t(i),n(i)}]))}));return e}}})}catch(n){window.klaviyo=window.klaviyo||[],window.klaviyo.push=function(){var n;(n=window._klOnsite).push.apply(n,arguments)}}}}();</script>
1823 1824 1825 1826
1826<script id="viewed_product"> 1827 if (item == null) { 1828 var _learnq = _learnq || []; 1829 1830 var MetafieldReviews = null 1831 var MetafieldYotpoRating = null 1832 var MetafieldYotpoCount = null 1833 var MetafieldLooxRating = null 1834 var MetafieldLooxCount = null 1835 var okendoProduct = null 1836 var okendoProductReviewCount = null 1837 var okendoProductReviewAverageValue = null 1838 try { 1839 // The following fields are used for Customer Hub recently viewed in order to add reviews. 1840 // This information is not part of __kla_viewed. Instead, it is part of __kla_viewed_reviewed_items 1841 MetafieldReviews = {"rating":{"scale_min":"1.0","scale_max":"5.0","value":"5.0"},"rating_count":8}; 1842 MetafieldYotpoRating = null 1843 MetafieldYotpoCount = null 1844 MetafieldLooxRating = null 1845 MetafieldLooxCount = null 1846 1847 okendoProduct = null 1848 // If the okendo metafield is not legacy, it will error, which then requires the new json formatted data 1849 if (okendoProduct && 'error' in okendoProduct) { 1850 okendoProduct = null 1851 } 1852 okendoProductReviewCount = okendoProduct ? okendoProduct.reviewCount : null 1853 okendoProductReviewAverageValue = okendoProduct ? okendoProduct.reviewAverageValue : null 1854 } catch (error) { 1855 console.error('Error in Klaviyo onsite reviews tracking:', error); 1856 } 1857 1858 var item = { 1859 Name: "Aliv⢠Head Gel IWS", 1860 ProductID: 9741806272755, 1861 Categories: ["All products","featured products","Head Gel","Headache","Hot \u0026 Cold","New In","Whatâs affecting your sleep?"], 1862 ImageURL: "https://iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce_grande.png?v=1787950125", 1863 URL: "https://iwannasleep.com/products/aliv%e2%84%a2-head-gel-iws", 1864 Brand: "I wanna sleep USA", 1865 Price: "$47.00", 1866 Value: "47.00", 1867 CompareAtPrice: "$65.00" 1868 }; 1869 _learnq.push(['track', 'Viewed Product', item]); 1870 _learnq.push(['trackViewedItem', { 1871 Title: item.Name, 1872 ItemId: item.ProductID, 1873 Categories: item.Categories, 1874 ImageUrl: item.ImageURL, 1875 Url: item.URL, 1876 Metadata: { 1877 Brand: item.Brand, 1878 Price: item.Price, 1879 Value: item.Value, 1880 CompareAtPrice: item.CompareAtPrice 1881 }, 1882 metafields:{ 1883 reviews: MetafieldReviews, 1884 yotpo:{ 1885 rating: MetafieldYotpoRating, 1886 count: MetafieldYotpoCount, 1887 }, 1888 loox:{ 1889 rating: MetafieldLooxRating, 1890 count: MetafieldLooxCount, 1891 }, 1892 okendo: { 1893 rating: okendoProductReviewAverageValue, 1894 count: okendoProductReviewCount, 1895 } 1896 } 1897 }]); 1898 } 1899 </script>
1899 1900 1901 1902 1903 1904 1905
1905<script> 1906 window.klaviyoReviewsProductDesignMode = false 1907 </script>
1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917<!-- END app block --><!-- BEGIN app block: shopify://apps/microsoft-clarity/blocks/clarity_js/31c3d126-8116-4b4a-8ba1-baeda7c4aeea -->
1918<script type="text/javascript"> 1919 (function (c, l, a, r, i, t, y) { 1920 c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments); }; 1921 t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i + "?ref=shopify"; 1922 y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); 1923 1924 c.Shopify.loadFeatures([{ name: "consent-tracking-api", version: "0.1" }], error => { 1925 if (error) { 1926 console.error("Error loading Shopify features:", error); 1927 return; 1928 } 1929 1930 c[a]('consentv2', { 1931 ad_Storage: c.Shopify.customerPrivacy.marketingAllowed() ? "granted" : "denied", 1932 analytics_Storage: c.Shopify.customerPrivacy.analyticsProcessingAllowed() ? "granted" : "denied", 1933 source: 101, 1934 }); 1935 }); 1936 1937 l.addEventListener("visitorConsentCollected", function (e) { 1938 c[a]('consentv2', { 1939 ad_Storage: e.detail.marketingAllowed ? "granted" : "denied", 1940 analytics_Storage: e.detail.analyticsAllowed ? "granted" : "denied", 1941 source: 101, 1942 }); 1943 }); 1944 })(window, document, "clarity", "script", "yjwpltt04v"); 1945</script>
1945 1946 1947 1948 1949<!-- END app block --><!-- BEGIN app block: shopify://apps/pagefly-ai-page-builder/blocks/app-embed/83e179f7-59a0-4589-8c66-c0dddf959200 --> 1950 1951<!-- BEGIN app snippet: pagefly-cro-ab-testing-main --> 1952 1953 1954 1955 1956 1957 1958
1959<script> 1960 ;(function () { 1961 const url = new URL(window.location) 1962 const viewParam = url.searchParams.get('view') 1963 if (viewParam && viewParam.includes('variant-pf-')) { 1964 url.searchParams.set('pf_v', viewParam) 1965 url.searchParams.delete('view') 1966 window.history.replaceState({}, '', url) 1967 } 1968 })() 1969</script>
1969 1970 1971 1972
1973<script type='module'> 1974 1975 window.PAGEFLY_CRO = window.PAGEFLY_CRO || {} 1976 1977 window.PAGEFLY_CRO['data_debug'] = { 1978 original_template_suffix: "produto-aliv-geral", 1979 allow_ab_test: false, 1980 ab_test_start_time: 0, 1981 ab_test_end_time: 0, 1982 today_date_time: 1791452675000, 1983 } 1984 window.PAGEFLY_CRO['GA4'] = { enabled: false} 1985</script>
1985 1986 1987<!-- END app snippet --> 1988 1989 1990 1991 1992 1993 1994 1995 1996
1996<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-helper.js' defer='defer'></script>
1996 1997 1998
1998<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-general-helper.js' defer='defer'></script>
1998 1999 2000
2000<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-snap-slider.js' defer='defer'></script>
2000 2001 2002
2002<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-slideshow-v3.js' defer='defer'></script>
2002 2003 2004
2004<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-slideshow-v4.js' defer='defer'></script>
2004 2005 2006
2006<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-glider.js' defer='defer'></script>
2006 2007 2008
2008<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-slideshow-v1-v2.js' defer='defer'></script>
2008 2009 2010
2010<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-product-media.js' defer='defer'></script>
2010 2011 2012
2012<script src='https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-product.js' defer='defer'></script>
2012 2013 2014
2015<script id='pagefly-helper-data' type='application/json'> 2016 { 2017 "page_optimization": { 2018 "assets_prefetching": false 2019 }, 2020 "elements_asset_mapper": { 2021 "Accordion": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-accordion.js", 2022 "Accordion3": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-accordion3.js", 2023 "CountDown": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-countdown.js", 2024 "GMap1": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-gmap.js", 2025 "GMap2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-gmap.js", 2026 "GMapBasicV2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-gmap.js", 2027 "GMapAdvancedV2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-gmap.js", 2028 "HTML.Video": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-htmlvideo.js", 2029 "HTML.Video2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-htmlvideo2.js", 2030 "HTML.Video3": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-htmlvideo2.js", 2031 "BackgroundVideo": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-htmlvideo2.js", 2032 "Instagram": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-instagram.js", 2033 "Instagram2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-instagram.js", 2034 "Insta3": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-instagram3.js", 2035 "Tabs": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-tab.js", 2036 "Tabs3": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-tab3.js", 2037 "ProductBox": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-cart.js", 2038 "FBPageBox2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-facebook.js", 2039 "FBLikeButton2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-facebook.js", 2040 "TwitterFeed2": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-twitter.js", 2041 "Paragraph4": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-paragraph4.js", 2042 2043 "AliReviews": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2044 "BackInStock": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2045 "GloboBackInStock": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2046 "GrowaveWishlist": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2047 "InfiniteOptionsShopPad": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2048 "InkybayProductPersonalizer": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder
2048-367/assets/pagefly-3rd-elements.js", 2049 "LimeSpot": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2050 "Loox": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2051 "Opinew": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2052 "Powr": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2053 "ProductReviews": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2054 "PushOwl": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2055 "ReCharge": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2056 "Rivyo": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2057 "TrackingMore": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2058 "Vitals": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js", 2059 "Wiser": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-3rd-elements.js" 2060 }, 2061 "custom_elements_mapper": { 2062 "pf-click-action-element": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-click-action-element.js", 2063 "pf-dialog-element": "https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-dialog-element.js" 2064 } 2065 } 2066</script>
2066 2067
2068<script id='pagefly-heatmap-config' type='application/json'> 2069 {} 2070</script>
vendor: 1 bytes, line 2070
2070
2071<script> 2072 (function () { 2073 var el = document.getElementById('pagefly-heatmap-config') 2074 if (!el) { window.__pagefly_heatmap_config__ = {}; return } 2075 try { 2076 window.__pagefly_heatmap_config__ = JSON.parse(el.textContent || '{}') || {} 2077 } catch (e) { 2078 window.__pagefly_heatmap_config__ = {} 2079 } 2080 })() 2081</script>
vendor: 1 bytes, line 2081
2081
2082<script> 2083 // Heatmap overlay loader. Three gates, all of them cheap, none of them trusting the URL: 2084 // the visitor must have arrived on a pf_heatmap link, the SERVER must have published an 2085 // overlay path in the metafield, and this page must already be one the merchant enabled 2086 // tracking for. The last gate is what stops a crafted link pulling the asset onto an 2087 // arbitrary storefront page. Everything else is decided inside the asset, and by the server. 2088 (function () { 2089 var cfg = window.__pagefly_heatmap_config__ || {} 2090 var id = (window.__pagefly_page_setting__ || {}).pageId 2091 if (!/[#&]pf_heatmap=/.test(window.location.hash || '')) return 2092 if (!cfg.overlay_data_path || !Array.isArray(cfg.enabled_page_ids)) return 2093 if (!id || cfg.enabled_page_ids.indexOf(id) === -1) return 2094 var s = document.createElement('script') 2095 s.src = 'https://cdn.shopify.com/extensions/01a115fb-add3-73f7-a337-6aea6d12aa8f/pagefly-ai-page-builder-367/assets/pagefly-heatmap-overlay.js' 2096 s.defer = true 2097 document.head.appendChild(s) 2098 })() 2099</script>
2099 2100 2101<!-- BEGIN app snippet: pf-ai-schema --> 2102<!-- END app snippet --> 2103 2104 2105<!-- END app block --><!-- BEGIN app block: shopify://apps/tolstoy-ads-image-video/blocks/widget-block/06fa8282-42ff-403e-b67c-1936776aed11 --> 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126
2127<script 2128 type="module" 2129 async 2130 src="https://widget.gotolstoy.com/we/widget.js" 2131 data-shop=i-wanna-sleep-usa.myshopify.com 2132 data-app-key=d37dba91-26ff-42b8-aa3e-7891ef64a5d6 2133 data-should-use-cache=true 2134 data-cache-version=1a0e2c51100 2135 data-product-gallery-projects="[]" 2136 data-collection-gallery-projects="[]" 2137 data-product-id=9741806272755 2138 data-template-name="product.produto-aliv-geral" 2139 data-ot-ignore 2140 data-cookieconsent="ignore" 2141> 2142</script>
vendor: 1 bytes, line 2142
2142
2143<script 2144 type="module" 2145 async 2146 src="https://play.gotolstoy.com/widget-v2/widget.js" 2147 id="tolstoy-widget-script" 2148 data-shop=i-wanna-sleep-usa.myshopify.com 2149 data-app-key=d37dba91-26ff-42b8-aa3e-7891ef64a5d6 2150 data-should-use-cache=true 2151 data-cache-version=1a0e2c51100 2152 data-product-gallery-projects="[]" 2153 data-collection-gallery-projects="[]" 2154 data-product-id=9741806272755 2155 data-collection-id="" 2156 data-shop-assistant-enabled="false" 2157 data-search-bar-widget-enabled="false" 2158 data-template-name="product.produto-aliv-geral" 2159 data-customer-id="" 2160 data-ot-ignore 2161 data-cookieconsent="ignore" 2162></script>
vendor: 1 bytes, line 2162
2162
2163<script 2164 type="module" 2165 async 2166 src="https://play.gotolstoy.com/widget-v2/widget.brand-mcp.js" 2167 data-app-key=d37dba91-26ff-42b8-aa3e-7891ef64a5d6 2168 data-ot-ignore 2169 data-cookieconsent="ignore" 2170></script>
vendor: 1 bytes, line 2170
2170
2171<script> 2172 window.tolstoyCurrencySymbol = "$"; 2173 window.tolstoyMoneyFormat = "${{amount}}"; 2174</script>
vendor: 1 bytes, line 2174
2174
2175<script> 2176 (function(){ 2177 function hideOrphanedTiles(){ 2178 var els = document.querySelectorAll('.tolstoy-collection-page-tile,tolstoy-collection-tile'); 2179 for(var i=0;i<els.length;i++){ 2180 if(els[i].children.length>0) continue; 2181 els[i].style.setProperty('display','none','important'); 2182 var w=els[i].closest('[class*="tolstoy-grid"]')||els[i].closest('.tolstoy-collection-page-tile-wrapper'); 2183 if(w) w.style.setProperty('display','none','important'); 2184 } 2185 } 2186 if(document.readyState==='loading'){ 2187 document.addEventListener('DOMContentLoaded',hideOrphanedTiles); 2188 }else{ 2189 hideOrphanedTiles(); 2190 } 2191 })(); 2192</script>
vendor: 1 bytes, line 2192
2192
2193<script> 2194 window.tolstoyDebug = { 2195 enable: () => { 2196 fetch('/cart/update.js', { 2197 method: 'POST', 2198 headers: { 'Content-Type': 'application/json' }, 2199 body: JSON.stringify({ attributes: { TolstoyDebugEnabled: 'true' } }) 2200 }) 2201 .then(response => response.json()) 2202 .then(() => window.location.reload()); 2203 }, 2204 disable: () => { 2205 fetch('/cart/update.js', { 2206 method: 'POST', 2207 headers: { 'Content-Type': 'application/json' }, 2208 body: JSON.stringify({ attributes: { TolstoyDebugEnabled: null } }) 2209 }) 2210 .then(response => response.json()) 2211 .then(() => window.location.reload()) 2212 }, 2213 status: async () => { 2214 const response = await fetch('/cart.js'); 2215 const json = await response.json(); 2216 console.log(json.attributes); 2217 } 2218 } 2219</script>
2219 2220 2221<!-- END app block -->
2221<script src="https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/orbe-mk.min.js" type="text/javascript" defer="defer"></script>
2221 2222<link href="https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/md-app-modal.min.css" rel="stylesheet" type="text/css" media="all">
2223<script src="https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/orbe.min.js" type="text/javascript" defer="defer"></script>
2223 2224<link href="https://monorail-edge.shopifysvc.com" rel="dns-prefetch">
2225<script>(function(){if ("sendBeacon" in navigator && "performance" in window) {try {var session_token_from_headers = performance.getEntriesByType('navigation')[0].serverTiming.find(x => x.name == '_s').description;} catch {var session_token_from_headers = undefined;}var session_cookie_matches = document.cookie.match(/_shopify_s=([^;]*)/);var session_token_from_cookie = session_cookie_matches && session_cookie_matches.length === 2 ? session_cookie_matches[1] : "";var session_token = session_token_from_headers || session_token_from_cookie || "";function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /monorail-edge.shopifysvc.com/.test(entry.name);});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs = Date.now();var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 75207901427,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token,page_type: "product"};window.navigator.sendBeacon("https://monorail-edge.shopifysvc.com/v1/produce", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());</script>
vendor: 1 bytes, line 2225
2225
2226<script> 2227 window.__TREKKIE_SHIM_QUEUE = window.__TREKKIE_SHIM_QUEUE || []; 2228</script>
vendor: 1 bytes, line 2228
2228
2229<script>(function(){var wpmLoader=function(){"use strict";var e=/Googlebot|Storebot-Google|bingbot|Baiduspider|YandexBot|DuckDuckBot|Slurp|facebookexternalhit|Twitterbot|LinkedInBot|Applebot|AdsBot-Google|Mediapartners-Google|APIs-Google|PetalBot|SemrushBot|AhrefsBot|MJ12bot|DotBot|Acunetix|PerplexityBot|Perplexity-User/i,t=/bytedance/i;function i(){try{var e=document.cookie;if(!e||"string"!=typeof e)return;for(var t=0,i=e.split(";");t<i.length;t++){var n=i[t],r=n.indexOf("=");if(-1!==r){var o=n.slice(0,r).trim();if(o){var a=void 0;try{a=decodeURIComponent(o)}catch(e){a=o}if("_shopify_s"===a){var d=n.slice(r+1).trim();try{return decodeURIComponent(d)}catch(e){return d}}}}}return}catch(e){return}}function n(e){try{"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(e)}catch(e){}}function r(e,t){return"string"==typeof e&&e.length>0&&e.length<=t?e:void 0}function o(e){var t;switch(null==(t=null==e?void 0:e.navigation)?void 0:t.type){case 0:return"navigate";case 1:return"reload";case 2:return"back_forward";default:return}}function a(){var e,t,i;try{var n=null==(i=null==(t=null==(e=self.ShopifyAnalytics)?void 0:e.lib)?void 0:t.trekkie)?void 0:i.state;return"awaiting-consent"===n||"initialized"===n?n:void 0}catch(e){return}}return function(d,s,u,l){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};try{var p=c.trekkieShim;!0!==p&&"true"!==p||null!=window.__TREKKIE_SHIM_QUEUE||(window.__TREKKIE_SHIM_QUEUE=[])}catch(e){}var f,v,h,y,g=(v=(f={modern:/Edge?\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(9{2}|\d{3,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(15\.\d+|(1[6-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(9{2}|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]\d+|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|SamsungBrowser\/([2-9]\d|\d{3,})\.\d+/,legacy:/Edge?\/(1[6-9]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(5[4-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/(5[1-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)([\d.]+$|.*Safari\/(?![\d.]+ Edge\/[\d.]+$))|(Maci|X1{2}).+ Version\/(10\.\d+|(1[1-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(3[89]|[4-9]\d|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(10[._]\d+|(1[1-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(5\.\d+|([6-9]|\d{2,})\.\d+)|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(3\.\d+|([4-9]|\d{2,})\.\d+)(\.\d+|)/}).modern,h=f.legacy,(y=navigator.userAgent).match(e)?"bot":y.match(v)?"modern":y.match(h)?"legacy":y.match(t)?"bot":"unknown"),m=function(e){var t,i,n=r(e,128);try{var a=window.performance,d=null==(t=null==a?void 0:a.getEntriesByType)?void 0:t.call(a,"navigation")[0];if(!d)return{requestId:n,navigationType:o(a)};var s="type"in d?r(d.type,64):void 0,u="serverTiming"in d&&Array.isArray(d.serverTiming)?d.serverTiming:[];return{requestId:null!=n?n:r(null==(i=u.find(function(e){return"requestID"===e.name}))?void 0:i.description,128),navigationType:s}}catch(e){return{requestId:n}}}(c.requestId),w=function(e){var t=e.version,r=e.browserTarget,o=e.surface,a=e.shopId,d=e.monorailEndpoint,s=window.location.href;return{emit:function(e){var u=e.status,l=e.errorMsg,c=e.failureReason,p=e.useKeepaliveFallback,f=void 0!==p&&p,v=e.navigationType,h=e.pagehidePersisted,y=e.requestId,g=e.trekkieState;if(d){var m,w;try{var b=(new Date).getTime();m=JSON.stringify({metadata:{event_sent_at_ms:b},events:[{schema_id:"web_pixels_manager_load/3.3",payload:{version:t,bundle_target:r,page_url:s,status:u,surface:o,error_msg:l,failure_reason:c,navigation_type:v,pagehide_persisted:h,request_id:y,trekkie_state:g,shop_id:a,visit_token:i()},metadata:{event_created_at_ms:b}}]})}catch(e){return}try{if("function"==typeof window.navigator.sendBeacon&&-1===(w=window.navigator.userAgent).indexOf("iPhone; CPU iPhone OS 12_")&&-1===w.indexOf("iPad; CPU OS 12_")&&-1===w.indexOf("iPod touch; CPU iPhone OS 12_")&&window.navigator.sendBeacon.bind(window.navigator)(d,m))return}catch(e){}if(f)try{"function"==typeof window.fetch&&window.fetch(d,{method:"POST",headers:{"Content-Type":"text/plain"},body:m,keepalive:!0}
2229).catch(function(){})}catch(e){}else try{var _=new XMLHttpRequest;_.open("POST",d,!0),_.setRequestHeader("Content-Type","text/plain"),_.send(m)}catch(e){n("[Web Pixels Manager] Got an unhandled error while logging to Monorail.")}}else n("[Web Pixels Manager] No Monorail endpoint provided, skipping logging.")}}}({version:u,browserTarget:g,surface:d.surface,shopId:d.shopId,monorailEndpoint:d.monorailEndpoint});if(Boolean(null==(_=null==(b=window.Shopify)?void 0:b.analytics)?void 0:_.replayQueue))w.emit({status:"setup-skipped",errorMsg:"replay queue already initialized."});else{var b,_;w.emit({status:"setup-started"}),window.Shopify=window.Shopify||{};var S=window.Shopify;S.analytics=S.analytics||{};var P=S.analytics;P.replayQueue=[],P.publish=function(e,t,i){return P.replayQueue.push([e,t,i]),!0};try{self.performance.mark("wpm:start")}catch(e){}var k,C="modern"===g?"modern":"legacy",E=(null!=l?l:{modern:"",legacy:""})[C],I=[(k={baseUrl:s,hashVersion:u,buildTarget:C}).baseUrl,"/wpm","/b",k.hashVersion,"modern"===k.buildTarget?"m":"l",".js"].join(""),O=!1,T=!1;try{c.browserTarget=g,function(){O=!0;try{window.addEventListener("pagehide",M)}catch(e){O=!1}}(),R(function(){try{R(x)}catch(e){D(e)}}),w.emit({status:"loading",requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()})}catch(e){D(e)}}function U(){var e;if(q(),!function(){var e,t;return Boolean(null==(t=null==(e=window.Shopify)?void 0:e.analytics)?void 0:t.initialized)}()){var t,i,n;try{if("function"!=typeof(null==(e=window.webPixelsManager)?void 0:e.init))return void A();if(!(null!==(n=i=t=window.webPixelsManager.init(d))&&"function"!=typeof n&&Object(n)===n&&"publish"in i&&"function"==typeof i.publish&&"publishCustomEvent"in i&&"function"==typeof i.publishCustomEvent&&"visitor"in i&&"function"==typeof i.visitor))return void A()}catch(e){return void A(e)}var r=window.Shopify.analytics;r.replayQueue.forEach(function(e){var i=e[0],n=e[1],r=e[2];t.publishCustomEvent(i,n,r)}),r.replayQueue=[],r.publish=t.publishCustomEvent,r.visitor=t.visitor,r.initialized=!0}}function A(e){B("manager_api_unavailable",void 0===e?void 0:Q(e))}function x(){B("script_load_failed","".concat(I," has failed to load"))}function B(e,t){T||(T=!0,q(),w.emit({status:"failed",errorMsg:t,failureReason:e,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function M(e){O&&(q(),w.emit({status:"pagehide-while-loading",useKeepaliveFallback:!0,pagehidePersisted:e.persisted,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function q(){O=!1;try{window.removeEventListener("pagehide",M)}catch(e){}}function R(e){var t;!function(e){var t=e.src,i=e.async,n=void 0===i||i,r=e.onload,o=e.onerror,a=e.sri,d=e.scriptDataAttributes,s=void 0===d?{}:d,u=document.createElement("script"),l=document.querySelector("head"),c=document.querySelector("body");if(u.async=n,u.src=t,a&&(u.integrity=a,u.crossOrigin="anonymous"),s)for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))try{u.dataset[p]=String(s[p])}catch(e){}if(r&&u.addEventListener("load",r),o&&u.addEventListener("error",o),l)l.appendChild(u);else{if(!c)throw new Error("Did not find a head or body element to append the script");c.appendChild(u)}}({src:I,async:!0,onload:U,onerror:e,sri:(t=E,"string"==typeof t&&/^sha384-[A-Za-z0-9+/=]+$/.test(t)?E:""),scriptDataAttributes:c})}function D(e){B("script_append_failed",Q(e))}function Q(e){return e instanceof Error?e.message:"Unknown error"}}}();wpmLoader({shopId: 75207901427,storefrontBaseUrl: "https://iwannasleep.com",extensionsBaseUrl: "https://extensions.shopifycdn.com/cdn/shopifycloud/web-pixels-manager",monorailEndpoint: "https://iwannasleep.com/.well-known/shopify/monorail/unstable/produce_batch",surface: "storefront-renderer",enabledBetaFlags: ["4c64608a","16072cab","8450a54b"],webPixelsConfigList: [{"id":"2748055795","configuration":"{\"shopId\":\"75207901427\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"83adcaf06c5deacff41ffdf8f92d9129","type":"APP","apiClientId":246667608065,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_phone","read_customer_personal_data"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"2743861491","configuration":"{\"projectId\":\"yjwpltt04v\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"d8a2bb2ccbb513dc8e8b6937f4b8033e","type":"APP","apiClientId":240074326017,"privacyPurposes":[],"capabilities":["advanced_dom_events"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_personal_data"],"dataSharingControls":["share_all_events"]}
2229,"dataSharingState":"unrestricted"},{"id":"2154463475","configuration":"{\"webPixelName\":\"Judge.me\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"8acc938b1a30dc7624e304493ca567d7","type":"APP","apiClientId":683015,"privacyPurposes":["ANALYTICS"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"unrestricted"},{"id":"2153906419","configuration":"{\"pixelCode\":\"D6SPUDRC77U2A9KFF6R0\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"22e92c2ad45662f435e4801458fb78cc","type":"APP","apiClientId":4383523,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"2148532467","configuration":"{\"shop\":\"i-wanna-sleep-usa.myshopify.com\",\"collect_url\":\"https:\\\/\\\/collect.bogos.io\\\/collect\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"3e41d63cd5ce800ba1fe97b89f532437","type":"APP","apiClientId":177733,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"2049736947","configuration":"{\"accountID\":\"SNZxEE\",\"webPixelConfig\":\"eyJlbmFibGVBZGRlZFRvQ2FydEV2ZW50cyI6IHRydWV9\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"c63c5b72c8d77be5f2d27d14c081da38","type":"APP","apiClientId":123074,"privacyPurposes":["ANALYTICS","MARKETING"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"2044526835","configuration":"{\"companyID\":\"gid:\/\/shopify\/Shop\/75207901427\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"53a564b8574378237642302dbd2cb842","type":"APP","apiClientId":91426783233,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_email","read_customer_name","read_customer_personal_data"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"2008449267","configuration":"{\"storeId\":\"58538ec9-d50f-4d5e-9ea7-45d5d465eaca\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"2066bff610c5c92c0538059190a8d779","type":"APP","apiClientId":274629623809,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_email","read_customer_personal_data"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"1982267635","configuration":"{\"config\":\"{\\\"google_tag_ids\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\",\\\"GT-W6VNLLNS\\\"],\\\"target_country\\\":\\\"ZZ\\\",\\\"gtag_events\\\":[{\\\"type\\\":\\\"begin_checkout\\\",\\\"action_label\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\/efXACNHuje4bEKDQrdxC\\\"]},{\\\"type\\\":\\\"search\\\",\\\"action_label\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\/bl15CJHwje4bEKDQrdxC\\\"]},{\\\"type\\\":\\\"remove_from_cart\\\",\\\"action_label\\\":\\\"G-XCV8SK4YT9\\\"},{\\\"type\\\":\\\"view_item\\\",\\\"action_label\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\/g88aCI7wje4bEKDQrdxC\\\",\\\"MC-HXV1EFPH38\\\"]},{\\\"type\\\":\\\"add_shipping_info\\\",\\\"action_label\\\":\\\"G-XCV8SK4YT9\\\"},{\\\"type\\\":\\\"purchase\\\",\\\"action_label\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\/3hW2CM7uje4bEKDQrdxC\\\",\\\"MC-HXV1EFPH38\\\"]},{\\\"type\\\":\\\"page_view\\\",\\\"action_label\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\/4K5bCNfuje4bEKDQrdxC\\\",\\\"MC-HXV1EFPH38\\\"]},{\\\"type\\\":\\\"view_item_list\\\",\\\"action_label\\\":\\\"G-XCV8SK4YT9\\\"},{\\\"type\\\":\\\"add_payment_info\\\",\\\"action_label\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\/gc-1CJTwje4bEKDQrdxC\\\"]},{\\\"type\\\":\\\"add_to_cart\\\",\\\"action_label\\\":[\\\"G-XCV8SK4YT9\\\",\\\"AW-17910425632\\\/T7v_CNTuje4bEKDQrdxC\\\"]},{\\\"type\\\":\\\"view_cart\\\",\\\"action_label\\\":\\\"G-XCV8SK4YT9\\\"}],\\\"enable_monitoring_mode\\\":false}\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"a3321ca85cf5aaf6b57585fcd8d67b3a","type":"APP","apiClientId":1780363,"privacyPurposes":[],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]}
2229,{"id":"1740210419","configuration":"{\"debug\":\"false\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"a9a83cf44fb282052ff936f7ab101058","type":"APP","apiClientId":4539653,"privacyPurposes":["ANALYTICS"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"unrestricted"},{"id":"1583186163","configuration":"{\"appProxyPath\":\"\/apps\/pagefly\",\"analyticsEndpoint\":\"https:\/\/analytics-v1.pagefly.io\/analytics-v2\/events\",\"focusDuration\":\"3\",\"enableAdvancedTracking\":\"true\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"1e023fb0c721518c0dce4129e4d87a86","type":"APP","apiClientId":1743893,"privacyPurposes":["ANALYTICS","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_personal_data"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"1556775155","configuration":"{\"pixel_id\":\"1150868530445539\",\"pixel_type\":\"facebook_pixel\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"bd2f978c17a94bbb8a74d43de2165dc5","type":"APP","apiClientId":2329312,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"shopify-app-pixel","configuration":"{}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"APP","privacyPurposes":["ANALYTICS","MARKETING"]},{"id":"shopify-custom-pixel","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"CUSTOM","privacyPurposes":["ANALYTICS","MARKETING"]}],isMerchantRequest: false,initData: {"shop":{"name":"I wanna sleep","paymentSettings":{"currencyCode":"USD"},"myshopifyDomain":"i-wanna-sleep-usa.myshopify.com","countryCode":"US","storefrontUrl":"https:\/\/iwannasleep.com"},"customer":null,"cart":null,"checkout":null,"productVariants":[{"price":{"amount":47.0,"currencyCode":"USD"},"product":{"title":"Aliv⢠Head Gel IWS","vendor":"I wanna sleep USA","id":"9741806272755","untranslatedTitle":"Aliv⢠Head Gel IWS","url":"\/products\/aliv%E2%84%A2-head-gel-iws","type":"Accessory"},"id":"50546243764467","image":{"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125"},"sku":"3337-FBM","title":"Default Title","untranslatedTitle":"Default Title"}],"products":[{"id":"9741806272755","handle":"alivâ¢-head-gel-iws","isCollective":null,"title":"Aliv⢠Head Gel IWS","type":"Accessory","untranslatedTitle":"Aliv⢠Head Gel IWS","url":"\/products\/aliv%E2%84%A2-head-gel-iws","vendor":"I wanna sleep USA","remoteShopId":null,"variants":[{"id":"50546243764467","image":{"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125"},"price":{"amount":47.0,"currencyCode":"USD"},"sku":"3337-FBM","title":"Default Title","untranslatedTitle":"Default Title"}]}],"purchasingCompany":null},},"https://iwannasleep.com/cdn","7ec887c8w14f9f074p854094e1m1370c602",{"modern":"","legacy":""},{"trekkieShim":true,"agentContext":true,"apiClientId":"580111","facebookCapiEnabled":"true","themeId":"188909388019","themePublished":"true","eventMetadataId":"99ea8461-024d-427a-b57d-23bdf0247e24","pageType":"product","resourceId":"9741806272755","shopId":"75207901427","storefrontBaseUrl":"https:\/\/iwannasleep.com","extensionBaseUrl":"https:\/\/extensions.shopifycdn.com\/cdn\/shopifycloud\/web-pixels-manager","surface":"storefront-renderer","enabledBetaFlags":"[\"4c64608a\", \"16072cab\", \"8450a54b\"]","isMerchantRequest":"false","hashVersion":"7ec887c8w14f9f074p854094e1m1370c602","publish":"custom","events":"[[\"page_viewed\",{}],[\"product_viewed\",{\"productVariant\":{\"price\":{\"amount\":47.0,\"currencyCode\":\"USD\"},\"product\":{\"title\":\"Aliv⢠Head Gel IWS\",\"vendor\":\"I wanna sleep USA\",\"id\":\"9741806272755\",\"untranslatedTitle\":\"Aliv⢠Head Gel IWS\",\"url\":\"\/products\/aliv%E2%84%A2-head-gel-iws\",\"type\":\"Accessory\"},\"id\":\"50546243764467\",\"image\":{\"src\":\"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125\"},\"sku\":\"3337-FBM\",\"title\":\"Default Title\",\"untranslatedTitle\":\"Default Title\"}}]]"});})();</script>
2229<script> 2230 window.ShopifyAnalytics = window.ShopifyAnalytics || {}; 2231 window.ShopifyAnalytics.meta = window.ShopifyAnalytics.meta || {}; 2232 window.ShopifyAnalytics.meta.currency = 'USD'; 2233 var meta = {"product":{"id":9741806272755,"gid":"gid:\/\/shopify\/Product\/9741806272755","vendor":"I wanna sleep USA","type":"Accessory","handle":"alivâ¢-head-gel-iws","variants":[{"id":50546243764467,"price":4700,"name":"Aliv⢠Head Gel IWS","public_title":null,"sku":"3337-FBM"}],"remote":false},"page":{"pageType":"product","resourceType":"product","resourceId":9741806272755,"requestId":"56e4af6c-60c2-4c06-8ce9-8d0611ff3db2-1791452675"}}; 2234 for (var attr in meta) { 2235 window.ShopifyAnalytics.meta[attr] = meta[attr]; 2236 } 2237</script>
vendor: 1 bytes, line 2237
2237
2238<script class="analytics"> 2239 (function () { 2240 var customDocumentWrite = function(content) { 2241 var jquery = null; 2242 2243 if (window.jQuery) { 2244 jquery = window.jQuery; 2245 } else if (window.Checkout && window.Checkout.$) { 2246 jquery = window.Checkout.$; 2247 } 2248 2249 if (jquery) { 2250 jquery('body').append(content); 2251 } 2252 }; 2253 2254 var hasLoggedConversion = function(token) { 2255 if (token) { 2256 return document.cookie.indexOf('loggedConversion=' + token) !== -1; 2257 } 2258 return false; 2259 } 2260 2261 var setCookieIfConversion = function(token) { 2262 if (token) { 2263 var twoMonthsFromNow = new Date(Date.now()); 2264 twoMonthsFromNow.setMonth(twoMonthsFromNow.getMonth() + 2); 2265 2266 document.cookie = 'loggedConversion=' + token + '; expires=' + twoMonthsFromNow; 2267 } 2268 } 2269 2270 var trekkie = window.ShopifyAnalytics.lib = window.trekkie = window.trekkie || []; 2271 window.ShopifyAnalytics.lib.trekkie = window.trekkie; 2272 if (trekkie.integrations) { 2273 return; 2274 } 2275 trekkie.methods = [ 2276 'identify', 2277 'page', 2278 'ready', 2279 'track', 2280 'trackForm', 2281 'trackLink' 2282 ]; 2283 trekkie.factory = function(method) { 2284 return function() { 2285 var args = Array.prototype.slice.call(arguments); 2286 args.unshift(method); 2287 trekkie.push(args); 2288 if (method == 'track' || method == 'page') { 2289 var pageUrl; 2290 try { 2291 pageUrl = window.location.href; 2292 } catch (e) {} 2293 var pageReferrer; 2294 try { 2295 pageReferrer = document.referrer; 2296 } catch (e) {} 2297 try { 2298 if (window.__TREKKIE_SHIM_QUEUE == null) { 2299 window.__TREKKIE_SHIM_QUEUE = []; 2300 } 2301 window.__TREKKIE_SHIM_QUEUE.push({ 2302 from: 'trekkie-stub', 2303 method: method, 2304 args: args.slice(1), 2305 pageContext: { 2306 url: pageUrl, 2307 referrer: pageReferrer 2308 } 2309 }); 2310 } catch (e) { 2311 // no-op 2312 } 2313 } 2314 return trekkie; 2315 }; 2316 }; 2317 for (var i = 0; i < trekkie.methods.length; i++) { 2318 var key = trekkie.methods[i]; 2319 trekkie[key] = trekkie.factory(key); 2320 } 2321 trekkie.load = function(config) { 2322 trekkie.config = config || {}; 2323 trekkie.config.initialDocumentCookie = document.cookie; 2324 var first = document.getElementsByTagName('script')[0]; 2325var script = document.createElement('script'); 2326script.type = 'text/javascript'; 2327script.onerror = function(e) { 2328 var scriptFallback = document.createElement('script'); 2329 scriptFallback.type = 'text/javascript'; 2330 scriptFallback.onerror = function(error) { 2331 var Monorail = { 2332 produce: function produce(monorailDomain, schemaId, payload) { 2333 var currentMs = new Date().getTime(); 2334 var event = { 2335 schema_id: schemaId, 2336 payload: payload, 2337 metadata: { 2338 event_created_at_ms: currentMs, 2339 event_sent_at_ms: currentMs 2340 } 2341 }; 2342 return Monorail.sendRequest("https://" + monorailDomain + "/v1/produce", JSON.stringify(event)); 2343 }, 2344 sendRequest: function sendRequest(endpointUrl, payload) { 2345 // Try the sendBeacon API 2346 if (window && window.navigator && typeof window.navigator.sendBeacon === 'function' && typeof window.Blob === 'function' && !Monorail.isIos12()) { 2347 var blobData = new window.Blob([payload], { 2348 type: 'text/plain' 2349 }); 2350 2351 if (window.navigator.sendBeacon(endpointUrl, blobData)) { 2352 return true; 2353 } // sendBeacon was not successful 2354 2355 } // XHR beacon 2356 2357 var xhr = new XMLHttpRequest(); 2358 2359 try { 2360 xhr.open('POST', endpointUrl); 2361 xhr.setRequestHeader('Content-Type', 'text/plain'); 2362 xhr.send(payload); 2363 } catch (e) { 2364 console.log(e); 2365 } 2366 2367 return false; 2368 }, 2369 isIos12: function isIos12() { 2370 return window.navigator.userAgent.lastIndexOf('iPhone; CPU iPhone OS 12_') !== -1 || window.navigator.userAgent.lastIndexOf('iPad; CPU OS 12_') !== -1; 2371 } 2372 }; 2373 Monorail.produce('monorail-edge.shopifysvc.com', 2374 'trekkie_storefront_load_errors/1.1', 2375 {shop_id: 75207901427, 2376 theme_id: 188909388019, 2377 app_name: "storefront", 2378 context_url: window.location.href, 2379 source_url: "//iwannasleep.com/cdn/s/trekkie.storefront.51e69540e15035ae012ec8cc42e8f9cd792233a0.min.js"}); 2380 2381 }; 2382 scriptFallback.async = true; 2383 scriptFallback.src = '//iwannasleep.com/cdn/s/trekkie.storefront.51e69540e15035ae012ec8cc42e8f9cd792233a0.min.js'; 2384 first.parentNode.insertBefore(scriptFallback, first); 2385}; 2386script.async = true; 2387script.src = '//iwannasleep.com/cdn/s/trekkie.storefront.51e69540e15035ae012ec8cc42e8f9cd792233a0.min.js'; 2388first.parentNode.insertBefore(script, first); 2389 2390 }; 2391 trekkie.load( 2392 {"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":75207901427,"isMerchantRequest":null,"themeId":188909388019,"themeCityHash":"17698827038337987507","contentLanguage":"en","currency":"USD","eventMetadataId":"99ea8461-024d-427a-b57d-23bdf0247e24"},"isServerSideCookieWritingEnabled":true,"monorailRegion":"shop_domain","enabledBetaFlags":["764d78cb","8450a54b","4c64608a"]},"Session Attribution":{},"S2S":{"facebookCapiEnabled":true,"source":"trekkie-storefront-renderer","apiClientId":580111}} 2393 ); 2394 2395 var loaded = false;
2396 trekkie.ready(function() { 2397 if (loaded) return; 2398 loaded = true; 2399 2400 window.ShopifyAnalytics.lib = window.trekkie; 2401 2402 var originalDocumentWrite = document.write; 2403 document.write = customDocumentWrite; 2404 try { window.ShopifyAnalytics.merchantGoogleAnalytics.call(this); } catch(error) {}; 2405 document.write = originalDocumentWrite; 2406 2407 var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/) 2408 var token = match? match[1]: undefined; 2409 if (!hasLoggedConversion(token)) { 2410 setCookieIfConversion(token); 2411 window.ShopifyAnalytics.lib.track("Viewed Product",{"currency":"USD","variantId":50546243764467,"productId":9741806272755,"productGid":"gid:\/\/shopify\/Product\/9741806272755","name":"Aliv⢠Head Gel IWS","price":"47.00","sku":"3337-FBM","brand":"I wanna sleep USA","variant":null,"category":"Accessory","nonInteraction":true,"remote":false,"available":true},undefined,undefined,{"shopifyEmitted":true}); 2412 } 2413 }); 2414 2415 window.ShopifyAnalytics.lib.page(null,{"pageType":"product","resourceType":"product","resourceId":9741806272755,"requestId":"56e4af6c-60c2-4c06-8ce9-8d0611ff3db2-1791452675","shopifyEmitted":true}); 2416 2417 var eventsListenerScript = document.createElement('script'); 2418 eventsListenerScript.async = true; 2419 eventsListenerScript.src = "//iwannasleep.com/cdn/shopifycloud/storefront/assets/shop_events_listener-4e26a9ce.js"; 2420 document.getElementsByTagName('head')[0].appendChild(eventsListenerScript); 2421})();</script>
vendor: 1 bytes, line 2421
2421
2422<script 2423 defer 2424 src="https://iwannasleep.com/cdn/shopifycloud/perf-kit/shopify-perf-kit-3.10.0.min.js" 2425 data-application="storefront-renderer" 2426 data-shop-id="75207901427" 2427 data-render-region="gcp-us-central1" 2428 data-page-type="product" 2429 data-theme-instance-id="188909388019" 2430 data-theme-name="Dawn" 2431 data-theme-version="15.3.0" 2432 data-monorail-region="shop_domain" 2433 data-resource-timing-sampling-rate="10" 2434 data-shs="true" 2435 data-shs-beacon="true" 2436 data-shs-export-with-fetch="true" 2437 data-shs-logs-sample-rate="1" 2438 data-shs-beacon-endpoint="https://iwannasleep.com/api/collect" 2439></script>
2439 2440<meta name="shopify-y" content="9bc6d404-46a0-4fe7-a2e3-686614c88d98" data-expiration="1823010275000"><meta name="shopify-s" content="3f5dbd5f-b877-4add-8682-8ed9acfd6053" data-expiration="1791454475000"><meta name="new-cookie-storage-activated" content="t"> 2441</head> 2442 2443 <body class="gradient"> 2444 <a class="skip-to-content-link button visually-hidden" href="#MainContent"> 2445 Skip to content 2446 </a> 2447 2448<link href="//iwannasleep.com/cdn/shop/t/16/assets/quantity-popover.css?v=160630540099520878331791305585" rel="stylesheet" type="text/css" media="all" /> 2449<link href="//iwannasleep.com/cdn/shop/t/16/assets/component-card.css?v=120341546515895839841791305516" rel="stylesheet" type="text/css" media="all" /> 2450
2451<script src="//iwannasleep.com/cdn/shop/t/16/assets/cart.js?v=25986244538023964561791305514" defer="defer"></script>
vendor: 1 bytes, line 2451
2451
2452<script src="//iwannasleep.com/cdn/shop/t/16/assets/quantity-popover.js?v=987015268078116491791305585" defer="defer"></script>
2452 2453 2454<style> 2455 .drawer { 2456 visibility: hidden; 2457 } 2458</style> 2459 2460<cart-drawer class="drawer is-empty"> 2461 <div id="CartDrawer" class="cart-drawer"> 2462 <div id="CartDrawer-Overlay" class="cart-drawer__overlay"></div> 2463 <div 2464 class="drawer__inner gradient color-scheme-1" 2465 role="dialog" 2466 aria-modal="true" 2467 aria-label="Your cart" 2468 tabindex="-1" 2469 ><div class="drawer__inner-empty"> 2470 <div class="cart-drawer__warnings center"> 2471 <div class="cart-drawer__empty-content"> 2472 <h2 class="cart__empty-text">Your cart is empty</h2> 2473 <button 2474 class="drawer__close" 2475 type="button" 2476 onclick="this.closest('cart-drawer').close()" 2477 aria-label="Close" 2478 > 2479 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 2480</span> 2481 </button> 2482 <a href="/collections/all" class="button"> 2483 Continue shopping 2484 </a><p class="cart__login-title h3">Have an account?</p> 2485 <p class="cart__login-paragraph"> 2486 <a href="https://iwannasleep.com/customer_authentication/redirect?locale=en®ion_country=US" class="link underlined-link">Log in</a> to check out faster. 2487 </p></div> 2488 </div></div><div class="drawer__header"> 2489 <h2 class="drawer__heading">Your cart</h2> 2490 <button 2491 class="drawer__close" 2492 type="button" 2493 onclick="this.closest('cart-drawer').close()" 2494 aria-label="Close" 2495 > 2496 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 2497</span> 2498 </button> 2499 </div> 2500 <cart-drawer-items 2501 2502 class=" is-empty" 2503 2504 > 2505 <form 2506 action="/cart" 2507 id="CartDrawer-Form" 2508 class="cart__contents cart-drawer__form" 2509 method="post" 2510 > 2511 <div id="CartDrawer-CartItems" class="drawer__contents js-contents"><p id="CartDrawer-LiveRegionText" class="visually-hidden" role="status"></p> 2512 <p id="CartDrawer-LineItemStatus" class="visually-hidden" aria-hidden="true" role="status"> 2513 Loading... 2514 </p> 2515 </div> 2516 <div id="CartDrawer-CartErrors" role="alert"></div> 2517 </form> 2518 </cart-drawer-items> 2519 <div class="drawer__footer"><!-- Start blocks --> 2520 <!-- Subtotals --> 2521 2522 <div class="cart-drawer__footer" > 2523 <div></div> 2524 2525 <div class="totals" role="status"> 2526 <h2 class="totals__total">Estimated total</h2> 2527 <p class="totals__total-value">$0.00 USD</p> 2528 </div> 2529 2530 <small class="tax-note caption-large rte">Taxes, discounts and <a href="/policies/shipping-policy">shipping</a> calculated at checkout. 2531</small> 2532 </div> 2533 2534 <!-- CTAs --> 2535 2536 <div class="cart__ctas" > 2537 <button 2538 type="submit" 2539 id="CartDrawer-Checkout" 2540 class="cart__checkout-button button" 2541 name="checkout" 2542 form="CartDrawer-Form" 2543 2544 disabled 2545 2546 > 2547 Check out 2548 </button> 2549 </div> 2550 </div> 2551 </div> 2552 </div> 2553</cart-drawer> 2554<!-- BEGIN sections: header-group --> 2555<section id="shopify-section-sections--27943677886707__banner_responsivo_tJrKdj" class="shopify-section shopify-section-group-header-group desktop-mobile-banner"><style> 2556.banner-container img{ 2557 width: 100%; 2558} 2559.hidden-mobile { 2560 display: none; 2561} 2562.hidden-desktop { 2563 display: block; 2564} 2565@media (min-width: 767px){ 2566 .hidden-mobile { 2567 display: block; 2568 } 2569 .hidden-desktop { 2570 display: none; 2571 } 2572} 2573</style> 2574 2575 2576</section><section id="shopify-section-sections--27943677886707__custom_liquid_giKaNX" class="shopify-section shopify-section-group-header-group section"><style data-shopify>.section-sections--27943677886707__custom_liquid_giKaNX-padding {
2577 padding-top: calc(0px * 0.75); 2578 padding-bottom: calc(0px * 0.75); 2579 } 2580 2581 @media screen and (min-width: 750px) { 2582 .section-sections--27943677886707__custom_liquid_giKaNX-padding { 2583 padding-top: 0px; 2584 padding-bottom: 0px; 2585 } 2586 }</style><div class="color-scheme-1 gradient"> 2587 <div class="section-sections--27943677886707__custom_liquid_giKaNX-padding"> 2588 <style> 2589 @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap'); 2590 2591 .iws-announce-bar { 2592 background-color: #580E3F; 2593 width: 100%; 2594 overflow: hidden; 2595 padding: 14px 12px; 2596 } 2597 2598 .iws-announce-bar__track { 2599 position: relative; 2600 max-width: 1200px; 2601 margin: 0 auto; 2602 height: 24px; 2603 display: flex; 2604 align-items: center; 2605 justify-content: center; 2606 text-align: center; 2607 } 2608 2609 .iws-announce-bar__item { 2610 position: absolute; 2611 left: 0; 2612 right: 0; 2613 margin: 0; 2614 display: flex; 2615 align-items: center; 2616 justify-content: center; 2617 gap: 8px; 2618 color: #ffffff; 2619 font-family: 'Lato', sans-serif; 2620 font-weight: 300; 2621 font-size: 16px; 2622 letter-spacing: 0.04em; 2623 line-height: 1.3; 2624 opacity: 0; 2625 transform: translateY(6px); 2626 animation-name: iws-announce-fade; 2627 animation-duration: 8s; 2628 animation-iteration-count: infinite; 2629 animation-timing-function: ease-in-out; 2630 } 2631 2632 .iws-announce-bar__item svg { 2633 width: 19px; 2634 height: 19px; 2635 flex-shrink: 0; 2636 } 2637 2638 .iws-announce-bar__item--0 { 2639 animation-delay: 0s; 2640 } 2641 2642 .iws-announce-bar__item--1 { 2643 animation-delay: 4s; 2644 } 2645 2646 @keyframes iws-announce-fade { 2647 0% { 2648 opacity: 0; 2649 transform: translateY(6px); 2650 } 2651 5% { 2652 opacity: 1; 2653 transform: translateY(0); 2654 } 2655 45% { 2656 opacity: 1; 2657 transform: translateY(0); 2658 } 2659 50% { 2660 opacity: 0; 2661 transform: translateY(-6px); 2662 } 2663 100% { 2664 opacity: 0; 2665 } 2666 } 2667 2668 @media (max-width: 749px) { 2669 .iws-announce-bar { 2670 padding: 11px 10px; 2671 } 2672 .iws-announce-bar__item { 2673 font-size: 13px; 2674 } 2675 .iws-announce-bar__item svg { 2676 width: 16px; 2677 height: 16px; 2678 } 2679 } 2680</style> 2681 2682<div class="iws-announce-bar"> 2683 <div class="iws-announce-bar__track"> 2684 <p class="iws-announce-bar__item iws-announce-bar__item--0"> 2685 <svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" fill="currentColor" viewBox="0 0 256 256"> 2686 <path d="M255.42,117l-14-35A15.93,15.93,0,0,0,226.58,72H192V64a8,8,0,0,0-8-8H32A16,16,0,0,0,16,72V184a16,16,0,0,0,16,16H49a32,32,0,0,0,62,0h50a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V120A7.94,7.94,0,0,0,255.42,117ZM192,88h34.58l9.6,24H192ZM32,72H176v64H32ZM80,208a16,16,0,1,1,16-16A16,16,0,0,1,80,208Zm81-24H111a32,32,0,0,0-62,0H32V152H176v12.31A32.11,32.11,0,0,0,161,184Zm31,24a16,16,0,1,1,16-16A16,16,0,0,1,192,208Zm48-24H223a32.06,32.06,0,0,0-31-24V128h48Z"></path> 2687 </svg> 2688 Free Shipping on all orders 2689 </p> 2690 <p class="iws-announce-bar__item iws-announce-bar__item--1"> 2691 <svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" fill="currentColor" viewBox="0 0 256 256"> 2692 <path d="M240,96a8,8,0,0,1-8,8H216v16a8,8,0,0,1-16,0V104H184a8,8,0,0,1,0-16h16V72a8,8,0,0,1,16,0V88h16A8,8,0,0,1,240,96ZM144,56h8v8a8,8,0,0,0,16,0V56h8a8,8,0,0,0,0-16h-8V32a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16Zm72.77,97a8,8,0,0,1,1.43,8A96,96,0,1,1,95.07,37.8a8,8,0,0,1,10.6,9.06A88.07,88.07,0,0,0,209.14,150.33,8,8,0,0,1,216.77,153Zm-19.39,14.88c-1.79.09-3.59.14-5.38.14A104.11,104.11,0,0,1,88,64c0-1.79,0-3.59.14-5.38A80,80,0,1,0,197.38,167.86Z"></path> 2693 </svg> 2694 100 Nights Sleep Trial 2695 </p> 2696 </div> 2697</div> 2698 </div> 2699</div> 2700 2701 2702</section><div id="shopify-section-sections--27943677886707__header" class="shopify-section shopify-section-group-header-group section-header"><link rel="stylesheet" href="//iwannasleep.com/cdn/shop/t/16/assets/component-list-menu.css?v=151968516119678728991791305521" media="print" onload="this.media='all'"> 2703<link rel="stylesheet" href="//iwannasleep.com/cdn/shop/t/16/assets/component-search.css?v=165164710990765432851791305528" media="print" onload="this.media='all'"> 2704<link rel="stylesheet" href="//iwannasleep.com/cdn/shop/t/16/assets/component-menu-drawer.css?v=147478906057189667651791305523" media="print" onload="this.media='all'"> 2705<link 2706 rel="stylesheet" 2707 href="//iwannasleep.com/cdn/shop/t/16/assets/component-cart-notification.css?v=54116361853792938221791305518" 2708 media="print" 2709 onload="this.media='all'" 2710><link rel="stylesheet" href="//iwannasleep.com/cdn/shop/t/16/assets/component-price.css?v=12840323355286466041791305526" media="print" onload="this.media='all'"><style> 2711 header-drawer { 2712 justify-self: start; 2713 margin-left: -1.2rem; 2714 }@media screen and (min-width: 990px) { 2715 header-drawer { 2716 display: none; 2717 } 2718 }.menu-drawer-container { 2719 display: flex; 2720 } 2721 2722 .list-menu { 2723 list-style: none; 2724 padding: 0; 2725 margin: 0; 2726 } 2727 2728 .list-menu--inline { 2729 display: inline-flex; 2730 flex-wrap: wrap; 2731 } 2732 2733 summary.list-menu__item { 2734 padding-right: 2.7rem; 2735 } 2736 2737 .list-menu__item { 2738 display: flex; 2739 align-items: center; 2740 line-height: calc(1 + 0.3 / var(--font-body-scale)); 2741 } 2742 2743 .list-menu__item--link { 2744 text-decoration: none; 2745 padding-bottom: 1rem; 2746 padding-top: 1rem; 2747 line-height: calc(1 + 0.8 / var(--font-body-scale)); 2748 } 2749 2750 @media screen and (min-width: 750px) { 2751 .list-menu__item--link { 2752 padding-bottom: 0.5rem; 2753 padding-top: 0.5rem; 2754 } 2755 } 2756</style><style data-shopify>.header { 2757 padding: 4px 3rem 4px 3rem; 2758 } 2759 2760 .section-header { 2761 position: sticky; /* This is for fixing a Safari z-index issue. PR #2147 */ 2762 margin-bottom: 0px; 2763 } 2764 2765 @media screen and (min-width: 750px) { 2766 .section-header { 2767 margin-bottom: 0px; 2768 } 2769 } 2770 2771 @media screen and (min-width: 990px) { 2772 .header { 2773 padding-top: 8px; 2774 padding-bottom: 8px; 2775 } 2776 }</style>
2776<script src="//iwannasleep.com/cdn/shop/t/16/assets/cart-notification.js?v=133508293167896966491791305514" defer="defer"></script>
2776 2777 2778<sticky-header 2779 2780 data-sticky-type="on-scroll-up" 2781 2782 class="header-wrapper color-scheme-1 gradient header-wrapper--border-bottom" 2783><header class="header header--middle-left header--mobile-center page-width header--has-menu header--has-social header--has-account"> 2784 2785<header-drawer data-breakpoint="tablet"> 2786 <details id="Details-menu-drawer-container" class="menu-drawer-container"> 2787 <summary 2788 class="header__icon header__icon--menu header__icon--summary link focus-inset" 2789 aria-label="Menu" 2790 > 2791 <span><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-hamburger" viewBox="0 0 18 16"><path fill="currentColor" d="M1 .5a.5.5 0 1 0 0 1h15.71a.5.5 0 0 0 0-1zM.5 8a.5.5 0 0 1 .5-.5h15.71a.5.5 0 0 1 0 1H1A.5.5 0 0 1 .5 8m0 7a.5.5 0 0 1 .5-.5h15.71a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5"/></svg> 2792<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 2793</span> 2794 </summary> 2795 <div id="menu-drawer" class="gradient menu-drawer motion-reduce color-scheme-1"> 2796 <div class="menu-drawer__inner-container"> 2797 <div class="menu-drawer__navigation-container"> 2798 <nav class="menu-drawer__navigation"> 2799 <ul class="menu-drawer__menu has-submenu list-menu" role="list"><li><details id="Details-menu-drawer-menu-item-1"> 2800 <summary 2801 id="HeaderDrawer-sleep-issues" 2802 class="menu-drawer__menu-item list-menu__item link link--text focus-inset menu-drawer__menu-item--active" 2803 > 2804 Sleep Issues 2805 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-arrow" viewB
2805ox="0 0 14 10"><path fill="currentColor" fill-rule="evenodd" d="M8.537.808a.5.5 0 0 1 .817-.162l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 1 1-.708-.708L11.793 5.5H1a.5.5 0 0 1 0-1h10.793L8.646 1.354a.5.5 0 0 1-.109-.546" clip-rule="evenodd"/></svg> 2806</span> 2807 <span class="svg-wrapper"><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 2808</span> 2809 </summary> 2810 <div 2811 id="link-sleep-issues" 2812 class="menu-drawer__submenu has-submenu gradient motion-reduce" 2813 tabindex="-1" 2814 > 2815 <div class="menu-drawer__inner-submenu"> 2816 <button class="menu-drawer__close-button link link--text focus-inset" aria-expanded="true"> 2817 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-arrow" viewB
2817ox="0 0 14 10"><path fill="currentColor" fill-rule="evenodd" d="M8.537.808a.5.5 0 0 1 .817-.162l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 1 1-.708-.708L11.793 5.5H1a.5.5 0 0 1 0-1h10.793L8.646 1.354a.5.5 0 0 1-.109-.546" clip-rule="evenodd"/></svg> 2818</span> 2819 Sleep Issues 2820 </button> 2821 <ul class="menu-drawer__menu list-menu" role="list" tabindex="-1"><li><a 2822 id="HeaderDrawer-sleep-issues-all-sleep-issues" 2823 href="/collections/what-s-affecting-your-sleep" 2824 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2825 2826 > 2827 All Sleep Issues 2828 </a></li><li><a 2829 id="HeaderDrawer-sleep-issues-adjustable-comfort" 2830 href="/pages/adjustable-comfort" 2831 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2832 2833 > 2834 Adjustable Comfort 2835 </a></li><li><a 2836 id="HeaderDrawer-sleep-issues-neck-back-pain" 2837 href="/pages/neck-back" 2838 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2839 2840 > 2841 Neck & Back Pain 2842 </a></li><li><a 2843 id="HeaderDrawer-sleep-issues-hot-cold" 2844 href="/pages/hot-cold" 2845 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2846 2847 > 2848 Hot & Cold 2849 </a></li><li><a 2850 id="HeaderDrawer-sleep-issues-travel" 2851 href="/pages/travel" 2852 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2853 2854 > 2855 Travel 2856 </a></li><li><a 2857 id="HeaderDrawer-sleep-issues-baby-kids" 2858 href="/pages/baby-kids" 2859 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2860 2861 > 2862 Baby & Kids 2863 </a></li><li><a 2864 id="HeaderDrawer-sleep-issues-hotel-comfort" 2865 href="/pages/hotel-comfort" 2866 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2867 2868 > 2869 Hotel Comfort 2870 </a></li><li><a 2871 id="HeaderDrawer-sleep-issues-headaches" 2872 href="/products/aliv%E2%84%A2-head-gel-iws" 2873 class="menu-drawer__menu-item link link--text list-menu__item focus-inset menu-drawer__menu-item--active" 2874 2875 aria-current="page" 2876 2877 > 2878 Headaches 2879 </a></li><li><a 2880 id="HeaderDrawer-sleep-issues-restless-nights" 2881 href="/products/sleep-strips%E2%84%A2-oral-sleep-supplement" 2882 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2883 2884 > 2885 Restless Nights 2886 </a></li></ul> 2887 </div> 2888 </div> 2889 </details></li><li>
2889<details id="Details-menu-drawer-menu-item-2"> 2890 <summary 2891 id="HeaderDrawer-products" 2892 class="menu-drawer__menu-item list-menu__item link link--text focus-inset menu-drawer__menu-item--active" 2893 > 2894 Products 2895 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-arrow" viewBox="0 0 14 10"><path fill="currentColor" fill-rule="evenodd" d="M8.537.808a.5.5 0 0 1 .817-.162l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 1 1-.708-.708L11.793 5.5H1a.5.5 0 0 1 0-1h10.793L8.646 1.354a.5.5 0 0 1-.109-.546" clip-rule="evenodd"/></svg> 2896</span> 2897 <span class="svg-wrapper"><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 2898</span> 2899 </summary> 2900 <div 2901 id="link-products" 2902 class="menu-drawer__submenu has-submenu gradient motion-reduce" 2903 tabindex="-1" 2904 > 2905 <div class="menu-drawer__inner-submenu"> 2906 <button class="menu-drawer__close-button link link--text focus-inset" aria-expanded="true"> 2907 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-arrow" viewB
2907ox="0 0 14 10"><path fill="currentColor" fill-rule="evenodd" d="M8.537.808a.5.5 0 0 1 .817-.162l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 1 1-.708-.708L11.793 5.5H1a.5.5 0 0 1 0-1h10.793L8.646 1.354a.5.5 0 0 1-.109-.546" clip-rule="evenodd"/></svg> 2908</span> 2909 Products 2910 </button> 2911 <ul class="menu-drawer__menu list-menu" role="list" tabindex="-1"><li><a 2912 id="HeaderDrawer-products-all-products" 2913 href="/collections/featured-products" 2914 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2915 2916 > 2917 All products 2918 </a></li><li><a 2919 id="HeaderDrawer-products-pillows" 2920 href="/collections/pillows-1" 2921 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2922 2923 > 2924 Pillows 2925 </a></li><li><a 2926 id="HeaderDrawer-products-body-pillow" 2927 href="/products/snowtouch-adjustable-full-body-pillow" 2928 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2929 2930 > 2931 Body Pillow 2932 </a></li><li><a 2933 id="HeaderDrawer-products-knee-pillow" 2934 href="/collections/knee-pillow" 2935 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2936 2937 > 2938 Knee Pillow 2939 </a></li><li><a 2940 id="HeaderDrawer-products-head-gel" 2941 href="/products/aliv%E2%84%A2-head-gel-iws" 2942 class="menu-drawer__menu-item link link--text list-menu__item focus-inset menu-drawer__menu-item--active" 2943 2944 aria-current="page" 2945 2946 > 2947 Head Gel 2948 </a></li><li><a 2949 id="HeaderDrawer-products-supplements" 2950 href="/products/sleep-strips%E2%84%A2-oral-sleep-supplement" 2951 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2952 2953 > 2954 Supplements 2955 </a></li><li><a 2956 id="HeaderDrawer-products-blanket" 2957 href="/collections/blanket" 2958 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2959 2960 > 2961 Blanket 2962 </a></li><li><a 2963 id="HeaderDrawer-products-bed-sheet" 2964 href="/collections/bed-sheet" 2965 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2966 2967 > 2968 Bed sheet 2969 </a></li><li><a 2970 id="HeaderDrawer-products-accessories" 2971 href="/products/bedsac%E2%84%A2-bedside-organizer" 2972 class="menu-drawer__menu-item link link--text list-menu__item focus-inset" 2973 2974 > 2975 Accessories 2976 </a></li></ul> 2977 </div> 2978 </div> 2979 </details></li><li><a 2980 id="HeaderDrawer-what-affects-your-sleep" 2981 href="/collections/what-s-affecting-your-sleep" 2982 class="menu-drawer__menu-item list-menu__item link link--text focus-inset" 2983 2984 > 2985 What affects your sleep? 2986 </a></li><li><a 2987 id="HeaderDrawer-special-bundles" 2988 href="/pages/special-bundles" 2989 class="menu-drawer__menu-item list-menu__item link link--text focus-inset" 2990 2991 > 2992 Special Bundles 2993 </a></li><li><a 2994 id="HeaderDrawer-reviews" 2995 href="/pages/reviews" 2996 class="menu-drawer__menu-item list-menu__item link link--text focus-inset" 2997 2998 > 2999 Reviews 3000 </a></li><li><a 3001 id="HeaderDrawer-iws-labs" 3002 href="https://iwannasleep.com/pages/about-us-iws#labs" 3003 class="menu-drawer__menu-item list-menu__item link link--text focus-inset" 3004 3005 > 3006 IWS Labs 3007 </a></li><li><a 3008 id="HeaderDrawer-about-us" 3009 href="https://iwannasleep.com/pages/about-us-iws" 3010 class="menu-drawer__menu-item list-menu__item link link--text focus-inset" 3011 3012 > 3013 About us 3014 </a></li></ul> 3015 </nav> 3016 <div class="menu-drawer__utility-links"><a 3017 href="https://iwannasleep.com/customer_authentication/redirect?locale=en®ion_country=US" 3018 class="menu-drawer__account link focus-inset h5 medium-hide large-up-hide" 3019 rel="nofollow" 3020 ><account-icon>
3020<span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-account" viewBox="0 0 18 19"><path fill="currentColor" fill-rule="evenodd" d="M6 4.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0m3-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8m5.58 12.15c1.12.82 1.83 2.24 1.91 4.85H1.51c.08-2.6.79-4.03 1.9-4.85C4.66 11.75 6.5 11.5 9 11.5s4.35.26 5.58 1.15M9 10.5c-2.5 0-4.65.24-6.17 1.35C1.27 12.98.5 14.93.5 18v.5h17V18c0-3.07-.77-5.02-2.33-6.15-1.52-1.1-3.67-1.35-6.17-1.35" clip-rule="evenodd"/></svg> 3021</span></account-icon>Log in</a><div class="menu-drawer__localization header-localization"><localization-form><form method="post" action="/localization" id="HeaderCountryMobileForm" accept-charset="UTF-8" class="localization-form" enctype="multipart/form-data"><input type="hidden" name="form_type" value="localization" /><input type="hidden" name="utf8" value="â" /><input type="hidden" name="_method" value="put" /><input type="hidden" name="return_to" value="/products/aliv%E2%84%A2-head-gel-iws" /><div> 3022 <h2 class="visually-hidden" id="HeaderCountryMobileLabel"> 3023 Country/region 3024 </h2> 3025 3026<div class="disclosure"> 3027 <button 3028 type="button" 3029 class="disclosure__button localization-form__select localization-selector link link--text caption-large" 3030 aria-expanded="false" 3031 aria-controls="HeaderCountryMobile-country-results" 3032 aria-describedby="HeaderCountryMobileLabel" 3033 > 3034 <span>United States | 3035 USD 3036 $</span> 3037 <svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 3038 3039 </button> 3040 <div class="disclosure__list-wrapper country-selector" hidden> 3041 <div class="country-filter country-filter--no-padding"> 3042 3043 <button 3044 class="country-selector__close-button button--small link" 3045 type="button" 3046 aria-label="Close" 3047 ><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 3048</button> 3049 </div> 3050 <div id="sr-country-search-results" class="visually-hidden" aria-live="polite"></div> 3051 <div 3052 class="disclosure__list country-selector__list" 3053 id="HeaderCountryMobile-country-results" 3054 > 3055 3056 <ul role="list" class="list-unstyled countries"><li class="disclosure__item" tabindex="-1"> 3057 <a 3058 class="link link--text disclosure__link caption-large focus-inset" 3059 href="#" 3060 3061 data-value="CA" 3062 id="Canada" 3063 > 3064 <span 3065 3066 class="visibility-hidden" 3067 3068 ><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-checkmark" viewBox="0 0 12 9"><path fill="currentColor" fill-rule="evenodd" d="M11.35.643a.5.5 0 0 1 .006.707l-6.77 6.886a.5.5 0 0 1-.719-.006L.638 4.845a.5.5 0 1 1 .724-.69l2.872 3.011 6.41-6.517a.5.5 0 0 1 .707-.006z" clip-rule="evenodd"/></svg> 3069</span> 3070 <span class="country">Canada</span> 3071 <span class="localization-form__currency motion-reduce hidden"> 3072 USD 3073 $</span> 3074 </a> 3075 </li><li class="disclosure__item" tabindex="-1"> 3076 <a 3077 class="link link--text disclosure__link caption-large focus-inset" 3078 href="#" 3079 3080 aria-current="true" 3081 3082 data-value="US" 3083 id="United States" 3084 > 3085 <span 3086 3087 ><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-checkmark" viewBox="0 0 12 9"><path fill="currentColor" fill-rule="evenodd" d="M11.35.643a.5.5 0 0 1 .006.707l-6.77 6.886a.5.5 0 0 1-.719-.006L.638 4.845a.5.5 0 1 1 .724-.69l2.872 3.011 6.41-6.517a.5.5 0 0 1 .707-.006z" clip-rule="evenodd"/></svg> 3088</span>
3089 <span class="country">United States</span> 3090 <span class="localization-form__currency motion-reduce hidden"> 3091 USD 3092 $</span> 3093 </a> 3094 </li></ul> 3095 </div> 3096 </div> 3097 <div class="country-selector__overlay"></div> 3098</div> 3099<input type="hidden" name="country_code" value="US"> 3100</div></form></localization-form> 3101 3102</div><ul class="list list-social list-unstyled" role="list"><li class="list-social__item"> 3103 <a href="https://www.instagram.com/iwannasleep_us/" class="list-social__link link"> 3104 <span class="svg-wrapper"><svg class="icon icon-instagram" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M13.23 3.492c-.84-.037-1.096-.046-3.23-.046-2.144 0-2.39.01-3.238.055-.776.027-1.195.164-1.487.273a2.4 2.4 0 0 0-.912.593 2.5 2.5 0 0 0-.602.922c-.11.282-.238.702-.274 1.486-.046.84-.046 1.095-.046 3.23s.01 2.39.046 3.229c.004.51.097 1.016.274 1.495.145.365.319.639.602.913.282.282.538.456.92.602.474.176.974.268 1.479.273.848.046 1.103.046 3.238.046s2.39-.01 3.23-.046c.784-.036 1.203-.164 1.486-.273.374-.146.648-.329.921-.602.283-.283.447-.548.602-.922.177-.476.27-.979.274-1.486.037-.84.046-1.095.046-3.23s-.01-2.39-.055-3.229c-.027-.784-.164-1.204-.274-1.495a2.4 2.4 0 0 0-.593-.913 2.6 2.6 0 0 0-.92-.602c-.284-.11-.703-.237-1.488-.273ZM6.697 2.05c.857-.036 1.131-.045 3.302-.045a63 63 0 0 1 3.302.045c.664.014 1.321.14 1.943.374a4 4 0 0 1 1.414.922c.41.397.728.88.93 1.414.23.622.354 1.279.365 1.942C18 7.56 18 7.824 18 10.005c0 2.17-.01 2.444-.046 3.292-.036.858-.173 1.442-.374 1.943-.2.53-.474.976-.92 1.423a3.9 3.9 0 0 1-1.415.922c-.51.191-1.095.337-1.943.374-.857.036-1.122.045-3.302.045-2.171 0-2.445-.009-3.302-.055-.849-.027-1.432-.164-1.943-.364a4.15 4.15 0 0 1-1.414-.922 4.1 4.1 0 0 1-.93-1.423c-.183-.51-.329-1.085-.365-1.943C2.009 12.45 2 12.167 2 10.004c0-2.161 0-2.435.055-3.302.027-.848.164-1.432.365-1.942a4.4 4.4 0 0 1 .92-1.414 4.2 4.2 0 0 1 1.415-.93c.51-.183 1.094-.33 1.943-.366Zm.427 4.806a4.105 4.105 0 1 1 5.805 5.805 4.105 4.105 0 0 1-5.805-5.805m1.882 5.371a2.668 2.668 0 1 0 2.042-4.93 2.668 2.668 0 0 0-2.042 4.93m5.922-5.942a.958.958 0 1 1-1.355-1.355.958.958 0 0 1 1.355 1.355" clip-rule="evenodd"/></svg> 3105</span> 3106 <span class="visually-hidden">Instagram</span> 3107 </a> 3108 </li><li class="list-social__item"> 3109 <a href="https://www.tiktok.com/@iwannasleepus" class="list-social__link link"> 3110 <span class="svg-wrapper"><svg class="icon icon-tiktok" viewBox="0 0 20 20"><path fill="currentColor" d="M10.511 1.705h2.74s-.157 3.51 3.795 3.768v2.711s-2.114.129-3.796-1.158l.028 5.606A5.073 5.073 0 1 1 8.213 7.56h.708v2.785a2.298 2.298 0 1 0 1.618 2.205z"/></svg> 3111</span> 3112 <span class="visually-hidden">TikTok</span> 3113 </a> 3114 </li></ul> 3115 </div> 3116 </div> 3117 </div> 3118 </div> 3119 </details> 3120</header-drawer> 3121<a href="/" class="header__heading-link link link--text focus-inset"><div class="header__heading-logo-wrapper"> 3122 3123 <img src="//iwannasleep.com/cdn/shop/files/LOGO_CMYK.png?v=1748018600&width=600" alt="I wanna sleep logo â best pillow for neck pain and better sleep quality" srcset="//iwannasleep.com/cdn/shop/files/LOGO_CMYK.png?v=1748018600&width=100 100w, //iwannasleep.com/cdn/shop/files/LOGO_CMYK.png?v=1748018600&width=150 150w, //iwannasleep.com/cdn/shop/files/LOGO_CMYK.png?v=1748018600&width=200 200w" width="100" height="42.86265432098765" loading="eager" class="header__heading-logo motion-reduce" sizes="(max-width: 200px) 50vw, 100px"> 3124 </div></a> 3125 3126<nav class="header__inline-menu"> 3127 <ul class="list-menu list-menu--inline" role="list"><li><header-menu> 3128 <details id="Details-HeaderMenu-1"> 3129 <summary 3130 id="HeaderMenu-sleep-issues" 3131 class="header__menu-item list-menu__item link focus-inset" 3132 > 3133 <span 3134 class="header__active-menu-item" 3135 3136 >Sleep Issues</span><svg class="icon icon-caret" viewBox="0 0 10 6">
3136<path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 3137</summary> 3138 <ul 3139 id="HeaderMenu-MenuList-1" 3140 class="header__submenu list-menu list-menu--disclosure color-scheme-1 gradient caption-large motion-reduce global-settings-popup" 3141 role="list" 3142 tabindex="-1" 3143 ><li><a 3144 id="HeaderMenu-sleep-issues-all-sleep-issues" 3145 href="/collections/what-s-affecting-your-sleep" 3146 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3147 3148 > 3149 All Sleep Issues 3150 </a></li><li><a 3151 id="HeaderMenu-sleep-issues-adjustable-comfort" 3152 href="/pages/adjustable-comfort" 3153 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3154 3155 > 3156 Adjustable Comfort 3157 </a></li><li><a 3158 id="HeaderMenu-sleep-issues-neck-back-pain" 3159 href="/pages/neck-back" 3160 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3161 3162 > 3163 Neck & Back Pain 3164 </a></li><li><a 3165 id="HeaderMenu-sleep-issues-hot-cold" 3166 href="/pages/hot-cold" 3167 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3168 3169 > 3170 Hot & Cold 3171 </a></li><li><a 3172 id="HeaderMenu-sleep-issues-travel" 3173 href="/pages/travel" 3174 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3175 3176 > 3177 Travel 3178 </a></li><li><a 3179 id="HeaderMenu-sleep-issues-baby-kids" 3180 href="/pages/baby-kids" 3181 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3182 3183 > 3184 Baby & Kids 3185 </a></li><li><a 3186 id="HeaderMenu-sleep-issues-hotel-comfort" 3187 href="/pages/hotel-comfort" 3188 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3189 3190 > 3191 Hotel Comfort 3192 </a></li><li><a 3193 id="HeaderMenu-sleep-issues-headaches" 3194 href="/products/aliv%E2%84%A2-head-gel-iws" 3195 class="header__menu-item list-menu__item link link--text focus-inset caption-large list-menu__item--active" 3196 3197 aria-current="page" 3198 3199 > 3200 Headaches 3201 </a></li><li><a 3202 id="HeaderMenu-sleep-issues-restless-nights" 3203 href="/products/sleep-strips%E2%84%A2-oral-sleep-supplement" 3204 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3205 3206 > 3207 Restless Nights 3208 </a></li></ul> 3209 </details> 3210 </header-menu></li><li><header-menu> 3211 <details id="Details-HeaderMenu-2"> 3212 <summary 3213 id="HeaderMenu-products" 3214 class="header__menu-item list-menu__item link focus-inset" 3215 >
3216 <span 3217 class="header__active-menu-item" 3218 3219 >Products</span><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 3220</summary> 3221 <ul 3222 id="HeaderMenu-MenuList-2" 3223 class="header__submenu list-menu list-menu--disclosure color-scheme-1 gradient caption-large motion-reduce global-settings-popup" 3224 role="list" 3225 tabindex="-1" 3226 ><li><a 3227 id="HeaderMenu-products-all-products" 3228 href="/collections/featured-products" 3229 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3230 3231 > 3232 All products 3233 </a></li><li><a 3234 id="HeaderMenu-products-pillows" 3235 href="/collections/pillows-1" 3236 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3237 3238 > 3239 Pillows 3240 </a></li><li><a 3241 id="HeaderMenu-products-body-pillow" 3242 href="/products/snowtouch-adjustable-full-body-pillow" 3243 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3244 3245 > 3246 Body Pillow 3247 </a></li><li><a 3248 id="HeaderMenu-products-knee-pillow" 3249 href="/collections/knee-pillow" 3250 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3251 3252 > 3253 Knee Pillow 3254 </a></li><li><a 3255 id="HeaderMenu-products-head-gel" 3256 href="/products/aliv%E2%84%A2-head-gel-iws" 3257 class="header__menu-item list-menu__item link link--text focus-inset caption-large list-menu__item--active" 3258 3259 aria-current="page" 3260 3261 > 3262 Head Gel 3263 </a></li><li><a 3264 id="HeaderMenu-products-supplements" 3265 href="/products/sleep-strips%E2%84%A2-oral-sleep-supplement" 3266 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3267 3268 > 3269 Supplements 3270 </a></li><li><a 3271 id="HeaderMenu-products-blanket" 3272 href="/collections/blanket" 3273 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3274 3275 > 3276 Blanket 3277 </a></li><li><a 3278 id="HeaderMenu-products-bed-sheet" 3279 href="/collections/bed-sheet" 3280 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3281 3282 > 3283 Bed sheet 3284 </a></li><li><a 3285 id="HeaderMenu-products-accessories" 3286 href="/products/bedsac%E2%84%A2-bedside-organizer" 3287 class="header__menu-item list-menu__item link link--text focus-inset caption-large" 3288 3289 > 3290 Accessories 3291 </a></li></ul> 3292 </details> 3293 </header-menu></li><li><a 3294 id="HeaderMenu-what-affects-your-sleep" 3295 href="/collections/what-s-affecting-your-sleep" 3296 class="header__menu-item list-menu__item link link--text focus-inset" 3297 3298 >
3299 <span 3300 >What affects your sleep?</span> 3301 </a></li><li><a 3302 id="HeaderMenu-special-bundles" 3303 href="/pages/special-bundles" 3304 class="header__menu-item list-menu__item link link--text focus-inset" 3305 3306 > 3307 <span 3308 >Special Bundles</span> 3309 </a></li><li><a 3310 id="HeaderMenu-reviews" 3311 href="/pages/reviews" 3312 class="header__menu-item list-menu__item link link--text focus-inset" 3313 3314 > 3315 <span 3316 >Reviews</span> 3317 </a></li><li><a 3318 id="HeaderMenu-iws-labs" 3319 href="https://iwannasleep.com/pages/about-us-iws#labs" 3320 class="header__menu-item list-menu__item link link--text focus-inset" 3321 3322 > 3323 <span 3324 >IWS Labs</span> 3325 </a></li><li><a 3326 id="HeaderMenu-about-us" 3327 href="https://iwannasleep.com/pages/about-us-iws" 3328 class="header__menu-item list-menu__item link link--text focus-inset" 3329 3330 > 3331 <span 3332 >About us</span> 3333 </a></li></ul> 3334</nav> 3335 3336<div class="header__icons"> 3337 <div class="desktop-localization-wrapper"> 3338</div> 3339 3340 3341<details-modal class="header__search"> 3342 <details> 3343 <summary 3344 class="header__icon header__icon--search header__icon--summary link focus-inset modal__toggle" 3345 aria-haspopup="dialog" 3346 aria-label="Search" 3347 > 3348 <span> 3349 <span class="svg-wrapper"><svg fill="none" class="icon icon-search" viewBox="0 0 18 19"><path fill="currentColor" fill-rule="evenodd" d="M11.03 11.68A5.784 5.784 0 1 1 2.85 3.5a5.784 5.784 0 0 1 8.18 8.18m.26 1.12a6.78 6.78 0 1 1 .72-.7l5.4 5.4a.5.5 0 1 1-.71.7z" clip-rule="evenodd"/></svg> 3350</span> 3351 <span class="svg-wrapper header__icon-close"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 3352</span> 3353 </span> 3354 </summary> 3355 <div 3356 class="search-modal modal__content gradient" 3357 role="dialog" 3358 aria-modal="true" 3359 aria-label="Search" 3360 > 3361 <div class="modal-overlay"></div> 3362 <div 3363 class="search-modal__content search-modal__content-bottom" 3364 tabindex="-1" 3365 ><predictive-search class="search-modal__form" data-loading-text="Loading..."><form action="/search" method="get" role="search" class="search search-modal__form"> 3366 <div class="field"> 3367 <input 3368 class="search__input field__input" 3369 id="Search-In-Modal" 3370 type="search" 3371 name="q" 3372 value="" 3373 placeholder="Search"role="combobox" 3374 aria-expanded="false" 3375 aria-owns="predictive-search-results" 3376 aria-controls="predictive-search-results" 3377 aria-haspopup="listbox" 3378 aria-autocomplete="list" 3379 autocorrect="off" 3380 autocomplete="off" 3381 autocapitalize="off" 3382 spellcheck="false"> 3383 <label class="field__label" for="Search-In-Modal">Search</label> 3384 <input type="hidden" name="options[prefix]" value="last"> 3385 <button 3386 type="reset" 3387 class="reset__button field__button hidden" 3388 aria-label="Clear search term" 3389 > 3390 <span class="svg-wrapper"><svg fill="none" stroke="currentColor" class="icon icon-close" viewBox="0 0 18 18"><circle cx="9" cy="9" r="8.5" stroke-opacity=".2"/><path stroke-linecap="round" stroke-linejoin="round" d="M11.83 11.83 6.172 6.17M6.229 11.885l5.544-5.77"/></svg> 3391</span> 3392 </button> 3393 <button class="search__button field__button" aria-label="Search"> 3394 <span class="svg-wrapper"><svg fill="none" class="icon icon-search" viewBox="0 0 18 19">
3394<path fill="currentColor" fill-rule="evenodd" d="M11.03 11.68A5.784 5.784 0 1 1 2.85 3.5a5.784 5.784 0 0 1 8.18 8.18m.26 1.12a6.78 6.78 0 1 1 .72-.7l5.4 5.4a.5.5 0 1 1-.71.7z" clip-rule="evenodd"/></svg> 3395</span> 3396 </button> 3397 </div><div class="predictive-search predictive-search--header" tabindex="-1" data-predictive-search> 3398 3399<div class="predictive-search__loading-state"> 3400 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 3401 3402</div> 3403</div> 3404 3405 <span class="predictive-search-status visually-hidden" role="status" aria-hidden="true"></span></form></predictive-search><button 3406 type="button" 3407 class="search-modal__close-button modal__close-button link link--text focus-inset" 3408 aria-label="Close" 3409 > 3410 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 3411</span> 3412 </button> 3413 </div> 3414 </div> 3415 </details> 3416</details-modal> 3417 3418<a 3419 href="https://iwannasleep.com/customer_authentication/redirect?locale=en®ion_country=US" 3420 class="header__icon header__icon--account link focus-inset small-hide" 3421 rel="nofollow" 3422 ><account-icon><span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-account" viewBox="0 0 18 19"><path fill="currentColor" fill-rule="evenodd" d="M6 4.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0m3-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8m5.58 12.15c1.12.82 1.83 2.24 1.91 4.85H1.51c.08-2.6.79-4.03 1.9-4.85C4.66 11.75 6.5 11.5 9 11.5s4.35.26 5.58 1.15M9 10.5c-2.5 0-4.65.24-6.17 1.35C1.27 12.98.5 14.93.5 18v.5h17V18c0-3.07-.77-5.02-2.33-6.15-1.52-1.1-3.67-1.35-6.17-1.35" clip-rule="evenodd"/></svg> 3423</span></account-icon><span class="visually-hidden">Log in</span> 3424 </a><a href="/cart" class="header__icon header__icon--cart link focus-inset" id="cart-icon-bubble"> 3425 3426 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-cart-empty" viewBox="0 0 40 40"><path fill="currentColor" fill-rule="evenodd" d="M15.75 11.8h-3.16l-.77 11.6a5 5 0 0 0 4.99 5.34h7.38a5 5 0 0 0 4.99-5.33L28.4 11.8zm0 1h-2.22l-.71 10.67a4 4 0 0 0 3.99 4.27h7.38a4 4 0 0 0 4-4.27l-.72-10.67h-2.22v.63a4.75 4.75 0 1 1-9.5 0zm8.5 0h-7.5v.63a3.75 3.75 0 1 0 7.5 0z"/></svg> 3427</span> 3428 3429 <span class="visually-hidden">Cart</span></a> 3430 </div> 3431 </header> 3432</sticky-header> 3433
3434<script type="application/ld+json"> 3435 { 3436 "@context": "http://schema.org", 3437 "@type": "Organization", 3438 "name": "I wanna sleep", 3439 3440 "logo": "https:\/\/iwannasleep.com\/cdn\/shop\/files\/LOGO_CMYK.png?v=1748018600\u0026width=500", 3441 3442 "sameAs": [ 3443 "", 3444 "", 3445 "", 3446 "https:\/\/www.instagram.com\/iwannasleep_us\/", 3447 "https:\/\/www.tiktok.com\/@iwannasleepus", 3448 "", 3449 "", 3450 "", 3451 "" 3452 ], 3453 "url": "https:\/\/iwannasleep.com" 3454 } 3455</script>
3455 3456</div> 3457<!-- END sections: header-group --> 3458 3459 <main id="MainContent" class="content-for-layout focus-none" role="main" tabindex="-1"> 3460 <section id="shopify-section-template--27943664582899__main" class="shopify-section section"><product-info 3461 id="MainProduct-template--27943664582899__main" 3462 class="section-template--27943664582899__main-padding gradient color-scheme-1" 3463 data-section="template--27943664582899__main" 3464 data-product-id="9741806272755" 3465 data-update-url="true" 3466 data-url="/products/aliv%E2%84%A2-head-gel-iws" 3467 3468> 3469 <link href="//iwannasleep.com/cdn/shop/t/16/assets/section-main-product.css?v=161818056142182136911791305592" rel="stylesheet" type="text/css" media="all" /> 3470 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-accordion.css?v=7971072480289620591791305516" rel="stylesheet" type="text/css" media="all" /> 3471 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-price.css?v=12840323355286466041791305526" rel="stylesheet" type="text/css" media="all" /> 3472 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-slider.css?v=14039311878856620671791305529" rel="stylesheet" type="text/css" media="all" /> 3473 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-rating.css?v=179577762467860590411791305528" rel="stylesheet" type="text/css" media="all" /> 3474 <link href="//iwannasleep.com/cdn/shop/t/16/assets/component-deferred-media.css?v=14096082462203297471791305519" rel="stylesheet" type="text/css" media="all" /> 3475 3476 3477<style data-shopify>.section-template--27943664582899__main-padding { 3478 padding-top: 21px; 3479 padding-bottom: 66px; 3480 } 3481 3482 @media screen and (min-width: 750px) { 3483 .section-template--27943664582899__main-padding { 3484 padding-top: 28px; 3485 padding-bottom: 88px; 3486 } 3487 }</style>
3487<script src="//iwannasleep.com/cdn/shop/t/16/assets/product-info.js?v=19485075357881213091791305583" defer="defer"></script>
3487 3488
3488<script src="//iwannasleep.com/cdn/shop/t/16/assets/product-form.js?v=16477139885528072191791305582" defer="defer"></script>
3488 3489 3490 <div class="page-width"> 3491 <div class="product product--small product--left product--stacked product--mobile-hide grid grid--1-col grid--2-col-tablet"> 3492 <div class="grid__item product__media-wrapper"> 3493 3494<media-gallery 3495 id="MediaGallery-template--27943664582899__main" 3496 role="region" 3497 3498 class="product__column-sticky" 3499 3500 aria-label="Gallery Viewer" 3501 data-desktop-layout="stacked" 3502> 3503 <div id="GalleryStatus-template--27943664582899__main" class="visually-hidden" role="status"></div> 3504 <slider-component id="GalleryViewer-template--27943664582899__main" class="slider-mobile-gutter"> 3505 <a class="skip-to-content-link button visually-hidden quick-add-hidden" href="#ProductInfo-template--27943664582899__main"> 3506 Skip to product information 3507 </a> 3508 <ul 3509 id="Slider-Gallery-template--27943664582899__main" 3510 class="product__media-list contains-media grid grid--peek list-unstyled slider slider--mobile" 3511 role="list" 3512 > 3513<li 3514 id="Slide-template--27943664582899__main-39116790530291" 3515 class="product__media-item grid__item slider__slide is-active scroll-tr
3515igger animate--fade-in" 3516 data-media-id="template--27943664582899__main-39116790530291" 3517 > 3518 3519<div 3520 class="product-media-container media-type-image media-fit-cover global-media-settings gradient" 3521 style="--ratio: 1.0; --preview-ratio: 1.0;" 3522> 3523 <modal-opener 3524 class="product__modal-opener product__modal-opener--image" 3525 data-modal="#ProductModal-template--27943664582899__main" 3526 > 3527 <span 3528 class="product__media-icon motion-reduce quick-add-hidden product__media-icon--lightbox" 3529 aria-hidden="true" 3530 > 3531 3532 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-plus" viewBox="0 0 19 19"><path fill="currentColor" fill-rule="evenodd" d="M4.667 7.94a.5.5 0 0 1 .499-.501l5.534-.014a.5.5 0 1 1 .002 1l-5.534.014a.5.5 0 0 1-.5-.5" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M7.926 4.665a.5.5 0 0 1 .501.498l.014 5.534a.5.5 0 1 1-1 .003l-.014-5.534a.5.5 0 0 1 .499-.501" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M12.832 3.03a6.931 6.931 0 1 0-9.802 9.802 6.931 6.931 0 0 0 9.802-9.802M2.323 2.323a7.931 7.931 0 0 1 11.296 11.136l4.628 4.628a.5.5 0 0 1-.707.707l-4.662-4.662A7.932 7.932 0 0 1 2.323 2.323" clip-rule="evenodd"/></svg> 3533</span> 3534 3535 </span> 3536 3537<div class="loading__spinner hidden"> 3538 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 3539 3540</div> 3541<div class="product__media media media--transparent"> 3542 <img src="//iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1946" alt="" srcset="//iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=246 246w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=493 493w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=600 600w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=713 713w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=823 823w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=990 990w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1100 1100w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1206 1206w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1346 1346w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1426 1426w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1646 1646w, //iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1946 1946w" width="1946" height="1946" class="image-magnify-lightbox" sizes="(min-width: 1400px) 585px, (min-width: 990px) calc(45.0vw - 10rem), (min-width: 750px) calc((100vw - 11.5rem) / 2), calc(100vw / 1 - 4rem)"> 3543 </div> 3544 <button 3545 class="product__media-toggle quick-add-hidden product__media-zoom-lightbox" 3546 type="button" 3547 aria-haspopup="dialog" 3548 data-media-id="39116790530291" 3549 > 3550 <span class="visually-hidden"> 3551 Open media 1 in modal 3552 </span> 3553 </button> 3554 </modal-opener></div> 3555 3556 </li> 3557<li 3558 id="Slide-template--27943664582899__main-39116790366451" 3559 class="product__media-item grid__item slider__slide scroll-trigger animate--fade-in" 3560 data-media-id="template--27943664582899__main-39116790366451" 3561 > 3562 3563<div 3564 class="product-media-container media-type-image media-fit-cover global-media-settings gradient" 3565 style="--ratio: 1.0; --preview-ratio: 1.0;" 3566> 3567 <modal-opener 3568 class="product__modal-opener product__modal-opener--image" 3569 data-modal="#ProductModal-template--27943664582899__main" 3570 > 3571 <span 3572 class="product__media-icon motion-reduce quick-add-hidden product__media-icon--lightbox" 3573 aria-hidden="true" 3574 > 3575
3576 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-plus" viewBox="0 0 19 19"><path fill="currentColor" fill-rule="evenodd" d="M4.667 7.94a.5.5 0 0 1 .499-.501l5.534-.014a.5.5 0 1 1 .002 1l-5.534.014a.5.5 0 0 1-.5-.5" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M7.926 4.665a.5.5 0 0 1 .501.498l.014 5.534a.5.5 0 1 1-1 .003l-.014-5.534a.5.5 0 0 1 .499-.501" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M12.832 3.03a6.931 6.931 0 1 0-9.802 9.802 6.931 6.931 0 0 0 9.802-9.802M2.323 2.323a7.931 7.931 0 0 1 11.296 11.136l4.628 4.628a.5.5 0 0 1-.707.707l-4.662-4.662A7.932 7.932 0 0 1 2.323 2.323" clip-rule="evenodd"/></svg> 3577</span> 3578 3579 </span> 3580 3581<div class="loading__spinner hidden"> 3582 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 3583 3584</div> 3585<div class="product__media media media--transparent"> 3586 <img src="//iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1946" alt="" srcset="//iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=246 246w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=493 493w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=600 600w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=713 713w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=823 823w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=990 990w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1100 1100w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1206 1206w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1346 1346w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1426 1426w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1646 1646w, //iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1946 1946w" width="1946" height="1946" loading="lazy" class="image-magnify-lightbox" sizes="(min-width: 1400px) 585px, (min-width: 990px) calc(45.0vw - 10rem), (min-width: 750px) calc((100vw - 11.5rem) / 2), calc(100vw / 1 - 4rem)"> 3587 </div> 3588 <button 3589 class="product__media-toggle quick-add-hidden product__media-zoom-lightbox" 3590 type="button" 3591 aria-haspopup="dialog" 3592 data-media-id="39116790366451" 3593 > 3594 <span class="visually-hidden"> 3595 Open media 2 in modal 3596 </span> 3597 </button> 3598 </modal-opener></div> 3599 3600 </li> 3601<li 3602 id="Slide-template--27943664582899__main-39116790399219" 3603 class="product__media-item grid__item slider__slide scroll-trigger animate--fade-in" 3604 data-media-id="template--27943664582899__main-39116790399219" 3605 > 3606 3607<div 3608 class="product-media-container media-type-image media-fit-cover global-media-settings gradient" 3609 style="--ratio: 1.0; --preview-ratio: 1.0;" 3610> 3611 <modal-opener 3612 class="product__modal-opener product__modal-opener--image" 3613 data-modal="#ProductModal-template--27943664582899__main" 3614 > 3615 <span 3616 class="product__media-icon motion-reduce quick-add-hidden product__media-icon--lightbox" 3617 aria-hidden="true" 3618 > 3619 3620 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-plus" viewBox="0 0 19 19"><path fill="currentColor" fill-rule="evenodd" d="M4.667 7.94a.5.5 0 0 1 .499-.501l5.534-.014a.5.5 0 1 1 .002 1l-5.534.014a.5.5 0 0 1-.5-.5" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M7.926 4.665a.5.5 0 0 1 .501.498l.014 5.534a.5.5 0 1 1-1 .003l-.014-5.534a.5.5 0 0 1 .499-.501" clip-rule="evenodd"/>
3620<path fill="currentColor" fill-rule="evenodd" d="M12.832 3.03a6.931 6.931 0 1 0-9.802 9.802 6.931 6.931 0 0 0 9.802-9.802M2.323 2.323a7.931 7.931 0 0 1 11.296 11.136l4.628 4.628a.5.5 0 0 1-.707.707l-4.662-4.662A7.932 7.932 0 0 1 2.323 2.323" clip-rule="evenodd"/></svg> 3621</span> 3622 3623 </span> 3624 3625<div class="loading__spinner hidden"> 3626 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 3627 3628</div> 3629<div class="product__media media media--transparent"> 3630 <img src="//iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1946" alt="" srcset="//iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=246 246w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=493 493w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=600 600w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=713 713w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=823 823w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=990 990w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1100 1100w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1206 1206w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1346 1346w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1426 1426w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1646 1646w, //iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1946 1946w" width="1946" height="1946" loading="lazy" class="image-magnify-lightbox" sizes="(min-width: 1400px) 585px, (min-width: 990px) calc(45.0vw - 10rem), (min-width: 750px) calc((100vw - 11.5rem) / 2), calc(100vw / 1 - 4rem)"> 3631 </div> 3632 <button 3633 class="product__media-toggle quick-add-hidden product__media-zoom-lightbox" 3634 type="button" 3635 aria-haspopup="dialog" 3636 data-media-id="39116790399219" 3637 > 3638 <span class="visually-hidden"> 3639 Open media 3 in modal 3640 </span> 3641 </button> 3642 </modal-opener></div> 3643 3644 </li> 3645<li 3646 id="Slide-template--27943664582899__main-39116790431987" 3647 class="product__media-item grid__item slider__slide scroll-trigger animate--fade-in" 3648 data-media-id="template--27943664582899__main-39116790431987" 3649 > 3650 3651<div 3652 class="product-media-container media-type-image media-fit-cover global-media-settings gradient" 3653 style="--ratio: 1.0; --preview-ratio: 1.0;" 3654> 3655 <modal-opener 3656 class="product__modal-opener product__modal-opener--image" 3657 data-modal="#ProductModal-template--27943664582899__main" 3658 > 3659 <span 3660 class="product__media-icon motion-reduce quick-add-hidden product__media-icon--lightbox" 3661 aria-hidden="true" 3662 > 3663 3664 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-plus" viewBox="0 0 19 19"><path fill="currentColor" fill-rule="evenodd" d="M4.667 7.94a.5.5 0 0 1 .499-.501l5.534-.014a.5.5 0 1 1 .002 1l-5.534.014a.5.5 0 0 1-.5-.5" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M7.926 4.665a.5.5 0 0 1 .501.498l.014 5.534a.5.5 0 1 1-1 .003l-.014-5.534a.5.5 0 0 1 .499-.501" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M12.832 3.03a6.931 6.931 0 1 0-9.802 9.802 6.931 6.931 0 0 0 9.802-9.802M2.323 2.323a7.931 7.931 0 0 1 11.296 11.136l4.628 4.628a.5.5 0 0 1-.707.707l-4.662-4.662A7.932 7.932 0 0 1 2.323 2.323" clip-rule="evenodd"/></svg> 3665</span> 3666 3667 </span> 3668 3669<div class="loading__spinner hidden"> 3670 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 3671 3672</div> 3673<div class="product__media media media--transparent"> 3674 <img src="//iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1946" alt="" srcset="//iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=246 246w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=493 493w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=600 600w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=713 713w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=823 823w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=990 990w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1100 1100w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1206 1206w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1346 1346w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1426 1426w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1646 1646w, //iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1946 1946w" width="1946" height="1946" loading="lazy" class="image-magnify-lightbox" sizes="(min-width: 1400px) 585px, (min-width: 990px) calc(45.0vw - 10rem), (min-width: 750px) calc((100vw - 11.5rem) / 2), calc(100vw / 1 - 4rem)"> 3675 </div> 3676 <button 3677 class="product__media-toggle quick-add-hidden product__media-zoom-lightbox" 3678 type="button" 3679 aria-haspopup="dialog" 3680 data-media-id="39116790431987" 3681 >
3682 <span class="visually-hidden"> 3683 Open media 4 in modal 3684 </span> 3685 </button> 3686 </modal-opener></div> 3687 3688 </li> 3689<li 3690 id="Slide-template--27943664582899__main-39344852304115" 3691 class="product__media-item grid__item slider__slide scroll-trigger animate--fade-in" 3692 data-media-id="template--27943664582899__main-39344852304115" 3693 > 3694 3695<div 3696 class="product-media-container media-type-image media-fit-cover global-media-settings gradient" 3697 style="--ratio: 1.0; --preview-ratio: 1.0;" 3698> 3699 <modal-opener 3700 class="product__modal-opener product__modal-opener--image" 3701 data-modal="#ProductModal-template--27943664582899__main" 3702 > 3703 <span 3704 class="product__media-icon motion-reduce quick-add-hidden product__media-icon--lightbox" 3705 aria-hidden="true" 3706 > 3707 3708 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-plus" viewBox="0 0 19 19"><path fill="currentColor" fill-rule="evenodd" d="M4.667 7.94a.5.5 0 0 1 .499-.501l5.534-.014a.5.5 0 1 1 .002 1l-5.534.014a.5.5 0 0 1-.5-.5" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M7.926 4.665a.5.5 0 0 1 .501.498l.014 5.534a.5.5 0 1 1-1 .003l-.014-5.534a.5.5 0 0 1 .499-.501" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M12.832 3.03a6.931 6.931 0 1 0-9.802 9.802 6.931 6.931 0 0 0 9.802-9.802M2.323 2.323a7.931 7.931 0 0 1 11.296 11.136l4.628 4.628a.5.5 0 0 1-.707.707l-4.662-4.662A7.932 7.932 0 0 1 2.323 2.323" clip-rule="evenodd"/></svg> 3709</span> 3710 3711 </span> 3712 3713<div class="loading__spinner hidden"> 3714 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 3715 3716</div> 3717<div class="product__media media media--transparent"> 3718 <img src="//iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1946" alt="" srcset="//iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=246 246w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=493 493w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=600 600w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=713 713w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=823 823w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=990 990w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1100 1100w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1206 1206w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1346 1346w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1426 1426w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1646 1646w, //iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1946 1946w" width="1946" height="1946" loading="lazy" class="image-magnify-lightbox" sizes="(min-width: 1400px) 585px, (min-width: 990px) calc(45.0vw - 10rem), (min-width: 750px) calc((100vw - 11.5rem) / 2), calc(100vw / 1 - 4rem)"> 3719 </div> 3720 <button 3721 class="product__media-toggle quick-add-hidden product__media-zoom-lightbox" 3722 type="button" 3723 aria-haspopup="dialog" 3724 data-media-id="39344852304115" 3725 > 3726 <span class="visually-hidden"> 3727 Open media 5 in modal 3728 </span> 3729 </button> 3730 </modal-opener></div> 3731 3732 </li> 3733<li 3734 id="Slide-template--27943664582899__main-39116790497523" 3735 class="product__media-item grid__item slider__slide scroll-trigger animate--fade-in" 3736 data-media-id="template--27943664582899__main-39116790497523" 3737 > 3738 3739<div 3740 class="product-media-container media-type-image media-fit-cover global-media-settings gradient" 3741 style="--ratio: 1.0; --preview-ratio: 1.0;" 3742> 3743 <modal-opener 3744 class="product__modal-opener product__modal-opener--image" 3745 data-modal="#ProductModal-template--27943664582899__main" 3746 > 3747 <span 3748 class="product__media-icon motion-reduce quick-add-hidden product__media-icon--lightbox" 3749 aria-hidden="true" 3750 > 3751
3752 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-plus" viewBox="0 0 19 19"><path fill="currentColor" fill-rule="evenodd" d="M4.667 7.94a.5.5 0 0 1 .499-.501l5.534-.014a.5.5 0 1 1 .002 1l-5.534.014a.5.5 0 0 1-.5-.5" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M7.926 4.665a.5.5 0 0 1 .501.498l.014 5.534a.5.5 0 1 1-1 .003l-.014-5.534a.5.5 0 0 1 .499-.501" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M12.832 3.03a6.931 6.931 0 1 0-9.802 9.802 6.931 6.931 0 0 0 9.802-9.802M2.323 2.323a7.931 7.931 0 0 1 11.296 11.136l4.628 4.628a.5.5 0 0 1-.707.707l-4.662-4.662A7.932 7.932 0 0 1 2.323 2.323" clip-rule="evenodd"/></svg> 3753</span> 3754 3755 </span> 3756 3757<div class="loading__spinner hidden"> 3758 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 3759 3760</div> 3761<div class="product__media media media--transparent"> 3762 <img src="//iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1946" alt="" srcset="//iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=246 246w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=493 493w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=600 600w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=713 713w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=823 823w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=990 990w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1100 1100w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1206 1206w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1346 1346w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1426 1426w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1646 1646w, //iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1946 1946w" width="1946" height="1946" loading="lazy" class="image-magnify-lightbox" sizes="(min-width: 1400px) 585px, (min-width: 990px) calc(45.0vw - 10rem), (min-width: 750px) calc((100vw - 11.5rem) / 2), calc(100vw / 1 - 4rem)"> 3763 </div> 3764 <button 3765 class="product__media-toggle quick-add-hidden product__media-zoom-lightbox" 3766 type="button" 3767 aria-haspopup="dialog" 3768 data-media-id="39116790497523" 3769 > 3770 <span class="visually-hidden"> 3771 Open media 6 in modal 3772 </span> 3773 </button> 3774 </modal-opener></div> 3775 3776 </li></ul> 3777 <div class="slider-buttons quick-add-hidden"> 3778 <button 3779 type="button" 3780 class="slider-button slider-button--prev" 3781 name="previous" 3782 aria-label="Slide left" 3783 > 3784 <span class="svg-wrapper"><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 3785</span> 3786 </button> 3787 <div class="slider-counter caption"> 3788 <span class="slider-counter--current">1</span> 3789 <span aria-hidden="true"> / </span> 3790 <span class="visually-hidden">of</span> 3791 <span class="slider-counter--total">6</span> 3792 </div> 3793 <button 3794 type="button" 3795 class="slider-button slider-button--next" 3796 name="next" 3797 aria-label="Slide right" 3798 > 3799 <span class="svg-wrapper"><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 3800</span> 3801 </button> 3802 </div> 3803 </slider-component></media-gallery> 3804 3805 </div>
3806 <div class="product__info-wrapper grid__item scroll-trigger animate--slide-in"> 3807 <section 3808 id="ProductInfo-template--27943664582899__main" 3809 class="product__info-container product__column-sticky" 3810 ><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/phosphor-icons/1.4.2/css/phosphor.css"> 3811 3812<span style="display:inline-flex; align-items:center; gap:8px; padding:8px 16px; border-radius:999px; background:#580E3F; color:#ffffff; font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;"> 3813 <i class="ph-fill ph-thermometer-simple" style="font-size:16px; color:#ffffff;"></i> 3814 Hot & Cold Relief 3815</span> 3816<div class="product__title" > 3817 <h1>Aliv⢠Head Gel IWS</h1> 3818 <a href="/products/aliv%E2%84%A2-head-gel-iws" class="product__title"> 3819 <h2 class="h1"> 3820 Aliv⢠Head Gel IWS 3821 </h2> 3822 </a> 3823 </div> 3824 3825 <!-- LOOX STAR RATING WIDGET --> 3826 <a href="#looxReviews"> 3827 <div class="loox-rating" data-id="9741806272755" data-rating="" data-raters="" data-pattern="[rating] ([count] Reviews)"></div></a> 3828 <!-- LOOX STAR RATING WIDGET --><p 3829 class="product__text inline-richtext" 3830 3831 >The full-body pillow that adjusts to your body so you finally sleep the way you need to. Designed for pregnant women and new moms who have tried everything and still can't find a comfortable position that actually holds.</p><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/[email protected]/src/light/style.css"> 3832 3833<style> 3834 .iws-aliv-meta-card { 3835 position: relative; 3836 width: 100%; 3837 max-width: 640px; 3838 padding: 16px; 3839 border-radius: 24px; 3840 overflow: hidden; 3841 box-sizing: border-box; 3842 color: #580E3F; 3843 background: #ffffff; 3844 border: 1px solid rgba(110, 20, 84, 0.16); 3845 } 3846 3847 .iws-aliv-meta-inner { 3848 position: relative; 3849 z-index: 1; 3850 display: flex; 3851 flex-direction: column; 3852 gap: 10px; 3853 } 3854 3855 .iws-aliv-meta-item { 3856 display: grid; 3857 grid-template-columns: 42px 1fr; 3858 gap: 14px; 3859 align-items: start; 3860 padding: 14px 16px; 3861 border-radius: 18px; 3862 background: #FDF5FA; 3863 border: 1px solid rgba(110, 20, 84, 0.10); 3864 } 3865 3866 .iws-aliv-meta-icon { 3867 width: 42px; 3868 height: 42px; 3869 display: flex; 3870 align-items: flex-start; 3871 justify-content: center; 3872 } 3873 3874 .iws-aliv-meta-icon img { 3875 width: 34px; 3876 height: 34px; 3877 display: block; 3878 object-fit: contain; 3879 } 3880 3881 .iws-aliv-meta-icon i { 3882 display: flex; 3883 align-items: center; 3884 justify-content: center; 3885 width: 34px; 3886 height: 34px; 3887 border-radius: 999px; 3888 background: #7A1050; 3889 font-size: 17px; 3890 color: #ffffff; 3891 font-weight: 300; 3892 } 3893 3894 .iws-aliv-meta-text { 3895 min-width: 0; 3896 } 3897 3898 .iws-aliv-meta-label { 3899 display: inline-block; 3900 margin-bottom: 3px; 3901 font-size: 11px; 3902 line-height: 1; 3903 letter-spacing: 0.08em; 3904 text-transform: uppercase; 3905 font-weight: 700; 3906 color: rgba(88, 14, 63, 0.72); 3907 } 3908 3909 .iws-aliv-meta-value { 3910 font-size: 14.5px; 3911 line-height: 1.45; 3912 letter-spacing: -0.01em; 3913 color: #580E3F; 3914 font-weight: 500; 3915 } 3916 3917 .iws-aliv-meta-value strong { 3918 font-weight: 700; 3919 color: #580E3F; 3920 } 3921 3922 .iws-aliv-tech-wrap { 3923 display: flex; 3924 align-items: center; 3925 gap: 8px; 3926 flex-wrap: wrap; 3927 margin-top: 4px; 3928 } 3929 3930 .iws-aliv-tech-badge { 3931 display: inline-flex; 3932 align-items: center; 3933 justify-content: center; 3934 padding: 7px 14px; 3935 border-radius: 999px; 3936 background: #ffffff; 3937 border: 1px solid rgba(110, 20, 84, 0.12); 3938 } 3939 3940 .iws-aliv-tech-label { 3941 font-size: 13.5px; 3942 line-height: 1.3; 3943 letter-spacing: -0.01em; 3944 color: #580E3F; 3945 font-weight: 500; 3946 white-space: nowrap; 3947 } 3948 3949 .iws-aliv-meta-item.iws-aliv-note .iws-aliv-meta-icon i { 3950 background: #EC008C; 3951 } 3952 3953 @media (max-width: 749px) { 3954 .iws-aliv-meta-card { 3955 padding: 12px; 3956 border-radius: 20px; 3957 } 3958 3959 .iws-aliv-meta-item { 3960 grid-template-columns: 34px 1fr; 3961 gap: 10px; 3962 padding: 12px; 3963 border-radius: 16px; 3964 } 3965 3966 .iws-aliv-meta-icon { 3967 width: 34px; 3968 height: 34px; 3969 } 3970 3971 .iws-aliv-meta-icon img { 3972 width: 28px; 3973 height: 28px; 3974 } 3975 3976 .iws-aliv-meta-icon i { 3977 width: 28px; 3978 height: 28px; 3979 font-size: 14px; 3980 } 3981 3982 .iws-aliv-meta-label { 3983 font-size: 10px; 3984 } 3985 3986 .iws-aliv-meta-value { 3987 font-size: 13.5px; 3988 line-height: 1.4; 3989 } 3990 3991 .iws-aliv-tech-label { 3992 font-size: 12.5px; 3993 } 3994 } 3995</style> 3996 3997<div class="iws-aliv-meta-card"> 3998 <div class="iws-aliv-meta-inner"> 3999 4000 <div class="iws-aliv-meta-item"> 4001 <div class="iws-aliv-meta-icon" aria-hidden="true"> 4002 <img 4003 src="https://cdn.shopify.com/s/files/1/0752/0790/1427/files/Best-for.png?v=1782931397" 4004 alt="" 4005 loading="lazy" 4006 > 4007 </div> 4008 <div class="iws-aliv-meta-text"> 4009 <div class="iws-aliv-meta-label">Best for</div> 4010 <div class="iws-aliv-meta-value"> 4011 Anyone dealing with frequent headaches, migraines, or built-up tension throughout the day. 4012 </div> 4013 </div> 4014 </div> 4015 4016 <div class="iws-aliv-meta-item"> 4017 <div class="iws-aliv-meta-icon" aria-hidden="true"> 4018 <i class="ph-light ph-wrench"></i> 4019 </div> 4020 <div class="iws-aliv-meta-text"> 4021 <div class="iws-aliv-meta-label">How it works</div> 4022 <div class="iws-aliv-meta-value"> 4023 Cold or heat â one product, two options, ready in minutes. 4024 </div> 4025 </div> 4026 </div> 4027 4028 <div class="iws-aliv-meta-item"> 4029 <div class="iws-aliv-meta-icon" aria-hidden="true"> 4030 <img 4031 src="https://cdn.shopify.com/s/files/1/0752/0790/1427/files/Technologies.png?v=1782931397" 4032 alt="" 4033 loading="lazy" 4034 > 4035 </div> 4036 <div class="iws-aliv-meta-text"> 4037 <div class="iws-aliv-meta-label">Technologies</div> 4038 <div class="iws-aliv-tech-wrap"> 4039 <div class="iws-aliv-tech-badge"><span class="iws-aliv-tech-label">High-Density Gelâ¢</span></div> 4040 <div class="iws-aliv-tech-badge"><span class="iws-aliv-tech-label">360° Coverage</span></div> 4041 <div class="iws-aliv-tech-badge"><span class="iws-aliv-tech-label">Reusable</span></div> 4042 </div> 4043 </div> 4044 </div> 4045 4046 <div class="iws-aliv-meta-item iws-aliv-note"> 4047 <div class="iws-aliv-meta-icon" aria-hidden="true"> 4048 <i class="ph-light ph-leaf"></i> 4049 </div> 4050 <div class="iws-aliv-meta-text"> 4051 <div class="iws-aliv-meta-label">Designed to relieve</div> 4052 <div class="iws-aliv-meta-value"> 4053 Not to cure. Best used at the first sign of tension or pain. 4054 </div> 4055 </div> 4056 </div> 4057 4058 </div> 4059</div> 4060<div id="shopify-block-AcFJ0cVl6UFVZTUtja__tolstoy_shoppable_video_quiz_stories_block_R7LTtp" class="shopify-block shopify-app-block"><tolstoy-stories 4061class="tolstoy-stories" 4062data-tags="" 4063data-publish-id="nbahzmnqftvru" 4064data-product-id="9741806272755"> 4065</tolstoy-stories> 4066 4067 4068</div> 4069 4070 4071<div 4072 id="Quantity-Form-template--27943664582899__main" 4073 class="product-form__input product-form__quantity" 4074 4075 > 4076 4077 4078 4079 <label class="quantity__label form__label" for="Quantity-template--27943664582899__main"> 4080 Quantity
4081 <span class="quantity__rules-cart hidden"> 4082 4083<div class="loading__spinner hidden"> 4084 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 4085 4086</div> 4087<span 4088 >(<span class="quantity-cart">0</span> in cart)</span 4089 > 4090 </span> 4091 </label> 4092 <div class="price-per-item__container"> 4093 4094 4095 <div class="pav-container"> 4096 4097</div> 4098
4099<script> 4100 $(document).ready(function(){ 4101 $('.pav-content').each(function(){ 4102 var prd_name = $('.product__title h1').html(); 4103 var pav_prd_name = $(this).find($('.pav-image')).attr('alt'); 4104 if(pav_prd_name == prd_name){ 4105 $(this).addClass('pav-active'); 4106 } 4107 }) 4108 }) 4109 document.addEventListener('DOMContentLoaded', function() { 4110 var productPrice = document.getElementById('pav-variant-price'); 4111 var variantRadios = document.querySelectorAll('.product-form__input input[type="radio"]'); 4112 var product = {"id":9741806272755,"title":"Aliv⢠Head Gel IWS","handle":"alivâ¢-head-gel-iws","description":"\u003cp dir=\"ltr\"\u003eFast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure.\u003c\/p\u003e\n\u003cp dir=\"ltr\"\u003eHigh-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits.\u003c\/p\u003e","published_at":"2026-09-04T17:47:52-04:00","created_at":"2026-08-27T19:10:02-04:00","vendor":"I wanna sleep USA","type":"Accessory","tags":[],"price":4700,"price_min":4700,"price_max":4700,"available":true,"price_varies":false,"compare_at_price":6500,"compare_at_price_min":6500,"compare_at_price_max":6500,"compare_at_price_varies":false,"variants":[{"id":50546243764467,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"3337-FBM","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Aliv⢠Head Gel IWS","public_title":null,"options":["Default Title"],"price":4700,"weight":0,"compare_at_price":6500,"inventory_management":"shopify","barcode":"7898972884925","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752","\/\/iwannasleep.com\/cdn\/shop\/files\/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125"],"featured_image":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125","options":["Title"],"media":[{"alt":null,"id":39116790530291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125","width":1200},{"alt":null,"id":39116790366451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125","width":1200},{"alt":null,"id":39116790399219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125","width":1200},{"alt":null,"id":39116790431987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125","width":1200},{"alt":null,"id":39344852304115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752","width":1200},{"alt":null,"id":39116790497523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125","width":1200}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp dir=\"ltr\"\u003eFast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure.\u003c\/p\u003e\n\u003cp dir=\"ltr\"\u003eHigh-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits.\u003c\/p\u003e"}; 4113 4114 variantRadios.forEach(function(radio) { 4115 radio.addEventListener('change', function() { 4116 console.log('change radio'); 4117 var selectedVariant = getSelectedVariant(); 4118 var newPrice = selectedVariant.price; 4119 4120 productPrice.innerHTML = Shopify.formatMoney(newPrice, ''); 4121 }); 4122 });
4123 4124 function getSelectedVariant() { 4125 var selectedOptions = Array.from(variantRadios) 4126 .filter(function(radio) { 4127 return radio.checked; 4128 }) 4129 .map(function(radio) { 4130 return radio.value; 4131 }); 4132 4133 return product.variants.find(function(variant) { 4134 return variant.options.every(function(option, index) { 4135 return option === selectedOptions[index]; 4136 }); 4137 }); 4138 } 4139 }); 4140</script>
4140 4141 4142 4143 4144</div> 4145 <div class="quantity__rules caption" id="Quantity-Rules-template--27943664582899__main"></div></div><div id="price-template--27943664582899__main" role="status" > 4146<div 4147 class=" 4148 price price--large price--on-sale price--show-badge" 4149 > 4150 <div class="price__container"><div class="price__regular"><span class="visually-hidden visually-hidden--inline">Regular price</span> 4151 <span class="price-item price-item--regular"> 4152 $47 4153 </span></div> 4154 <div class="price__sale"> 4155 <span class="visually-hidden visually-hidden--inline">Regular price</span> 4156 <span> 4157 <s class="price-item price-item--regular"> 4158 4159 $65 4160 4161 </s> 4162 </span><span class="visually-hidden visually-hidden--inline">Sale price</span> 4163 <span class="price-item price-item--sale price-item--last"> 4164 $47 4165 </span> 4166 </div> 4167 <small class="unit-price caption hidden"> 4168 <span class="visually-hidden">Unit price</span> 4169 <span class="price-item price-item--last"> 4170 <span></span> 4171 <span aria-hidden="true">/</span> 4172 <span class="visually-hidden"> per </span> 4173 <span> 4174 </span> 4175 </span> 4176 </small> 4177 </div></div> 4178</div><div class="product__tax caption rte"></div><div ><form method="post" action="/cart/add" id="product-form-installment-template--27943664582899__main" accept-charset="UTF-8" class="installment caption-large" enctype="multipart/form-data"><input type="hidden" name="form_type" value="product" /><input type="hidden" name="utf8" value="â" /><input type="hidden" name="id" value="50546243764467"> 4179 <shopify-payment-terms variant-id="50546243764467" shopify-meta="{"type":"product","currency_code":"USD","country_code":"US","variants":[{"id":50546243764467,"price_per_term":"$23.50","price_per_term_amount":23.5,"full_price":"$47.00","full_price_amount":47.0,"eligible":true,"available":true,"number_of_payment_terms":2}],"min_price":"$35.00","min_price_amount":35.0,"max_price":"$30,000.00","max_price_amount":30000.0,"financing_plans":[{"min_price":"$35.00","max_price":"$49.99","terms":[{"apr":0,"loan_type":"split_pay","installments_count":2}],"min_price_amount":35.0,"max_price_amount":49.99},{"min_price":"$50.00","max_price":"$149.99","terms":[{"apr":0,"loan_type":"split_pay","installments_count":3},{"apr":0,"loan_type":"split_pay","installments_count":4}],"min_price_amount":50.0,"max_price_amount":149.99},{"min_price":"$150.00","max_price":"$999.99","terms":[{"apr":0,"loan_type":"split_pay","installments_count":3},{"apr":0,"loan_type":"split_pay","installments_count":4},{"apr":15,"loan_type":"interest","installments_count":3},{"apr":15,"loan_type":"interest","installments_count":6},{"apr":15,"loan_type":"interest","installments_count":12}],"min_price_amount":150.0,"max_price_amount":999.99},{"min_price":"$1,000.00","max_price":"$30,000.00","terms":[{"apr":15,"loan_type":"interest","installments_count":3},{"apr":15,"loan_type":"interest","installments_count":6},{"apr":15,"loan_type":"interest","installments_count":12}],"min_price_amount":1000.0,"max_price_amount":30000.0}],"installments_buyer_prequalification_enabled":false,"seller_id":5412375}"></shopify-payment-terms> 4180<input type="hidden" name="product-id" value="9741806272755" /><input type="hidden" name="section-id" value="template--27943664582899__main" /></form></div> 4181<div ><product-form 4182 class="product-form" 4183 data-hide-errors="false" 4184 data-section-id="template--27943664582899__main" 4185 > 4186 <div class="product-form__error-message-wrapper" role="alert" hidden>
4187 <span class="svg-wrapper"><svg class="icon icon-error" viewBox="0 0 13 13"><circle cx="6.5" cy="6.5" r="5.5" stroke="#fff" stroke-width="2"/><circle cx="6.5" cy="6.5" r="5.5" fill="#EB001B" stroke="#EB001B" stroke-width=".7"/><path fill="#fff" d="m5.874 3.528.1 4.044h1.053l.1-4.044zm.627 6.133c.38 0 .68-.288.68-.656s-.3-.656-.68-.656-.681.288-.681.656.3.656.68.656"/><path fill="#fff" stroke="#EB001B" stroke-width=".7" d="M5.874 3.178h-.359l.01.359.1 4.044.008.341h1.736l.008-.341.1-4.044.01-.359H5.873Zm.627 6.833c.56 0 1.03-.432 1.03-1.006s-.47-1.006-1.03-1.006-1.031.432-1.031 1.006.47 1.006 1.03 1.006Z"/></svg> 4188</span> 4189 <span class="product-form__error-message"></span> 4190 </div><form method="post" action="/cart/add" id="product-form-template--27943664582899__main" accept-charset="UTF-8" class="form" enctype="multipart/form-data" novalidate="novalidate" data-type="add-to-cart-form"><input type="hidden" name="form_type" value="product" /><input type="hidden" name="utf8" value="â" /><input 4191 type="hidden" 4192 name="id" 4193 value="50546243764467" 4194 4195 class="product-variant-id selected_variant" 4196 ><div class="product-form__buttons"><button 4197 id="ProductSubmitButton-template--27943664582899__main" 4198 type="submit" 4199 name="add" 4200 class="product-form__submit button button--full-width button--primary" 4201 4202 > 4203 <span>Add to cart 4204</span> 4205 4206<div class="loading__spinner hidden"> 4207 <svg xmlns="http://www.w3.org/2000/svg" class="spinner" viewBox="0 0 66 66"><circle stroke-width="6" cx="33" cy="33" r="30" fill="none" class="path"/></svg> 4208 4209</div> 4210</button></div><input type="hidden" name="product-id" value="9741806272755" /><input type="hidden" name="section-id" value="template--27943664582899__main" /></form></product-form><link href="//iwannasleep.com/cdn/shop/t/16/assets/component-pickup-availability.css?v=34645222959864780961791305525" rel="stylesheet" type="text/css" media="all" /> 4211<pickup-availability 4212 class="product__pickup-availabilities quick-add-hidden" 4213 4214 data-root-url="/" 4215 data-variant-id="50546243764467" 4216 data-has-only-default-variant="true" 4217 data-product-page-color-scheme="gradient color-scheme-1" 4218 > 4219 <template> 4220 <pickup-availability-preview class="pickup-availability-preview"> 4221 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-unavailable" viewBox="0 0 20 20"><path fill="#DE3618" stroke="#fff" d="M13.94 3.94 10 7.878l-3.94-3.94A1.499 1.499 0 1 0 3.94 6.06L7.88 10l-3.94 3.94a1.499 1.499 0 1 0 2.12 2.12L10 12.12l3.94 3.94a1.497 1.497 0 0 0 2.12 0 1.5 1.5 0 0 0 0-2.12L12.122 10l3.94-3.94a1.499 1.499 0 1 0-2.121-2.12z"/></svg> 4222</span> 4223 <div class="pickup-availability-info"> 4224 <p class="caption-large">Couldn't load pickup availability</p> 4225 <button class="pickup-availability-button link link--text underlined-link"> 4226 Refresh 4227 </button> 4228 </div> 4229 </pickup-availability-preview> 4230 </template> 4231 </pickup-availability> 4232 4233
4233<script src="//iwannasleep.com/cdn/shop/t/16/assets/pickup-availability.js?v=78418059211521962961791305581" defer="defer"></script>
4233</div> 4234<style> 4235 .iws-trust-badges { 4236 width: 100%; 4237 margin: 24px 0 24px; 4238 padding: 0; 4239 } 4240 .iws-trust-badges__wrap { 4241 width: 100%; 4242 max-width: 100%; 4243 display: flex; 4244 align-items: center; 4245 justify-content: flex-start; 4246 gap: 42px; 4247 flex-wrap: nowrap; 4248 } 4249 .iws-trust-badge { 4250 display: flex; 4251 align-items: center; 4252 gap: 14px; 4253 min-width: 0; 4254 flex: 0 1 auto; 4255 } 4256 .iws-trust-badge__seal { 4257 width: 120px; 4258 min-width: 120px; 4259 height: 120px; 4260 object-fit: contain; 4261 display: block; 4262 } 4263 .iws-trust-badge__content { 4264 display: flex; 4265 flex-direction: column; 4266 justify-content: center; 4267 min-width: 0; 4268 } 4269 .iws-trust-badge__title { 4270 margin: 0; 4271 color: #580E3F; 4272 font-size: 18px; 4273 line-height: 1.12; 4274 font-weight: 800; 4275 letter-spacing: -0.01em; 4276 white-space: nowrap; 4277 } 4278 .iws-trust-badge__subtitle { 4279 margin: 4px 0 0; 4280 color: rgba(88, 14, 63, 0.72); 4281 font-size: 13.5px; 4282 line-height: 1.2; 4283 font-weight: 500; 4284 white-space: nowrap; 4285 } 4286 @media (max-width: 749px) { 4287 .iws-trust-badges { 4288 margin: 20px 0 20px; 4289 } 4290 .iws-trust-badges__wrap { 4291 justify-content: flex-start; 4292 align-items: center; 4293 gap: 16px; 4294 flex-wrap: nowrap; 4295 } 4296 .iws-trust-badge { 4297 gap: 8px; 4298 flex: 1 1 0; 4299 min-width: 0; 4300 } 4301 .iws-trust-badge__seal { 4302 width: 72px; 4303 min-width: 72px; 4304 height: 72px; 4305 } 4306 .iws-trust-badge__title { 4307 font-size: 13.5px; 4308 line-height: 1.08; 4309 white-space: normal; 4310 } 4311 .iws-trust-badge__subtitle { 4312 margin-top: 3px; 4313 font-size: 11px; 4314 line-height: 1.15; 4315 white-space: normal; 4316 } 4317 } 4318 @media (max-width: 390px) { 4319 .iws-trust-badges__wrap { 4320 gap: 10px; 4321 } 4322 .iws-trust-badge { 4323 gap: 6px; 4324 } 4325 .iws-trust-badge__seal { 4326 width: 64px; 4327 min-width: 64px; 4328 height: 64px; 4329 } 4330 .iws-trust-badge__title { 4331 font-size: 12.5px; 4332 } 4333 .iws-trust-badge__subtitle { 4334 font-size: 10.4px; 4335 } 4336 } 4337</style> 4338<div class="iws-trust-badges"> 4339 <div class="iws-trust-badges__wrap"> 4340 <div class="iws-trust-badge"> 4341 <img 4342 class="iws-trust-badge__seal" 4343 src="https://cdn.shopify.com/s/files/1/0752/0790/1427/files/100-NIGHT-SELO_f542fdb4-cb0e-41a6-9ed4-51ba7d014045.png?v=1785847428" 4344 alt="100-Night Risk-Free Trial seal" 4345 loading="lazy" 4346 > 4347 <div class="iws-trust-badge__content"> 4348 <p class="iws-trust-badge__title">100-Night</p> 4349 <p class="iws-trust-badge__subtitle">Risk-Free Trial</p> 4350 </div> 4351 </div> 4352 <div class="iws-trust-badge"> 4353 <img 4354 class="iws-trust-badge__seal" 4355 src="https://cdn.shopify.com/s/files/1/0752/0790/1427/files/SCIENCE-BASED-SELO.png?v=1785847428" 4356 alt="Science-based design seal" 4357 loading="lazy" 4358 > 4359 <div class="iws-trust-badge__content"> 4360 <p class="iws-trust-badge__title">Science-based</p> 4361 <p class="iws-trust-badge__subtitle">Design</p> 4362 </div> 4363 </div> 4364 </div> 4365</div> 4366<div class="product__accordion accordion quick-add-hidden" > 4367 <details id="Details-collapsible_tab_wkJaqk-template--27943664582899__main"> 4368 <summary> 4369 <div class="summary__title"> 4370 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-check-mark" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M18.5 1.5h-17v17h17zm-17-1a1 1 0 0 0-1 1v17a1 1 0 0 0 1 1h17a1 1 0 0 0 1-1v-17a1 1 0 0 0-1-1z"/><path d="M14.998 6.09a.5.5 0 0 1 .03.707l-6.112 6.666a.5.5 0 0 1-.733.004l-3.188-3.394a.5.5 0 0 1 .729-.685l2.82 3.002 5.746-6.27a.5.5 0 0 1 .707-.03"/></svg> 4371</span> 4372 <h2 class="h4 accordion__title inline-richtext"> 4373 Composition 4374 </h2> 4375 </div><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 4376</summary> 4377 <div class="accordion__content rte" id="ProductAccordion-collapsible_tab_wkJaqk-template--27943664582899__main"> 4378 <p>Inner cover: 100% polyester · Filling: 76% polyurethane foam (TitanPro Gelâ¢), 24% polyester fiber</p> 4379 4380 </div> 4381 </details> 4382 </div><div class="product__accordion accordion quick-add-hidden" > 4383 <details id="Details-collapsible_tab_Qm7n9M-template--27943664582899__main"> 4384 <summary> 4385 <div class="summary__title">
4386 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-check-mark" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M18.5 1.5h-17v17h17zm-17-1a1 1 0 0 0-1 1v17a1 1 0 0 0 1 1h17a1 1 0 0 0 1-1v-17a1 1 0 0 0-1-1z"/><path d="M14.998 6.09a.5.5 0 0 1 .03.707l-6.112 6.666a.5.5 0 0 1-.733.004l-3.188-3.394a.5.5 0 0 1 .729-.685l2.82 3.002 5.746-6.27a.5.5 0 0 1 .707-.03"/></svg> 4387</span> 4388 <h2 class="h4 accordion__title inline-richtext"> 4389 Dimensions 4390 </h2> 4391 </div><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 4392</summary> 4393 <div class="accordion__content rte" id="ProductAccordion-collapsible_tab_Qm7n9M-template--27943664582899__main"> 4394 <p><strong>59"L x 8"W</strong> compatible with standard body pillowcases.</p> 4395 4396 </div> 4397 </details> 4398 </div>
4399<script src="//iwannasleep.com/cdn/shop/t/16/assets/share.js?v=13024540447964430191791305594" defer="defer"></script>
4399 4400 4401<share-button id="Share-template--27943664582899__main" class="share-button quick-add-hidden" > 4402 <button class="share-button__button hidden"> 4403 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-share" viewBox="0 0 13 12"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M1.625 8.125v2.167a1.083 1.083 0 0 0 1.083 1.083h7.584a1.083 1.083 0 0 0 1.083-1.083V8.125"/><path fill="currentColor" fill-rule="evenodd" d="M6.148 1.271a.5.5 0 0 1 .707 0L9.563 3.98a.5.5 0 0 1-.707.707L6.501 2.332 4.147 4.687a.5.5 0 1 1-.708-.707z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M6.5 1.125a.5.5 0 0 1 .5.5v6.5a.5.5 0 0 1-1 0v-6.5a.5.5 0 0 1 .5-.5" clip-rule="evenodd"/></svg> 4404</span> 4405 Share 4406 </button> 4407 <details id="Details-share-template--27943664582899__main"> 4408 <summary class="share-button__button"> 4409 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-share" viewBox="0 0 13 12"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M1.625 8.125v2.167a1.083 1.083 0 0 0 1.083 1.083h7.584a1.083 1.083 0 0 0 1.083-1.083V8.125"/><path fill="currentColor" fill-rule="evenodd" d="M6.148 1.271a.5.5 0 0 1 .707 0L9.563 3.98a.5.5 0 0 1-.707.707L6.501 2.332 4.147 4.687a.5.5 0 1 1-.708-.707z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M6.5 1.125a.5.5 0 0 1 .5.5v6.5a.5.5 0 0 1-1 0v-6.5a.5.5 0 0 1 .5-.5" clip-rule="evenodd"/></svg> 4410</span> 4411 Share 4412 </summary> 4413 <div class="share-button__fallback motion-reduce"> 4414 <div class="field"> 4415 <span id="ShareMessage-template--27943664582899__main" class="share-button__message hidden" role="status"> </span> 4416 <input 4417 type="text" 4418 class="field__input" 4419 id="ShareUrl-template--27943664582899__main" 4420 value="https://iwannasleep.com/products/aliv%E2%84%A2-head-gel-iws" 4421 placeholder="Link" 4422 onclick="this.select();" 4423 readonly 4424 > 4425 <label class="field__label" for="ShareUrl-template--27943664582899__main">Link</label> 4426 </div> 4427 <button class="share-button__close hidden"> 4428 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 4429</span> 4430 <span class="visually-hidden">Close share</span> 4431 </button> 4432 <button class="share-button__copy"> 4433 <span class="svg-wrapper"><svg 4434 class="icon icon-clipboard" 4435 width="11" 4436 height="13" 4437 fill="none" 4438 xmlns="http://www.w3.org/2000/svg" 4439 aria-hidden="true" 4440 focusable="false" 4441 viewBox="0 0 11 13" 4442> 4443 <path fill-rule="evenodd" clip-rule="evenodd" d="M2 1a1 1 0 011-1h7a1 1 0 011 1v9a1 1 0 01-1 1V1H2zM1 2a1 1 0 00-1 1v9a1 1 0 001 1h7a1 1 0 001-1V3a1 1 0 00-1-1H1zm0 10V3h7v9H1z" fill="currentColor"/> 4444</svg> 4445</span> 4446 <span class="visually-hidden">Copy link</span> 4447 </button> 4448 </div> 4449 </details> 4450</share-button> 4451 4452<a href="/products/aliv%E2%84%A2-head-gel-iws" class="link product__view-details animate-arrow"> 4453 View full details 4454<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-arrow" viewB
4454ox="0 0 14 10"><path fill="currentColor" fill-rule="evenodd" d="M8.537.808a.5.5 0 0 1 .817-.162l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 1 1-.708-.708L11.793 5.5H1a.5.5 0 0 1 0-1h10.793L8.646 1.354a.5.5 0 0 1-.109-.546" clip-rule="evenodd"/></svg> 4455</a> 4456 </section> 4457 </div> 4458 </div> 4459 4460 4461 4462<product-modal id="ProductModal-template--27943664582899__main" class="product-media-modal media-modal"> 4463 <div 4464 class="product-media-modal__dialog color-scheme-1 gradient" 4465 role="dialog" 4466 aria-label="Media gallery" 4467 aria-modal="true" 4468 tabindex="-1" 4469 > 4470 <button 4471 id="ModalClose-template--27943664582899__main" 4472 type="button" 4473 class="product-media-modal__toggle" 4474 aria-label="Close" 4475 > 4476 <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-close" viewBox="0 0 18 17"><path fill="currentColor" d="M.865 15.978a.5.5 0 0 0 .707.707l7.433-7.431 7.579 7.282a.501.501 0 0 0 .846-.37.5.5 0 0 0-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 1 0-.707-.708L8.991 7.853 1.413.573a.5.5 0 1 0-.693.72l7.563 7.268z"/></svg> 4477 4478 </button> 4479 4480 <div 4481 class="product-media-modal__content color-scheme-1 gradient" 4482 role="document" 4483 aria-label="Media gallery" 4484 tabindex="0" 4485 > 4486<img 4487 class="global-media-settings global-media-settings--no-shadow" 4488 srcset="//iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=550 550w,//iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1100 1100w,//iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125 1200w 4489 " 4490 sizes="(min-width: 750px) calc(100vw - 22rem), 1100px" 4491 src="//iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=1445" 4492 alt="Aliv⢠Head Gel IWS" 4493 loading="lazy" 4494 width="1100" 4495 height="1100" 4496 data-media-id="39116790530291" 4497 > 4498<img 4499 class="global-media-settings global-media-settings--no-shadow" 4500 srcset="//iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=550 550w,//iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1100 1100w,//iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125 1200w 4501 " 4502 sizes="(min-width: 750px) calc(100vw - 22rem), 1100px" 4503 src="//iwannasleep.com/cdn/shop/files/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125&width=1445" 4504 alt="Aliv⢠Head Gel IWS" 4505 loading="lazy" 4506 width="1100" 4507 height="1100" 4508 data-media-id="39116790366451" 4509 > 4510<img 4511 class="global-media-settings global-media-settings--no-shadow" 4512 srcset="//iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=550 550w,//iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1100 1100w,//iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125 1200w 4513 " 4514 sizes="(min-width: 750px) calc(100vw - 22rem), 1100px" 4515 src="//iwannasleep.com/cdn/shop/files/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125&width=1445" 4516 alt="Aliv⢠Head Gel IWS" 4517 loading="lazy" 4518 width="1100" 4519 height="1100" 4520 data-media-id="39116790399219" 4521 > 4522<img 4523 class="global-media-settings global-media-settings--no-shadow" 4524 srcset="//iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=550 550w,//iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1100 1100w,//iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125 1200w 4525 " 4526 sizes="(min-width: 750px) calc(100vw - 22rem), 1100px" 4527 src="//iwannasleep.com/cdn/shop/files/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125&width=1445" 4528 alt="Aliv⢠Head Gel IWS" 4529 loading="lazy" 4530 width="1100" 4531 height="1100" 4532 data-media-id="39116790431987" 4533 > 4534<img 4535 class="global-media-settings global-media-settings--no-shadow" 4536 srcset="//iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=550 550w,//iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1100 1100w,//iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752 1200w 4537 " 4538 sizes="(min-width: 750px) calc(100vw - 22rem), 1100px" 4539 src="//iwannasleep.com/cdn/shop/files/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752&width=1445" 4540 alt="Aliv⢠Head Gel IWS"
4541 loading="lazy" 4542 width="1100" 4543 height="1100" 4544 data-media-id="39344852304115" 4545 > 4546<img 4547 class="global-media-settings global-media-settings--no-shadow" 4548 srcset="//iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=550 550w,//iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1100 1100w,//iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125 1200w 4549 " 4550 sizes="(min-width: 750px) calc(100vw - 22rem), 1100px" 4551 src="//iwannasleep.com/cdn/shop/files/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125&width=1445" 4552 alt="Aliv⢠Head Gel IWS" 4553 loading="lazy" 4554 width="1100" 4555 height="1100" 4556 data-media-id="39116790497523" 4557 ></div> 4558 </div> 4559</product-modal> 4560 4561 4562
4563<script src="//iwannasleep.com/cdn/shop/t/16/assets/product-modal.js?v=116616134454508949461791305583" defer="defer"></script>
4563 4564
4564<script src="//iwannasleep.com/cdn/shop/t/16/assets/media-gallery.js?v=53998976194532824491791305577" defer="defer"></script>
4564<script type="application/ld+json"> 4565 {"@context":"http:\/\/schema.org\/","@id":"\/products\/aliv%E2%84%A2-head-gel-iws#product","@type":"Product","brand":{"@type":"Brand","name":"I wanna sleep USA"},"category":"Heating Pads","description":"Fast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure.\nHigh-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits.","gtin":"7898972884925","image":"https:\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125\u0026width=1920","name":"Aliv⢠Head Gel IWS","offers":{"@id":"\/products\/aliv%E2%84%A2-head-gel-iws?variant=50546243764467#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"47.00","priceCurrency":"USD","url":"https:\/\/iwannasleep.com\/products\/aliv%E2%84%A2-head-gel-iws?variant=50546243764467"},"sku":"3337-FBM","url":"https:\/\/iwannasleep.com\/products\/aliv%E2%84%A2-head-gel-iws"} 4566 </script>
4566 4567 </div> 4568</product-info> 4569 4570 4571</section><div id="shopify-section-template--27943664582899__iws_sticky_atc_M3hfVG" class="shopify-section"><div 4572 id="IwsStickyAtc-template--27943664582899__iws_sticky_atc_M3hfVG" 4573 class="iws-sticky-atc" 4574 data-iws-sticky-atc 4575 data-observe-target="MainProduct-template--27943664582899__iws_sticky_atc_M3hfVG" 4576 data-product-url="/products/aliv%E2%84%A2-head-gel-iws" 4577 aria-hidden="true" 4578> 4579 <div class="iws-sticky-atc__inner"> 4580 4581 <div class="iws-sticky-atc__media"><img 4582 data-iws-atc-image 4583 src="//iwannasleep.com/cdn/shop/files/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125&width=160" 4584 width="80" 4585 height="80" 4586 alt="Aliv⢠Head Gel IWS" 4587 loading="lazy" 4588 ></div> 4589 4590 <div class="iws-sticky-atc__info"> 4591 <p class="iws-sticky-atc__title">Aliv⢠Head Gel IWS</p><p class="iws-sticky-atc__subcopy">100-Night ⢠Adjustable Fill ⢠Less Bed Takeover</p><p class="iws-sticky-atc__variant" data-iws-atc-variant-label></p> 4592 </div> 4593 4594 <button 4595 type="button" 4596 class="iws-sticky-atc__cta" 4597 data-iws-atc-button 4598 data-variant-id="50546243764467" 4599 4600 > 4601 <span data-iws-atc-button-label>Add to Cart�</span><span aria-hidden="true">â</span> 4602 <span data-iws-atc-button-price>$47.00</span><span class="iws-sticky-atc__cta-compare" data-iws-atc-button-compare>$65.00</span></button> 4603 4604 </div> 4605</div> 4606 4607<style> 4608 .iws-sticky-atc { 4609 position: fixed; 4610 left: 0; 4611 right: 0; 4612 bottom: 0; 4613 z-index: 40; 4614 background: #ffffff; 4615 box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.10); 4616 transform: translateY(100%); 4617 transition: transform 260ms ease; 4618 will-change: transform; 4619 } 4620 4621 .iws-sticky-atc.is-visible { 4622 transform: translateY(0); 4623 } 4624 4625 .iws-sticky-atc__inner { 4626 width: 100%; 4627 max-width: 1400px; 4628 margin: 0 auto; 4629 display: flex;
4630 align-items: center; 4631 gap: 20px; 4632 padding: 12px 24px; 4633 } 4634 4635 .iws-sticky-atc__media { 4636 flex: 0 0 auto; 4637 } 4638 4639 .iws-sticky-atc__media img { 4640 display: block; 4641 width: 56px; 4642 height: 56px; 4643 object-fit: cover; 4644 border-radius: 10px; /* quadrada arredondada â nunca pÃlula/cÃrculo */ 4645 } 4646 4647 .iws-sticky-atc__info { 4648 flex: 1 1 auto; 4649 min-width: 0; 4650 } 4651 4652 .iws-sticky-atc__title { 4653 margin: 0; 4654 font-size: 16px; 4655 font-weight: 600; 4656 color: #580e3f; 4657 white-space: nowrap; 4658 overflow: hidden; 4659 text-overflow: ellipsis; 4660 } 4661 4662 .iws-sticky-atc__subcopy { 4663 margin: 2px 0 0; 4664 font-size: 13px; 4665 color: #7A6A73; 4666 white-space: nowrap; 4667 overflow: hidden; 4668 text-overflow: ellipsis; 4669 } 4670 4671 .iws-sticky-atc__variant { 4672 margin: 2px 0 0; 4673 font-size: 13px; 4674 color: #7A6A73; 4675 } 4676 4677 .iws-sticky-atc__cta { 4678 flex: 0 0 auto; 4679 display: flex; 4680 align-items: center; 4681 justify-content: center; 4682 gap: 8px; 4683 border: none; 4684 border-radius: 8px; 4685 padding: 16px 28px; 4686 background: #b00970; 4687 color: #ffffff; 4688 font-size: 16px; 4689 font-weight: 700; 4690 letter-spacing: 0.02em; 4691 cursor: pointer; 4692 white-space: nowrap; 4693 transition: filter 180ms ease, transform 180ms ease; 4694 } 4695 4696 .iws-sticky-atc__cta-compare { 4697 text-decoration: line-through; 4698 opacity: 0.75; 4699 font-weight: 500; 4700 } 4701 4702 .iws-sticky-atc__cta:hover:not(:disabled) { 4703 filter: brightness(1.08); 4704 } 4705 4706 .iws-sticky-atc__cta:active:not(:disabled) { 4707 transform: translateY(1px); 4708 } 4709 4710 .iws-sticky-atc__cta:disabled { 4711 opacity: 0.5; 4712 cursor: not-allowed; 4713 } 4714 4715 .iws-sticky-atc__cta.is-loading { 4716 opacity: 0.75; 4717 pointer-events: none; 4718 } 4719 4720 /* Mobile: só o botão pill, ocupando a largura toda â sem imagem, sem texto de produto */ 4721 @media (max-width: 749px) { 4722 .iws-sticky-atc__inner { 4723 padding: 10px 12px; 4724 gap: 0; 4725 } 4726 4727 .iws-sticky-atc__media, 4728 .iws-sticky-atc__info { 4729 display: none; 4730 } 4731 4732 .iws-sticky-atc__cta { 4733 flex: 1 1 auto; 4734 width: 100%; 4735 padding: 14px 20px; 4736 } 4737 } 4738</style> 4739
4740<script> 4741 (function () { 4742 var root = document.getElementById('IwsStickyAtc-template--27943664582899__iws_sticky_atc_M3hfVG'); 4743 if (!root) return; 4744 4745 var targetId = root.dataset.observeTarget; 4746 var target = document.getElementById(targetId); 4747 var button = root.querySelector('[data-iws-atc-button]'); 4748 4749 // Fallback automático: se o ID exato não bater (o section.id muda entre 4750 // seções), tenta achar a seção de compra sozinho por padrões comuns de 4751 // tema (Dawn e derivados usam a tag <product-info> ou um id iniciando 4752 // com "MainProduct-"). Assim não é preciso copiar ID manualmente. 4753 if (!target) { 4754 target = 4755 document.querySelector('product-info[id^="MainProduct-"]') || 4756 document.querySelector('[id^="MainProduct-"]') || 4757 document.querySelector('product-info') || 4758 document.querySelector('main [data-section-type="main-product"]'); 4759 } 4760 4761 if (!target) { 4762 console.warn('[iws-sticky-atc] elemento não encontrado. Preencha "ID da seção de compra original" no schema.'); 4763 return; 4764 } 4765 4766 function show() { 4767 root.classList.add('is-visible'); 4768 root.setAttribute('aria-hidden', 'false'); 4769 } 4770 4771 function hide() { 4772 root.classList.remove('is-visible'); 4773 root.setAttribute('aria-hidden', 'true'); 4774 } 4775 4776 // Mostra assim que a seção de compra original sai por CIMA da viewport 4777 // (rolou pra baixo passando dela). Continua fixa até o fim da página. 4778 var observer = new IntersectionObserver( 4779 function (entries) { 4780 entries.forEach(function (entry) { 4781 var scrolledPast = entry.boundingClientRect.top < 0; 4782 if (!entry.isIntersecting && scrolledPast) { 4783 show(); 4784 } else if (entry.isIntersecting) { 4785 hide(); 4786 } 4787 }); 4788 }, 4789 { threshold: 0, rootMargin: '0px' } 4790 ); 4791 4792 observer.observe(target); 4793 4794 // --- Sincroniza variante selecionada (id, imagem, preço, shape/size) --- 4795 // Assume input hidden name="id" dentro do formulário de compra (padrão Dawn). 4796 var resolvedId = target.id || targetId; 4797 var variantInput = document.querySelector('#' + resolvedId + ' [name="id"], form[action*="/cart/add"] [name="id"]'); 4798 4799 function updateFromVariantId(variantId) { 4800 if (!button) return; 4801 button.dataset.variantId = variantId; 4802 } 4803 4804 if (variantInput) { 4805 variantInput.addEventListener('change', function (e) { 4806 updateFromVariantId(e.target.value); 4807 }); 4808 } 4809 4810 // Se o tema dispara um evento customizado de troca de variante 4811 // (ex: "variant:change" no Dawn), escuta também pra atualizar 4812 // imagem, preço e label de shape/size sem reload. 4813 document.addEventListener('variant:change', function (e) { 4814 var variant = e.detail && (e.detail.variant || e.detail); 4815 if (!variant) return; 4816 4817 updateFromVariantId(variant.id); 4818 4819 var img = root.querySelector('[data-iws-atc-image]'); 4820 if (img && variant.featured_image) { 4821 img.src = variant.featured_image.src || variant.featured_image; 4822 } 4823 4824 var label = root.querySelector('[data-iws-atc-variant-label]'); 4825 if (label && variant.title) { 4826 label.textContent = variant.title === 'Default Title' 4827 ? '' 4828 : variant.title.replace(/ \/ /g, ' ⢠'); 4829 } 4830 4831 var priceEl = root.querySelector('[data-iws-atc-button-price]'); 4832 var compareEl = root.querySelector('[data-iws-atc-button-compare]'); 4833 if (variant.price != null) { 4834 var formatted = Shopify && Shopify.formatMoney 4835 ? Shopify.formatMoney(variant.price) 4836 : (variant.price / 100).toFixed(2); 4837 if (priceEl) priceEl.textContent = formatted; 4838 } 4839 if (compareEl) { 4840 var hasCompare = variant.compare_at_price && variant.compare_at_price > variant.price; 4841 compareEl.style.display = hasCompare ? '' : 'none'; 4842 if (hasCompare) { 4843 compareEl.textContent = Shopify && Shopify.formatMoney 4844 ? Shopify.formatMoney(variant.compare_at_price) 4845 : (variant.compare_at_price / 100).toFixed(2); 4846 } 4847 } 4848 4849 if (button) { 4850 button.disabled = variant.available === false; 4851 } 4852 });
4853 4854 // --- Add to cart via AJAX --- 4855 if (button) { 4856 button.addEventListener('click', function () { 4857 if (button.disabled) return; 4858 4859 var variantId = button.dataset.variantId; 4860 var label = button.querySelector('[data-iws-atc-button-label]'); 4861 var originalText = label ? label.textContent : ''; 4862 4863 button.classList.add('is-loading'); 4864 if (label) label.textContent = 'Adding...'; 4865 4866 fetch('/cart/add', { 4867 method: 'POST', 4868 headers: { 'Content-Type': 'application/json', Accept: 'application/json' }, 4869 body: JSON.stringify({ items: [{ id: variantId, quantity: 1 }] }), 4870 }) 4871 .then(function (res) { 4872 if (!res.ok) throw new Error('cart add failed'); 4873 return res.json(); 4874 }) 4875 .then(function () { 4876 if (label) label.textContent = 'Added â'; 4877 document.dispatchEvent(new CustomEvent('cart:refresh')); 4878 setTimeout(function () { 4879 button.classList.remove('is-loading'); 4880 if (label) label.textContent = originalText; 4881 }, 1800); 4882 }) 4883 .catch(function (err) { 4884 console.error('[iws-sticky-atc] erro ao adicionar ao carrinho', err); 4885 button.classList.remove('is-loading'); 4886 if (label) label.textContent = originalText; 4887 }); 4888 }); 4889 } 4890 })(); 4891</script>
4891 4892 4893 4894</div><section id="shopify-section-template--27943664582899__iws_argument_accordion_iU67k9" class="shopify-section iws-arg-section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/iws-argument-accordion.css?v=134299398852423026891791305572" rel="stylesheet" type="text/css" media="all" /> 4895 4896<section 4897 class="iws-arg" 4898 id="iws-arg-template--27943664582899__iws_argument_accordion_iU67k9" 4899 style=" 4900 --iws-magenta: #ec008c; 4901 --iws-plum: #580e3f; 4902 --iws-ink: #241017; 4903 --iws-blush: #f9f1f7; 4904 --iws-visual-bg: #ffdef1; 4905 --iws-border: #ebd9e4; 4906 --iws-order-list: 2; 4907 --iws-order-visual: 1; 4908 --iws-heading-weight: 500; 4909 --iws-heading-size-mobile: 30px; 4910 --iws-heading-size-desktop: 46px; 4911 " 4912> 4913 <div class="iws-arg__inner page-width"> 4914 4915 4916 4917 4918 <h2 class="iws-arg__heading">How Aliv Works</h2> 4919 4920 4921 4922 <p class="iws-arg__subheading">A gel mask you use cold or warm, covering your whole head to relieve 4923headaches and migraines right when you need it.</p> 4924 4925 4926 <div class="iws-arg__grid"> 4927 4928 <div class="iws-arg__list-card"> 4929 4930 4931 <div class="iws-arg__list" role="tablist" aria-label="How Aliv Works"> 4932 4933 4934 <div class="iws-arg__item" > 4935 <button 4936 type="button" 4937 class="iws-arg__toggle is-active" 4938 role="tab" 4939 aria-selected="true" 4940 aria-controls="iws-arg-panel-template--27943664582899__iws_argument_accordion_iU67k9-1" 4941 data-iws-arg-trigger 4942 data-index="0" 4943 > 4944 360° Coverage 4945 </button> 4946 <div 4947 class="iws-arg__description is-active" 4948 id="iws-arg-panel-template--27943664582899__iws_argument_accordion_iU67k9-1" 4949 role="tabpanel" 4950 data-iws-arg-desc 4951 data-index="0" 4952 >The gel wraps all the way around your head, so the temperature hits right where the pain is.</div> 4953 </div> 4954 4955 4956 <div class="iws-arg__item" > 4957 <button 4958 type="button" 4959 class="iws-arg__toggle" 4960 role="tab" 4961 aria-selected="false" 4962 aria-controls="iws-arg-panel-template--27943664582899__iws_argument_accordion_iU67k9-2" 4963 data-iws-arg-trigger 4964 data-index="1" 4965 > 4966 Cold or Warm, Your Call 4967 </button> 4968 <div 4969 class="iws-arg__description" 4970 id="iws-arg-panel-template--27943664582899__iws_argument_accordion_iU67k9-2" 4971 role="tabpanel" 4972 data-iws-arg-desc 4973 data-index="1" 4974 >Use it cold during a migraine flare-up, or warm to relax tension and ease sinus 4975pressure</div> 4976 </div> 4977 4978 4979 <div class="iws-arg__item" > 4980 <button 4981 type="button" 4982 class="iws-arg__toggle" 4983 role="tab" 4984 aria-selected="false" 4985 aria-controls="iws-arg-panel-template--27943664582899__iws_argument_accordion_iU67k9-3" 4986 data-iws-arg-trigger 4987 data-index="2" 4988 > 4989 High-Density Gel 4990 </button> 4991 <div 4992 class="iws-arg__description" 4993 id="iws-arg-panel-template--27943664582899__iws_argument_accordion_iU67k9-3" 4994 role="tabpanel" 4995 data-iws-arg-desc 4996 data-index="2" 4997 >Holds the cold or heat way longer than a regular ice pack.</div> 4998 </div> 4999 5000 5001 <div class="iws-arg__item" > 5002 <button 5003 type="button" 5004 class="iws-arg__toggle" 5005 role="tab" 5006 aria-selected="false" 5007 aria-controls="iws-arg-panel-template--27943664582899__iws_argument_accordion_
5007iU67k9-4" 5008 data-iws-arg-trigger 5009 data-index="3" 5010 > 5011 Drug-Free Relief 5012 </button> 5013 <div 5014 class="iws-arg__description" 5015 id="iws-arg-panel-template--27943664582899__iws_argument_accordion_iU67k9-4" 5016 role="tabpanel" 5017 data-iws-arg-desc 5018 data-index="3" 5019 >A non-invasive option with no side effects, ready whenever you need it.</div> 5020 </div> 5021 5022 5023 5024 </div> 5025 </div> 5026 5027 <div class="iws-arg__visual"> 5028 5029 5030 <div 5031 class="iws-arg__frame is-active" 5032 data-iws-arg-frame 5033 data-index="0" 5034 > 5035 5036 <img 5037 src="//iwannasleep.com/cdn/shop/files/360_Coverage.png?v=1787951066&width=1200" 5038 alt="360° Coverage" 5039 loading="eager" 5040 width="1200" 5041 height="1200" 5042 > 5043 5044 5045 5046 5047 5048 </div> 5049 5050 5051 <div 5052 class="iws-arg__frame" 5053 data-iws-arg-frame 5054 data-index="1" 5055 > 5056 5057 <img 5058 src="//iwannasleep.com/cdn/shop/files/Drug-Free_Relief.png?v=1787951181&width=1200" 5059 alt="Cold or Warm, Your Call" 5060 loading="lazy" 5061 width="1200" 5062 height="1200" 5063 > 5064 5065 5066 5067 5068 5069 </div> 5070 5071 5072 <div 5073 class="iws-arg__frame" 5074 data-iws-arg-frame 5075 data-index="2" 5076 > 5077 5078 <img 5079 src="//iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=1200" 5080 alt="High-Density Gel" 5081 loading="lazy" 5082 width="1200" 5083 height="1200" 5084 > 5085 5086 5087 5088 5089 5090 </div> 5091 5092 5093 <div 5094 class="iws-arg__frame" 5095 data-iws-arg-frame 5096 data-index="3" 5097 > 5098 5099 <img 5100 src="//iwannasleep.com/cdn/shop/files/Cold_or_Warm_Your_Call.png?v=1787951138&width=1200" 5101 alt="Drug-Free Relief" 5102 loading="lazy" 5103 width="1200" 5104 height="1200" 5105 > 5106 5107 5108 5109 5110 5111 </div> 5112 5113 </div> 5114 5115 </div> 5116 </div> 5117</section> 5118
5119<script> 5120 (function () { 5121 var root = document.getElementById('iws-arg-template--27943664582899__iws_argument_accordion_iU67k9'); 5122 if (!root) return; 5123 5124 var triggers = root.querySelectorAll('[data-iws-arg-trigger]'); 5125 var descriptions = root.querySelectorAll('[data-iws-arg-desc]'); 5126 var frames = root.querySelectorAll('[data-iws-arg-frame]'); 5127 5128 triggers.forEach(function (trigger) { 5129 trigger.addEventListener('click', function () { 5130 var index = trigger.getAttribute('data-index'); 5131 5132 triggers.forEach(function (t) { 5133 t.classList.remove('is-active'); 5134 t.setAttribute('aria-selected', 'false'); 5135 }); 5136 trigger.classList.add('is-active'); 5137 trigger.setAttribute('aria-selected', 'true'); 5138 5139 descriptions.forEach(function (d) { 5140 d.classList.toggle('is-active', d.getAttribute('data-index') === index); 5141 }); 5142 5143 frames.forEach(function (frame) { 5144 frame.classList.toggle('is-active', frame.getAttribute('data-index') === index); 5145 }); 5146 }); 5147 }); 5148 })(); 5149</script>
5149 5150 5151 5152</section><div id="shopify-section-template--27943664582899__iws_fit_checklist_zVthcY" class="shopify-section"> 5153 5154<style> 5155 .iws-fit-section-template--27943664582899__iws_fit_checklist_zVthcY { 5156 width: 100%; 5157 padding: 72px 24px; 5158 box-sizing: border-box; 5159 background: #ffffff; 5160 color: #580E3F; 5161 } 5162 5163 .iws-fit-container-template--27943664582899__iws_fit_checklist_zVthcY { 5164 width: 100%; 5165 max-width: 1120px; 5166 margin: 0 auto; 5167 display: grid; 5168 grid-template-columns: 0.9fr 1fr; 5169 gap: 56px; 5170 align-items: center; 5171 } 5172 5173 .iws-fit-content-template--27943664582899__iws_fit_checklist_zVthcY { 5174 display: flex; 5175 flex-direction: column; 5176 gap: 34px; 5177 } 5178 5179 .iws-fit-title-template--27943664582899__iws_fit_checklist_zVthcY { 5180 margin: 0 0 16px; 5181 color: #580E3F; 5182 font-size: 32px; 5183 line-height: 1.08; 5184 letter-spacing: -0.01em; 5185 font-weight: 700; 5186 } 5187 5188 .iws-fit-list-template--27943664582899__iws_fit_checklist_zVthcY { 5189 display: flex; 5190 flex-direction: column; 5191 gap: 9px; 5192 margin: 0; 5193 padding: 0; 5194 list-style: none; 5195 } 5196 5197 .iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY { 5198 display: grid; 5199 grid-template-columns: 20px 1fr; 5200 gap: 9px; 5201 align-items: start; 5202 color: rgba(88, 14, 63, 0.82); 5203 font-size: 16.5px; 5204 line-height: 1.42; 5205 letter-spacing: -0.01em; 5206 font-weight: 400; 5207 } 5208 5209 .iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY { 5210 width: 17px; 5211 height: 17px; 5212 margin-top: 2px; 5213 border-radius: 999px; 5214 display: flex;
5215 align-items: center; 5216 justify-content: center; 5217 background: #EC008C; 5218 box-shadow: 5219 0 6px 14px rgba(236, 0, 140, 0.20), 5220 inset 0 1px 0 rgba(255, 255, 255, 0.26); 5221 } 5222 5223 .iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY svg { 5224 width: 10px; 5225 height: 10px; 5226 stroke: #ffffff; 5227 stroke-width: 2.7; 5228 fill: none; 5229 stroke-linecap: round; 5230 stroke-linejoin: round; 5231 } 5232 5233 .iws-fit-icon-muted-template--27943664582899__iws_fit_checklist_zVthcY { 5234 background: rgba(88, 14, 63, 0.12); 5235 box-shadow: none; 5236 } 5237 5238 .iws-fit-icon-muted-template--27943664582899__iws_fit_checklist_zVthcY svg { 5239 stroke: #580E3F; 5240 opacity: 0.72; 5241 } 5242 5243 .iws-fit-gallery-template--27943664582899__iws_fit_checklist_zVthcY { 5244 display: grid; 5245 grid-template-columns: repeat(2, 1fr); 5246 gap: 14px; 5247 } 5248 5249 .iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY { 5250 position: relative; 5251 overflow: hidden; 5252 border-radius: 16px; 5253 background: #ffffff; 5254 border: 1px solid rgba(110, 20, 84, 0.10); 5255 box-shadow: 5256 0 12px 30px rgba(110, 20, 84, 0.075), 5257 inset 0 1px 0 rgba(255, 255, 255, 1); 5258 aspect-ratio: 1 / 1; 5259 transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease; 5260 } 5261 5262 .iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY:hover { 5263 transform: translateY(-3px); 5264 border-color: rgba(236, 0, 140, 0.20); 5265 box-shadow: 5266 0 18px 42px rgba(110, 20, 84, 0.12), 5267 inset 0 1px 0 rgba(255, 255, 255, 1); 5268 } 5269 5270 .iws-fit-gallery-image-template--27943664582899__iws_fit_checklist_zVthcY { 5271 position: relative; 5272 z-index: 0; 5273 display: block; 5274 width: 100%; 5275 height: 100%; 5276 object-fit: cover; 5277 object-position: center center; 5278 transition: transform 420ms ease; 5279 } 5280 5281 .iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY:hover .iws-fit-gallery-image-template--27943664582899__iws_fit_checklist_zVthcY { 5282 transform: scale(1.035); 5283 } 5284 5285 .iws-fit-gallery-label-template--27943664582899__iws_fit_checklist_zVthcY { 5286 position: absolute; 5287 left: 12px; 5288 bottom: 12px; 5289 z-index: 2; 5290 padding: 7px 10px; 5291 border-radius: 999px; 5292 background: rgba(255, 255, 255, 0.82); 5293 border: 1px solid rgba(110, 20, 84, 0.10); 5294 backdrop-filter: blur(12px); 5295 -webkit-backdrop-filter: blur(12px); 5296 color: #580E3F; 5297 font-size: 11px; 5298 line-height: 1; 5299 letter-spacing: 0.02em; 5300 font-weight: 700; 5301 box-shadow: 0 8px 18px rgba(110, 20, 84, 0.08); 5302 } 5303 5304 @media (max-width: 989px) { 5305 .iws-fit-section-template--27943664582899__iws_fit_checklist_zVthcY { padding: 56px 18px; } 5306 .iws-fit-container-template--27943664582899__iws_fit_checklist_zVthcY { grid-template-columns: 1fr; gap: 36px; max-width: 760px; } 5307 .iws-fit-gallery-template--27943664582899__iws_fit_checklist_zVthcY { order: -1; } 5308 .iws-fit-title-template--27943664582899__iws_fit_checklist_zVthcY { font-size: 29px; } 5309 } 5310 5311 @media (max-width: 749px) { 5312 .iws-fit-section-template--27943664582899__iws_fit_checklist_zVthcY { padding: 44px 14px; } 5313 .iws-fit-container-template--27943664582899__iws_fit_checklist_zVthcY { gap: 30px; } 5314 .iws-fit-content-template--27943664582899__iws_fit_checklist_zVthcY { gap: 30px; } 5315 .iws-fit-title-template--27943664582899__iws_fit_checklist_zVthcY { font-size: 25px; line-height: 1.12; margin-bottom: 15px; } 5316 .iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY { font-size: 13.8px; line-height: 1.42; } 5317 .iws-fit-gallery-template--27943664582899__iws_fit_checklist_zVthcY { gap: 10px; } 5318 .iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY { border-radius: 12px; } 5319 .iws-fit-gallery-label-template--27943664582899__iws_fit_checklist_zVthcY { left: 8px; bottom: 8px; padding: 6px 8px; font-size: 9.5px; } 5320 } 5321</style> 5322 5323<section class="iws-fit-section-template--27943664582899__iws_fit_checklist_zVthcY"> 5324 <div class="iws-fit-container-template--27943664582899__iws_fit_checklist_zVthcY"> 5325 5326 <div class="iws-fit-content-template--27943664582899__iws_fit_checklist_zVthcY"> 5327 5328 <div class="iws-fit-block"> 5329 <h2 class="iws-fit-title-template--27943664582899__iws_fit_checklist_zVthcY">
5329Aliv is for you if</h2> 5330 <ul class="iws-fit-list-template--27943664582899__iws_fit_checklist_zVthcY"> 5331 5332 5333 <li class="iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY" > 5334 <span class="iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY" aria-hidden="true"> 5335 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5336 </span> 5337 <span>You deal with frequent headaches or migraines</span> 5338 </li> 5339 5340 5341 5342 <li class="iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY" > 5343 <span class="iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY" aria-hidden="true"> 5344 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5345 </span> 5346 <span>You have a stressful routine and constant tension</span> 5347 </li> 5348 5349 5350 5351 <li class="iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY" > 5352 <span class="iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY" aria-hidden="true"> 5353 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5354 </span> 5355 <span>You spend a lot of time in front of screens</span> 5356 </li> 5357 5358 5359 5360 <li class="iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY" > 5361 <span class="iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY" aria-hidden="true"> 5362 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5363 </span> 5364 <span>You want non-invasive relief, without reaching for more medication</span> 5365 </li> 5366 5367 5368 5369 <li class="iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY" > 5370 <span class="iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY" aria-hidden="true"> 5371 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5372 </span> 5373 <span>You want a real pause, not just waiting for the pain to pass</span> 5374 </li> 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 </ul> 5390 </div> 5391 5392 <div class="iws-fit-block"> 5393 <h2 class="iws-fit-title-template--27943664582899__iws_fit_checklist_zVthcY">It's probably not for you if</h2> 5394 <ul class="iws-fit-list-template--27943664582899__iws_fit_checklist_zVthcY"> 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 <li class="iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY" > 5408 <span class="iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY iws-fit-icon-muted-template--27943664582899__iws_fit_checklist_zVthcY" aria-hidden="true"> 5409 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5410 </span> 5411 <span>You're seeking medical treatment for severe chronic pain</span> 5412 </li> 5413 5414 5415 5416 <li class="iws-fit-item-template--27943664582899__iws_fit_checklist_zVthcY" > 5417 <span class="iws-fit-icon-template--27943664582899__iws_fit_checklist_zVthcY iws-fit-icon-muted-template--27943664582899__iws_fit_checklist_zVthcY" aria-hidden="true"> 5418 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5419 </span> 5420 <span>You're expecting a permanent fix for the pain</span> 5421 </li> 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 </ul> 5433 </div> 5434 5435 </div> 5436 5437 <div class="iws-fit-gallery-template--27943664582899__iws_fit_checklist_zVthcY"> 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 <div class="iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY" > 5455 5456 <img 5457 class="iws-fit-gallery-image-template--27943664582899__iws_fit_checklist_zVthcY" 5458 src="//iwannasleep.com/cdn/shop/files/Mulher_deitada.png?v=1787952433&width=800" 5459 alt="Drug-free relief" 5460 loading="lazy" 5461 width="800" 5462 height="800" 5463 > 5464 5465
5466 <span class="iws-fit-gallery-label-template--27943664582899__iws_fit_checklist_zVthcY">Drug-free relief</span> 5467 5468 </div> 5469 5470 5471 5472 <div class="iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY" > 5473 5474 <img 5475 class="iws-fit-gallery-image-template--27943664582899__iws_fit_checklist_zVthcY" 5476 src="//iwannasleep.com/cdn/shop/files/Corte_no_gel.png?v=1787953122&width=800" 5477 alt="High-Density Gel" 5478 loading="lazy" 5479 width="800" 5480 height="800" 5481 > 5482 5483 5484 <span class="iws-fit-gallery-label-template--27943664582899__iws_fit_checklist_zVthcY">High-Density Gel</span> 5485 5486 </div> 5487 5488 5489 5490 <div class="iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY" > 5491 5492 <img 5493 class="iws-fit-gallery-image-template--27943664582899__iws_fit_checklist_zVthcY" 5494 src="//iwannasleep.com/cdn/shop/files/Mulher_usando_de_lado.png?v=1787953257&width=800" 5495 alt="360° Coverage" 5496 loading="lazy" 5497 width="800" 5498 height="800" 5499 > 5500 5501 5502 <span class="iws-fit-gallery-label-template--27943664582899__iws_fit_checklist_zVthcY">360° Coverage</span> 5503 5504 </div> 5505 5506 5507 5508 <div class="iws-fit-gallery-card-template--27943664582899__iws_fit_checklist_zVthcY" > 5509 5510 <img 5511 class="iws-fit-gallery-image-template--27943664582899__iws_fit_checklist_zVthcY" 5512 src="//iwannasleep.com/cdn/shop/files/Mao_no_tecido_340bd5e1-5407-4d8f-abca-046fb0306614.png?v=1787953268&width=800" 5513 alt="Practical Reusability" 5514 loading="lazy" 5515 width="800" 5516 height="800" 5517 > 5518 5519 5520 <span class="iws-fit-gallery-label-template--27943664582899__iws_fit_checklist_zVthcY">Practical Reusability</span> 5521 5522 </div> 5523 5524 5525 </div> 5526 5527 </div> 5528</section> 5529 5530</div><section id="shopify-section-template--27943664582899__iws_comparativo_9A9Qcb" class="shopify-section iws-cmp-section"><div class="iws-cmp iws-cmp--full" id="iws-cmp-template--27943664582899__iws_comparativo_9A9Qcb" 5531 style="--iws-accent:#b00970; 5532 --iws-heading:#580e3f; 5533 --iws-text:#580e3f; 5534 --iws-muted:#9a9aa2; 5535 --iws-no:#9a9aa2; 5536 --iws-cross-bg:#f0dee8; 5537 --iws-bg:#ffffff; 5538 --iws-card:#ffffff; 5539 --iws-tile:#e9e9ec; 5540 --iws-highlight:#fbeaf3; 5541 --iws-heading-size:38px; 5542 --iws-heading-size-mobile:24px; 5543 --iws-heading-weight:700; 5544 --iws-cell-size:16px; 5545 --iws-cell-size-mobile:14px; 5546 --iws-name-size:16px; 5547 --iws-name-size-mobile:14px; 5548 --iws-caption-size:12px; 5549 --iws-caption-size-mobile:10px; 5550 --iws-tile-label-size:12px; 5551 --iws-tile-label-size-mobile:10px; 5552 --iws-pt:48px; 5553 --iws-pb:48px; 5554 --iws-pt-mobile:32px; 5555 --iws-pb-mobile:32px; 5556 --iws-px:24px; 5557 --iws-px-mobile:16px; 5558 --iws-box-max:1100px;"> 5559 <div class="iws-cmp__inner"><h2 class="iws-cmp__heading">Aliv vs Others</h2><p class="iws-cmp__subtitle">Because not all relief is the same</p><!-- ===== PRODUCT CARDS (2 colunas) ===== --> 5560 <div class="iws-cmp__products"> 5561 <div class="iws-cmp__product"> 5562 <div class="iws-cmp__tile"><img class="iws-cmp__tile-img" 5563 src="//iwannasleep.com/cdn/shop/files/Aliv.png?v=1787952986&width=480" 5564 srcset="//iwannasleep.com/cdn/shop/files/Aliv.png?v=1787952986&width=240 240w, 5565 //iwannasleep.com/cdn/shop/files/Aliv.png?v=1787952986&width=480 480w" 5566 sizes="(max-width: 749px) 45vw, 240px" 5567 width="1200" 5568 height="1200" 5569 alt="Aliv Head Gel IWS" loading="lazy" decoding="async"></div>
5570 <span class="iws-cmp__prodname iws-cmp__prodname--a">Aliv Head Gel IWS</span></div> 5571 5572 <div class="iws-cmp__product"> 5573 <div class="iws-cmp__tile iws-cmp__tile--muted"><img class="iws-cmp__tile-img" 5574 src="//iwannasleep.com/cdn/shop/files/Outros_d9e10918-3022-4131-a68c-397071bbb809.png?v=1787952981&width=480" 5575 srcset="//iwannasleep.com/cdn/shop/files/Outros_d9e10918-3022-4131-a68c-397071bbb809.png?v=1787952981&width=240 240w, 5576 //iwannasleep.com/cdn/shop/files/Outros_d9e10918-3022-4131-a68c-397071bbb809.png?v=1787952981&width=480 480w" 5577 sizes="(max-width: 749px) 45vw, 240px" 5578 width="1200" 5579 height="1200" 5580 alt="Others" loading="lazy" decoding="async"></div> 5581 <span class="iws-cmp__prodname iws-cmp__prodname--b">Others</span></div> 5582 </div> 5583 5584 <!-- ===== TABELA (3 colunas) ===== --> 5585 <div class="iws-cmp__table" role="table" aria-label="Aliv vs Others"> 5586 <div class="iws-cmp__row iws-cmp__row--head" role="row"> 5587 <div class="iws-cmp__c iws-cmp__c--feat" role="columnheader">Feature</div> 5588 <div class="iws-cmp__c iws-cmp__c--a is-hl is-hl-top" role="columnheader"><span class="iws-cmp__colname iws-cmp__colname--a">Aliv</span></div> 5589 <div class="iws-cmp__c iws-cmp__c--b" role="columnheader"><span class="iws-cmp__colname iws-cmp__colname--b">Others</span></div> 5590 </div><div class="iws-cmp__row" role="row" > 5591 <div class="iws-cmp__c iws-cmp__c--feat" role="cell">Hot and cold in the same product</div> 5592 <div class="iws-cmp__c iws-cmp__c--a is-hl" role="cell"><span class="iws-cmp__badge iws-cmp__badge--yes" aria-label="Sim"> 5593 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5594 </span></div> 5595 <div class="iws-cmp__c iws-cmp__c--b" role="cell"><span class="iws-cmp__badge iws-cmp__badge--no" aria-label="Não"> 5596 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5597 </span></div> 5598 </div><div class="iws-cmp__row" role="row" > 5599 <div class="iws-cmp__c iws-cmp__c--feat" role="cell">360° head coverage</div> 5600 <div class="iws-cmp__c iws-cmp__c--a is-hl" role="cell"><span class="iws-cmp__badge iws-cmp__badge--yes" aria-label="Sim"> 5601 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5602 </span></div> 5603 <div class="iws-cmp__c iws-cmp__c--b" role="cell"><span class="iws-cmp__badge iws-cmp__badge--no" aria-label="Não"> 5604 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5605 </span></div> 5606 </div><div class="iws-cmp__row" role="row" > 5607 <div class="iws-cmp__c iws-cmp__c--feat" role="cell">High-density gel, holds temperature longer</div> 5608 <div class="iws-cmp__c iws-cmp__c--a is-hl" role="cell"><span class="iws-cmp__badge iws-cmp__badge--yes" aria-label="Sim"> 5609 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5610 </span></div> 5611 <div class="iws-cmp__c iws-cmp__c--b" role="cell"><span class="iws-cmp__badge iws-cmp__badge--no" aria-label="Não"> 5612 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5613 </span></div> 5614 </div><div class="iws-cmp__row" role="row" > 5615 <div class="iws-cmp__c iws-cmp__c--feat" role="cell">Drug-free relief, no side effects</div> 5616 <div class="iws-cmp__c iws-cmp__c--a is-hl" role="cell"><span class="iws-cmp__badge iws-cmp__badge--yes" aria-label="Sim"> 5617 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5618 </span></div> 5619 <div class="iws-cmp__c iws-cmp__c--b" role="cell"><span class="iws-cmp__badge iws-cmp__badge--no" aria-label="Não"> 5620 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5621 </span></div> 5622 </div><div class="iws-cmp__row" role="row" > 5623 <div class="iws-cmp__c iws-cmp__c--feat" role="cell">Reusable, freezer or microwave</div> 5624 <div class="iws-cmp__c iws-cmp__c--a is-hl" role="cell"><span class="iws-cmp__badge iws-cmp__badge--yes" aria-label="Sim"> 5625 <svg viewBox="0 0 24 24">
5625<path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5626 </span></div> 5627 <div class="iws-cmp__c iws-cmp__c--b" role="cell"><span class="iws-cmp__badge iws-cmp__badge--no" aria-label="Não"> 5628 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5629 </span></div> 5630 </div><div class="iws-cmp__row is-last" role="row" > 5631 <div class="iws-cmp__c iws-cmp__c--feat" role="cell">Soft, comfortable surface against the skin</div> 5632 <div class="iws-cmp__c iws-cmp__c--a is-hl is-hl-bottom" role="cell"><span class="iws-cmp__badge iws-cmp__badge--yes" aria-label="Sim"> 5633 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5634 </span></div> 5635 <div class="iws-cmp__c iws-cmp__c--b" role="cell"><span class="iws-cmp__badge iws-cmp__badge--no" aria-label="Não"> 5636 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5637 </span></div> 5638 </div></div> 5639 5640 </div> 5641</div> 5642 5643<style> 5644 #iws-cmp-template--27943664582899__iws_comparativo_9A9Qcb{ 5645 --iws-space: 8px; 5646 background: var(--iws-bg); 5647 padding: var(--iws-pt) var(--iws-px) var(--iws-pb); 5648 direction: ltr; 5649 text-align: left; 5650 width: 100%; 5651 } 5652 #iws-cmp-template--27943664582899__iws_comparativo_9A9Qcb *{ box-sizing: border-box; } 5653 #iws-cmp-template--27943664582899__iws_comparativo_9A9Qcb.iws-cmp--full{ 5654 width: 100vw; 5655 max-width: 100vw; 5656 margin-left: calc(50% - 50vw); 5657 margin-right: calc(50% - 50vw); 5658 } 5659 #iws-cmp-template--27943664582899__iws_comparativo_9A9Qcb .iws-cmp__inner{ 5660 max-width: var(--iws-box-max); 5661 width: 100%; 5662 margin: 0 auto; 5663 background: var(--iws-card); 5664 border-radius: 20px; 5665 padding: calc(var(--iws-space) * 4); 5666 box-shadow: 0 2px 20px rgba(0,0,0,.05); 5667 } 5668 .iws-cmp__heading{ 5669 color: var(--iws-heading); 5670 font-size: var(--iws-heading-size); 5671 font-weight: var(--iws-heading-weight); 5672 line-height: 1.15; 5673 margin: 0 0 calc(var(--iws-space) * 0.75); 5674 } 5675 .iws-cmp__subtitle{ color: var(--iws-heading); font-size: 16px; margin: 0 0 calc(var(--iws-space) * 1.25); } 5676 .iws-cmp__tags{ color: var(--iws-muted); font-size: 13px; margin: 0 0 calc(var(--iws-space) * 3); } 5677 .iws-cmp__products{ 5678 display: grid; 5679 grid-template-columns: 1fr 1fr; 5680 gap: calc(var(--iws-space) * 2); 5681 margin-bottom: calc(var(--iws-space) * 3); 5682 } 5683 .iws-cmp__product{ display: flex; flex-direction: column; align-items: center; gap: calc(var(--iws-space) * 1.25); } 5684 .iws-cmp__tile{ 5685 width: 100%; 5686 aspect-ratio: 16 / 10; 5687 background: var(--iws-tile); 5688 border-radius: 14px; 5689 display: flex; 5690 flex-direction: column; 5691 align-items: center; 5692 justify-content: center; 5693 gap: 8px; 5694 overflow: hidden; 5695 padding: 0; 5696 } 5697 .iws-cmp__tile--icon{ padding: 16px; } 5698 .iws-cmp__tile--muted{ background: #d9d9de; } 5699 .iws-cmp__tile-img{ width: 100%; height: 100%; object-fit: cover; display: block; } 5700 .iws-cmp__icon{ width: 30px; height: 30px; color: var(--iws-accent); } 5701 .iws-cmp__icon--muted{ color: var(--iws-muted); } 5702 .iws-cmp__icon svg{ width: 100%; height: 100%; } 5703 .iws-cmp__tile-label{ 5704 font-size: var(--iws-tile-label-size); 5705 color: var(--iws-muted); 5706 text-align: center; 5707 line-height: 1.2; 5708 } 5709 .iws-cmp__prodname{ font-size: var(--iws-name-size); font-weight: 700; text-align: center; line-height: 1.2; } 5710 .iws-cmp__prodname--a{ color: var(--iws-accent); } 5711 .iws-cmp__prodname--b{ color: var(--iws-muted); } 5712 .iws-cmp__caption{ 5713 font-size: var(--iws-caption-size); 5714 font-weight: 400; 5715 text-align: center; 5716 line-height: 1.3; 5717 margin-top: -4px; 5718 } 5719 .iws-cmp__caption--a{ color: var(--iws-text); } 5720 .iws-cmp__caption--b{ color: var(--iws-muted); } 5721 .iws-cmp__table{ display: block; } 5722 .iws-cmp__row{ 5723 display: grid; 5724 grid-template-columns: 1.6fr 1fr 1fr; 5725 align-items: stretch; 5726 border-bottom: 1px solid rgba(0,0,0,.06);
5727 } 5728 .iws-cmp__row.is-last{ border-bottom: 0; } 5729 .iws-cmp__row--head{ border-bottom: 1px solid rgba(0,0,0,.10); } 5730 .iws-cmp__c{ 5731 padding: calc(var(--iws-space) * 2) calc(var(--iws-space) * 1.25); 5732 display: flex; 5733 align-items: center; 5734 } 5735 .iws-cmp__c--feat{ 5736 font-size: var(--iws-cell-size); 5737 color: var(--iws-heading); 5738 line-height: 1.35; 5739 justify-content: flex-start; 5740 } 5741 .iws-cmp__c--a, 5742 .iws-cmp__c--b{ justify-content: center; font-size: var(--iws-cell-size); } 5743 .iws-cmp__c.is-hl{ background: var(--iws-highlight); } 5744 .iws-cmp__c.is-hl-top{ border-radius: 12px 12px 0 0; } 5745 .iws-cmp__c.is-hl-bottom{ border-radius: 0 0 12px 12px; } 5746 .iws-cmp__row--head .iws-cmp__c{ padding-top: calc(var(--iws-space) * 2.25); padding-bottom: calc(var(--iws-space) * 2.25); } 5747 .iws-cmp__colname{ font-weight: 700; font-size: var(--iws-cell-size); } 5748 .iws-cmp__colname--a{ color: var(--iws-accent); } 5749 .iws-cmp__colname--b{ color: var(--iws-muted); } 5750 5751 .iws-cmp__badge{ 5752 width: 22px; 5753 height: 22px; 5754 border-radius: 999px; 5755 display: inline-flex;
5756 align-items: center; 5757 justify-content: center; 5758 background: var(--iws-accent); 5759 box-shadow: 0 6px 14px rgba(0,0,0,.15); 5760 } 5761 .iws-cmp__badge svg{ 5762 width: 12px; 5763 height: 12px; 5764 stroke: #ffffff; 5765 stroke-width: 2.6; 5766 fill: none; 5767 stroke-linecap: round; 5768 stroke-linejoin: round; 5769 } 5770 .iws-cmp__badge--no{ 5771 background: var(--iws-cross-bg); 5772 box-shadow: none; 5773 } 5774 .iws-cmp__badge--no svg{ 5775 stroke: var(--iws-heading); 5776 opacity: .72; 5777 } 5778 5779 .iws-cmp__txt{ color: var(--iws-muted); font-size: calc(var(--iws-cell-size) - 1px); text-align: center; } 5780 5781 @media (max-width: 749px){ 5782 #iws-cmp-template--27943664582899__iws_comparativo_9A9Qcb{ padding: var(--iws-pt-mobile) var(--iws-px-mobile) var(--iws-pb-mobile); } 5783 .iws-cmp__inner{ padding: calc(var(--iws-space) * 2.5); } 5784 .iws-cmp__heading{ font-size: var(--iws-heading-size-mobile); } 5785 .iws-cmp__subtitle{ font-size: 14px; } 5786 .iws-cmp__row{ grid-template-columns: 1.5fr 1fr 1fr; } 5787 .iws-cmp__c{ padding: calc(var(--iws-space) * 1.75) calc(var(--iws-space) * 0.5); } 5788 .iws-cmp__c--feat, 5789 .iws-cmp__c--a, 5790 .iws-cmp__c--b, 5791 .iws-cmp__colname{ font-size: var(--iws-cell-size-mobile); } 5792 .iws-cmp__prodname{ font-size: var(--iws-name-size-mobile); } 5793 .iws-cmp__caption{ font-size: var(--iws-caption-size-mobile); } 5794 .iws-cmp__tile-label{ font-size: var(--iws-tile-label-size-mobile); } 5795 .iws-cmp__badge{ width: 18px; height: 18px; } 5796 .iws-cmp__badge svg{ width: 10px; height: 10px; } 5797 .iws-cmp__txt{ font-size: calc(var(--iws-cell-size-mobile) - 1px); } 5798 } 5799</style> 5800 5801</section><section id="shopify-section-template--27943664582899__iws_swipe_compare_DMLgwa" class="shopify-section iws-swipe-section"><section class="iws-swipe-template--27943664582899__iws_swipe_compare_DMLgwa"> 5802 <div class="iws-swipe-container-template--27943664582899__iws_swipe_compare_DMLgwa"><h2 class="iws-swipe-heading-template--27943664582899__iws_swipe_compare_DMLgwa">What Changes When You Treat the Pain Right Away</h2><p class="iws-swipe-subtitle-template--27943664582899__iws_swipe_compare_DMLgwa">Drag to compare: without Aliv vs. with Alivâ¢</p><div class="iws-swipe-frame-template--27943664582899__iws_swipe_compare_DMLgwa" id="iws-swipe-frame-template--27943664582899__iws_swipe_compare_DMLgwa" style="--pos: 50%;"><img class="iws-swipe-img-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-img-before-template--27943664582899__iws_swipe_compare_DMLgwa" 5803 src="//iwannasleep.com/cdn/shop/files/Sem_Aliv.png?v=1788181417&width=1200" 5804 srcset="//iwannasleep.com/cdn/shop/files/Sem_Aliv.png?v=1788181417&width=600 600w, 5805 //iwannasleep.com/cdn/shop/files/Sem_Aliv.png?v=1788181417&width=1200 1200w" 5806 sizes="(max-width: 749px) 100vw, 720px" 5807 width="1920" 5808 height="1080" 5809 alt="Without Aliv" loading="lazy" decoding="async"><img class="iws-swipe-img-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-img-after-template--27943664582899__iws_swipe_compare_DMLgwa" 5810 src="//iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=1200" 5811 srcset="//iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=600 600w, 5812 //iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=1200 1200w" 5813 sizes="(max-width: 749px) 100vw, 720px" 5814 width="1920" 5815 height="1080" 5816 alt="With Aliv" loading="lazy" decoding="async"><span class="iws-swipe-badge-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-badge-before-template--27943664582899__iws_swipe_compare_DMLgwa">Without Aliv</span><span class="iws-swipe-badge-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-badge-after-template--27943664582899__iws_swipe_compare_DMLgwa">With Aliv</span><div class="iws-swipe-handle-template--27943664582899__iws_swipe_compare_DMLgwa" id="iws-swipe-handle-template--27943664582899__iws_swipe_compare_DMLgwa" role="slider" tabindex="0" 5817 aria-label="What Changes When You Treat the Pain Right Away" aria-valuemin="0" aria-valuemax="100" 5818 aria-valuenow="50"> 5819 <svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#ffffff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"> 5820 <path d="M15 6l-6 6 6 6"/> 5821 </svg> 5822 <svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#ffffff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"> 5823 <path d="M9 6l6 6-6 6"/> 5824 </svg> 5825 </div> 5826 </div> 5827 5828 <div class="iws-swipe-cards-template--27943664582899__iws_swipe_compare_DMLgwa"> 5829 5830 <div class="iws-swipe-card-template--27943664582899__iws_swipe_compare_DMLgwa"> 5831 <div class="iws-swipe-card-title-template--27943664582899__iws_swipe_compare_DMLgwa">
5832 <span class="iws-swipe-icon-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-icon-muted-template--27943664582899__iws_swipe_compare_DMLgwa" aria-hidden="true"> 5833 <svg viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="M6 6l12 12"></path></svg> 5834 </span> 5835 <span>Without Aliv</span> 5836 </div> 5837 <ul class="iws-swipe-list-template--27943664582899__iws_swipe_compare_DMLgwa"><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5838 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-dot-muted-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5839 <span>Throbbing pain</span> 5840 </li><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5841 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-dot-muted-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5842 <span>Trouble focusing</span> 5843 </li><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5844 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-dot-muted-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5845 <span>Wanting to just lie down</span> 5846 </li><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5847 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa iws-swipe-dot-muted-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5848 <span>Reaching for another pill</span> 5849 </li></ul> 5850 </div> 5851 5852 <div class="iws-swipe-card-template--27943664582899__iws_swipe_compare_DMLgwa"> 5853 <div class="iws-swipe-card-title-template--27943664582899__iws_swipe_compare_DMLgwa"> 5854 <span class="iws-swipe-icon-template--27943664582899__iws_swipe_compare_DMLgwa" aria-hidden="true"> 5855 <svg viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7"></path></svg> 5856 </span> 5857 <span>With Aliv</span> 5858 </div> 5859 <ul class="iws-swipe-list-template--27943664582899__iws_swipe_compare_DMLgwa"><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5860 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5861 <span>Pressure eases up</span> 5862 </li><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5863 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5864 <span>Your head relaxes</span> 5865 </li><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5866 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5867 <span>Focus comes back</span> 5868 </li><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5869 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5870 <span>Relief without medication</span> 5871 </li><li class="iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa" > 5872 <span class="iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa"></span> 5873 <span>Ready in minutes</span> 5874 </li></ul> 5875 </div> 5876 5877 </div> 5878 5879 </div> 5880</section> 5881 5882<style> 5883 .iws-swipe-template--27943664582899__iws_swipe_compare_DMLgwa{ 5884 position: relative; 5885 z-index: 0; 5886 isolation: isolate; 5887 width: 100%; 5888 padding: 64px 24px 96px; 5889 box-sizing: border-box; 5890 background: #fff5fa; 5891 } 5892 .iws-swipe-template--27943664582899__iws_swipe_compare_DMLgwa *{ box-sizing: border-box; } 5893 5894 .iws-swipe-container-template--27943664582899__iws_swipe_compare_DMLgwa{ 5895 width: 100%; 5896 max-width: 720px; 5897 margin: 0 auto; 5898 } 5899 5900 .iws-swipe-heading-template--27943664582899__iws_swipe_compare_DMLgwa{ 5901 margin: 0 0 8px; 5902 color: #580e3f; 5903 font-size: 22px; 5904 font-weight: 700; 5905 line-height: 1.15; 5906 text-align: center; 5907 letter-spacing: -0.01em; 5908 } 5909 .iws-swipe-subtitle-template--27943664582899__iws_swipe_compare_DMLgwa{ 5910 margin: 0 0 24px; 5911 color: #80114b; 5912 font-size: 12px; 5913 text-align: center; 5914 line-height: 1.4; 5915 } 5916 5917 .iws-swipe-frame-template--27943664582899__iws_swipe_compare_DMLgwa{ 5918 position: relative; 5919 z-index: 0; 5920 width: 100%; 5921 aspect-ratio: 3 / 2; 5922 border-radius: 18px;
5923 overflow: hidden; 5924 box-shadow: 0 16px 40px rgba(88, 14, 63, 0.14); 5925 user-select: none; 5926 touch-action: none; 5927 } 5928 5929 .iws-swipe-img-template--27943664582899__iws_swipe_compare_DMLgwa{ 5930 position: absolute; 5931 inset: 0; 5932 width: 100%; 5933 height: 100%; 5934 object-fit: cover; 5935 display: block; 5936 pointer-events: none; 5937 } 5938 .iws-swipe-img-before-template--27943664582899__iws_swipe_compare_DMLgwa{ z-index: 1; } 5939 .iws-swipe-img-after-template--27943664582899__iws_swipe_compare_DMLgwa{ 5940 z-index: 2; 5941 clip-path: inset(0 0 0 var(--pos)); 5942 } 5943 5944 .iws-swipe-badge-template--27943664582899__iws_swipe_compare_DMLgwa{ 5945 position: absolute; 5946 top: 16px; 5947 z-index: 3; 5948 padding: 7px 14px; 5949 border-radius: 999px; 5950 font-size: 11px; 5951 font-weight: 700; 5952 letter-spacing: 0.02em; 5953 text-transform: uppercase; 5954 color: #ffffff; 5955 } 5956 .iws-swipe-badge-before-template--27943664582899__iws_swipe_compare_DMLgwa{ 5957 left: 16px; 5958 background: #5e0d37; 5959 } 5960 .iws-swipe-badge-after-template--27943664582899__iws_swipe_compare_DMLgwa{ 5961 right: 16px; 5962 background: #ec008c; 5963 } 5964 5965 .iws-swipe-handle-template--27943664582899__iws_swipe_compare_DMLgwa{ 5966 position: absolute; 5967 top: 50%; 5968 left: var(--pos); 5969 z-index: 4; 5970 width: 44px; 5971 height: 44px; 5972 margin-left: -22px; 5973 margin-top: -22px; 5974 border-radius: 999px; 5975 background: #ec008c; 5976 display: flex;
5977 align-items: center; 5978 justify-content: center; 5979 gap: 2px; 5980 cursor: grab; 5981 box-shadow: 0 8px 20px rgba(0,0,0,0.25), 0 0 0 3px rgba(255,255,255,0.9); 5982 } 5983 .iws-swipe-handle-template--27943664582899__iws_swipe_compare_DMLgwa:active{ cursor: grabbing; } 5984 5985 .iws-swipe-cards-template--27943664582899__iws_swipe_compare_DMLgwa{ 5986 margin-top: 20px; 5987 display: grid; 5988 grid-template-columns: 1fr 1fr; 5989 gap: 14px; 5990 } 5991 5992 .iws-swipe-card-template--27943664582899__iws_swipe_compare_DMLgwa{ 5993 background: #ffffff; 5994 border-radius: 16px; 5995 padding: 22px 20px; 5996 box-shadow: 0 8px 22px rgba(88, 14, 63, 0.08); 5997 } 5998 5999 .iws-swipe-card-title-template--27943664582899__iws_swipe_compare_DMLgwa{ 6000 display: flex; 6001 align-items: center; 6002 gap: 10px; 6003 font-weight: 700; 6004 font-size: 16px; 6005 letter-spacing: -0.01em; 6006 color: #580e3f; 6007 margin-bottom: 14px; 6008 } 6009 6010 .iws-swipe-icon-template--27943664582899__iws_swipe_compare_DMLgwa{ 6011 width: 26px; 6012 height: 26px; 6013 min-width: 26px; 6014 border-radius: 999px; 6015 background: #ec008c; 6016 display: flex;
6017 align-items: center; 6018 justify-content: center; 6019 } 6020 .iws-swipe-icon-template--27943664582899__iws_swipe_compare_DMLgwa svg{ 6021 width: 13px; 6022 height: 13px; 6023 stroke: #ffffff; 6024 stroke-width: 2.6; 6025 fill: none; 6026 stroke-linecap: round; 6027 stroke-linejoin: round; 6028 } 6029 .iws-swipe-icon-muted-template--27943664582899__iws_swipe_compare_DMLgwa{ 6030 background: #efe3ea; 6031 } 6032 .iws-swipe-icon-muted-template--27943664582899__iws_swipe_compare_DMLgwa svg{ 6033 stroke: #580e3f; 6034 opacity: 0.7; 6035 } 6036 6037 .iws-swipe-list-template--27943664582899__iws_swipe_compare_DMLgwa{ 6038 list-style: none; 6039 margin: 0; 6040 padding: 0; 6041 display: flex; 6042 flex-direction: column; 6043 gap: 10px; 6044 } 6045 .iws-swipe-item-template--27943664582899__iws_swipe_compare_DMLgwa{ 6046 display: flex; 6047 align-items: flex-start; 6048 gap: 9px; 6049 font-size: 14px; 6050 letter-spacing: -0.005em; 6051 color: #4e3e48; 6052 line-height: 1.42; 6053 } 6054 .iws-swipe-dot-template--27943664582899__iws_swipe_compare_DMLgwa{ 6055 width: 6px; 6056 height: 6px; 6057 min-width: 6px; 6058 margin-top: 7px; 6059 border-radius: 999px; 6060 background: #ec008c; 6061 } 6062 .iws-swipe-dot-muted-template--27943664582899__iws_swipe_compare_DMLgwa{ 6063 background: #9a8b93; 6064 } 6065 6066 @media (min-width: 750px) { 6067 .iws-swipe-heading-template--27943664582899__iws_swipe_compare_DMLgwa{ font-size: 30px; } 6068 .iws-swipe-subtitle-template--27943664582899__iws_swipe_compare_DMLgwa{ font-size: 14px; } 6069 } 6070 6071 @media (max-width: 749px) { 6072 .iws-swipe-template--27943664582899__iws_swipe_compare_DMLgwa{ padding: 40px 16px 40px; } 6073 .iws-swipe-cards-template--27943664582899__iws_swipe_compare_DMLgwa{ grid-template-columns: 1fr; } 6074 .iws-swipe-handle-template--27943664582899__iws_swipe_compare_DMLgwa{ width: 36px; height: 36px; margin-left: -18px; margin-top: -18px; } 6075 } 6076</style> 6077
6078<script> 6079(function() { 6080 var frame = document.getElementById('iws-swipe-frame-template--27943664582899__iws_swipe_compare_DMLgwa'); 6081 var handle = document.getElementById('iws-swipe-handle-template--27943664582899__iws_swipe_compare_DMLgwa'); 6082 if (!frame || !handle) return; 6083 6084 var dragging = false; 6085 6086 function setPos(clientX) { 6087 var rect = frame.getBoundingClientRect(); 6088 var x = clientX - rect.left; 6089 var pct = (x / rect.width) * 100; 6090 pct = Math.max(0, Math.min(100, pct)); 6091 frame.style.setProperty('--pos', pct + '%'); 6092 handle.setAttribute('aria-valuenow', Math.round(pct)); 6093 } 6094 6095 function onPointerDown(e) { 6096 dragging = true; 6097 var clientX = e.touches ? e.touches[0].clientX : e.clientX; 6098 setPos(clientX); 6099 e.preventDefault(); 6100 } 6101 function onPointerMove(e) { 6102 if (!dragging) return; 6103 var clientX = e.touches ? e.touches[0].clientX : e.clientX; 6104 setPos(clientX); 6105 } 6106 function onPointerUp() { dragging = false; } 6107 6108 handle.addEventListener('mousedown', onPointerDown); 6109 handle.addEventListener('touchstart', onPointerDown, { passive: false }); 6110 frame.addEventListener('mousedown', onPointerDown); 6111 frame.addEventListener('touchstart', onPointerDown, { passive: false }); 6112 6113 window.addEventListener('mousemove', onPointerMove); 6114 window.addEventListener('touchmove', onPointerMove, { passive: false }); 6115 window.addEventListener('mouseup', onPointerUp); 6116 window.addEventListener('touchend', onPointerUp); 6117 6118 handle.addEventListener('keydown', function(e) { 6119 var current = parseFloat(frame.style.getPropertyValue('--pos')) || 50; 6120 if (e.key === 'ArrowLeft') { current -= 4; } 6121 else if (e.key === 'ArrowRight') { current += 4; } 6122 else { return; } 6123 current = Math.max(0, Math.min(100, current)); 6124 frame.style.setProperty('--pos', current + '%'); 6125 handle.setAttribute('aria-valuenow', Math.round(current)); 6126 e.preventDefault(); 6127 }); 6128})(); 6129</script>
6129 6130 6131</section><section id="shopify-section-template--27943664582899__custom_liquid_8RBCQF" class="shopify-section section"><style data-shopify>.section-template--27943664582899__custom_liquid_8RBCQF-padding { 6132 padding-top: calc(40px * 0.75); 6133 padding-bottom: calc(52px * 0.75); 6134 } 6135 6136 @media screen and (min-width: 750px) { 6137 .section-template--27943664582899__custom_liquid_8RBCQF-padding { 6138 padding-top: 40px; 6139 padding-bottom: 52px; 6140 } 6141 }</style><div class="color-scheme-1 gradient"> 6142 <div class="section-template--27943664582899__custom_liquid_8RBCQF-padding"> 6143 6144 </div> 6145</div> 6146 6147 6148</section><section id="shopify-section-template--27943664582899__rich_text_QeaXNJ" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/section-rich-text.css?v=155250126305810049721791305594" rel="stylesheet" type="text/css" media="all" /> 6149<style data-shopify>.section-template--27943664582899__rich_text_QeaXNJ-padding { 6150 padding-top: 54px; 6151 padding-bottom: 39px; 6152 } 6153 6154 @media screen and (min-width: 750px) { 6155 .section-template--27943664582899__rich_text_QeaXNJ-padding { 6156 padding-top: 72px; 6157 padding-bottom: 52px; 6158 } 6159 }</style><div class="isolate page-width"> 6160 <div class="rich-text content-container color-scheme-2 gradient section-template--27943664582899__rich_text_QeaXNJ-padding"> 6161 <div class="rich-text__wrapper rich-text__wrapper--center"> 6162 <div class="rich-text__blocks center"><h2 6163 class="rich-text__heading rte inline-richtext h1 scroll-trigger animate--slide-in" 6164 6165 6166 data-cascade 6167 style="--animation-order: 1;" 6168 6169 > 6170 <strong>100 Nights to Sleep on It and Decide</strong> 6171 </h2><div
6172 class="rich-text__text rte scroll-trigger animate--slide-in" 6173 6174 6175 data-cascade 6176 style="--animation-order: 2;" 6177 6178 > 6179 <p>We believe comfort should be experienced, not guessed. That's why SnowTouch Body Pillow comes with a 100-night trial, giving you time to actually sleep on it and decide whether it is right for you. <br/><br/><strong>If you change your mind, return it within the trial period for a full refund. </strong><a href="https://iwannasleep.com/pages/returns-exchanges" target="_blank" title="https://iwannasleep.com/pages/returns-exchanges"><strong>See how refunds work.</strong></a></p> 6180 </div></div> 6181 </div> 6182 </div> 6183</div> 6184 6185 6186<style> #shopify-section-template--27943664582899__rich_text_QeaXNJ .rich-text {border-radius: 32px; overflow: hidden;} </style></section><section id="shopify-section-template--27943664582899__rich_text_J4ApJX" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/section-rich-text.css?v=155250126305810049721791305594" rel="stylesheet" type="text/css" media="all" /> 6187<style data-shopify>.section-template--27943664582899__rich_text_J4ApJX-padding { 6188 padding-top: 54px; 6189 padding-bottom: 0px; 6190 } 6191 6192 @media screen and (min-width: 750px) { 6193 .section-template--27943664582899__rich_text_J4ApJX-padding { 6194 padding-top: 72px; 6195 padding-bottom: 0px; 6196 } 6197 }</style><div class="isolate"> 6198 <div class="rich-text content-container color-scheme-1 gradient rich-text--full-width content-container--full-width section-template--27943664582899__rich_text_J4ApJX-padding"> 6199 <div class="rich-text__wrapper rich-text__wrapper--center page-width"> 6200 <div class="rich-text__blocks center"></div> 6201 </div> 6202 </div> 6203</div> 6204 6205 6206</section><section id="shopify-section-template--27943664582899__17824990084d038a4a" class="shopify-section section"><div class="page-width scroll-trigger animate--slide-in"></div> 6207 6208 6209</section><section id="shopify-section-template--27943664582899__1760122048c2b06371" class="shopify-section section"><div class="page-width scroll-trigger animate--slide-in"><div id="shopify-block-AR3F2cWpPYTVtdDlJY__loox_reviews_loox_dynamic_section_PPkpdp" class="shopify-block shopify-app-block"> 6210 6211 6212 6213 6214 6215<div 6216 id="looxReviews" 6217 class="loox-widget" 6218 data-limit="6" 6219 6220 6221 6222 6223 data-product-id="9741806272755" 6224 � 6225 6226 data-reviews-to-display="" 6227 data-default-tab="automatic" 6228 style="margin:0 auto;max-width:1200px;" 6229> 6230 <!-- BEGIN app snippet: loox-ssr-reviews-feed --> 6231<!-- END app snippet --> 6232</div> 6233 6234</div> 6235</div> 6236 6237 6238</section><section id="shopify-section-template--27943664582899__rich_text_B3BUL9" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/section-rich-text.css?v=155250126305810049721791305594" rel="stylesheet" type="text/css" media="all" /> 6239<style data-shopify>.section-template--27943664582899__rich_text_B3BUL9-padding { 6240 padding-top: 36px; 6241 padding-bottom: 24px; 6242 } 6243 6244 @media screen and (min-width: 750px) { 6245 .section-template--27943664582899__rich_text_B3BUL9-padding { 6246 padding-top: 48px; 6247 padding-bottom: 32px; 6248 } 6249 }</style><div class="isolate"> 6250 <div class="rich-text content-container color-scheme-1 gradient rich-text--full-width content-container--full-width section-template--27943664582899__rich_text_B3BUL9-padding"> 6251 <div class="rich-text__wrapper rich-text__wrapper--center page-width"> 6252 <div class="rich-text__blocks center"><h2 6253 class="rich-text__heading rte inline-richtext h1 scroll-trigger animate--slide-in" 6254 6255 6256 data-cascade 6257 style="--animation-order: 1;" 6258 6259 > 6260 <strong>Technologies developed at IWS Labs</strong> 6261 </h2><div
6262 class="rich-text__text rte scroll-trigger animate--slide-in" 6263 6264 6265 data-cascade 6266 style="--animation-order: 2;" 6267 6268 > 6269 <p>Engineered to solve specific pain relief needs.</p> 6270 </div></div> 6271 </div> 6272 </div> 6273</div> 6274 6275 6276</section><div id="shopify-section-template--27943664582899__image_with_text_MNyq8H" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/component-image-with-text.css?v=159347133892345898421791305521" rel="stylesheet" type="text/css" media="all" /> 6277<style data-shopify>.section-template--27943664582899__image_with_text_MNyq8H-padding { 6278 padding-top: 36px; 6279 padding-bottom: 18px; 6280 } 6281 6282 @media screen and (min-width: 750px) { 6283 .section-template--27943664582899__image_with_text_MNyq8H-padding { 6284 padding-top: 48px; 6285 padding-bottom: 24px; 6286 } 6287 }</style><div class="section-template--27943664582899__image_with_text_MNyq8H-padding gradient color-scheme-1"> 6288 <div class="page-width"> 6289 <div class="image-with-text image-with-text--no-overlap isolate scroll-trigger animate--slide-in"> 6290 <div class="image-with-text__grid grid grid--gapless grid--1-col grid--2-col-tablet image-with-text__grid--reverse"> 6291 <div class="image-with-text__media-item image-with-text__media-item--medium image-with-text__media-item--middle grid__item"> 6292 <div 6293 class="image-with-text__media image-with-text__media--large global-media-settings background-transparent media" 6294 6295 ><img src="//iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=1500" alt="" srcset="//iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=165 165w, //iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=360 360w, //iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=535 535w, //iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=750 750w, //iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=1070 1070w, //iwannasleep.com/cdn/shop/files/High-Density_Gel.png?v=1787951126&width=1500 1500w" width="1500" height="1500" loading="lazy" sizes="(min-width: 1400px) 650px, 6296 (min-width: 750px) calc((100vw - 130px) / 2), calc((100vw - 50px) / 2)" fetchpriority="auto"> 6297</div> 6298 </div> 6299 <div class="image-with-text__text-item grid__item"> 6300 <div 6301 id="ImageWithText--template--27943664582899__image_with_text_MNyq8H" 6302 class="image-with-text__content image-with-text__content--middle image-with-text__content--desktop-left image-with-text__content--mobile-left image-with-text__content--large content-container background-transparent" 6303 ><h2 6304 class="image-with-text__heading inline-richtext h1" 6305 6306 > 6307 <strong>High-Density Gel</strong> 6308 </h2><div class="image-with-text__text rte body" > 6309 <p>A high-density gel built to outlast basic gel packs, so the relief doesn't fade halfway through.</p> 6310 </div></div> 6311 </div> 6312 </div> 6313 </div> 6314 </div> 6315</div> 6316 6317 6318<style> #shopify-section-template--27943664582899__image_with_text_MNyq8H img, #shopify-section-template--27943664582899__image_with_text_MNyq8H img + *, #shopify-section-template--27943664582899__image_with_text_MNyq8H picture {border-radius: 48px; overflow: hidden;} </style></div><div id="shopify-section-template--27943664582899__image_with_text_dJccHn" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/component-image-with-text.css?v=159347133892345898421791305521" rel="stylesheet" type="text/css" media="all" /> 6319<style data-shopify>.section-template--27943664582899__image_with_text_dJccHn-padding { 6320 padding-top: 36px; 6321 padding-bottom: 39px; 6322 } 6323 6324 @media screen and (min-width: 750px) { 6325 .section-template--27943664582899__image_with_text_dJccHn-padding { 6326 padding-top: 48px; 6327 padding-bottom: 52px; 6328 } 6329 }</style><div class="section-template--27943664582899__image_with_text_dJccHn-padding gradient color-scheme-1"> 6330 <div class="page-width"> 6331 <div class="image-with-text image-with-text--no-overlap isolate scroll-tr
6331igger animate--slide-in"> 6332 <div class="image-with-text__grid grid grid--gapless grid--1-col grid--2-col-tablet"> 6333 <div class="image-with-text__media-item image-with-text__media-item--medium image-with-text__media-item--middle grid__item"> 6334 <div 6335 class="image-with-text__media image-with-text__media--large global-media-settings background-transparent media" 6336 6337 ><img src="//iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=1500" alt="" srcset="//iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=165 165w, //iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=360 360w, //iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=535 535w, //iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=750 750w, //iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=1070 1070w, //iwannasleep.com/cdn/shop/files/Com_Aliv.png?v=1788181421&width=1500 1500w" width="1500" height="844" loading="lazy" sizes="(min-width: 1400px) 650px, 6338 (min-width: 750px) calc((100vw - 130px) / 2), calc((100vw - 50px) / 2)" fetchpriority="auto"> 6339</div> 6340 </div> 6341 <div class="image-with-text__text-item grid__item"> 6342 <div 6343 id="ImageWithText--template--27943664582899__image_with_text_dJccHn" 6344 class="image-with-text__content image-with-text__content--middle image-with-text__content--desktop-left image-with-text__content--mobile-left image-with-text__content--large content-container background-transparent" 6345 ><h2 6346 class="image-with-text__heading inline-richtext h1" 6347 6348 > 6349 <strong> 360° Coverage</strong> 6350 </h2><div class="image-with-text__text rte body" > 6351 <p>The gel wraps fully around your head, delivering consistent relief right where the pain is.</p> 6352 </div></div> 6353 </div> 6354 </div> 6355 </div> 6356 </div> 6357</div> 6358 6359 6360<style> #shopify-section-template--27943664582899__image_with_text_dJccHn img, #shopify-section-template--27943664582899__image_with_text_dJccHn img + *, #shopify-section-template--27943664582899__image_with_text_dJccHn picture {border-radius: 48px; overflow: hidden;} </style></div><div id="shopify-section-template--27943664582899__image_with_text_ibYb9X" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/component-image-with-text.css?v=159347133892345898421791305521" rel="stylesheet" type="text/css" media="all" /> 6361<style data-shopify>.section-template--27943664582899__image_with_text_ibYb9X-padding { 6362 padding-top: 36px; 6363 padding-bottom: 18px; 6364 } 6365 6366 @media screen and (min-width: 750px) { 6367 .section-template--27943664582899__image_with_text_ibYb9X-padding { 6368 padding-top: 48px; 6369 padding-bottom: 24px; 6370 } 6371 }</style><div class="section-template--27943664582899__image_with_text_ibYb9X-padding gradient color-scheme-1"> 6372 <div class="page-width"> 6373 <div class="image-with-text image-with-text--no-overlap isolate scroll-trigger animate--slide-in"> 6374 <div class="image-with-text__grid grid grid--gapless grid--1-col grid--2-col-tablet image-with-text__grid--reverse"> 6375 <div class="image-with-text__media-item image-with-text__media-item--medium image-with-text__media-item--middle grid__item"> 6376 <div 6377 class="image-with-text__media image-with-text__media--large global-media-settings background-transparent media" 6378 6379 ><img src="//iwannasleep.com/cdn/shop/files/frio_ou_quente.png?v=1787952701&width=1500" alt="" srcset="//iwannasleep.com/cdn/shop/files/frio_ou_quente.png?v=1787952701&width=165 165w, //iwannasleep.com/cdn/shop/files/frio_ou_quente.png?v=1787952701&width=360 360w, //iwannasleep.com/cdn/shop/files/frio_ou_quente.png?v=1787952701&width=535 535w, //iwannasleep.com/cdn/shop/files/frio_ou_quente.png?v=1787952701&width=750 750w, //iwannasleep.com/cdn/shop/files/frio_ou_quente.png?v=1787952701&width=1070 1070w, //iwannasleep.com/cdn/shop/files/frio_ou_quente.png?v=1787952701&width=1500 1500w" width="1500" height="1500" loading="lazy" sizes="(min-width: 1400px) 650px, 6380 (min-width: 750px) calc((100vw - 130px) / 2), calc((100vw - 50px) / 2)" fetchpriority="auto"> 6381</div> 6382 </div> 6383 <div class="image-with-text__text-item grid__item"> 6384 <div 6385 id="ImageWithText--template--27943664582899__image_with_text_ibYb9X" 6386 class="image-with-text__content image-with-text__content--middle image-with-text__content--desktop-left image-with-text__content--mobile-left image-with-text__content--large content-container background-trans
6386parent" 6387 ><h2 6388 class="image-with-text__heading inline-richtext h1" 6389 6390 > 6391 <strong>Practical Reusability</strong> 6392 </h2><div class="image-with-text__text rte body" > 6393 <p>Freezer or microwave, ready in minutes, no complicated setup.</p> 6394 </div></div> 6395 </div> 6396 </div> 6397 </div> 6398 </div> 6399</div> 6400 6401 6402<style> #shopify-section-template--27943664582899__image_with_text_ibYb9X img, #shopify-section-template--27943664582899__image_with_text_ibYb9X img + *, #shopify-section-template--27943664582899__image_with_text_ibYb9X picture {border-radius: 48px; overflow: hidden;} </style></div><section id="shopify-section-template--27943664582899__banner_responsivo_cEnjkT" class="shopify-section desktop-mobile-banner"><style> 6403.banner-container img{ 6404 width: 100%; 6405} 6406.hidden-mobile { 6407 display: none; 6408} 6409.hidden-desktop { 6410 display: block; 6411} 6412@media (min-width: 767px){ 6413 .hidden-mobile { 6414 display: block; 6415 } 6416 .hidden-desktop { 6417 display: none; 6418 } 6419} 6420</style> 6421 6422<div class="banner-container"> 6423 <a href=""> <img class="hidden-mobile" src="//iwannasleep.com/cdn/shop/files/SELOS_NOVA_PAGINA.png?v=1782490222"></a> 6424 <a href=""> <img class="hidden-desktop" src="//iwannasleep.com/cdn/shop/files/SELO_NOVA_PAGINA2.png?v=1782490219"></a> 6425</div> 6426 6427 6428</section><section id="shopify-section-template--27943664582899__custom_liquid_dVtzmm" class="shopify-section section"><style data-shopify>.section-template--27943664582899__custom_liquid_dVtzmm-padding { 6429 padding-top: calc(40px * 0.75); 6430 padding-bottom: calc(52px * 0.75); 6431 } 6432 6433 @media screen and (min-width: 750px) { 6434 .section-template--27943664582899__custom_liquid_dVtzmm-padding { 6435 padding-top: 40px; 6436 padding-bottom: 52px; 6437 } 6438 }</style><div class="color-scheme-1 gradient"> 6439 <div class="section-template--27943664582899__custom_liquid_dVtzmm-padding"> 6440 6441 </div> 6442</div> 6443 6444 6445</section><section id="shopify-section-template--27943664582899__iws_whats_included_9d3Fxh" class="shopify-section iws-included-section-wrapper"><style> 6446 .iws-included-template--27943664582899__iws_whats_included_9d3Fxh { 6447 width: 100%; 6448 padding: 72px 24px 72px; 6449 box-sizing: border-box; 6450 background: #fdedf8cc; 6451 color: #580e3f; 6452 } 6453 6454 .iws-included-container-template--27943664582899__iws_whats_included_9d3Fxh { 6455 width: 100%; 6456 max-width: 1120px; 6457 margin: 0 auto; 6458 display: grid; 6459 grid-template-columns: 0.95fr 1fr; 6460 gap: 56px; 6461 align-items: center; 6462 } 6463 6464 .iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh { 6465 position: relative; 6466 width: 100%; 6467 border-radius: 24px; 6468 overflow: hidden; 6469 background: #ffffff; 6470 border: 1px solid rgba(110, 20, 84, 0.10); 6471 box-shadow: 6472 0 18px 48px rgba(110, 20, 84, 0.10), 6473 inset 0 1px 0 rgba(255, 255, 255, 1); 6474 aspect-ratio: 4 / 5; 6475 } 6476 6477 .iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh::before { 6478 content: ""; 6479 position: absolute; 6480 inset: 0; 6481 pointer-events: none; 6482 z-index: 1; 6483 background: 6484 radial-gradient(circle at 12% 0%, rgba(236, 0, 140, 0.045), transparent 34%), 6485 radial-gradient(circle at 100% 12%, rgba(146, 14, 98, 0.045), transparent 36%); 6486 } 6487 6488 .iws-included-image-template--27943664582899__iws_whats_included_9d3Fxh { 6489 position: relative; 6490 z-index: 2; 6491 display: block; 6492 width: 100%; 6493 height: 100%; 6494 object-fit: cover; 6495 object-position: center center; 6496 transition: transform 420ms ease; 6497 } 6498 6499 .iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh:hover .iws-included-image-template--27943664582899__iws_whats_included_9d3Fxh { 6500 transform: scale(1.025); 6501 } 6502 6503 .iws-included-content-template--27943664582899__iws_whats_included_9d3Fxh { 6504 position: relative; 6505 } 6506 6507 .iws-included-eyebrow-template--27943664582899__iws_whats_included_9d3Fxh { 6508 display: inline-flex;
6509 align-items: center; 6510 gap: 8px; 6511 margin-bottom: 14px; 6512 padding: 7px 11px; 6513 border-radius: 999px; 6514 background: #ffffff; 6515 border: 1px solid rgba(110, 20, 84, 0.10); 6516 box-shadow: 0 8px 20px rgba(110, 20, 84, 0.055); 6517 color: rgba(88, 14, 63, 0.78); 6518 font-size: 11px; 6519 line-height: 1; 6520 letter-spacing: 0.08em; 6521 text-transform: uppercase; 6522 font-weight: 700; 6523 } 6524 6525 .iws-included-eyebrow-dot-template--27943664582899__iws_whats_included_9d3Fxh { 6526 width: 7px; 6527 height: 7px; 6528 border-radius: 999px; 6529 background: #ec008c; 6530 box-shadow: 0 0 0 4px rgba(236, 0, 140, 0.12); 6531 } 6532 6533 .iws-included-title-template--27943664582899__iws_whats_included_9d3Fxh { 6534 margin: 0 0 24px; 6535 max-width: 540px; 6536 color: #580e3f; 6537 font-size: 38px; 6538 line-height: 1.05; 6539 letter-spacing: 0em; 6540 font-weight: 700; 6541 } 6542 6543 .iws-included-list-template--27943664582899__iws_whats_included_9d3Fxh { 6544 display: flex; 6545 flex-direction: column; 6546 gap: 12px; 6547 margin: 0; 6548 padding: 0; 6549 list-style: none; 6550 } 6551 6552 .iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh { 6553 display: grid; 6554 grid-template-columns: 26px 1fr; 6555 gap: 11px; 6556 align-items: start; 6557 padding: 12px 14px; 6558 border-radius: 16px; 6559 background: #ffffff; 6560 border: 1px solid rgba(110, 20, 84, 0.08); 6561 box-shadow: 6562 0 8px 22px rgba(110, 20, 84, 0.045), 6563 inset 0 1px 0 rgba(255, 255, 255, 1); 6564 transition: 6565 transform 220ms ease, 6566 box-shadow 220ms ease, 6567 border-color 220ms ease; 6568 } 6569 6570 .iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh:hover { 6571 transform: translateY(-2px); 6572 border-color: rgba(236, 0, 140, 0.18); 6573 box-shadow: 6574 0 14px 30px rgba(110, 20, 84, 0.08), 6575 inset 0 1px 0 rgba(255, 255, 255, 1); 6576 } 6577 6578 .iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh { 6579 width: 22px; 6580 height: 22px; 6581 border-radius: 999px; 6582 background: #ec008c; 6583 display: flex;
6584 align-items: center; 6585 justify-content: center; 6586 margin-top: 1px; 6587 box-shadow: 6588 0 7px 16px rgba(236, 0, 140, 0.22), 6589 inset 0 1px 0 rgba(255, 255, 255, 0.26); 6590 } 6591 6592 .iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh svg { 6593 width: 12px; 6594 height: 12px; 6595 stroke: #ffffff; 6596 stroke-width: 2.6; 6597 fill: none; 6598 stroke-linecap: round; 6599 stroke-linejoin: round; 6600 } 6601 6602 .iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh { 6603 margin: 0; 6604 color: #580e3fd1; 6605 font-size: 15px; 6606 line-height: 1.36; 6607 letter-spacing: -0.015em; 6608 font-weight: 400; 6609 } 6610 6611 .iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh p { 6612 margin: 0; 6613 } 6614 6615 .iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh strong { 6616 color: #580e3f; 6617 font-weight: 700; 6618 } 6619 6620 @media (max-width: 989px) { 6621 .iws-included-template--27943664582899__iws_whats_included_9d3Fxh { padding: 52px 18px; } 6622 .iws-included-container-template--27943664582899__iws_whats_included_9d3Fxh { grid-template-columns: 1fr; gap: 34px; max-width: 720px; } 6623 .iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh { border-radius: 20px; } 6624 .iws-included-title-template--27943664582899__iws_whats_included_9d3Fxh { font-size: 32px; max-width: 100%; } 6625 } 6626 6627 @media (max-width: 749px) { 6628 .iws-included-template--27943664582899__iws_whats_included_9d3Fxh { padding: 40px 14px 40px; } 6629 .iws-included-container-template--27943664582899__iws_whats_included_9d3Fxh { gap: 26px; } 6630 .iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh { border-radius: 16px; } 6631 .iws-included-title-template--27943664582899__iws_whats_included_9d3Fxh { 6632 font-size: 27px; 6633 line-height: 1.08; 6634 margin-bottom: 18px; 6635 } 6636 .iws-included-eyebrow-template--27943664582899__iws_whats_included_9d3Fxh { font-size: 10px; margin-bottom: 12px; } 6637 .iws-included-list-template--27943664582899__iws_whats_included_9d3Fxh { gap: 9px; } 6638 .iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh { 6639 grid-template-columns: 24px 1fr; 6640 gap: 10px; 6641 padding: 11px 12px; 6642 border-radius: 14px; 6643 } 6644 .iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh:hover { transform: none; } 6645 .iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh { width: 20px; height: 20px; } 6646 .iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh svg { width: 11px; height: 11px; } 6647 .iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh { font-size: 14px; line-height: 1.42; } 6648 } 6649 6650 @media (prefers-reduced-motion: reduce) { 6651 .iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh .iws-included-image-template--27943664582899__iws_whats_included_9d3Fxh, 6652 .iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh { transition: none; } 6653 .iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh:hover .iws-included-image-template--27943664582899__iws_whats_included_9d3Fxh, 6654 .iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh:hover { transform: none; } 6655 } 6656</style> 6657 6658<section class="iws-included-template--27943664582899__iws_whats_included_9d3Fxh"> 6659 <div class="iws-included-container-template--27943664582899__iws_whats_included_9d3Fxh"> 6660 6661 <div class="iws-included-media-template--27943664582899__iws_whats_included_9d3Fxh"><img 6662 class="iws-included-image-template--27943664582899__iws_whats_included_9d3Fxh" 6663 src="//iwannasleep.com/cdn/shop/files/aliv_head_gel_iws_13.png?v=1758631853&width=1200" 6664 srcset="//iwannasleep.com/cdn/shop/files/aliv_head_gel_iws_13.png?v=1758631853&width=600 600w, 6665 //iwannasleep.com/cdn/shop/files/aliv_head_gel_iws_13.png?v=1758631853&width=1200 1200w" 6666 sizes="(max-width: 749px) 100vw, 560px" 6667 width="1000" 6668 height="1000" 6669 alt="Everything You Get With Aliv⢠Head Gel" 6670 loading="lazy" 6671 ></div> 6672 6673 <div class="iws-included-content-template--27943664582899__iws_whats_included_9d3Fxh"><div class="iws-included-eyebrow-template--27943664582899__iws_whats_included_9d3Fxh">
6674 <span class="iws-included-eyebrow-dot-template--27943664582899__iws_whats_included_9d3Fxh" aria-hidden="true"></span> 6675 What's included 6676 </div><h2 class="iws-included-title-template--27943664582899__iws_whats_included_9d3Fxh">Everything You Get With Aliv⢠Head Gel</h2><ul class="iws-included-list-template--27943664582899__iws_whats_included_9d3Fxh"><li class="iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh" > 6677 <span class="iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh" aria-hidden="true"> 6678 <svg viewBox="0 0 24 24"> 6679 <path d="M5 12.5l4.5 4.5L19 7"></path> 6680 </svg> 6681 </span> 6682 <div class="iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh"><p>Aliv⢠Head Gel, cold or warm relief</p></div> 6683 </li><li class="iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh" > 6684 <span class="iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh" aria-hidden="true"> 6685 <svg viewBox="0 0 24 24"> 6686 <path d="M5 12.5l4.5 4.5L19 7"></path> 6687 </svg> 6688 </span> 6689 <div class="iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh"><p>360° head coverage</p></div> 6690 </li><li class="iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh" > 6691 <span class="iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh" aria-hidden="true"> 6692 <svg viewBox="0 0 24 24"> 6693 <path d="M5 12.5l4.5 4.5L19 7"></path> 6694 </svg> 6695 </span> 6696 <div class="iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh"><p> Instant relief during flare-ups</p></div> 6697 </li><li class="iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh" > 6698 <span class="iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh" aria-hidden="true"> 6699 <svg viewBox="0 0 24 24"> 6700 <path d="M5 12.5l4.5 4.5L19 7"></path> 6701 </svg> 6702 </span> 6703 <div class="iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh"><p>Reusable as many times as you need</p></div> 6704 </li><li class="iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh" > 6705 <span class="iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh" aria-hidden="true"> 6706 <svg viewBox="0 0 24 24"> 6707 <path d="M5 12.5l4.5 4.5L19 7"></path> 6708 </svg> 6709 </span> 6710 <div class="iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh"><p>100-night risk-free trial</p></div> 6711 </li><li class="iws-included-item-template--27943664582899__iws_whats_included_9d3Fxh" > 6712 <span class="iws-included-check-template--27943664582899__iws_whats_included_9d3Fxh" aria-hidden="true"> 6713 <svg viewBox="0 0 24 24"> 6714 <path d="M5 12.5l4.5 4.5L19 7"></path> 6715 </svg> 6716 </span> 6717 <div class="iws-included-text-template--27943664582899__iws_whats_included_9d3Fxh"><p>Free shipping</p></div> 6718 </li></ul> 6719 </div> 6720 6721 </div> 6722</section> 6723 6724</section><section id="shopify-section-template--27943664582899__rich_text_Gtppj7" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/section-rich-text.css?v=155250126305810049721791305594" rel="stylesheet" type="text/css" media="all" /> 6725<style data-shopify>.section-template--27943664582899__rich_text_Gtppj7-padding { 6726 padding-top: 60px; 6727 padding-bottom: 0px; 6728 } 6729 6730 @media screen and (min-width: 750px) { 6731 .section-template--27943664582899__rich_text_Gtppj7-padding { 6732 padding-top: 80px; 6733 padding-bottom: 0px; 6734 } 6735 }</style><div class="isolate"> 6736 <div class="rich-text content-container color-scheme-1 gradient rich-text--full-width content-container--full-width section-template--27943664582899__rich_text_Gtppj7-padding"> 6737 <div class="rich-text__wrapper rich-text__wrapper--center page-width"> 6738 <div class="rich-text__blocks center"><p 6739 class="rich-text__caption caption-with-letter-spacing caption-with-letter-spacing--medium scroll-tr
6739igger animate--slide-in" 6740 6741 6742 data-cascade 6743 style="--animation-order: 1;" 6744 6745 > 6746 Still have questions? 6747 </p><h2 6748 class="rich-text__heading rte inline-richtext h2 scroll-trigger animate--slide-in" 6749 6750 6751 data-cascade 6752 style="--animation-order: 2;" 6753 6754 > 6755 <strong>The 7 Questions We Get the Most</strong> 6756 </h2><div 6757 class="rich-text__text rte scroll-trigger animate--slide-in" 6758 6759 6760 data-cascade 6761 style="--animation-order: 3;" 6762 6763 > 6764 <p>We know you might still have questions. We built this section to clear them up and help you feel confident about your decision.</p> 6765 </div></div> 6766 </div> 6767 </div> 6768</div> 6769 6770 6771</section><section id="shopify-section-template--27943664582899__collapsible_content_WedyHN" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/component-accordion.css?v=7971072480289620591791305516" rel="stylesheet" type="text/css" media="all" /> 6772<link href="//iwannasleep.com/cdn/shop/t/16/assets/collapsible-content.css?v=113829722280668215821791305515" rel="stylesheet" type="text/css" media="all" /> 6773<style data-shopify>.section-template--27943664582899__collapsible_content_WedyHN-padding { 6774 padding-top: 0px; 6775 padding-bottom: 30px; 6776 } 6777 6778 @media screen and (min-width: 750px) { 6779 .section-template--27943664582899__collapsible_content_WedyHN-padding { 6780 padding-top: 0px; 6781 padding-bottom: 40px; 6782 } 6783 }</style><div class="color-scheme-1 gradient"> 6784 <div class="collapsible-content collapsible-none-layout isolate content-container content-container--full-width"> 6785 <div class="collapsible-content__wrapper section-template--27943664582899__collapsible_content_WedyHN-padding"> 6786 <div class="collapsible-content-wrapper-narrow"> 6787 <div 6788 class="collapsible-content__header scroll-trigger animate--slide-in" 6789 style="text-align: left;" 6790 > 6791<h2 class="visually-hidden">Collapsible content</h2> 6792 6793 </div> 6794 <div class="grid grid--1-col grid--2-col-tablet collapsible-content__grid collapsible-content__grid--reverse scroll-trigger animate--slide-in"> 6795 <div class="grid__item"><div 6796 class="accordion" 6797 6798 > 6799 <details 6800 id="Details-collapsible_row_pwq6Xj-template--27943664582899__collapsible_content_WedyHN" 6801 6802 open 6803 6804 > 6805 <summary id="Summary-collapsible_row_pwq6Xj-template--27943664582899__collapsible_content_WedyHN"> 6806 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-question-mark" viewBox="0 0 20 20"><path d="M9.563 11.959a.367.367 0 0 1-.367-.367v-.127c-.003-.49.084-.91.316-1.303.227-.384.575-.715 1.04-1.063.415-.311.666-.566.817-.81a1.43 1.43 0 0 0 .208-.795v-.013c0-.894-.657-1.531-1.568-1.531-.862 0-1.527.606-1.612 1.609a.37.37 0 0 1-.097.219l-.006.006a.37.37 0 0 1-.264.117l-.471.007a.367.367 0 0 1-.362-.453c.112-1.519 1.219-2.712 2.825-2.712 1.603 0 2.791 1.176 2.791 2.718v.013c0 .512-.114.965-.366 1.387-.248.416-.619.783-1.101 1.145l-.003.002c-.414.305-.637.526-.764.738-.12.2-.172.422-.172.771v.075a.367.367 0 0 1-.367.367zm1.142 2.423c0 .473-.335.88-.838.88-.497 0-.845-.4-.845-.88 0-.477.351-.874.845-.874.5 0 .838.403.838.874"/><path d="M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0M10 17.497a7.497 7.497 0 1 0 0-14.994 7.497 7.497 0 0 0 0 14.994"/></svg> 6807</span> 6808 <h3 class="accordion__title inline-richtext h4"> 6809 What is the Aliv Head Gel? 6810 </h3><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 6811</summary> 6812 <div 6813 class="accordion__content rte" 6814 id="CollapsibleAccordion-collapsible_row_pwq6Xj-template--27943664582899__collapsible_content_WedyHN" 6815 role="region" 6816 aria-labelledby="Summary-collapsible_row_pwq6Xj-template--27943664582899__collapsible_content_WedyHN" 6817 > 6818 <p>It's a gel mask that covers your whole head and can be used cold or warm to relieve<br/>headaches and migraines.</p> 6819 6820 </div> 6821 </details> 6822 </div><div 6823 class="accordion" 6824 6825 > 6826 <details 6827 id="Details-collapsible_row_F6QczE-template--27943664582899__collapsible_content_WedyHN" 6828 6829 > 6830 <summary id="Summary-collapsible_row_F6QczE-template--27943664582899__collapsible_content_WedyHN">
6831 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-question-mark" viewBox="0 0 20 20"><path d="M9.563 11.959a.367.367 0 0 1-.367-.367v-.127c-.003-.49.084-.91.316-1.303.227-.384.575-.715 1.04-1.063.415-.311.666-.566.817-.81a1.43 1.43 0 0 0 .208-.795v-.013c0-.894-.657-1.531-1.568-1.531-.862 0-1.527.606-1.612 1.609a.37.37 0 0 1-.097.219l-.006.006a.37.37 0 0 1-.264.117l-.471.007a.367.367 0 0 1-.362-.453c.112-1.519 1.219-2.712 2.825-2.712 1.603 0 2.791 1.176 2.791 2.718v.013c0 .512-.114.965-.366 1.387-.248.416-.619.783-1.101 1.145l-.003.002c-.414.305-.637.526-.764.738-.12.2-.172.422-.172.771v.075a.367.367 0 0 1-.367.367zm1.142 2.423c0 .473-.335.88-.838.88-.497 0-.845-.4-.845-.88 0-.477.351-.874.845-.874.5 0 .838.403.838.874"/><path d="M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0M10 17.497a7.497 7.497 0 1 0 0-14.994 7.497 7.497 0 0 0 0 14.994"/></svg> 6832</span> 6833 <h3 class="accordion__title inline-richtext h4"> 6834 How do I know which temperature is right for what I'm feeling? 6835 </h3><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 6836</summary> 6837 <div 6838 class="accordion__content rte" 6839 id="CollapsibleAccordion-collapsible_row_F6QczE-template--27943664582899__collapsible_content_WedyHN" 6840 role="region" 6841 aria-labelledby="Summary-collapsible_row_F6QczE-template--27943664582899__collapsible_content_WedyHN" 6842 > 6843 <p>Cold works best for migraine flare-ups. Warm helps relax the area and can ease<br/>sinus pressure.</p> 6844 6845 </div> 6846 </details> 6847 </div><div 6848 class="accordion" 6849 6850 > 6851 <details 6852 id="Details-collapsible_row_RVTkyr-template--27943664582899__collapsible_content_WedyHN" 6853 6854 > 6855 <summary id="Summary-collapsible_row_RVTkyr-template--27943664582899__collapsible_content_WedyHN"> 6856 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-question-mark" viewBox="0 0 20 20"><path d="M9.563 11.959a.367.367 0 0 1-.367-.367v-.127c-.003-.49.084-.91.316-1.303.227-.384.575-.715 1.04-1.063.415-.311.666-.566.817-.81a1.43 1.43 0 0 0 .208-.795v-.013c0-.894-.657-1.531-1.568-1.531-.862 0-1.527.606-1.612 1.609a.37.37 0 0 1-.097.219l-.006.006a.37.37 0 0 1-.264.117l-.471.007a.367.367 0 0 1-.362-.453c.112-1.519 1.219-2.712 2.825-2.712 1.603 0 2.791 1.176 2.791 2.718v.013c0 .512-.114.965-.366 1.387-.248.416-.619.783-1.101 1.145l-.003.002c-.414.305-.637.526-.764.738-.12.2-.172.422-.172.771v.075a.367.367 0 0 1-.367.367zm1.142 2.423c0 .473-.335.88-.838.88-.497 0-.845-.4-.845-.88 0-.477.351-.874.845-.874.5 0 .838.403.838.874"/><path d="M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0M10 17.497a7.497 7.497 0 1 0 0-14.994 7.497 7.497 0 0 0 0 14.994"/></svg> 6857</span> 6858 <h3 class="accordion__title inline-richtext h4"> 6859 How do I get it cold? 6860 </h3><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 6861</summary> 6862 <div 6863 class="accordion__content rte" 6864 id="CollapsibleAccordion-collapsible_row_RVTkyr-template--27943664582899__collapsible_content_WedyHN" 6865 role="region" 6866 aria-labelledby="Summary-collapsible_row_RVTkyr-template--27943664582899__collapsible_content_WedyHN" 6867 > 6868 <p>Put it in the freezer for 1 to 1.5 hours, or in the fridge for at least 2 hours. Use a plastic bag to keep the gel from picking up odors.</p> 6869 6870 </div> 6871 </details> 6872 </div><div 6873 class="accordion" 6874 6875 > 6876 <details 6877 id="Details-collapsible_row_7f9AdB-template--27943664582899__collapsible_content_WedyHN" 6878 6879 > 6880 <summary id="Summary-collapsible_row_7f9AdB-template--27943664582899__collapsible_content_WedyHN">
6881 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-question-mark" viewBox="0 0 20 20"><path d="M9.563 11.959a.367.367 0 0 1-.367-.367v-.127c-.003-.49.084-.91.316-1.303.227-.384.575-.715 1.04-1.063.415-.311.666-.566.817-.81a1.43 1.43 0 0 0 .208-.795v-.013c0-.894-.657-1.531-1.568-1.531-.862 0-1.527.606-1.612 1.609a.37.37 0 0 1-.097.219l-.006.006a.37.37 0 0 1-.264.117l-.471.007a.367.367 0 0 1-.362-.453c.112-1.519 1.219-2.712 2.825-2.712 1.603 0 2.791 1.176 2.791 2.718v.013c0 .512-.114.965-.366 1.387-.248.416-.619.783-1.101 1.145l-.003.002c-.414.305-.637.526-.764.738-.12.2-.172.422-.172.771v.075a.367.367 0 0 1-.367.367zm1.142 2.423c0 .473-.335.88-.838.88-.497 0-.845-.4-.845-.88 0-.477.351-.874.845-.874.5 0 .838.403.838.874"/><path d="M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0M10 17.497a7.497 7.497 0 1 0 0-14.994 7.497 7.497 0 0 0 0 14.994"/></svg> 6882</span> 6883 <h3 class="accordion__title inline-richtext h4"> 6884 How do I heat it up? 6885 </h3><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 6886</summary> 6887 <div 6888 class="accordion__content rte" 6889 id="CollapsibleAccordion-collapsible_row_7f9AdB-template--27943664582899__collapsible_content_WedyHN" 6890 role="region" 6891 aria-labelledby="Summary-collapsible_row_7f9AdB-template--27943664582899__collapsible_content_WedyHN" 6892 > 6893 <p>Microwave it for 15 to 30 seconds. Always check the temperature before using it.</p> 6894 6895 </div> 6896 </details> 6897 </div><div 6898 class="accordion" 6899 6900 > 6901 <details 6902 id="Details-collapsible_row_tQ7wMB-template--27943664582899__collapsible_content_WedyHN" 6903 6904 > 6905 <summary id="Summary-collapsible_row_tQ7wMB-template--27943664582899__collapsible_content_WedyHN"> 6906 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-question-mark" viewBox="0 0 20 20"><path d="M9.563 11.959a.367.367 0 0 1-.367-.367v-.127c-.003-.49.084-.91.316-1.303.227-.384.575-.715 1.04-1.063.415-.311.666-.566.817-.81a1.43 1.43 0 0 0 .208-.795v-.013c0-.894-.657-1.531-1.568-1.531-.862 0-1.527.606-1.612 1.609a.37.37 0 0 1-.097.219l-.006.006a.37.37 0 0 1-.264.117l-.471.007a.367.367 0 0 1-.362-.453c.112-1.519 1.219-2.712 2.825-2.712 1.603 0 2.791 1.176 2.791 2.718v.013c0 .512-.114.965-.366 1.387-.248.416-.619.783-1.101 1.145l-.003.002c-.414.305-.637.526-.764.738-.12.2-.172.422-.172.771v.075a.367.367 0 0 1-.367.367zm1.142 2.423c0 .473-.335.88-.838.88-.497 0-.845-.4-.845-.88 0-.477.351-.874.845-.874.5 0 .838.403.838.874"/><path d="M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0M10 17.497a7.497 7.497 0 1 0 0-14.994 7.497 7.497 0 0 0 0 14.994"/></svg> 6907</span> 6908 <h3 class="accordion__title inline-richtext h4"> 6909 Does the Aliv Head Gel hold temperature longer? 6910 </h3><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 6911</summary> 6912 <div 6913 class="accordion__content rte" 6914 id="CollapsibleAccordion-collapsible_row_tQ7wMB-template--27943664582899__collapsible_content_WedyHN" 6915 role="region" 6916 aria-labelledby="Summary-collapsible_row_tQ7wMB-template--27943664582899__collapsible_content_WedyHN" 6917 > 6918 <p>Yes. The high-density gel inside the mask holds cold or heat much longer than a<br/>regular ice pack.</p> 6919 6920 </div> 6921 </details> 6922 </div><div 6923 class="accordion" 6924 6925 > 6926 <details 6927 id="Details-collapsible_row_hBKgR9-template--27943664582899__collapsible_content_WedyHN" 6928 6929 > 6930 <summary id="Summary-collapsible_row_hBKgR9-template--27943664582899__collapsible_content_WedyHN">
6931 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-question-mark" viewBox="0 0 20 20"><path d="M9.563 11.959a.367.367 0 0 1-.367-.367v-.127c-.003-.49.084-.91.316-1.303.227-.384.575-.715 1.04-1.063.415-.311.666-.566.817-.81a1.43 1.43 0 0 0 .208-.795v-.013c0-.894-.657-1.531-1.568-1.531-.862 0-1.527.606-1.612 1.609a.37.37 0 0 1-.097.219l-.006.006a.37.37 0 0 1-.264.117l-.471.007a.367.367 0 0 1-.362-.453c.112-1.519 1.219-2.712 2.825-2.712 1.603 0 2.791 1.176 2.791 2.718v.013c0 .512-.114.965-.366 1.387-.248.416-.619.783-1.101 1.145l-.003.002c-.414.305-.637.526-.764.738-.12.2-.172.422-.172.771v.075a.367.367 0 0 1-.367.367zm1.142 2.423c0 .473-.335.88-.838.88-.497 0-.845-.4-.845-.88 0-.477.351-.874.845-.874.5 0 .838.403.838.874"/><path d="M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0M10 17.497a7.497 7.497 0 1 0 0-14.994 7.497 7.497 0 0 0 0 14.994"/></svg> 6932</span> 6933 <h3 class="accordion__title inline-richtext h4"> 6934 Does it help with sinus pressure or cramps? 6935 </h3><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 6936</summary> 6937 <div 6938 class="accordion__content rte" 6939 id="CollapsibleAccordion-collapsible_row_hBKgR9-template--27943664582899__collapsible_content_WedyHN" 6940 role="region" 6941 aria-labelledby="Summary-collapsible_row_hBKgR9-template--27943664582899__collapsible_content_WedyHN" 6942 > 6943 <p>Yes. Used warm, it helps with sinus pressure, and it also works as a heat pack forcramps.</p> 6944 6945 </div> 6946 </details> 6947 </div><div 6948 class="accordion" 6949 6950 > 6951 <details 6952 id="Details-collapsible_row_GHxLzq-template--27943664582899__collapsible_content_WedyHN" 6953 6954 > 6955 <summary id="Summary-collapsible_row_GHxLzq-template--27943664582899__collapsible_content_WedyHN"> 6956 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-accordion icon-question-mark" viewBox="0 0 20 20"><path d="M9.563 11.959a.367.367 0 0 1-.367-.367v-.127c-.003-.49.084-.91.316-1.303.227-.384.575-.715 1.04-1.063.415-.311.666-.566.817-.81a1.43 1.43 0 0 0 .208-.795v-.013c0-.894-.657-1.531-1.568-1.531-.862 0-1.527.606-1.612 1.609a.37.37 0 0 1-.097.219l-.006.006a.37.37 0 0 1-.264.117l-.471.007a.367.367 0 0 1-.362-.453c.112-1.519 1.219-2.712 2.825-2.712 1.603 0 2.791 1.176 2.791 2.718v.013c0 .512-.114.965-.366 1.387-.248.416-.619.783-1.101 1.145l-.003.002c-.414.305-.637.526-.764.738-.12.2-.172.422-.172.771v.075a.367.367 0 0 1-.367.367zm1.142 2.423c0 .473-.335.88-.838.88-.497 0-.845-.4-.845-.88 0-.477.351-.874.845-.874.5 0 .838.403.838.874"/><path d="M18.5 10a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0M10 17.497a7.497 7.497 0 1 0 0-14.994 7.497 7.497 0 0 0 0 14.994"/></svg> 6957</span> 6958 <h3 class="accordion__title inline-richtext h4"> 6959 Can I wash it? 6960 </h3><svg class="icon icon-caret" viewBox="0 0 10 6"><path fill="currentColor" fill-rule="evenodd" d="M9.354.646a.5.5 0 0 0-.708 0L5 4.293 1.354.646a.5.5 0 0 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0 0-.708" clip-rule="evenodd"/></svg> 6961</summary> 6962 <div 6963 class="accordion__content rte" 6964 id="CollapsibleAccordion-collapsible_row_GHxLzq-template--27943664582899__collapsible_content_WedyHN" 6965 role="region" 6966 aria-labelledby="Summary-collapsible_row_GHxLzq-template--27943664582899__collapsible_content_WedyHN" 6967 > 6968 <p>Don't wash it or get the inside wet. To clean it, wipe it down with a soft, damp cloth (water only) and let it dry fully before using it again.</p> 6969 6970 </div> 6971 </details> 6972 </div></div> 6973 </div> 6974 </div> 6975 </div> 6976 </div> 6977</div> 6978 6979 6980</section><section id="shopify-section-template--27943664582899__rich_text_Bbrkqn" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/section-rich-text.css?v=155250126305810049721791305594" rel="stylesheet" type="text/css" media="all" /> 6981<style data-shopify>.section-template--27943664582899__rich_text_Bbrkqn-padding { 6982 padding-top: 30px; 6983 padding-bottom: 6px; 6984 } 6985 6986 @media screen and (min-width: 750px) { 6987 .section-template--27943664582899__rich_text_Bbrkqn-padding { 6988 padding-top: 40px; 6989 padding-bottom: 8px; 6990 } 6991 }</style><div class="isolate"> 6992 <div class="rich-text content-container color-scheme-1 gradient rich-text--full-width content-container--full-width section-template--27943664582899__rich_text_Bbrkqn-padding"> 6993 <div class="rich-text__wrapper rich-text__wrapper--center page-width"> 6994 <div class="rich-text__blocks center"><h2 6995 class="rich-text__heading rte inline-richtext h2 scroll-tr
6995igger animate--slide-in" 6996 6997 6998 data-cascade 6999 style="--animation-order: 1;" 7000 7001 > 7002 <strong>Because great sleep doesn't stop at the pillow</strong> 7003 </h2></div> 7004 </div> 7005 </div> 7006</div> 7007 7008 7009</section><section id="shopify-section-template--27943664582899__related-products" class="shopify-section section"><link href="//iwannasleep.com/cdn/shop/t/16/assets/component-card.css?v=120341546515895839841791305516" rel="stylesheet" type="text/css" media="all" /> 7010<link href="//iwannasleep.com/cdn/shop/t/16/assets/component-price.css?v=12840323355286466041791305526" rel="stylesheet" type="text/css" media="all" /> 7011<link href="//iwannasleep.com/cdn/shop/t/16/assets/section-related-products.css?v=80324771040738084201791305593" rel="stylesheet" type="text/css" media="all" /> 7012 7013<style data-shopify>.section-template--27943664582899__related-products-padding { 7014 padding-top: 0px; 7015 padding-bottom: 21px; 7016 } 7017 7018 @media screen and (min-width: 750px) { 7019 .section-template--27943664582899__related-products-padding { 7020 padding-top: 0px; 7021 padding-bottom: 28px; 7022 } 7023 }</style><div class="color-scheme-1 gradient"> 7024 <product-recommendations 7025 class="related-products page-width section-template--27943664582899__related-products-padding isolate scroll-trigger animate--slide-in" 7026 data-url="/recommendations/products?limit=5" 7027 data-section-id="template--27943664582899__related-products" 7028 data-product-id="9741806272755" 7029 > 7030 7031 </product-recommendations> 7032 </div> 7033 7034 7035</section> 7036 </main> 7037 7038 <!-- BEGIN sections: footer-group --> 7039<div id="shopify-section-sections--27943677853939__footer" class="shopify-section shopify-section-group-footer-group"> 7040<link href="//iwannasleep.com/cdn/shop/t/16/assets/section-footer.css?v=60318643098753476351791305591" rel="stylesheet" type="text/css" media="all" /> 7041<link href="//iwannasleep.com/cdn/shop/t/16/assets/component-newsletter.css?v=4727253280200485261791305524" rel="stylesheet" type="text/css" media="all" /> 7042<link href="//iwannasleep.com/cdn/shop/t/16/assets/component-list-menu.css?v=151968516119678728991791305521" rel="stylesheet" type="text/css" media="all" /> 7043<link href="//iwannasleep.com/cdn/shop/t/16/assets/component-list-payment.css?v=69253961410771838501791305522" rel="stylesheet" type="text/css" media="all" /> 7044<link href="//iwannasleep.com/cdn/shop/t/16/assets/component-list-social.css?v=35792976012981934991791305522" rel="stylesheet" type="text/css" media="all" /> 7045<style data-shopify>.footer { 7046 margin-top: 0px; 7047 } 7048 7049 .section-sections--27943677853939__footer-padding { 7050 padding-top: 42px; 7051 padding-bottom: 24px; 7052 } 7053 7054 @media screen and (min-width: 750px) { 7055 .footer { 7056 margin-top: 0px; 7057 } 7058 7059 .section-sections--27943677853939__footer-padding { 7060 padding-top: 56px; 7061 padding-bottom: 32px; 7062 } 7063 } 7064 7065 /* IWS Amazon circular button (added) */ 7066 .iws-amazon-circle { 7067 width: 52px; 7068 height: 52px; 7069 border-radius: 999px; 7070 background: #e6007a; 7071 display: inline-flex; 7072 align-items: center; 7073 justify-content: center; 7074 text-decoration: none; 7075 transition: transform 0.2s ease, opacity 0.2s ease; 7076 } 7077 7078 .iws-amazon-circle:hover { 7079 transform: translateY(-2px); 7080 opacity: 0.9; 7081 } 7082 7083 .iws-amazon-circle img { 7084 display: block; 7085 width: 22px; 7086 height: 22px; 7087 /* turns a dark logo into white */ 7088 filter: brightness(0) invert(1); 7089 }</style><footer class="footer color-scheme-1 gradient section-sections--27943677853939__footer-padding"><div class="footer__content-top page-width"><div 7090 class="footer__blocks-wrapper grid grid--1-col grid--2-col grid--4-col-tablet scroll-tr
7090igger animate--slide-in" 7091 7092 data-cascade 7093 7094 ><div 7095 class="footer-block grid__item footer-block--menu scroll-trigger animate--slide-in" 7096 7097 7098 data-cascade 7099 style="--animation-order: 1;" 7100 7101 ><h2 class="footer-block__heading inline-richtext"><strong>I wanna sleep</strong></h2><ul class="footer-block__details-content list-unstyled"><li> 7102 <a 7103 href="https://account.iwannasleep.com/profile?locale=en®ion_country=US&buyer_flags=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpLXdhbm5hLXNsZWVwLXVzYS5teXNob3BpZnkuY29tIiwiZmxhZ3MiOltdLCJleHAiOjE3OTIwNTc0NzUsIm5iZiI6MTc5MTQ1MjY3NX0.wfq51aRacayvXvICTlQLmvngzKsmk4-eb0n-679vjFA" 7104 class="link link--text list-menu__item list-menu__item--link" 7105 > 7106 Log in / Register 7107 </a> 7108 </li><li> 7109 <a 7110 href="https://iwannasleep.com/cart" 7111 class="link link--text list-menu__item list-menu__item--link" 7112 > 7113 My Cart 7114 </a> 7115 </li><li> 7116 <a 7117 href="/pages/about-us-iws" 7118 class="link link--text list-menu__item list-menu__item--link" 7119 > 7120 About Us 7121 </a> 7122 </li><li> 7123 <a 7124 href="/pages/join-iws-creators" 7125 class="link link--text list-menu__item list-menu__item--link" 7126 > 7127 Join IWS Creators 7128 </a> 7129 </li><li> 7130 <a 7131 href="/pages/terms-of-service-privacy-policy" 7132 class="link link--text list-menu__item list-menu__item--link" 7133 > 7134 Terms of Service/Privacy Policy 7135 </a> 7136 </li><li> 7137 <a 7138 href="/pages/wholesale-program" 7139 class="link link--text list-menu__item list-menu__item--link" 7140 > 7141 Wholesale 7142 </a> 7143 </li><li> 7144 <a 7145 href="https://careers.iwannasleep.com/careers" 7146 class="link link--text list-menu__item list-menu__item--link" 7147 > 7148 IWS Careers 7149 </a> 7150 </li></ul></div><div 7151 class="footer-block grid__item footer-block--menu scroll-trigger animate--slide-in" 7152 7153 7154 data-cascade 7155 style="--animation-order: 2;" 7156 7157 ><h2 class="footer-block__heading inline-richtext"><strong>Need help?</strong></h2><ul class="footer-block__details-content list-unstyled"><li> 7158 <a 7159 href="mailto:[email protected]" 7160 class="link link--text list-menu__item list-menu__item--link" 7161 > 7162 Contact Support 7163 </a> 7164 </li><li> 7165 <a 7166 href="/pages/faq" 7167 class="link link--text list-menu__item list-menu__item--link" 7168 > 7169 Help Center 7170 </a> 7171 </li><li> 7172 <a 7173 href="/pages/reviews" 7174 class="link link--text list-menu__item list-menu__item--link" 7175 > 7176 Reviews 7177 </a> 7178 </li><li> 7179 <a 7180 href="/pages/returns-exchanges" 7181 class="link link--text list-menu__item list-menu__item--link" 7182 > 7183 Returns & Exchanges 7184 </a> 7185 </li></ul></div><div
7186 class="footer-block grid__item scroll-trigger animate--slide-in" 7187 7188 7189 data-cascade 7190 style="--animation-order: 3;" 7191 7192 ><div class="footer-block__details-content rte"> 7193 <h3>We're a global sleep lifestyle brand. From allergies to insomnia, we create science-backed solutions for every sleep need.</h3><h2><strong>Our mission: Help you sleep better!</strong></h2> 7194 </div></div></div><div 7195 class="footer-block--newsletter scroll-trigger animate--slide-in" 7196 7197 data-cascade 7198 7199 ><div class="footer-block__newsletter"><h2 class="footer-block__heading inline-richtext"><strong>Join our sleep community. </strong>Exclusive offers, early access, and sleep insights.</h2><form method="post" action="/contact#ContactFooter" id="ContactFooter" accept-charset="UTF-8" class="footer__newsletter newsletter-form"><input type="hidden" name="form_type" value="customer" /><input type="hidden" name="utf8" value="â" /><input type="hidden" name="contact[tags]" value="newsletter"> 7200 <div class="newsletter-form__field-wrapper"> 7201 <div class="field"> 7202 <input 7203 id="NewsletterForm--sections--27943677853939__footer" 7204 type="email" 7205 name="contact[email]" 7206 class="field__input" 7207 value="" 7208 aria-required="true" 7209 autocorrect="off" 7210 autocapitalize="off" 7211 autocomplete="email" 7212 7213 placeholder="Email" 7214 required 7215 > 7216 <label class="field__label" for="NewsletterForm--sections--27943677853939__footer"> 7217 Email 7218 </label> 7219 <button 7220 type="submit" 7221 class="newsletter-form__button field__button" 7222 name="commit" 7223 id="Subscribe" 7224 aria-label="Subscribe" 7225 > 7226 <span class="svg-wrapper"><svg xmlns="http://www.w3.org/2000/svg" fill="none" class="icon icon-arrow" viewB
7226ox="0 0 14 10"><path fill="currentColor" fill-rule="evenodd" d="M8.537.808a.5.5 0 0 1 .817-.162l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 1 1-.708-.708L11.793 5.5H1a.5.5 0 0 1 0-1h10.793L8.646 1.354a.5.5 0 0 1-.109-.546" clip-rule="evenodd"/></svg> 7227</span> 7228 </button> 7229 </div></div></form></div> 7230 7231<ul class="list-unstyled list-social footer__list-social" role="list"><li class="list-social__item"> 7232 <a href="https://www.instagram.com/iwannasleep_us/" class="link list-social__link"> 7233 <span class="svg-wrapper"><svg class="icon icon-instagram" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M13.23 3.492c-.84-.037-1.096-.046-3.23-.046-2.144 0-2.39.01-3.238.055-.776.027-1.195.164-1.487.273a2.4 2.4 0 0 0-.912.593 2.5 2.5 0 0 0-.602.922c-.11.282-.238.702-.274 1.486-.046.84-.046 1.095-.046 3.23s.01 2.39.046 3.229c.004.51.097 1.016.274 1.495.145.365.319.639.602.913.282.282.538.456.92.602.474.176.974.268 1.479.273.848.046 1.103.046 3.238.046s2.39-.01 3.23-.046c.784-.036 1.203-.164 1.486-.273.374-.146.648-.329.921-.602.283-.283.447-.548.602-.922.177-.476.27-.979.274-1.486.037-.84.046-1.095.046-3.23s-.01-2.39-.055-3.229c-.027-.784-.164-1.204-.274-1.495a2.4 2.4 0 0 0-.593-.913 2.6 2.6 0 0 0-.92-.602c-.284-.11-.703-.237-1.488-.273ZM6.697 2.05c.857-.036 1.131-.045 3.302-.045a63 63 0 0 1 3.302.045c.664.014 1.321.14 1.943.374a4 4 0 0 1 1.414.922c.41.397.728.88.93 1.414.23.622.354 1.279.365 1.942C18 7.56 18 7.824 18 10.005c0 2.17-.01 2.444-.046 3.292-.036.858-.173 1.442-.374 1.943-.2.53-.474.976-.92 1.423a3.9 3.9 0 0 1-1.415.922c-.51.191-1.095.337-1.943.374-.857.036-1.122.045-3.302.045-2.171 0-2.445-.009-3.302-.055-.849-.027-1.432-.164-1.943-.364a4.15 4.15 0 0 1-1.414-.922 4.1 4.1 0 0 1-.93-1.423c-.183-.51-.329-1.085-.365-1.943C2.009 12.45 2 12.167 2 10.004c0-2.161 0-2.435.055-3.302.027-.848.164-1.432.365-1.942a4.4 4.4 0 0 1 .92-1.414 4.2 4.2 0 0 1 1.415-.93c.51-.183 1.094-.33 1.943-.366Zm.427 4.806a4.105 4.105 0 1 1 5.805 5.805 4.105 4.105 0 0 1-5.805-5.805m1.882 5.371a2.668 2.668 0 1 0 2.042-4.93 2.668 2.668 0 0 0-2.042 4.93m5.922-5.942a.958.958 0 1 1-1.355-1.355.958.958 0 0 1 1.355 1.355" clip-rule="evenodd"/></svg> 7234</span> 7235 <span class="visually-hidden">Instagram</span> 7236 </a> 7237 </li><li class="list-social__item"> 7238 <a href="https://www.tiktok.com/@iwannasleepus" class="link list-social__link"> 7239 <span class="svg-wrapper"><svg class="icon icon-tiktok" viewBox="0 0 20 20"><path fill="currentColor" d="M10.511 1.705h2.74s-.157 3.51 3.795 3.768v2.711s-2.114.129-3.796-1.158l.028 5.606A5.073 5.073 0 1 1 8.213 7.56h.708v2.785a2.298 2.298 0 1 0 1.618 2.205z"/></svg> 7240</span> 7241 <span class="visually-hidden">TikTok</span> 7242 </a> 7243 </li></ul> 7244</div> 7245 </div><div 7246 class="footer__content-bottom scroll-trigger animate--slide-in" 7247 7248 data-cascade 7249 7250 > 7251 <div class="footer__content-bottom-wrapper page-width"> 7252 <div class="footer__column footer__localization isolate"></div> 7253 <div class="footer__column footer__column--info"></div> 7254 </div> 7255 <div class="footer__content-bottom-wrapper page-width footer__content-bottom-wrapper--center"> 7256 <div class="footer__copyright caption"> 7257 <small class="copyright__content" 7258 >© 2026, <a href="/" title="">I wanna sleep</a></small> 7259 <small class="copyright__content"><a target="_blank" rel="nofollow" href="https://www.shopify.com?utm_campaign=poweredby&utm_medium=shopify&utm_source=onlinestore">Powered by Shopify</a></small></div> 7260 </div> 7261 </div> 7262</footer> 7263 7264 7265</div><section id="shopify-section-sections--27943677853939__custom_liquid_VN6j7R" class="shopify-section shopify-section-group-footer-group section"><style data-shopify>.section-sections--27943677853939__custom_liquid_VN6j7R-padding { 7266 padding-top: calc(0px * 0.75); 7267 padding-bottom: calc(52px * 0.75); 7268 } 7269 7270 @media screen and (min-width: 750px) { 7271 .section-sections--27943677853939__custom_liquid_VN6j7R-padding { 7272 padding-top: 0px; 7273 padding-bottom: 52px; 7274 } 7275 }</style><div class="color-scheme-1 gradient"> 7276 <div class="section-sections--27943677853939__custom_liquid_VN6j7R-padding"> 7277 <div class="elfsight-sapp-2f14aed5-1996-4ef7-bdac-7fcd8f587033"></div> 7278 </div> 7279</div> 7280 7281 7282<style> #shopify-section-sections--27943677853939__custom_liquid_VN6j7R /* ===== DESKTOP ===== */.eapps-instagram-feed, #
7282shopify-section-sections--27943677853939__custom_liquid_VN6j7R .eapps-widget, #shopify-section-sections--27943677853939__custom_liquid_VN6j7R .elfsight-app {max-width: 1200px !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important;} #shopify-section-sections--27943677853939__custom_liquid_VN6j7R /* Centralização interna */.eapps-instagram-feed-container {display: flex !important; justify-content: center !important;} </style></section> 7283<!-- END sections: footer-group --> 7284 7285 <ul hidden> 7286 <li id="a11y-refresh-page-message">Choosing a selection results in a full page refresh.</li> 7287 <li id="a11y-new-window-message">Opens in a new window.</li> 7288 </ul> 7289 7290
7290<script> 7291 window.shopUrl = 'https://iwannasleep.com'; 7292 window.routes = { 7293 cart_add_url: '/cart/add', 7294 cart_change_url: '/cart/change', 7295 cart_update_url: '/cart/update', 7296 cart_url: '/cart', 7297 predictive_search_url: '/search/suggest', 7298 }; 7299 7300 window.cartStrings = { 7301 error: `There was an error while updating your cart. Please try again.`, 7302 quantityError: `You can only add [quantity] of this item to your cart.`, 7303 }; 7304 7305 window.variantStrings = { 7306 addToCart: `Add to cart`, 7307 soldOut: `Sold out`, 7308 unavailable: `Unavailable`, 7309 unavailable_with_option: `[value] - Unavailable`, 7310 }; 7311 7312 window.quickOrderListStrings = { 7313 itemsAdded: `[quantity] items added`, 7314 itemAdded: `[quantity] item added`, 7315 itemsRemoved: `[quantity] items removed`, 7316 itemRemoved: `[quantity] item removed`, 7317 viewCart: `View cart`, 7318 each: `[money]/ea`, 7319 min_error: `This item has a minimum of [min]`, 7320 max_error: `This item has a maximum of [max]`, 7321 step_error: `You can only add this item in increments of [step]`, 7322 }; 7323 7324 window.accessibilityStrings = { 7325 imageAvailable: `Image [index] is now available in gallery view`, 7326 shareSuccess: `Link copied to clipboard`, 7327 pauseSlideshow: `Pause slideshow`, 7328 playSlideshow: `Play slideshow`, 7329 recipientFormExpanded: `Gift card recipient form expanded`, 7330 recipientFormCollapsed: `Gift card recipient form collapsed`, 7331 countrySelectorSearchCount: `[count] countries/regions found`, 7332 }; 7333 </script>
7333<script src="//iwannasleep.com/cdn/shop/t/16/assets/predictive-search.js?v=57209189334897115771791305582" defer="defer"></script>
7333<script src="//iwannasleep.com/cdn/shop/t/16/assets/cart-drawer.js?v=169981311261118214701791305513" defer="defer"></script>
7333<style> /* Esconde o contêiner de badge quando estiver vazio, evitando a barra branca */.product-card-wrapper .card__badge:empty {display: none;} /* Caso existam espaços/linhas dentro do contêiner, usa fallback moderno */.product-card-wrapper .card__badge:not(:has(.badge)) {display: none !important;} </style> 7334<div id="shopify-block-AakNoTzR0N0NkN3Z2W__11532412952436166569" class="shopify-block shopify-app-block">
7334<script async src="https://loox.io/widget/Dlpmlw5MP1/loox.1760038072883.js?shop=i-wanna-sleep-usa.myshopify.com"></script>
7334 7335 7336 7337 <!-- __LXV: 1791428140325;__LXR: https://loox.io;__LXC: Dlpmlw5MP1; -->
7337<script>var loox_global_hash = '1791428140325'; 7338var loox_bundle_reviews_enabled = false;</script>
7338<style>.loox-reviews-default { max-width: 1200px; margin: 0 auto; }.loox-rating .loox-icon { color:#D8A200; } 7339:root { --lxs-rating-icon-color: #D8A200; }</style> 7340 7341 7342 7343 7344 7345 7346 7347</div><div id="shopify-block-AS0l5NUlVM2tMU2Jna__5858961087409699889" class="shopify-block shopify-app-block"> 7348 7349<style data-shopify> 7350 .md-footer-selector__container { 7351 background-color: #fff; 7352 } 7353 7354 .md-footer-selector__container .md-form__select:hover { 7355 background-color: #741254 !important; 7356 } 7357 7358 .md-footer-selector__container { 7359 justify-content: center; 7360 } 7361 7362 .md-modal__content.md-modal__dialog--sizeLargeXL { 7363 background-image: unset !important; 7364 } 7365 7366 7367 7368 .md-footer-selector__content .md-modal__formContent { 7369 padding: .75em 0 .75em; 7370 } 7371 7372 .md-footer-selector__content .md-modal__formContent__select { 7373 position: relative; 7374 } 7375 .md-footer-selector__content .md-form__select__country__list { 7376 min-width: 100%; 7377 width: -webkit-fit-content; 7378 width: -moz-fit-content; 7379 width: fit-content; 7380 } 7381 .md-footer-selector__content .md-form__select__language__list { 7382 min-width: 175px; 7383 width: -webkit-fit-content; 7384 width: -moz-fit-content; 7385 width: fit-content; 7386 } 7387 .md-modal__body-market-selector .md-footer-selector__content .md-form__select__language__list { 7388 min-width: 100%; 7389 } 7390 7391 .md-modal__body-market-selector .md-footer-selector__content .md-form__select__language__list, #md-app-embed__footer-popup .md-modal__content, .md-footer-selector__container .md-form__select, .md-form__select__search__input, .md-footer-selector__content .md-form__select__country__list, .md-footer-selector__content .md-form__select__language__list { 7392 background-color: #741254 !important; 7393 color: #ffffff !important; 7394 } 7395 7396 .md-modal__mk-footerPoweredOrbe .md-modal__footerPoweredLink, .md-modal__footer-selector-modal__region-btn, .md-modal__mk-footerPoweredOrbe .md-modal__footerPoweredOrbe, .md-modal__mk-helper-text, #md-app-embed__footer-popup .md-modal__header__title span, #md-app-embed__footer-popup .md-modal__header__title h2, .md-modal__bodyContent__tabs ul > li, .md-modal__bodyContent__tabs ul > li > a, .md-form__select__search__input, .md-footer-selector__selector, .md-footer-selector__selector a, .md-footer-selector__content .md-form__select__country__list-link, .md-footer-selector__content .md-form__select__language__list-link, .md-footer-selector__content .md-form__select__country__list-link-wrapper span, .md-footer-selector__content .md-form__select__language__list-link-wrapper span { 7397 color: #ffffff !important; 7398 } 7399 7400 .md-modal__footer-selector-modal__region-btn { 7401 justify-content: flex-start; 7402 } 7403 7404 .md-footer-selector__selector a { 7405 text-decoration: none; 7406 } 7407 7408 .md-form__select__search__input::placeholder, .md-modal__footer-selector-modal__region-iso {color: rgba(255, 255, 255, 0.6) !important; 7409 } 7410 7411 .md-footer-selector__content .md-form__select__country__list-link:hover, .md-footer-selector__content .md-form__select__language__list-link:hover, .md-modal__footer-selector-modal__region-btn:hover {background: rgba(116, 18, 84, 0.1) !important; 7412 } 7413 7414 .md-footer-selector__content .orbe-highlight-country__divider { 7415 border-bottom: 1px solid #741254 !important; 7416 }.md-footer-selector__content .md-form__select { 7417 border: unset !important; 7418 } 7419 .md-footer-selector__content .md-form__select__country__list, .md-footer-selector__content .md-form__select__language__list { 7420 border: 1px solid #741254 !important; 7421 } 7422 .md-footer-selector__content .md-form__select { 7423 background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="%23ffffff" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 14.0002C9.74401 14.0002 9.48801 13.9023 9.29301 13.7073L4.29301 8.70725C3.90201 8.31625 3.90201 7.68425 4.29301 7.29325C4.68401 6.90225 5.31601 6.90225 5.70701 7.29325L10 11.5862L14.293 7.29325C14.684 6.90225 15.316 6.90225 15.707 7.29325C16.098 7.68425 16.098 8.31625 15.707 8.70725L10.707 13.7073C10.512 13.9023 10.256 14.0002 10 14.0002Z" fill="%23ffffff"/></svg>') !important; 7424 } 7425 .md-footer-selector__content .md-form__select[aria-expanded="true"] { 7426 background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="%23ffffff" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 13.0002C14.744 13.0002 14.488 12.9023 14.293 12.7073L10 8.41425L5.70701 12.7073C5.31601 13.0982 4.68401 13.0982 4.29301 12.7073C3.90201 12.3163 3.90201 11.6842 4.29301 11.2933L9.29301 6.29325C9.68401 5.90225 10.316 5.90225 10.707 6.29325L15.707 11.2933C16.098 11.6842 16.098 12.3163 15.707 12.7073C15.512 12.9023 15.256 13.0002 15 13.0002Z" fill="%23ffffff"/></svg>') !important; 7427 } 7428 7429 7430 .md-footer-selector__content .md-form__select[aria-expanded="true"] .md-form__select__country__list__flag-wrapper { 7431 display: none; 7432 } 7433 .md-footer-selector__content .md-form__select[aria-expanded="true"] .md-form__select__country__list-link-wrapper .md-form__select__span { 7434 display: none; 7435 } 7436 .md-footer-selector__content .md-form__select[aria-expanded="true"] .md-form__select__search__input { 7437 display: block; 7438 font-family: inherit; 7439 line-height: inherit; 7440 border: none; 7441 } 7442 7443 7444 .md-footer-modal-closeButton { 7445 position: absolute; 7446 right: 0; 7447 top: 0; 7448 margin: 0 !important; 7449 padding-top: 1.5em; 7450 } 7451 7452 .md-footer-modal-closeButton.md-modal-closeButton .md-icon__Svg { 7453 fill: #741254 !important; 7454 } 7455 7456 .md-modal__footer-selector-modal__region-list-divider span { 7457 border-bottom: 1px solid rgba(116, 18, 84,0.20) !important; 7458 } 7459 7460 @media (max-width: 560px) { 7461 md-footer-selector-popup__form .md-modal__mk-footerPoweredOrbe { 7462 border-top: 1px solid rgba(116, 18, 84,0.20) !important; 7463 } 7464 }.md-footer-selector__content .md-form__select__country__list-link__flag, .md-footer-selector__content .md-fix-flag-white { 7465 width: 1.25em; 7466 height: 1.25em; 7467 border-radius: 35px; 7468 } 7469 7470 7471 @media (max-width: 48.0525em) { 7472 orbe-country-selector { 7473 width: 100%; 7474 } 7475 orbe-country-selector .md-form__select__country__list-link-wrapper span { 7476 text-overflow: ellipsis; 7477 white-space: nowrap; 7478 overflow: hidden; 7479 } 7480 } 7481 7482.md-modal__footer { 7483 padding: 0.75em 1.5em 1.5em; 7484 }#md-app-embed__footer-popup .md-modal__content { 7485 font-size: 16px !important 7486 } 7487 7488 7489 7490 .md-footer-modal-closeButton { 7491 position: absolute; 7492 right: 0; 7493 top: 0; 7494 margin: 0 !important; 7495 padding-top: 1.5em; 7496 padding-right: 1.5em; 7497 } 7498 7499 7500 7501 7502 7503 7504.md-footer-selector__content { 7505 max-width: 15em; 7506 } 7507 @media (max-width: 560px) { 7508 .md-footer-selector__content .md-modal__formContent__select:last-child { 7509 margin-top: 0px; 7510 } 7511 }</style> 7512<!-- BEGIN app snippet: load-css-flags --> 7513<style data-orbe-flags="43">.orbe-flags-xx, .orbe-flags__before-xx:before {background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/xx.svg') !important;}.orbe-flags-us, .orbe-flags__before-us:before {background-image: url('https://cdn.shopify.com/static/images/flags/us.svg') !important;}.orbe-flags-ca, .orbe-flags__before-ca:before {background-image: url('https://cdn.shopify.com/static/images/flags/ca.svg') !important;}.orbe-flags-br, .orbe-flags__before-br:before {background-image: url('https://cdn.shopify.com/static/images/flags/br.svg') !important;}</style><style data-orbe-flags="circle">.orbe-flags-circle-xx, .orbe-flags-circle__before-xx:before { 7514 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/xx-1x1.svg') !important; 7515 }.orbe-flags-circle-us, .orbe-flags-circle__before-us:before { 7516 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/us-1x1.svg') !important; 7517 }.orbe-flags-circle-ca, .orbe-flags-circle__before-ca:before { 7518 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/ca-1x1.svg') !important; 7519 }.orbe-flags-circle-br, .orbe-flags-circle__before-br:before { 7520 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/br-1x1.svg') !important; 7521 }</style>
7521<script type="application/json" id="orbe-flag-css-meta">{"codes":",xx,us,ca,br","asset43":"https:\/\/cdn.shopify.com\/extensions\/01a10b24-e7f5-74bb-826a-087e105f5da6\/orbe-geolocation-504\/assets\/xx.svg","assetCircle":"https:\/\/cdn.shopify.com\/extensions\/01a10b24-e7f5-74bb-826a-087e105f5da6\/orbe-geolocation-504\/assets\/xx-1x1.svg","local43":"xx,xk,ac,af,arab,asean,cefta,cp,dg,ea,eac,es-ct,es-ga,es-pv,ic,pc,sh-ac,sh-hl,sh-ta,ta,un,gb-eng,gb-nir,gb-sct,gb-wls"}</script>
7521<!-- END app snippet --> 7522<div id="md-footer-selector-block"> 7523 <div class="md-footer-selector__container"> 7524 <div class="md-footer-selector__content"> 7525 <md-footer-selector__form data-wg-notranslate data-ly-locked="true" class="notranslate"> 7526 7527 <form method="post" action="/localization" id="md-footer-selector__form__id" accept-charset="UTF-8" class="md-modal__formContent" enctype="multipart/form-data"><input type="hidden" name="form_type" value="localization" /><input type="hidden" name="utf8" value="â" /><input type="hidden" name="_method" value="put" /><input type="hidden" name="return_to" value="/products/aliv%E2%84%A2-head-gel-iws" /> 7528 <!-- BEGIN app snippet: country-selector --><div class="md-modal__formContent__select"> 7529 <input name="country_code" type="hidden" id="orbe-country-selector-footer-id"> 7530 <button type="button" name="md-form__select__country__button" id="md-form__select__country--footer" role="combobox" 7531 aria-haspopup="listbox" aria-label="United States" class="md-form__select" 7532 aria-expanded="false" aria-controls="orbeFooterCountryList" data-value="US"> 7533 <div class="md-form__select__country__list-link-wrapper"> 7534 <div class="md-form__select__country__list__flag-wrapper"> 7535 <div class="md-form__select__country__list-link__flag"><div class="orbe-flags-circle-us md-form__select__img " data-circle="true"></div> 7536 </div> 7537 </div><span class="md-form__select__span">United States</span><input onkeyup="orbeMKFactory.getInstance('original-mk-selector-AS0l5NUlVM2tMU2Jna__5858961087409699889').searchCountryInput()"placeholder="Country"type="text" 7538 class="md-form__select__search__input " spellcheck="false" data-ms-editor="true" aria-label="Search and Enter" aria-description="Search and Enter" 7539 role="combobox" 7540 aria-autocomplete="list" 7541 aria-controls="orbeFooterCountryList" 7542 aria-expanded="false" 7543 aria-haspopup="listbox" 7544 aria-activedescendant="" 7545 ></div> 7546 </button> 7547 <ul id="orbeFooterCountryList" role="listbox" 7548 class="md-form__select__country__list md-form__select__country__list-top" hidden> 7549 <li id="orbe-country-CA" 7550 tabindex="-1" role="option" 7551 data-name="Canada" data-country="CA" style="display: list-item;"> 7552 <span class="md-form__select__country__list-link" data-countryname="Canada" data-primarymarket="false" data-currency="USD" data-symbol="$" data-primary="enabled" data-defaultlocale="en" data-subfoldersuffix="" data-domainurl="i-wanna-sleep-usa.myshopify.com" data-host="iwannasleep.com" data-country="CA" data-value="CA" 7553 data-locales="en" data-namelocales="English"data-shipping-threshold="" 7554 data-delivery-time="" 7555 data-return-time="" 7556 data-payment="" 7557 data-taxes-included="false" 7558 data-duties-included="false"> 7559 <div class="md-form__select__country__list-link-wrapper"> 7560 <div class="md-form__select__country__list__flag-wrapper"> 7561 <div class="md-form__select__country__list-link__flag "><div class="orbe-flags-circle-ca md-form__select__img " data-circle="true"></div> 7562 </div> 7563 </div> 7564 <span class="md-form__select__span">Canada</span> 7565 </div> 7566 </span> 7567 </li> 7568 <li id="orbe-country-US" 7569 tabindex="-1" role="option" 7570 data-name="United States" data-country="US" style="display: list-item;"> 7571 <span class="md-form__select__country__list-link" aria-current="true" data-countryname="United States" data-primarymarket="true" data-currency="USD" data-symbol
7571="$" data-primary="enabled" data-defaultlocale="en" data-subfoldersuffix="" data-domainurl="iwannasleep.com" data-host="iwannasleep.com" data-country="US" data-value="US" 7572 data-locales="en" data-namelocales="English"data-shipping-threshold="" 7573 data-delivery-time="" 7574 data-return-time="" 7575 data-payment="" 7576 data-taxes-included="false" 7577 data-duties-included="false"> 7578 <div class="md-form__select__country__list-link-wrapper"> 7579 <div class="md-form__select__country__list__flag-wrapper"> 7580 <div class="md-form__select__country__list-link__flag "><div class="orbe-flags-circle-us md-form__select__img " data-circle="true"></div> 7581 </div> 7582 </div> 7583 <span class="md-form__select__span">United States</span> 7584 </div> 7585 </span> 7586 </li> 7587 <li id="orbe-country-BR" 7588 tabindex="-1" role="option" 7589 data-name="Brasil" data-country="BR" style="display: list-item;"> 7590 <span class="md-form__select__country__list-link" data-countryname="Brasil" data-primarymarket="true" data-currency="BRL" data-symbol="R$" data-primary="undefined" data-defaultlocale="pt-BR" data-subfoldersuffix="" data-domainurl="www.iwannasleep.com.br" data-host="www.iwannasleep.com.br" data-country="BR" data-value="BR" 7591 data-locales="pt-BR" data-namelocales="português (Brasil)"data-shipping-threshold="" 7592 data-delivery-time="" 7593 data-return-time="" 7594 data-payment="" 7595 data-taxes-included="false" 7596 data-duties-included="false"> 7597 <div class="md-form__select__country__list-link-wrapper"> 7598 <div class="md-form__select__country__list__flag-wrapper"> 7599 <div class="md-form__select__country__list-link__flag "><div class="orbe-flags-circle-br md-form__select__img " data-circle="true"></div> 7600 </div> 7601 </div> 7602 <span class="md-form__select__span">Brasil</span> 7603 </div> 7604 </span> 7605 </li></ul> 7606</div> 7607<!-- END app snippet --> 7608</form> 7609 7610 </md-footer-selector__form> 7611 </div> 7612 </div> 7613</div> 7614 7615
7616<script> 7617 if (typeof mdApp_showClassicFlagSelectorIcon == 'undefined') {var mdApp_showClassicFlagSelectorIcon = true;var mdApp_showClassicFlagSelectorIconCircle = true;} 7618 7619 if (typeof mdApp_searchCountry == 'undefined') {var mdApp_searchCountry = true;} 7620 7621 if (typeof mdApp_showModalFlagSelectorIcon == 'undefined') {var mdApp_showModalFlagSelectorIcon = true;var mdApp_showModalFlagSelectorIconCircle = false;} 7622 7623 if (typeof mdApp_showClassicCurrencyCodeEnabled === 'undefined') {var mdApp_showClassicCurrencyCodeEnabled = false;} 7624 7625 if (typeof mdApp_showModalCurrencyCodeEnabled === 'undefined') {var mdApp_showModalCurrencyCodeEnabled = 'iso';} 7626 7627 if (typeof mdApp_backgroundMKSelector == 'undefined') { 7628 var mdApp_backgroundMKSelector = '#741254'; 7629 } 7630 7631 <!-- BEGIN app snippet: js-variables --> 7632 7633 7634if (typeof mdApp_redirectMode == 'undefined') { 7635 var mdApp_redirectMode = false; 7636} 7637if (typeof mdApp_redirectRegionMode == 'undefined') { 7638 var mdApp_redirectRegionMode = false; 7639} 7640if (typeof mdApp_redirectRegionCode === 'undefined') { 7641 var mdApp_redirectRegionCode = ''; 7642} 7643if (typeof mdApp_redirectCountryCode === 'undefined') { 7644 var mdApp_redirectCountryCode = ''; 7645} 7646if (typeof mdApp_redirectCountryName === 'undefined') { 7647 var mdApp_redirectCountryName = ''; 7648} 7649if (typeof mdApp_redirectCountryCurrencyCode === 'undefined') { 7650 var mdApp_redirectCountryCurrencyCode = ''; 7651} 7652if (typeof mdApp_redirectCountryCurrencySymbol === 'undefined') { 7653 var mdApp_redirectCountryCurrencySymbol = ''; 7654} 7655if (typeof mdApp_redirectLocale === 'undefined') { 7656 var mdApp_redirectLocale = ''; 7657} 7658if (typeof mdApp_redirectEndonymName === 'undefined') { 7659 var mdApp_redirectEndonymName = ''; 7660} 7661if (typeof mdApp_redirectUrl === 'undefined') { 7662 var mdApp_redirectUrl = ''; 7663} 7664if (typeof mdApp_forceHideOrbe == 'undefined') { 7665 var mdApp_forceHideOrbe = false; 7666} 7667if (typeof mdApp_currentPlan == 'undefined') { 7668var mdApp_currentPlan = 'plus'; 7669} 7670if (typeof mdApp_forceExternalStoreRedirectMode == 'undefined') { 7671var mdApp_forceExternalStoreRedirectMode = false; 7672} 7673if (typeof mdApp_forceExternalStoreRedirectList == 'undefined') { 7674var mdApp_forceExternalStoreRedirectList = []; 7675} 7676if (typeof mdApp_deferUntilScroll == 'undefined') { 7677var mdApp_deferUntilScroll = false; 7678} 7679 7680if (typeof mdApp_skipRequestAPI == 'undefined') {var mdApp_skipRequestAPI = 'fal
7680se';} 7681 7682if (typeof mdApp_merchantKey === 'undefined') {var mdApp_merchantKey = 'md_key_40042i87359866';} 7683 7684if (typeof mdApp_MAIN_URL === 'undefined') { 7685 7686 var mdApp_MAIN_URL = 'https://iwannasleep.com'; 7687 7688} 7689 7690if (typeof mdApp_currentCountryCode === 'undefined') { 7691 7692 7693 var mdApp_currentCountryCode = 'US'; 7694 7695} 7696 7697if (typeof mdApp_currentCountryCodeName === 'undefined') { 7698 var mdApp_currentCountryCodeName = 'United States'; 7699} 7700 7701if (typeof mdApp_blockDomain === 'undefined') {var mdApp_blockDomain = '';} 7702 7703if (typeof mdApp_currentPageRelativeUrl === 'undefined') {var mdApp_currentPageRelativeUrl = "\/products\/aliv%E2%84%A2-head-gel-iws"; 7704} 7705 7706if (typeof mdApp_translateTextJSON === 'undefined') {var mdApp_translateTextJSON = {"pt-BR":{"title":"Você está na loja correta?","helperText":"","text":"Selecione abaixo o paÃs onde você deseja receber seu produto:","ctaText":"Acessar a loja","countryLabel":"PaÃs","languageLabel":"","fallbackText":"Nós não enviamos para {country}","fallbackHelperText":"","fallbackBodyText":"Selecione abaixo o paÃs onde você deseja receber seu produto:","fallbackCtaText":"Acessar a loja"},"BR-country":{"pt-BR":{"title":"Está no lugar certo?","helperText":"\u003cp\u003eCompre do pa\u0026iacute;s da sua escolha. Lembre-se de que s\u0026oacute; podemos enviar o seu pedido para endere\u0026ccedil;os localizados no pa\u0026iacute;s escolhido.\u003c\/p\u003e","text":"Por favor, selecione o seu paÃs de envio.","ctaText":"Comprar agora","countryLabel":"PaÃs","languageLabel":"Idioma","fallbackText":"","fallbackHelperText":"","fallbackBodyText":"","fallbackCtaText":""}},"CA-country":{"en":{"title":"Are you in the right place?","helperText":"\u003cp\u003eBuy from the country of your choice. Remember that we can only ship your order to addresses located in the chosen country.\u003c\/p\u003e","text":"Please select your shipping country.","ctaText":"Shop now","countryLabel":"Country","languageLabel":"Language","fallbackText":"","fallbackHelperText":"","fallbackBodyText":"","fallbackCtaText":""}},"US-country":{"en":{"title":"Are you in the right place?","helperText":"\u003cp\u003eBuy from the country of your choice. Remember that we can only ship your order to addresses located in the chosen country.\u003c\/p\u003e","text":"Please select your shipping country.","ctaText":"Shop now","countryLabel":"Country","languageLabel":"Language","fallbackText":"","fallbackHelperText":"","fallbackBodyText":"","fallbackCtaText":""}}};} 7707 7708if (typeof mdApp_translateTextPreviewJSON === 'undefined') {var mdApp_translateTextPreviewJSON = '';} 7709 7710if (typeof mdApp_klaviyoConnect == 'undefined') {var mdApp_klaviyoConnect = false;} 7711 7712if (typeof mdApp_connectifConnect == 'undefined') {var mdApp_connectifConnect = false;} 7713 7714if (typeof mdApp_discountSupport == 'undefined') {var mdApp_discountSupport = true;} 7715 7716if (typeof mdApp_advancedLanguage == 'undefined') {var mdApp_advancedLanguage = { 7717 "option_language_force_default": false, 7718 "option_language_force_showRecommendation": false, 7719 7720 "option_language_force_langRedirect": false 7721 7722 };} 7723 7724if (typeof mdApp_firstVisitSettings == 'undefined') {var mdApp_firstVisitSettings = { 7725 "option_force_showModal_behaviour": false, 7726 7727 "popup_display_order": 1, 7728 7729 "other_popup_classes": null, 7730 "exclude_ip": null 7731 };} 7732 7733if (typeof mdApp_secondVisitSettings == 'undefined') {var mdApp_secondVisitSettings = { 7734 "option_force_redirect_behaviour": false 7735 };} 7736 7737if (typeof mdApp_syncstoresData == 'undefined') { 7738 7739 var mdApp_syncstoresData = { 7740 "exclude_paths": "/pages*", 7741 "exclude_paths_splited": "/pages*", 7742 "redirect_fullpath": false 7743 }; 7744 7745} 7746 7747if (typeof mdApp_orbeCustomer === 'undefined') { 7748 7749 var mdApp_orbeCustomer = ''; 7750 7751} 7752 7753if (typeof mdApp_orbeCustomerB2B === 'undefined') { 7754 7755 7756 var mdApp_orbeCustomerB2B = false; 7757 7758} 7759 7760if (typeof mdApp_skipTruncate === 'undefined') { 7761 var mdApp_skipTruncate = false; 7762} 7763 7764if (typeof mdApp_skipReturnToDomainCheck === 'undefined') { 7765 var mdApp_skipReturnToDomainCheck = false; 7766} 7767 7768if (typeof mdApp_cookiesSettings == 'undefined') {var mdApp_cookiesSettings = { 7769 "modal_close_time": 7, 7770 7771 "session_only": false, 7772 7773 "modal_reappear": 60 7774 };} 7775 7776if (typeof mdApp_countryRules == 'undefined') {var mdApp_countryRules = { 7777 "fallbackCountry": "" 7778 };} 7779<!-- END app snippet --> 7780 7781 let mdFooterSelectorBlock = document.getElementById('md-footer-selector-block'); 7782 if (mdFooterSelectorBlock != null) { 7783 let customMDFooterSelectorBlock = document.getElementById('custom__md-footer-selector-block'); 7784 if (customMDFooterSelectorBlock != null) { 7785 customMDFooterSelectorBlock.appendChild(mdFooterSelectorBlock); 7786 } else if (document.getElementById('shopify-section-footer') != null) { 7787 document.getElementById('shopify-section-footer').appendChild(mdFooterSelectorBlock); 7788 } else if (document.querySelector('footer') != null) { 7789 document.querySelector('footer').appendChild(mdFooterSelectorBlock); 7790 } else if (document.querySelector('.footer') != null) { 7791 document.querySelector('.footer').appendChild(mdFooterSelectorBlock); 7792 } 7793 } 7794 7795 7796 7797 7798</script>
vendor: 1 bytes, line 7798
7798
7799<script> 7800 var orbitoMK; 7801 function initializeCountrySelector_AS0l5NUlVM2tMU2Jna__5858961087409699889() { 7802 if (typeof orbeMKFactory !== 'undefined') { 7803 const originalMKSelector = orbeMKFactory.createInstance('original-mk-selector-AS0l5NUlVM2tMU2Jna__5858961087409699889', { 7804 settings: { 7805 classicSelector: false 7806 } 7807 }); 7808 7809 } else { 7810 setTimeout(initializeCountrySelector_AS0l5NUlVM2tMU2Jna__5858961087409699889, 100); 7811 } 7812 } 7813 7814 initializeCountrySelector_AS0l5NUlVM2tMU2Jna__5858961087409699889(); 7815</script>
7815 7816 7817 7818 7819</div><div id="shopify-block-AYlZha3Y3M1ZCdHA1e__15912215999290715800" class="shopify-block shopify-app-block"> 7820 7821<style data-shopify> 7822 .md-modal__content, .md-btn, .md-modal__formContent__select select, .md-form__select, .md-form__select__country__list-link, .md-form__select__language__list-link, .md-form__select__country__list-link-wrapper span, .md-form__select__language__list-link-wrapper span, .md-modal__bodyContent__text p { 7823 font-size: 14px !important; 7824 } 7825 7826 .md-modal__header__title span, .md-modal__header__title h2 { 7827 font-size: 20px; 7828 } 7829 7830 #md-app-embed__modal .md-modal__header__title span, #md-app-embed__modal .md-modal__header__title h2 { 7831 color: #741254 !important; 7832 line-height: 1.75em; 7833 } 7834 7835 #md-app-embed__modal .md-form__select__search__input, #md-app-embed__modal .md-form__select, #md-app-embed__modal .md-form__select__country__list-link, #md-app-embed__modal .md-form__select__language__list-link, #md-app-embed__modal .md-form__select__country__list-link-wrapper span, #md-app-embed__modal .md-form__select__language__list-link-wrapper span { 7836 color: #741254 !important; 7837 } 7838 7839 7840 #md-app-embed__modal .md-form__select[aria-expanded="true"] .md-form__select__country__list__flag-wrapper { 7841 display: none; 7842 } 7843 #md-app-embed__modal .md-form__select[aria-expanded="true"] .md-form__select__country__list-link-wrapper .md-form__select__span { 7844 display: none; 7845 } 7846 #md-app-embed__modal .md-form__select[aria-expanded="true"] .md-form__select__search__input { 7847 display: block; 7848 font-family: inherit; 7849 line-height: inherit; 7850 border: none; 7851 font-size: 14px !important; 7852 } 7853 #md-app-embed__modal .md-form__select[aria-expanded="true"] .md-form__select__search__input::placeholder { 7854 font-size: 14px !important; 7855 } 7856 @media screen and (-webkit-min-device-pixel-ratio: 2) { 7857 #md-app-embed__modal .md-form__select[aria-expanded="true"] .md-form__select__search__input { 7858 font-size: max(16px, 14px) !important; 7859 } 7860 7861 #md-app-embed__modal .md-form__select[aria-expanded="true"] .md-form__select__search__input::placeholder { 7862 font-size: max(16px, 14px) !important; 7863 } 7864 } 7865 #md-app-embed__modal .md-form__select__country__list-link:hover, #md-app-embed__modal .md-form__select__language__list-link:hover { 7866 background: rgba(116, 18, 84, 0.1) !important; 7867 } 7868 7869 #md-app-embed__modal .md-form__select__search__input::placeholder { 7870 color: rgba(116, 18, 84, 0.5) !important; 7871 } 7872 7873 .md-btn__primary { 7874 background: #741254 !important; 7875 color: #ffffff !important; 7876 } 7877 7878 7879 .md-btn__primary:hover { 7880 background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) !important; 7881 } 7882 7883 .md-btn__primary:active { 7884 background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) !important; 7885 } 7886 7887 #md-app-embed__modal .md-form__select__search__input, #md-app-embed__modal .md-modal__content, #md-app-embed__modal .md-form__select__country__list, #md-app-embed__modal .md-form__select__language__list { 7888 background-color: #ffffff !important; 7889 color: #741254 !important; 7890 } 7891 7892 #md-app-embed__modal .md-modal__bodyContent p { 7893 color: #741254 !important; 7894 } 7895 7896 #md-app-embed__modal .md-modal__footerPoweredLink { 7897 color: #741254 !important; 7898 } 7899 .md-modal__footerContent { 7900 text-align: right; 7901 } 7902 #md-app-embed__modal .md-modal-closeButton .md-icon__Svg { 7903 fill: #741254 !important; 7904 } 7905 7906 #md-app-embed__modal .orbe-highlight-country__divider { 7907 border-bottom: 1px solid #741254 !important; 7908 } 7909 #md-app-embed__modal .md-form__select { 7910 border: unset !important; 7911 } 7912 #md-app-embed__modal .md-form__select__country__list, #md-app-embed__modal .md-form__select__language__list { 7913 border: 1px solid #741254 !important; 7914 } 7915 7916 #md-app-embed__modal .md-form__select { 7917 background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="%23741254" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 14.0002C9.74401 14.0002 9.48801 13.9023 9.29301 13.7073L4.29301 8.70725C3.90201 8.31625 3.90201 7.68425 4.29301 7.29325C4.68401 6.90225 5.31601 6.90225 5.70701 7.29325L10 11.5862L14.293 7.29325C14.684 6.90225 15.316 6.90225 15.707 7.29325C16.098 7.68425 16.098 8.31625 15.707 8.70725L10.707 13.7073C10.512 13.9023 10.256 14.0002 10 14.0002Z" fill="%23741254"/></svg>') !important; 7918 } 7919 #md-app-embed__modal .md-form__select[aria-expanded="true"] { 7920 background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="%23741254" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 13.0002C14.744 13.0002 14.488 12.9023 14.293 12.7073L10 8.41425L5.70701 12.7073C5.31601 13.0982 4.68401 13.0982 4.29301 12.7073C3.90201 12.3163 3.90201 11.6842 4.29301 11.2933L9.29301 6.29325C9.68401 5.90225 10.316 5.90225 10.707 6.29325L15.707 11.2933C16.098 11.6842 16.098 12.3163 15.707 12.7073C15.512 12.9023 15.256 13.0002 15 13.0002Z" fill="%23741254"/></svg>') !important; 7921 } 7922 .md-modal__footerContent { 7923 max-width: 100%; 7924 } 7925 7926 7927 7928 7929 /* Custom CSS */ 7930 7931 7932 .md-modal__footer { 7933 padding: 0.75em 1.5em 1.5em; 7934 } 7935 .md-modal__header__flag { 7936 display: block !important; 7937 background-position: center; 7938 background-size: cover; 7939 background-repeat: no-repeat; 7940 position: relative; 7941 width: 46.6px; 7942 height: 35px; 7943 margin: auto; 7944 margin-top: 1.5em; 7945 overflow: clip; 7946 outline: 0.0625rem solid rgba(0, 0, 0, 0.05); 7947 outline-offset: calc(0.0625rem* -1); 7948 } 7949 7950 .md-modal__header__flag img { 7951 height: 35px; 7952 width: 35px !important; 7953 border-radius: 35px; 7954 } 7955 7956 .md-modal-closeButton { 7957 position: absolute; 7958 right: 0; 7959 top: 0; 7960 margin: 0 !important; 7961 padding-top: 1.5em; 7962 padding-right: 1.5em; 7963 } 7964 .md-modal__header__flag, .md-fix-flag__header-white { 7965 width: 35px !important; 7966 border-radius: 33px; 7967 } 7968 7969 #md-app-embed__modal .md-form__select__country__list-link__flag, #md-app-embed__modal .md-fix-flag-white { 7970 width: 1.25em; 7971 height: 1.25em; 7972 border-radius: 35px; 7973 background-clip: padding-box; 7974 } 7975 7976 7977 .md-modal__backdrop { 7978 display: block !important; 7979 } 7980</style> 7981<!-- BEGIN app snippet: load-css-flags --> 7982<style data-orbe-flags="43">.orbe-flags-xx, .orbe-flags__before-xx:before {background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/xx.svg') !important;}.orbe-flags-us, .orbe-flags__before-us:before {background-image: url('https://cdn.shopify.com/static/images/flags/us.svg') !important;}.orbe-flags-ca, .orbe-flags__before-ca:before {background-image: url('https://cdn.shopify.com/static/images/flags/ca.svg') !important;}.orbe-flags-br, .orbe-flags__before-br:before {background-image: url('https://cdn.shopify.com/static/images/flags/br.svg') !important;}</style><style data-orbe-flags="circle">.orbe-flags-circle-xx, .orbe-flags-circle__before-xx:before { 7983 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/xx-1x1.svg') !important; 7984 }.orbe-flags-circle-us, .orbe-flags-circle__before-us:before { 7985 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/us-1x1.svg') !important; 7986 }.orbe-flags-circle-ca, .orbe-flags-circle__before-ca:before { 7987 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/ca-1x1.svg') !important; 7988 }.orbe-flags-circle-br, .orbe-flags-circle__before-br:before { 7989 background-image: url('https://cdn.shopify.com/extensions/01a10b24-e7f5-74bb-826a-087e105f5da6/orbe-geolocation-504/assets/br-1x1.svg') !important; 7990 }</style>
7990<script type="application/json" id="orbe-flag-css-meta">{"codes":",xx,us,ca,br","asset43":"https:\/\/cdn.shopify.com\/extensions\/01a10b24-e7f5-74bb-826a-087e105f5da6\/orbe-geolocation-504\/assets\/xx.svg","assetCircle":"https:\/\/cdn.shopify.com\/extensions\/01a10b24-e7f5-74bb-826a-087e105f5da6\/orbe-geolocation-504\/assets\/xx-1x1.svg","local43":"xx,xk,ac,af,arab,asean,cefta,cp,dg,ea,eac,es-ct,es-ga,es-pv,ic,pc,sh-ac,sh-hl,sh-ta,ta,un,gb-eng,gb-nir,gb-sct,gb-wls"}</script>
7990<!-- END app snippet --> 7991<div class="md-app-embed orbe--hidden" aria-hidden="true" id="md-app-embed__modal" data-nosnippet> 7992 7993 <!--googleoff: all--> 7994 7995 <div class="md-modal__container"> 7996 <div class="md-modal__dialog" role="dialog" aria-modal="true" 7997 aria-labelledby="label-md-modal__dialog" tabindex="-1"> 7998 <div class="md-modal__content notranslate" data-wg-notranslate><form method="post" action="/localization" id="md-modal__form__id" accept-charset="UTF-8" class="" enctype="multipart/form-data"><input type="hidden" name="form_type" value="localization" /><input type="hidden" name="utf8" value="â" /><input type="hidden" name="_method" value="put" /><input type="hidden" name="return_to" value="/products/aliv%E2%84%A2-head-gel-iws" /> 7999 <div class="md-modal__grid"> 8000 <div class="md-modal__grid__1"> 8001 <div class="md-modal__header__flag"> 8002 </div> 8003 <div class="md-modal__header"> 8004 <div class="md-modal__header__title"> 8005 <span id="label-md-modal__dialog" 8006 class="md-modal__header__title__span md-modal__header__custom__title" 8007 data-mdAppTitle 8008 role="heading" aria-level="2" tabindex="-1" 8009 > 8010 Are you in the right place? 8011 </span> 8012 </div> 8013 8014 <button class="md-modal-closeButton md-modal-closeButtonAction" aria-label="Close" type="button"> 8015 <span class="md-icon"> 8016 <span class="md-visuallyHidden"></span> 8017 <svg viewBox="0 0 20 20" class="md-icon__Svg" focusable="false" aria-hidden="true"> 8018 <path d="m11.414 10 6.293-6.293a1 1 0 1 0-1.414-1.414L10 8.586 3.707 2.293a1 1 0 0 0-1.414 1.414L8.586 10l-6.293 6.293a1 1 0 1 0 1.414 1.414L10 11.414l6.293 6.293A.998.998 0 0 0 18 17a.999.999 0 0 0-.293-.707L11.414 10z"></path> 8019 </svg> 8020 </span> 8021 </button> 8022 </div> 8023 <div class="md-modal__body"> 8024 <div class="md-modal__bodyContent" id="md-modal__idBodyContent"> 8025 <p class="md-modal__bodyContent__text" data-mdAppText>Please select your shipping country.</p> 8026 <div class="md-modal__bodyContent__helperText" data-mdAppHelperText> 8027 <p>Buy from the country of your choice. Remember that we can only ship your order to addresses located in the chosen country.</p> 8028 </div> 8029 </div> 8030 </div> 8031 8032 <!-- Custom HTML --> 8033<div class="md-modal__formContent notranslate" aria-describedby="md-modal__idBodyContent" data-wg-notranslate> 8034 <!-- BEGIN app snippet: country-selector --><div class="md-modal__formContent__select"> 8035 <span class="md-modal__formContent__selectLabel" id="label-md-form__country-code" data-mdAppCountryLabel>Country</span> 8036 <input name="country_code" type="hidden" id="orbe-country-selector-popup-id"> 8037 <button type="button" name="md-form__select__country__button" id="md-form__select__country" role="combobox" 8038 aria-haspopup="listbox" aria-labelledby="label-md-form__country-code" class="md-form__select" 8039 aria-expanded="false" aria-controls="orbeCountryList" data-value="US"> 8040 <div class="md-form__select__country__list-link-wrapper"> 8041 <div class="md-form__select__country__list__flag-wrapper"> 8042 <div class="md-form__select__country__list-link__flag"><div class="orbe-flags-circle-us md-form__select__img " data-circle="true"></div> 8043 </div> 8044 </div><span class="md-form__select__span">United States ($)</span><input onkeyup="orbito.searchCountryInput()"placeholder="Country"type="text" 8045 class="md-form__select__search__input " spellcheck="false" data-ms-editor="true" aria-label="Search and Enter" aria-description="Search and Enter" 8046 role="combobox" 8047 aria-autocomplete="list" 8048 aria-controls="orbeCountryList" 8049 aria-expanded="false" 8050 aria-haspopup="listbox"
8051 aria-activedescendant="" 8052 ></div> 8053 </button> 8054 <ul id="orbeCountryList" role="listbox" 8055 class="md-form__select__country__list " hidden> 8056 <li id="orbe-country-CA" 8057 tabindex="-1" role="option" 8058 data-name="Canada" data-country="CA" style="display: list-item;"> 8059 <span class="md-form__select__country__list-link" data-countryname="Canada" data-primarymarket="false" data-currency="USD" data-symbol="$" data-primary="enabled" data-defaultlocale="en" data-subfoldersuffix="" data-domainurl="i-wanna-sleep-usa.myshopify.com" data-host="iwannasleep.com" data-country="CA" data-value="CA" 8060 data-locales="en" data-namelocales="English"data-shipping-threshold="" 8061 data-delivery-time="" 8062 data-return-time="" 8063 data-payment="" 8064 data-taxes-included="false" 8065 data-duties-included="false"> 8066 <div class="md-form__select__country__list-link-wrapper"> 8067 <div class="md-form__select__country__list__flag-wrapper"> 8068 <div class="md-form__select__country__list-link__flag "><div class="orbe-flags-circle-ca md-form__select__img " data-circle="true"></div> 8069 </div> 8070 </div> 8071 <span class="md-form__select__span">Canada ($)</span> 8072 </div> 8073 </span> 8074 </li> 8075 <li id="orbe-country-US" 8076 tabindex="-1" role="option" 8077 data-name="United States" data-country="US" style="display: list-item;"> 8078 <span class="md-form__select__country__list-link" aria-current="true" data-countryname="United States" data-primarymarket="true" data-currency="USD" data-symbol="$" data-primary="enabled" data-defaultlocale="en" data-subfoldersuffix="" data-domainurl="iwannasleep.com" data-host="iwannasleep.com" data-country="US" data-value="US" 8079 data-locales="en" data-namelocales="English"data-shipping-threshold="" 8080 data-delivery-time="" 8081 data-return-time="" 8082 data-payment="" 8083 data-taxes-included="false" 8084 data-duties-included="false"> 8085 <div class="md-form__select__country__list-link-wrapper"> 8086 <div class="md-form__select__country__list__flag-wrapper"> 8087 <div class="md-form__select__country__list-link__flag "><div class="orbe-flags-circle-us md-form__select__img " data-circle="true"></div> 8088 </div> 8089 </div> 8090 <span class="md-form__select__span">United States ($)</span> 8091 </div> 8092 </span> 8093 </li> 8094 <li id="orbe-country-BR" 8095 tabindex="-1" role="option" 8096 data-name="Brasil" data-country="BR" style="display: list-item;"> 8097 <span class="md-form__select__country__list-link" data-countryname="Brasil" data-primarymarket="true" data-currency="BRL" data-symbol="R$" data-primary="undefined" data-defaultlocale="pt-BR" data-subfoldersuffix="" data-domainurl="www.iwannasleep.com.br" data-host="www.iwannasleep.com.br" data-country="BR" data-value="BR" 8098 data-locales="pt-BR" data-namelocales="português (Brasil)"data-shipping-threshold="" 8099 data-delivery-time="" 8100 data-return-time="" 8101 data-payment="" 8102 data-taxes-included="false" 8103 data-duties-included="false"> 8104 <div class="md-form__select__country__list-link-wrapper"> 8105 <div class="md-form__select__country__list__flag-wrapper"> 8106 <div class="md-form__select__country__list-link__flag "><div class="orbe-flags-circle-br md-form__select__img " data-circle="true"></div> 8107 </div> 8108 </div>
8109 <span class="md-form__select__span">Brasil (R$)</span> 8110 </div> 8111 </span> 8112 </li></ul> 8113</div> 8114<!-- END app snippet --> 8115<!-- BEGIN app snippet: language-selector --><div class="md-modal__formContent__select" style="display: none !important;"> 8116 <span class="md-modal__formContent__selectLabel" id="label-md-form__select__language" data-mdAppLanguageLabel>Language</span> 8117 <input name="language_code" id="orbe-lang-selector-popup-id" type="hidden"> 8118 <button type="button" name="md-form__select__language__button" id="md-form__select__language" class="md-form__select" 8119 aria-expanded="false" aria-controls="orbeLanguageList" role="combobox" aria-haspopup="listbox" 8120 aria-labelledby="label-md-form__select__language" data-value="en" 8121 8122 > 8123 <div class="md-form__select__language__list-link-wrapper"> 8124 <span class="md-form__select__span">English</span> 8125 </div> 8126 </button> 8127 <ul id="orbeLanguageList" role="listbox" 8128 class="md-form__select__language__list " hidden><li data-locale="en" 8129 class="" tabindex="-1" role="option"> 8130 <span class="md-form__select__language__list-link" aria-current="true" data-value="en"> 8131 <div class="md-form__select__language__list-link-wrapper"> 8132 <span class="md-form__select__span" data-value="en">English</span> 8133 </div> 8134 </span> 8135 </li></ul> 8136</div> 8137<!-- END app snippet --> 8138 </div> 8139 <div class="md-modal__footer "> 8140 <div class="md-modal__footerContent"> 8141 <button type="submit" class="md-btn md-btn__primary" id="md-btn__form__onSubmit" data-mdAppCTAText>Access</button> 8142 </div> 8143 8144 </div> 8145 </div> 8146 8147 <div class="md-modal__grid__2"> 8148 8149 </div> 8150 </div> 8151 </form> 8152 </div> 8153 </div> 8154 </div> 8155 8156 <!--googleon: all--> 8157 8158 <div class="md-modal__backdrop"></div> 8159 </div>
8159<script> 8160 8161if (typeof mdApp_hideOnFallback === 'undefined') { 8162 var mdApp_hideOnFallback = false; 8163 } 8164 if (typeof mdApp_showFlagHeaderIcon == 'undefined') {var mdApp_showFlagHeaderIcon = true;var mdApp_showFlagHeaderIconCircle = true;} 8165 8166 if (typeof mdApp_showFlagSelectorIcon == 'undefined') {var mdApp_showFlagSelectorIcon = true;} 8167 8168 if (typeof mdApp_currencyCodeEnabled === 'undefined') {var mdApp_currencyCodeEnabled = 'symbol_flag';} 8169 8170 if (typeof mdApp_backgroundModal == 'undefined') { 8171 var mdApp_backgroundModal = '#ffffff'; 8172 } 8173 8174 if (typeof mdApp_fallbackText === 'undefined') { 8175 var mdApp_fallbackText = `We donât ship to {country}`; 8176 } 8177 8178 if (typeof mdApp_disableFallbackPR === 'undefined') { 8179 var mdApp_disableFallbackPR = false; 8180 } 8181 8182 if (typeof mdApp_searchCountrySelectorModal == 'undefined') {var mdApp_searchCountrySelectorModal = true;} 8183 8184 <!-- BEGIN app snippet: js-variables --> 8185 8186 8187if (typeof mdApp_redirectMode == 'undefined') { 8188 var mdApp_redirectMode = false; 8189} 8190if (typeof mdApp_redirectRegionMode == 'undefined') { 8191 var mdApp_redirectRegionMode = false; 8192} 8193if (typeof mdApp_redirectRegionCode === 'undefined') { 8194 var mdApp_redirectRegionCode = ''; 8195} 8196if (typeof mdApp_redirectCountryCode === 'undefined') { 8197 var mdApp_redirectCountryCode = ''; 8198} 8199if (typeof mdApp_redirectCountryName === 'undefined') { 8200 var mdApp_redirectCountryName = ''; 8201} 8202if (typeof mdApp_redirectCountryCurrencyCode === 'undefined') { 8203 var mdApp_redirectCountryCurrencyCode = ''; 8204} 8205if (typeof mdApp_redirectCountryCurrencySymbol === 'undefined') { 8206 var mdApp_redirectCountryCurrencySymbol = ''; 8207} 8208if (typeof mdApp_redirectLocale === 'undefined') { 8209 var mdApp_redirectLocale = ''; 8210} 8211if (typeof mdApp_redirectEndonymName === 'undefined') { 8212 var mdApp_redirectEndonymName = ''; 8213} 8214if (typeof mdApp_redirectUrl === 'undefined') { 8215 var mdApp_redirectUrl = ''; 8216} 8217if (typeof mdApp_forceHideOrbe == 'undefined') { 8218 var mdApp_forceHideOrbe = false; 8219} 8220if (typeof mdApp_currentPlan == 'undefined') { 8221var mdApp_currentPlan = 'plus'; 8222} 8223if (typeof mdApp_forceExternalStoreRedirectMode == 'undefined') { 8224var mdApp_forceExternalStoreRedirectMode = false; 8225} 8226if (typeof mdApp_forceExternalStoreRedirectList == 'undefined') { 8227var mdApp_forceExternalStoreRedirectList = []; 8228} 8229if (typeof mdApp_deferUntilScroll == 'undefined') { 8230var mdApp_deferUntilScroll = false; 8231} 8232 8233if (typeof mdApp_skipRequestAPI == 'undefined') {var mdApp_skipRequestAPI = 'fal
8233se';} 8234 8235if (typeof mdApp_merchantKey === 'undefined') {var mdApp_merchantKey = 'md_key_40042i87359866';} 8236 8237if (typeof mdApp_MAIN_URL === 'undefined') { 8238 8239 var mdApp_MAIN_URL = 'https://iwannasleep.com'; 8240 8241} 8242 8243if (typeof mdApp_currentCountryCode === 'undefined') { 8244 8245 8246 var mdApp_currentCountryCode = 'US'; 8247 8248} 8249 8250if (typeof mdApp_currentCountryCodeName === 'undefined') { 8251 var mdApp_currentCountryCodeName = 'United States'; 8252} 8253 8254if (typeof mdApp_blockDomain === 'undefined') {var mdApp_blockDomain = '';} 8255 8256if (typeof mdApp_currentPageRelativeUrl === 'undefined') {var mdApp_currentPageRelativeUrl = "\/products\/aliv%E2%84%A2-head-gel-iws"; 8257} 8258 8259if (typeof mdApp_translateTextJSON === 'undefined') {var mdApp_translateTextJSON = {"pt-BR":{"title":"Você está na loja correta?","helperText":"","text":"Selecione abaixo o paÃs onde você deseja receber seu produto:","ctaText":"Acessar a loja","countryLabel":"PaÃs","languageLabel":"","fallbackText":"Nós não enviamos para {country}","fallbackHelperText":"","fallbackBodyText":"Selecione abaixo o paÃs onde você deseja receber seu produto:","fallbackCtaText":"Acessar a loja"},"BR-country":{"pt-BR":{"title":"Está no lugar certo?","helperText":"\u003cp\u003eCompre do pa\u0026iacute;s da sua escolha. Lembre-se de que s\u0026oacute; podemos enviar o seu pedido para endere\u0026ccedil;os localizados no pa\u0026iacute;s escolhido.\u003c\/p\u003e","text":"Por favor, selecione o seu paÃs de envio.","ctaText":"Comprar agora","countryLabel":"PaÃs","languageLabel":"Idioma","fallbackText":"","fallbackHelperText":"","fallbackBodyText":"","fallbackCtaText":""}},"CA-country":{"en":{"title":"Are you in the right place?","helperText":"\u003cp\u003eBuy from the country of your choice. Remember that we can only ship your order to addresses located in the chosen country.\u003c\/p\u003e","text":"Please select your shipping country.","ctaText":"Shop now","countryLabel":"Country","languageLabel":"Language","fallbackText":"","fallbackHelperText":"","fallbackBodyText":"","fallbackCtaText":""}},"US-country":{"en":{"title":"Are you in the right place?","helperText":"\u003cp\u003eBuy from the country of your choice. Remember that we can only ship your order to addresses located in the chosen country.\u003c\/p\u003e","text":"Please select your shipping country.","ctaText":"Shop now","countryLabel":"Country","languageLabel":"Language","fallbackText":"","fallbackHelperText":"","fallbackBodyText":"","fallbackCtaText":""}}};} 8260 8261if (typeof mdApp_translateTextPreviewJSON === 'undefined') {var mdApp_translateTextPreviewJSON = '';} 8262 8263if (typeof mdApp_klaviyoConnect == 'undefined') {var mdApp_klaviyoConnect = false;} 8264 8265if (typeof mdApp_connectifConnect == 'undefined') {var mdApp_connectifConnect = false;} 8266 8267if (typeof mdApp_discountSupport == 'undefined') {var mdApp_discountSupport = true;} 8268 8269if (typeof mdApp_advancedLanguage == 'undefined') {var mdApp_advancedLanguage = { 8270 "option_language_force_default": false, 8271 "option_language_force_showRecommendation": false, 8272 8273 "option_language_force_langRedirect": false 8274 8275 };} 8276 8277if (typeof mdApp_firstVisitSettings == 'undefined') {var mdApp_firstVisitSettings = { 8278 "option_force_showModal_behaviour": false, 8279 8280 "popup_display_order": 1, 8281 8282 "other_popup_classes": null, 8283 "exclude_ip": null 8284 };} 8285 8286if (typeof mdApp_secondVisitSettings == 'undefined') {var mdApp_secondVisitSettings = { 8287 "option_force_redirect_behaviour": false 8288 };} 8289 8290if (typeof mdApp_syncstoresData == 'undefined') { 8291 8292 var mdApp_syncstoresData = { 8293 "exclude_paths": "/pages*", 8294 "exclude_paths_splited": "/pages*", 8295 "redirect_fullpath": false 8296 }; 8297 8298} 8299 8300if (typeof mdApp_orbeCustomer === 'undefined') { 8301 8302 var mdApp_orbeCustomer = ''; 8303 8304} 8305 8306if (typeof mdApp_orbeCustomerB2B === 'undefined') { 8307 8308 8309 var mdApp_orbeCustomerB2B = false; 8310 8311} 8312 8313if (typeof mdApp_skipTruncate === 'undefined') { 8314 var mdApp_skipTruncate = false; 8315} 8316 8317if (typeof mdApp_skipReturnToDomainCheck === 'undefined') { 8318 var mdApp_skipReturnToDomainCheck = false; 8319} 8320 8321if (typeof mdApp_cookiesSettings == 'undefined') {var mdApp_cookiesSettings = { 8322 "modal_close_time": 7, 8323 8324 "session_only": false, 8325 8326 "modal_reappear": 60 8327 };} 8328 8329if (typeof mdApp_countryRules == 'undefined') {var mdApp_countryRules = { 8330 "fallbackCountry": "" 8331 };} 8332<!-- END app snippet --> 8333</script>
8333 8334 8335 8336 8337</div><div id="shopify-block-AeGpQd29zZjlCRFI1U__16160716078332068383" class="shopify-block shopify-app-block">
8337<script 8338 type="text/javascript" 8339 defer 8340> 8341 (function () { 8342 8343 const queryString = window.location.search; 8344 const urlParams = new URLSearchParams(queryString); 8345 const debug = urlParams.get('debug') === 'true'; 8346 let insertedCustomCodeFiles = []; 8347 let theLatestVariantId = null; 8348 let setActiveMedia = false; 8349 let kachingVariantId = null; 8350 let latestMediaIdsToHide = []; 8351 let ignoreVariantIdEquality = false; 8352 let theLatestUnavailableVariantId = null; 8353 const initialVariantId = urlParams.get('variant') || null; 8354 8355 const dl = (...args) => { 8356 if (debug) { 8357 console.log(" ::: Rubik Logs ::: \n", ...args); 8358 } 8359 };const rubikRawSettings = {"dont_run_on_first_load":false,"scroll_to_the_top":false,"detect_rubik_swatch_variant_id":false,"skip_initial_url_check":false}; 8360 const rubikThemeIdMappings = (rubikRawSettings && rubikRawSettings.theme_id_mappings) || {}; 8361 const rubikMappedThemeId = rubikThemeIdMappings[String(Shopify?.theme?.id ?? '')]; 8362 const themeStoreId = parseInt(rubikMappedThemeId) || Shopify?.theme?.theme_store_id || parseInt("887"); 8363 dl("Theme:", themeStoreId); 8364 8365 let settings = {}; 8366 8367 settings = {"dont_run_on_first_load":false,"scroll_to_the_top":false,"detect_rubik_swatch_variant_id":false,"skip_initial_url_check":false}; 8368 8369 8370 dl("Settings:", settings); 8371 8372 // dont_run_on_first_load means "only filter after the user actually interacts". 8373 // Skipping the first detectVariantChange call is not enough: themes and the 8374 // rubik-swatch can fire synthetic variant events while they initialize 8375 // (e.g. Impulse v9), so gate every update on a real user gesture instead. 8376 // isTrusted filters out script-dispatched events (theme auto-clicks etc.); 8377 // 'click' is included because screen readers can activate controls without 8378 // producing pointer or key events. 8379 // Reload-mode rubik-swatch stores deliver the user's variant click as a full 8380 // navigation (swatch.js handleVariantChange), so that interaction is handed 8381 // over via a short-lived sessionStorage marker â without it the destination 8382 // page would look like a cold load and never filter. 8383 let cameFromSwatchNavigation = false; 8384 try { 8385 const rawSwatchNav = sessionStorage.getItem('rubikSwatchNavigated'); 8386 sessionStorage.removeItem('rubikSwatchNavigated'); 8387 if (rawSwatchNav) { 8388 // Format: "<timestamp>|<destination pathname>" (pathname optional for 8389 // backward compatibility). The product-handle match stops a marker 8390 // orphaned by an aborted navigation from opening the gate on an 8391 // unrelated product page; comparing handles instead of full paths 8392 // tolerates locale/collection prefixes and redirects. 8393 const swatchNavSep = rawSwatchNav.indexOf('|'); 8394 const swatchNavTs = parseInt(swatchNavSep === -1 ? rawSwatchNav : rawSwatchNav.slice(0, swatchNavSep), 10); 8395 const swatchNavPath = swatchNavSep === -1 ? '' : rawSwatchNav.slice(swatchNavSep + 1); 8396 const extractProductHandle = (path) => ((path || '').match(/\/products\/([^/?#]+)/) || [])[1] || null; 8397 const swatchNavHandle = extractProductHandle(swatchNavPath); 8398 const currentHandle = extractProductHandle(window.location.pathname); 8399 const handleMatches = !swatchNavHandle || !currentHandle || swatchNavHandle === currentHandle; 8400 cameFromSwatchNavigation = !isNaN(swatchNavTs) && (Date.now() - swatchNavTs) < 120000 && handleMatches; 8401 } 8402 } catch (storageErr) { 8403 cameFromSwatchNavigation = false; 8404 } 8405 let userHasInteracted = settings?.dont_run_on_first_load !== true || cameFromSwatchNavigation; 8406 if (!userHasInteracted) { 8407 const interactionEvents = ['pointerdown', 'keydown', 'touchstart', 'click']; 8408 const markUserInteraction = (event) => { 8409 if (event.isTrusted !== true) { 8410 return; 8411 } 8412 userHasInteracted = true;
8413 interactionEvents.forEach((eventName) => { 8414 document.removeEventListener(eventName, markUserInteraction, true); 8415 }); 8416 }; 8417 interactionEvents.forEach((eventName) => { 8418 document.addEventListener(eventName, markUserInteraction, {capture: true, passive: true}); 8419 }); 8420 } 8421 8422 let optionsWithValues = {}; 8423 try { 8424 optionsWithValues = { 8425 8426 8427 8428 "6158959673587": "Default Title", 8429 8430 8431 8432 }; 8433 } catch (e) { 8434 dl('Error optionsWithValues:', e); 8435 optionsWithValues = {}; 8436 } 8437 8438 dl("optionsWithValues:", optionsWithValues); 8439 8440 const insertThemeCode = (fileUrl, callback) => { 8441 const script = document.createElement('script'); 8442 script.src = fileUrl; 8443 script.defer = true; 8444 script.onload = callback; 8445 document.body.appendChild(script); 8446 }; 8447 8448 const freeThemeIds = [887, 1567, 1368, 1356, 1841, 1431, 1500, 1363, 1864, 1499, 1434, 1891, 2699, 2738]; 8449 const horizonThemeIds = [2481, 3620, 3621, 3622, 3623, 3624, 3625, 3626, 3627, 3628];const themeFileUrlPerId = { 8450 796: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_debut.js", 8451 2881: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_satoshi.js", 8452 3365: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_primavera.js", 8453 2328: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_cello.js", 8454 939: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_beyond.js", 8455 2782: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_refine.js", 8456 3121: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_flux.js", 8457 3001: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_koto.js", 8458 1765: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_stretch.js", 8459 1667: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_avante.js", 8460 2073: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_area.js", 8461 623: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_testament.js", 8462 2186: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_maranello.js", 8463 1819: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_whisk.js", 8464 2629: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_tokyo.js", 8465 2240: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_next.js", 8466 691: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_california.js", 8467 859: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_cascade.js", 8468 865: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_avenue.js", 8469 2275: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_pesto.js", 8470 2366: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_essence.js", 8471 2852: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_pinnacle.js", 8472 2845: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_meka.js", 8473 1924: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_portland.js", 8474 2989: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ascent.js", 8475 3094: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_nimbus.js", 8476 3070: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_eclipse.js", 8477 3051: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_boutique.js", 8478 1751: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_taiga.js", 8479 2566: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_veena.js", 8480 798: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_lorenza.js", 8481 732: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_canopy.js", 8482 903: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_highlight.js", 8483 568: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_symmetry.js", 8484 1949: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_fetch.js", 8485 2222: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_gem.js", 8486 1839: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_blum.js", 8487 1609: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_xtra.js", 8488 1608: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_athens.js", 8489 2063: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_charge.js", 8490 3027: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ignite.js", 8491 606: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_blockshop.js", 8492 2896: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_outsiders.js", 8493 2630: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_retro.js", 8494 2870: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_madrid.js", 8495 1826: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_combine.js", 8496 2048: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_eurus.js", 8497 2515: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_monk.js", 8498 601: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_retina.js", 8499 1651: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_local.js", 8500 739: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_pipeline.js", 8501 871: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_warehouse.js", 8502 863: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_boost.js", 8503 2160: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_honey.js", 8504 777: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_palo_alto.js", 8505 1535: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_shapes.js", 8506 1615: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_yuva.js", 8507 1762: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_reformation.js", 8508 1918: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_abode.js", 8509 855: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_prestige.js", 8510 842: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_split.js", 8511 2412: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_concept.js", 8512 838: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_empire.js", 8513 2239: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_woodstock.js", 8514 1770: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_aurora.js", 8515 141: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_fashionopolism.js", 8516 714: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_focal.js", 8517 872: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_streamline.js", 8518 857: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_impulse.js", 8519 902: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_expanse.js", 8520 847: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_motion.js", 8521 2053: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_vision.js", 8522 2348: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_cornerstone.js", 8523 836: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_venue.js", 8524 1926: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_sahara.js", 8525 2698: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_release.js", 8526 801: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_flow.js", 8527 812: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_capital.js", 8528 868: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_broadcast.js", 8529 1190: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_impact.js", 8530 1818: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_mono.js", 8531 688: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_parallax.js", 8532 304: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_responsive.js", 8533 2285: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_vivid.js", 8534 566: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_atlantic.js", 8535 567: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_mrparker.js", 8536 725: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_kingdom.js", 8537 2539: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_digital.js", 8538 2821: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_sleek.js", 8539 686: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_icon.js", 8540 2358: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_toyo.js", 8541 2217: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_amber.js", 8542 687: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_showtime.js", 8543 411: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_envy.js", 8544 459: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_vantage.js", 8545 1399: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_beyours.js", 8546 2684: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_wonder.js", 8547 2702: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_paris.js", 8548 2482: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_essentials.js", 8549 2779: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_luxe.js", 8550 1114: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_bullet.js", 8551 2948: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_king.js", 8552 2967: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ultra.js", 8553 1611: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_zest.js", 8554 1979: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_mavon.js", 8555 885: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_express.js", 8556 230: "htt
8556ps://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_expression.js", 8557 2316: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_minimalista.js", 8558 910: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_baseline.js", 8559 1657: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_enterprise.js", 8560 2619: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_shark.js", 8561 2138: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_berlin.js", 8562 735: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_district.js", 8563 2061: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_infinity.js", 8564 1581: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_habitat.js", 8565 918: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_foodie.js", 8566 2221: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_xclusive.js", 8567 2164: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_electro.js", 8568 765: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_maker.js", 8569 1654: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_pursuit.js", 8570 1966: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_align.js", 8571 2077: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_gain.js", 8572 730: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_brooklyn.js", 8573 677: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_showcase.js", 8574 2801: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_nordic.js", 8575 679: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_supply.js", 8576 2431: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_distinctive.js", 8577 2324: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_barcelona.js", 8578 3210: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_sanfrancisco.js", 8579 3247: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_hyper.js", 8580 3248: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_etheryx.js", 8581 1578: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_mode.js", 8582 2599: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_sitar.js", 8583 657: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_alchemy.js", 8584 3223: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ascension.js", 8585 1460: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_north.js", 8586 1405: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_stockholm.js", 8587 3039: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_motto.js", 8588 3269: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_normcore.js", 8589 1621: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_stiletto.js", 8590 1907: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_marble.js", 8591 829: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_narrative.js", 8592 833: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_emerge.js", 8593 3177: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_master.js", 8594 1197: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_drop.js", 8595 2931: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_divine.js", 8596 2455: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_starlite.js", 8597 2717: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_energy.js", 8598 775: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_venture.
8598js", 8599 3533: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_lyra.js", 8600 3425: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_monochrome.js", 8601 3605: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_purity.js", 8602 3486: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_edge.js", 8603 3682: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_haven.js", 8604 2491: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_borders.js", 8605 864: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_story.js", 8606 3422: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_allure.js", 8607 2659: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_space.js", 8608 1829: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_creative.js", 8609 3341: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_futurer.js", 8610 2493: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_polyform.js", 8611 3745: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_supreme.js", 8612 3520: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_nova.js", 8613 3500: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_maya.js", 8614 3574: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_jasmine.js", 8615 2737: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_swipe.js", 8616 2264: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_unicorn.js", 8617 3802: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_z
8617yra.js", 8618 3872: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_zenith.js", 8619 3873: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_metro.js", 8620 3773: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_stockist.js", 8621 99990001: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ella.js", 8622 99990002: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_shella.js", 8623 99990003: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_minimog.js", 8624 99990004: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_avone.js", 8625 99990005: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_shrinepro.js", 8626 99990006: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_beauty.js", 8627 99990007: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_shrine.js", 8628 99990008: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_hexo.js", 8629 99990009: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ecomus.js", 8630 99990010: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_kalles.js", 8631 99990011: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_paradise.js", 8632 99990012: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_conrise.js", 8633 99990013: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_glozin.js", 8634 99990014: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_bohopastel.js", 8635 99990015: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_stunnalicious.js", 8636 99990016: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_speedfly.js", 8637 99990017: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_new99.js", 8638 99990018: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_comafashion.js", 8639 99990019: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_wpbingo.js", 8640 99990020: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_revive.js", 8641 99990021: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_eyezy.js", 8642 99990022: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_superstor.js", 8643 99990023: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_langshop.js", 8644 99990024: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ornate.js", 8645 99990025: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_umino.js", 8646 99990026: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_simolux.js", 8647 99990027: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_debutify.js", 8648 99990028: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_olivia.js", 8649 99990029: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_unsen.js", 8650 99990030: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_vogal.js", 8651 99990031: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_gecko.js", 8652 99990032: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_pose.js", 8653 99990033: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_fastor.js", 8654 99990034: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_vendy.js", 8655 99990035: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_turbo.js", 8656 99990036: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_shopiweb.js", 8657 99990037: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_pandora.js", 8658 99990038: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_360and5.js", 8659 99990039: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_selfmade.js", 8660 99990040: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_airn.js", 8661 99990041: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_kalles.js", 8662 99990042: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_boom.js", 8663 99990043: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_gluck.js", 8664 99990044: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_molding.js", 8665 99990045: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_lemon.js", 8666 99990046: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_emillia.js", 8667 99990047: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_timzee.js", 8668 99990048: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_december.js", 8669 99990049: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_elixir.js", 8670 99990050: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_booster.js", 8671 99990051: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_alfinet.js", 8672 99990052: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_atlas.js", 8673 99990053: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_wedesigntech.js", 8674 99990054: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_star.js", 8675 99990055: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_bridey.js", 8676 99990056: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_sleepify.js", 8677 99990057: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_charry.js", 8678 99990058: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_rokan.js", 8679 99990059: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_kinderland.js", 8680 99990060: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_skeleton.js", 8681 99990061: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_steraengotheme.js", 8682 99990062: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_optimal.js", 8683 99990063: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_spacingtechbaggy.js", 8684 99990064: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_rosyz.js",
8685 99990065: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_milano.js", 8686 99990066: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_hongo.js", 8687 99990067: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_valoni.js", 8688 99990068: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_fullstack.js", 8689 99990069: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_astro.js", 8690 99990070: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_wokiee.js", 8691 99990071: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_cleanstatepro.js", 8692 99990072: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_syncer.js", 8693 99990073: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_voya.js", 8694 99990074: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_funika.js", 8695 99990075: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_kala.js", 8696 99990076: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_neilengotheme.js", 8697 99990077: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_engo.js", 8698 4090: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_seventh.js", 8699 2319: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_beautify.js", 8700 4032: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_pebble.js", 8701 851: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_galleria.js", 8702 99990078: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_launch.js", 8703 99990079: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_dagency.js", 8704 99990080: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_greenshift.js", 8705 2346: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_agile.js", 8706 99990081: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_ecomify.js", 8707 99990082: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_resade.js", 8708 99990083: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_abra.js", 8709 3313: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_luxury.js", 8710 4693: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_monogram.js", 8711 380: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_minimal.js", 8712 4133: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_sophie.js", 8713 99990084: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_xotiny.js", 8714 2010: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_champion.js", 8715 99990085: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_flex.js", 8716 4260: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_milano_brainecom.js", 8717 5010: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_soft.js", 8718 99990086: "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_free.js", 8719 "rubikswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_rubikswiper.js", 8720 "slick": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_slick.js", 8721 "xswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_xswiper.js", 8722 "pwzrswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_pwzrswiper.js", 8723 "pwzrswiperv2": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_pwzrswiperv2.js", 8724 "pwzrswiperv3": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_pwzrswiperv3.js", 8725 "flowswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_flowswiper.js", 8726 "flowswiper2": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_flowswiper2.js", 8727 "flowswiper3": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_flowswiper3.js", 8728 "flowswiper4": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_flowswiper4.js", 8729 "slidercomponentheight": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_slidercomponentheight.js", 8730 "ecomswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ecomswiper.js", 8731 "ecomsplide": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ecomsplide.js", 8732 "instantsliderswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_instantsliderswiper.js", 8733 "tesbrosflickity": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_tesbrosflickity.js", 8734 "free": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_free.js", 8735 "expresstheme": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_expresstheme.js", 8736 "virtualswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_virtualswiper.js", 8737 "impulse5ddb": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_impulse5ddb.js", 8738 "disablelazyloadonmediagallery": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_disablelazyloadonmediagallery.js", 8739 "gpcarousel": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_gpcarousel.js", 8740 "beaeslider": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_beaeslider.js", 8741 "beaeslider2": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_beaeslider2.js", 8742 "pagefly": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_pagefly.js", 8743 "impactold": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_impactold.js", 8744 "swatch": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_swatch.js", 8745 "swatch12": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_swatch12.js", 8746 "koaaworld": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_koaaworld.js", 8747 "modeonlinemellins": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_modeonlinemellins.js", 8748 "instantswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_instantswiper.js", 8749 "owlcarousel": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_owlcarousel.js",
8750 "ohmygauze": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ohmygauze.js", 8751 "impulseflickitywraparound": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_impulseflickitywraparound.js", 8752 "owlgempages": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_owlgempages.js", 8753 "legoslick": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_legoslick.js", 8754 "legoowl": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_legoowl.js", 8755 "dirtking": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_dirtking.js", 8756 "impulseoldslick": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_impulseoldslick.js", 8757 "chavelle": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_chavelle.js", 8758 "prestigeold": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_prestigeold.js", 8759 "hideimagecontainers": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_hideimagecontainers.js", 8760 "thesoulcareclub": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_thesoulcareclub.js", 8761 "bootink": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_bootink.js", 8762 "gempagesnew": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_gempagesnew.js", 8763 "broadcastscroll": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_broadcastscroll.js", 8764 "footballwallcharts": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_footballwallcharts.js", 8765 "lynx": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_lynx.js", 8766 "ivomouterwear": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ivomouterwear.js", 8767 "shrineprodots": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_shrineprodots.js", 8768 "ecomposer": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ecomposer.js", 8769 "mralexjewelry": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_mralexjewelry.js", 8770 "skykickz": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_skykickz.js", 8771 "bestsolarbundle": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_bestsolarbundle.js", 8772 "pillowhorizon": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_pillowhorizon.js", 8773 "foxify": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_foxify.js", 8774 "dropmagic": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_dropmagic.js", 8775 "replo": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_replo.js", 8776 "impactold2": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_impactold2.js", 8777 "peachtruck": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_peachtruck.js", 8778 "roomartde": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_roomartde.js", 8779 "hidearrowssimon": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_hidearrowssimon.js", 8780 "smind": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_smind.js", 8781 "swiperunclearnie": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_swiperunclearnie.js", 8782 "websensepro": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_websensepro.js",
8783 "engelkette": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_engelkette.js", 8784 "ssproductgallery": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ssproductgallery.js", 8785 "tmxswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_tmxswiper.js", 8786 "wedesigntech": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_wedesigntech.js", 8787 "homeurbanliving": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_homeurbanliving.js", 8788 "purvivlabs": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_purvivlabs.js", 8789 "cartbar": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_cartbar.js", 8790 "customily": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_customily.js", 8791 "panaclear": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_panaclear.js", 8792 "tidaltones": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_tidaltones.js", 8793 "bambelle": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_bambelle.js", 8794 "locomo": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_locomo.js", 8795 "materia": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_materia.js", 8796 "huegahhome": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_huegahhome.js", 8797 "davincivaporizer": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_davincivaporizer.js", 8798 "hoesjes": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_hoesjes.js", 8799 "shani": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_shani.js", 8800 "knitec": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_knitec.js", 8801 "powermix": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_powermix.js", 8802 "mercyandmore": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_mercyandmore.js", 8803 "laureldenise": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_laureldenise.js", 8804 "ecomify": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ecomify.js", 8805 "zeta": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_zeta.js", 8806 "ventji": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ventji.js", 8807 "majusuperfood": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_majusuperfood.js", 8808 "horizon_reorder": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_horizon_reorder.js", 8809 "nuvora": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_nuvora.js", 8810 "prestigeseemore": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_prestigeseemore.js", 8811 "pinkstork": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_pinkstork.js", 8812 "kanikouture": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_kanikouture.js", 8813 "magiczoomplus": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_magiczoomplus.js", 8814 "impulseswiper": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_impulseswiper.js", 8815 "hkitalia": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_hkitalia.js", 8816 "brownbear": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_brownbear.js",
8817 "featuredthumbnail": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_featuredthumbnail.js", 8818 "ecomorbit": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ecomorbit.js", 8819 "ardorv5": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ardorv5.js", 8820 "hyperfirstimage": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_hyperfirstimage.js", 8821 "nofirstloadscroll": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_nofirstloadscroll.js", 8822 "vsoproductinfo": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_vsoproductinfo.js", 8823 "norellecro": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_norellecro.js", 8824 "sfbuy": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_sfbuy.js", 8825 "plainjane": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_plainjane.js", 8826 "ecomwize": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ecomwize.js", 8827 "dawngallery": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_dawngallery.js", 8828 "ereperez": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_ereperez.js", 8829 "immatgroup": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_immatgroup.js", 8830 "impactcategorized": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_impactcategorized.js", 8831 "lavari": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_lavari.js", 8832 "horizonswatch": "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/custom_horizon_swatch.js", 8833 }; 8834 8835 const themesWithoutContainers = [ 8836 ...freeThemeIds, ...horizonThemeIds, 99990001, 99990004, 3051, 2852, 2989, 2845, 1924, 3094, 2782, 1609, 3070, 2566, 99990002, 903, 798, 857, 568, 1190, 1657, 847, 714, 777, 1535, 2061, 801, 812, 2053, 732, 2821, 836, 910, 606, 725, 2160, 863, 1770, 2698, 2482, 1751, 1611, 1979, 99990003, 99990005, 99990006, 230, 2316, 1114, 99990007, 3365, 99990008, 99990009, 2138, 735, 1581, 918, 2221, 2366, 765, 1654, 2077, 730, 2275, 99990010, 865, 99990011, 99990012, 1762, 939, 99990013, 99990014, 99990015, 859, 99990016, 691, 2240, 99990017, 99990018, 99990019, 2629, 1819, 99990020, 99990021, 2186, 677, 623, 686, 99990022, 679, 99990023, 2073, 99990024, 2431, 3121, 99990025, 99990026, 2324, 99990027, 3210, 99990028, 99990029, 99990030, 99990031, 99990032, 99990033, 3247, 3248, 1667, 1765, 1578, 99990035, 2599, 657, 99990036, 1399, 1826, 3223, 1460, 871, 1405, 99990037, 99990038, 3039, 902, 3269, 141, 99990039, 2870, 99990040, 868, 1621, 99990041, 99990042, 99990043, 1907, 99990044, 99990045, 829, 99990046, 855, 99990047, 833, 2881, 3177, 99990048, 1197, 2931, 99990049, 2455, 99990050, 739, 99990051, 99990052, 2717, 99990053, 99990054, 99990055, 99990056, 88880001, 2239, 99990057, 775, 2348, 3533, 3425, 99990058, 99990059, 3486, 3682, 99990060, 2491, 99990061, 864, 3422, 2659, 1829, 3341, 99990062, 99990063, 2493, 3745, 3520, 2737, 99990064, 99990065, 99990066, 99990067, 99990068, 99990069, 99990070, 99990071, 99990072, 99990074, 99990075, 99990076, 99990077, 2264, 566, 4090, 2319, 3605, 796, 4032, 851, 99990078, 99990079, 99990080, 2346, 99990081, 99990082, 3500, 3773, 3574, 99990083, 3313, 4693, 380, 4133, 99990084, 2010, 99990085, 88880008, 4260, 5010, 99990086, 8837 ]; 8838
8839 const themeContainerClasses = { 8840 1839: ['.product-slideshow__thumb'], 8841 1608: ['.product-media-thumbnail'], 8842 3027: ['.product__media-item', '.product__media-item--active'], 8843 2063: ['.product-media-modal__thumbs a'], 8844 2896: ['.product-media-modal__content img'], 8845 2630: ['.product__media-item', '.product__media-item--active'], 8846 2515: ['.product__media-item', '.product__media-item--active'], 8847 2048: ['[id*="image-zoom-template--"]'], 8848 838: ['.product-gallery--media-thumbnail', '.product-gallery--media'], 8849 2412: ['.product__media'], 8850 601: ['.product-gallery__thumbnail'], 8851 1651: ['.thumbnail', '.product-gallery-item'], 8852 1843: ['.ML_Media_Gallery_Thumbnail', '.ml_nested_selection', '.ML_Media_Gallery_Viewer .hide'], 8853 1615: ['.yv-product-image-item', '.yv-product-slider-item.gallery-thumbs-item'], 8854 1926: ['.thumbnail-list__item'], 8855 872: ['.product__thumb-item'], 8856 842: ['.product-gallery-item', '.product-gallery__thumbnails.product-gallery__thumbnails-thumbnails .thumbnail'], 8857 1918: ['.product-media-modal__dialog img', '.product__media-item', '.thumbnail-list__item.slider__slide'], 8858 1818: ['.product__media-item'], 8859 2285: ['.thumbnail-list__item', '.product__media-item'], 8860 567: ['.thumbnail-list__item', '.product__media-item', '.product-media-container'], 8861 2358: ['.global-media-settings', '.product__media-item'], 8862 911: ['.product-thumbnails__item', '.product__media-item', '.lightbox__image', '.lightbox__image-nav-image'], 8863 2619: ['.product-media-popup-item', '.main-product-item'], 8864 2164: ['.product-slideshow__item', '.product-slideshow__thumb'], 8865 1966: ['.figure--square.figure--image'], 8866 2801: ['.product-media-modal__content img', '.product-media-modal__content deferred-media', '.product-media-modal__content .product-media-modal__model'], 8867 }; 8868 8869 const defaultContainerClasses = ['.product-single__thumbnails-item', '.thumbnail-list__item', '.product__media-item', '.product-image', '.global-media-settings',]; 8870 8871 const getThemeContainerClasses = (themeStoreId) => { 8872 if (themesWithoutContainers.includes(themeStoreId)) { 8873 return []; 8874 } 8875 return themeContainerClasses[themeStoreId] || defaultContainerClasses; 8876 }; 8877 8878 let themeHasCustomCode = false; 8879 if (themeStoreId && (themeFileUrlPerId[themeStoreId] || freeThemeIds.includes(themeStoreId) || horizonThemeIds.includes(themeStoreId))) { 8880 themeHasCustomCode = true; 8881 } 8882 8883 dl("Custom code:", themeHasCustomCode); 8884 8885 let disableThemeCode = false; 8886 if ("false" === 'true') { 8887 disableThemeCode = true; 8888 } 8889 8890 setTimeout(() => { 8891 if (typeof variantImageAutomator === 'function') { 8892 console.error('Variant Image Automator app is enabled it may conflict with Rubik'); 8893 } 8894 }, 1000); 8895 8896 let javascriptReady = false; 8897 if (themeHasCustomCode && !disableThemeCode) { 8898 let themeFileUrl = themeFileUrlPerId[themeStoreId]; 8899 if (!themeFileUrl) { 8900 if (freeThemeIds.includes(themeStoreId)) { 8901 themeFileUrl = "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_free.js"; 8902 } else if (horizonThemeIds.includes(themeStoreId)) { 8903 themeFileUrl = "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_horizon3.js"; 8904 } 8905 } 8906 dl("Inserting theme code:", themeFileUrl); 8907 8908 if (horizonThemeIds.includes(themeStoreId)) { 8909 const slideCount = document.querySelector('slideshow-component')?.style?.getPropertyValue('--slideshow-timeline')?.split(',').length || 0; 8910 // Only the media count is needed here. This used to dump the whole 8911 // product object again via a Liquid json filter; Liquid expands such a 8912 // tag server-side no matter what this JS condition evaluates to, so 8913 // every PDP on every theme shipped a second full copy of the product 8914 // payload (~72 KB on a 27-variant product) that only Horizon stores 8915 // ever read â and even they only read its media count. 8916 if (slideCount === 6) { 8917 themeFileUrl = "https://cdn.shopify.com/extensions/01a11791-075f-7ac9-97c8-c454852d8a00/rubik-variant-images-3469/assets/theme_horizon2.js"; 8918 dl("Horizon2"); 8919 } 8920 } 8921 8922 insertThemeCode(themeFileUrl, () => { 8923 javascriptReady = true; 8924 }); 8925 } 8926 8927 const waitForJavaScriptReady = (callback) => { 8928 const interval = setInterval(() => { 8929 if (javascriptReady) { 8930 clearInterval(interval); 8931 callback(); 8932 } 8933 }, 50); 8934 }; 8935 8936 const imageUrlToFilenameWithoutExtensionMain = (imageUrl) => { 8937 const imageName = imageUrl.split('/').pop(); 8938 return imageName.split('.').slice(0, -1).join('.'); 8939 }; 8940 8941 /* RUBIK_VI_FORMAT_START */ 8942 // The craftshift.variantImages metafield comes in two formats: the legacy 8943 // per-variant shape everything below reads, and the compact one (v: 2, 8944 // September 2026) that stores the assignment per option value instead of per 8945 // variant, keyed by ids that survive translation, renames and the 250-variant 8946 // cap of the page's product JSON. This turns the compact form into the legacy 8947 // shape; a legacy metafield passes through untouched. It is a copy of 8948 // App\Craftshift\VariantImages\VariantImagesMetafield::expand() in the server 8949 // repo, whose scripts/test-variant-images-format.mjs runs this very function 8950 // (extracted between the two markers) against the PHP writer's output: keep 8951 // the two identical. 8952 // values [{id, o, n, m}] configured option values: option value id, option 8953 // name, value name, media ids in the order they were assigned 8954 // variants {variantId: [valueId...]} the variant's configured values, in option order 8955 // files {mediaId: filename without extension} every product media 8956 // types {mediaId: typename} media that are not a MediaImage 8957 // common [mediaId] images present in every variant's list 8958 // emit the optional legacy keys to materialize (selectedImages, 8959 // mediaIdPerOptionValueId), as the shop's custom functions need them 8960 const rubikExpandVariantImages = (raw, productMedia) => { 8961 if (!raw || typeof raw !== 'object' || Number(raw.v) !== 2) { 8962 return raw; 8963 } 8964 const values = Array.isArray(raw.values) ? raw.values : [];
8965 const valuesById = {}; 8966 values.forEach((entry) => { 8967 if (entry && entry.id !== undefined && entry.id !== null) { 8968 valuesById[String(entry.id)] = entry; 8969 } 8970 }); 8971 const files = raw.files && typeof raw.files === 'object' ? raw.files : {}; 8972 const types = raw.types && typeof raw.types === 'object' ? raw.types : {}; 8973 const common = (Array.isArray(raw.common) ? raw.common : []).map(String); 8974 const isCommon = new Set(common); 8975 const emit = Array.isArray(raw.emit) ? raw.emit.map(String) : []; 8976 const filenameOf = (mediaId) => (files[mediaId] === undefined || files[mediaId] === null ? '' : String(files[mediaId])); 8977 8978 // A variant's images: the first list of its configured values, in its order 8979 // and with its duplicates, minus what any other list lacks, minus the commons. 8980 const imagesPerVariantId = {}; 8981 const mediaIdsPerVariantId = {}; 8982 const variants = raw.variants && typeof raw.variants === 'object' ? raw.variants : {}; 8983 Object.keys(variants).forEach((variantId) => { 8984 const lists = []; 8985 (Array.isArray(variants[variantId]) ? variants[variantId] : []).forEach((valueId) => { 8986 const entry = valuesById[String(valueId)]; 8987 if (entry && Array.isArray(entry.m) && entry.m.length > 0) { 8988 lists.push(entry.m.map(String)); 8989 } 8990 }); 8991 let result = []; 8992 if (lists.length > 0) { 8993 const others = lists.slice(1).map((list) => new Set(list)); 8994 result = lists[0].filter((mediaId) => others.every((set) => set.has(mediaId))); 8995 } 8996 result = result.filter((mediaId) => !isCommon.has(mediaId)); 8997 mediaIdsPerVariantId[variantId] = result; 8998 imagesPerVariantId[variantId] = result.map(filenameOf); 8999 }); 9000 9001 // imageUrls: every filename of the per-variant lists, then every configured 9002 // image that reached no list, common images excluded; first occurrence wins. 9003 const imageUrls = []; 9004 const seenFilenames = new Set(); 9005 const addFilename = (filename) => { 9006 if (!seenFilenames.has(filename)) { 9007 seenFilenames.add(filename); 9008 imageUrls.push(filename); 9009 } 9010 }; 9011 Object.keys(imagesPerVariantId).forEach((variantId) =>
9011 imagesPerVariantId[variantId].forEach(addFilename)); 9012 const configuredMediaIds = []; 9013 const seenMediaIds = new Set(); 9014 values.forEach((entry) => { 9015 (Array.isArray(entry.m) ? entry.m : []).forEach((rawMediaId) => { 9016 const mediaId = String(rawMediaId); 9017 if (isCommon.has(mediaId)) { 9018 return; 9019 } 9020 addFilename(filenameOf(mediaId)); 9021 if (!seenMediaIds.has(mediaId)) { 9022 seenMediaIds.add(mediaId); 9023 configuredMediaIds.push(mediaId); 9024 } 9025 }); 9026 }); 9027 9028 const mediaIdPerImage = {}; 9029 Object.keys(files).forEach((mediaId) => { 9030 mediaIdPerImage[filenameOf(mediaId)] = String(mediaId); 9031 }); 9032 9033 let selectedImages = []; 9034 if (emit.includes('selectedImages')) { 9035 const urlByMediaId = {}; 9036 (Array.isArray(productMedia) ? productMedia : []).forEach((media) => { 9037 if (media && media.id !== undefined && media.id !== null) { 9038 urlByMediaId[String(media.id)] = media.src || (media.preview_image && media.preview_image.src) || null; 9039 } 9040 }); 9041 selectedImages = {}; 9042 values.forEach((entry) => { 9043 const option = entry.o === undefined || entry.o === null ? '' : String(entry.o); 9044 const value = entry.n === undefined || entry.n === null ? '' : String(entry.n); 9045 if (!selectedImages[option]) { 9046 selectedImages[option] = {}; 9047 } 9048 selectedImages[option][value] = (Array.isArray(entry.m) ? entry.m : []).map((rawMediaId) => { 9049 const mediaId = String(rawMediaId); 9050 return { 9051 id: 'gid://shopify/' + (types[mediaId] || 'MediaImage') + '/' + mediaId, 9052 url: urlByMediaId[mediaId] === undefined ? null : urlByMediaId[mediaId] 9053 }; 9054 }); 9055 }); 9056 } 9057 9058 let mediaIdPerOptionValueId = []; 9059 if (emit.includes('mediaIdPerOptionValueId')) { 9060 mediaIdPerOptionValueId = {}; 9061 values.forEach((entry) => { 9062 if (entry && entry.id !== undefined && entry.id !== null && Array.isArray(entry.m) && entry.m.length > 0) { 9063 mediaIdPerOptionValueId[String(entry.id)] = String(entry.m[0]); 9064 } 9065 }); 9066 } 9067 9068 return { 9069 productId: raw.productId === undefined || raw.productId === null ? '' : String(raw.productId), 9070 imagesPerVariantId: imagesPerVariantId, 9071 selectedImages: selectedImages, 9072 imageUrls: imageUrls, 9073 mediaIdPerImage: mediaIdPerImage, 9074 mediaIdsPerVariantId: mediaIdsPerVariantId, 9075 configuredMediaIds: configuredMediaIds, 9076 mediaIdPerOptionValueId: mediaIdPerOptionValueId, 9077 commonMediaIds: common, 9078 featuredMediaIdPerVariantId: [] 9079 }; 9080 }; 9081 /* RUBIK_VI_FORMAT_END */ 9082 window.rubikExpandVariantImages = rubikExpandVariantImages; 9083 9084 let customFunctions = []; 9085 let storeHasCustomFunctions = false; 9086 9087 9088 dl("Custom functions", []); 9089 customFunctions = []; 9090 9091 9092 if (Array.isArray(customFunctions) && customFunctions.length > 0) { 9093 storeHasCustomFunctions = true; 9094 } 9095 9096 if (!storeHasCustomFunctions) { 9097 const pageFly = document.querySelector('.pf-main-media-wrapper'); 9098 if (pageFly) { 9099 customFunctions.push('pagefly'); 9100 storeHasCustomFunctions = true; 9101 } 9102 9103 const instant = document.querySelector('[data-instant-version]'); 9104 if (instant) { 9105 customFunctions.push('instantswiper'); 9106 storeHasCustomFunctions = true; 9107 } 9108 9109 const gemPages = document.querySelector('gp-product-images-v3') || document.querySelector('gp-product-images-v2') || document.querySelector('gp-product-images'); 9110 if (gemPages) { 9111 customFunctions.push('gempagesnew'); 9112 storeHasCustomFunctions = true; 9113 } 9114 9115 const dropMagic = document.querySelector('dm-product-hero-section#product-hero-section'); 9116 if (dropMagic) { 9117 customFunctions.push('dropmagic'); 9118 storeHasCustomFunctions = true; 9119 } 9120 9121 // Versio ("versio-smart-blocks") writes its own `vso_*` sections into the 9122 // theme, so the product page can be a Versio gallery on any theme id. 9123 const versio = document.querySelector('[data-vso-thumbn
9123ails]'); 9124 if (versio) { 9125 customFunctions.push('vsoproductinfo'); 9126 storeHasCustomFunctions = true; 9127 } 9128 9129 // EcomWize replaces the whole PDP with its own section, so its Swiper gallery 9130 // can show up on any theme id. 9131 const ecomWize = document.querySelector('[data-ecomwize-product-gallery]'); 9132 if (ecomWize) { 9133 customFunctions.push('ecomwize'); 9134 storeHasCustomFunctions = true; 9135 } 9136 9137 if (storeHasCustomFunctions) { 9138 dl("Custom functions:", customFunctions); 9139 } 9140 } 9141 9142 const findAlternativeVariantIdBySelectedOptionValueId = (optionValueId, productLiquid) => { 9143 dl("options:", optionsWithValues, optionValueId); 9144 9145 if (Object.keys(optionsWithValues).length === 0) { 9146 dl("No options"); 9147 return null; 9148 } 9149 if (optionsWithValues.hasOwnProperty(optionValueId) && productLiquid?.variants?.length > 0) { 9150 const selectedOptionValue = optionsWithValues[optionValueId]; 9151 const matchingVariant = productLiquid.variants.find(variant => 9152 variant?.option1 === selectedOptionValue 9153 ); 9154 if (matchingVariant) { 9155 return parseInt(matchingVariant.id); 9156 } 9157 } 9158 9159 return null; 9160 }; 9161 9162 const findAlternativeVariantIdBySelectedOptionValue = (optionValue, productLiquid) => { 9163 if (productLiquid?.variants?.length > 0) { 9164 const matchingVariant = productLiquid.variants.find(variant => 9165 variant?.option1 === optionValue 9166 ); 9167 if (matchingVariant) { 9168 return parseInt(matchingVariant.id); 9169 } 9170 } 9171 9172 return null; 9173 }; 9174 9175 const scrollToTop = () => { 9176 window.scrollTo(0, 0); 9177 document.documentElement.scrollTop = 0; 9178 document.body.scrollTop = 0; 9179 } 9180 9181 const initVariantImageHandler = (productLiquid) => { 9182 9183 try { 9184 9185 const runRubik = urlParams.get('run_rubik') === 'true'; 9186 dl("run_rubik param:", runRubik); 9187 9188 // Account disabled (over plan limit): kill all features regardless of run_rubik. 9189 if (settings?.over_limit_disabled === true) { 9190 dl("Rubik disabled: account is over its plan limit."); 9191 return; 9192 } 9193 9194 if ("true" !== 'true' && !runRubik) { 9195 dl("Rubik is not enabled."); 9196 return; 9197 } 9198 9199 if ("true" === 'true') { 9200 console.log("%cRubik Variant Images app is enabled", "color: #00ff00; font-size: 12px; font-weight: bold; background: #000; padding: 4px; border-radius: 5px;"); 9201 } 9202 9203 const stopRubik = urlParams.get('stop_rubik') === 'true'; 9204 9205 if (stopRubik) { 9206 dl("Rubik stopped."); 9207 return; 9208 } 9209 9210 dl("Product:", productLiquid); 9211 9212 const productMedia = productLiquid?.media; 9213 9214 9215 9216 9217 dl("No variant images"); 9218 return; 9219 9220 9221 if (!variantImages) { 9222 dl("No variant images. Exit"); 9223 return; 9224 } 9225 9226 let imageContainers = null; 9227 9228 imageContainers = []; 9229 9230 9231 let variantChangeSelectors = null; 9232 9233 variantChangeSelectors = []; 9234 9235 9236 const mediaPerVariant = variantImages?.imagesPerVariantId; 9237 const imageUrls = variantImages?.imageUrls; 9238 const mediaIdPerImage = variantImages?.mediaIdPerImage; 9239 const selectedImages = variantImages?.selectedImages; 9240 const configuredMediaIds = variantImages?.configuredMediaIds || []; 9241 const mediaIdsPerVariantId = variantImages?.mediaIdsPerVariantId; 9242 const mediaIdPerOptionValueId = variantImages?.mediaIdPerOptionValueId || {}; 9243 const commonMediaIds = variantImages?.commonMediaIds || []; 9244 const productId = variantImages?.productId || null; 9245 const featuredMediaIdPerVariantId = variantImages?.featuredMediaIdPerVariantId || {}; 9246 9247 if (productId !== null) { 9248 if (productLiquid.id.toString() !== productId) { 9249 dl("Product ID does not match. Exit"); 9250 return; 9251 } 9252 } else { 9253 try { 9254 const productVariantIds = productLiquid?.variants?.map(variant => variant.id); 9255 const mediaPerVariantIds = Object.keys(mediaPerVariant).map(id => parseInt(id)); 9256 const variantIdsInMediaPerVariant = productVariantIds.filter(id => mediaPerVariantIds.includes(id)); 9257 if (variantIdsInMediaPerVariant.length === 0) { 9258 dl("Product variant ids are not inside mediaPerVariant. Exit"); 9259 return; 9260 } 9261 } catch (e) { 9262 dl("Error checking product variant ids:", e); 9263 return; 9264 } 9265 } 9266 9267 // Vo Product Options (BCPO) rewrites the src of EVERY gallery image to the 9268 // selected variant's photo while its own replaceImage setting is on, so the 9269 // whole gallery â hero, lifestyle shots, everything â collapses into the same 9270 // repeated picture. updateProductImages turns that setting off, but it runs 9271 // too late while dont_run_on_first_load holds the gate shut
9271(and BCPO swaps 9272 // the images ~120-400ms after load), so the page load is lost to it. Defuse it 9273 // here instead: init runs for configured products regardless of the gate. 9274 // bcpo_settings is published by the app's own script, so keep looking briefly. 9275 const disableBcpoImageReplacement = () => { 9276 if (window?.bcpo_settings?.replaceImage !== 'on') { 9277 return false; 9278 } 9279 window.bcpo_settings.replaceImage = 'off'; 9280 dl("Vo Product Options - replaceImage is set to off."); 9281 return true; 9282 }; 9283 9284 if (!disableBcpoImageReplacement()) { 9285 let bcpoTries = 0; 9286 const bcpoTimer = setInterval(() => { 9287 if (disableBcpoImageReplacement() || ++bcpoTries > 50) { 9288 clearInterval(bcpoTimer); 9289 } 9290 }, 100); 9291 } 9292 9293 if ("false" === 'true') { 9294 dl("Hiding common images."); 9295 if (productMedia.length !== imageUrls.length) { 9296 productMedia.forEach(media => { 9297 const filenameWithoutExtension = imageUrlToFilenameWithoutExtensionMain(media.preview_image.src); 9298 if (!imageUrls.includes(filenameWithoutExtension)) { 9299 imageUrls.push(filenameWithoutExtension); 9300 dl("Image pushed to imageUrls:", filenameWithoutExtension); 9301 } 9302 9303 if (configuredMediaIds) { 9304 const mediaId = media.id.toString(); 9305 if (!configuredMediaIds.includes(mediaId)) { 9306 configuredMediaIds.push(mediaId); 9307 } 9308 } 9309 }); 9310 } 9311 } 9312 9313 if ("false" === 'true') { 9314 if (productMedia.length > 0) { 9315 productMedia.forEach(media => { 9316 const mediaId = media.id.toString(); 9317 if (!configuredMediaIds.includes(mediaId) && !commonMediaIds.includes(mediaId)) { 9318 configuredMediaIds.push(mediaId); 9319 } 9320 }); 9321 } 9322 } 9323 9324 dl("Media per variant:", mediaPerVariant); 9325 dl("Image URLs:", imageUrls); 9326 9327 const findCurrentVariantId = () => { 9328 let parsedValue = null; 9329 9330 const customVariantSelector = "none"; 9331 if (customVariantSelector !== 'none') { 9332 const customVariantId = none; 9333 if (customVariantId) { 9334 parsedValue = parseInt(customVariantId); 9335 if (!isNaN(parsedValue)) { 9336 dl("fcvi - Custom Variant ID:", parsedValue); 9337 return parsedValue; 9338 } 9339 } 9340 } 9341 9342 9343 const rubikSwatch = document?.querySelector('rubik-swatch'); 9344 if (rubikSwatch && rubikSwatch.offsetParent !== null) { 9345 const rubikSwatchDiv = rubikSwatch.shadowRoot?.querySelector('.rubik-swatch'); 9346 if (rubikSwatchDiv && rubikSwatchDiv.style.display !== 'none') { 9347 const rubikVariantId = rubikSwatchDiv.dataset?.rubikAlternativeVariantId || rubikSwatchDiv.dataset?.rubikVariantId; 9348 if (rubikVariantId && rubikVariantId !== 'null') { 9349 parsedValue = parseInt(rubikVariantId); 9350 if (!isNaN(parsedValue)) { 9351 dl("fcvi - RubikVariantId:", parsedValue); 9352 return parsedValue; 9353 } 9354 } 9355 } 9356 } 9357 9358 try { 9359 if (horizonThemeIds.includes(themeStoreId)) { 9360 9361 ignoreVariantIdEquality = false;
9362 9363 if (Object.keys(optionsWithValues).length > 0) { 9364 let currentSelectedOptionValues = document?.querySelector('variant-picker')?.selectedOptionsValues ?? []; 9365 if (currentSelectedOptionValues?.length > 0) { 9366 let unavailable = false; 9367 let currentSelectedOptions = currentSelectedOptionValues.map(id => optionsWithValues[id]); 9368 dl("hvi - selectedOptionsValues:", currentSelectedOptionValues, "mapped:", currentSelectedOptions); 9369 const hasUndefined = currentSelectedOptions.some(v => v === undefined); 9370 if (hasUndefined) { 9371 dl("hvi - WARNING: some option IDs not found in optionsWithValues. IDs:", currentSelectedOptionValues, "optionsWithValues keys:", Object.keys(optionsWithValues)); 9372 } 9373 let matchingVariant = productLiquid.variants.find( 9374 variant => areArraysEqual(variant.options, currentSelectedOptions) 9375 ); 9376 if (!matchingVariant) { 9377 const urlParams = new URLSearchParams(window.location.search); 9378 const urlVariantId = urlParams.get('variant'); 9379 if (urlVariantId) { 9380 const parsedUrlVariantId = parseInt(urlVariantId); 9381 if (!isNaN(parsedUrlVariantId)) {
9382 setActiveMedia = true; 9383 dl("hvi - Exact match failed, using variant from URL:", parsedUrlVariantId, "totalVariants:", productLiquid.variants?.length); 9384 return parsedUrlVariantId; 9385 } 9386 } 9387 } 9388 if (!matchingVariant) { 9389 matchingVariant = productLiquid.variants.find( 9390 variant => variant?.option1 === currentSelectedOptions[0] 9391 ); 9392 if (matchingVariant) { 9393 dl("hvi - matchingVariant (Unavailable):", matchingVariant); 9394 unavailable = true; 9395 } 9396 } 9397 if (matchingVariant?.id) {
9398 setActiveMedia = true; 9399 if (unavailable) { 9400 const mediaGallery = document.querySelector('media-gallery'); 9401 if (mediaGallery) { 9402 if (mediaGallery.hasAttribute('rubik')) { 9403 mediaGallery.removeAttribute('rubik'); 9404 } 9405 } 9406 dl("fcvi - hvi - Horizon - Unavailable Variant ID:", matchingVariant.id); 9407 ignoreVariantIdEquality = true; 9408 } else { 9409 dl("fcvi - hvi - Horizon - Available Variant ID:", matchingVariant.id); 9410 } 9411 9412 return matchingVariant.id; 9413 } 9414 } 9415 } 9416 9417 } 9418 } catch (e) { 9419 dl("Error in hvi:", e); 9420 } 9421 9422 if (customFunctions.includes('instantswiper')) { 9423 let instantVariantId = document.querySelector('[data-instant-action-id]')?.dataset?.instantActionVariantId; 9424 if (instantVariantId) { 9425 parsedValue = parseInt(instantVariantId); 9426 if (!isNaN(parsedValue)) { 9427 dl("fcvi - Instant Variant ID:", parsedValue); 9428 return parsedValue; 9429 } 9430 } 9431 } 9432 9433 if (themeStoreId === 99990003) { 9434 let minimogVariantId = document.querySelector('.m-main-product--info .main-product__block-buy_buttons product-form input[data-selected-variant]')?.value; 9435 if (minimogVariantId) { 9436 parsedValue = parseInt(minimogVariantId); 9437 if (!isNaN(parsedValue)) { 9438 dl("fcvi - Minimog Variant ID:", parsedValue); 9439 return parsedValue; 9440 } 9441 } 9442 } 9443 9444 if (themeStoreId === 1826) { 9445 let combineVariantId = document.querySelector('#product-form-installment input[type="hidden"][name="id"]')?.value; 9446 if (combineVariantId) { 9447 parsedValue = parseInt(combineVariantId); 9448 if (!isNaN(parsedValue)) { 9449 dl("fcvi - Combine Variant ID:", parsedValue); 9450 return parsedValue; 9451 } 9452 } 9453 } 9454 9455 if (themeStoreId === 99990036) { 9456 let shopiwebVariantId = parseInt(document.querySelector('#product-content form input[name="id"]').value); 9457 dl("fcvi - shopiwebVariantId:", shopiwebVariantId); 9458 return shopiwebVariantId; 9459 } 9460 9461 if (themeStoreId === 2629) { 9462 const variantRadios = document.querySelector('variant-radios'); 9463 if (variantRadios && variantRadios?.currentVariant === null) { 9464 const tokyoSelectedOptionValues = document.querySelector('variant-radios').getSelectedOptionValues(); 9465 if (tokyoSelectedOptionValues?.length > 0) { 9466 let tokyoCurrentSelectedOptionValue = tokyoSelectedOptionValues[0]; 9467 let tokyoVariantId = findAlternativeVariantIdBySelectedOptionValueId(tokyoCurrentSelectedOptionValue, productLiquid); 9468 if (tokyoVariantId) {
9469 setActiveMedia = true; 9470 return tokyoVariantId; 9471 } 9472 } 9473 } 9474 } 9475 9476 if (themeStoreId === 1762 && !document.querySelector('rubik-swatch')) { 9477 // Reformation leaves the add-to-cart form id and the ?variant= URL param on the 9478 // previous valid variant when the clicked option combo has no variant (it shows 9479 // UNAVAILABLE), and both also lag behind under rapid clicks. The checked option 9480 // inputs are the only source that always reflects the current selection, so 9481 // resolve the variant from them: exact match first, otherwise any variant with 9482 // the selected color so the gallery still switches to the clicked color. 9483 const reformationSelects = document.querySelector('variant-selects'); 9484 if (reformationSelects && productLiquid?.variants?.length > 0) { 9485 const reformationFieldsets = Array.from(reformationSelects.querySelectorAll('fieldset')); 9486 const reformationSelectedOptions = reformationFieldsets.map(fieldset => 9487 fieldset.querySelector('input[type="radio"]:checked, select')?.value ?? null 9488 ); 9489 if (reformationSelectedOptions.length > 0 && !reformationSelectedOptions.includes(null)) { 9490 const reformationExactMatch = productLiquid.variants.find(variant => 9491 areArraysEqual(variant.options, reformationSelectedOptions) 9492 ); 9493 if (reformationExactMatch?.id) {
9494 setActiveMedia = true; 9495 dl("fcvi - Reformation - Variant from checked options:", reformationExactMatch.id, reformationSelectedOptions); 9496 return parseInt(reformationExactMatch.id); 9497 } 9498 } 9499 const reformationColorFieldsetIndex = reformationFieldsets.findIndex(fieldset => 9500 ['color', 'colour'].includes(fieldset.dataset.handle) 9501 ); 9502 const reformationColorIndex = reformationColorFieldsetIndex !== -1 ? reformationColorFieldsetIndex : 0; 9503 const reformationSelectedColor = reformationSelectedOptions[reformationColorIndex]; 9504 if (reformationSelectedColor) { 9505 const reformationColorMatch = productLiquid.variants.find(variant => 9506 variant?.options?.[reformationColorIndex] === reformationSelectedColor 9507 ); 9508 if (reformationColorMatch?.id) {
9509 setActiveMedia = true; 9510 dl("fcvi - Reformation - Unavailable combo, variant from color option:", reformationColorMatch.id, reformationSelectedOptions); 9511 return parseInt(reformationColorMatch.id); 9512 } 9513 } 9514 } 9515 } 9516 9517 if (themeStoreId === 3313) { 9518 // Luxury writes the PREVIOUS variant id into ?variant= on every change 9519 // (verified on 3313: selecting Navy leaves Red's id in the URL, and it stays 9520 // exactly one selection behind forever). The generic "variant from URL" read 9521 // further down would therefore always resolve the previous colour, so the 9522 // gallery would lag one click behind. The PDP picker's checked inputs and the 9523 // add-to-cart form are both correct immediately, so resolve from those. 9524 // No rubik-swatch guard: when the swatch is visible fcvi already returned 9525 // above, and when it exists but is hidden the native picker IS the truth. 9526 const luxuryScope = document.querySelector('.main-product-container') || document; 9527 const luxuryPicker = luxuryScope.querySelector('variant-selector'); 9528 if (luxuryPicker && productLiquid?.variants?.length > 0) { 9529 const luxurySelectedOptions = Array.from(luxuryPicker.querySelectorAll('fieldset')).map( 9530 fieldset => fieldset.querySelector('input[type="radio"]:checked, select')?.value ?? null 9531 ); 9532 if (luxurySelectedOptions.length > 0 && !luxurySelectedOptions.includes(null)) { 9533 const luxuryExactMatch = productLiquid.variants.find(variant => 9534 areArraysEqual(variant.options, luxurySelectedOptions) 9535 ); 9536 if (luxuryExactMatch?.id) {
9537 setActiveMedia = true; 9538 dl("fcvi - Luxury - Variant from checked options:", luxuryExactMatch.id, luxurySelectedOptions); 9539 return parseInt(luxuryExactMatch.id); 9540 } 9541 // Combo has no variant (theme renders it as unavailable): fall back to 9542 // any variant carrying the selected first option so the gallery still 9543 // switches to the clicked colour. 9544 const luxuryFirstOptionMatch = productLiquid.variants.find(variant => 9545 variant?.options?.[0] === luxurySelectedOptions[0] 9546 ); 9547 if (luxuryFirstOptionMatch?.id) { 9548 setActiveMedia = true; 9549 dl("fcvi - Luxury - Unavailable combo, variant from first option:", luxuryFirstOptionMatch.id, luxurySelectedOptions); 9550 return parseInt(luxuryFirstOptionMatch.id); 9551 } 9552 } 9553 } 9554 const luxuryFormInput = luxuryScope.querySelector('input.product-variant-id, form[data-type="add-to-cart-form"] input[name="id"]'); 9555 if (luxuryFormInput?.value) { 9556 parsedValue = parseInt(luxuryFormInput.value); 9557 if (!isNaN(parsedValue)) { 9558 dl("fcvi - Luxury - Variant ID from add to cart form:", parsedValue); 9559 return parsedValue; 9560 } 9561 } 9562 } 9563 9564 if (themeStoreId === 5010) { 9565 // Soft fetches a section render on every option change and only THEN 9566 // rewrites ?variant=, input[name="id"] and the picker markup. Every generic 9567 // source below is therefore one selection behind at the moment the change 9568 // event fires; the picker's own selected option values are correct at once. 9569 const softShell = document.querySelector('pdp-product-shell[data-main-product="true"]') 9570 || document.querySelector('pdp-product-shell'); 9571 const softPicker = softShell?.querySelector('pdp-variant-selector'); 9572 if (softPicker && productLiquid?.variants?.length > 0) { 9573 const softGroups = Array.from(softPicker.querySelectorAll('.pdp-option')); 9574 const softSelectedOptions = softGroups.length > 0 9575 ? softGroups.map(group => 9576 group.querySelector('select')?.value 9577 ?? group.querySelector('input[type="radio"]:checked')?.value 9578 ?? null) 9579 : Array.from(softPicker.querySelectorAll('select, input[type="radio"]:checked')) 9580 .map(element => element.value ?? null); 9581 if (softSelectedOptions.length > 0 && !softSelectedOptions.includes(null)) { 9582 const softExactMatch = productLiquid.variants.find(variant => 9583 areArraysEqual(variant.options, softSelectedOptions) 9584 ); 9585 if (softExactMatch?.id) {
9586 setActiveMedia = true; 9587 dl("fcvi - Soft - Variant from picker options:", softExactMatch.id, softSelectedOptions); 9588 return parseInt(softExactMatch.id); 9589 } 9590 // Combo has no variant: still switch the gallery to the clicked first option. 9591 const softFirstOptionMatch = productLiquid.variants.find(variant => 9592 variant?.options?.[0] === softSelectedOptions[0] 9593 ); 9594 if (softFirstOptionMatch?.id) { 9595 setActiveMedia = true; 9596 dl("fcvi - Soft - Unavailable combo, variant from first option:", softFirstOptionMatch.id, softSelectedOptions); 9597 return parseInt(softFirstOptionMatch.id); 9598 } 9599 } 9600 } 9601 } 9602 9603 if (Shopify?.theme?.schema_name === 'Dawn' && Shopify?.theme?.schema_version === '12.0.0') { 9604 const variantRadios = document.querySelector('variant-radios'); 9605 if (variantRadios) { 9606 const currentVariant = variantRadios?.currentVariant; 9607 if (currentVariant === undefined) { 9608 if (Object.keys(optionsWithValues).length > 0) { 9609 let currentSelectedOptionValue = document.querySelector('variant-radios fieldset input:checked')?.value ?? null; 9610 if (Object.values(optionsWithValues).includes(currentSelectedOptionValue) && productLiquid?.variants?.length > 0) { 9611 const matchingVariant = productLiquid.variants.find(variant => 9612 variant?.option1 === currentSelectedOptionValue 9613 ); 9614 if (matchingVariant) {
9615 setActiveMedia = true; 9616 dl("Dawn12 - fcvi - Unavailable Variant ID:", matchingVariant.id); 9617 return parseInt(matchingVariant.id); 9618 } 9619 } 9620 } 9621 } 9622 } 9623 } 9624 9625 if (themeStoreId === 1399) { 9626 let addToCartForm = document.querySelector('.product form[method="post"][action="/cart/add"] input[type="hidden"][name="id"]'); 9627 if (addToCartForm && addToCartForm?.value) { 9628 parsedValue = parseInt(addToCartForm.value); 9629 if (!isNaN(parsedValue)) { 9630 dl("fcvi - Be Yours - Variant ID from add to cart form:", addToCartForm.value); 9631 return parsedValue; 9632 } 9633 } 9634 } 9635 9636 if (themeStoreId === 3486 && !document.querySelector('rubik-swatch')) { 9637 // Edge updates the ?variant= URL param ~0.6-1s after a NATIVE swatch click, but the 9638 // checked option inputs reflect the new selection within ~5ms. Read those directly 9639 // so the image swaps without waiting on the slow URL update (measured: ~1s -> ~0.1s). 9640 // Skip entirely when the Rubik swatch is the picker: it drives changes via the 9641 // rubik-variant-id-changed event, and an extra option-based detection here could 9642 // fire a second (wrong) update during the swatch's native-input sync. 9643 const edgeVariantSelects = document.querySelector('variant-selects, variant-radios'); 9644 if (edgeVariantSelects && productLiquid?.variants?.length > 0) { 9645 const edgeSelectedOptions = Array.from( 9646 edgeVariantSelects.querySelectorAll('fieldset input[type="radio"]:checked, fieldset select') 9647 ).map(el => el.value); 9648 if (edgeSelectedOptions.length > 0) { 9649 const edgeMatchingVariant = productLiquid.variants.find(variant => 9650 areArraysEqual(variant.options, edgeSelectedOptions) 9651 ); 9652 if (edgeMatchingVariant?.id) {
9653 setActiveMedia = true; 9654 dl("fcvi - Edge - Variant from checked options:", edgeMatchingVariant.id, edgeSelectedOptions); 9655 return parseInt(edgeMatchingVariant.id); 9656 } 9657 dl("fcvi - Edge - No exact variant match, falling back to URL:", edgeSelectedOptions); 9658 } 9659 } 9660 } 9661 9662 const kachingBundlesBlock = document.querySelector('kaching-bundles-block'); 9663 if (kachingBundlesBlock && !document.querySelector('rubik-swatch')) { 9664 // Kaching never rewrites ?variant= back to the initially rendered variant, so 9665 // the URL read below (and the 200ms urlPolling) resolves the previous colour 9666 // forever, flipping the gallery back after every correct render. The picker's 9667 // checked inputs and the real add-to-cart form stay correct â but NOT the 9668 // FIRST /cart/add form, which is the installment one Kaching never updates. 9669 const kachingFormInput = document.querySelector('form[data-type="add-to-cart-form"] input[name="id"]'); 9670 // Only read the picker when Kaching keeps it in sync: with 9671 // disableVariantOptionSync the theme picker is deliberately left alone, so its 9672 // checked inputs are not the truth. Scoped so a quick-view picker can't be read 9673 // instead, and only while visible (Kaching can hide the theme picker). 9674 const kachingSyncsPicker = !(kachingBundlesBlock.getAttribute('deal-block') || '') 9675 .includes('"disableVariantOptionSync":true'); 9676 const kachingPicker = kachingSyncsPicker 9677 ? (kachingFormInput?.closest('product-info, .product, main') || document) 9678 .querySelector('variant-radios, variant-selects, variant-picker') 9679 : null; 9680 if (kachingPicker && kachingPicker.offsetParent !== null && productLiquid?.variants?.length > 0) { 9681 const kachingSelectedOptions = Array.from( 9682 kachingPicker.querySelectorAll('fieldset input[type="radio"]:checked, fieldset select') 9683 ).map(el => el.value); 9684 if (kachingSelectedOptions.length > 0) { 9685 const kachingMatchingVariant = productLiquid.variants.find(variant => 9686 areArraysEqual(variant.options, kachingSelectedOptions) 9687 ); 9688 if (kachingMatchingVariant?.id) { 9689 dl("fcvi - Kaching - Variant from checked options:", kachingMatchingVariant.id, kachingSelectedOptions); 9690 return parseInt(kachingMatchingVariant.id); 9691 } 9692 } 9693 } 9694 if (kachingFormInput?.value) { 9695 parsedValue = parseInt(kachingFormInput.value); 9696 if (!isNaN(parsedValue)) { 9697 dl("fcvi - Kaching - Variant ID from add to cart form:", parsedValue); 9698 return parsedValue; 9699 } 9700 } 9701 } 9702 9703 try { 9704 const urlParams = new URLSearchParams(window.location.search); 9705 const variantFromUrl = urlParams.get('variant'); 9706 if (variantFromUrl) { 9707 parsedValue = parseInt(variantFromUrl); 9708 if (!isNaN(parsedValue)) { 9709 dl("fcvi - Variant from URL:", variantFromUrl); 9710 return parsedValue; 9711 } 9712 } 9713 9714 if (themeStoreId === 99990012) { 9715 let conriseVariantId = document.querySelector('.product-information-buy-buttons-row input')?.value; 9716 parsedValue = parseInt(conriseVariantId); 9717 if (!isNaN(parsedValue)) { 9718 dl("fcvi - Variant from Conrise:", conriseVariantId); 9719 return parsedValue; 9720 } 9721 } 9722 9723 let addToCartForm = document.querySelector('.product form[method="post"][action="/cart/add"] input[type="hidden"][name="id"]'); 9724 if (addToCartForm && addToCartForm?.value) { 9725 parsedValue = parseInt(addToCartForm.value); 9726 if (!isNaN(parsedValue)) { 9727 dl("fcvi - Variant ID from add to cart form:", addToCartForm.value); 9728 return parsedValue; 9729 } 9730 } 9731 9732 const variantSelector = document.querySelector('select[name="id"], input[name="id"]:checked'); 9733 if (variantSelector && variantSelector?.value) { 9734 parsedValue = parseInt(variantSelector.value); 9735 if (!isNaN(parsedValue)) { 9736 dl("fcvi - Variant selector:", variantSelector?.value); 9737 return parsedValue; 9738 } 9739 } 9740 9741 const firstVariantSelector = document.querySelector('select[name="id"] option, input[name="id"]'); 9742 if (firstVariantSelector && firstVariantSelector?.value) { 9743 parsedValue = parseInt(firstVariantSelector.value); 9744 if (!isNaN(parsedValue)) { 9745 const exists = productLiquid.variants.some(variant => variant.id === parsedValue); 9746 if (exists) { 9747 dl("fcvi - First variant selector:", firstVariantSelector); 9748 return parsedValue; 9749 } 9750 } 9751 } 9752 9753 const form = document.querySelector('form[method="post"][action="/cart/add"][data-type="add-to-cart-form"]'); 9754 if (form) { 9755 const input = form.querySelector('input[type="hidden"][name="id"]'); 9756 if (input && input?.value) { 9757 9758 parsedValue = parseInt(input.value); 9759 if (!isNaN(parsedValue)) { 9760 dl("fcvi - Variant ID from add to cart form (2):", input.value); 9761 return parsedValue; 9762 } 9763 } 9764 } 9765 9766 if (freeThemeIds.includes(themeStoreId) || themeStoreId === 99990006) { 9767 dl("optionsWithValues:", optionsWithValues); 9768 if (Object.keys(optionsWithValues).length > 0) { 9769 let currentSelectedOptionValue = document?.querySelector('variant-selects')?.selectedOptionValues?.[0] ?? null; 9770 dl("currentSelectedOptionValue:", currentSelectedOptionValue); 9771 const variantId = findAlternativeVariantIdBySelectedOptionValueId(currentSelectedOptionValue, productLiquid); 9772 if (variantId) {
9773 setActiveMedia = true; 9774 return variantId; 9775 } 9776 } 9777 } 9778 9779 if (productLiquid?.variants?.length > 0) { 9780 dl("fcvi - Returning first variant ID:", productLiquid.variants[0].id); 9781 return productLiquid.variants[0].id; 9782 } 9783 9784 dl("fcvi - Error: No variant id found."); 9785 9786 return null; 9787 9788 } catch (error) { 9789 dl("Error finding current variant ID:", error); 9790 return null; 9791 } 9792 }; 9793 9794 const toggleImageContainer = (imageElement, show) => { 9795 9796 if (disableThemeCode === true) { 9797 return; 9798 } 9799 9800 try { 9801 let containerClasses = getThemeContainerClasses(themeStoreId); 9802 9803 if (Array.isArray(imageContainers) && imageContainers.length > 0) { 9804 containerClasses = imageContainers; 9805 } 9806 9807 if (containerClasses.length === 0) { 9808 return; 9809 } 9810 9811 const container = containerClasses.reduce((found, className) => 9812 found || imageElement.closest(className), null); 9813 if (container) { 9814 container.style.display = show ? '' : 'none'; 9815 } 9816 } catch (error) { 9817 dl("Error toggling image container:", error); 9818 } 9819 }; 9820 9821 const extractFilename = (imageUrl) => { 9822 try { 9823 if (!imageUrl || typeof imageUrl !== 'string') { 9824 return ''; 9825 } 9826 const urlWithoutParams = imageUrl.split('?')[0]; 9827 const parts = urlWithoutParams.split('/'); 9828 if (parts.length === 0) { 9829 return ''; 9830 } 9831 const imageName = parts.pop() || ''; 9832 if (!imageName) { 9833 return ''; 9834 } 9835 const nameWithoutExtension = imageName.split('.').slice(0, -1).join('.'); 9836 const regex = /(_\d+x\d+)$/; 9837 return nameWithoutExtension.replace(regex, ''); 9838 } catch (error) { 9839 dl('Error in extractFilename:', error); 9840 return ''; 9841 } 9842 }; 9843 9844 const updateProductImages = (variantId, source = 'unknown') => { 9845 9846 if (!userHasInteracted) { 9847 dl(`[${source}] Skipped: dont_run_on_first_load is enabled and the user hasn't interacted yet.`); 9848 return; 9849 } 9850 9851 if (!variantId) { 9852 dl(`[${source}] Variant ID is null. Exiting.`); 9853 return; 9854 } 9855 9856 if (isNaN(variantId)) { 9857 dl(`[${source}] Variant ID is not numeric. Exiting.`); 9858 return; 9859 } 9860 9861 variantId = parseInt(variantId); 9862 9863 if (theLatestVariantId && variantId === theLatestVariantId) { 9864 if (ignoreVariantIdEquality === false) { 9865 return; 9866 } 9867 if (ignoreVariantIdEquality === true && theLatestUnavailableVariantId === variantId) { 9868 return; 9869 } 9870 } 9871 9872 dl(`[${source}] updateProductImages:`, variantId); 9873 9874 if (ignoreVariantIdEquality) { 9875 theLatestUnavailableVariantId = variantId; 9876 } 9877 9878 ignoreVariantIdEquality = false;
9879 theLatestVariantId = variantId; 9880 9881 try { 9882 9883 dl(`Updating images for variant ID: ${variantId}`); 9884 dl("Media per variant:", mediaPerVariant); 9885 9886 if (!mediaPerVariant.hasOwnProperty(variantId)) { 9887 dl('Variant ID not found in mediaPerVariant:', variantId); 9888 return; 9889 } 9890 9891 const variantImages = mediaPerVariant[variantId] || imageUrls; 9892 9893 let imagesToShow = []; 9894 let imagesToHide = []; 9895 9896 imageUrls.forEach(imageUrl => { 9897 if (variantImages.includes(imageUrl)) { 9898 imagesToShow.push(imageUrl); 9899 return; 9900 } else { 9901 imagesToHide.push(imageUrl); 9902 } 9903 const elementsToHide = Array.from(document.querySelectorAll('img')).filter(img => { 9904 let src = img.getAttribute('src'); 9905 if (src === null) { 9906 src = img.getAttribute('data-original'); 9907 } 9908 const regex = new RegExp(`/${imageUrl}(_\\d+x|[@.])`); 9909 return regex.test(src); 9910 }); 9911 elementsToHide.forEach(img => toggleImageContainer(img, false)); 9912 }); 9913 9914 variantImages.forEach(imageUrl => { 9915 let elementsToShow = Array.from(document.querySelectorAll('img')).filter(img => { 9916 let src = img.getAttribute('src'); 9917 if (src === null) { 9918 src = img.getAttribute('data-original'); 9919 } 9920 const regex = new RegExp(`/${imageUrl}(_\\d+x|[@.])`); 9921 return regex.test(src); 9922 }); 9923 elementsToShow.forEach(img => toggleImageContainer(img, true)); 9924 imagesToShow.push(imageUrl); 9925 }); 9926 9927 let mediaIdsToHide = []; 9928 imagesToHide.forEach(imageName => { 9929 if (mediaIdPerImage.hasOwnProperty(imageName)) { 9930 mediaIdsToHide.push(mediaIdPerImage[imageName]); 9931 } else { 9932 dl("Media ID not found for image:", imageName); 9933 } 9934 }); 9935 9936 imagesToShow = [...new Set(imagesToShow)]; 9937 imagesToHide = [...new Set(imagesToHide)]; 9938 mediaIdsToHide = [...new Set(mediaIdsToHide)]; 9939 9940 let featuredMediaId = null; 9941 if (theLatestVariantId) { 9942 try { 9943 if (featuredMediaIdPerVariantId[theLatestVariantId]) { 9944 featuredMediaId = parseInt(featuredMediaIdPerVariantId[theLatestVariantId]); 9945 } else { 9946 productLiquid.variants.forEac
9946h(variant => { 9947 if (variant.id === theLatestVariantId) { 9948 featuredMediaId = variant.featured_media?.id; 9949 } 9950 }); 9951 } 9952 } catch (error) { 9953 dl("Error getting featured media ID:", error); 9954 } 9955 } 9956 9957 if (configuredMediaIds && mediaIdsPerVariantId) { 9958 let mediaIdsToShow = mediaIdsPerVariantId?.[variantId] ?? []; 9959 let newMediaIdsToHide = []; 9960 if (mediaIdsToShow.length > 0) { 9961 configuredMediaIds.forEach(mediaId => { 9962 if (!mediaIdsToShow.includes(mediaId)) { 9963 newMediaIdsToHide.push(mediaId); 9964 } 9965 }); 9966 } else { 9967 newMediaIdsToHide = configuredMediaIds; 9968 } 9969 newMediaIdsToHide = [...new Set(newMediaIdsToHide)]; 9970 mediaIdsToHide = newMediaIdsToHide; 9971 } 9972 9973 if (mediaIdsToHide.length !== imagesToHide.length) { 9974 imagesToHide = Object.entries(mediaIdPerImage) 9975 .filter(([imageName, mediaId]) => mediaIdsToHide.includes(mediaId)) 9976 .map(([imageName]) => imageName); 9977 } 9978 9979 dl("params: Images to show:", imagesToShow); 9980 dl("params: Images to hide:", imagesToHide); 9981 dl("params: Media IDs to hide:", mediaIdsToHide); 9982 dl("params: Image Urls:", imageUrls); 9983 dl("params: Current selected variant ID:", theLatestVariantId); 9984 dl("params: Featured media ID:", featuredMediaId); 9985 dl("Disable theme code:", disableThemeCode); 9986 9987 disableBcpoImageReplacement(); 9988 9989 if (!featuredMediaId) {
9990 setActiveMedia = true; 9991 } 9992 9993 let customSliderSelector = null; 9994 9995 dl("Custom Slider Selector", ".product-gallery"); 9996 customSliderSelector = ".product-gallery"; 9997 9998 9999 let mainSliderSelector = null; 10000 10001 mainSliderSelector = "none"; 10002 if (mainSliderSelector === 'none') { 10003 mainSliderSelector = null; 10004 } 10005 10006 10007 let thumbSliderSelector = null; 10008 10009 thumbSliderSelector = "none"; 10010 if (thumbSliderSelector === 'none') { 10011 thumbSliderSelector = null; 10012 } 10013 10014 10015 let swatchCss = null; 10016 10017dl("Swatch CSS", "none"); 10018 swatchCss = "none"; 10019 10020 10021 const config = { 10022 customFunctions: customFunctions,
10023 setActiveMedia: setActiveMedia, 10024 imageUrls: imageUrls, 10025 extractFilename: extractFilename, 10026 customSliderSelector: customSliderSelector, 10027 mediaIdPerOptionValueId: mediaIdPerOptionValueId, 10028 swatchCss: swatchCss, 10029 thumbSliderSelector: thumbSliderSelector, 10030 mainSliderSelector: mainSliderSelector, 10031 imageContainers: imageContainers, 10032 variants: productLiquid?.variants, 10033 settings: settings 10034 } 10035 10036 if (themeHasCustomCode && !disableThemeCode) { 10037 waitForJavaScriptReady(() => { 10038 try { 10039 requestAnimationFrame(() => { 10040 10041 if (mediaIdsToHide?.length === 0) { 10042 dl('No media IDs to hide'); 10043 } 10044 10045 if (latestMediaIdsToHide.length > 0 && areArraysEqual(latestMediaIdsToHide, mediaIdsToHide) && !horizonThemeIds.includes(themeStoreId) && themeStoreId !== 2881) { 10046 dl('Media IDs to hide are the same. Exit'); 10047 return; 10048 } else { 10049 latestMediaIdsToHide = mediaIdsToHide; 10050 } 10051 executeThemeCode(dl, imagesToHide, imagesToShow, mediaIdsToHide, variantImages, mediaPerVariant, mediaIdPerImage, selectedImages, productMedia, featuredMediaId, theLatestVariantId, config); 10052 }); 10053 } catch (error) { 10054 dl("Error executeThemeCode:", error); 10055 } 10056 }); 10057 } 10058 10059 if (storeHasCustomFunctions) { 10060 if (Array.isArray(customFunctions) && customFunctions.length > 0) { 10061 storeHasCustomFunctions = true; 10062 customFunctions.forEach(customFunction => { 10063 try { 10064 const functionName = 'execute_' + customFunction; 10065 if (!insertedCustomCodeFiles.includes(customFunction)) { 10066 insertThemeCode(themeFileUrlPerId[customFunction], () => { 10067 const func = window[functionName]; 10068 if (typeof func === 'function') { 10069 dl("Executing custom function (1):", functionName); 10070 func(dl, imagesToHide, imagesToShow, mediaIdsToHide, variantImages, mediaPerVariant, mediaIdPerImage, selectedImages, productMedia, featuredMediaId, theLatestVariantId, config); 10071 } else { 10072 dl("Custom function not found:", functionName); 10073 } 10074 insertedCustomCodeFiles.push(customFunction); 10075 }); 10076 } else { 10077 dl("Custom function already inserted:", functionName); 10078 const func = window[functionName]; 10079 if (typeof func === 'function') { 10080 dl("Executing custom function (2):", functionName); 10081 func(dl, imagesToHide, imagesToShow, mediaIdsToHide, variantImages, mediaPerVariant, mediaIdPerImage, selectedImages, productMedia, featuredMediaId, theLatestVariantId, config); 10082 } else { 10083 dl("Custom function not found:", functionName); 10084 } 10085 } 10086 } catch (error) { 10087 dl("Error executing custom function: " + customFunction, error); 10088 } 10089 }); 10090 } 10091 } 10092 10093 if (settings?.scroll_to_the_top === true) { 10094 dl("Scrolling to the top"); 10095 scrollToTop(); 10096 } 10097 10098 } catch 10099 (error) { 10100 dl("Error updating product images:", error); 10101 } 10102 }; 10103 10104 const insertCustomCss = () => { 10105 10106const customCss = "none"; 10107 if (customCss === 'none') { 10108 dl("custom css is set to none. Exiting."); 10109 return; 10110 } 10111 const styleElement = document.createElement('style'); 10112 styleElement.type = 'text/css'; 10113 styleElement.textContent = customCss; 10114 document.head.appendChild(styleElement); 10115 dl("custom css inserted."); 10116 10117 }; 10118 10119 const detectVariantChange = () => { 10120 try { 10121 setTimeout(() => { 10122 let newVariantId = findCurrentVariantId(); 10123 let source = 'detectVariantChange'; 10124 if (kachingVariantId) { 10125 dl("Kaching variant ID:", kachingVariantId); 10126 newVariantId = kachingVariantId; 10127 kachingVariantId = null; 10128 source = 'kaching'; 10129 } 10130 if (newVariantId) { 10131 updateProductImages(newVariantId, source); 10132 } 10133 }, 100); 10134 } catch (error) { 10135 dl("Error detecting variant change:", error); 10136 } 10137 }; 10138 10139 const initVariantChangeDetection = () => { 10140 try { 10141 let selectorsArray = ['select', '.product__info-wrapper', '.panda-swatch', '.single-option-selector', 'label', '.swatches .swatch-selector', 'form[action="/cart/add"]', 'product-info', '.options-selection__option-swatch-wrapper', '.swatches__form--label', '.variant-options', '.image_change', '.product-variant__item', '.product-options__value', 'variant-radios', 'variant-picker', 'rubik-swatch', '.product-options']; 10142 10143 if (themeStoreId === 2061) { 10144 selectorsArray.push('.ic-screen-reader'); 10145 } 10146 10147 if (themeStoreId === 2348) { 10148 selectorsArray = ['[data-option-buttons][data-product-option="option1"] .product__color-swatch', '[data-option-buttons][data-product-option="option2"] .product__chip', '#option1', '#option2']; 10149 } 10150 10151 10152 if (themeStoreId === 3605) { 10153 selectorsArray = ['.color-swatch-label', '.text-swatch-label', 'input.variant-options']; 10154 } 10155 10156 if (themeStoreId === 2659) {
10157 selectorsArray = ['div[id^="js-options-template"] button[data-variant-id]']; 10158 } 10159 10160 if (themeStoreId === 2881) { 10161 selectorsArray = ['[role="radiogroup"] [role="radio"]']; 10162 } 10163 10164 if (themeStoreId === 3520) { 10165 selectorsArray = ['x-product-variant-picker', '.product-variant-picker__option-value input[type="radio"]']; 10166 } 10167 10168 if (themeStoreId === 5010) { 10169 // Soft replaces #variant_selector-{sectionId}.innerHTML on every change, 10170 // so listeners bound to the <select> die after the first switch. The shell 10171 // is never replaced and both click and change bubble up to it. 10172 selectorsArray.push('pdp-product-shell'); 10173 } 10174 10175 if (themeStoreId === 910) { 10176 selectorsArray.push('[data-variant-picker] input[type="radio"]', '[data-single-option-selector]', '.product-variant-picker-block label'); 10177 } 10178 10179 10180 if (Array.isArray(variantChangeSelectors) && variantChangeSelectors.length > 0) { 10181 selectorsArray = variantChangeSelectors; 10182 } 10183 10184 const rubikSwatchActive = !!document.querySelector('rubik-swatch'); 10185 if (rubikSwatchActive) { 10186 dl("rubik-swatch in DOM, using rubik-variant-id-changed event as primary source."); 10187 } 10188 10189 const variantChangeListener = rubikSwatchActive 10190 ? (e) => { 10191 if (window.rubikSwatchSyncing) { 10192 return; 10193 } 10194 detectVariantChange(); 10195 } 10196 : detectVariantChange; 10197 10198 const selectors = selectorsArray.length > 0 ? selectorsArray.join(',') : null; 10199 if (selectors) { 10200 document.querySelectorAll(selectors).forEach(element => { 10201 element.addEventListener("click", variantChangeListener); 10202 element.addEventListener("change", variantChangeListener); 10203 }); 10204 } 10205 setTimeout(() => { 10206 const kachingBundles = document.querySelector('kaching-bundles-block'); 10207 if (kachingBundles) { 10208 dl("kachingBundles detected."); 10209 kachingBundles.addEventListener('variant-selected', (event) => { 10210 dl("kachingBundles:variant-selected", event?.detail); 10211 const tempVariantId = event?.detail?.variantId; 10212 if (tempVariantId) { 10213 kachingVariantId = parseInt(tempVariantId); 10214 detectVariantChange(); 10215 } 10216 }); 10217 } 10218 }, 1000); 10219 10220 document.addEventListener('rubik-variant-id-changed', (event) => { 10221 dl("rubik-variant-id-changed", event?.detail); 10222 // cameFromSwatchNavigation: after a reload-mode swatch navigation 10223 // this initial dispatch IS the user's variant choice â let it 10224 // filter. A mere scroll/tap (userHasInteracted) must NOT admit 10225 // it: on themes with late swatch init this dispatch can arrive 10226 // long after load and would wrongly filter to the default variant. 10227 if (settings?.dont_run_on_first_load === true && event?.detail?.initialLoad === true && !cameFromSwatchNavigation) { 10228 dl("Skipping initial-load swatch event (dont_run_on_first_load)."); 10229 return; 10230 } 10231 const tempVariantId = event?.detail?.variantId; 10232 if (tempVariantId) { 10233 updateProductImages(tempVariantId, 'rubik-swatch-event'); 10234 } 10235 }); 10236 10237 if (customFunctions.includes('instantswiper')) { 10238 const element = document.querySelector('[data-instant-action-id][data-instant-action-variant-id]'); 10239 if (element) { 10240 let previousValue = element.dataset.instantActionVariantId; 10241 10242 const observer = new MutationObserver((mutations) => { 10243 mutations.forEach((mutation) => { 10244 if (mutation.type === 'attributes' && 10245 mutation.attributeName === 'data-instant-action-variant-id') { 10246 const currentValue = element.dataset.instantActionVariantId; 10247 if (currentValue !== previousValue) { 10248 console.log('Value changed from', previousValue, 'to', currentValue); 10249 detectVariantChange(); 10250 previousValue = currentValue; 10251 } 10252 } 10253 }); 10254 }); 10255 observer.observe(element, { 10256 attributes: true, 10257 attributeFilter: ['data-instant-action-variant-id'] 10258 }); 10259 } 10260 } 10261 } catch (error) { 10262 dl("Error initializing variant change detection:", error); 10263 } 10264 }; 10265 10266 const areArraysEqual = (arr1, arr2) => JSON.stringify(arr1) === JSON.stringify(arr2); 10267 initVariantChangeDetection(); 10268 10269 let runOnInitialLoad = true; 10270 10271 if (settings?.dont_run_on_first_load === true) { 10272 runOnInitialLoad = false;
10273 } 10274 10275 if (runOnInitialLoad) { 10276 detectVariantChange(); 10277 } 10278 10279 insertCustomCss(); 10280 10281 const checkVariantChange = () => { 10282 const rubikSwatchEl = document.querySelector('rubik-swatch'); 10283 if (rubikSwatchEl && rubikSwatchEl.offsetParent !== null) { 10284 const rubikSwatchInner = rubikSwatchEl.shadowRoot?.querySelector('.rubik-swatch'); 10285 if (rubikSwatchInner && rubikSwatchInner.style.display !== 'none') { 10286 return; 10287 } 10288 } 10289 if ("false" === 'true') { 10290 dl('Variant URL detection is disabled.'); 10291 return; 10292 } 10293 const urlParams = new URLSearchParams(window.location.search); 10294 let variantFromUrl = urlParams.get('variant'); 10295 10296 if (settings?.skip_initial_url_check === true) { 10297 dl("Skipping initial URL check."); 10298 updateProductImages(variantFromUrl, 'urlPolling-skipInitial'); 10299 return; 10300 } 10301 10302 if (variantFromUrl !== initialVariantId) { 10303 // Reformation (1762) keeps the ?variant= URL on the previous valid variant when 10304 // the selected option combo has no variant, so trusting the raw URL here reverts 10305 // the gallery to the previous color ~200ms after the correct render. Re-resolve 10306 // through findCurrentVariantId (checked option inputs) like Horizon themes do. 10307 // Luxury (3313) has the same stale-?variant= behaviour: the URL is always one 10308 // selection behind, so polling on the raw URL would revert the gallery to the 10309 // previous colour ~200ms after the correct render. 10310 // Kaching Bundles stores behave the same way on ANY theme. 10311 if (horizonThemeIds.includes(themeStoreId) || themeStoreId === 1762 || themeStoreId === 3313 10312 || document.querySelector('kaching-bundles-block')) { 10313 variantFromUrl = findCurrentVariantId(); 10314 } 10315 updateProductImages(variantFromUrl, 'urlPolling'); 10316 } else if ([801, 3070, 3605, 812, 99990060, 1751, 2659, 2881, 1190, 99990049, 910, 4090, 3341, 1926, 2821].includes(themeStoreId) && variantFromUrl) { 10317 updateProductImages(variantFromUrl, 'urlPolling-themeSpecific'); 10318 } 10319 }; 10320 setInterval(checkVariantChange, 200); 10321 } catch 10322 (error) { 10323 dl("Error initializing:", error); 10324 } 10325 }; 10326 10327 document.addEventListener('DOMContentLoaded', () => { 10328 initVariantImageHandler({"id":9741806272755,"title":"Aliv⢠Head Gel IWS","handle":"alivâ¢-head-gel-iws","description":"\u003cp dir=\"ltr\"\u003eFast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure.\u003c\/p\u003e\n\u003cp dir=\"ltr\"\u003eHigh-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits.\u003c\/p\u003e","published_at":"2026-09-04T17:47:52-04:00","created_at":"2026-08-27T19:10:02-04:00","vendor":"I wanna sleep USA","type":"Accessory","tags":[],"price":4700,"price_min":4700,"price_max":4700,"available":true,"price_varies":false,"compare_at_price":6500,"compare_at_price_min":6500,"compare_at_price_max":6500,"compare_at_price_varies":false,"variants":[{"id":50546243764467,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"3337-FBM","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Aliv⢠Head Gel IWS","public_title":null,"options":["Default Title"],"price":4700,"weight":0,"compare_at_price":6500,"inventory_management":"shopify","barcode":"7898972884925","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125","\/\/iwannasleep.com\/cdn\/shop\/files\/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752","\/\/iwannasleep.com\/cdn\/shop\/files\/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125"],"featured_image":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125","options":["Title"],"media":[{"alt":null,"id":39116790530291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/HERO_bcecac60-ef41-4aea-95b8-d62a79e30dce.png?v=1787950125","width":1200},{"alt":null,"id":39116790366451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/02_886f653d-2cf9-4fef-946a-5de8137022e3.png?v=1787950125","width":1200},{"alt":null,"id":39116790399219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/03_a5e385e8-2740-434a-9863-5648a2716b93.png?v=1787950125","width":1200},{"alt":null,"id":39116790431987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/04_170f593d-0518-436e-bb30-fae703e1120a.png?v=1787950125","width":1200},{"alt":null,"id":39344852304115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/05_a516b34a-309c-4719-a666-2ffefe0993bf.png?v=1788180752","width":1200},{"alt":null,"id":39116790497523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"\/\/iwannasleep.com\/cdn\/shop\/files\/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125"},"aspect_ratio":1.0,"height":1200,"media_type":"image","src":"\/\/iwannasleep.com\/cdn\/shop\/files\/06_547b5916-66d3-4515-927f-d51c8bf78505.png?v=1787950125","width":1200}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp dir=\"ltr\"\u003eFast relief for headaches and migraines, no pills needed. Use it cold for a flare-up or warm to ease tension and sinus pressure.\u003c\/p\u003e\n\u003cp dir=\"ltr\"\u003eHigh-Density Gel wraps 360° around your head, holding cold or heat far longer than a regular ice pack. Freezer or microwave, ready in minutes, whenever tension hits.\u003c\/p\u003e"}); 10329 }); 10330 10331 }) 10332 (); 10333</script>
10333 10334</div>
10334<script src="https://cdn.shopify.com/storefront/standard-actions.js" type="module" data-source-attribution="shopify.standard_actions"></script>
10334 10335</body> 10336</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.