.product-card {
  align-items: center;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  gap: 32px;
  margin: 24px auto;
  max-width: 900px;
  padding: 24px 32px;
  position: relative;
}

.product-card__image {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

/* Shrinks to the image so the badge sits on the image's own corner, and rounds both together. */
.product-card__media {
  border-radius: 8px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  vertical-align: top;
}

.product-card__media img {
  display: block;
  height: auto;
  max-height: 210px;
  max-width: 100%;
  width: auto;
}

.product-card__badge {
  background: var(--secondary);
  border-radius: 0 0 12px 0;
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  left: 0;
  letter-spacing: 0.03em;
  line-height: 1.2;
  max-width: 100%;
  padding: 8px 16px;
  position: absolute;
  text-align: left;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.product-card__content {
  flex: 2 1 0;
  min-width: 0;
}

.product-card .product-card__title {
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 108%;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.product-card__description {
  color: var(--dark-grey);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.46;
  margin-bottom: 16px;
}

.product-card__description p:last-child {
  margin-bottom: 0;
}

/* Undo the article link styles. */
.product-card .product-card__cta {
  color: var(--white);
  text-decoration: none;
}

.affiliate-disclosure {
  background: var(--cream);
  border-left: 4px solid var(--primary);
  color: var(--dark-grey);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px;
  padding: 12px 16px;
}

@media (max-width: 600px) {
  .product-card {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }

  .product-card__image,
  .product-card__content {
    flex: none;
  }

  .product-card__media img {
    max-height: 180px;
  }
}
