/* Footer: balanced layout when social networks are enabled. */
.store-footer .footer-main {
  grid-template-columns: minmax(280px, 1.05fr) minmax(150px, .62fr) minmax(310px, 1.15fr);
  align-items: start;
  column-gap: clamp(42px, 6vw, 86px);
  row-gap: 32px;
}

.store-footer .footer-intro {
  min-width: 0;
}

.store-footer .footer-socials {
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.store-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.store-footer .footer-socials svg {
  display: block;
  width: 18px;
  height: 18px;
}

.store-footer .footer-commerce-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  width: min(1180px, 100%);
  margin: 30px auto 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.store-footer .footer-commerce-row .footer-payment-methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.store-footer .footer-commerce-row .footer-created-by {
  justify-self: center;
  align-self: center;
  margin: 0;
}

@media (max-width: 960px) {
  .store-footer .footer-main {
    grid-template-columns: minmax(260px, 1fr) minmax(180px, .7fr);
    gap: 36px 54px;
  }

  .store-footer .footer-newsletter-column {
    grid-column: 1 / -1;
    width: min(520px, 100%);
  }
}

@media (max-width: 680px) {
  .store-footer .footer-main,
  .store-footer .footer-main.without-newsletter {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
  }

  .store-footer .footer-newsletter-column {
    grid-column: auto;
    width: 100%;
  }

  .store-footer .footer-socials {
    gap: 7px;
  }

  .store-footer .footer-commerce-row {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 26px;
    width: 100%;
    margin-top: 28px;
  }

  .store-footer .footer-commerce-row .footer-created-by {
    justify-self: center;
  }
}

