setOpen(false)} style={{position:'fixed',inset:0,background:'rgba(31,31,31,0.6)',zIndex:500,display:'flex',alignItems:'center',justifyContent:'center',padding:20,overflowY:'auto'}}>
e.stopPropagation()} style={{background:'var(--ivory)',borderRadius:'var(--radius-lg)',maxWidth:520,width:'100%',padding:'32px',boxShadow:'var(--shadow-card)',position:'relative',maxHeight:'88vh',overflowY:'auto'}}>
{tpl.label}
{FitStore.titleFor(tpl)}
{tpl.hasSizeSelector?(hasMeasurements?(
{tpl.fitTypes&&(
Fit Type
{tpl.fitTypes.map(f=>())}
)}
| Size |
{tpl.measureFields.map(f=>({FitStore.MEASURE_LABELS[f]||f} | ))}
{tpl.sizes.map((s,i)=>(
| {s} |
{tpl.measureFields.map(f=>({FitStore.measureValue(i,f)} | ))}
))}
Measurements are approximate and may vary slightly by ±0.5 inch due to handcrafted finishing.
):(
{tpl.sizes.map(s=>())}
)):(
{tpl.specFields.map(f=>(
| {FitStore.FIELD_LABELS[f]||f} |
{FitStore.specValue(product,f)} |
))}
)}