.store-layout__footer {
  background-color: var(--tenant-footer-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.store-layout__mobile-divider {
  display: none;
}

.store-layout__brand-slot {
  width: min(100%, 230px);
  min-width: 10rem;
}

.store-layout__brand-logo-shell {
  position: relative;
  width: min(100%, 230px);
  height: 65px;
}

.store-layout__brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 65px;
  object-fit: contain;
  object-position: left center;
}

.store-layout__brand-logo-skeleton {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(255, 255, 255, 0.12) 100%
  );
  background-size: 200% 100%;
  animation: store-footer-logo-skeleton 1.2s ease-in-out infinite;
}

.store-layout__brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px dashed var(--border-color);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.store-layout__brand-text {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: #ffffff;
}

.store-layout__muted-text {
  color: rgba(255, 255, 255, 0.72);
}

.store-layout__footer-link {
  width: fit-content;
  color: #ffffff;
  text-decoration: none;

  &:hover,
  &:focus-visible {
    color: #ffffff;
    text-decoration: underline;
  }
}

.store-layout__footer-action {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}

@keyframes store-footer-logo-skeleton {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@media (max-width: 767.98px) {
  .store-layout__footer-content {
    padding: 1.45rem 2.5rem 1.8rem !important;
    font-size: 13px;
  }

  .store-layout__footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
  }

  .store-layout__footer-grid > * {
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .store-layout__links-column {
    order: 1;
    width: auto;
    padding-bottom: 1.65rem;
    line-height: 1.25;

    &:nth-of-type(even) {
      padding-left: 0.65rem;
    }

    > div {
      gap: 0.5rem !important;
    }
  }

  .store-layout__mobile-divider {
    display: block;
    order: 2;
    grid-column: 1 / -1;
    width: 100%;
    border-top: 1px solid var(--border-color);
  }

  .store-layout__brand-column,
  .store-layout__social-column {
    order: 3;
    width: auto;
    padding-top: 2rem;
  }

  .store-layout__brand-slot {
    width: min(100%, 150px);
    min-width: 0;
  }

  .store-layout__brand-logo {
    max-height: 55px;
  }

  .store-layout__brand-logo-shell {
    width: min(100%, 150px);
    height: 55px;
  }

  .store-layout__brand-text {
    font-size: 13px;
  }

  .store-layout__social-column {
    align-items: center;
  }

  .store-layout__social-list {
    justify-content: flex-end;
    gap: 0 !important;
  }

  .store-layout__contact {
    order: 4;
    grid-column: 1 / -1;
    width: auto;
    gap: 1.25rem !important;
    padding-top: 0.9rem;
    text-align: center;
  }

  .store-layout__contact-details {
    justify-items: center;
    gap: 0.4rem !important;
  }

  .store-layout__copyright {
    font-size: 11px;
    line-height: 1.3;
  }
}
