/* Catálogo — Breadcrumb e contador */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: var(--lh-copy-sm);
  margin-bottom: 1rem;
}

@keyframes breadcrumbIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breadcrumb.breadcrumb-enter {
  animation: breadcrumbIn 0.24s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .breadcrumb.breadcrumb-enter {
    animation: none;
  }
}

.breadcrumb a {
  color: var(--text-accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  color: var(--text-light);
  user-select: none;
}

.breadcrumb .current {
  color: var(--text-secondary);
  font-weight: 400;
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.results-count {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(253, 105, 25, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(253, 105, 25, 0.12) 0%, rgba(253, 105, 25, 0.05) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0;
  font-weight: 400;
  white-space: nowrap;
}

.results-count[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .breadcrumb {
    gap: 0.2rem 0.35rem;
    margin-bottom: 0;
    font-size: 0.8rem;
  }

  .results-meta {
    width: 100%;
    gap: 0.5rem;
  }

  .results-count {
    min-height: 1.9rem;
    padding: 0.34rem 0.72rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 430px) {
  .breadcrumb {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .breadcrumb .separator {
    font-size: 0.72rem;
  }

  .results-count {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}