# Create a Squarespace-friendly embed snippet: # - Scoped to #sapere-catalog (no global / tags) # - Panels hidden until a filter is opened (no big empty rectangle) # - Only rows with BOTH Lot Code and Lot Name # - All CSS/JS inline (can be pasted in a Code Block). If Squarespace strips """ html_markup = f""" {css} {wrapper_open}
Sapere.Coffee
Filter by: {('' if countries else '')}
{''.join(cards) if cards else '

No coffees found.

'}
{wrapper_close} {script} """ out_path = Path("/mnt/data/sapere_squarespace_embed.html") out_path.write_text(html_markup, encoding="utf-8") str(out_path)