/** Shopify CDN: Minification failed

Line 524:0 Unexpected "{"
Line 524:1 Expected identifier but found "%"
Line 525:0 Unexpected "{"
Line 526:2 Expected identifier but found "\"name\""
Line 583:0 Unexpected "{"
Line 583:1 Expected identifier but found "%"
Line 585:0 Unexpected "<"
Line 587:15 Expected identifier but found whitespace
Line 587:17 Unexpected "{"
Line 587:26 Expected ":"
... and 69 more hidden warnings

**/
.footer {
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.footer:not(.color-scheme-1) {
  border-top: none;
}

.footer__content-top {
  padding-bottom: 5rem;
  display: block;
}

@media screen and (max-width: 749px) {
  .footer .grid {
    display: block;
  }

  .footer-block.grid__item {
    padding: 0;
    margin: 4rem 0;
    width: 100%;
  }

  .footer-block.grid__item:first-child {
    margin-top: 0;
  }

  .footer__content-top {
    padding-bottom: 3rem;
    padding-left: calc(4rem / var(--font-body-scale));
    padding-right: calc(4rem / var(--font-body-scale));
  }
}

@media screen and (min-width: 750px) {
  .footer__content-top .grid {
    row-gap: 6rem;
    margin-bottom: 0;
  }
}

.footer__content-bottom {
  border-top: solid 0.1rem rgba(var(--color-foreground), 0.08);
  padding-top: 3rem;
}

.footer__content-bottom:only-child {
  border-top: 0;
}

.footer__content-bottom-wrapper {
  display: flex;
  width: 100%;
}

@media screen and (max-width: 749px) {
  .footer__content-bottom {
    flex-wrap: wrap;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    row-gap: 1.5rem;
  }

  .footer__content-bottom-wrapper {
    flex-wrap: wrap;
    row-gap: 1.5rem;
    justify-content: center;
  }

  .footer__content-bottom.scroll-trigger.animate--slide-in {
    animation: none;
    opacity: 1;
    transform: inherit;
  }
}

.footer__localization:empty + .footer__column--info {
  align-items: center;
}

@media screen and (max-width: 749px) {
  .footer__localization:empty + .footer__column {
    padding-top: 1.5rem;
  }
}

.footer__column {
  width: 100%;
  align-items: flex-end;
}

.footer__column--info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media screen and (min-width: 750px) {
  .footer__column--info {
    padding-left: 0;
    padding-right: 0;
    align-items: flex-end;
  }
}

.footer-block:only-child:last-child {
  text-align: center;
  max-width: 76rem;
  margin: 0 auto;
}

@media screen and (min-width: 750px) {
  .footer-block {
    display: block;
    margin-top: 0;
  }
}

.footer-block:empty {
  display: none;
}

.footer-block--newsletter {
  display: flex;
  align-items: flex-end;
  margin-top: 3rem;
  gap: 1rem;
}

.footer-block--newsletter:only-child {
  margin-top: 0;
}

@media screen and (max-width: 749px) {
  .footer-block.footer-block--menu:only-child {
    text-align: left;
  }
}

@media screen and (min-width: 750px) {
  .footer-block--newsletter {
    flex-wrap: nowrap;
    justify-content: center;
  }
}

.footer-block__heading {
  margin-bottom: 2rem;
  margin-top: 0;
  font-size: calc(var(--font-heading-scale) * 1.6rem);
}

@media screen and (min-width: 990px) {
  .footer-block__heading {
    font-size: calc(var(--font-heading-scale) * 1.8rem);
  }
}

.footer__list-social:empty,
.footer-block--newsletter:empty {
  display: none;
}

.footer__follow-on-shop {
  display: flex;
  text-align: center;
}

.footer__list-social.list-social:only-child {
  justify-content: center;
}

.footer-block__newsletter {
  text-align: center;
  flex-grow: 1;
}

.newsletter-form__field-wrapper {
  max-width: 36rem;
}

@media screen and (min-width: 750px) {
  /* Pushes other components to the right of the flexbox */
  .footer-block__newsletter:not(:only-child) {
    text-align: left;
    margin-right: auto;
  }

  .footer-block__newsletter:not(:only-child) .footer__newsletter {
    justify-content: flex-start;
    margin: 0;
  }

  .footer-block__newsletter:not(:only-child) .newsletter-form__message--success {
    left: auto;
  }

  .footer__follow-on-shop {
    margin-bottom: 0.4rem;
  }
  /* Follow on shop is the first button but it has siblings*/
  .footer__follow-on-shop:first-child:not(:last-child) {
    justify-content: flex-start;
    margin-right: auto;
    text-align: left;
  }

  /*
    All three components are present, email, Follow on Shop, and social icons.
    Moves the FoS button next to the social icons so they appear grouped together
  */
  .footer__follow-on-shop:not(:first-child):not(:last-child) {
    justify-content: flex-end;
    text-align: right;
  }
}

@media screen and (max-width: 749px) {
  /*
    On a small screen we want all the items to be centered
    because they will be stacked.
   */
  .footer-block--newsletter {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    align-items: center;
    gap: 3rem;
  }

  .footer__list-social.list-social,
  .footer__follow-on-shop,
  .footer-block__newsletter {
    display: flex;
    justify-content: center;
  }

  .footer-block__newsletter {
    flex-direction: column;
  }
}

@media screen and (min-width: 750px) {
  .footer-block__newsletter + .footer__list-social {
    margin-top: 0;
  }
}

.footer__localization {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  padding: 1rem 1rem 0;
}

.footer__localization:empty {
  display: none;
}

.footer__localization h2 {
  margin: 1rem 1rem 0.5rem;
  color: rgba(var(--color-foreground), 0.75);
}

@media screen and (min-width: 750px) {
  .footer__localization {
    padding: 0.4rem 0;
    justify-content: flex-start;
  }

  .footer__localization h2 {
    margin: 1rem 0 0;
  }
}

@media screen and (min-width: 750px) {
  .footer__payment {
    margin-top: 1.5rem;
  }
}

.footer__content-bottom-wrapper--center {
  justify-content: center;
}

.footer__copyright {
  text-align: center;
  margin-top: 1.5rem;
}

@media screen and (min-width: 750px) {
  .footer__content-bottom-wrapper:not(.footer__content-bottom-wrapper--center) .footer__copyright {
    text-align: right;
  }
}

@keyframes appear-down {
  0% {
    opacity: 0;
    margin-top: -1rem;
  }
  100% {
    opacity: 1;
    margin-top: 0;
  }
}

.footer-block__details-content {
  margin-bottom: 4rem;
}

@media screen and (min-width: 750px) {
  .footer-block__details-content {
    margin-bottom: 0;
  }

  .footer-block__details-content > p,
  .footer-block__details-content > li {
    padding: 0;
  }

  .footer-block:only-child li {
    display: inline;
  }

  .footer-block__details-content > li:not(:last-child) {
    margin-right: 1.5rem;
  }
}

.footer-block__details-content .list-menu__item--link,
.copyright__content a {
  color: rgba(var(--color-foreground), 0.75);
}

.footer-block__details-content .list-menu__item--active {
  transition: text-decoration-thickness var(--duration-short) ease;
  color: rgb(var(--color-foreground));
}

@media screen and (min-width: 750px) {
  .footer-block__details-content .list-menu__item--link:hover,
  .copyright__content a:hover {
    color: rgb(var(--color-foreground));
    text-decoration: underline;
    text-underline-offset: 0.3rem;
  }

  .footer-block__details-content .list-menu__item--active:hover {
    text-decoration-thickness: 0.2rem;
  }
}

@media screen and (max-width: 989px) {
  .footer-block__details-content .list-menu__item--link {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media screen and (min-width: 750px) {
  .footer-block__details-content .list-menu__item--link {
    display: inline-block;
    font-size: 1.4rem;
  }

  .footer-block__details-content > :first-child .list-menu__item--link {
    padding-top: 0;
  }
}

.footer-block-image {
  display: flex;
}

.footer-block-image.left {
  justify-content: flex-start;
}

.footer-block-image.center {
  justify-content: center;
}

.footer-block-image.right {
  justify-content: flex-end;
}

@media screen and (max-width: 749px) {
  .footer-block-image,
  .footer-block-image.left,
  .footer-block-image.center,
  .footer-block-image.right {
    justify-content: center;
  }
}

.footer-block__image-wrapper {
  margin-bottom: 2rem;
  overflow: hidden !important;
}

.footer-block__image-wrapper img {
  display: block;
  height: auto;
  max-width: 100%;
}

.footer-block__brand-info {
  text-align: left;
}

.footer-block:only-child .footer-block__brand-info {
  text-align: center;
}

.footer-block:only-child > .footer-block__brand-info > .footer-block__image-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.footer-block-image > img,
.footer-block__brand-info > img {
  height: auto;
}

.footer-block:only-child .footer-block__brand-info .footer__list-social.list-social {
  justify-content: center;
}

.footer-block__brand-info .footer__list-social.list-social {
  justify-content: flex-start;
}

.footer-block__details-content .placeholder-svg {
  max-width: 20rem;
}

.copyright__content {
  font-size: 1.1rem;
}

.copyright__content a {
  color: currentColor;
  text-decoration: none;
}

.policies {
  display: inline;
}

.policies li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.policies li::before {
  content: '\00B7';
  padding: 0 0.8rem;
}

.policies li a {
  padding: 0.6rem 0;
  display: block;
}

@media screen and (min-width: 750px) {
  .policies li a {
    padding: 0;
  }
}
@keyframes animateLocalization {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(-1rem);
  }
}

/* check for flexbox gap in older Safari versions */
@supports not (inset: 10px) {
  @media screen and (max-width: 749px) {
    .footer .grid {
      margin-left: 0;
    }
  }

  @media screen and (min-width: 750px) {
    .footer__content-top .grid {
      margin-left: -3rem;
    }

    .footer__content-top .grid__item {
      padding-left: 3rem;
    }
  }
}
{% schema %}
{
  "name": "Mega Menu",
  "tag": "nav",
  "class": "mega-menu-nav",
  "settings": [
    {
      "type": "color",
      "id": "bg_color",
      "label": "Background color",
      "default": "#111111"
    },
    {
      "type": "color",
      "id": "text_color",
      "label": "Text color",
      "default": "#ffffff"
    },
    {
      "type": "image_picker",
      "id": "logo",
      "label": "Logo"
    }
  ],
  "blocks": [
    {
      "type": "menu_item",
      "name": "Menu Item",
      "settings": [
        {
          "type": "text",
          "id": "title",
          "label": "Title",
          "default": "Collections"
        },
        {
          "type": "link_list",
          "id": "submenu",
          "label": "Sub Menu"
        },
        {
          "type": "image_picker",
          "id": "featured_image",
          "label": "Featured Image"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "Mega Menu",
      "blocks": [
        { "type": "menu_item", "settings": { "title": "Shop" } },
        { "type": "menu_item", "settings": { "title": "Collections" } },
        { "type": "menu_item", "settings": { "title": "About" } }
      ]
    }
  ]
}
{% endschema %}

<style>
  .mega-menu-nav {
    background: {{ section.settings.bg_color }};
    position: relative;
    z-index: 1000;
  }
  .mega-menu-nav .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
  }
  .mega-menu-nav .nav-logo img {
    height: 36px;
    width: auto;
  }
  .mega-menu-nav .nav-logo span {
    color: {{ section.settings.text_color }};
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
  .mega-menu-nav .nav-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
  }
  .mega-menu-nav .nav-item {
    position: relative;
  }
  .mega-menu-nav .nav-item > button {
    background: none;
    border: none;
    color: {{ section.settings.text_color }};
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 16px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
  }
  .mega-menu-nav .nav-item > button:hover,
  .mega-menu-nav .nav-item.active > button {
    opacity: 1;
  }
  .mega-menu-nav .mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.1);
    min-width: 480px;
    padding: 32px;
    gap: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  }
  .mega-menu-nav .nav-item.active .mega-dropdown {
    display: flex;
  }
  .mega-menu-nav .mega-dropdown .links-col {
    flex: 1;
  }
  .mega-menu-nav .mega-dropdown .links-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mega-menu-nav .mega-dropdown .links-col ul li {
    padding: 6px 0;
  }
  .mega-menu-nav .mega-dropdown .links-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
  }
  .mega-menu-nav .mega-dropdown .links-col ul li a:hover {
    color: #ffffff;
  }
  .mega-menu-nav .mega-dropdown .featured-col {
    width: 160px;
    flex-shrink: 0;
  }
  .mega-menu-nav .mega-dropdown .featured-col img {
    width: 100%;
    border-radius: 4px;
    opacity: 0.9;
  }
  /* Mobile */
  .mega-menu-nav .hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
  }
  .mega-menu-nav .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: {{ section.settings.text_color }};
    transition: all 0.3s;
  }
  .mega-menu-nav .mobile-menu {
    display: none;
    background: #1a1a1a;
    padding: 16px 24px;
  }
  .mega-menu-nav .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mega-menu-nav .mobile-menu ul li a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  @media (max-width: 768px) {
    .mega-menu-nav .nav-items { display: none; }
    .mega-menu-nav .hamburger { display: flex; }
    .mega-menu-nav .mobile-menu.open { display: block; }
  }
