.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-links-footer {
  margin-top: 12px;
}

.store-links-inline {
  margin: 12px 0 0;
}

.store-links-note {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 42rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.store-badges-header {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: max-content;
  max-width: 100%;
}

.store-badges-header .store-badge-link {
  flex-shrink: 0;
}

.store-badges-header .store-badge-img {
  height: 38px;
  max-width: none;
}

.store-badges-hero {
  margin-top: 4px;
}

.store-badges-footer {
  margin-top: 12px;
}

.store-badges-inline {
  margin: 12px 0 0;
}

.store-badge-link {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge-link:hover,
.store-badge-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-badge-img {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
}

/* Taller header: Log in / Sign up on top, store badges underneath */
.site-header {
  min-height: 8rem;
}

.site-header .nav {
  min-height: 8rem;
  align-items: center;
}

.site-header .nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
  min-width: max-content;
}

.site-header .nav-cta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1100px) {
  .store-badges-header {
    display: none;
  }

  .site-header,
  .site-header .nav {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .store-badge-img {
    height: 40px;
  }
}
