/* Blocos entre categorias removidos (áreas marcadas em vermelho no layout) */
.home-pills-section--between-categories,
#search-banner .home-pills-section {
  display: none !important;
}

/* Pílulas compactas — páginas de categoria (Instagram, TikTok, etc.) */
.home-pills-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.home-pills-section--compact {
  padding: 10px 0 0;
  margin-top: 4px;
}

.home-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-height: 30px;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  opacity: 0.95;
}

a.home-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  opacity: 1;
  text-decoration: none;
  color: #fff;
}

.home-pill-icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.home-pill-text {
  text-align: left;
  white-space: nowrap;
}

.home-pills-section--compact .home-pill {
  min-height: 28px;
  padding: 5px 12px;
  font-size: 11px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

#search-banner .home-pills-section--compact {
  padding-left: 0;
  padding-right: 0;
  margin-top: 10px;
}

#search-banner .home-pills-section--compact .home-pills-row {
  justify-content: center;
}

/* Entre blocos de categoria (ex.: Seguidores → Curtidas) — bem pequenas */
.home-pills-section--between-categories {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 6px 1.25rem 18px;
  box-sizing: border-box;
}

.home-pills-section--between-categories .home-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.home-pills-section--between-categories .home-pill {
  min-height: 22px;
  padding: 3px 9px;
  font-size: 9.5px;
  font-weight: 600;
  gap: 4px;
  opacity: 0.92;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.home-pills-section--between-categories .home-pill-icon {
  font-size: 11px;
}

.home-pills-section--between-categories .home-pill-text {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-category-section + .home-pills-section--between-categories,
.home-pills-section--between-categories {
  margin-top: -4px;
}

@media (max-width: 768px) {
  .home-pills-section--compact .home-pills-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .home-pills-section--compact .home-pills-row::-webkit-scrollbar {
    display: none;
  }

  .home-pill-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .home-pill {
    font-size: 10px;
    padding: 4px 10px;
  }

  .home-pill-icon {
    font-size: 12px;
  }

  .home-pills-section--between-categories .home-pill {
    min-height: 20px;
    padding: 2px 7px;
    font-size: 8.5px;
  }

  .home-pills-section--between-categories .home-pill-icon {
    font-size: 10px;
  }

  .home-pills-section--between-categories .home-pill-text {
    max-width: 88px;
  }
}
