{{ 'section-main-wishlist.css' | asset_url | stylesheet_tag }}

{% capture continue_shopping %}
  {% render 'cart-continue-shopping' %}
{% endcapture %}

<section {% render 'section-attr' %}>
  <div class='main-wishlist'>
    <xo-container>
      <div class='main-wishlist__inner'>
        <div class='main-wishlist__list'>
          {% render 'wishlist-table' %}
        </div>
        <div class='main-wishlist__empty'>
          {%- assign title = 'sections.wishlist.empty' | t -%}
          {% render 'empty', title: title, icon_size: '14rem', content: continue_shopping %}
        </div>
      </div>
    </xo-container>
  </div>
</section>
{% schema %}
{
  "name": "t:sections.main_wishlist.name",
  "settings": [
    {
      "type": "header",
      "content": "t:sections.all.heading.content"
    },
    {
      "type": "color_scheme",
      "id": "color_scheme",
      "label": "t:sections.all.color_scheme.label"
    },
    {
      "type": "color",
      "id": "background_color",
      "label": "t:sections.all.bg_color.label"
    },
    {
      "type": "color_background",
      "id": "background_gradient",
      "label": "t:sections.all.bg_gradient.label"
    },
    {
      "type": "number",
      "id": "padding_top",
      "label": "t:sections.all.padding_top.label",
      "default": 50
    },
    {
      "type": "number",
      "id": "padding_bottom",
      "label": "t:sections.all.padding_bottom.label",
      "default": 50
    }
  ]
}
{% endschema %}
