.barre-recherche {
    display: flex;
    flex-direction: column;
    gap: var(--gndm-esp-3);
    margin-bottom: var(--gndm-esp-5);
}

@media (min-width: 768px) {
    .barre-recherche { flex-direction: row; align-items: flex-end; }
    .barre-recherche .champ { flex: 1; margin-bottom: 0; }
}

.compteur-resultats {
    color: var(--gndm-texte-doux);
    margin-bottom: var(--gndm-esp-3);
}

.tableau-livres {
    width: 100%;
    background-color: var(--gndm-blanc);
    border-radius: var(--gndm-rayon);
    overflow: hidden;
    box-shadow: var(--gndm-ombre);
}

.tableau-livres th,
.tableau-livres td {
    text-align: left;
    padding: var(--gndm-esp-2) var(--gndm-esp-3);
    border-bottom: 1px solid var(--gndm-bordure);
    font-size: 1rem;
    vertical-align: top;
}

.tableau-livres th {
    background-color: var(--gndm-beige);
    color: var(--gndm-noir);
    font-family: var(--gndm-police-titres);
    font-weight: 600;
}

.tableau-livres tr:last-child td {
    border-bottom: none;
}

/* Repartition des colonnes : titre large, categorie discrete */
.tableau-livres th:nth-child(1), .tableau-livres td:nth-child(1) { width: 42%; font-weight: 500; }
.tableau-livres th:nth-child(2), .tableau-livres td:nth-child(2) { width: 20%; }
.tableau-livres th:nth-child(3), .tableau-livres td:nth-child(3) { width: 8%; white-space: nowrap; }
.tableau-livres th:nth-child(4), .tableau-livres td:nth-child(4) { width: 30%; }

.tableau-livres td:nth-child(4) {
    color: var(--gndm-texte-doux);
    font-size: 0.9rem;
}

.tableau-conteneur {
    overflow-x: auto;
}

.tableau-livres {
    min-width: 680px;
}

.aucun-resultat {
    text-align: center;
    padding: var(--gndm-esp-6);
    color: var(--gndm-texte-doux);
}
