{"version":3,"file":"Menu.BCD1mCsJ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/4UPyghiSKcoAUZ1qrnKv/VMUlYUBvZ2tPLLxiv1sg/Menu.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function LaomaPopularDishes(props){const{eyebrow,title,description,dishes,background,textColor,accentColor,cardColor}=props;const src=image=>typeof image===\"string\"?image:image?.src;return /*#__PURE__*/_jsxs(\"section\",{id:\"menu\",className:\"lp-section\",style:{\"--bg\":background,\"--ink\":textColor,\"--red\":accentColor,\"--card\":cardColor},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .lp-section{width:100%;padding:clamp(74px,9vw,138px) clamp(20px,6vw,92px);box-sizing:border-box;background:var(--bg);color:var(--ink);font-family:\"Noto Sans TC\",\"PingFang TC\",sans-serif;overflow:hidden}\n                .lp-head{max-width:760px;margin:0 auto 52px;text-align:center}.lp-eyebrow{margin-bottom:14px;color:var(--red);font-size:13px;font-weight:900;letter-spacing:.24em}.lp-title{margin:0;font-family:\"Noto Serif TC\",\"Songti TC\",serif;font-size:clamp(38px,4.7vw,64px);line-height:1.25;letter-spacing:.04em}.lp-desc{margin:22px auto 0;color:rgba(59,36,25,.72);font-size:16px;line-height:1.9;letter-spacing:.05em}\n                .lp-grid{max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.3vw,34px)}.lp-card{position:relative;min-width:0;background:var(--card);border-radius:150px 150px 24px 24px;overflow:hidden;box-shadow:0 18px 45px rgba(60,32,17,.1);transition:transform .3s ease,box-shadow .3s ease}.lp-card:hover{transform:translateY(-8px);box-shadow:0 25px 55px rgba(60,32,17,.16)}\n                .lp-photo-wrap{position:relative;aspect-ratio:1/1.05;overflow:hidden}.lp-photo{width:100%;height:100%;display:block;object-fit:cover;transition:transform .5s ease}.lp-card:hover .lp-photo{transform:scale(1.045)}.lp-tag{position:absolute;top:20px;left:20px;padding:8px 13px;border-radius:999px;background:rgba(255,247,232,.92);color:var(--red);font-size:12px;font-weight:900;letter-spacing:.08em;backdrop-filter:blur(8px)}\n                .lp-body{padding:26px clamp(20px,2.4vw,34px) 34px}.lp-number{color:var(--red);font-family:serif;font-size:13px;font-weight:900;letter-spacing:.18em}.lp-dish-title{margin:8px 0 12px;font-family:\"Noto Serif TC\",\"Songti TC\",serif;font-size:27px;letter-spacing:.05em}.lp-dish-desc{margin:0;color:rgba(59,36,25,.72);font-size:15px;line-height:1.85;letter-spacing:.035em}\n                @media(max-width:900px){.lp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-card:last-child:nth-child(odd){grid-column:1/-1;max-width:calc(50% - 10px);margin:auto}}\n                @media(max-width:600px){.lp-section{padding:68px 18px}.lp-head{text-align:left;margin-bottom:34px}.lp-grid{grid-template-columns:1fr;gap:24px}.lp-card,.lp-card:last-child:nth-child(odd){grid-column:auto;max-width:none;border-radius:120px 120px 22px 22px}.lp-photo-wrap{aspect-ratio:1/1}.lp-body{padding:24px 24px 30px}}\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"lp-head\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"lp-eyebrow\",children:eyebrow}),/*#__PURE__*/_jsx(\"h2\",{className:\"lp-title\",children:title}),/*#__PURE__*/_jsx(\"p\",{className:\"lp-desc\",children:description})]}),/*#__PURE__*/_jsx(\"div\",{className:\"lp-grid\",children:(dishes||[]).map((dish,index)=>/*#__PURE__*/_jsxs(\"article\",{className:\"lp-card\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"lp-photo-wrap\",children:src(dish.image)&&/*#__PURE__*/_jsx(\"img\",{className:\"lp-photo\",src:src(dish.image),alt:dish.title||\"人氣料理\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"lp-body\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"lp-number\",children:[\"RECOMMEND \\xb7 \",String(index+1).padStart(2,\"0\")]}),/*#__PURE__*/_jsx(\"h3\",{className:\"lp-dish-title\",children:dish.title}),/*#__PURE__*/_jsx(\"p\",{className:\"lp-dish-desc\",children:dish.description})]})]},`${dish.title}-${index}`))})]});}LaomaPopularDishes.defaultProps={eyebrow:\"SIGNATURE DISHES\",title:\"老媽人氣推薦\",description:\"傳承古早味的熟悉香氣，也準備了讓人一吃就愛上的療癒滋味。每一道，都是熟客回來的理由。\",dishes:[{title:\"炸臭豆腐\",description:\"外皮炸得酥脆，裡頭保有豆腐的柔嫩香氣，搭配泡菜與自製辣醬，香氣濃郁又開胃。\",image:{src:\"https://laomamiandian.weebly.com/uploads/1/5/3/4/153476719/laomamiandian-p02-new_orig.jpg\"}},{title:\"咖哩飯\",description:\"選用日式咖哩醬，味道偏甜並帶有蔬果香氣，濃郁滑順又下飯，大人小孩都喜歡。\",image:{src:\"https://laomamiandian.weebly.com/uploads/1/5/3/4/153476719/laomamiandian-p03_orig.jpg\"}},{title:\"古早味乾麵\",description:\"傳統油蔥與醬香的完美融合，每一口都吃得到古早味的溫度，搭配自家辣醬更是絕配。\",image:{src:\"https://laomamiandian.weebly.com/uploads/1/5/3/4/153476719/laomamiandian-p04_orig.jpg\"}}],background:\"#FFF7E8\",textColor:\"#3B2419\",accentColor:\"#A5231F\",cardColor:\"#FFFFFF\"};addPropertyControls(LaomaPopularDishes,{eyebrow:{type:ControlType.String,title:\"眉標\"},title:{type:ControlType.String,title:\"標題\"},description:{type:ControlType.String,title:\"介紹\",displayTextArea:true},dishes:{type:ControlType.Array,title:\"推薦菜色\",maxCount:6,control:{type:ControlType.Object,controls:{image:{type:ControlType.ResponsiveImage,title:\"圖片\"},title:{type:ControlType.String,title:\"名稱\"},description:{type:ControlType.String,title:\"介紹\",displayTextArea:true}}}},background:{type:ControlType.Color,title:\"背景\"},textColor:{type:ControlType.Color,title:\"文字\"},accentColor:{type:ControlType.Color,title:\"主色\"},cardColor:{type:ControlType.Color,title:\"卡片\"}});\nexport const __FramerMetadata__ = {\"exports\":{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