import{composeClasses as e,DEVICES as r}from"@gem-sdk/core";let o=r=>({...e(r),...e("gp-flex gp-w-auto")}),t=()=>e("gp-grid gp-grid-cols-2"),s=(o,t,s)=>{let{productOfferLayout:l}=t??{},p="";return r.forEach(e=>{let r="desktop"===e?"":`${e}:`;if("mobile"===e){p+=" mobile:gp-col-span-2";return}(l?.[e]==="1col"&&o%3==0||1>=(s||0))&&(p+=` ${r}gp-col-span-2`)}),e(p)};export{o as getProductOfferContainerClasses,s as getProductOfferItemClasses,t as getProductOfferWrapperClasses};
