.store-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
}

.store-badges > .play-badge {
  min-width: 0;
}

.play-badge.app-store-badge,
.play-badge.app-store-badge:hover {
  border-color: rgba(132, 247, 199, .28);
  background: linear-gradient(140deg, rgba(21, 50, 52, .9), rgba(8, 31, 40, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045);
  transform: none;
}

.map-play-badge.app-store-badge,
.map-play-badge.app-store-badge:hover {
  border-color: #385b55;
  background: #030c11;
  justify-content: flex-start;
}

.app-store-badge small {
  font-weight: 800;
}

.play-badge.app-store-badge small {
  color: #b2cfc8;
  text-transform: uppercase;
}

.app-store-badge .apple-mark {
  width: 30px;
  height: 30px;
  flex: none;
  object-fit: contain;
}

.hero-actions .store-badges {
  flex: 0 1 auto;
  width: min(432px, 100%);
}

.download-action,
.cta-store-action {
  max-width: 100%;
}

.download-action .store-badges,
.cta-store-action .store-badges {
  width: 432px;
}

.cta-store-action .store-badges {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .cta-panel--store {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .download-action {
    margin-left: 0;
  }
}

@media (min-width: 581px) {
  .store-badges > .map-play-badge {
    min-width: 190px;
  }
}

@media (max-width: 620px) {
  .map-app-promo > .store-badges {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .hero-actions .store-badges,
  .download-action .store-badges,
  .cta-store-action .store-badges {
    width: 100%;
  }

  .hero-actions .store-badges {
    flex-basis: 100%;
  }

  .store-badges > .play-badge,
  .store-badges > .map-play-badge {
    padding-inline: 9px;
    gap: 7px;
    justify-content: center;
  }

  .store-badges .play-badge-text strong,
  .store-badges .map-play-badge strong {
    font-size: 17px;
    white-space: nowrap;
  }

  .store-badges .play-mark,
  .store-badges .map-play-badge svg,
  .store-badges .apple-mark {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
  }

  .store-badges .play-badge-arrow,
  .store-badges .map-play-badge b {
    display: none;
  }
}

@media (max-width: 370px) {
  .store-badges {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

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

.app-store-badge--compact {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 5px 9px;
  min-height: 30px;
  width: max-content;
  max-width: 100%;
  border: 1px solid #385b55;
  border-radius: 8px;
  background: #0b222b;
  color: #eefcf8;
}

.app-store-badge--compact .apple-mark {
  width: 18px;
  height: 18px;
}

.app-store-badge--compact .play-badge-text {
  display: grid;
}

.app-store-badge--compact small {
  color: #b2cfc8;
  font-size: 9px;
  line-height: 1.15;
}

.app-store-badge--compact strong {
  color: #eefcf8;
  font-size: 12px;
  line-height: 1.1;
}