</style>

<div class="mega-menu-nav">
  <div class="nav-inner">
    <div class="nav-logo">
      {% if section.settings.logo %}
        <img src="{{ section.settings.logo | img_url: '200x' }}" alt="{{ shop.name }}">
      {% else %}
        <span>{{ shop.name }}</span>
      {% endif %}
    </div>
    <ul class="nav-items">
      {% for block in section.blocks %}
        <li class="nav-item" {{ block.shopify_attributes }}>
          <button onclick="toggleMega(this)">{{ block.settings.title }}</button>
          <div class="mega-dropdown">
            <div class="links-col">
              {% if block.settings.submenu != blank %}
                <ul>
                  {% for link in linklists[block.settings.submenu].links %}
                    <li><a href="{{ link.url }}">{{ link.title }}</a></li>
                  {% endfor %}
                </ul>
              {% endif %}
            </div>
            {% if block.settings.featured_image %}
              <div class="featured-col">
                <img src="{{ block.settings.featured_image | img_url: '300x' }}" alt="{{ block.settings.title }}">
              </div>
            {% endif %}
          </div>
        </li>
      {% endfor %}
    </ul>
    <button class="hamburger" onclick="toggleMobile()" aria-label="Menu">
      <span></span><span></span><span></span>
    </button>
  </div>
  <div class="mobile-menu" id="mobileMenu">
    <ul>
      {% for block in section.blocks %}
        <li><a href="#">{{ block.settings.title }}</a></li>
        {% if block.settings.submenu != blank %}
          {% for link in linklists[block.settings.submenu].links %}
            <li><a href="{{ link.url }}" style="padding-left:16px; font-size:12px;">{{ link.title }}</a></li>
          {% endfor %}
        {% endif %}
      {% endfor %}
    </ul>
  </div>
</div>

<script>
  function toggleMega(btn) {
    var item = btn.parentElement;
    var isActive = item.classList.contains('active');
    document.querySelectorAll('.mega-menu-nav .nav-item').forEach(function(i) {
      i.classList.remove('active');
    });
    if (!isActive) item.classList.add('active');
  }
  document.addEventListener('click', function(e) {
    if (!e.target.closest('.mega-menu-nav .nav-item')) {
      document.querySelectorAll('.mega-menu-nav .nav-item').forEach(function(i) {
        i.classList.remove('active');
      });
    }
  });
  function toggleMobile() {
    document.getElementById('mobileMenu').classList.toggle('open');
  }
</script>
