/* Listagem de kits */
.kits-page-header {
  margin-bottom: 2rem;
}

.kits-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.kits-page-desc {
  color: #64748b;
  margin: 0;
}

.kits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .kits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.kit-card {
  min-width: 0;
}

.kit-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kit-card-link:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.kit-card-media {
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
}

.kit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.kit-card-link:hover .kit-card-img {
  transform: scale(1.03);
}

.kit-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.kit-card-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.kit-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #0f172a;
}

.kit-card-link:hover .kit-card-title {
  color: #0d6efd;
}

.kit-card-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.kit-card-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e2e8f0;
  margin-left: -1rem;
  background: #f1f5f9;
}

.kit-card-avatar:first-child {
  margin-left: 0;
}

.kit-card-avatar--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

/* Detalhe do kit */
.kit-page-hero-block {
  margin-bottom: 2.5rem;
}

.kit-page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
  .kit-page-hero {
    grid-template-columns: minmax(0, 320px) 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
    align-items: center;
  }
}

.kit-page-hero-media {
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 4 / 3;
}

.kit-page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kit-page-hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
}

.kit-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.kit-page-description {
  color: #475569;
  line-height: 1.65;
  white-space: pre-wrap;
  margin: 0;
}

.kit-page-description--muted {
  font-style: italic;
}

.kit-page-products-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #0f172a;
}
