/* BidSpot — Site footer. Every page renders the same <footer class="site-footer">,
   so these rules live in their own file that all ten pages link, rather than inside
   pages.css (static/legal pages only) — categories.html, today.html, analytics.html
   and product.html all shipped the footer markup without ever loading its stylesheet,
   so it rendered as a bare unstyled stack of links. */

.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 36px 28px;
  font-family: var(--font-sans);
  /* body is a flex column on the app pages — keep the footer at its natural height
     instead of stretching to fill leftover space on a short page. */
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.site-footer-links a:hover { color: var(--accent-primary); }

.site-footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .site-footer { padding: 28px 20px; }
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-footer-links { gap: 14px; }
}
