/** Shopify CDN: Minification failed

Line 42:3 Cannot use type selector "--menus" directly after nesting selector "&"

**/
/* ---------------------------------
   FOOTER SECTION
   Mobile-first approach with nested CSS
---------------------------------- */

/* ---------------------------------
   BASE STYLES (Mobile)
---------------------------------- */

.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  border-top: var(--footer-border-top-width) solid var(--footer-border-top-color);
  margin-top: var(--footer-margin-top);
  padding-top: var(--footer-padding-top);
  padding-bottom: var(--footer-padding-bottom);

  a {
    color: var(--footer-text-color);
  }
}

/* ---------------------------------
   GRID LAYOUT
---------------------------------- */

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 1.6rem;

  > * {
    flex: 1 1 100%;
  }

  &--menus {
    gap: 0.6rem;
  }
}

/* ---------------------------------
   BLOCK
---------------------------------- */

.footer__block {
  padding: 1.5rem 0;
  text-align: center;

  &.footer-collapser_block {
    text-align: left;
  }
}

.footer__block-heading {
  margin-top: 0;
  margin-bottom: 1.6rem;
  color: var(--footer-text-color);
}

/* ---------------------------------
   BLOCK LIST
---------------------------------- */

.footer__block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.4rem;

  li {
    margin-bottom: 1.6rem;
  }

  a {
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

/* ---------------------------------
   ICONS LIST (Payment, Delivery, Social)
---------------------------------- */

.footer__block-list--icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 0.5rem;

  li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }

  svg {
    width: 38px;
    height: 24px;
  }
}

/* ---------------------------------
   CONTACT BLOCK
---------------------------------- */

.footer__contact-block {
  margin-bottom: 1rem;

  &:last-child {
    margin-bottom: 0;
  }

  a {
    text-decoration: underline;

    &:hover {
      text-decoration: none;
    }
  }
}

/* ---------------------------------
   SOCIALS ICON
---------------------------------- */
.footer__socials {
  gap: 1.6rem;
  .list-social__link {
    width: 40px;
    height: 40px;
    background-color: var(--footer-social-bg-color);
    border-radius: var(--footer-social-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
      box-shadow: 0 0 0 2px var(--footer-social-bg-color);
    }

    svg {
      fill: var(--footer-social-icon-color);
      width: 2.4rem;
      height: 2.4rem;
    }
  }
}

/* ---------------------------------
   BOTTOM SECTION
---------------------------------- */

.footer__bottom {
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;

}

@media screen and (min-width: 750px) {
  .footer__bottom {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
  
}

/* ---------------------------------
   DESKTOP STYLES (>= 750px)
---------------------------------- */

@media screen and (min-width: 750px) {
  .footer__grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;

    > * {
      flex: 1 1 calc(50% - 1rem);
    }
  }

  .footer__block {
    text-align: left;
  }

  .footer__block-list--icons {
    justify-content: flex-start;
    max-width: 250px;
  }

  .footer__contact-block--has-icon {
    display: flex;
    align-items: start;
    gap: 1rem;

    .footer__contact-block-icon-wrapper{
      margin-top: 0.2rem;
    }
  }

}

/* ---------------------------------
   LARGE DESKTOP STYLES (>= 990px)
---------------------------------- */

@media screen and (min-width: 990px) {
  .footer__grid {
    > * {
      flex: 1 1 calc(25% - 1.5rem);
    }
  }
}
