.store-badge {
  --badge-height: 40px;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  vertical-align: middle;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}
.store-badge-art {
  display: block;
  position: relative;
  flex: none;
  width: calc(var(--badge-height) * 2.9916);
  height: var(--badge-height);
  overflow: hidden;
}
.store-badge-art img {
  display: block;
  width: 100%;
  height: 100%;
}
.store-badge--google .store-badge-art {
  width: calc(var(--badge-height) * 564 / 168);
}
/* The official Play PNG includes 41 transparent pixels on each edge. */
.store-badge--google img {
  position: absolute;
  left: calc(var(--badge-height) * -41 / 168);
  top: calc(var(--badge-height) * -41 / 168);
  max-width: none;
  width: calc(var(--badge-height) * 646 / 168);
  height: calc(var(--badge-height) * 250 / 168);
}
.store-badge:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.store-badge-title {
  font-weight: 700;
}
.store-badge:has(.store-badge-title) {
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 10px;
}
.card-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-block: 8px 4px;
}
.card-store-badges + .card-details {
  display: block;
}

@media (max-width: 360px) {
  .catalog .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
