Add the Genlook virtual try-on to my product page. Canvas themes cannot turn on app embeds yet, so add it to the theme code:
1. Create a snippet named genlook-tryon.liquid with exactly the code below, unchanged, and render it once in the product template.
2. Add a "Virtual Try-On" button to the product page, right above Add to cart. Style it like my theme's secondary button, full width. Give the button the class genlook-custom-button, and make a click call window.Genlook.cabin.open(). Translate the label into my store's languages.
3. Do not change anything else.
```liquid
<script>
window.Genlook = window.Genlook || {};
window.Genlook.cabin = window.Genlook.cabin || { open: function (p, o) { window.Genlook.cabin._pending = [p, o]; } };
</script>
<script type="application/json" id="genlook-store-config">
{"platform":"shopify","storeId":{{ shop.permanent_domain | json }},"locale":{{ request.locale.iso_code | json }},"localeExplicit":{% if localization.available_languages.size > 1 %}true{% else %}false{% endif %}}
</script>
{% if product and product.id != null %}
<script type="application/json" id="genlook-page-product">
{"id":{{ product.id | append: '' | json }},"title":{{ product.title | json }},"url":{{ product.url | json }},"featured_image":{{ product.featured_image.src | json }},"variants":[{%- for variant in product.variants -%}{"id":{{ variant.id | json }},"featured_image":{{ variant.featured_image.src | json }}}{% unless forloop.last %},{% endunless %}{%- endfor -%}]}
</script>
{% endif %}
<script type="application/json" id="genlook-page-context">
{"pageType":{{ template.name | json }},"productId":{{ product.id | json }},"collectionId":{{ collection.id | json }}}
</script>
<script type="application/json" id="genlook-customer-context">
{"customerId":{{ customer.id | json }},"loginUrl":{{ routes.account_login_url | json }},"returnUrl":{{ request.path | append: '?genlook_open=1' | json }},"realtimeReturnUrl":{{ request.path | append: '?genlook_open=realtime' | json }}}
</script>
<script async src="https://cdn.genlook.app/v1/shopify/boot.js"></script>
```