<!-- header-e-commerce.liquid -->
{%- style -%}
  html {    --header-height: {{ section.settings.header_height_mb }}px;    --header-height2: {{ section.settings.header_height_mb }}px;    --header-bottom-height: 0px;  }  @media(min-width: 1150px) {    html {      --header-height: {{ section.settings.header_height | plus: section.settings.header_bottom_height }}px;      --header-height2: {{ section.settings.header_height }}px;      --header-bottom-height: {{ section.settings.header_bottom_height }}px;    }  }  .hdt-navigation {    --spacing-menu-item: {{ section.settings.spacing_nav }}px;  }  .hdt-menu-uppercase-true #hdt-nav-ul > li > a,  .hdt-menu-uppercase-true #hdt-nav-ul > li > details > summary {    text-transform: uppercase;    letter-spacing: 0.6px;  }  .hdt-header-language_currencies {    gap: 28px;  }  .hdt-header-language_currencies button[aria-expanded="true"] + .hdt-popover {    z-index: 9;  }  @keyframes loading {    100% {      left: 200%;    }  }  .hdt-nav-loading>li>details, .hdt-nav-loading>li>.hdt-menu-link, .hdt-nav-loading>li>details {    position: relative;    overflow: hidden;  }  .hdt-nav-loading>li>details:after {    --light_skew-color: rgb(var(--color-button)/.2);    background-image: linear-gradient(90deg,transparent,var(--light_skew-color, transparent),transparent);    content: "";    left: -150%;    position: absolute;    height: 2px;    bottom: 0;    transform: skew(-20deg);    width: 200%;    animation: loading 1s infinite;  }  .hdt-nav-loading>li>details:before {    --light_skew-color: rgb(var(--color-button)/.1);    background: var(--light_skew-color);    content: "";    position: absolute;    height: 2px;    bottom: 0;    left: 0;    width: 100%;  }  #hdt-nav-ul.hdt-nav-loading>li>details>.hdt-menu-link, #hdt-nav-ul.hdt-nav-loading>li>.hdt-menu-link, #hdt-nav-ul.hdt-nav-loading>li>details>summary {    pointer-events: none;  }
{%- endstyle -%}
{%- capture multi_brands -%}
  {%- if linklists.theme_brands.links -%}
    {%- liquid  
      capture brand
        case template.name
          when "search"
            if request.design_mode or search.terms contains "homeHdt"
            elsif search.terms contains "submenu"
          		echo search.terms | remove_first: ' OR ' | remove_first: 'submenu' | strip
          	endif
          when "collection"
            echo collection.metafields.theme.brand.value.name
          when "product"
            if product.metafields.theme.brand
              echo product.metafields.theme.brand.value.name
            else
              for collection in product.collections
                if collection.metafields.theme.brand
                  echo collection.metafields.theme.brand.value.name
                  break
                endif
              endfor
            endif
          when "page"
            echo page.metafields.theme.brand.value.name
          when "blog" or "article"
            echo blog.metafields.theme.brand.value.name
        endcase
      endcapture
    -%}
    {%- capture key_brand %}%20OR%20{{ brand | default: 'homeHdt' | escape }}{% endcapture -%}
    <multi-brands s_id="{{ section.id }}">
      <ul class="hdt-list-categories hdt-flex hdt-align-center hdt-text-uppercase_{{ section.settings.brand_transform }}">
        {%- assign index_active = 0 -%}
        {%- assign count = 0 -%}
        {%- assign has_child = true -%}
        {%- for link in linklists.theme_brands.links -%}
          {%- assign class_active = "" -%}
          {%- if search.terms contains "submenu" and link.title != brand -%}
          {%- elsif count == 0 and link.active or link.child_active or link.child_current or link.title == brand -%}
            {%- assign class_active = " is--active" -%}
            {%- assign index_active = forloop.index0 -%}
            {%- assign count = count | plus: 1 -%}
            {%- assign page_handle = link.handle -%}
          {%- endif -%}
          {%- if class_active == " is--active" and link.links.size == 0 -%}
            {%- assign has_child = false -%}
          {%- endif -%}
          <li class="hdt-list-categories--item hdt-flex hdt-align-center hdt-relative {%- if forloop.first %} tmp_active{%- endif -%} {{- class_active }}">
            <a class="hdt-ecommerce-link hdt-d-flex hdt-align-items-center hdt-rounded-xs hdt-text-xs hdt-text-sm hdt-font-extrabold hdt-s-text" href="{{ link.url }}" {%- if link.links.size > 0 %} item-brand{% endif %}>
              {%- assign arr_title = link.title | split: '[' -%}
              {%- assign arr_label = arr_title[1] | split: ',' -%}
              <span class="hdt-menu-link-text hdt-block{% if arr_label.size > 0 %} hdt-relative hdt-title_size-{{ arr_title[0].size | at_most: 20 }} hdt-has-{{ arr_label.size | at_most: 2 }}label{% endif %}">
                <span class="hdt-block hdt-line-clamp">{{ arr_title[0] }}</span>
                {%- if arr_label.size > 0 -%}
                  <span class="hdt_label_menu hdt-absolute hdt-inline-flex hdt-align-center hdt-justify-center hdt-text-xs hdt-font-medium">
                    {%- for label in arr_label limit: 2 -%}
                      {%- assign label_text = label | remove: 'label_' | remove: ',' | remove: ']' | strip -%}
                      <span class="hdt_label_{{ label_text | handleize }} hdt-flex hdt-align-center hdt-justify-center">{{ label_text }}</span>
                    {%- endfor -%}
                  </span>
                {%- endif -%}
              </span>
            </a>
          </li>
        {%- endfor -%}
      </ul>
    </multi-brands>
  {%- endif -%}
{%- endcapture -%}

