

{% comment %} Add padding bottom for toolbar mobile {% endcomment %}
{% liquid
  assign placeholder = 'newsletter.email' | t
  assign template = template | split: '.' | first
  if template != 'product'
    assign pb_mobile = ''
  else
    assign pb_mobile = ''
  endif

  assign blocks = section.blocks
%}

{% comment %} Sticky add cart is hidden when reach here {% endcomment %}
<xo-sticky-hidden xo-name='sticky-addcart'></xo-sticky-hidden>
<footer {% render 'section-attr', style: pb_mobile %}>
  {% render 'section-bg-image' %}
  <xo-container {% render 'section-layout' %}>
    <div class='footer-v42__top'>
      <xo-grid>
        {%- for block in blocks -%}
          {%- case block.type -%}
            {%- when 'menu' -%}
              {%- liquid
                assign heading = block.settings.heading
                assign menu = block.settings.menu
              -%}
              <div style='--xs: 12; --md: 6;  --lg: 2' class='footer-v42__menu'>
                {%- capture heading_content -%}
                <h2 class="footer-v42__heading">{{ heading }}</h2>
              {%- endcapture -%}
                {%- capture menu_content -%}
                <ul role='list' class='footer-v42__menu-list list-unstyled'>
                  {%- for link in menu.links -%}
                    <li class='footer-v42__list-item'>
                      <a
                        href='{{ link.url }}'
                      >
                        {{ link.title | escape }}
                      </a>
                    </li>
                  {%- endfor -%}
                </ul>
              {%- endcapture -%}
                {%- if heading != blank -%}
                  {%- render 'animation', cascade: true, content: heading_content -%}
                {%- endif -%}
                {%- if menu != blank -%}
                  {%- render 'animation', content: menu_content, cascade: true -%}
                {%- endif -%}
              </div>
            {%- when 'contact' -%}
              {%- liquid
                assign heading = block.settings.heading
                assign address = block.settings.address
                assign email = block.settings.email
                assign phone_title = block.settings.phone_title
                assign phone = block.settings.phone
              -%}
              <div style='--xs:12;--md:6;--lg:2'>
                {%- capture heading_content -%}
                  <h2 class="footer-v42__heading">{{ heading }}</h2>
                {%- endcapture -%}
                {%- capture information -%}
                  {%- if address != blank -%}
                    <div class="footer-v42__info-text">{{ address }}</div>
                  {%- endif -%}
                  {%- if email != blank -%}
                    <div class="footer-v42__info-text">{{ email }}</div>
                  {%- endif -%}
                {%- endcapture -%}
                {%- capture info_phone -%}
                  {%- if phone_title != blank -%}
                    <h4 class="footer-v42__title">{{ phone_title }}</h4>
                  {%- endif -%}
                  {%- if phone != blank -%}
                    <div class="footer-v42__info-text">{{ phone }}</div>
                  {%- endif -%}
                {%- endcapture -%}
                {%- render 'animation', cascade: true, content: heading_content -%}
                {%- render 'animation', cascade: true, content: information -%}
                {%- render 'animation', cascade: true, content: info_phone -%}
              </div>

            {%- else -%}
              {%- liquid
                assign heading = block.settings.heading
                assign subtext = block.settings.subtext
                assign newsletter_enable = block.settings.newsletter_enable
              -%}
              <div style='--xs: 12; --md: 6; --lg: 4'>
                {%- capture heading_content -%}
                  <h2 class='footer-v42__heading'>{{ heading }}</h2>
                {%- endcapture -%}
                {%- capture subtext_content -%}
                  {{ subtext }}
                {%- endcapture -%}
                {%- capture email_content -%}
                  {%- form 'customer', id: 'ContactFooter', class: 'footer-v42__form' -%}
                    <input type='hidden' name='contact[tags]' value='newsletter'>
                    <div class='footer-v42__input-btn' style='--buttons-radius: {{ block.settings.button_radius }}rem'>
                      {% assign value = form.email %}
                      {% capture attr %}
                            aria-required='true'
                            autocorrect='off'
                            {% if form.errors %}
                              autofocus
                              aria-invalid='true'
                              aria-describedby='ContactFooter-error'
                            {% elsif form.posted_successfully? %}
                              aria-describedby='ContactFooter-success'
                            {% endif %}
                            required
                          {% endcapture %}
                      {% render 'field-input', type: 'email', name: 'contact[email]', value: value, label: placeholder, attr: attr %}
                        <button
                          type='submit'
                          class='footer-v42__email-button'
                          name='commit'
                          id='Subscribe'
                          aria-label='{{ 'newsletter.button_label' | t }}'
                        >
                          <span class='footer-v42__text-before'>
                            Subscribe
                          </span>
                          <span class='footer-v42__text-after'>
                            Subscribe
                          </span>
                        </button>
                    </div>
                    {% render 'newsletter-form-message', form: form %}
                  {%- endform -%}
                {%- endcapture -%}
                {%- render 'animation', cascade: true, content: heading_content -%}
                {%- render 'animation', class: 'footer-v42__subtext', cascade: true, content: subtext_content -%}
                {%- if newsletter_enable -%}
                  {%- render 'animation', cascade: true, content: email_content -%}
                {%- endif -%}
              </div>
          {%- endcase -%}
        {%- endfor -%}
      </xo-grid>
    </div>
    <div class='footer-v42__logo'>
      {%- capture logo_content -%}
        {%- render 'image', image: section.settings.logo -%}
      {%- endcapture -%}
      {%- capture animation_style -%}
        --width: {{ section.settings.logo_width }}px;
      {%- endcapture -%}
      {%- render 'animation', class: 'footer-v42__img-logo', style: animation_style, cascade: true, content: logo_content -%}
    </div>
    <xo-grid style='--xs:1; --lg:3' class='footer-v42__bottom'>
      {%- liquid
        assign copyright = section.settings.copyright
        assign image_payment = section.settings.image_payment
        assign payment_width = section.settings.payment_width

        assign social_icon1 = section.settings.social_icon1
        assign social_link1 = section.settings.social_link1
        assign social_icon2 = section.settings.social_icon2
        assign social_link2 = section.settings.social_link2
        assign social_icon3 = section.settings.social_icon3
        assign social_link3 = section.settings.social_link3
        assign social_icon4 = section.settings.social_icon4
        assign social_link4 = section.settings.social_link4
      -%}
      <div class='flex ai-center'>
        <div class='footer-v42__copyright '>
          {% if copyright != blank %}
            {{- copyright -}}
          {% else %}
            <small class='footer-v42__copyright-content'>&copy; Copyright {{ 'now' | date: '%Y' }} | {{ shop.name | escape | link_to: routes.root_url -}}</small>
            <small class='footer-v42__copyright-content'> By <a class='footer-v42__copyright-shopilaunch' href='https://shopilaunch.com/'> ShopiLaunch.</a> </small>
            <small class='footer-v42__copyright-content footer-v42__copyright-content--black'>{{ powered_by_link }}.</small>
          {% endif %}
        </div>
      </div>

      <div class='footer-v42__payment flex ai-center'>
        <div class='footer-v42__payment-img' style='--width: {{ payment_width }}px;'>
          {%- render 'image', image: image_payment -%}
        </div>
      </div>
      <ul role='list' class='footer-v42__social flex ai-center'>
        <li>
          <a href='{{ social_link1 }}' class='footer-v42__social-link' target='_blank'>{{ social_icon1 }}</a>
        </li>
        <li>
          <a href='{{ social_link2 }}' class='footer-v42__social-link' target='_blank'>{{ social_icon2 }}</a>
        </li>
        <li>
          <a href='{{ social_link3 }}' class='footer-v42__social-link' target='_blank'>{{ social_icon3 }}</a>
        </li>
        <li>
          <a href='{{ social_link4 }}' class='footer-v42__social-link' target='_blank'>{{ social_icon4 }}</a>
        </li>
      </ul>
    </xo-grid>
  </xo-container>
