{"version":3,"file":"ProductCard.yS2BN_P7.mjs","names":["useMemo","useState","useState","useRef","_Fragment","startTransition"],"sources":["https:/framerusercontent.com/modules/2pSfdV8RHCSCdoVvWJXa/PPzgv9yBxbonA7jsZ9hn/BentoGridCreator.js","https:/framerusercontent.com/modules/AO0Hm5alqkYEKmGfjqda/BtxSwRHlYoT9TB2UKRm7/ProductCard.js"],"sourcesContent":["// Bento Creator Component - Creates a customizable bento grid layout over an image\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,startTransition,useMemo,useEffect}from\"react\";/**\n * Bento Creator Component\n * \n * Creates a customizable bento grid layout with individual images for each cell.\n * Each bento card has its own image that maintains aspect ratio without stretching.\n * Click on cards to shift their positions with smooth animations or open in lightbox.\n * Cards can span multiple columns and rows for dynamic layouts.\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function BentoGridCreator(props){const{images=[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Image 1\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Image 2\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Image 3\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Image 4\"}],gridColumns=2,gridRows=2,gap=8,borderRadius=24,borderWidth=0,borderColor=\"#000000\",backgroundColor=\"#FFFFFF\",opacity=1,overlayColor=\"#000000\",overlayOpacity=.2,showOverlay=false,enableLightbox=false,animationDuration=.3,lightboxBackgroundColor=\"#000000\",lightboxOpacity=.9,enableSpanning=false,spanConfig=[{imageIndex:0,colSpan:2,rowSpan:1},{imageIndex:2,colSpan:1,rowSpan:2}],grayscaleOnHover=false,style}=props;// Calculate grid layout with spanning\nconst gridLayout=useMemo(()=>{if(!enableSpanning){// Regular grid without spanning - distribute images without repetition\nconst totalCells=gridColumns*gridRows;// Fill all cells with images, cycling through the images array if needed\nreturn Array.from({length:totalCells},(_,index)=>({imageIndex:images.length>0?index%images.length:index%4,colSpan:1,rowSpan:1,gridColumn:index%gridColumns+1,gridRow:Math.floor(index/gridColumns)+1,cellIndex:index}));}// Create a grid matrix to track occupied cells\nconst grid=Array(gridRows).fill(null).map(()=>Array(gridColumns).fill(false));const layout=[];const usedImages=new Set;// Place spanning items first\nspanConfig.forEach(span=>{if(span.imageIndex<images.length&&!usedImages.has(span.imageIndex)){// Find the first available position for this span\nfor(let row=0;row<=gridRows-span.rowSpan;row++){for(let col=0;col<=gridColumns-span.colSpan;col++){// Check if the area is available\nlet canPlace=true;for(let r=row;r<row+span.rowSpan;r++){for(let c=col;c<col+span.colSpan;c++){if(grid[r][c]){canPlace=false;break;}}if(!canPlace)break;}if(canPlace){// Mark the area as occupied\nfor(let r=row;r<row+span.rowSpan;r++){for(let c=col;c<col+span.colSpan;c++){grid[r][c]=true;}}layout.push({imageIndex:span.imageIndex,colSpan:span.colSpan,rowSpan:span.rowSpan,gridColumn:col+1,gridRow:row+1,cellIndex:layout.length});usedImages.add(span.imageIndex);return;// Move to next span\n}}}}});// Fill remaining cells with 1x1 items using unused images\nlet currentImageIndex=0;for(let row=0;row<gridRows;row++){for(let col=0;col<gridColumns;col++){if(!grid[row][col]){// Find next unused image\nwhile(currentImageIndex<images.length&&usedImages.has(currentImageIndex)){currentImageIndex++;}const imageIndex=currentImageIndex<images.length?currentImageIndex:null;layout.push({imageIndex:imageIndex,colSpan:1,rowSpan:1,gridColumn:col+1,gridRow:row+1,cellIndex:layout.length});if(imageIndex!==null){usedImages.add(imageIndex);currentImageIndex++;}}}}return layout;},[enableSpanning,spanConfig,gridColumns,gridRows,images.length]);// State for lightbox\nconst[lightboxOpen,setLightboxOpen]=useState(false);const[lightboxImage,setLightboxImage]=useState(null);const[lightboxImageIndex,setLightboxImageIndex]=useState(0);// Function to handle card clicks\nconst handleCardClick=clickedIndex=>{const imageIndex=enableSpanning?gridLayout[clickedIndex].imageIndex:clickedIndex;const currentImage=images[imageIndex]||{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Default Image\"};if(enableLightbox){// Open lightbox\nconst imageSrc=typeof currentImage===\"object\"&&currentImage!==null?currentImage.src||\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\":\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\";const imageAlt=typeof currentImage===\"object\"&&currentImage!==null?currentImage.alt||\"Image\":\"Image\";startTransition(()=>{setLightboxImage({src:imageSrc,alt:imageAlt});setLightboxImageIndex(imageIndex);setLightboxOpen(true);});}};// Function to navigate to next image in lightbox\nconst navigateToNextImage=()=>{const nextIndex=(lightboxImageIndex+1)%images.length;const nextImage=images[nextIndex]||{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Default Image\"};const imageSrc=typeof nextImage===\"object\"&&nextImage!==null?nextImage.src||\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\":\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\";const imageAlt=typeof nextImage===\"object\"&&nextImage!==null?nextImage.alt||\"Image\":\"Image\";startTransition(()=>{setLightboxImage({src:imageSrc,alt:imageAlt});setLightboxImageIndex(nextIndex);});};// Function to navigate to previous image in lightbox\nconst navigateToPreviousImage=()=>{const prevIndex=lightboxImageIndex===0?images.length-1:lightboxImageIndex-1;const prevImage=images[prevIndex]||{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Default Image\"};const imageSrc=typeof prevImage===\"object\"&&prevImage!==null?prevImage.src||\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\":\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\";const imageAlt=typeof prevImage===\"object\"&&prevImage!==null?prevImage.alt||\"Image\":\"Image\";startTransition(()=>{setLightboxImage({src:imageSrc,alt:imageAlt});setLightboxImageIndex(prevIndex);});};// Function to close lightbox\nconst closeLightbox=()=>{startTransition(()=>{setLightboxOpen(false);setLightboxImage(null);setLightboxImageIndex(0);});};// Add keyboard event listeners for lightbox navigation\nuseEffect(()=>{if(!lightboxOpen)return;const handleKeyDown=event=>{switch(event.key){case\"ArrowRight\":case\"ArrowDown\":event.preventDefault();navigateToNextImage();break;case\"ArrowLeft\":case\"ArrowUp\":event.preventDefault();navigateToPreviousImage();break;case\"Escape\":event.preventDefault();closeLightbox();break;}};if(typeof window!==\"undefined\"){window.addEventListener(\"keydown\",handleKeyDown);}return()=>{if(typeof window!==\"undefined\"){window.removeEventListener(\"keydown\",handleKeyDown);}};},[lightboxOpen,lightboxImageIndex,images.length]);return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",borderRadius:borderRadius,backgroundColor:backgroundColor},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"grid\",gridTemplateColumns:`repeat(${gridColumns}, 1fr)`,gridTemplateRows:`repeat(${gridRows}, 1fr)`,gap:`${gap}px`,padding:`${gap}px`,zIndex:2},children:Array.from({length:gridLayout.length},(_,index)=>{const imageIndex=gridLayout[index].imageIndex;// Only show an image if imageIndex is not null and index < 4 (no placeholders after 4)\nif(imageIndex===null)return null;// fallback to default images if images array is empty or missing\nconst fallbackImages=[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Image 1\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Image 2\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Image 3\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Image 4\"}];const currentImage=images&&images.length>0&&images[imageIndex]||fallbackImages[imageIndex]||fallbackImages[0];const imageSrc=typeof currentImage===\"object\"&&currentImage!==null?currentImage.src||fallbackImages[0].src:fallbackImages[0].src;const imageAlt=typeof currentImage===\"object\"&&currentImage!==null?currentImage.alt||\"Image\":\"Image\";const layoutItem=gridLayout[index];return /*#__PURE__*/_jsx(\"div\",{onClick:()=>handleCardClick(index),style:{width:\"100%\",height:\"100%\",border:borderWidth>0?`${borderWidth}px solid ${borderColor}`:\"none\",borderRadius:`${Math.max(0,borderRadius-gap)}px`,backgroundColor:\"transparent\",overflow:\"hidden\",position:\"relative\",cursor:enableLightbox?\"pointer\":\"default\",transition:`all ${animationDuration}s ease-in-out`,transform:\"scale(1)\",gridColumn:enableSpanning?`${layoutItem.gridColumn} / span ${layoutItem.colSpan}`:\"auto\",gridRow:enableSpanning?`${layoutItem.gridRow} / span ${layoutItem.rowSpan}`:\"auto\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",transition:`transform ${animationDuration}s ease-in-out`,transform:\"scale(1)\",overflow:\"hidden\"},className:`bento-card-${index}`,onMouseEnter:e=>{e.currentTarget.style.transform=\"scale(1.03)\";if(grayscaleOnHover){const img=e.currentTarget.querySelector(\"img\");if(img){img.style.filter=\"grayscale(100%)\";}}},onMouseLeave:e=>{e.currentTarget.style.transform=\"scale(1)\";if(grayscaleOnHover){const img=e.currentTarget.querySelector(\"img\");if(img){img.style.filter=\"grayscale(0%)\";}}},children:[/*#__PURE__*/_jsx(\"img\",{src:imageSrc,alt:imageAlt,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:\"center\",opacity:opacity,transition:`filter ${animationDuration}s ease-in-out`}}),showOverlay&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:overlayColor,opacity:overlayOpacity,transition:`opacity ${animationDuration}s ease-in-out`,zIndex:1}})]})},index);})}),lightboxOpen&&lightboxImage&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100vh\",backgroundColor:lightboxBackgroundColor,opacity:lightboxOpacity,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",zIndex:1e3,cursor:\"pointer\",animation:`fadeIn ${animationDuration}s ease-in-out`},onClick:closeLightbox,children:[/*#__PURE__*/_jsx(\"img\",{src:lightboxImage.src,alt:lightboxImage.alt,style:{width:\"60vh\",height:\"80vh\",objectFit:\"cover\",borderRadius:borderRadius,boxShadow:\"0 20px 60px rgba(0, 0, 0, 0.5)\",animation:`scaleIn ${animationDuration}s ease-in-out`},onClick:e=>e.stopPropagation(),className:\"lightbox-image\"}),/*#__PURE__*/_jsx(\"button\",{onClick:closeLightbox,style:{position:\"absolute\",top:\"20px\",right:\"20px\",width:\"40px\",height:\"40px\",borderRadius:\"50%\",border:\"none\",backgroundColor:\"rgba(255, 255, 255, 0.9)\",color:\"#000\",fontSize:\"20px\",cursor:\"pointer\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",transition:`all ${animationDuration}s ease-in-out`,// Center the X icon perfectly\npadding:0},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 1)\";e.currentTarget.style.transform=\"scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.9)\";e.currentTarget.style.transform=\"scale(1)\";},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{display:\"block\"},children:[/*#__PURE__*/_jsx(\"line\",{x1:\"5\",y1:\"5\",x2:\"15\",y2:\"15\",stroke:\"#000\",strokeWidth:\"2\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"15\",y1:\"5\",x2:\"5\",y2:\"15\",stroke:\"#000\",strokeWidth:\"2\",strokeLinecap:\"round\"})]})})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes fadeIn {\n                    from { opacity: 0; }\n                    to { opacity: ${lightboxOpacity}; }\n                }\n                \n                @keyframes scaleIn {\n                    from { \n                        opacity: 0;\n                        transform: scale(0.8);\n                    }\n                    to { \n                        opacity: 1;\n                        transform: scale(1);\n                    }\n                }\n                \n                @media (max-width: 768px) {\n                    .lightbox-image {\n                        width: calc(100vw - 40px) !important;\n                        height: auto !important;\n                        max-height: calc(100vh - 80px) !important;\n                    }\n                }\n            `})]});}addPropertyControls(BentoGridCreator,{images:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.ResponsiveImage},defaultValue:[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Image 1\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Image 2\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Image 3\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Image 4\"},{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Image 5\"}],maxCount:20},gridColumns:{type:ControlType.Number,title:\"Columns\",defaultValue:2,min:1,max:10,step:1,displayStepper:true},gridRows:{type:ControlType.Number,title:\"Rows\",defaultValue:2,min:1,max:10,step:1,displayStepper:true},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:24,min:0,max:100,step:1,unit:\"px\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:0,min:0,max:10,step:1,unit:\"px\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#000000\",hidden:({borderWidth})=>borderWidth===0},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#FFFFFF\"},opacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:1,min:0,max:1,step:.1},grayscaleOnHover:{type:ControlType.Boolean,title:\"Grayscale on Hover\",description:\"Apply grayscale filter to images on hover\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},showOverlay:{type:ControlType.Boolean,title:\"Overlay\",description:\"Toggle overlay on bento cards\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},overlayColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"#000000\",hidden:({showOverlay})=>!showOverlay},overlayOpacity:{type:ControlType.Number,title:\"Overlay Opacity\",defaultValue:.2,min:0,max:1,step:.1,hidden:({showOverlay})=>!showOverlay},enableLightbox:{type:ControlType.Boolean,title:\"Lightbox\",description:\"Enable image lightbox modal on card click.\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},lightboxBackgroundColor:{type:ControlType.Color,title:\"Lightbox Background\",defaultValue:\"#000000\",hidden:({enableLightbox})=>!enableLightbox},lightboxOpacity:{type:ControlType.Number,title:\"Lightbox Opacity\",defaultValue:.9,min:0,max:1,step:.1,hidden:({enableLightbox})=>!enableLightbox},animationDuration:{type:ControlType.Number,title:\"Animation Duration\",defaultValue:.3,min:.1,max:2,step:.1,unit:\"s\"},enableSpanning:{type:ControlType.Boolean,title:\"Spanning\",description:\"Allow cards to span multiple columns and rows\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},spanConfig:{type:ControlType.Array,title:\"Bento Span\",description:\"Configure which images span multiple cells. Set imageIndex to the image position (0-based), colSpan for columns, and rowSpan for rows.\",control:{type:ControlType.Object,controls:{imageIndex:{type:ControlType.Number,title:\"Image Index\",defaultValue:0,min:0,max:10,step:1,displayStepper:true},colSpan:{type:ControlType.Number,title:\"Col Span\",defaultValue:1,min:1,max:10,step:1,displayStepper:true},rowSpan:{type:ControlType.Number,title:\"Row Span\",defaultValue:1,min:1,max:10,step:1,displayStepper:true}}},defaultValue:[{imageIndex:0,colSpan:2,rowSpan:1},{imageIndex:2,colSpan:1,rowSpan:2}],hidden:({enableSpanning})=>!enableSpanning}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BentoGridCreator\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"400\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BentoGridCreator.map","// Apple-style product card component with full customization\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{useState,startTransition,useRef,useEffect}from\"react\";/**\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ProductCard(props){const{image={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Product Image\"},title=\"Built for Comfort.\",modalHeading=\"Design dedicated to designers & Creatives\",modalDescription=\"Experience unparalleled design with the Tela collection, where premium aesthetics meet luxury and comfort.\\n\\nEach piece is meticulously crafted to elevate your space, offering a harmonious blend of style and functionality.\\n\\nIndulge in the exquisite details and superior materials that define the Tela line, ensuring that every moment spent in your environment is one of elegance and relaxation.\",cardTextColor=\"#1D1D1F\",modalTextColor=\"#1D1D1F\",borderRadius=48,padding=40,headingFont,modalDescriptionFont,imagePosition=\"center\",textPosition=\"bottom-left\",showOverlay=true,overlayColor=\"#FFFFFF\",overlayOpacity=.8,overlayHeight=50,modalOverlayColor=\"rgba(0, 0, 0, 0.6)\",modalBackgroundColor=\"#F5EDE4\"}=props;const[isModalOpen,setIsModalOpen]=useState(false);const[cardPosition,setCardPosition]=useState({x:0,y:0,width:0,height:0});const[windowSize,setWindowSize]=useState({width:0,height:0});const cardRef=useRef(null);const[isHovered,setIsHovered]=useState(false);useEffect(()=>{if(typeof window!==\"undefined\"){setWindowSize({width:window.innerWidth,height:window.innerHeight});const handleResize=()=>{setWindowSize({width:window.innerWidth,height:window.innerHeight});};window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);}},[]);const openModal=()=>{if(cardRef.current){const rect=cardRef.current.getBoundingClientRect();setCardPosition({x:rect.left+rect.width/2,y:rect.top+rect.height/2,width:rect.width,height:rect.height});}startTransition(()=>setIsModalOpen(true));};const closeModal=()=>{startTransition(()=>setIsModalOpen(false));};const getImagePositionStyle=()=>{switch(imagePosition){case\"top\":return{objectPosition:\"center top\"};case\"bottom\":return{objectPosition:\"center bottom\"};default:return{objectPosition:\"center center\"};}};const getTextPositionStyle=()=>{const baseStyle={position:\"absolute\",zIndex:2};switch(textPosition){case\"bottom-left\":return{...baseStyle,bottom:padding,left:padding,textAlign:\"left\"};case\"bottom-center\":return{...baseStyle,bottom:padding,left:\"50%\",transform:\"translateX(-50%)\",textAlign:\"center\"};case\"top-left\":return{...baseStyle,top:padding,left:padding,textAlign:\"left\"};case\"top-center\":return{...baseStyle,top:padding,left:\"50%\",transform:\"translateX(-50%)\",textAlign:\"center\"};default:return{...baseStyle,bottom:padding,left:padding,textAlign:\"left\"};}};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{ref:cardRef,style:{width:\"100%\",height:\"100%\",position:\"relative\",borderRadius,overflow:\"hidden\",cursor:\"pointer\",...props.style},onClick:openModal,onMouseEnter:()=>startTransition(()=>setIsHovered(true)),onMouseLeave:()=>startTransition(()=>setIsHovered(false)),children:[/*#__PURE__*/_jsx(motion.img,{src:image.src,alt:image.alt,animate:{scale:isHovered?1.04:1},transition:{duration:.4,ease:[.32,.72,0,1]},style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",...getImagePositionStyle()}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,height:`${overlayHeight}%`,background:`linear-gradient(to top, ${overlayColor}, transparent)`,opacity:showOverlay?overlayOpacity:0,zIndex:1,pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:getTextPositionStyle(),children:/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,color:cardTextColor,...headingFont},children:title})})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:isModalOpen&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},style:{position:\"fixed\",top:0,left:0,right:0,bottom:0,backgroundColor:modalOverlayColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:9999,padding:20},onClick:closeModal,children:/*#__PURE__*/_jsxs(motion.div,{initial:{scale:cardPosition.width/600,x:cardPosition.x-windowSize.width/2,y:cardPosition.y-windowSize.height/2,opacity:0},animate:{scale:1,x:0,y:0,opacity:1},exit:{scale:cardPosition.width/600,x:cardPosition.x-windowSize.width/2,y:cardPosition.y-windowSize.height/2,opacity:0},transition:{duration:.4,ease:[.32,.72,0,1]},style:{position:\"relative\",width:\"calc(100vw - 2rem)\",maxWidth:600,minHeight:\"90vh\",backgroundColor:modalBackgroundColor,borderRadius:32,overflow:\"hidden\",display:\"flex\",flexDirection:\"column\"},onClick:e=>e.stopPropagation(),children:[/*#__PURE__*/_jsx(\"button\",{onClick:closeModal,style:{position:\"absolute\",top:20,right:20,width:36,height:36,borderRadius:\"50%\",backgroundColor:\"rgba(0, 0, 0, 0.5)\",border:\"none\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:10,transition:\"background-color 0.2s\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(0, 0, 0, 0.7)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(0, 0, 0, 0.5)\";},children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 4L4 12M4 4L12 12\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\"})})}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:300,flexShrink:0},children:[/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",...getImagePositionStyle()}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,height:\"60%\",background:`linear-gradient(to top, ${modalBackgroundColor}, transparent)`,pointerEvents:\"none\"}})]}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"0 40px 40px 40px\",overflowY:\"auto\",flex:1,display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:400,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:\"0 0 20px 0\",color:modalTextColor,...headingFont},children:modalHeading}),/*#__PURE__*/_jsx(\"div\",{style:{color:modalTextColor,...modalDescriptionFont,whiteSpace:\"pre-line\"},children:modalDescription})]})})]})})})]});}addPropertyControls(ProductCard,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Built for Comfort.\"},modalHeading:{type:ControlType.String,title:\"Modal Heading\",defaultValue:\"Design dedicated to designers & Creatives\"},modalDescription:{type:ControlType.String,title:\"Modal Description\",displayTextArea:true,defaultValue:\"Experience unparalleled design with the Tela collection, where premium aesthetics meet luxury and comfort.\\n\\nEach piece is meticulously crafted to elevate your space, offering a harmonious blend of style and functionality.\\n\\nIndulge in the exquisite details and superior materials that define the Tela line, ensuring that every moment spent in your environment is one of elegance and relaxation.\"},cardTextColor:{type:ControlType.Color,title:\"Card Text Color\",defaultValue:\"#1D1D1F\"},modalTextColor:{type:ControlType.Color,title:\"Modal Text Color\",defaultValue:\"#1D1D1F\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:48,min:0,max:100,step:1,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:48,min:0,max:100,step:4,unit:\"px\"},headingFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"20px\",variant:\"Semibold\",letterSpacing:\"-0.02em\",lineHeight:\"1.1em\"}},imagePosition:{type:ControlType.Enum,title:\"Image Position\",options:[\"top\",\"center\",\"bottom\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"center\",displaySegmentedControl:true},textPosition:{type:ControlType.Enum,title:\"Text Position\",options:[\"bottom-left\",\"bottom-center\",\"top-left\",\"top-center\"],optionTitles:[\"Bottom Left\",\"Bottom Center\",\"Top Left\",\"Top Center\"],defaultValue:\"bottom-left\"},showOverlay:{type:ControlType.Boolean,title:\"Overlay\",description:\"Toggle gradient overlay for text contrast\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},overlayColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"#FFFFFF\",hidden:({showOverlay})=>!showOverlay},overlayOpacity:{type:ControlType.Number,title:\"Overlay Opacity\",defaultValue:.8,min:0,max:1,step:.1,hidden:({showOverlay})=>!showOverlay},overlayHeight:{type:ControlType.Number,title:\"Overlay Height\",defaultValue:50,min:0,max:100,step:5,unit:\"%\",hidden:({showOverlay})=>!showOverlay},modalDescriptionFont:{type:ControlType.Font,title:\"Modal Text\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.5em\"}},modalOverlayColor:{type:ControlType.Color,title:\"Modal Overlay\",defaultValue:\"rgba(0, 0, 0, 0.6)\"},modalBackgroundColor:{type:ControlType.Color,title:\"Modal Background\",defaultValue:\"#F5EDE4\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProductCard\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"320\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProductCard.map"],"mappings":"qRAcG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,SAAO,CAAC,CAAC,IAAI,sEAAsE,IAAI,SAAS,EAAE,CAAC,IAAI,oEAAoE,IAAI,SAAS,EAAE,CAAC,IAAI,uEAAuE,IAAI,SAAS,EAAE,CAAC,IAAI,oEAAoE,IAAI,SAAS,CAAC,EAAE,cAAY,EAAE,WAAS,EAAE,MAAI,EAAE,eAAa,GAAG,cAAY,EAAE,cAAY,UAAU,kBAAgB,UAAU,UAAQ,EAAE,eAAa,UAAU,iBAAe,GAAG,cAAY,GAAM,iBAAe,GAAM,oBAAkB,GAAG,0BAAwB,UAAU,kBAAgB,GAAG,iBAAe,GAAM,aAAW,CAAC,CAAC,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,EAAE,mBAAiB,GAAM,SAAO,EACxzB,EAAWA,MAAY,CAAC,GAAG,CAAC,EAAe,CACjD,IAAM,EAAW,EAAY,EAC7B,OAAO,MAAM,KAAK,CAAC,OAAO,CAAU,GAAG,EAAE,KAAS,CAAC,WAAW,EAAO,OAAO,EAAE,EAAM,EAAO,OAAO,EAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAM,EAAY,EAAE,QAAQ,KAAK,MAAM,EAAM,CAAW,EAAE,EAAE,UA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