{%- liquid
  if count != 1
    assign page_handle = linklists.theme_brands.links[0].handle
  endif
-%}

<hdt-sticky-header sticky-type="{{ section.settings.sticky_type }}" prefix="header" class="hdt-header hdt-header-logo_center hdt-header-fullwidth-{{ section.settings.header_fullwidth }}" color-scheme="{{ section.settings.header_colors }}">
	<div class="hdt-main-header">
		<div class="hdt-container{% if section.settings.header_fullwidth %}-full lg:hdt-px-40 hdt-px-15{% endif %}">
			<div data-header-height class="hdt-flex hdt-align-center hdt-spacing-15 md:hdt-px-15 hdt-px-10">
			   	<div class="lg:hdt-custom-col-5 lg:hdt-block hdt-hidden">
            {% liquid
              if count == 1
                echo multi_brands
              else
                echo multi_brands | remove: "is--active" | replace_first: "tmp_active", "is--active"
              endif
            -%}
			   	</div>
	        <div class="lg:hdt-hidden md:hdt-custom-col-4 hdt-custom-col-3">
	          <button aria-controls="menu_mobile" class="hdt-push-menu-btn hdt-menu-bar hdt-flex hdt-justify-center hdt-align-center">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="16" viewBox="0 0 24 16" fill="none">
                <path d="M2.00056 2.28571H16.8577C17.1608 2.28571 17.4515 2.16531 17.6658 1.95098C17.8802 1.73665 18.0006 1.44596 18.0006 1.14286C18.0006 0.839753 17.8802 0.549063 17.6658 0.334735C17.4515 0.120408 17.1608 0 16.8577 0H2.00056C1.69745 0 1.40676 0.120408 1.19244 0.334735C0.978109 0.549063 0.857702 0.839753 0.857702 1.14286C0.857702 1.44596 0.978109 1.73665 1.19244 1.95098C1.40676 2.16531 1.69745 2.28571 2.00056 2.28571ZM0.857702 8C0.857702 7.6969 0.978109 7.40621 1.19244 7.19188C1.40676 6.97755 1.69745 6.85714 2.00056 6.85714H22.572C22.8751 6.85714 23.1658 6.97755 23.3801 7.19188C23.5944 7.40621 23.7148 7.6969 23.7148 8C23.7148 8.30311 23.5944 8.59379 23.3801 8.80812C23.1658 9.02245 22.8751 9.14286 22.572 9.14286H2.00056C1.69745 9.14286 1.40676 9.02245 1.19244 8.80812C0.978109 8.59379 0.857702 8.30311 0.857702 8ZM0.857702 14.8571C0.857702 14.554 0.978109 14.2633 1.19244 14.049C1.40676 13.8347 1.69745 13.7143 2.00056 13.7143H12.2863C12.5894 13.7143 12.8801 13.8347 13.0944 14.049C13.3087 14.2633 13.4291 14.554 13.4291 14.8571C13.4291 15.1602 13.3087 15.4509 13.0944 15.6653C12.8801 15.8796 12.5894 16 12.2863 16H2.00056C1.69745 16 1.40676 15.8796 1.19244 15.6653C0.978109 15.4509 0.857702 15.1602 0.857702 14.8571Z" fill="currentColor"/>
              </svg>
            </button>
	        </div>
			   	<div class="lg:hdt-custom-col-2 md:hdt-custom-col-4 hdt-custom-col-6 hdt-text-center">
			   		{%- render 'hdt_logo' , header_e_commerce_attr: 'hdt-justify-center', page_handle: page_handle -%}
			   	</div>
			   	<div class="lg:hdt-custom-col-5 md:hdt-custom-col-4 hdt-custom-col-3">
						{%- render 'header_group_icons' -%}
			   	</div>
			</div>
      <div class="hdt-flex hdt-justify-center hdt-align-center lg:hdt-hidden hdt-text-center hdt-px-10 hdt-header-border-{{ section.settings.header_border }}">
        {% liquid
          if count == 1
            echo multi_brands
          else
            echo multi_brands | remove: "is--active" | replace_first: "tmp_active", "is--active"
          endif
        -%}
      </div>
		</div>
	</div>
  {%- if linklists.theme_brands != blank and has_child -%}
  	<div class="hdt-bottom-header hdt-header-sticky-{{ section.settings.header_sticky }} hdt-header-border-{{ section.settings.header_border }} is-sticky lg:hdt-flex hdt-hidden" color-scheme="{{ section.settings.header_colors }}" data-scheme-sticky="{{ section.settings.header_sticky_colors }}">
  		<div class="hdt-container{% if section.settings.header_fullwidth %}-full lg:hdt-px-40 hdt-px-15{% endif %}">
  			<div data-header-bottom-height class="hdt-flex hdt-align-center hdt-justify-{{ section.settings.menu_position }}">
          {% # theme-check-disable NestedSnippet %}
  				{%- render 'menu_blocks_ecomerce', index_active: index_active, key_brand: key_brand -%}
          {% # theme-check-enable NestedSnippet %}
  			</div>
  		</div>
  	</div>
  {%- endif -%}
</hdt-sticky-header>
<hdt-drawer id="menu_mobile" class="hdt-drawer hdt-drawer-not-header hdt-drawer-menu-mb hdt-drawer-menu-ecomerce-mb hdt-hidden hdt-header-menu-mobile hdt-fixed hdt-top-0 hdt-left-0 hdt-bottom-0" color-scheme="{{ section.settings.header_mobile_colors }}" effect="left" config='{"appendToBody": true}'>
  {%- render 'menu_mobile', key_brand: key_brand -%}
</hdt-drawer>


<script type="application/ld+json">
  {
    "@context": "http://schema.org",
    "@type": "Organization",
    "name": {{ shop.name | json }},
    {%- if section.settings.logo %}
    "logo": {{ section.settings.logo | image_url: width: 500 | prepend: "https:" | json }},
    {% endif -%}
    "sameAs": [
      {%- capture socials -%}
      {{ settings.social_facebook_link | json }},
      {{ settings.social_twitter_link | json }},
      {{ settings.social_instagram_link | json }},
      {{ settings.social_threads_link | json }},
      {{ settings.social_youtube_link | json }},
      {{ settings.social_tiktok_link | json }},
      {{ settings.social_pinterest_link | json }},
      {{ settings.social_tumblr_link | json }},
      {{ settings.social_vimeo_link | json }},
      {{ settings.social_snapchat_link | json }},
      {{ settings.social_whatsapp_link | json }},
      {{ settings.social_linked_in_link | json }},
      {{ settings.social_wechat_link | json }},
      {{ settings.social_reddit_link | json }},
      {{ settings.social_line_link | json }},
      {{ settings.social_spotify_link | json }}
      {%- endcapture -%}
      {{ socials | strip_newlines | remove: '"",' | remove: '  ' | remove: '  ' }}
    ],
    "url": {{ request.origin | append: page.url | json }}
  }
</script>
{% schema %}
{
  "name": "t:sections.header.header_e_commerce.name",
  "tag": "header",
  "max_blocks": 8,
  "limit": 1,
  "class": "hdt-section-group hdt-section-header hdt-header-menu-bottom hdt-header-ecommerce",
  "enabled_on": {
    "groups": [
      "header"
    ]
  },
  "settings": [
    {
      "type": "paragraph",
      "content": "t:sections.header.settings.header_note"
    },
    {
      "type": "header",
      "content": "t:sections.header.settings.desktop_label"
    },
    {
      "type": "checkbox",
      "id": "header_fullwidth",
      "info": "t:sections.header.settings.header_fullwidth.info",
      "label": "t:sections.header.settings.header_fullwidth.label",
      "default": false
    },
    {
      "type": "image_picker",
      "id": "logo",
      "label": "t:sections.header.settings.logo.label"
    },
    {
      "type": "range",
      "id": "logo_width",
      "label": "t:sections.header.settings.logo.logo_width",
      "info": "t:sections.header.settings.logo.logo_info",
      "min": 80,
      "max": 280,
      "step": 2,
      "unit": "px",
      "default": 136
    },
    {
      "type": "paragraph",
      "content": "--------------------------------------"
    },
    {
      "type": "paragraph",
      "content": "t:sections.header.settings.main_header.label"
    },
    {
      "type": "checkbox",
      "id": "brand_transform",
      "label": "t:sections.header.settings.main_menu.brand_transform",
      "default": false
    },
    {
      "type": "range",
      "id": "header_height",
      "label": "t:sections.header.settings.header_height.label",
      "min": 60,
      "max": 160,
      "step": 1,
      "unit": "px",
      "default": 68
    },
    {
      "type": "color_scheme",
      "id": "header_colors",
      "label": "t:sections.all.colors.label"
    },
    {
      "type": "paragraph",
      "content": "t:sections.header.settings.group_icons.label"
    },
    {
      "type": "checkbox",
      "id": "enabled_user",
      "label": "t:sections.header.settings.group_icons.enabled_user",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "enabled_compare",
      "label": "t:sections.header.settings.group_icons.enabled_compare.label",
      "info": "t:sections.header.settings.group_icons.enabled_compare.info",
      "default": false
    },
    {
      "type": "checkbox",
      "id": "enabled_wishlist",
      "label": "t:sections.header.settings.group_icons.enabled_wishlist.label",
      "info": "t:sections.header.settings.group_icons.enabled_wishlist.info",
      "default": true
    },
    {
      "type": "paragraph",
      "content": "--------------------------------------"
    },
    {
      "type": "paragraph",
      "content": "t:sections.header.settings.bottom_header.label"
    },
    {
      "type": "range",
      "id": "header_bottom_height",
      "label": "t:sections.header.settings.header_height.label_bottom",
      "min": 60,
      "max": 160,
      "step": 1,
      "unit": "px",
      "default": 60
    },
    {
      "type": "paragraph",
      "content": "t:sections.header.settings.nav_label"
    },
    {
      "type": "checkbox",
      "id": "lazy_mn",
      "label": "Enable Lazy menu?",
      "info": "Improve page load speed",
      "default": true
    },
    {
      "type": "select",
      "id": "menu_position",
      "options": [
        {
          "value": "start",
          "label": "t:sections.header.settings.main_menu.menu_position.left"
        },
        {
          "value": "center",
          "label": "t:sections.header.settings.main_menu.menu_position.center"
        },
        {
          "value": "end",
          "label": "t:sections.header.settings.main_menu.menu_position.right"
        }
      ],
      "label": "t:sections.header.settings.main_menu.menu_position.label",
      "default": "center"
    },
    {
      "type": "select",
      "id": "menu_size",
      "options": [
        {
          "value": "sm",
          "label": "t:sections.header.settings.main_menu.menu_size.small"
        },
        {
          "value": "base",
          "label": "t:sections.header.settings.main_menu.menu_size.medium"
        },
        {
          "value": "lg",
          "label": "t:sections.header.settings.main_menu.menu_size.large"
        }
      ],
      "label": "t:sections.header.settings.main_menu.menu_size.label",
      "default": "lg"
    },
    {
      "type": "select",
      "id": "menu_weight",
      "options": [
        {
          "value": "normal",
          "label": "t:sections.header.settings.main_menu.menu_weight.normal"
        },
        {
          "value": "medium",
          "label": "t:sections.header.settings.main_menu.menu_weight.medium"
        },
        {
          "value": "bold",
          "label": "t:sections.header.settings.main_menu.menu_weight.bold"
        }
      ],
      "label": "t:sections.header.settings.main_menu.menu_weight.label",
      "default": "medium"
    },
    {
      "type": "checkbox",
      "id": "text_transform",
      "label": "t:sections.header.settings.main_menu.text_transform",
      "default": false
    },
    {
      "type": "checkbox",
      "id": "dropdown_arrow",
      "label": "t:sections.header.settings.main_menu.dropdown_arrow.label",
      "info": "t:sections.header.settings.main_menu.dropdown_arrow.info",
      "default": false
    },
    {
      "type": "checkbox",
      "id": "active_link",
      "label": "t:sections.header.settings.main_menu.active_link.label",
      "info": "t:sections.header.settings.main_menu.active_link.info",
      "default": false
    },
    {
      "type": "range",
      "id": "spacing_nav",
      "min": 10,
      "max": 60,
      "step": 1,
      "label": "t:sections.header.settings.main_menu.spacing_nav.label",
      "info": "t:sections.header.settings.main_menu.spacing_nav.info",
      "unit": "px",
      "default": 30
    },
    {
      "type": "select",
      "id": "open_event",
      "label": "t:sections.header.settings.main_menu.open_event.label",
      "info": "t:sections.header.settings.main_menu.open_event.info",
      "default": "hover",
      "options": [
        {
          "label": "t:sections.header.settings.main_menu.open_event.options.hover",
          "value": "hover"
        },
        {
          "label": "t:sections.header.settings.main_menu.open_event.options.click",
          "value": "click"
        }
      ]
    },
    {
      "type": "color_scheme",
      "id": "header_menu_colors",
      "label": "t:sections.all.colors.label"
    },
    {
      "type": "select",
      "id": "header_border",
      "options": [
        {
          "value": "none",
          "label": "t:sections.header.header_bottom.header_border.none"
        },
        {
          "value": "top",
          "label": "t:sections.header.header_bottom.header_border.top"
        },
        {
          "value": "bottom",
          "label": "t:sections.header.header_bottom.header_border.bottom"
        },
        {
          "value": "top_bottom",
          "label": "t:sections.header.header_bottom.header_border.top_bottom"
        }
      ],
      "label": "t:sections.header.header_bottom.header_border.label",
      "default": "none"
    },
    {
      "type": "header",
      "content": "t:sections.header.settings.mobile_label"
    },
    {
      "type": "checkbox",
      "id": "lazy_mn_mb",
      "label": "Enable Lazy menu?",
      "info": "Improve page load speed",
      "default": true
    },
    {
      "type": "range",
      "id": "header_height_mb",
      "label": "t:sections.header.settings.header_height.label_mobile",
      "min": 60,
      "max": 160,
      "step": 1,
      "unit": "px",
      "default": 60
    },
    {
      "type": "image_picker",
      "id": "logo_mobile",
      "label": "t:sections.header.settings.logo.label_mobile"
    },
    {
      "type": "range",
      "id": "logo_width_mb",
      "label": "t:sections.header.settings.logo.logo_width_mb",
      "info": "t:sections.header.settings.logo.logo_info",
      "min": 80,
      "max": 150,
      "step": 2,
      "unit": "px",
      "default": 130
    },
    {
      "type": "checkbox",
      "id": "only_click_icon",
      "label": "t:sections.header.settings.main_menu.mobile_menu_click.label",
      "info": "t:sections.header.settings.main_menu.mobile_menu_click.info",
      "default": false
    },
    {
      "type": "color_scheme",
      "id": "header_mobile_colors",
      "label": "t:sections.all.colors.label"
    },
    {
      "type": "textarea",
      "id": "note_mobile",
      "label": "t:sections.header.settings.note_mobile",
      "default": "<span class=\"hdt-inline-flex hdt-text-base hdt-font-medium\" style=\"border-bottom: solid 1px rgb(var(--color-line-border));margin-bottom: 11px\">Need help ? </span><span class=\"hdt-flex hdt-flex-col hdt-text-base hdt-font-medium\" style=\"line-height: 24px;\"><span>Address: 1234 Fashion Street, Suite 567,<br> New York, NY 10001</span><span>Email: <b>info@fashionshop.com</b></span><span>Phone: <b>(212) 555-1234</b></span></span>"
    },
    {
      "type": "header",
      "content": "t:sections.header.settings.sticky_label"
    },
    {
      "type": "select",
      "id": "sticky_type",
      "label": "t:sections.header.settings.header_sticky.label",
      "default": "on_scroll_up",
      "options": [
        {
          "label": "None",
          "value": "none"
        },
        {
          "label": "On scroll up",
          "value": "on_scroll_up"
        },
        {
          "label": "Always",
          "value": "always"
        }
      ]
    }
  ],
  "blocks": [
    {
      "type": "html",
      "name": "t:sections.header.blocks.html_name",
      "settings": [
        {
          "type": "text",
          "id": "title",
          "label": "t:sections.header.blocks.title",
          "info": "t:sections.header.blocks.info",
          "default": "Title"
        },
        {
          "type": "html",
          "id": "html",
          "label": "t:sections.header.blocks.html.name"
        },
        {
          "type": "page",
          "id": "page",
          "label": "t:sections.header.blocks.html.page.label",
          "info": "t:sections.header.blocks.html.page.info"
        },
        {
          "type": "color_scheme",
          "id": "mega_menu_colors",
          "label": "t:sections.all.colors.label"
        },
        {
          "type": "select",
          "id": "mega_position",
          "label": "t:sections.header.blocks.mega_position.label",
          "default": "bottom",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_position.default",
              "value": "bottom"
            },
            {
              "label": "t:sections.header.blocks.mega_position.center_on_screen",
              "value": "center_on_screen"
            }
          ]
        },
        {
          "type": "radio",
          "id": "mega_width",
          "label": "t:sections.header.blocks.mega_width.label",
          "default": "full",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_width.full",
              "value": "full"
            },
            {
              "label": "t:sections.header.blocks.mega_width.custom",
              "value": "custom"
            }
          ]
        },
        {
          "type": "range",
          "id": "mega_custom_width",
          "label": "t:sections.header.blocks.mega_custom_width",
          "min": 600,
          "max": 1600,
          "step": 10,
          "unit": "px",
          "default": 1200
        }
      ]
    },
    {
      "type": "mega_shop",
      "name": "t:sections.header.blocks.shop_name",
      "settings": [
        {
          "type": "text",
          "id": "title",
          "label": "t:sections.header.blocks.title",
          "info": "t:sections.header.blocks.info",
          "default": "Title"
        },
        {
          "type": "collection_list",
          "id": "collection_list",
          "label": "t:sections.header.blocks.mega_shop.collection_list"
        },
        {
          "type": "select",
          "id": "image_ratio",
          "options": [
            {
              "value": "adapt_image",
              "label": "t:sections.all.images.ratio.adapt_image.label"
            },
            {
              "value": "square",
              "label": "t:sections.all.images.ratio.square.label"
            },
            {
              "value": "portrait",
              "label": "t:sections.all.images.ratio.portrait.label"
            },
            {
              "value": "asos",
              "label": "t:sections.all.images.ratio.asos.label"
            },
            {
              "value": "landscape",
              "label": "t:sections.all.images.ratio.landscape.label"
            }
          ],
          "label": "t:sections.all.images.ratio.label",
          "default": "adapt_image"
        },
        {
          "type": "checkbox",
          "id": "image_size",
          "label": "t:sections.all.images.size.cover",
          "default": true
        },
        {
          "type": "color_scheme",
          "id": "mega_menu_colors",
          "label": "t:sections.all.colors.label"
        },
        {
          "type": "select",
          "id": "mega_position",
          "label": "t:sections.header.blocks.mega_position.label",
          "default": "bottom",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_position.default",
              "value": "bottom"
            },
            {
              "label": "t:sections.header.blocks.mega_position.center_on_screen",
              "value": "center_on_screen"
            }
          ]
        },
        {
          "type": "radio",
          "id": "mega_width",
          "label": "t:sections.header.blocks.mega_width.label",
          "default": "full",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_width.full",
              "value": "full"
            },
            {
              "label": "t:sections.header.blocks.mega_width.custom",
              "value": "custom"
            }
          ]
        },
        {
          "type": "range",
          "id": "mega_custom_width",
          "label": "t:sections.header.blocks.mega_custom_width",
          "min": 600,
          "max": 1600,
          "step": 10,
          "unit": "px",
          "default": 1200
        }
      ]
    },
    {
      "type": "mega_product",
      "name": "t:sections.header.blocks.product_name",
      "settings": [
        {
          "type": "text",
          "id": "title",
          "label": "t:sections.header.blocks.title",
          "info": "t:sections.header.blocks.info",
          "default": "Title"
        },
        {
          "type": "text",
          "id": "product_list_title",
          "label": "t:sections.header.blocks.product_list_title",
          "default": "BEST SELLER"
        },
        {
          "type": "product_list",
          "id": "product_list",
          "label": "t:sections.header.blocks.mega_product.product_list"
        },
        {
          "type": "select",
          "id": "image_ratio",
          "options": [
            {
              "value": "adapt_image",
              "label": "t:sections.all.images.ratio.adapt_image.label"
            },
            {
              "value": "square",
              "label": "t:sections.all.images.ratio.square.label"
            },
            {
              "value": "portrait",
              "label": "t:sections.all.images.ratio.portrait.label"
            },
            {
              "value": "asos",
              "label": "t:sections.all.images.ratio.asos.label"
            },
            {
              "value": "landscape",
              "label": "t:sections.all.images.ratio.landscape.label"
            },
            {
              "value": "custom-pr",
              "label": "t:sections.all.images.ratio.custom.label"
            }
          ],
          "label": "t:sections.all.images.ratio.label",
          "default": "adapt_image"
        },
        {
          "type": "checkbox",
          "id": "image_size",
          "label": "t:sections.all.images.size.cover",
          "default": true
        },
        {
          "type": "color_scheme",
          "id": "mega_menu_colors",
          "label": "t:sections.all.colors.label"
        },
        {
          "type": "select",
          "id": "mega_position",
          "label": "t:sections.header.blocks.mega_position.label",
          "default": "bottom",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_position.default",
              "value": "bottom"
            },
            {
              "label": "t:sections.header.blocks.mega_position.center_on_screen",
              "value": "center_on_screen"
            }
          ]
        },
        {
          "type": "radio",
          "id": "mega_width",
          "label": "t:sections.header.blocks.mega_width.label",
          "default": "full",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_width.full",
              "value": "full"
            },
            {
              "label": "t:sections.header.blocks.mega_width.custom",
              "value": "custom"
            }
          ]
        },
        {
          "type": "range",
          "id": "mega_custom_width",
          "label": "t:sections.header.blocks.mega_custom_width",
          "min": 600,
          "max": 1600,
          "step": 10,
          "unit": "px",
          "default": 1200
        }
      ]
    },
    {
      "type": "mega_page",
      "name": "t:sections.header.blocks.page_name",
      "settings": [
        {
          "type": "text",
          "id": "title",
          "label": "t:sections.header.blocks.title",
          "info": "t:sections.header.blocks.info",
          "default": "Title"
        },
        {
          "type": "color_scheme",
          "id": "mega_menu_colors",
          "label": "t:sections.all.colors.label"
        },
        {
          "type": "select",
          "id": "mega_position",
          "label": "t:sections.header.blocks.mega_position.label",
          "default": "bottom",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_position.default",
              "value": "bottom"
            },
            {
              "label": "t:sections.header.blocks.mega_position.center_on_screen",
              "value": "center_on_screen"
            }
          ]
        },
        {
          "type": "radio",
          "id": "mega_width",
          "label": "t:sections.header.blocks.mega_width.label",
          "default": "full",
          "options": [
            {
              "label": "t:sections.header.blocks.mega_width.full",
              "value": "full"
            },
            {
              "label": "t:sections.header.blocks.mega_width.custom",
              "value": "custom"
            }
          ]
        },
        {
          "type": "range",
          "id": "mega_custom_width",
          "label": "t:sections.header.blocks.mega_custom_width",
          "min": 600,
          "max": 1600,
          "step": 10,
          "unit": "px",
          "default": 1200
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "t:sections.header.header_e_commerce.presets.name"
    }
  ]
}
{% endschema %}