</footer>

{% schema %}
{
  "name": "t:sections.footer_v3.name",
  "class": "section-footer",
  "settings": [
    {
      "type": "select",
      "id": "width",
      "label": "t:sections.all.width.label",
      "default": "box",
      "options": [
        {
          "value": "box",
          "label": "t:sections.all.width.options__1.label"
        },
        {
          "value": "wide",
          "label": "t:sections.all.width.options__2.label"
        },
        {
          "value": "fullwidth",
          "label": "t:sections.all.width.options__3.label"
        }
      ]
    },
    {
      "type": "number",
      "id": "fullwidth_margin",
      "label": "t:sections.all.fullwidth_margin.label",
      "default": 0,
      "visible_if": "{{ section.settings.width == 'fullwidth' }}"
    },
    {
      "type": "image_picker",
      "id": "logo",
      "label": "t:sections.footer_v3.settings.logo.label",
      "info": "t:sections.footer_v3.settings.logo.info"
    },
    {
      "type": "range",
      "id": "logo_width",
      "min": 100,
      "max": 1000,
      "step": 10,
      "unit": "px",
      "label": "t:sections.footer_v3.settings.logo_width.label",
      "default": 500
    },
    {
      "type": "liquid",
      "id": "copyright",
      "label": "t:sections.footer_v3.settings.copyright.label",
      "default": " © Copyright {{ 'now' | date: '%Y' }} | <a href='http://engotheme.com' rel='nofollow' target='_blank' class='footer-v42__theme-name'>Engo-theme</a> By <a href='https://shopilaunch.com/' rel='nofollow' target='_blank' class='footer-v42__shop-name'> ShopiLaunch.</a><a href='https://shopify.pxf.io/9gPaY0' rel='nofollow' target='_blank' class='footer-v42__powered-shopify'> Powered by Shopify.</a>"
    },
    {
      "type": "image_picker",
      "id": "image_payment",
      "label": "t:sections.footer_v3.settings.image_payment.label",
      "info": "t:sections.footer_v3.settings.image_payment.info"
    },
    {
      "type": "range",
      "id": "payment_width",
      "min": 100,
      "max": 420,
      "step": 10,
      "unit": "px",
      "label": "t:sections.footer_v3.settings.payment_width.label",
      "default": 400
    },
    {
      "type": "html",
      "id": "social_icon1",
      "label": "t:sections.footer_v3.settings.social_icon1.label",
      "default": "<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewbox=\"0 0 150 150\" style=\"enable-background:new 0 0 150 150;\" height=\"1em\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\">\n  <g>\n   <path d=\"M131.95,12.84c-5.03,5.87-10.06,11.74-15.1,17.6c-9.93,11.54-19.88,23.07-29.81,34.6c-0.11,0.12-0.2,0.25-0.37,0.47\n     c16.38,23.8,32.77,47.61,49.27,71.57c-0.51,0.03-0.84,0.07-1.18,0.07c-11.35,0-22.7-0.01-34.06,0.02c-0.78,0-1.22-0.24-1.67-0.89\n     c-10.58-15.41-21.18-30.79-31.78-46.18c-0.25-0.36-0.51-0.71-0.82-1.14c-2.93,3.39-5.79,6.7-8.64,10.01\n     c-10.7,12.42-21.41,24.84-32.09,37.28c-0.59,0.68-1.18,0.94-2.07,0.92c-3.07-0.05-6.15-0.02-9.54-0.02\n     c15.95-18.51,31.74-36.82,47.57-55.19c-2.56-3.72-5.09-7.41-7.63-11.1C40.93,51.86,27.85,32.87,14.78,13.88\n     c-0.22-0.33-0.38-0.7-0.57-1.04c12.08,0,24.16,0,36.25,0c0.08,0.14,0.15,0.28,0.24,0.42c10.22,14.85,20.44,29.71,30.67,44.56\n     c0.13,0.19,0.29,0.36,0.5,0.6c0.35-0.38,0.66-0.68,0.94-1.01c11.76-13.64,23.51-27.27,35.26-40.92c1.02-1.18,1.96-2.43,2.94-3.64\n     C124.65,12.84,128.3,12.84,131.95,12.84z M121.13,129.4c-0.24-0.4-0.34-0.58-0.45-0.74C95.71,93.01,70.74,57.36,45.74,21.73\n     c-0.3-0.43-1.04-0.77-1.58-0.77c-4.78-0.06-9.57-0.04-14.35-0.03c-0.26,0-0.53,0.03-0.99,0.06c0.4,0.59,0.68,1.02,0.97,1.44\n     c8.98,12.82,17.97,25.65,26.95,38.47c15.78,22.53,31.57,45.06,47.33,67.61c0.48,0.68,0.97,0.93,1.78,0.92\n     c4.66-0.04,9.32-0.02,13.99-0.02C120.2,129.4,120.55,129.4,121.13,129.4\"></path>\n  </g>\n</svg>"
    },
    {
      "type": "url",
      "id": "social_link1",
      "label": "t:sections.footer_v3.settings.social_link1.label",
      "default": "/collections/all"
    },
    {
      "type": "html",
      "id": "social_icon2",
      "label": "t:sections.footer_v3.settings.social_icon2.label",
      "default": "<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewbox=\"0 0 150 150\" style=\"enable-background:new 0 0 150 150;\" height=\"1em\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\">\n  <g>\n   <path d=\"M131.95,12.84c-5.03,5.87-10.06,11.74-15.1,17.6c-9.93,11.54-19.88,23.07-29.81,34.6c-0.11,0.12-0.2,0.25-0.37,0.47\n     c16.38,23.8,32.77,47.61,49.27,71.57c-0.51,0.03-0.84,0.07-1.18,0.07c-11.35,0-22.7-0.01-34.06,0.02c-0.78,0-1.22-0.24-1.67-0.89\n     c-10.58-15.41-21.18-30.79-31.78-46.18c-0.25-0.36-0.51-0.71-0.82-1.14c-2.93,3.39-5.79,6.7-8.64,10.01\n     c-10.7,12.42-21.41,24.84-32.09,37.28c-0.59,0.68-1.18,0.94-2.07,0.92c-3.07-0.05-6.15-0.02-9.54-0.02\n     c15.95-18.51,31.74-36.82,47.57-55.19c-2.56-3.72-5.09-7.41-7.63-11.1C40.93,51.86,27.85,32.87,14.78,13.88\n     c-0.22-0.33-0.38-0.7-0.57-1.04c12.08,0,24.16,0,36.25,0c0.08,0.14,0.15,0.28,0.24,0.42c10.22,14.85,20.44,29.71,30.67,44.56\n     c0.13,0.19,0.29,0.36,0.5,0.6c0.35-0.38,0.66-0.68,0.94-1.01c11.76-13.64,23.51-27.27,35.26-40.92c1.02-1.18,1.96-2.43,2.94-3.64\n     C124.65,12.84,128.3,12.84,131.95,12.84z M121.13,129.4c-0.24-0.4-0.34-0.58-0.45-0.74C95.71,93.01,70.74,57.36,45.74,21.73\n     c-0.3-0.43-1.04-0.77-1.58-0.77c-4.78-0.06-9.57-0.04-14.35-0.03c-0.26,0-0.53,0.03-0.99,0.06c0.4,0.59,0.68,1.02,0.97,1.44\n     c8.98,12.82,17.97,25.65,26.95,38.47c15.78,22.53,31.57,45.06,47.33,67.61c0.48,0.68,0.97,0.93,1.78,0.92\n     c4.66-0.04,9.32-0.02,13.99-0.02C120.2,129.4,120.55,129.4,121.13,129.4\"></path>\n  </g>\n</svg>"
    },
    {
      "type": "url",
      "id": "social_link2",
      "label": "t:sections.footer_v3.settings.social_link2.label",
      "default": "/collections/all"
    },
    {
      "type": "html",
      "id": "social_icon3",
      "label": "t:sections.footer_v3.settings.social_icon3.label",
      "default": "<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewbox=\"0 0 150 150\" style=\"enable-background:new 0 0 150 150;\" height=\"1em\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\">\n  <g>\n   <path d=\"M131.95,12.84c-5.03,5.87-10.06,11.74-15.1,17.6c-9.93,11.54-19.88,23.07-29.81,34.6c-0.11,0.12-0.2,0.25-0.37,0.47\n     c16.38,23.8,32.77,47.61,49.27,71.57c-0.51,0.03-0.84,0.07-1.18,0.07c-11.35,0-22.7-0.01-34.06,0.02c-0.78,0-1.22-0.24-1.67-0.89\n     c-10.58-15.41-21.18-30.79-31.78-46.18c-0.25-0.36-0.51-0.71-0.82-1.14c-2.93,3.39-5.79,6.7-8.64,10.01\n     c-10.7,12.42-21.41,24.84-32.09,37.28c-0.59,0.68-1.18,0.94-2.07,0.92c-3.07-0.05-6.15-0.02-9.54-0.02\n     c15.95-18.51,31.74-36.82,47.57-55.19c-2.56-3.72-5.09-7.41-7.63-11.1C40.93,51.86,27.85,32.87,14.78,13.88\n     c-0.22-0.33-0.38-0.7-0.57-1.04c12.08,0,24.16,0,36.25,0c0.08,0.14,0.15,0.28,0.24,0.42c10.22,14.85,20.44,29.71,30.67,44.56\n     c0.13,0.19,0.29,0.36,0.5,0.6c0.35-0.38,0.66-0.68,0.94-1.01c11.76-13.64,23.51-27.27,35.26-40.92c1.02-1.18,1.96-2.43,2.94-3.64\n     C124.65,12.84,128.3,12.84,131.95,12.84z M121.13,129.4c-0.24-0.4-0.34-0.58-0.45-0.74C95.71,93.01,70.74,57.36,45.74,21.73\n     c-0.3-0.43-1.04-0.77-1.58-0.77c-4.78-0.06-9.57-0.04-14.35-0.03c-0.26,0-0.53,0.03-0.99,0.06c0.4,0.59,0.68,1.02,0.97,1.44\n     c8.98,12.82,17.97,25.65,26.95,38.47c15.78,22.53,31.57,45.06,47.33,67.61c0.48,0.68,0.97,0.93,1.78,0.92\n     c4.66-0.04,9.32-0.02,13.99-0.02C120.2,129.4,120.55,129.4,121.13,129.4\"></path>\n  </g>\n</svg>"
    },
    {
      "type": "url",
      "id": "social_link3",
      "label": "t:sections.footer_v3.settings.social_link3.label",
      "default": "/collections/all"
    },
    {
      "type": "html",
      "id": "social_icon4",
      "label": "t:sections.footer_v3.settings.social_icon4.label",
      "default": "<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewbox=\"0 0 150 150\" style=\"enable-background:new 0 0 150 150;\" height=\"1em\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\">\n  <g>\n   <path d=\"M131.95,12.84c-5.03,5.87-10.06,11.74-15.1,17.6c-9.93,11.54-19.88,23.07-29.81,34.6c-0.11,0.12-0.2,0.25-0.37,0.47\n     c16.38,23.8,32.77,47.61,49.27,71.57c-0.51,0.03-0.84,0.07-1.18,0.07c-11.35,0-22.7-0.01-34.06,0.02c-0.78,0-1.22-0.24-1.67-0.89\n     c-10.58-15.41-21.18-30.79-31.78-46.18c-0.25-0.36-0.51-0.71-0.82-1.14c-2.93,3.39-5.79,6.7-8.64,10.01\n     c-10.7,12.42-21.41,24.84-32.09,37.28c-0.59,0.68-1.18,0.94-2.07,0.92c-3.07-0.05-6.15-0.02-9.54-0.02\n     c15.95-18.51,31.74-36.82,47.57-55.19c-2.56-3.72-5.09-7.41-7.63-11.1C40.93,51.86,27.85,32.87,14.78,13.88\n     c-0.22-0.33-0.38-0.7-0.57-1.04c12.08,0,24.16,0,36.25,0c0.08,0.14,0.15,0.28,0.24,0.42c10.22,14.85,20.44,29.71,30.67,44.56\n     c0.13,0.19,0.29,0.36,0.5,0.6c0.35-0.38,0.66-0.68,0.94-1.01c11.76-13.64,23.51-27.27,35.26-40.92c1.02-1.18,1.96-2.43,2.94-3.64\n     C124.65,12.84,128.3,12.84,131.95,12.84z M121.13,129.4c-0.24-0.4-0.34-0.58-0.45-0.74C95.71,93.01,70.74,57.36,45.74,21.73\n     c-0.3-0.43-1.04-0.77-1.58-0.77c-4.78-0.06-9.57-0.04-14.35-0.03c-0.26,0-0.53,0.03-0.99,0.06c0.4,0.59,0.68,1.02,0.97,1.44\n     c8.98,12.82,17.97,25.65,26.95,38.47c15.78,22.53,31.57,45.06,47.33,67.61c0.48,0.68,0.97,0.93,1.78,0.92\n     c4.66-0.04,9.32-0.02,13.99-0.02C120.2,129.4,120.55,129.4,121.13,129.4\"></path>\n  </g>\n</svg>"
    },
    {
      "type": "url",
      "id": "social_link4",
      "label": "t:sections.footer_v3.settings.social_link4.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.heading.content"
    },
    {
      "type": "color_scheme",
      "id": "color_scheme",
      "label": "t:sections.all.color_scheme.label"
    },
    {
      "type": "select",
      "id": "background_type",
      "label": "t:sections.all.background_type.label",
      "options": [
        {
          "value": "color",
          "label": "t:sections.all.background_type.option__1.label"
        },
        {
          "value": "gradient",
          "label": "t:sections.all.background_type.option__2.label"
        },
        {
          "value": "image",
          "label": "t:sections.all.background_type.option__3.label"
        },
        {
          "value": "video",
          "label": "t:sections.all.background_type.option__4.label"
        }
      ],
      "default": "color"
    },
    {
      "type": "color",
      "id": "background_color",
      "label": "t:sections.all.background_color.label",
      "alpha": true,
      "visible_if": "{{ section.settings.background_type == 'color' }}"
    },
    {
      "type": "color_background",
      "id": "background_gradient",
      "label": "t:sections.all.background_gradient.label",
      "visible_if": "{{ section.settings.background_type == 'gradient' }}"
    },
    {
      "type": "image_picker",
      "id": "background_image_desktop",
      "label": "t:sections.all.background_image_desktop.label",
      "visible_if": "{{ section.settings.background_type == 'image' }}"
    },
    {
      "type": "image_picker",
      "id": "background_image_mobile",
      "label": "t:sections.all.background_image_mobile.label",
      "visible_if": "{{ section.settings.background_type == 'image' }}"
    },
    {
      "type": "checkbox",
      "id": "use_parallax",
      "label": "t:sections.all.use_parallax.label",
      "default": true,
      "visible_if": "{{ section.settings.background_type == 'image' }}"
    },
    {
      "type": "select",
      "id": "background_image_animation",
      "label": "t:sections.all.animation.label",
      "options": [
        {
          "value": "none",
          "label": "t:sections.all.animation.option__0.label"
        },
        {
          "value": "fade",
          "label": "t:sections.all.animation.option__1.label"
        },
        {
          "value": "fade-up",
          "label": "t:sections.all.animation.option__2.label"
        },
        {
          "value": "fade-down",
          "label": "t:sections.all.animation.option__3.label"
        },
        {
          "value": "fade-left",
          "label": "t:sections.all.animation.option__4.label"
        },
        {
          "value": "fade-right",
          "label": "t:sections.all.animation.option__5.label"
        },
        {
          "value": "zoom-in",
          "label": "t:sections.all.animation.option__6.label"
        },
        {
          "value": "zoom-out",
          "label": "t:sections.all.animation.option__7.label"
        },
        {
          "value": "rotate-left-up",
          "label": "t:sections.all.animation.option__8.label"
        },
        {
          "value": "rotate-right-up",
          "label": "t:sections.all.animation.option__9.label"
        },
        {
          "value": "snake-up",
          "label": "t:sections.all.animation.option__10.label"
        },
        {
          "value": "snake-down",
          "label": "t:sections.all.animation.option__11.label"
        },
        {
          "value": "snake-left",
          "label": "t:sections.all.animation.option__12.label"
        },
        {
          "value": "snake-right",
          "label": "t:sections.all.animation.option__13.label"
        },
        {
          "value": "3d-up",
          "label": "t:sections.all.animation.option__14.label"
        }
      ],
      "default": "none",
      "visible_if": "{{ section.settings.background_type == 'image' }}"
    },
    {
      "type": "textarea",
      "id": "background_video_url",
      "label": "t:sections.all.background_video_url.label",
      "visible_if": "{{ section.settings.background_type == 'video' }}"
    },
    {
      "type": "select",
      "id": "background_video_animation",
      "label": "t:sections.all.animation.label",
      "options": [
        {
          "value": "none",
          "label": "t:sections.all.animation.option__0.label"
        },
        {
          "value": "fade",
          "label": "t:sections.all.animation.option__1.label"
        },
        {
          "value": "fade-up",
          "label": "t:sections.all.animation.option__2.label"
        },
        {
          "value": "fade-down",
          "label": "t:sections.all.animation.option__3.label"
        },
        {
          "value": "fade-left",
          "label": "t:sections.all.animation.option__4.label"
        },
        {
          "value": "fade-right",
          "label": "t:sections.all.animation.option__5.label"
        },
        {
          "value": "zoom-in",
          "label": "t:sections.all.animation.option__6.label"
        },
        {
          "value": "zoom-out",
          "label": "t:sections.all.animation.option__7.label"
        },
        {
          "value": "rotate-left-up",
          "label": "t:sections.all.animation.option__8.label"
        },
        {
          "value": "rotate-right-up",
          "label": "t:sections.all.animation.option__9.label"
        },
        {
          "value": "snake-up",
          "label": "t:sections.all.animation.option__10.label"
        },
        {
          "value": "snake-down",
          "label": "t:sections.all.animation.option__11.label"
        },
        {
          "value": "snake-left",
          "label": "t:sections.all.animation.option__12.label"
        },
        {
          "value": "snake-right",
          "label": "t:sections.all.animation.option__13.label"
        },
        {
          "value": "3d-up",
          "label": "t:sections.all.animation.option__14.label"
        }
      ],
      "default": "none",
      "visible_if": "{{ section.settings.background_type == 'video' }}"
    },
    {
      "type": "color",
      "id": "background_overlay",
      "label": "t:sections.all.background_overlay.label",
      "alpha": true,
      "visible_if": "{{ section.settings.background_type == 'image' or section.settings.background_type == 'video' }}"
    },
    {
      "type": "number",
      "id": "background_margin",
      "label": "t:sections.all.background_margin.label",
      "default": 0
    },
    {
      "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
    }
  ],
  "blocks": [
    {
      "type": "menu",
      "name": "t:sections.footer_v3.blocks.menu.name",
      "settings": [
        {
          "type": "text",
          "id": "heading",
          "default": "Quick infor",
          "label": "t:sections.footer_v3.blocks.menu.settings.heading.label"
        },
        {
          "type": "link_list",
          "id": "menu",
          "label": "t:sections.footer_v3.blocks.menu.settings.menu.label"
        }
      ]
    },
    {
      "type": "contact",
      "name": "t:sections.footer_v3.blocks.contact.name",
      "settings": [
        {
          "type": "text",
          "id": "heading",
          "default": "Quick infor",
          "label": "t:sections.footer_v3.blocks.contact.settings.heading.label"
        },
        {
          "type": "text",
          "id": "address",
          "default": "1234 Heaven Stress, USA.",
          "label": "t:sections.footer_v3.blocks.contact.settings.address.label",
          "info": "t:sections.footer_v3.blocks.contact.settings.info"
        },
        {
          "type": "text",
          "id": "email",
          "default": "Hello@domain.com",
          "label": "t:sections.footer_v3.blocks.contact.settings.email.label",
          "info": "t:sections.footer_v3.blocks.contact.settings.info"
        },
        {
          "type": "text",
          "id": "phone_title",
          "default": "Title",
          "label": "t:sections.footer_v3.blocks.contact.settings.phone_title.label"
        },
        {
          "type": "text",
          "id": "phone",
          "default": "(+84) 1800 68 68",
          "label": "t:sections.footer_v3.blocks.contact.settings.phone.label",
          "info": "t:sections.footer_v3.blocks.contact.settings.info"
        }
      ]
    },
    {
      "type": "text",
      "name": "t:sections.footer_v3.blocks.text.name",
      "settings": [
        {
          "type": "text",
          "id": "heading",
          "default": "Heading",
          "label": "t:sections.footer_v3.blocks.text.settings.heading.label"
        },
        {
          "type": "text",
          "id": "subtext",
          "default": "<p>Share contact information, store details, and brand content with your customers.</p>",
          "label": "t:sections.footer_v3.blocks.text.settings.subtext.label"
        },
        {
          "type": "checkbox",
          "id": "newsletter_enable",
          "default": true,
          "label": "t:sections.footer_v3.blocks.text.settings.newsletter_enable.label"
        },
        {
          "type": "range",
          "id": "button_radius",
          "label": "t:sections.footer_v3.blocks.text.settings.button_radius.label",
          "max": 4,
          "min": 0,
          "step": 0.2,
          "unit": "rem",
          "default": 0
        }
      ]
    }
  ],
  "default": {
    "blocks": [
      {
        "type": "menu"
      },
      {
        "type": "contact"
      },
      {
        "type": "text"
      }
    ]
  }
}
{% endschema %}
