import{makeStyle as e,makeStyleResponsive as t}from"@gem-sdk/core";let g=({style:e,hasDiscount:t})=>({...e,opacity:t?1:.2}),a=e=>({...t("w",e?.ftWidth)}),l=e=>({flexDirection:e?.vertical?"column":"row",gap:parseInt(e?.gap)}),r=(t,g)=>({...g,...e({gg:t?.gap}),...e({gtc:`repeat(${t?.itemSlide}, 1fr)`})}),i=(t,g)=>({...g,...e({gg:t?.gap})}),o=e=>({"--o":e?.layoutType==="left"?"1":"0","--jc":e?.align==="left"?"flex-start":e?.align==="right"?"flex-end":"center"});export{o as getAlignStyle,g as getContainerStyles,a as getFeatureImageStyle,r as getImageGridStyle,l as getImageListStyle,i as getProductImageLayoutStyle};
