{"version":3,"file":"Drawer_Modal.CGVLS7cX.mjs","names":["useState","__esmMin","_e","init_jsx_runtime","c","p","init_npm_react_18_3_1","init_framer_DKtAEkcX","ControlType","addPropertyControls","ProductCard","props","isHovered","setIsHovered","overlayStyles","getImagePositionStyle","imagePosition","getTextPositionStyle","baseStyle","textPosition","padding","image","imageFilter","showOverlay","overlayHeight","overlayColor","overlayOpacity","cardTextColor","headingFont","title","subheadingFont","subheading","contactFont","contact","init_Drawer_Modal"],"sources":["https:/framerusercontent.com/modules/da4w6FtCVnWGZjwgPIbg/OLo8cgLiEqX8125bVXsP/Drawer_Modal.js"],"sourcesContent":["// Apple-style product card component - static, no modal interactions, with image zoom on hover\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}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.\",subheading=\"Designed for everyday luxury\",contact=\"prgonzo316@gmail.com\",cardTextColor=\"#1D1D1F\",borderRadius=48,padding=40,headingFont,subheadingFont,contactFont,imagePosition=\"center\",textPosition=\"bottom-left\",overlayStyles={showOverlay:true,overlayColor:\"#FFFFFF\",overlayOpacity:.8,overlayHeight:50},imageFilter=\"brightness(0.85)\",style}=props;const[isHovered,setIsHovered]=useState(false);const{showOverlay,overlayColor,overlayOpacity,overlayHeight}=overlayStyles;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,right:padding,textAlign:\"left\"};case\"bottom-center\":return{...baseStyle,bottom:padding,left:padding,right:padding,textAlign:\"center\"};case\"top-left\":return{...baseStyle,top:padding,left:padding,right:padding,textAlign:\"left\"};case\"top-center\":return{...baseStyle,top:padding,left:padding,right:padding,textAlign:\"center\"};default:return{...baseStyle,bottom:padding,left:padding,right:padding,textAlign:\"left\"};}};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",minWidth:5,minHeight:5,borderRadius,overflow:\"hidden\"},onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),children:[/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\",...getImagePositionStyle(),transform:isHovered?\"scale(1.1)\":\"scale(1)\",transition:\"transform 0.4s ease-out\",filter:imageFilter}}),showOverlay&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,height:`${overlayHeight}%`,background:`linear-gradient(to top, ${overlayColor}, transparent)`,opacity:overlayOpacity,zIndex:1,pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{style:getTextPositionStyle(),children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,color:cardTextColor,...headingFont},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"8px 0 0 0\",color:cardTextColor,...subheadingFont},children:subheading}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"12px 0 0 0\",color:cardTextColor,...contactFont},children:contact})]})]});}addPropertyControls(ProductCard,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Built for Comfort.\"},subheading:{type:ControlType.String,title:\"Subheading\",defaultValue:\"Designed for everyday luxury\"},contact:{type:ControlType.String,title:\"Contact\",defaultValue:\"prgonzo316@gmail.com\"},overlayStyles:{type:ControlType.Object,title:\"Card Overlay\",controls:{showOverlay:{type:ControlType.Boolean,title:\"Show\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},overlayColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\"},overlayOpacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:.8,min:0,max:1,step:.1},overlayHeight:{type:ControlType.Number,title:\"Height\",defaultValue:50,min:0,max:100,step:5,unit:\"%\"}},defaultValue:{showOverlay:true,overlayColor:\"#FFFFFF\",overlayOpacity:.8,overlayHeight:50}},cardTextColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#1D1D1F\"},imageFilter:{type:ControlType.String,title:\"Image Filter\",defaultValue:\"brightness(0.85)\",placeholder:\"e.g., brightness(0.85)\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:48,min:0,max:100,step:1,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:40,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\"}},subheadingFont:{type:ControlType.Font,title:\"Subheading Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},contactFont:{type:ControlType.Font,title:\"Contact Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"13px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},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\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProductCard\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"400\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"320\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Drawer_Modal.map"],"mappings":"A,iLAOG,SAAwBU,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,IAAI,sEAAsE,IAAI,eAAe,EAAE,QAAM,qBAAqB,aAAW,+BAA+B,UAAQ,uBAAuB,gBAAc,UAAU,eAAa,GAAG,UAAQ,GAAG,cAAY,iBAAe,cAAY,gBAAc,SAAS,eAAa,cAAc,gBAAc,CAAC,YAAY,GAAK,aAAa,UAAU,eAAe,GAAG,cAAc,EAAE,EAAE,cAAY,mBAAmB,SAAOC,EAAW,CAACC,EAAUC,GAAcb,EAAS,EAAK,EAAO,CAAC,cAAY,eAAa,iBAAe,iBAAec,EAAoBC,MAA0B,CAAC,OAAOC,EAAP,CAAsB,IAAI,MAAM,MAAM,CAAC,eAAe,YAAY,EAAE,IAAI,SAAS,MAAM,CAAC,eAAe,eAAe,EAAE,QAAQ,MAAM,CAAC,eAAe,eAAe,CAAE,CAAC,EAAQC,MAAyB,CAAC,IAAMC,EAAU,CAAC,SAAS,WAAW,OAAO,CAAC,EAAE,OAAOC,EAAP,CAAqB,IAAI,cAAc,MAAM,CAAC,GAAGD,EAAU,OAAOE,EAAQ,KAAKA,EAAQ,MAAMA,EAAQ,UAAU,MAAM,EAAE,IAAI,gBAAgB,MAAM,CAAC,GAAGF,EAAU,OAAOE,EAAQ,KAAKA,EAAQ,MAAMA,EAAQ,UAAU,QAAQ,EAAE,IAAI,WAAW,MAAM,CAAC,GAAGF,EAAU,IAAIE,EAAQ,KAAKA,EAAQ,MAAMA,EAAQ,UAAU,MAAM,EAAE,IAAI,aAAa,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