/* module-hero-search.css — onglets du bloc « Trouvez votre pièce ».
   Ne redéfinit RIEN : la carte (.hero-card), les champs (.hero-search) et
   l'aide (.hero-hint) viennent de css/style.css. Ici : uniquement les onglets. */

.hero-tabs { display: flex; gap: 4px; margin: 0 0 14px; border-bottom: 2px solid var(--line); }

.hero-tab {
  flex: 1 1 0; min-width: 0;
  padding: 9px 10px 10px;
  border: 0; border-bottom: 3px solid transparent;
  background: transparent; cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 700; line-height: 1.2;
  color: var(--grey);
  border-radius: 8px 8px 0 0;
  margin-bottom: -2px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.hero-tab:hover { color: var(--charcoal); background: var(--bg-soft); }

.hero-tab:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.hero-tab.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
  background: transparent;
}

.hero-panel[hidden] { display: none !important; }

/* Petit écran : les libellés tiennent sur une ligne, pas d'overflow. */
@media (max-width: 560px) {
  .hero-tab { font-size: .8rem; padding: 8px 8px 9px; }
}
