.where-to-buy-list {
  display: flex;
  flex-flow: row wrap;
  margin-top: 24px;
}

.where-to-buy-card {
  display: flex;
  height: calc(100% - 30px);
  margin: 15px 0;
}

.where-to-buy-card__link,
.where-to-buy-card__link:hover,
.where-to-buy-card__link:focus,
.where-to-buy-card__link:active,
.where-to-buy-card__link:visited {
  color: var(--white_text_black);
  text-decoration: none;
}

.where-to-buy-card__link {
  display: flex;
  width: 100%;
  min-height: 304px;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  background: var(--card_bg_black);
  border: 1px solid var(--stroke_black);
  border-radius: 3px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.where-to-buy-card__link:hover,
.where-to-buy-card__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--theme-base-color);
}

.where-to-buy-card__logo {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  padding: 26px 34px;
  background: #fff;
  border-radius: 3px;
}

.where-to-buy-card__logo img {
  display: block;
  width: auto;
  max-width: 78%;
  height: auto;
  max-height: 54px;
}

.where-to-buy-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 4px 2px;
}

.where-to-buy-card__heading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.where-to-buy-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.where-to-buy-card__status {
  padding: 5px 9px;
  color: #f4510b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(244, 81, 11, 0.45);
  border-radius: 3px;
}

.where-to-buy-card__description {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.where-to-buy-card__action {
  margin-top: auto;
  padding-top: 16px;
  color: var(--theme-base-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .where-to-buy-list {
    margin-top: 14px;
  }

  .where-to-buy-card {
    height: auto;
    margin: 8px 0;
  }

  .where-to-buy-card__link {
    min-height: 0;
    padding: 16px;
  }

  .where-to-buy-card__logo {
    min-height: 112px;
    padding: 22px;
  }

  .where-to-buy-card__content {
    padding-top: 18px;
  }
}

@media (max-width: 430px) {
  .where-to-buy-card__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .where-to-buy-card__logo img {
    max-width: 88%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .where-to-buy-card__link {
    transition: none;
  }
}
