/* Marketplace tier-row preview (variable product cards) */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__media {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__media .app-icon-img {
  width: 120px;
  height: 120px;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.7em * 3);
  text-overflow: ellipsis;
}

.product-card .price-row {
  margin-top: auto;
}

.tier-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.tier-row .tier {
  border: 1px solid var(--border, #e4e7ec);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: 0.16s ease;
  font: inherit;
}

.tier-row .tier strong {
  display: block;
  font-size: 12px;
}

.tier-row .tier span {
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-top: 4px;
}

.tier-row .tier small {
  display: block;
  font-size: 10px;
  color: #667085;
  margin-top: 3px;
}

.tier-row .tier.is-selected {
  border-color: #008ed6;
  background: rgba(0, 142, 214, 0.1);
  box-shadow: 0 0 0 2px rgba(0, 142, 214, 0.14);
}

.product-card .current,
.product .tier-current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 16px;
  background: #f7f8fa;
  font-weight: 850;
  margin-bottom: 14px;
  font-size: 14px;
  text-align: center;
}

.product-card .trial,
.product .tier-trial {
  width: max-content;
  margin: 0 auto 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0, 142, 214, 0.1);
  color: #008ed6;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 720px) {
  .tier-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .tier-row .tier {
    padding: 8px 4px;
  }
}
