/* Keep navigation visible without covering the cart or its overlay. */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fff;
  height: auto;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 12px;
  flex-wrap: wrap;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-header .site-logo {
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  transition: width .25s ease, height .25s ease;
}
.site-header.is-scrolled .site-logo { width: 40px; height: 40px; }
.site-header .site-wordmark { white-space: nowrap; font-size: inherit; vertical-align: baseline; margin-left: 0; }
/* Move the whole card gently, without changing photo opacity or cropping it. */
.listing-grid > article.card-arrived { animation: card-arrive .48s cubic-bezier(.2,.65,.3,1); }
@keyframes card-arrive { from { transform: translateY(24px); } to { transform: translateY(0); } }
@media (max-width: 650px) {
  header.site-header { min-height: 64px; }
  .site-header .site-logo { width: 42px; height: 42px; }
  .site-header.is-scrolled .site-logo { width: 34px; height: 34px; }
  .site-header .brand { gap: 8px; }
  .site-header .site-wordmark { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .listing-grid > article.card-arrived { animation: none; }
  .site-header .site-logo { transition: none; }
}
