/* facade.css
 * Grille 6 colonnes desktop, 4 colonnes mobile
 */

.taxonomy-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 767px) {
  .taxonomy-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.taxonomy-card {
  position: relative;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.taxonomy-card.selected {
  border-color: #0073aa;
}

.taxonomy-card:hover {
  transform: translateY(-2px);
}

.taxonomy-card input[type="radio"] {
  display: none;
}

.image-wrapper {
  width: 100%;
  height: 80px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 6px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 80px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.85rem;
  border-radius: 4px;
  margin-bottom: 6px;
}

.term-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}
