/* --- Footer Component (Nested) --- */
.site-footer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 2rem 0;
  text-align: left;
  margin-bottom: 2em;

  .container {
    padding: 0 10px;
  }

  a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);

    &:first-of-type {
      margin-left: 0;
    }

    &:hover {
      color: #bcbcbc;
      text-decoration: none;
    }
  }

  /* Store Badges in Footer */
  .footer-store-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;

    .store-badge img {
      height: 32px;
    }
  }

  /* Logged In Content */
  .footer-logged-in-content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;

    &>div:first-child {
      flex: 1;
    }
  }

  /* Shared Responsive logic for site-footer */
  @media (max-width: 768px) {
    text-align: center;
    padding-bottom: 0;

    div[style*="align-items: flex-end"] {
      align-items: center !important;
      margin-top: 1rem;
    }

    .footer-logged-in-content {
      flex-direction: column;
      text-align: center;
    }
  }
}

/* Privacy & Lang Switch (often in footer) */
.privacy-footer-info {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;

  a {
    color: var(--accent);
    text-decoration: underline;
  }
}

.lang-switch-footer {
  display: flex;
  font-weight: 600;
  gap: 1rem;
  justify-content: center;

  a {
    text-decoration: none;
  }
}

/* Specific Footer Helpers */
.login-page-wrapper+.site-footer {
  background-color: transparent !important;
  border-top: none;
  padding-bottom: 4rem;
}

.map-footer {
  padding-top: 0.5rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 0.5rem;
}

/* Legacy / Mobile Nav (Standard) */
.mobile-nav {
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  backdrop-filter: blur(20px);
  background: #121212;
  border-top: 1px solid var(--glass-border);
  bottom: 0;
  box-sizing: border-box;
  display: none;
  justify-content: space-around;
  left: 0;
  padding-bottom: calc(0px + env(safe-area-inset-bottom));
  padding-top: 10px;
  position: fixed;
  right: 0;
  z-index: 1000;
}

.nav-item {
  align-items: center;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  font-weight: 500;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  width: 20%;

  svg {
    height: 24px;
    margin-bottom: 4px;
    opacity: 0.6;
    stroke-width: 1.5;
    transition: var(--transition);
    width: 24px;
  }

  &.active {
    color: var(--accent);

    svg {
      opacity: 1;
      stroke: var(--accent);
    }
  }
}