{"version":3,"file":"CartDrawer.CTcP-Gfc.mjs","names":["sf","API_VERSION","useState","useCallback","getCartId","GET_CART_QUERY","EVENT_OPEN","EVENT_CLOSE","EVENT_UPDATE","CART_LINES_REMOVE_QUERY","CART_LINES_UPDATE_QUERY","PREVIEW_CART","fmt","useMemo","c","Row","_Fragment","_jsxs","CART_ID_KEY","CART_FIELDS","useState","useCallback","useMemo","_Fragment","_jsxs","__esmMin","pe","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","window","init_npm_react_dom_18_3_1","l","_e","Ha","p","c","init_jsx_runtime","ce","RenderTarget","init_framer_BisrWwwE","addPropertyControls","ControlType","sf$1","store","host","res","API_VERSION$1","token","json","CartPage","open","setOpen","cart","setCart","loading","setLoading","updatingId","setUpdatingId","couponInput","setCouponInput","couponBusy","setCouponBusy","couponMsg","setCouponMsg","portalRoot","setPortalRoot","isOnCanvas","isCanvas","storefrontToken","storeDomain","isOpen","fallbackOpen","inlinePreview","loadCart","id","getCartId$1","d","GET_CART_QUERY$1","div","onOpen","onClose","onUpdate","EVENT_OPEN$1","EVENT_CLOSE$1","EVENT_UPDATE$1","onKey","prev","safeMaxWidth","maxWidth","style","updateItem","lineId","qty","CART_LINES_REMOVE_QUERY$1","CART_LINES_UPDATE_QUERY$1","applyCoupon","code","existing","next","result","CART_DISCOUNT_CODES_UPDATE_QUERY","justEntered","userErr","removeCoupon","goToCheckout","ev","closeOverlay","displayCart","PREVIEW_CART$1","lines","subtotal","total","appliedCodes","subtotalValue","fmt$1","shippingValue","extra","freeShippingLabel","totalValue","discountAmount","discountValue","colHeaderCell","mutedTextColor","dividerColor","anchor","body","emptyText","accentColor","accentTextColor","continueShoppingLabel","showColumnHeader","productLabel","priceLabel","quantityLabel","totalLabel","m","line","img","opts","o","isUpdating","unitPrice","lineTotal","textColor","showCoupon","panelColor","couponTitle","backgroundColor","c$1","totalsTitle","Row$1","subtotalLabel","discountLabel","shippingLabel","checkoutLabel","panel","showTitle","title","muted","label","value","CART_ID_KEY$1","CART_FIELDS$1","init_CartPage","n","sf","API_VERSION","CartDrawer","recs","setRecs","addingRecId","setAddingRecId","safeWidth","width","position","getCartId","GET_CART_QUERY","CART_LINES_REMOVE_QUERY","CART_LINES_UPDATE_QUERY","EVENT_UPDATE","cartProductIds","ids","edge","pid","firstProductId","cancelled","PRODUCT_RECOMMENDATIONS_QUERY","list","addRec","node","rec","cartId","CART_LINES_ADD_QUERY","newId","CART_CREATE_QUERY","setCartId","EVENT_OPEN","EVENT_CLOSE","PREVIEW_CART","currencyCode","cartTotal","threshold","freeShippingThreshold","hasFreeShipping","freeShippingProgress","ratio","remainingForFreeShipping","remainingFormatted","fmt","proceedToCheckout","goToCartPage","EVENT_CARTPAGE_OPEN","shippingExtra","showFreeShippingBar","progressColor","freeShippingAchievedLabel","freeShippingProgressLabel","showUpsells","upsellTitle","available","isAdding","recImg","recPrice","showActionRow","ActionIcon","actionNoteLabel","actionShippingLabel","actionCouponLabel","Row","showViewCart","secondaryButtonBg","secondaryButtonText","viewCartLabel","iconName","CART_ID_KEY","CART_FIELDS","init_CartDrawer","props"],"sources":["https:/framerusercontent.com/modules/LjA5dpL2eFRachpe0dy7/9mRTV1SCFGCjZpuPRjP0/CartPage.js","https:/framerusercontent.com/modules/zx3Ot7DjsHdicS8UjnCh/EH8ZzqapH2DFtsvwf9er/CartDrawer.js"],"sourcesContent":["// Cart Page (Shopify) — full-screen cart overlay backed by the Storefront Cart\n// API. Opens on `fec:cartpage-open` (fired by the Cart Drawer's \"View Cart\").\n// Edit quantities / remove lines, see the order-summary totals, then continue\n// to Shopify's HOSTED checkout via cart.checkoutUrl.\n// Connection: storeDomain + storefrontToken (direct Storefront API; see README).\n//\n// FULL-SCREEN OVERLAY (not a Framer page). Uses the same portal + fixed +\n// event mechanism CartDrawer uses, so it completely escapes Framer's\n// layout/breakpoints/canvas — no page creation, no positioning bugs, no 404.\n// The drawer's \"View Cart\" button fires fec:cartpage-open; this overlay\n// listens and takes over the screen with the full cart (line-item table,\n// totals, Proceed to Checkout). Reuses the same Storefront Cart API plumbing,\n// cart id, and fec:cart-update contract so the header badge / drawer stay in\n// sync.\n//\n// Event contract:\n//   - listens fec:cartpage-open  → show overlay, fetch cart\n//   - listens fec:cartpage-close → hide overlay\n//   - listens fec:cart-update    → re-fetch while open\n//   - emits  fec:cart-update     on qty / remove change\n//\n// Checkout is HOSTED by Shopify: \"Proceed to Checkout\" emits a cancelable\n// fec:checkout-open (a manually-inserted CheckoutPage overlay can intercept\n// it), then falls back to redirecting to cart.checkoutUrl.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useMemo,useState}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const CART_ID_KEY=\"fec:shopify-cart-id\";const EVENT_UPDATE=\"fec:cart-update\";const EVENT_OPEN=\"fec:cartpage-open\";const EVENT_CLOSE=\"fec:cartpage-close\";const getCartId=()=>{if(typeof window===\"undefined\")return\"\";try{return window.localStorage.getItem(CART_ID_KEY)||\"\";}catch{return\"\";}};// Call the Shopify Storefront API DIRECTLY with the PUBLIC Storefront access\n// token (Shopify's intended client-side use). No proxy worker, no third-party\n// transmission of credentials. The GraphQL queries are embedded below.\nconst API_VERSION=\"2025-01\";const CART_FIELDS=/* GraphQL */`\n  id checkoutUrl totalQuantity\n  cost { subtotalAmount { amount currencyCode } totalAmount { amount currencyCode } }\n  discountCodes { code applicable }\n  lines(first: 100) { edges { node { id quantity merchandise { ... on ProductVariant { id title sku image { url } price { amount currencyCode } selectedOptions { name value } product { id title handle } } } } } }\n`;const GET_CART_QUERY=/* GraphQL */`\n  query GetCart($id: ID!) { cart(id: $id) { ${CART_FIELDS} } }\n`;const CART_LINES_UPDATE_QUERY=/* GraphQL */`\n  mutation CartLinesUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!) {\n    cartLinesUpdate(cartId: $cartId, lines: $lines) { cart { ${CART_FIELDS} } userErrors { field message } }\n  }\n`;const CART_LINES_REMOVE_QUERY=/* GraphQL */`\n  mutation CartLinesRemove($cartId: ID!, $lineIds: [ID!]!) {\n    cartLinesRemove(cartId: $cartId, lineIds: $lineIds) { cart { ${CART_FIELDS} } userErrors { field message } }\n  }\n`;const CART_DISCOUNT_CODES_UPDATE_QUERY=/* GraphQL */`\n  mutation CartDiscountCodesUpdate($cartId: ID!, $discountCodes: [String!]) {\n    cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) { cart { ${CART_FIELDS} } userErrors { field message } }\n  }\n`;async function sf(host,token,query,variables){const store=(host||\"\").trim().replace(/^https?:\\/\\//i,\"\").replace(/\\/.*$/,\"\");const res=await fetch(`https://${store}/api/${API_VERSION}/graphql.json`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":(token||\"\").trim()},body:JSON.stringify({query,variables})});if(!res.ok)throw new Error(`HTTP ${res.status}`);const json=await res.json();if(json.errors?.length)throw new Error(json.errors[0]?.message||\"Storefront error\");if(!json.data)throw new Error(\"Empty response\");return json.data;}const fmt=m=>{if(!m)return\"\";const n=Number(m.amount);if(!Number.isFinite(n))return\"\";try{return new Intl.NumberFormat(undefined,{style:\"currency\",currency:m.currencyCode||\"USD\"}).format(n);}catch{return`${m.currencyCode} ${n}`;}};// Canvas preview cart so designers see the full overlay with \"Preview open\".\nconst PREVIEW_CART={id:\"preview\",checkoutUrl:\"\",totalQuantity:3,discountCodes:[{code:\"WELCOME10\",applicable:true}],cost:{subtotalAmount:{amount:\"279.99\",currencyCode:\"USD\"},totalAmount:{amount:\"251.99\",currencyCode:\"USD\"}},lines:{edges:[{node:{id:\"preview1\",quantity:1,merchandise:{id:\"v1\",title:\"Camel / M\",sku:\"TRENCH-01\",image:{url:\"\"},price:{amount:\"189.99\",currencyCode:\"USD\"},product:{title:\"Double-Breasted Trench Coat\"},selectedOptions:[{name:\"Color\",value:\"Camel\"},{name:\"Size\",value:\"M\"}]}}},{node:{id:\"preview2\",quantity:2,merchandise:{id:\"v2\",title:\"Default Title\",sku:\"SCARF-09\",image:{url:\"\"},price:{amount:\"45.00\",currencyCode:\"USD\"},product:{title:\"Merino Wool Scarf\"},selectedOptions:[{name:\"Title\",value:\"Default Title\"}]}}}]}};/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function CartPage({labelGroup:{productLabel=\"Product\",priceLabel=\"Price\",quantityLabel=\"Quantity\",subtotalLabel=\"Subtotal\",discountLabel=\"Discount\",shippingLabel=\"Shipping\",freeShippingLabel=\"Free shipping\",totalLabel=\"Total\"}={},storefrontToken=\"\",storeDomain=\"\",maxWidth=1200,backgroundColor=\"#FFFFFF\",panelColor=\"#F7F7F7\",textColor=\"#0a0a0a\",mutedTextColor=\"#6b7280\",dividerColor=\"#e5e7eb\",accentColor=\"#3E3E41\",accentTextColor=\"#FFFFFF\",title=\"Shopping Cart\",emptyText=\"Your cart is currently empty.\",showTitle=true,showColumnHeader=true,showCoupon=true,couponTitle=\"Have a coupon?\",totalsTitle=\"Cart Totals\",checkoutLabel=\"Proceed to Checkout\",continueShoppingLabel=\"Continue Shopping\",fallbackOpen=false}){const[open,setOpen]=useState(false);const[cart,setCart]=useState(null);const[loading,setLoading]=useState(false);const[updatingId,setUpdatingId]=useState(null);const[couponInput,setCouponInput]=useState(\"\");const[couponBusy,setCouponBusy]=useState(false);const[couponMsg,setCouponMsg]=useState(null);const[portalRoot,setPortalRoot]=useState(null);// True ONLY in Framer's editor canvas (not in preview / export / published\n// pages). RenderTarget is the authoritative API for this — the older\n// `!storefrontToken || !storeDomain` heuristic mis-identified the editor\n// canvas when credentials were set, so the \"Preview in Canvas\" toggle never\n// actually triggered the inline render.\nconst isOnCanvas=RenderTarget.current()===RenderTarget.canvas;const isCanvas=isOnCanvas||!storefrontToken||!storeDomain;const isOpen=isCanvas?fallbackOpen:open;// Canvas preview path — when the designer flips \"Preview in Canvas\" on,\n// render the panel INLINE (no portal, no position:fixed). The live overlay\n// mechanism (portal to body + fixed) gets hidden behind Framer's right-side\n// property panel in the editor, so canvas preview bypasses it entirely. Live\n// runtime is unaffected.\nconst inlinePreview=isOnCanvas&&fallbackOpen;const loadCart=useCallback(async()=>{const id=getCartId();if(!id||!storefrontToken||!storeDomain){setCart(null);return;}setLoading(true);try{const d=await sf(storeDomain,storefrontToken,GET_CART_QUERY,{id});setCart(d?.cart??null);}catch{setCart(null);}finally{setLoading(false);}},[storefrontToken,storeDomain]);// Explicit portal root appended directly to document.body — same reasoning\n// as CartDrawer: Framer's published page wraps the React tree in a\n// transformed Frame, so a fixed overlay must mount as a true body sibling\n// to escape every Framer ancestor.\nuseEffect(()=>{if(typeof document===\"undefined\")return;const div=document.createElement(\"div\");div.setAttribute(\"data-fec-cartpage-root\",\"\");div.style.position=\"fixed\";div.style.top=\"0\";div.style.left=\"0\";div.style.width=\"0\";div.style.height=\"0\";div.style.zIndex=\"999999\";document.body.appendChild(div);setPortalRoot(div);return()=>{try{document.body.removeChild(div);}catch{// Already detached — safe to ignore.\n}};},[]);// Open / close via the event contract. onOpen fetches a fresh cart so the\n// overlay always reflects the latest server state.\nuseEffect(()=>{const onOpen=()=>{setOpen(true);void loadCart();};const onClose=()=>setOpen(false);const onUpdate=()=>{if(open)void loadCart();};window.addEventListener(EVENT_OPEN,onOpen);window.addEventListener(EVENT_CLOSE,onClose);window.addEventListener(EVENT_UPDATE,onUpdate);return()=>{window.removeEventListener(EVENT_OPEN,onOpen);window.removeEventListener(EVENT_CLOSE,onClose);window.removeEventListener(EVENT_UPDATE,onUpdate);};},[loadCart,open]);useEffect(()=>{if(!open)return;const onKey=e=>{if(e.key===\"Escape\")setOpen(false);};window.addEventListener(\"keydown\",onKey);return()=>window.removeEventListener(\"keydown\",onKey);},[open]);useEffect(()=>{if(typeof document===\"undefined\")return;if(open){const prev=document.body.style.overflow;document.body.style.overflow=\"hidden\";return()=>{document.body.style.overflow=prev;};}},[open]);// Full-screen overlay + the responsive grid, injected with !important so\n// Framer's published-page Frame defaults can't override it (same approach\n// as CartDrawer). 100dvh so mobile Safari's URL bar doesn't clip the bottom.\nconst safeMaxWidth=Number.isFinite(maxWidth)&&maxWidth>0?maxWidth:1200;useEffect(()=>{if(typeof document===\"undefined\")return;const style=document.createElement(\"style\");style.setAttribute(\"data-fec-cartpage-styles\",\"\");// The fixed full-screen positioning (panel + backdrop) is skipped for\n// the canvas inline preview — those rules pin the panel to\n// position:fixed which we don't want when rendering in-flow. The layout\n// rules (inner width, responsive grid/row) are ALWAYS injected so the\n// line-item table still lays out correctly on the canvas.\nconst overlayCss=inlinePreview?\"\":`\n            [data-fec-cartpage-panel] {\n                position: fixed !important;\n                inset: 0 !important;\n                width: 100vw !important;\n                height: 100vh !important;\n                height: 100dvh !important;\n                z-index: 1000000 !important;\n                overflow-y: auto !important;\n                -webkit-overflow-scrolling: touch !important;\n            }\n            [data-fec-cartpage-backdrop] {\n                position: fixed !important;\n                inset: 0 !important;\n                width: 100vw !important;\n                height: 100vh !important;\n                height: 100dvh !important;\n                z-index: 999998 !important;\n            }\n        `;style.textContent=`\n            ${overlayCss}\n            [data-fec-cart-page-inner] {\n                width: 100% !important;\n                max-width: ${safeMaxWidth}px !important;\n                margin: 0 auto !important;\n            }\n            [data-fec-cart-page-grid] {\n                display: grid !important;\n                grid-template-columns: minmax(0, 1fr) 360px !important;\n                gap: 40px !important;\n                align-items: start !important;\n            }\n            [data-fec-cart-page-row] {\n                display: grid !important;\n                grid-template-columns: 88px minmax(0, 1fr) 90px 116px 90px !important;\n                gap: 16px !important;\n                align-items: center !important;\n            }\n            @media (max-width: 860px) {\n                [data-fec-cart-page-grid] {\n                    grid-template-columns: minmax(0, 1fr) !important;\n                    gap: 28px !important;\n                }\n            }\n            @media (max-width: 600px) {\n                [data-fec-cart-page-thead] { display: none !important; }\n                [data-fec-cart-page-row] {\n                    grid-template-columns: 80px minmax(0, 1fr) !important;\n                    gap: 14px !important;\n                    align-items: start !important;\n                }\n                [data-fec-cart-page-cell-price] { display: none !important; }\n                [data-fec-cart-page-cell-total] {\n                    grid-column: 2 !important;\n                    text-align: left !important;\n                }\n            }\n        `;document.head.appendChild(style);return()=>{try{document.head.removeChild(style);}catch{// Already detached — safe to ignore.\n}};},[safeMaxWidth,inlinePreview]);const updateItem=useCallback(async(lineId,qty)=>{const id=getCartId();if(!id||!storefrontToken||!storeDomain)return;setUpdatingId(lineId);try{if(qty<=0){await sf(storeDomain,storefrontToken,CART_LINES_REMOVE_QUERY,{cartId:id,lineIds:[lineId]});}else{await sf(storeDomain,storefrontToken,CART_LINES_UPDATE_QUERY,{cartId:id,lines:[{id:lineId,quantity:qty}]});}await loadCart();window.dispatchEvent(new CustomEvent(EVENT_UPDATE));}catch{// Network/op error — swallow; the cart stays as-is.\n}finally{setUpdatingId(null);}},[storefrontToken,storeDomain,loadCart]);// Coupons (Storefront Cart API). Shopify REPLACES the full discount-code\n// set on every call, so apply = (existing applicable codes) + new one, and\n// remove = (existing applicable codes) − the removed one. After the call we\n// re-read the cart so the totals/discount row refresh.\nconst applyCoupon=useCallback(async()=>{const code=couponInput.trim();const id=getCartId();if(!id||!storefrontToken||!storeDomain||!code||couponBusy)return;setCouponBusy(true);setCouponMsg(null);try{const existing=(cart?.discountCodes??[]).filter(c=>c.applicable).map(c=>c.code);const next=Array.from(new Set([...existing,code]));const d=await sf(storeDomain,storefrontToken,CART_DISCOUNT_CODES_UPDATE_QUERY,{cartId:id,discountCodes:next});const result=d?.cartDiscountCodesUpdate;const codes=result?.cart?.discountCodes??[];const justEntered=codes.find(c=>c.code.toLowerCase()===code.toLowerCase());const userErr=result?.userErrors?.[0]?.message;if(!result?.cart||userErr||justEntered&&!justEntered.applicable){setCouponMsg({type:\"error\",text:userErr||\"Coupon could not be applied.\"});}else{setCouponInput(\"\");setCouponMsg({type:\"success\",text:`Coupon \"${code}\" applied.`});}await loadCart();window.dispatchEvent(new CustomEvent(EVENT_UPDATE));}catch{setCouponMsg({type:\"error\",text:\"Coupon could not be applied.\"});}finally{setCouponBusy(false);}},[storefrontToken,storeDomain,couponInput,couponBusy,cart,loadCart]);const removeCoupon=useCallback(async code=>{const id=getCartId();if(!id||!storefrontToken||!storeDomain||couponBusy)return;setCouponBusy(true);setCouponMsg(null);try{const next=(cart?.discountCodes??[]).filter(c=>c.applicable&&c.code!==code).map(c=>c.code);await sf(storeDomain,storefrontToken,CART_DISCOUNT_CODES_UPDATE_QUERY,{cartId:id,discountCodes:next});await loadCart();window.dispatchEvent(new CustomEvent(EVENT_UPDATE));}catch{// Swallow — the coupon chip stays until the next successful load.\n}finally{setCouponBusy(false);}},[storefrontToken,storeDomain,couponBusy,cart,loadCart]);// Checkout opens the on-site CheckoutPage overlay (Woo-style): contact +\n// shipping form, then it hands off to Shopify's HOSTED checkout for payment.\n// Close this cart overlay first.\nconst goToCheckout=()=>{if(isCanvas||typeof window===\"undefined\")return;setOpen(false);// Open the on-site CheckoutPage if present; otherwise fall back to\n// Shopify's hosted checkout so the button ALWAYS works.\nconst ev=new CustomEvent(\"fec:checkout-open\",{cancelable:true});const handled=!window.dispatchEvent(ev);if(!handled&&cart?.checkoutUrl)window.location.href=cart.checkoutUrl;};// No separate shop page in the overlay model — \"Continue Shopping\" simply\n// closes the cart and returns the visitor to where they were.\nconst closeOverlay=()=>setOpen(false);// Derive cart data unconditionally (BEFORE any early return) so React's\n// hook order stays stable across renders.\nconst displayCart=cart||(isCanvas?PREVIEW_CART:null);const lines=displayCart?displayCart.lines.edges.map(e=>e.node):[];const subtotal=displayCart?.cost.subtotalAmount??null;const total=displayCart?.cost.totalAmount??subtotal;const appliedCodes=(displayCart?.discountCodes??[]).filter(c=>c.applicable);// *Value = the formatted money shown on the right of each totals row. The\n// row CAPTIONS on the left are the subtotal/discount/shipping/totalLabel\n// props so they can be reworded or translated from Framer's panel.\nconst subtotalValue=fmt(subtotal);// Shipping: Shopify only computes it once it knows a delivery address, so\n// the row shows a designer-set message UNTIL it is known, then the real\n// amount. Derived as total − subtotal, because cost.totalAmount folds\n// shipping and tax in as soon as the address is attached — it is NOT\n// reliably \"pre-shipping\" as this comment previously claimed. Without this\n// the page rendered Subtotal 200 / Shipping <text> / Total 579, leaving the\n// difference unexplained on screen.\n// Guarded to > 0.0001 so floating-point noise can't render a \"shipping\" row\n// for a cart that has none; a NEGATIVE difference is a discount and is\n// handled by the discount row below, which is why this is not just abs().\nconst shippingValue=useMemo(()=>{const extra=subtotal&&total?Number(total.amount)-Number(subtotal.amount):0;return extra>1e-4&&subtotal?fmt({amount:String(extra),currencyCode:subtotal.currencyCode}):freeShippingLabel;},[subtotal,total,freeShippingLabel]);const totalValue=fmt(total);// Discount = subtotal − total (when a discount has been applied).\nconst discountAmount=subtotal&&total?Number(subtotal.amount)-Number(total.amount):0;const discountValue=discountAmount>1e-4&&subtotal?`−${fmt({amount:String(discountAmount),currencyCode:subtotal.currencyCode})}`:null;const colHeaderCell={fontSize:12,fontWeight:700,textTransform:\"uppercase\",letterSpacing:\"0.04em\",color:mutedTextColor};// Canvas placeholder — designers see a hint unless they flip \"Preview\n// open\" (mirrors CartDrawer). All hooks above already ran, so returning\n// here doesn't break the Rules of Hooks.\nif(isCanvas&&!fallbackOpen){return /*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 16px\",fontFamily:\"Inter, system-ui, sans-serif\",color:mutedTextColor,fontSize:12,textAlign:\"center\",border:`1px dashed ${dividerColor}`,borderRadius:8,background:\"#F9FAFB\"},children:'Cart Page \\xb7 toggle \"Preview in Canvas\" in props to see the page'});}// Invisible anchor kept in the normal React tree so Framer's publish\n// bundler never tree-shakes the module; the visible overlay is portalled to\n// a true body sibling so position:fixed escapes Framer's transformed page\n// wrapper.\nconst anchor=/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",\"data-fec-cartpage-anchor\":\"\",style:{width:0,height:0,overflow:\"hidden\",position:\"absolute\",top:0,left:0,pointerEvents:\"none\"}});const body=loading&&!cart&&!isCanvas?/*#__PURE__*/_jsx(\"div\",{style:{padding:96,textAlign:\"center\",color:mutedTextColor,fontSize:14},children:\"Loading…\"}):lines.length===0?/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"96px 24px\",textAlign:\"center\",color:mutedTextColor},children:[/*#__PURE__*/_jsxs(\"svg\",{width:56,height:56,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:1.4,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{margin:\"0 auto 18px\",display:\"block\",opacity:.5},children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"21\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"20\",cy:\"21\",r:\"1\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:16,marginBottom:20},children:emptyText}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:closeOverlay,style:{padding:\"13px 28px\",background:accentColor,color:accentTextColor,border:\"none\",borderRadius:4,fontSize:14,fontWeight:600,cursor:\"pointer\",fontFamily:\"inherit\",letterSpacing:\"0.02em\"},children:continueShoppingLabel})]}):/*#__PURE__*/_jsxs(\"div\",{\"data-fec-cart-page-grid\":\"\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[showColumnHeader&&/*#__PURE__*/_jsxs(\"div\",{\"data-fec-cart-page-row\":\"\",\"data-fec-cart-page-thead\":\"\",style:{padding:\"0 0 14px\",borderBottom:`2px solid ${dividerColor}`},children:[/*#__PURE__*/_jsx(\"span\",{style:colHeaderCell,children:productLabel}),/*#__PURE__*/_jsx(\"span\",{style:colHeaderCell}),/*#__PURE__*/_jsx(\"span\",{style:{...colHeaderCell,textAlign:\"right\"},children:priceLabel}),/*#__PURE__*/_jsx(\"span\",{style:{...colHeaderCell,textAlign:\"center\"},children:quantityLabel}),/*#__PURE__*/_jsx(\"span\",{style:{...colHeaderCell,textAlign:\"right\"},children:totalLabel})]}),lines.map(line=>{const m=line.merchandise;const img=m.image?.url;const opts=m.selectedOptions.filter(o=>!(o.name===\"Title\"&&o.value===\"Default Title\")).map(o=>o.value).join(\" \\xb7 \");const isUpdating=updatingId===line.id;const unitPrice=fmt(m.price);const lineTotal=fmt({amount:String(Number(m.price.amount)*line.quantity),currencyCode:m.price.currencyCode});return /*#__PURE__*/_jsxs(\"div\",{\"data-fec-cart-page-row\":\"\",style:{padding:\"22px 0\",borderBottom:`1px solid ${dividerColor}`,opacity:isUpdating?.5:1,transition:\"opacity 0.15s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:88,height:88,background:\"#F3F4F6\",borderRadius:6,overflow:\"hidden\",flexShrink:0},children:img&&/*#__PURE__*/_jsx(\"img\",{src:img,alt:m.product.title,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:15,fontWeight:600,lineHeight:1.35},children:m.product.title}),m.sku&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color:mutedTextColor,marginTop:4},children:[\"SKU: \",m.sku]}),opts&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,color:mutedTextColor,marginTop:4},children:opts}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>updateItem(line.id,0),disabled:isUpdating,style:{background:\"transparent\",border:\"none\",color:mutedTextColor,fontSize:12,cursor:\"pointer\",textDecoration:\"underline\",padding:0,marginTop:8,fontFamily:\"inherit\"},children:\"Remove\"})]}),/*#__PURE__*/_jsx(\"div\",{\"data-fec-cart-page-cell-price\":\"\",style:{fontSize:14,fontWeight:600,textAlign:\"right\"},children:unitPrice}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",border:`1px solid ${dividerColor}`,borderRadius:999,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>updateItem(line.id,line.quantity-1),disabled:isUpdating,\"aria-label\":\"Decrease quantity\",style:{width:32,height:32,background:\"transparent\",border:\"none\",cursor:isUpdating?\"wait\":\"pointer\",color:textColor,fontSize:16},children:\"−\"}),/*#__PURE__*/_jsx(\"span\",{style:{minWidth:30,textAlign:\"center\",fontSize:13,fontWeight:600},children:line.quantity}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>updateItem(line.id,line.quantity+1),disabled:isUpdating,\"aria-label\":\"Increase quantity\",style:{width:32,height:32,background:\"transparent\",border:\"none\",cursor:isUpdating?\"wait\":\"pointer\",color:textColor,fontSize:16},children:\"+\"})]})}),/*#__PURE__*/_jsx(\"div\",{\"data-fec-cart-page-cell-total\":\"\",style:{fontSize:14,fontWeight:700,textAlign:\"right\"},children:lineTotal})]},line.id);}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:closeOverlay,style:{marginTop:24,padding:\"12px 22px\",background:\"transparent\",color:textColor,border:`1px solid ${dividerColor}`,borderRadius:4,fontSize:13,fontWeight:600,cursor:\"pointer\",fontFamily:\"inherit\",letterSpacing:\"0.02em\"},children:[\"← \",continueShoppingLabel]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:24},children:[showCoupon&&/*#__PURE__*/_jsxs(\"div\",{style:{background:panelColor,borderRadius:8,padding:\"24px 22px\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 16px\",fontSize:16,fontWeight:700},children:couponTitle}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:couponInput,onChange:e=>setCouponInput(e.target.value),onKeyDown:e=>{if(e.key===\"Enter\")void applyCoupon();},placeholder:\"Coupon code\",disabled:couponBusy,style:{flex:1,minWidth:0,padding:\"11px 14px\",border:`1px solid ${dividerColor}`,borderRadius:4,fontSize:14,fontFamily:\"inherit\",color:textColor,background:backgroundColor,boxSizing:\"border-box\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>void applyCoupon(),disabled:couponBusy||!couponInput.trim(),style:{padding:\"11px 18px\",background:accentColor,color:accentTextColor,border:\"none\",borderRadius:4,fontSize:13,fontWeight:600,cursor:couponBusy||!couponInput.trim()?\"default\":\"pointer\",opacity:couponBusy||!couponInput.trim()?.6:1,fontFamily:\"inherit\",whiteSpace:\"nowrap\"},children:\"Apply\"})]}),couponMsg&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:10,fontSize:12,color:couponMsg.type===\"error\"?\"#dc2626\":\"#16a34a\"},children:couponMsg.text}),appliedCodes.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:14,display:\"flex\",flexWrap:\"wrap\",gap:8},children:appliedCodes.map(c=>/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:6,padding:\"5px 10px\",background:backgroundColor,border:`1px solid ${dividerColor}`,borderRadius:999,fontSize:12,fontWeight:600,textTransform:\"uppercase\"},children:[c.code,/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>void removeCoupon(c.code),disabled:couponBusy,\"aria-label\":`Remove coupon ${c.code}`,style:{background:\"transparent\",border:\"none\",cursor:\"pointer\",color:mutedTextColor,fontSize:14,lineHeight:1,padding:0},children:\"\\xd7\"})]},c.code))})]}),/*#__PURE__*/_jsxs(\"div\",{style:{background:panelColor,borderRadius:8,padding:\"24px 22px\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 18px\",fontSize:16,fontWeight:700},children:totalsTitle}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsx(Row,{label:subtotalLabel,value:subtotalValue,color:textColor,muted:mutedTextColor}),discountValue&&/*#__PURE__*/_jsx(Row,{label:discountLabel,value:discountValue,color:\"#16a34a\",muted:mutedTextColor}),/*#__PURE__*/_jsx(Row,{label:shippingLabel,value:shippingValue,color:textColor,muted:mutedTextColor}),/*#__PURE__*/_jsx(\"div\",{style:{height:1,background:dividerColor,margin:\"4px 0\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"baseline\",fontSize:19,fontWeight:700},children:[/*#__PURE__*/_jsx(\"span\",{children:totalLabel}),/*#__PURE__*/_jsx(\"span\",{children:totalValue})]})]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:goToCheckout,style:{marginTop:22,width:\"100%\",padding:\"15px 16px\",background:accentColor,color:accentTextColor,border:\"none\",borderRadius:4,fontSize:14,fontWeight:700,cursor:\"pointer\",fontFamily:\"inherit\",letterSpacing:\"0.02em\"},children:checkoutLabel})]})]})]});// The panel JSX is built once and reused by both the live portal overlay\n// and the canvas inline preview — the only difference is the wrapper + CSS\n// positioning around it. Inline preview renders it as a normal in-flow block\n// (full width, centered, capped at maxWidth) so it sits at the component's\n// own spot on the canvas; the live path keeps the fixed full-screen overlay.\nconst panel=/*#__PURE__*/_jsxs(\"div\",{role:\"dialog\",\"aria-modal\":\"true\",\"data-fec-cartpage-panel\":inlinePreview?undefined:\"\",style:{background:backgroundColor,color:textColor,fontFamily:inlinePreview?\"Inter, system-ui, sans-serif\":undefined,...inlinePreview?{width:\"100%\",maxWidth:safeMaxWidth,margin:\"0 auto\"}:{opacity:isOpen?1:0,transform:isOpen?\"translateY(0)\":\"translateY(16px)\",transition:\"opacity 0.25s ease, transform 0.3s cubic-bezier(0.32,0.72,0,1)\"}},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"sticky\",top:0,zIndex:2,background:backgroundColor,borderBottom:`1px solid ${dividerColor}`,padding:\"18px 24px\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,fontSize:22,fontWeight:700,letterSpacing:\"-0.01em\",visibility:showTitle?\"visible\":\"hidden\"},children:title}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setOpen(false),\"aria-label\":\"Close cart\",style:{background:\"transparent\",border:\"none\",cursor:\"pointer\",padding:8,margin:-8,color:textColor,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:8},children:/*#__PURE__*/_jsxs(\"svg\",{width:22,height:22,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2.4,strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"18\",y1:\"6\",x2:\"6\",y2:\"18\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"18\",y2:\"18\"})]})})]}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"40px 24px 64px\"},children:/*#__PURE__*/_jsx(\"div\",{\"data-fec-cart-page-inner\":\"\",children:body})})]});// Canvas inline preview — return the panel as a normal in-flow block at the\n// component's own spot on the page. The designer can see and style it\n// without Framer's right-side property panel covering the fixed overlay.\n// Live runtime is unaffected (this branch only fires in the editor canvas).\nif(inlinePreview){return panel;}const overlay=/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",inset:0,zIndex:9999,pointerEvents:isOpen?\"auto\":\"none\",fontFamily:\"Inter, system-ui, sans-serif\"},children:[/*#__PURE__*/_jsx(\"div\",{\"data-fec-cartpage-backdrop\":\"\",onClick:()=>setOpen(false),style:{background:\"rgba(0,0,0,0.45)\",opacity:isOpen?1:0,transition:\"opacity 0.25s ease\"}}),panel]});const portaled=portalRoot?/*#__PURE__*/createPortal(overlay,portalRoot):null;return /*#__PURE__*/_jsxs(_Fragment,{children:[anchor,portaled]});}function Row({label,value,color,muted}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"baseline\",fontSize:14},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:muted},children:label}),/*#__PURE__*/_jsx(\"span\",{style:{color,fontWeight:600},children:value})]});}addPropertyControls(CartPage,{storefrontToken:{type:ControlType.String,title:\"Storefront Token\",hidden:()=>true,defaultValue:\"\"},storeDomain:{type:ControlType.String,title:\"Store Domain\",hidden:()=>true,defaultValue:\"\",placeholder:\"your-store.myshopify.com\"},maxWidth:{type:ControlType.Number,title:\"Content width\",defaultValue:1200,min:600,max:1600,unit:\"px\"},showTitle:{type:ControlType.Boolean,title:\"Title\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},title:{type:ControlType.String,title:\"Title text\",defaultValue:\"Shopping Cart\",hidden:p=>!p.showTitle},showColumnHeader:{type:ControlType.Boolean,title:\"Col header\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},emptyText:{type:ControlType.String,title:\"Empty text\",defaultValue:\"Your cart is currently empty.\"},showCoupon:{type:ControlType.Boolean,title:\"Coupon box\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},couponTitle:{type:ControlType.String,title:\"Coupon title\",defaultValue:\"Have a coupon?\",hidden:p=>!p.showCoupon},totalsTitle:{type:ControlType.String,title:\"Totals title\",defaultValue:\"Cart Totals\"},checkoutLabel:{type:ControlType.String,title:\"Checkout label\",defaultValue:\"Proceed to Checkout\"},continueShoppingLabel:{type:ControlType.String,title:\"Continue label\",defaultValue:\"Continue Shopping\"},// Captions for the line-item column header + totals rows. Exposed so the\n// page can be reworded or translated without unlinking the component.\n// Mirrors CartDrawer. `totalLabel` drives both the Total column header and\n// the grand-total row — same word, so they translate together.\nbackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},panelColor:{type:ControlType.Color,title:\"Panel BG\",defaultValue:\"#F7F7F7\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#0a0a0a\"},mutedTextColor:{type:ControlType.Color,title:\"Muted text\",defaultValue:\"#6b7280\"},dividerColor:{type:ControlType.Color,title:\"Divider\",defaultValue:\"#e5e7eb\"},accentColor:{type:ControlType.Color,title:\"Button BG\",defaultValue:\"#3E3E41\"},accentTextColor:{type:ControlType.Color,title:\"Button text\",defaultValue:\"#FFFFFF\"},fallbackOpen:{type:ControlType.Boolean,title:\"Preview in Canvas\",description:\"Show the cart page here on the canvas so you can style it. Has no effect on the live site.\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},// All wording on the drawer/page in ONE collapsible section.\n// These controls were never shipped un-grouped, so moving them here\n// cannot reset anyone's customised text. Controls that ARE already\n// released (title, empty state, checkout button, colours) stay\n// top-level for exactly that reason.\nlabelGroup:{type:ControlType.Object,title:\"Labels\",controls:{productLabel:{type:ControlType.String,title:\"Product label\",defaultValue:\"Product\",hidden:p=>!p.showColumnHeader},priceLabel:{type:ControlType.String,title:\"Price label\",defaultValue:\"Price\",hidden:p=>!p.showColumnHeader},quantityLabel:{type:ControlType.String,title:\"Quantity label\",defaultValue:\"Quantity\",hidden:p=>!p.showColumnHeader},subtotalLabel:{type:ControlType.String,title:\"Subtotal label\",defaultValue:\"Subtotal\"},discountLabel:{type:ControlType.String,title:\"Discount label\",defaultValue:\"Discount\",description:\"Only shown when a discount code is applied.\"},shippingLabel:{type:ControlType.String,title:\"Shipping label\",defaultValue:\"Shipping\"},freeShippingLabel:{type:ControlType.String,title:\"Shipping value\",defaultValue:\"Free shipping\",description:\"Value on the shipping row. Real shipping is calculated at checkout.\"},totalLabel:{type:ControlType.String,title:\"Total label\",defaultValue:\"Total\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CartPage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CartPage.map","// Cart Drawer (Shopify) — Modave-style slide-in cart backed by the Storefront\n// Cart API. Opens on the `fec:cart-open` event (fired by Add to Cart / Cart\n// Icon), reads the cart by id (localStorage), lets the shopper change\n// quantities / remove lines, shows a free-shipping progress bar + subtotal\n// breakdown, and sends them to Shopify's HOSTED checkout via cart.checkoutUrl.\n// \"View Cart\" fires `fec:cartpage-open` to open the Cart Page overlay.\n// Connection: storeDomain + storefrontToken (see README). Calls the Shopify\n// Storefront GraphQL API DIRECTLY with the PUBLIC Storefront access token\n// (Shopify's intended client-side use) — no proxy worker, no third-party\n// transmission of credentials.\n//\n// Event contract (must match AddToCart + CartIcon siblings):\n//   - listens fec:cart-open   → slide drawer in, fetch cart\n//   - listens fec:cart-close  → slide drawer out\n//   - listens fec:cart-update → re-fetch cart while open\n//   - emits   fec:cart-update on item qty change / remove\n//   - emits   fec:cartpage-open from \"View Cart\"\n//\n// Checkout is HOSTED by Shopify: the footer \"Checkout\" button emits a\n// cancelable fec:checkout-open (a manually-inserted CheckoutPage overlay can\n// intercept it), then falls back to redirecting to cart.checkoutUrl.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useMemo,useState}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const CART_ID_KEY=\"fec:shopify-cart-id\";const EVENT_OPEN=\"fec:cart-open\";const EVENT_CLOSE=\"fec:cart-close\";// Opens the full-screen Cart Page overlay (CartPage component). \"View Cart\"\n// dispatches this instead of navigating to a real /cart route — the overlay\n// escapes Framer's layout entirely, so there's no page-creation / 404 surface.\n// Must match CartPage's open event.\nconst EVENT_CARTPAGE_OPEN=\"fec:cartpage-open\";const EVENT_UPDATE=\"fec:cart-update\";const getCartId=()=>{if(typeof window===\"undefined\")return\"\";try{return window.localStorage.getItem(CART_ID_KEY)||\"\";}catch{return\"\";}};const setCartId=id=>{if(typeof window===\"undefined\")return;try{window.localStorage.setItem(CART_ID_KEY,id);}catch{// localStorage unavailable — safe to ignore.\n}};// Call the Shopify Storefront API DIRECTLY with the PUBLIC Storefront access\n// token (Shopify's intended client-side use). No proxy worker, no third-party\n// transmission of credentials.\nconst API_VERSION=\"2025-01\";async function sf(host,token,query,variables){const store=(host||\"\").trim().replace(/^https?:\\/\\//i,\"\").replace(/\\/.*$/,\"\");const res=await fetch(`https://${store}/api/${API_VERSION}/graphql.json`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":(token||\"\").trim()},body:JSON.stringify({query,variables})});if(!res.ok)throw new Error(`HTTP ${res.status}`);const json=await res.json();if(json.errors?.length)throw new Error(json.errors[0]?.message||\"Storefront error\");if(!json.data)throw new Error(\"Empty response\");return json.data;}// Shared cart selection set, expanded inline into every cart query/mutation\n// below so each embedded GraphQL string is complete and self-contained.\nconst CART_FIELDS=/* GraphQL */`\n  id\n  checkoutUrl\n  totalQuantity\n  cost {\n    subtotalAmount { amount currencyCode }\n    totalAmount { amount currencyCode }\n  }\n  discountCodes { code applicable }\n  lines(first: 100) {\n    edges {\n      node {\n        id\n        quantity\n        merchandise {\n          ... on ProductVariant {\n            id\n            title\n            sku\n            image { url }\n            price { amount currencyCode }\n            selectedOptions { name value }\n            product { id title handle }\n          }\n        }\n      }\n    }\n  }\n`;const GET_CART_QUERY=/* GraphQL */`\n  query GetCart($id: ID!) {\n    cart(id: $id) { ${CART_FIELDS} }\n  }\n`;const CART_LINES_UPDATE_QUERY=/* GraphQL */`\n  mutation CartLinesUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!) {\n    cartLinesUpdate(cartId: $cartId, lines: $lines) {\n      cart { ${CART_FIELDS} }\n      userErrors { field message }\n    }\n  }\n`;const CART_LINES_REMOVE_QUERY=/* GraphQL */`\n  mutation CartLinesRemove($cartId: ID!, $lineIds: [ID!]!) {\n    cartLinesRemove(cartId: $cartId, lineIds: $lineIds) {\n      cart { ${CART_FIELDS} }\n      userErrors { field message }\n    }\n  }\n`;const CART_LINES_ADD_QUERY=/* GraphQL */`\n  mutation CartLinesAdd($cartId: ID!, $lines: [CartLineInput!]!) {\n    cartLinesAdd(cartId: $cartId, lines: $lines) {\n      cart { ${CART_FIELDS} }\n      userErrors { field message }\n    }\n  }\n`;const CART_CREATE_QUERY=/* GraphQL */`\n  mutation CartCreate($lines: [CartLineInput!]!) {\n    cartCreate(input: { lines: $lines }) {\n      cart { ${CART_FIELDS} }\n      userErrors { field message }\n    }\n  }\n`;const PRODUCT_RECOMMENDATIONS_QUERY=/* GraphQL */`\n  query Recs($productId: ID!) {\n    productRecommendations(productId: $productId) {\n      id\n      title\n      handle\n      featuredImage { url }\n      priceRange { minVariantPrice { amount currencyCode } }\n      variants(first: 1) { edges { node { id availableForSale } } }\n    }\n  }\n`;const fmt=m=>{if(!m)return\"\";const n=Number(m.amount);if(!Number.isFinite(n))return\"\";try{return new Intl.NumberFormat(undefined,{style:\"currency\",currency:m.currencyCode||\"USD\"}).format(n);}catch{return`${m.currencyCode} ${n}`;}};// Canvas preview cart so designers see the full overlay with \"Preview open\".\nconst PREVIEW_CART={id:\"preview\",checkoutUrl:\"\",totalQuantity:2,discountCodes:[{code:\"WELCOME10\",applicable:true}],cost:{subtotalAmount:{amount:\"379.98\",currencyCode:\"USD\"},totalAmount:{amount:\"341.98\",currencyCode:\"USD\"}},lines:{edges:[{node:{id:\"preview1\",quantity:2,merchandise:{id:\"v1\",title:\"Premium / 8\",image:{url:\"\"},price:{amount:\"189.99\",currencyCode:\"USD\"},product:{title:\"Double-Breasted Trench Coat\"},selectedOptions:[{name:\"Material\",value:\"Premium\"},{name:\"Size\",value:\"8\"}]}}}]}};/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function CartDrawer({labelGroup:{subtotalLabel=\"Subtotal\",discountLabel=\"Discount\",shippingLabel=\"Shipping\",freeShippingLabel=\"Free shipping\",totalLabel=\"Total\",actionNoteLabel=\"Note\",actionShippingLabel=\"Shipping\",actionCouponLabel=\"Coupon\"}={},storefrontToken=\"\",storeDomain=\"\",position=\"right\",width=540,backgroundColor=\"#FFFFFF\",textColor=\"#0a0a0a\",mutedTextColor=\"#6b7280\",dividerColor=\"#e5e7eb\",accentColor=\"#3E3E41\",accentTextColor=\"#FFFFFF\",secondaryButtonBg=\"#FFFFFF\",secondaryButtonText=\"#0a0a0a\",progressColor=\"#22c55e\",title=\"Shopping Cart\",emptyText=\"Your cart is empty\",showFreeShippingBar=false,freeShippingThreshold=200,freeShippingProgressLabel=\"Add {amount} more to unlock free shipping\",freeShippingAchievedLabel=\"Congratulations! You've got free shipping!\",showActionRow=true,showViewCart=true,viewCartLabel=\"View Cart\",checkoutLabel=\"Checkout\",showUpsells=true,upsellTitle=\"You may also add\",fallbackOpen=false}){const[open,setOpen]=useState(false);const[cart,setCart]=useState(null);const[loading,setLoading]=useState(false);const[updatingId,setUpdatingId]=useState(null);const[portalRoot,setPortalRoot]=useState(null);// \"You may also add\" upsell recommendations + the rec currently being added.\nconst[recs,setRecs]=useState([]);const[addingRecId,setAddingRecId]=useState(null);// True ONLY in Framer's editor canvas (not in preview / export / published\n// pages). RenderTarget is the authoritative API for this — the older\n// `!storefrontToken || !storeDomain` heuristic mis-identified the editor\n// canvas when credentials were set, so the \"Preview in Canvas\" toggle never\n// actually triggered the inline render.\nconst isOnCanvas=RenderTarget.current()===RenderTarget.canvas;const isCanvas=isOnCanvas||!storefrontToken||!storeDomain;const isOpen=isCanvas?fallbackOpen:open;// Canvas preview path — when the designer flips \"Preview in Canvas\" on,\n// render the panel INLINE (no portal, no position:fixed, no slide). The\n// live overlay mechanism (portal to body + fixed) gets hidden behind\n// Framer's right-side property panel in the editor, so canvas preview\n// bypasses it entirely. Live runtime is unaffected.\nconst inlinePreview=isOnCanvas&&fallbackOpen;// Explicit portal root attached as a direct child of document.body. Framer's\n// published page wraps the React tree inside a transformed Frame, so a plain\n// createPortal(node, document.body) sometimes resolves to that wrapper\n// instead of body proper, trapping the drawer under transform: matrix(...).\n// Manually appending the container guarantees the drawer mounts as a true\n// body sibling — escaping every Framer ancestor so position: fixed works.\nuseEffect(()=>{if(typeof document===\"undefined\")return;const div=document.createElement(\"div\");div.setAttribute(\"data-fec-cart-drawer-root\",\"\");div.style.position=\"fixed\";div.style.top=\"0\";div.style.left=\"0\";div.style.width=\"0\";div.style.height=\"0\";div.style.zIndex=\"999999\";document.body.appendChild(div);setPortalRoot(div);return()=>{try{document.body.removeChild(div);}catch{// Already detached — safe to ignore.\n}};},[]);// Inject CSS rules with !important so nothing Framer applies can stretch the\n// drawer panel to viewport width. React inline styles get overridden in\n// published Framer pages by the platform's default Frame styling (which\n// forces width: 100% on component-instance children); a high-specificity\n// stylesheet rule with !important is the only reliable override.\nconst safeWidth=Number.isFinite(width)&&width>0?Math.min(width,720):540;useEffect(()=>{if(typeof document===\"undefined\")return;// Skip the !important overlay CSS when rendering inline on the canvas\n// — that rule pins the panel to position:fixed which we don't want for\n// the in-place designer preview.\nif(inlinePreview)return;const style=document.createElement(\"style\");style.setAttribute(\"data-fec-cart-drawer-styles\",\"\");// 100dvh = dynamic viewport height (visible area only) so the footer\n// isn't pushed off-screen behind mobile Safari's URL bar. 100vh kept as\n// a fallback for older browsers.\nstyle.textContent=`\n            [data-fec-cart-drawer-panel] {\n                position: fixed !important;\n                top: 0 !important;\n                bottom: 0 !important;\n                ${position}: 0 !important;\n                width: ${safeWidth}px !important;\n                max-width: 100vw !important;\n                height: 100vh !important;\n                height: 100dvh !important;\n                z-index: 1000000 !important;\n            }\n            [data-fec-cart-drawer-backdrop] {\n                position: fixed !important;\n                top: 0 !important;\n                left: 0 !important;\n                right: 0 !important;\n                bottom: 0 !important;\n                width: 100vw !important;\n                height: 100vh !important;\n                height: 100dvh !important;\n                z-index: 999998 !important;\n            }\n        `;document.head.appendChild(style);return()=>{try{document.head.removeChild(style);}catch{// Already detached — safe to ignore.\n}};},[safeWidth,position,inlinePreview]);const loadCart=useCallback(async()=>{const id=getCartId();if(!id||!storefrontToken||!storeDomain){setCart(null);return;}setLoading(true);try{const d=await sf(storeDomain,storefrontToken,GET_CART_QUERY,{id});setCart(d?.cart??null);}catch{setCart(null);}finally{setLoading(false);}},[storefrontToken,storeDomain]);const updateItem=useCallback(async(lineId,qty)=>{const id=getCartId();if(!id||!storefrontToken||!storeDomain)return;setUpdatingId(lineId);try{if(qty<=0){await sf(storeDomain,storefrontToken,CART_LINES_REMOVE_QUERY,{cartId:id,lineIds:[lineId]});}else{await sf(storeDomain,storefrontToken,CART_LINES_UPDATE_QUERY,{cartId:id,lines:[{id:lineId,quantity:qty}]});}await loadCart();window.dispatchEvent(new CustomEvent(EVENT_UPDATE));}catch{// Network error — leave the cart as-is.\n}finally{setUpdatingId(null);}},[storefrontToken,storeDomain,loadCart]);// Product ids currently in the cart — used to (a) seed the recommendations\n// fetch off the FIRST line's product and (b) filter already-in-cart recs.\nconst cartProductIds=useMemo(()=>{const ids=new Set;for(const edge of cart?.lines.edges??[]){const pid=edge.node.merchandise.product?.id;if(pid)ids.add(pid);}return ids;},[cart]);const firstProductId=cart?.lines.edges[0]?.node.merchandise.product?.id;// Fetch \"You may also add\" recommendations off the first cart product. Keyed\n// on firstProductId (+ creds) so it only refetches when that product changes\n// — NOT on every cart object mutation, which would loop. Drops any rec\n// already in the cart and caps to 4.\nuseEffect(()=>{if(!firstProductId||!storefrontToken||!storeDomain){setRecs([]);return;}let cancelled=false;void(async()=>{try{const d=await sf(storeDomain,storefrontToken,PRODUCT_RECOMMENDATIONS_QUERY,{productId:firstProductId});if(cancelled)return;const list=d?.productRecommendations??[];setRecs(list.filter(p=>!cartProductIds.has(p.id)).slice(0,4));}catch{if(!cancelled)setRecs([]);}})();return()=>{cancelled=true;};// cartProductIds intentionally omitted from deps: it changes on every\n// cart update and would re-trigger the fetch in a loop. The filter still\n// reads the latest set via closure at fetch time, and quick re-reads\n// after an add refresh the list anyway.\n// eslint-disable-next-line react-hooks/exhaustive-deps\n},[firstProductId,storefrontToken,storeDomain]);// Add a recommended product to the cart (same path the drawer uses): create\n// a cart if none exists, else cartLinesAdd, then notify siblings + re-read.\nconst addRec=useCallback(async rec=>{const node=rec.variants.edges[0]?.node;if(!node||!node.availableForSale)return;if(!storefrontToken||!storeDomain)return;setAddingRecId(rec.id);try{const cartId=getCartId();if(cartId){await sf(storeDomain,storefrontToken,CART_LINES_ADD_QUERY,{cartId,lines:[{merchandiseId:node.id,quantity:1}]});}else{const created=await sf(storeDomain,storefrontToken,CART_CREATE_QUERY,{lines:[{merchandiseId:node.id,quantity:1}]});const newId=created?.cartCreate?.cart?.id;if(newId)setCartId(newId);}await loadCart();window.dispatchEvent(new CustomEvent(EVENT_UPDATE));}catch{// Network error — leave the cart as-is.\n}finally{setAddingRecId(null);}},[storefrontToken,storeDomain,loadCart]);useEffect(()=>{const onOpen=()=>{setOpen(true);void loadCart();};const onClose=()=>setOpen(false);const onUpdate=()=>{if(open)void loadCart();};window.addEventListener(EVENT_OPEN,onOpen);window.addEventListener(EVENT_CLOSE,onClose);window.addEventListener(EVENT_UPDATE,onUpdate);return()=>{window.removeEventListener(EVENT_OPEN,onOpen);window.removeEventListener(EVENT_CLOSE,onClose);window.removeEventListener(EVENT_UPDATE,onUpdate);};},[loadCart,open]);useEffect(()=>{if(!open)return;const onKey=e=>{if(e.key===\"Escape\")setOpen(false);};window.addEventListener(\"keydown\",onKey);return()=>window.removeEventListener(\"keydown\",onKey);},[open]);useEffect(()=>{if(typeof document===\"undefined\")return;if(open){const prev=document.body.style.overflow;document.body.style.overflow=\"hidden\";return()=>{document.body.style.overflow=prev;};}},[open]);// Derive cart data + free-shipping progress unconditionally (BEFORE any\n// early return) so React's hook order stays stable across renders.\nconst displayCart=cart||(isCanvas?PREVIEW_CART:null);const lines=displayCart?displayCart.lines.edges.map(e=>e.node):[];const subtotal=displayCart?.cost.subtotalAmount??null;const total=displayCart?.cost.totalAmount??subtotal;const currencyCode=subtotal?.currencyCode||\"USD\";const cartTotal=Number(subtotal?.amount??0);const threshold=Number.isFinite(freeShippingThreshold)&&freeShippingThreshold>0?freeShippingThreshold:0;const hasFreeShipping=threshold>0&&cartTotal>=threshold;const freeShippingProgress=useMemo(()=>{if(threshold<=0)return 0;const ratio=cartTotal/threshold;return Math.min(1,Math.max(0,ratio));},[cartTotal,threshold]);const remainingForFreeShipping=Math.max(0,threshold-cartTotal);const remainingFormatted=fmt({amount:String(remainingForFreeShipping),currencyCode});// Canvas placeholder — designers see a hint instead of the full overlay.\nif(isCanvas&&!fallbackOpen){return /*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 16px\",fontFamily:\"Inter, system-ui, sans-serif\",color:mutedTextColor,fontSize:12,textAlign:\"center\",border:`1px dashed ${dividerColor}`,borderRadius:8,background:\"#F9FAFB\"},children:'Cart Drawer \\xb7 toggle \"Preview in Canvas\" in props to see drawer'});}// The closed-state path always renders the invisible anchor div in the\n// normal React tree (so Framer's publish bundler keeps the component;\n// returning null gets the chunk tree-shaken). The visible drawer overlay is\n// rendered separately via createPortal at document.body level so it ESCAPES\n// Framer's transformed page wrapper and behaves like a true viewport-fixed\n// overlay.\nconst anchor=/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",\"data-fec-cart-drawer-anchor\":\"\",style:{width:0,height:0,overflow:\"hidden\",position:\"absolute\",top:0,left:0,pointerEvents:\"none\"}});// Checkout opens the on-site CheckoutPage overlay (Woo-style): it collects\n// contact + shipping, then hands off to Shopify's HOSTED checkout for\n// payment via cart.checkoutUrl. Close the drawer first.\nconst proceedToCheckout=()=>{if(isCanvas||typeof window===\"undefined\")return;setOpen(false);// Open the on-site CheckoutPage overlay if it's on the page; if nothing\n// handles the event, fall back to Shopify's hosted checkout so the\n// button ALWAYS works.\nconst ev=new CustomEvent(\"fec:checkout-open\",{cancelable:true});const handled=!window.dispatchEvent(ev);if(!handled&&cart?.checkoutUrl)window.location.href=cart.checkoutUrl;};// View Cart closes the drawer and opens the full-screen Cart Page OVERLAY\n// (CartPage component listening for fec:cartpage-open). No navigation, no\n// /cart route — the overlay is a portal/fixed layer like this drawer.\nconst goToCartPage=()=>{if(isCanvas||typeof window===\"undefined\")return;setOpen(false);window.dispatchEvent(new CustomEvent(EVENT_CARTPAGE_OPEN));};// *Value = the formatted money shown on the right of each totals row. The\n// row CAPTIONS on the left are the subtotal/discount/shipping/totalLabel\n// props so they can be reworded or translated from Framer's panel.\nconst subtotalValue=fmt(subtotal);// Shipping: Shopify only computes it once it knows a delivery address, so\n// the row shows a designer-set message UNTIL it is known, then the real\n// amount. Derived as total − subtotal, because cost.totalAmount folds\n// shipping and tax in as soon as the address is attached — it is NOT\n// reliably \"pre-shipping\" as this comment previously claimed. Without this\n// the page rendered Subtotal 200 / Shipping <text> / Total 579, leaving the\n// difference unexplained on screen.\n// Guarded to > 0.0001 so floating-point noise can't render a \"shipping\" row\n// for a cart that has none; a NEGATIVE difference is a discount and is\n// handled by the discount row below, which is why this is not just abs().\nconst shippingExtra=subtotal&&total?Number(total.amount)-Number(subtotal.amount):0;const shippingValue=shippingExtra>1e-4&&subtotal?fmt({amount:String(shippingExtra),currencyCode:subtotal.currencyCode}):freeShippingLabel;const totalValue=fmt(total);// Discount = subtotal − total (when a coupon has been applied). Matches the\n// CartPage discount-row pattern: green color, leading minus, same money fmt.\nconst discountAmount=subtotal&&total?Number(subtotal.amount)-Number(total.amount):0;const discountValue=discountAmount>1e-4&&subtotal?`−${fmt({amount:String(discountAmount),currencyCode:subtotal.currencyCode})}`:null;// The panel JSX is built once and reused by both the live portal overlay\n// and the canvas inline preview — the only difference is the wrapper + CSS\n// positioning around it.\nconst panel=/*#__PURE__*/_jsxs(\"div\",{role:\"dialog\",\"aria-modal\":\"true\",\"data-fec-cart-drawer-panel\":inlinePreview?undefined:\"\",style:{background:backgroundColor,color:textColor,boxShadow:position===\"right\"?\"-10px 0 30px rgba(0,0,0,0.15)\":\"10px 0 30px rgba(0,0,0,0.15)\",display:\"flex\",flexDirection:\"column\",...inlinePreview?{width:safeWidth,maxWidth:\"100%\",minHeight:700}:{transform:isOpen?\"translateX(0)\":position===\"right\"?\"translateX(100%)\":\"translateX(-100%)\",transition:\"transform 0.3s cubic-bezier(0.32, 0.72, 0, 1)\"}},children:[/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"20px 24px 16px\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsxs(\"h3\",{style:{margin:0,fontSize:20,fontWeight:700,letterSpacing:\"-0.01em\"},children:[title,displayCart?.totalQuantity?` (${displayCart.totalQuantity})`:\"\"]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setOpen(false),\"aria-label\":\"Close cart\",style:{background:\"transparent\",border:\"none\",cursor:\"pointer\",padding:8,margin:-8,color:textColor,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:8},children:/*#__PURE__*/_jsxs(\"svg\",{width:20,height:20,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2.4,strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"18\",y1:\"6\",x2:\"6\",y2:\"18\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"18\",y2:\"18\"})]})})]}),showFreeShippingBar&&threshold>0&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"0 24px 16px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:6,background:\"#e5e7eb\",borderRadius:999,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:0,bottom:0,width:`${freeShippingProgress*100}%`,background:progressColor,borderRadius:999,transition:\"width 0.4s cubic-bezier(0.32, 0.72, 0, 1)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`calc(${freeShippingProgress*100}% - 16px)`,top:-6,width:32,height:18,background:progressColor,borderRadius:999,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#fff\",transition:\"left 0.4s cubic-bezier(0.32, 0.72, 0, 1)\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsxs(\"svg\",{width:14,height:14,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"1\",y:\"3\",width:\"15\",height:\"13\"}),/*#__PURE__*/_jsx(\"polygon\",{points:\"16 8 20 8 23 11 23 16 16 16 16 8\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"5.5\",cy:\"18.5\",r:\"2.5\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"18.5\",cy:\"18.5\",r:\"2.5\"})]})})]}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:10,fontSize:13,fontWeight:500,color:hasFreeShipping?progressColor:mutedTextColor,textAlign:\"center\"},children:hasFreeShipping?freeShippingAchievedLabel:freeShippingProgressLabel.replace(\"{amount}\",remainingFormatted)})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,overflowY:\"auto\",borderTop:`1px solid ${dividerColor}`},children:loading&&!cart?/*#__PURE__*/_jsx(\"div\",{style:{padding:32,textAlign:\"center\",color:mutedTextColor,fontSize:13},children:\"Loading…\"}):lines.length===0?/*#__PURE__*/_jsxs(\"div\",{style:{padding:56,textAlign:\"center\",color:mutedTextColor},children:[/*#__PURE__*/_jsxs(\"svg\",{width:48,height:48,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:1.5,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{margin:\"0 auto 16px\",display:\"block\",opacity:.5},children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"21\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"20\",cy:\"21\",r:\"1\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14},children:emptyText})]}):lines.map(line=>{const m=line.merchandise;const img=m.image?.url;const opts=m.selectedOptions.filter(o=>!(o.name===\"Title\"&&o.value===\"Default Title\")).map(o=>o.value).join(\" \\xb7 \");const isUpdating=updatingId===line.id;const unitPrice=fmt(m.price);return /*#__PURE__*/_jsxs(\"div\",{style:{padding:\"20px 24px\",display:\"flex\",gap:14,alignItems:\"flex-start\",opacity:isUpdating?.5:1,transition:\"opacity 0.15s ease\",borderBottom:`1px solid ${dividerColor}`},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:72,height:72,background:\"#F3F4F6\",borderRadius:6,flexShrink:0,overflow:\"hidden\"},children:img&&/*#__PURE__*/_jsx(\"img\",{src:img,alt:m.product.title,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0,display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"flex-start\",gap:12},children:[/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600,lineHeight:1.3},children:m.product.title}),opts&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,color:mutedTextColor,marginTop:2},children:opts})]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>updateItem(line.id,0),disabled:isUpdating,style:{background:\"transparent\",border:\"none\",color:mutedTextColor,fontSize:12,cursor:\"pointer\",textDecoration:\"underline\",padding:0,flexShrink:0},children:\"Remove\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:10},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",border:`1px solid ${dividerColor}`,borderRadius:999,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>updateItem(line.id,line.quantity-1),disabled:isUpdating,\"aria-label\":\"Decrease quantity\",style:{width:30,height:30,background:\"transparent\",border:\"none\",cursor:isUpdating?\"wait\":\"pointer\",color:textColor,fontSize:16},children:\"−\"}),/*#__PURE__*/_jsx(\"span\",{style:{minWidth:28,textAlign:\"center\",fontSize:13,fontWeight:600},children:line.quantity}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>updateItem(line.id,line.quantity+1),disabled:isUpdating,\"aria-label\":\"Increase quantity\",style:{width:30,height:30,background:\"transparent\",border:\"none\",cursor:isUpdating?\"wait\":\"pointer\",color:textColor,fontSize:16},children:\"+\"})]}),unitPrice&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:13,fontWeight:600,color:textColor},children:[line.quantity,\" \\xd7 \",unitPrice]})]})]})]},line.id);})}),showUpsells&&recs.length>0&&lines.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{borderTop:`1px solid ${dividerColor}`,padding:\"16px 24px\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                            .fec-upsell-strip::-webkit-scrollbar { display: none; }\n                        `}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13,fontWeight:600,color:textColor,marginBottom:12},children:upsellTitle}),/*#__PURE__*/_jsx(\"div\",{className:\"fec-upsell-strip\",style:{display:\"flex\",gap:12,overflowX:\"auto\",scrollbarWidth:\"none\",msOverflowStyle:\"none\",paddingBottom:2},children:recs.map(rec=>{const node=rec.variants.edges[0]?.node;const available=!!node?.availableForSale;const isAdding=addingRecId===rec.id;const recImg=rec.featuredImage?.url;const recPrice=fmt(rec.priceRange.minVariantPrice);return /*#__PURE__*/_jsxs(\"div\",{style:{width:132,flexShrink:0,display:\"flex\",flexDirection:\"column\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:64,height:64,background:\"#F3F4F6\",borderRadius:6,overflow:\"hidden\",flexShrink:0},children:recImg&&/*#__PURE__*/_jsx(\"img\",{src:recImg,alt:rec.title,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}})}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,fontWeight:500,lineHeight:1.3,color:textColor,display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\"},children:rec.title}),recPrice&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,fontWeight:600,color:mutedTextColor},children:recPrice}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>addRec(rec),disabled:!available||isAdding,style:{marginTop:\"auto\",padding:\"6px 10px\",background:available?accentColor:\"#E5E7EB\",color:available?accentTextColor:mutedTextColor,border:\"none\",borderRadius:4,fontSize:12,fontWeight:600,cursor:!available||isAdding?\"default\":\"pointer\",fontFamily:\"inherit\"},children:isAdding?\"Adding…\":available?\"+ Add\":\"Sold out\"})]},rec.id);})})]}),lines.length>0&&subtotal&&/*#__PURE__*/_jsxs(\"div\",{style:{borderTop:`1px solid ${dividerColor}`,padding:\"16px 24px 20px\",display:\"flex\",flexDirection:\"column\",gap:14},children:[showActionRow&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-around\",paddingBottom:8,borderBottom:`1px solid ${dividerColor}`},children:[/*#__PURE__*/_jsx(ActionIcon,{icon:\"note\",label:actionNoteLabel}),/*#__PURE__*/_jsx(ActionIcon,{icon:\"shipping\",label:actionShippingLabel}),/*#__PURE__*/_jsx(ActionIcon,{icon:\"coupon\",label:actionCouponLabel})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:6},children:[/*#__PURE__*/_jsx(Row,{label:subtotalLabel,value:subtotalValue,color:textColor,muted:mutedTextColor}),discountValue&&/*#__PURE__*/_jsx(Row,{label:discountLabel,value:discountValue,color:\"#16a34a\",muted:mutedTextColor}),/*#__PURE__*/_jsx(Row,{label:shippingLabel,value:shippingValue,color:textColor,muted:mutedTextColor}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"baseline\",fontSize:18,fontWeight:700,paddingTop:6},children:[/*#__PURE__*/_jsx(\"span\",{children:totalLabel}),/*#__PURE__*/_jsx(\"span\",{children:totalValue})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:10,marginTop:4},children:[showViewCart&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:goToCartPage,style:{flex:1,padding:\"13px 16px\",background:secondaryButtonBg,color:secondaryButtonText,border:`1px solid ${secondaryButtonText}`,borderRadius:4,fontSize:14,fontWeight:600,cursor:\"pointer\",fontFamily:\"inherit\",letterSpacing:\"0.02em\"},children:viewCartLabel}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:proceedToCheckout,style:{flex:1,padding:\"13px 16px\",background:accentColor,color:accentTextColor,border:\"none\",borderRadius:4,fontSize:14,fontWeight:600,cursor:\"pointer\",fontFamily:\"inherit\",letterSpacing:\"0.02em\"},children:checkoutLabel})]})]})]});// Canvas inline preview — return the panel as a normal in-flow block at the\n// component's own spot on the page. The designer can see and style it\n// without Framer's right-side property panel covering the fixed overlay.\n// Live runtime is unaffected (this branch only fires in the editor canvas).\nif(inlinePreview){return panel;}const overlay=/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",inset:0,zIndex:9999,pointerEvents:isOpen?\"auto\":\"none\",fontFamily:\"Inter, system-ui, sans-serif\"},children:[/*#__PURE__*/_jsx(\"div\",{\"data-fec-cart-drawer-backdrop\":\"\",onClick:()=>setOpen(false),style:{background:\"rgba(0,0,0,0.5)\",opacity:isOpen?1:0,transition:\"opacity 0.25s ease\"}}),panel]});// Portal the overlay to a div we manually appended to document.body (see the\n// useEffect above). Targeting our own root container instead of\n// document.body directly is the only reliable way to ensure the overlay sits\n// ABOVE Framer's #main wrapper.\nconst portaledOverlay=portalRoot?/*#__PURE__*/createPortal(overlay,portalRoot):null;return /*#__PURE__*/_jsxs(_Fragment,{children:[anchor,portaledOverlay]});}function Row({label,value,color,muted}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"baseline\",fontSize:14},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:muted},children:label}),/*#__PURE__*/_jsx(\"span\",{style:{color,fontWeight:600},children:value})]});}// `icon` selects the glyph, `label` is the caption underneath. These are kept\n// SEPARATE on purpose: the caption is a user-editable prop, so keying the icon\n// off the label text (as this did originally) would drop to the fallback glyph\n// the moment anyone reworded or translated it.\nfunction ActionIcon({icon:iconName,label}){const icon=iconName===\"note\"?/*#__PURE__*/_jsx(\"path\",{d:\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z M14 2v6h6 M16 13H8 M16 17H8 M10 9H8\"}):iconName===\"shipping\"?/*#__PURE__*/_jsx(\"path\",{d:\"M1 3h15v13H1z M16 8h4l3 3v5h-7V8 M5.5 21a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z M18.5 21a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z\"}):/*#__PURE__*/_jsx(\"path\",{d:\"M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z M7 7h.01\"});return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",style:{background:\"transparent\",border:\"none\",cursor:\"pointer\",display:\"inline-flex\",flexDirection:\"column\",alignItems:\"center\",gap:4,padding:6,color:\"#0a0a0a\",fontFamily:\"inherit\",fontSize:11,fontWeight:500},\"aria-label\":label,children:[/*#__PURE__*/_jsx(\"svg\",{width:20,height:20,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:1.6,strokeLinecap:\"round\",strokeLinejoin:\"round\",children:icon}),label]});}addPropertyControls(CartDrawer,{storefrontToken:{type:ControlType.String,title:\"Storefront Token\",hidden:()=>true,defaultValue:\"\"},storeDomain:{type:ControlType.String,title:\"Store Domain\",hidden:()=>true,defaultValue:\"\",placeholder:\"your-store.myshopify.com\"},position:{type:ControlType.Enum,title:\"Side\",defaultValue:\"right\",options:[\"right\",\"left\"],optionTitles:[\"Right\",\"Left\"]},width:{type:ControlType.Number,title:\"Width\",defaultValue:540,min:320,max:720,unit:\"px\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Shopping Cart\"},emptyText:{type:ControlType.String,title:\"Empty text\",defaultValue:\"Your cart is empty\"},// OFF by default. This bar is a MARKETING MESSAGE driven purely by the\n// threshold below — it has no connection to the store's real shipping\n// rules, which only Shopify's checkout knows. Left on by default it fired\n// \"You've got free shipping!\" on any cart over the default threshold and\n// the shopper was then charged at checkout. A promise the storefront cannot\n// keep is worse than no bar, so the designer opts in after setting a\n// threshold that matches their actual free-shipping rule.\nshowFreeShippingBar:{type:ControlType.Boolean,title:\"Free Ship Bar\",defaultValue:false,description:\"A marketing message you control — it is NOT connected to your store's shipping rules. Only turn it on if the threshold below matches a real free-shipping rule in Shopify, or shoppers will be told they have free shipping and then charged at checkout.\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},freeShippingThreshold:{type:ControlType.Number,title:\"Free Ship At\",defaultValue:200,min:0,max:1e5,hidden:props=>!props.showFreeShippingBar},freeShippingProgressLabel:{type:ControlType.String,title:\"Progress text\",defaultValue:\"Add {amount} more to unlock free shipping\",description:\"Use {amount} as the placeholder for remaining money.\",hidden:props=>!props.showFreeShippingBar},freeShippingAchievedLabel:{type:ControlType.String,title:\"Achieved text\",defaultValue:\"Congratulations! You've got free shipping!\",hidden:props=>!props.showFreeShippingBar},showActionRow:{type:ControlType.Boolean,title:\"Action Row\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},// Captions under the Note / Shipping / Coupon icons. The icons themselves\n// are fixed — only the text is editable, so translating is safe.\nshowViewCart:{type:ControlType.Boolean,title:\"View Cart Btn\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},viewCartLabel:{type:ControlType.String,title:\"View Cart label\",defaultValue:\"View Cart\",hidden:props=>!props.showViewCart},checkoutLabel:{type:ControlType.String,title:\"Checkout label\",defaultValue:\"Checkout\"},// Captions for the footer totals rows. Exposed so the drawer can be\n// reworded or translated without unlinking the component.\nshowUpsells:{type:ControlType.Boolean,title:\"Upsells\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},upsellTitle:{type:ControlType.String,title:\"Upsell title\",defaultValue:\"You may also add\",hidden:props=>!props.showUpsells},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#0a0a0a\"},mutedTextColor:{type:ControlType.Color,title:\"Muted text\",defaultValue:\"#6b7280\"},dividerColor:{type:ControlType.Color,title:\"Divider\",defaultValue:\"#e5e7eb\"},accentColor:{type:ControlType.Color,title:\"Checkout BG\",defaultValue:\"#3E3E41\"},accentTextColor:{type:ControlType.Color,title:\"Checkout text\",defaultValue:\"#FFFFFF\"},secondaryButtonBg:{type:ControlType.Color,title:\"View Cart BG\",defaultValue:\"#FFFFFF\"},secondaryButtonText:{type:ControlType.Color,title:\"View Cart text\",defaultValue:\"#0a0a0a\"},progressColor:{type:ControlType.Color,title:\"Progress\",defaultValue:\"#22c55e\"},fallbackOpen:{type:ControlType.Boolean,title:\"Preview in Canvas\",description:\"Show the drawer here on the canvas so you can style it. Has no effect on the live site.\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},// All wording on the drawer/page in ONE collapsible section.\n// These controls were never shipped un-grouped, so moving them here\n// cannot reset anyone's customised text. Controls that ARE already\n// released (title, empty state, checkout button, colours) stay\n// top-level for exactly that reason.\nlabelGroup:{type:ControlType.Object,title:\"Labels\",controls:{subtotalLabel:{type:ControlType.String,title:\"Subtotal label\",defaultValue:\"Subtotal\"},discountLabel:{type:ControlType.String,title:\"Discount label\",defaultValue:\"Discount\",description:\"Only shown when a discount code is applied.\"},shippingLabel:{type:ControlType.String,title:\"Shipping label\",defaultValue:\"Shipping\"},freeShippingLabel:{type:ControlType.String,title:\"Shipping value\",defaultValue:\"Free shipping\",description:\"Value on the shipping row. Real shipping is calculated at checkout.\"},totalLabel:{type:ControlType.String,title:\"Total label\",defaultValue:\"Total\"},actionNoteLabel:{type:ControlType.String,title:\"Note label\",defaultValue:\"Note\",hidden:props=>!props.showActionRow},actionShippingLabel:{type:ControlType.String,title:\"Ship icon label\",defaultValue:\"Shipping\",hidden:props=>!props.showActionRow},actionCouponLabel:{type:ControlType.String,title:\"Coupon label\",defaultValue:\"Coupon\",hidden:props=>!props.showActionRow}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CartDrawer\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CartDrawer.map"],"mappings":"A,uPA8CE,eAAeA,EAAG,EAAK,EAAM,EAAM,EAAU,CAAC,IAAM4C,GAAOC,GAAM,GAAA,CAAI,KAAK,CAAC,CAAC,QAAQ,gBAAgB,EAAE,CAAC,CAAC,QAAQ,QAAQ,EAAE,EAAQC,EAAI,MAAM,MAAM,WAAWF,EAAM,OAAO3C,EAAY,eAAe,CAAC,OAAO,OAAO,QAAQ,CAAC,eAAe,mBAAmB,qCAAqC+C,GAAO,GAAA,CAAI,KAAK,CAAC,EAAE,KAAK,KAAK,UAAU,CAAC,QAAM,WAAS,CAAC,CAAC,CAAC,EAAE,GAAG,CAACF,EAAI,GAAG,MAAU,MAAM,QAAQA,EAAI,QAAQ,EAAE,IAAMG,EAAK,MAAMH,EAAI,KAAK,EAAE,GAAGG,EAAK,QAAQ,OAAO,MAAU,MAAMA,EAAK,OAAO,EAAE,EAAE,SAAS,kBAAkB,EAAE,GAAG,CAACA,EAAK,KAAK,MAAU,MAAM,gBAAgB,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