.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

#available.section-shell,
#development.section-shell {
  width: min(90%, 107.5rem);
}

.product-card > * {
  min-width: 0;
}

.product-card h3 {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.product-card > p,
.product-card > strong {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.starter-offer,
.free-threshold {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.starter-offer {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
  font-weight: 800;
}

.free-threshold {
  color: var(--muted);
}

.product-visual-link {
  display: block;
  border-radius: 0.85rem;
}

.product-visual-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.product-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.product-action {
  width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.68rem 0.72rem;
  line-height: 1.25;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-action span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-pricing {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--surface-soft);
}

.product-pricing summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  color: var(--foreground);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-pricing summary svg {
  width: 1rem;
}

.product-pricing ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0 0.75rem 0.75rem;
  list-style: none;
}

.product-pricing .tier-rule {
  margin: 0;
  padding: 0 0.75rem 0.6rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.product-pricing li {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--surface);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

html:lang(de) .product-action,
html:lang(es) .product-action {
  font-size: clamp(0.78rem, 1vw, 0.88rem);
}

html:lang(de) .product-card > p,
html:lang(es) .product-card > p {
  font-size: 0.94rem;
}

@media (min-width: 701px) and (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .product-pricing ul {
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }
}
