{"product_id":"custom-coffee-gift-box","title":"Crazy Fresh Custom Gift Box – Choose Any Three 1 lb Bags","description":"\u003cstyle\u003e[data-cf-byo-desc]{display:none}.product-details:has([data-cf-byo-desc]) product-form-component .shopify-payment-button{display:none !important}.quick-add-modal:has([data-cf-byo-desc]) product-form-component,.quick-add-modal:has([data-cf-byo-desc]) variant-picker{display:none !important}.quick-add-modal .quick-add-modal__content .product-details rte-formatter:has([data-cf-byo-desc]){display:block !important}.quick-add-modal .quick-add-modal__content .product-details [data-cf-byo-desc]{display:block !important;margin:12px 0 0}.quick-add-modal .quick-add-modal__content .product-details [data-cf-byo-desc] a{display:block !important;text-align:center;background:#111;color:#fff !important;text-decoration:none;font-weight:700;padding:16px 18px;border-radius:10px}\u003c\/style\u003e\u003cp\u003e\u003cstrong\u003eCUSTOM GIFT BOX: any three 1 lb bags, your choice. $54.95 with FREE SHIPPING.\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eBuild the box yourself. Choose any three of our coffees, one 1 lb bag each, whole bean or ground for the way they brew. Pick three different coffees or double up on a favorite. Every bag is roasted to order in Metro Detroit the week it ships.\u003c\/p\u003e\u003cp\u003eNot sure where to start? Our CEO's three favorites, Honduran Santa Rosa, Guatemalan Coban Estate and Triple Threat, are already boxed for you as \u003ca href=\"\/products\/crazy-fresh-sampler-three-1-lb-bags\"\u003eThe Gift Box\u003c\/a\u003e.\u003c\/p\u003e\u003cp\u003eSending it as a gift? Add the recipient's address at checkout and a gift message in the cart. We print it, tuck it in the box, and leave the prices off. Ordering for clients or a team? Email \u003ca href=\"mailto:crazyfresh@fiveoclockbrands.com\"\u003ecrazyfresh@fiveoclockbrands.com\u003c\/a\u003e or call 248-549-0054 with your list of names and addresses, and we'll ship each one for you.\u003c\/p\u003e\u003cp\u003eIf an order arrives with no coffees chosen, we send our three favorites: Honduran Santa Rosa, Guatemalan Coban Estate and Triple Threat.\u003c\/p\u003e\u003cp data-cf-byo-desc\u003e\u003ca href=\"\/products\/custom-coffee-gift-box\"\u003eChoose your three coffees\u003c\/a\u003e\u003c\/p\u003e\u003cscript\u003e(function(){ if (window.__cfByo) return; window.__cfByo = true; var COFFEES = [ \"Honduran Santa Rosa (Medium)\", \"Guatemalan Coban Estate (Med-Dark)\", \"Triple Threat (Dark)\", \"Ethiopian Yirgacheffe (Medium)\", \"Mexican Chiapas (Medium)\", \"Guatemalan SHG EP (Medium)\", \"Sumatra Mandheling (Dark)\", \"Signature House Blend (Medium)\", \"Organic House Blend (Dark)\", \"Chef Luciano's Favorite Blend\", \"Stir Crazy Blend (Vienna Roast)\", \"Desert Island Decaf (Swiss Water)\", \"Pazzo Fresco Espresso\" ]; var KEYS = [\"Coffee 1\", \"Coffee 2\", \"Coffee 3\"]; var state = [\"\", \"\", \"\"]; function theRoot(){ var marks = document.querySelectorAll('[data-cf-byo-desc]'); for (var i = 0; i \u003c marks.length; i++){ if (marks[i].closest('.quick-add-modal')) continue; return marks[i].closest('.product-details') || document; } return null; } function theForm(){ var r = theRoot(); return r ? r.querySelector('form[action*=\"\/cart\/add\"]') : null; } function link(f){ var fid = f.getAttribute('id'); var sels = document.querySelectorAll('#cf-byo select'); for (var i = 0; i \u003c sels.length; i++){ if (fid \u0026\u0026 sels[i].getAttribute('form') !== fid) sels[i].setAttribute('form', fid); if (sels[i].value !== state[i]) sels[i].value = state[i]; } } function tidy(f){ var r = theRoot() || document; var g = r.querySelectorAll('.cf-grind'); for (var i = 0; i \u003c g.length; i++) g[i].parentNode.removeChild(g[i]); var h = f.querySelectorAll('input[name=\"properties[Grind]\"]'); for (var j = 0; j \u003c h.length; j++) h[j].parentNode.removeChild(h[j]); } function build(){ var f = theForm(); if (!f) return; tidy(f); if (document.getElementById('cf-byo')) { link(f); return; } var box = document.createElement('div'); box.id = 'cf-byo'; box.style.cssText = 'margin:4px 0 18px;width:100%'; var h = document.createElement('p'); h.textContent = 'Choose your three coffees'; h.style.cssText = 'font-weight:700;margin:0 0 10px'; box.appendChild(h); KEYS.forEach(function(k, i){ var lab = document.createElement('label'); lab.textContent = k; lab.setAttribute('for', 'cf-byo-' + (i + 1)); lab.style.cssText = 'display:block;font-size:14px;margin:0 0 4px'; var sel = document.createElement('select'); sel.id = 'cf-byo-' + (i + 1); sel.name = 'properties[' + k + ']'; sel.required = true; sel.style.cssText = 'display:block;width:100%;padding:12px 14px;margin:0 0 12px;border:1px solid #b9ae9c;border-radius:8px;background:#fff;color:#111;font:inherit;font-size:16px'; var o0 = document.createElement('option'); o0.value = ''; o0.textContent = 'Choose a coffee'; sel.appendChild(o0); COFFEES.forEach(function(c){ var o = document.createElement('option'); o.value = c; o.textContent = c; sel.appendChild(o); }); sel.value = state[i]; sel.addEventListener('change', function(){ state[i] = sel.value; }); box.appendChild(lab); box.appendChild(sel); }); var anchor = (theRoot() || document).querySelector('variant-picker') || f.closest('.buy-buttons-block') || f; anchor.parentNode.insertBefore(box, anchor); link(f); } function guard(e){ var f = theForm(); if (!f) return; var t = e.target; var btn = (e.type === 'click' \u0026\u0026 t.closest) ? t.closest('button[name=\"add\"], .sticky-add-to-cart__button') : null; var hit = (e.type === 'submit' \u0026\u0026 t === f) || (btn \u0026\u0026 (f.contains(btn) || btn.className.indexOf('sticky-add-to-cart__button') \u003e -1)); if (!hit) return; build(); var sels = document.querySelectorAll('#cf-byo select'); for (var i = 0; i \u003c sels.length; i++){ if (!sels[i].value){ e.preventDefault(); e.stopImmediatePropagation(); sels[i].scrollIntoView({block: 'center'}); if (sels[i].reportValidity) sels[i].reportValidity(); else sels[i].focus(); return; } } for (var j = 0; j \u003c sels.length; j++){ if (sels[j].form !== f){ var hid = f.querySelector('input[type=\"hidden\"][data-cf-byo=\"' + j + '\"]'); if (!hid){ hid = document.createElement('input'); hid.type = 'hidden'; hid.setAttribute('data-cf-byo', j); hid.name = sels[j].name; f.appendChild(hid); sels[j].removeAttribute('name'); } hid.value = sels[j].value; } } } window.addEventListener('submit', guard, true); window.addEventListener('click', guard, true); build(); document.addEventListener('DOMContentLoaded', build); new MutationObserver(build).observe(document.documentElement, {childList: true, subtree: true}); })();\u003c\/script\u003e","brand":"Crazy Fresh Gifts","offers":[{"title":"Whole bean","offer_id":46488251400371,"sku":"CF-CUSTOM-3X1","price":54.95,"currency_code":"USD","in_stock":true},{"title":"Ground for drip","offer_id":46488251433139,"sku":"CF-CUSTOM-3X1-DRIP","price":54.95,"currency_code":"USD","in_stock":true},{"title":"Ground for French press","offer_id":46488251465907,"sku":"CF-CUSTOM-3X1-FP","price":54.95,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0768\/5347\/7555\/files\/crazy-fresh-custom-gift-box-choose-any-3.jpg?v=1794940563","url":"https:\/\/crazyfreshcoffee.com\/products\/custom-coffee-gift-box","provider":"Crazy Fresh Coffee","version":"1.0","type":"link"}