

<div {% render 'section-attr' %}>
  {% render 'section-bg-image' %}
  <xo-container
    {% render 'section-layout' %}
  >
    <xo-animate>
      <div class='lookbook-v5'>
        <div class='lookbook-v5__heading' style='text-align: {{ section.settings.align }}'>
          <div class='lookbook-v5__subheader'>
            <p>{{ section.settings.subheader }}</p>
          </div>
          <h3 class='lookbook-v5__title'>{{ section.settings.header }}</h3>
        </div>
        <div class='lookbook-v5__item'>
          {% render 'hotspot-style-2',
            hotspot_image: section.settings.hotspot_image,
            media_aspect_ratio: section.settings.media_aspect_ratio,
            custom_ratio: section.settings.custom_ratio
          %}
        </div>
      </div>
    </xo-animate>
  </xo-container>
</div>

{% schema %}
{
  "name": "t:sections.lookbook_v1.name",
  "tag": "section",
  "class": "section",
  "settings": [
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.container.content"
    },
    {
      "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": "header",
      "content": "t:sections.lookbook_v1.settings.title.content"
    },
    {
      "type": "text",
      "id": "header",
      "label": "t:sections.lookbook_v1.settings.header.label",
      "default": "Hand-picked"
    },
    {
      "type": "text",
      "id": "subheader",
      "label": "t:sections.lookbook_v1.settings.subheader.label",
      "default": "Subheading"
    },
    {
      "type": "select",
      "id": "align",
      "label": "t:sections.lookbook_v1.settings.align.label",
      "default": "center",
      "options": [
        {
          "label": "t:sections.lookbook_v1.settings.align.option_1.label",
          "value": "left"
        },
        {
          "label": "t:sections.lookbook_v1.settings.align.option_2.label",
          "value": "center"
        },
        {
          "label": "t:sections.lookbook_v1.settings.align.option_3.label",
          "value": "right"
        }
      ]
    },
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.lookbook__action.content"
    },
    {
      "type": "select",
      "id": "trigger_type",
      "label": "t:sections.lookbook_v1.settings.effect.label",
      "default": "hover",
      "options": [
        {
          "label": "t:sections.lookbook_v1.settings.effect.option_1.label",
          "value": "hover"
        },
        {
          "label": "t:sections.lookbook_v1.settings.effect.option_2.label",
          "value": "click"
        }
      ]
    },
    {
      "type": "select",
      "id": "open_as",
      "label": "t:sections.lookbook_v1.settings.open_as.label",
      "default": "popup",
      "info": "t:sections.lookbook_v1.settings.open_as.info",
      "options": [
        {
          "label": "t:sections.lookbook_v1.settings.open_as.option_1.label",
          "value": "popup"
        },
        {
          "label": "t:sections.lookbook_v1.settings.open_as.option_2.label",
          "value": "quickview"
        }
      ]
    },
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.lookbook_settings2.content"
    },
    {
      "type": "select",
      "id": "dot_style",
      "label": "t:sections.lookbook_v1.settings.dot_style.label",
      "default": "simple",
      "options": [
        {
          "label": "t:sections.lookbook_v1.settings.dot_style.option_1.label",
          "value": "simple"
        },
        {
          "label": "t:sections.lookbook_v1.settings.dot_style.option_2.label",
          "value": "plus"
        },
        {
          "label": "t:sections.lookbook_v1.settings.dot_style.option_3.label",
          "value": "number"
        }
      ]
    },
    {
      "type": "select",
      "id": "button_style",
      "label": "t:sections.lookbook_v1.settings.button_style.label",
      "default": "dark",
      "options": [
        {
          "value": "dark",
          "label": "t:sections.lookbook_v1.settings.button_style.option_1.label"
        },
        {
          "value": "light",
          "label": "t:sections.lookbook_v1.settings.button_style.option_2.label"
        },
        {
          "value": "color",
          "label": "t:sections.lookbook_v1.settings.button_style.option_3.label"
        }
      ]
    },
    {
      "type": "checkbox",
      "id": "custom_ratio",
      "label": "t:sections.lookbook_v1.settings.custom_aspect_ratio.label",
      "default": false
    },
    {
      "type": "text",
      "id": "custom_ratio_text",
      "label": "t:sections.lookbook_v1.settings.aspect_ratio_text.label",
      "default": "21/9"
    },
    {
      "type": "image_picker",
      "id": "hotspot_image",
      "label": "t:sections.lookbook_v1.settings.hotspot_image.label",
      "info": "523 x 414px recommended"
    },
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.header_1.content"
    },
    {
      "type": "range",
      "id": "top_1",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.top_1.label",
      "default": 20
    },
    {
      "type": "range",
      "id": "left_1",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.left_1.label",
      "default": 20
    },
    {
      "type": "product",
      "id": "product_1",
      "label": "t:sections.lookbook_v1.settings.product_1.label",
      "info": "Choose a product, when you click to the hotspot, it will be shown"
    },
    {
      "type": "select",
      "id": "placement_1",
      "label": "t:sections.lookbook_v1.settings.placement_1.label",
      "info": "t:sections.lookbook_v1.settings.placement_1.info",
      "options": [
        {
          "value": "top-right",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_1.label"
        },
        {
          "value": "top-center",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_2.label"
        },
        {
          "value": "top-left",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_3.label"
        },
        {
          "value": "bottom-right",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_4.label"
        },
        {
          "value": "bottom-center",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_5.label"
        },
        {
          "value": "bottom-left",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_6.label"
        },
        {
          "value": "right-top",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_7.label"
        },
        {
          "value": "right-center",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_8.label"
        },
        {
          "value": "right-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_9.label"
        },
        {
          "value": "left-top",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_10.label"
        },
        {
          "value": "left-center",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_11.label"
        },
        {
          "value": "left-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_1.option_12.label"
        }
      ],
      "default": "right-center"
    },
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.header_2.content"
    },
    {
      "type": "range",
      "id": "top_2",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.top_2.label",
      "default": 20
    },
    {
      "type": "range",
      "id": "left_2",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.left_2.label",
      "default": 20
    },
    {
      "type": "product",
      "id": "product_2",
      "label": "t:sections.lookbook_v1.settings.product_2.label",
      "info": "Choose a product, when you click to the hotspot, it will be shown"
    },
    {
      "type": "select",
      "id": "placement_2",
      "label": "t:sections.lookbook_v1.settings.placement_2.label",
      "info": "The hotspot content placement depends on the hotspot location",
      "options": [
        {
          "value": "top-right",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_1.label"
        },
        {
          "value": "top-center",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_2.label"
        },
        {
          "value": "top-left",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_3.label"
        },
        {
          "value": "bottom-right",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_4.label"
        },
        {
          "value": "bottom-center",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_5.label"
        },
        {
          "value": "bottom-left",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_6.label"
        },
        {
          "value": "right-top",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_7.label"
        },
        {
          "value": "right-center",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_8.label"
        },
        {
          "value": "right-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_9.label"
        },
        {
          "value": "left-top",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_10.label"
        },
        {
          "value": "left-center",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_11.label"
        },
        {
          "value": "left-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_2.option_12.label"
        }
      ],
      "default": "right-center"
    },
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.header_3.content"
    },
    {
      "type": "range",
      "id": "top_3",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.top_3.label",
      "default": 20
    },
    {
      "type": "range",
      "id": "left_3",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.left_3.label",
      "default": 60
    },
    {
      "type": "product",
      "id": "product_3",
      "label": "t:sections.lookbook_v1.settings.product_3.label",
      "info": "Choose a product, when you click to the hotspot, it will be shown"
    },
    {
      "type": "select",
      "id": "placement_3",
      "label": "t:sections.lookbook_v1.settings.placement_3.label",
      "info": "The hotspot content placement depends on the hotspot location",
      "options": [
        {
          "value": "top-right",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_1.label"
        },
        {
          "value": "top-center",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_2.label"
        },
        {
          "value": "top-left",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_3.label"
        },
        {
          "value": "bottom-right",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_4.label"
        },
        {
          "value": "bottom-center",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_5.label"
        },
        {
          "value": "bottom-left",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_6.label"
        },
        {
          "value": "right-top",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_7.label"
        },
        {
          "value": "right-center",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_8.label"
        },
        {
          "value": "right-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_9.label"
        },
        {
          "value": "left-top",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_10.label"
        },
        {
          "value": "left-center",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_11.label"
        },
        {
          "value": "left-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_3.option_12.label"
        }
      ],
      "default": "right-center"
    },
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.header_4.content"
    },
    {
      "type": "range",
      "id": "top_4",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.top_4.label",
      "default": 40
    },
    {
      "type": "range",
      "id": "left_4",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.left_4.label",
      "default": 40
    },
    {
      "type": "product",
      "id": "product_4",
      "label": "t:sections.lookbook_v1.settings.product_4.label",
      "info": "Choose a product, when you click to the hotspot, it will be shown"
    },
    {
      "type": "select",
      "id": "placement_4",
      "label": "t:sections.lookbook_v1.settings.placement_4.label",
      "info": "The hotspot content placement depends on the hotspot location",
      "options": [
        {
          "value": "top-right",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_1.label"
        },
        {
          "value": "top-center",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_2.label"
        },
        {
          "value": "top-left",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_3.label"
        },
        {
          "value": "bottom-right",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_4.label"
        },
        {
          "value": "bottom-center",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_5.label"
        },
        {
          "value": "bottom-left",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_6.label"
        },
        {
          "value": "right-top",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_7.label"
        },
        {
          "value": "right-center",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_8.label"
        },
        {
          "value": "right-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_9.label"
        },
        {
          "value": "left-top",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_10.label"
        },
        {
          "value": "left-center",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_11.label"
        },
        {
          "value": "left-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_4.option_12.label"
        }
      ],
      "default": "right-center"
    },
    {
      "type": "header",
      "content": "t:sections.lookbook_v1.settings.header_5.content"
    },
    {
      "type": "range",
      "id": "top_5",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.top_5.label",
      "default": 60
    },
    {
      "type": "range",
      "id": "left_5",
      "unit": "%",
      "min": 1,
      "max": 100,
      "step": 1,
      "label": "t:sections.lookbook_v1.settings.left_5.label",
      "default": 60
    },
    {
      "type": "product",
      "id": "product_5",
      "label": "t:sections.lookbook_v1.settings.product_5.label",
      "info": "Choose a product, when you click to the hotspot, it will be shown"
    },
    {
      "type": "select",
      "id": "placement_5",
      "label": "t:sections.lookbook_v1.settings.placement_5.label",
      "info": "The hotspot content placement depends on the hotspot location",
      "options": [
        {
          "value": "top-right",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_1.label"
        },
        {
          "value": "top-center",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_2.label"
        },
        {
          "value": "top-left",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_3.label"
        },
        {
          "value": "bottom-right",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_4.label"
        },
        {
          "value": "bottom-center",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_5.label"
        },
        {
          "value": "bottom-left",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_6.label"
        },
        {
          "value": "right-top",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_7.label"
        },
        {
          "value": "right-center",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_8.label"
        },
        {
          "value": "right-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_9.label"
        },
        {
          "value": "left-top",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_10.label"
        },
        {
          "value": "left-center",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_11.label"
        },
        {
          "value": "left-bottom",
          "label": "t:sections.lookbook_v1.settings.placement_5.option_12.label"
        }
      ],
      "default": "right-center"
    },
    {
      "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
    }
  ],
  "presets": [
    {
      "name": "t:sections.lookbook_v1.presets.name",
      "category": "Text"
    }
  ]
}
{% endschema %}
