/* One rendered badge size and clear-space box in every store placement. */
.store-acquisition a.app-store-badge,
.store-acquisition a.play-badge {
  box-sizing: content-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 12px !important;
  margin: 0;
}

.store-acquisition a.app-store-badge img,
.store-acquisition a.play-badge img {
  display: block;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  object-fit: fill !important;
  margin: 0;
  padding: 0;
}

/* SVG viewBoxes preserve their own ratio. Scale their visible bounds to the
   same 160 by 48 rectangle as the Google Play artwork. */
.store-acquisition a.app-store-badge img {
  width: 143.596884px !important;
  min-width: 143.596884px !important;
  max-width: 143.596884px !important;
  transform: scaleX(1.1142303061) !important;
}

.store-acquisition a.app-store-badge img[src*="-fr-fr-"] {
  width: 151.809012px !important;
  min-width: 151.809012px !important;
  max-width: 151.809012px !important;
  transform: scaleX(1.0539558753) !important;
}

/* Let the existing store options wrap according to their available width. */
.hero .hero-store-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero .hero-store-option {
  flex: 1 1 184px;
  min-width: 184px;
}
