{{ 'section-banner-v16.css' | asset_url | stylesheet_tag }}

<div {% render 'section-attr' %}>
  {% render 'section-bg-image' %}
  <xo-container {% render 'section-layout' %}>
    <xo-animate xo-cascade class='banner-v267' style='--gap: {{ section.settings.gap }}px'>
      <div class='banner-v267__item'>
        <a href='{{ section.settings.link1 }}' class='banner-v267__image'>{% render 'image', image: section.settings.image1 %}</a>
        <h3 class='banner-v267__title-side'>{{ section.settings.title1 }}</h3>
        <div class='banner-v267__content'>
          <h3 class='banner-v267__title'>{{ section.settings.title1 }}</h3>
          <div class='banner-v267__description'>{{ section.settings.description1 }}</div>
          {% render 'button',
            text: section.settings.button1_text,
            link: section.settings.link1,
            mode: section.settings.button1_mode,
            style: section.settings.button1_style,
            size: section.settings.button1_size,
            radius: section.settings.button1_radius,
            padding: section.settings.button1_padding
          %}
        </div>
      </div>
      <div class='banner-v267__item'>
        <a href='{{ section.settings.link2 }}' class='banner-v267__image'>{% render 'image', image: section.settings.image2 %}</a>
        <h3 class='banner-v267__title-side'>{{ section.settings.title2 }}</h3>
        <div class='banner-v267__content'>
          <h3 class='banner-v267__title'>{{ section.settings.title2 }}</h3>
          <div class='banner-v267__description'>{{ section.settings.description2 }}</div>
          {% render 'button',
            text: section.settings.button2_text,
            link: section.settings.link2,
            mode: section.settings.button2_mode,
            style: section.settings.button2_style,
            size: section.settings.button2_size,
            radius: section.settings.button2_radius,
            padding: section.settings.button2_padding
          %}
        </div>
      </div>
      <div class='banner-v267__item'>
        <a href='{{ section.settings.link3 }}' class='banner-v267__image'>{% render 'image', image: section.settings.image3 %}</a>
        <h3 class='banner-v267__title-side'>{{ section.settings.title3 }}</h3>
        <div class='banner-v267__content'>
          <h3 class='banner-v267__title'>{{ section.settings.title3 }}</h3>
          <div class='banner-v267__description'>{{ section.settings.description3 }}</div>
          {% render 'button',
            text: section.settings.button3_text,
            link: section.settings.link3,
            mode: section.settings.button3_mode,
            style: section.settings.button3_style,
            size: section.settings.button3_size,
            radius: section.settings.button3_radius,
            padding: section.settings.button3_padding
          %}
        </div>
      </div>
      <div class='banner-v267__item'>
        <a href='{{ section.settings.link4 }}' class='banner-v267__image'>{% render 'image', image: section.settings.image4 %}</a>
        <h3 class='banner-v267__title-side'>{{ section.settings.title4 }}</h3>
        <div class='banner-v267__content'>
          <h3 class='banner-v267__title'>{{ section.settings.title4 }}</h3>
          <div class='banner-v267__description'>{{ section.settings.description4 }}</div>
          {% render 'button',
            text: section.settings.button4_text,
            link: section.settings.link4,
            mode: section.settings.button4_mode,
            style: section.settings.button4_style,
            size: section.settings.button4_size,
            radius: section.settings.button4_radius,
            padding: section.settings.button4_padding
          %}
        </div>
      </div>
    </xo-animate>
  </xo-container>
</div>

