{"data":{"preview_mode":false,"type":"cart","key":"864f236cc78612f8e7e3398c2a1a6e242396346f","endpoint":"/custom/id/222080","metafields":true,"variant_metafields":false,"integrations":{"yotpo":false,"stamped":false,"loox":false,"okendo":false,"judgeme":false,"recharge":false,"klaviyo":false,"opinew":false,"junip":false,"reviewsio":false},"learn_more":"none","redirect":"none","remove_redirect":"none","decline_redirect":"none","close_redirect":"none","product_type":"one-time","subscription_is_default":false,"limit":2,"display_type":"embed","popup_trigger":"add_to_cart","popup_trigger_selector":"","show_continue_button":false,"popup_delay":0,"discount":{"type":"percentage","amount":100,"discounted_from":"original_price","discounted_by":"functions","show_saving_amount":false,"message":"Free Gift!","bundle_protection":{"enabled":false,"allowed_removals":0,"disable_atc_on_incomplete":false},"discount_protection":{"enabled":false,"minimum_items_to_get_discount":2},"quantity":1},"exclude_items":{"gift_cards":false,"digital_items":false},"allow_remove":false,"allow_gifts_without_purchase":true,"hide_quantity_selector":false,"shipping":{},"subscription":{},"timer":{"enabled":false,"duration_minutes":3,"duration_seconds":30,"action":"dismiss"},"layout":{"large":{"style":"line","carousel":false,"show_paginations":true,"columns":1},"medium":{"style":"line","carousel":false,"show_paginations":true,"columns":1},"small":{"style":"line","carousel":false,"show_paginations":true,"columns":1}},"product_options":{"show_product_description":"hide","show_product_vendor":false,"enabled_product_vendor_link":false,"show_variant_title":"hide","show_variant_options":"always","show_subscription_options":"always","show_variants_as_products":false,"variant_display_limit":"product_limit","hide_out_of_stock_variants":false,"match_variant":false,"match_on_selling_plan":false,"match_variant_out_of_stock":false},"view_options":{"limit_views":false,"max_views":1,"cookie_days":1,"display_actions":false,"variant_selector":"select"},"images":{"source":"variant","fixed_height":false,"height":300,"fixed_width":false,"width":300,"border_radius":0,"border_radius_unit":"px"},"breakpoints":{"large":{"max":"","min":null},"medium":{"max":998,"min":481},"small":{"max":480,"min":""}},"placement":{"large":{"enabled":false,"selector":"","location":"prepend"},"medium":{"enabled":false,"selector":null,"location":"after"},"small":{"enabled":false,"selector":null,"location":"after"}},"language":{"super_title":"","title":"Free gift","description":"","variant_option":"Add","variant_options":"Add","add_to_cart":"Add","adding_to_cart":"Add","added_to_cart":"Add","remove_from_cart":"Remove","removing_from_cart":"Removing...","removed_from_cart":"Removed!","in_stock_label":"In Stock","sold_out_label":"Sold Out","learn_more_label":"Learn More","total_price_label":"Total Price:","decline":"No Thanks","continue":"Continue","thank_you_title":"Thank You!","thank_you_description":"Thanks for your purchase. {{product_title}} was added to this order successfully.","thank_you_button":"Done","upgrade_to_subscription":"Upgrade to Subscription and <span class=\"rebuy-underline\">Save {{subscription_discount}}%</span>","delivery_frequency_label":"{{frequency}} {{interval}}","cart_switch_to_onetime":"One-time purchase","cart_switch_to_subscription":"Subscribe and <span class=\"rebuy-underline\">Save {{subscription_discount}}%</span>","cart_switch_to_subscription_footer":"You can skip, pause, cancel, or swap out products at any time.","timer_title":"Hurry -- your special offer ends in:","checkout":"Continue to Checkout","remove_title":"Did you mean to remove this?","remove_body":"This product will not be automatically added back if removed.","saving_amount_text":"Save {{saving_amount}}","remove_confirm":"Yes","remove_deny":"No","quick_view_add_to_cart":"Add to Cart","quick_view_button_text":"Quick View"},"quantity_rules":{"increment":1},"quantity_inputs":{"enabled":false,"default_quantity":1,"min_value":1,"max_value":10},"quick_view":{"enabled":false,"settings":{"enabled_product_description":false,"enabled_quantity_selector":false,"layout":{"type":"grid"},"triggered_by_button":true,"triggered_by_photo":false}},"theme":"default","styles":{"supertitle":"#535353","title":"#232323","description":"#535353","product_title":"#232323","product_description":"#535353","product_vendor":"#535353","price":"#535353","sale_price":"#44BE70","compare_price":"#9a9a9a","border_color":"#e3e3e3","background_color":"transparent","input_text":"#232323","input_background":"#ffffff","input_border":"#cccccc","button_text":"#ffffff","button_background":"#2491C4","button_border_color":"#2491C4","button_border_width":0,"button_radius":5,"reviews_text":"#535353","reviews_foreground":"#FBCA10","reviews_background":"#E5E5E5","carousel_control_text":"#000000","carousel_control_background":"#ffffff","carousel_paging_dots":"#000000","custom_css":"#rebuy-widget-203611 { padding: 0; }\n\n#rebuy-widget-203611:focus,\n#rebuy-widget-203611:focus-visible {\n  outline: none !important;\n}\n\n/*#rebuy-widget-203611:has(.rebuy-product-grid:empty){ display: none; }*/\n\n#rebuy-widget-203611 .rebuy-widget-content {\n  background: #EFEAE1;\n  font-size: 14px;\n  padding: 20px;\n}\n\n#rebuy-widget-203611 .primary-title {\n  display: flex;\n  gap: 5px;\n  text-align: left;\n  text-transform: uppercase;\n  color: #5A3714;\n  font-weight: 700;\n  font-size: 16px;\n  margin: 0;\n}\n\n#rebuy-widget-203611 .primary-title svg {\n  position: relative;\n  top: -3px;\n  height: 20px;\n  width: 20px;\n}\n\n#rebuy-widget-203611 .rebuy-product-grid {\n  display: flex;\n  flex-wrap: wrap;\n  column-gap: 10px;\n}\n\n#rebuy-widget-203611 .rebuy-product-block {\n  padding: 8px 0 0;\n}\n\n#rebuy-widget-203611 .rebuy-product-block:not(.only-child){\n  width: calc(50% - 5px);\n}\n\n#rebuy-widget-203611 .rebuy-product-block:not(.only-child) .rebuy-product-actions {\n  width: 100%;\n  margin-top: 8px;\n}\n\n#rebuy-widget-203611 .rebuy-product-block:not(.only-child) .rebuy-select,\n#rebuy-widget-203611 .rebuy-product-block:not(.only-child) .rebuy-button {\n  font-size: 12px;\n}\n\n#rebuy-widget-203611 .rebuy-product-block:only-child {\n  width: 100%;\n}\n\n#rebuy-widget-203611 .rebuy-product-block:only-child .rebuy-product-media {\n  width: 20%;\n}\n\n#rebuy-widget-203611 .rebuy-product-block:only-child .rebuy-product-info {\n  width: 35%;\n}\n\n#rebuy-widget-203611 .rebuy-product-block:only-child .rebuy-product-actions {\n  width: 45%;\n}\n\n#rebuy-widget-203611 .rebuy-product-block:only-child .rebuy-select,\n#rebuy-widget-203611 .rebuy-product-block:only-child .rebuy-button {\n  font-size: 13px;\n}\n\n#rebuy-widget-203611 .rebuy-product-media {\n  order: initial;\n}\n\n#rebuy-widget-203611 .rebuy-product-info {\n  order: initial;\n  padding-inline: 15px;\n}\n\n#rebuy-widget-203611 .rebuy-product-type {\n  text-transform: uppercase;\n  font-weight: 700;\n}\n\n#rebuy-widget-203611 .rebuy-product-title {\n  line-height: 1.33;\n  margin: 0;\n}\n\n#rebuy-widget-203611 .rebuy-product-actions {\n  order: initial;\n  display: flex;\n}\n\n#rebuy-widget-203611 .rebuy-product-price {\n  text-transform: uppercase;\n  font-size: 14px;\n}\n\n#rebuy-widget-203611 .rebuy-money {\n  font-weight: normal;\n  font-size: inherit;\n}\n\n#rebuy-widget-203611 .rebuy-money.sale {\n  font-weight: bold;\n  color: #638D69;\n  letter-spacing: .5px;\n}\n#rebuy-widget-203611 .rebuy-select {\n  appearance: none;\n  outline: none !important;\n  width: calc(100% - 50px);\n  background-color: #fff;\n  background-image: url(https://cdn.shopify.com/s/files/1/0275/7784/3817/files/chevron-down-orange.svg?v=1741975300);\n  background-repeat: no-repeat;\n  background-size: 14px;\n  background-position: 95%;\n  padding: 4px 22px 4px 8px;\n  margin-right: 8px;\n}\n#rebuy-widget-203611 .rebuy-button {\n  flex: 1;\n  width: 50px;\n  text-transform: uppercase;\n  letter-spacing: 1px;\n  padding: 4px;\n}\n#rebuy-widget-203611 .locked-button .fa-lock:before {\n  content: '\\f023';\n  position: relative;\n  top: -1px;\n  left: -3px;\n  font-size: 12px;\n}"},"tracking":{"enable_source":true,"enable_widget":true,"enable_attribution":true,"enable_product_discovery":true},"callbacks":{"init":{"enabled":false,"function":""},"before_ready":{"enabled":false,"function":""},"ready":{"enabled":true,"function":"function setWidgetWidth() {\n    const rebuyCartElement = document.querySelector(`.rebuy-cart__flyout`)\n    const cartWidth = window.getComputedStyle(rebuyCartElement).width;\n    //console.log('Applying a Width of:', cartWidth);\n    rebuyCartElement.querySelector(`#rebuy-widget-${widget.id} .rebuy-widget-content`).style.width = cartWidth;\n}\n\nsetWidgetWidth();\n\n// Hides widget when the grid is empty\nfunction toggleWidgetView(){\n    let rebuyWidget = document.querySelector(`#rebuy-widget-203611`);\n    let rebuyWidgetGrid = rebuyWidget.querySelector(`.rebuy-product-grid`);\n\n    if(rebuyWidgetGrid.children.length === 0){\n        //console.log('hiding widget')\n        rebuyWidget.classList.add('is-hidden');\n    } else {\n        //console.log('unhiding widget')\n        rebuyWidget.classList.remove('is-hidden');\n    }\n}\n\ntoggleWidgetView();\ndocument.addEventListener('rebuy.productsChange', toggleWidgetView);"},"before_add":{"enabled":false,"function":""},"add":{"enabled":false,"function":""},"before_remove":{"enabled":false,"function":""},"remove":{"enabled":false,"function":""},"before_change":{"enabled":false,"function":""},"change":{"enabled":false,"function":""},"before_decline":{"enabled":false,"function":""},"decline":{"enabled":false,"function":""},"view":{"enabled":false,"function":""},"before_products_change":{"enabled":false,"function":""},"products_change":{"enabled":false,"function":""},"selected_variant_change":{"enabled":false,"function":""},"refresh":{"enabled":false,"function":""},"shipping_rate_refresh":{"enabled":false,"function":""},"alternative_payments_refresh":{"enabled":false,"function":""},"before_show":{"enabled":false,"function":""},"show":{"enabled":false,"function":""},"before_hide":{"enabled":false,"function":""},"hide":{"enabled":false,"function":""},"beforeReady":{"enabled":true,"function":"widget.data.sampleStatus = 'locked';\nwidget.data.sampleTiers = [];\nwidget.data.showSamples = false;\n\nvar rules = widget.data.metadata.matched_rules;\nvar tiers = [];\nfor(var i = 0; i < rules.length; i++){\n    var eligibleProducts = []\n    for(var y = 0; y < rules[i].output[0].products.length; y++) {\n        eligibleProducts.push(rules[i].output[0].products[y].product_id)\n    }\n    var tier = {\n        tier: rules[i].output[1].key,\n        price: rules[i].output[1].value,\n        eligibleProducts: eligibleProducts,\n        isunlocked: false,\n        hasAddedSample: false\n    }\n    tiers.push(tier)\n    widget.data.sampleTiers = tiers;\n}\ncheckTiers(Rebuy.Cart.cart);"},"beforeAdd":{"enabled":false,"function":""},"beforeRemove":{"enabled":false,"function":""},"beforeChange":{"enabled":false,"function":""},"beforeDecline":{"enabled":false,"function":""},"beforeProductsChange":{"enabled":false,"function":""},"productsChange":{"enabled":true,"function":"if (Array.isArray(widget.data.products)) {\n  widget.data.products = products.filter(product => {\n    // Check if the product is already in the cart\n    return !Rebuy.Cart.items().some(item => \n      item.properties?._widget_id == widget.id && item.handle == product.handle\n    );\n  });\n} else {\n  console.error(\"widget.data.products is not an array.\");\n}"},"selectedVariantChange":{"enabled":false,"function":""},"shippingRateRefresh":{"enabled":false,"function":""},"alternativePaymentsRefresh":{"enabled":false,"function":""},"beforeShow":{"enabled":false,"function":""},"beforeHide":{"enabled":false,"function":""}},"advance":{},"shop":{"currency":"USD","money_format":"${{amount}}","myshopify_domain":"drsquatchsoapco.myshopify.com"}}}