/* ============================================================
   CLAPXSE — Explorar
   ============================================================ */

.explore-page {
  padding: 14px 16px 90px;
  min-height: 100dvh;
}

.explore-search {
  position: relative;
  margin-bottom: 18px;
}

.explore-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: var(--text-faint);
}

.explore-search input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 11px 14px 11px 38px;
  font-size: 14px;
  outline: none;
}

.explore-search input:focus {
  border-color: var(--accent);
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 12px;
}

.section-title:first-of-type {
  margin-top: 4px;
}

/* -------- Categorías -------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
}

/* -------- Resultados de usuarios -------- */
.user-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.user-result-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
}

.user-result-row .name {
  font-weight: 700;
  font-size: 14px;
}

.user-result-row .meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* -------- Grid de posts (reutiliza estructura del perfil) -------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.explore-grid a {
  display: block;
  aspect-ratio: 3/4;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.explore-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 30px 10px;
}