{% schema %}
{
  "name": "t:sections.banner_v16.name",
  "tag": "section",
  "class": "section",
  "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": "range",
      "id": "gap",
      "min": 0,
      "max": 100,
      "step": 1,
      "unit": "px",
      "label": "t:sections.banner_v16.settings.gap.label",
      "default": 0
    },
    {
      "type": "header",
      "content": "t:sections.banner_v16.settings.header.content1"
    },
    {
      "type": "text",
      "id": "title1",
      "label": "t:sections.banner_v16.settings.title.label",
      "default": "running wear"
    },
    {
      "type": "text",
      "id": "description1",
      "label": "t:sections.banner_v16.settings.description.label",
      "default": "We are dedicated to curating a wide range of<br> high-quality, stylish products",
      "info": "t:sections.banner_v16.settings.description.info"
    },
    {
      "type": "image_picker",
      "id": "image1",
      "label": "t:sections.banner_v16.settings.image.label",
      "info": "t:sections.banner_v16.settings.image.info"
    },
    {
      "type": "url",
      "id": "link1",
      "label": "t:sections.banner_v16.settings.link.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.button_heading.content"
    },
    {
      "type": "text",
      "id": "button1_text",
      "label": "t:sections.all.button_text.label",
      "default": "ALL PRODUCTS"
    },
    {
      "type": "select",
      "id": "button1_mode",
      "label": "t:sections.all.button_mode.label",
      "options": [
        {
          "value": "light",
          "label": "t:sections.all.button_mode.option__1.label"
        },
        {
          "value": "dark",
          "label": "t:sections.all.button_mode.option__2.label"
        },
        {
          "value": "accent",
          "label": "t:sections.all.button_mode.option__3.label"
        }
      ],
      "default": "light"
    },
    {
      "type": "select",
      "id": "button1_style",
      "label": "t:sections.all.button_style.label",
      "options": [
        {
          "value": "primary",
          "label": "t:sections.all.button_style.option__1.label"
        },
        {
          "value": "secondary",
          "label": "t:sections.all.button_style.option__2.label"
        },
        {
          "value": "tertiary",
          "label": "t:sections.all.button_style.option__3.label"
        },
        {
          "value": "link",
          "label": "t:sections.all.button_style.option__4.label"
        }
      ],
      "default": "secondary"
    },
    {
      "type": "select",
      "id": "button1_size",
      "label": "t:sections.all.button_size.label",
      "options": [
        {
          "value": "xs",
          "label": "t:sections.all.button_size.option__0.label"
        },
        {
          "value": "sm",
          "label": "t:sections.all.button_size.option__1.label"
        },
        {
          "value": "md",
          "label": "t:sections.all.button_size.option__2.label"
        },
        {
          "value": "lg",
          "label": "t:sections.all.button_size.option__3.label"
        }
      ],
      "default": "sm"
    },
    {
      "type": "range",
      "id": "button1_radius",
      "label": "t:sections.all.button_radius.label",
      "max": 4,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 0.8
    },
    {
      "type": "range",
      "id": "button1_padding",
      "label": "t:sections.all.button_padding.label",
      "info": "t:sections.all.button_padding.info",
      "max": 10,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 1.4
    },
    {
      "type": "header",
      "content": "t:sections.banner_v16.settings.header.content2"
    },
    {
      "type": "text",
      "id": "title2",
      "label": "t:sections.banner_v16.settings.title.label",
      "default": "skinning wear"
    },
    {
      "type": "text",
      "id": "description2",
      "label": "t:sections.banner_v16.settings.description.label",
      "default": "We are dedicated to curating a wide range of<br> high-quality, stylish products",
      "info": "t:sections.banner_v16.settings.description.info"
    },
    {
      "type": "image_picker",
      "id": "image2",
      "label": "t:sections.banner_v16.settings.image.label",
      "info": "t:sections.banner_v16.settings.image.info"
    },
    {
      "type": "url",
      "id": "link2",
      "label": "t:sections.banner_v16.settings.link.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.button_heading.content"
    },
    {
      "type": "text",
      "id": "button2_text",
      "label": "t:sections.all.button_text.label",
      "default": "ALL PRODUCTS"
    },
    {
      "type": "select",
      "id": "button2_mode",
      "label": "t:sections.all.button_mode.label",
      "options": [
        {
          "value": "light",
          "label": "t:sections.all.button_mode.option__1.label"
        },
        {
          "value": "dark",
          "label": "t:sections.all.button_mode.option__2.label"
        },
        {
          "value": "accent",
          "label": "t:sections.all.button_mode.option__3.label"
        }
      ],
      "default": "light"
    },
    {
      "type": "select",
      "id": "button2_style",
      "label": "t:sections.all.button_style.label",
      "options": [
        {
          "value": "primary",
          "label": "t:sections.all.button_style.option__1.label"
        },
        {
          "value": "secondary",
          "label": "t:sections.all.button_style.option__2.label"
        },
        {
          "value": "tertiary",
          "label": "t:sections.all.button_style.option__3.label"
        },
        {
          "value": "link",
          "label": "t:sections.all.button_style.option__4.label"
        }
      ],
      "default": "secondary"
    },
    {
      "type": "select",
      "id": "button2_size",
      "label": "t:sections.all.button_size.label",
      "options": [
        {
          "value": "xs",
          "label": "t:sections.all.button_size.option__0.label"
        },
        {
          "value": "sm",
          "label": "t:sections.all.button_size.option__1.label"
        },
        {
          "value": "md",
          "label": "t:sections.all.button_size.option__2.label"
        },
        {
          "value": "lg",
          "label": "t:sections.all.button_size.option__3.label"
        }
      ],
      "default": "sm"
    },
    {
      "type": "range",
      "id": "button2_radius",
      "label": "t:sections.all.button_radius.label",
      "max": 4,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 0.8
    },
    {
      "type": "range",
      "id": "button2_padding",
      "label": "t:sections.all.button_padding.label",
      "info": "t:sections.all.button_padding.info",
      "max": 10,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 1.4
    },
    {
      "type": "header",
      "content": "t:sections.banner_v16.settings.header.content3"
    },
    {
      "type": "text",
      "id": "title3",
      "label": "t:sections.banner_v16.settings.title.label",
      "default": "hiking gear"
    },
    {
      "type": "text",
      "id": "description3",
      "label": "t:sections.banner_v16.settings.description.label",
      "default": "We are dedicated to curating a wide range of<br> high-quality, stylish products",
      "info": "t:sections.banner_v16.settings.description.info"
    },
    {
      "type": "image_picker",
      "id": "image3",
      "label": "t:sections.banner_v16.settings.image.label",
      "info": "t:sections.banner_v16.settings.image.info"
    },
    {
      "type": "url",
      "id": "link3",
      "label": "t:sections.banner_v16.settings.link.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.button_heading.content"
    },
    {
      "type": "text",
      "id": "button3_text",
      "label": "t:sections.all.button_text.label",
      "default": "ALL PRODUCTS"
    },
    {
      "type": "select",
      "id": "button3_mode",
      "label": "t:sections.all.button_mode.label",
      "options": [
        {
          "value": "light",
          "label": "t:sections.all.button_mode.option__1.label"
        },
        {
          "value": "dark",
          "label": "t:sections.all.button_mode.option__2.label"
        },
        {
          "value": "accent",
          "label": "t:sections.all.button_mode.option__3.label"
        }
      ],
      "default": "light"
    },
    {
      "type": "select",
      "id": "button3_style",
      "label": "t:sections.all.button_style.label",
      "options": [
        {
          "value": "primary",
          "label": "t:sections.all.button_style.option__1.label"
        },
        {
          "value": "secondary",
          "label": "t:sections.all.button_style.option__2.label"
        },
        {
          "value": "tertiary",
          "label": "t:sections.all.button_style.option__3.label"
        },
        {
          "value": "link",
          "label": "t:sections.all.button_style.option__4.label"
        }
      ],
      "default": "secondary"
    },
    {
      "type": "select",
      "id": "button3_size",
      "label": "t:sections.all.button_size.label",
      "options": [
        {
          "value": "xs",
          "label": "t:sections.all.button_size.option__0.label"
        },
        {
          "value": "sm",
          "label": "t:sections.all.button_size.option__1.label"
        },
        {
          "value": "md",
          "label": "t:sections.all.button_size.option__2.label"
        },
        {
          "value": "lg",
          "label": "t:sections.all.button_size.option__3.label"
        }
      ],
      "default": "sm"
    },
    {
      "type": "range",
      "id": "button3_radius",
      "label": "t:sections.all.button_radius.label",
      "max": 4,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 0.8
    },
    {
      "type": "range",
      "id": "button3_padding",
      "label": "t:sections.all.button_padding.label",
      "info": "t:sections.all.button_padding.info",
      "max": 10,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 1.4
    },
    {
      "type": "header",
      "content": "t:sections.banner_v16.settings.header.content4"
    },
    {
      "type": "text",
      "id": "title4",
      "label": "t:sections.banner_v16.settings.title.label",
      "default": "camping gear"
    },
    {
      "type": "text",
      "id": "description4",
      "label": "t:sections.banner_v16.settings.description.label",
      "default": "We are dedicated to curating a wide range of<br> high-quality, stylish products",
      "info": "t:sections.banner_v16.settings.description.info"
    },
    {
      "type": "image_picker",
      "id": "image4",
      "label": "t:sections.banner_v16.settings.image.label",
      "info": "t:sections.banner_v16.settings.image.info"
    },
    {
      "type": "url",
      "id": "link4",
      "label": "t:sections.banner_v16.settings.link.label",
      "default": "/collections/all"
    },
    {
      "type": "header",
      "content": "t:sections.all.button_heading.content"
    },
    {
      "type": "text",
      "id": "button4_text",
      "label": "t:sections.all.button_text.label",
      "default": "ALL PRODUCTS"
    },
    {
      "type": "select",
      "id": "button4_mode",
      "label": "t:sections.all.button_mode.label",
      "options": [
        {
          "value": "light",
          "label": "t:sections.all.button_mode.option__1.label"
        },
        {
          "value": "dark",
          "label": "t:sections.all.button_mode.option__2.label"
        },
        {
          "value": "accent",
          "label": "t:sections.all.button_mode.option__3.label"
        }
      ],
      "default": "light"
    },
    {
      "type": "select",
      "id": "button4_style",
      "label": "t:sections.all.button_style.label",
      "options": [
        {
          "value": "primary",
          "label": "t:sections.all.button_style.option__1.label"
        },
        {
          "value": "secondary",
          "label": "t:sections.all.button_style.option__2.label"
        },
        {
          "value": "tertiary",
          "label": "t:sections.all.button_style.option__3.label"
        },
        {
          "value": "link",
          "label": "t:sections.all.button_style.option__4.label"
        }
      ],
      "default": "secondary"
    },
    {
      "type": "select",
      "id": "button4_size",
      "label": "t:sections.all.button_size.label",
      "options": [
        {
          "value": "xs",
          "label": "t:sections.all.button_size.option__0.label"
        },
        {
          "value": "sm",
          "label": "t:sections.all.button_size.option__1.label"
        },
        {
          "value": "md",
          "label": "t:sections.all.button_size.option__2.label"
        },
        {
          "value": "lg",
          "label": "t:sections.all.button_size.option__3.label"
        }
      ],
      "default": "sm"
    },
    {
      "type": "range",
      "id": "button4_radius",
      "label": "t:sections.all.button_radius.label",
      "max": 4,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 0.8
    },
    {
      "type": "range",
      "id": "button4_padding",
      "label": "t:sections.all.button_padding.label",
      "info": "t:sections.all.button_padding.info",
      "max": 10,
      "min": 0,
      "step": 0.2,
      "unit": "rem",
      "default": 1.4
    },
    {
      "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": "image_picker",
      "id": "background_image_desktop",
      "label": "t:sections.all.background_image_desktop.label"
    },
    {
      "type": "image_picker",
      "id": "background_image_mobile",
      "label": "t:sections.all.background_image_mobile.label"
    },
    {
      "type": "checkbox",
      "id": "use_parallax",
      "label": "t:sections.all.use_parallax.label",
      "default": true
    },
    {
      "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.banner_v16.presets.name"
    }
  ]
}
{% endschema %}
