.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.stud-card {
  min-width: 260px;
  background: var(--color-surface);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.stud-card__image-link img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.stud-card__body {
  padding: 10px 12px 12px;
}

.stud-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 4px;
}

.stud-card__header h3 {
  font-size: 0.95rem;
}

.stud-card__price {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.stud-card__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.stud-card__health {
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.stud-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.breed-card {
  min-width: 160px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.breed-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.breed-card__body {
  padding: 10px 12px 12px;
}

.breed-card__body h3 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.breed-card__body p {
  font-size: 0.8rem;
}

.recent-list {
  display: grid;
  gap: 10px;
}

.recent-item {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.recent-item__image-link img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

.recent-item__header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.recent-item__header h3 {
  font-size: 0.9rem;
}

.recent-item__price {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.recent-item__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.recent-item__health {
  font-size: 0.8rem;
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  padding-block: 3px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}

.pill-soft {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.stat-card {
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.stat-value {
  font-weight: 700;
  font-size: 1.4rem;
}

.stat-value.small {
  font-size: 1.1rem;
}

.stat-footnote {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.trust-badge {
  background: var(--color-accent-soft);
  border-radius: 14px;
  padding: 10px 12px;
}

.trust-badge p {
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 90px;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -6px);
}

@media (min-width: 768px) {
  .recent-item {
    grid-template-columns: 26% 1fr;
  }
}
