/* Bloc « Produits » de la fiche boulangerie — charte : texte Encre, métadonnées Encre secondaire, filets Bordure. */

.mbb-products__group {
    margin: 1.25rem 0 .25rem;
    font-family: var(--mbb-font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mbb-ink-2);
}

.mbb-products__group:first-of-type {
    margin-top: .75rem;
}

.mbb-products__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mbb-products__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .75rem;
    padding: .5rem 0;
    border-top: 1px solid var(--mbb-border);
    min-height: 2.75rem; /* cible tactile */
}

.mbb-products__name {
    font-weight: 600;
    margin-right: auto;
}

.mbb-products__name a {
    color: var(--mbb-ink);
    text-decoration: none;
}

.mbb-products__name a:hover {
    color: var(--mbb-crust-dark);
    text-decoration: underline;
}

.mbb-products__note,
.mbb-products__price {
    font-size: .8125rem;
    color: var(--mbb-ink-2);
}

.mbb-products__price {
    font-weight: 600;
    color: var(--mbb-ink);
}

.mbb-products__hint {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    cursor: help;
}

.mbb-products__empty {
    color: var(--mbb-ink-2);
}

.mbb-products__report-slot:empty {
    display: none;
}

/* Photo de signalement (visible après validation admin) */
.mbb-products__photo {
    width: 56px;
    height: 56px;
    flex: none;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--mbb-border);
}

/* « N'est plus vendu ? » : discret, jamais en concurrence avec le nom du produit */
.mbb-products__removed-btn {
    padding: .25rem 0;
    border: 0;
    background: none;
    font-size: .75rem;
    color: var(--mbb-ink-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    min-height: 2rem;
}

.mbb-products__removed-btn:hover {
    color: var(--mbb-crust-dark);
}

/* Fiche sans produit : invite visible à la place du bloc vide */
.mbb-products__invite {
    margin-top: .75rem;
    padding: 1.25rem;
    border-radius: var(--mbb-radius-card);
    background: var(--mbb-crumb);
    border: 1px solid var(--mbb-border);
}

.mbb-products__invite-title {
    font-family: var(--mbb-font-display);
    font-size: 1.125rem;
    font-weight: 600;
}

.mbb-products__report-slot {
    margin-top: 1rem;
}

/* Description et allergènes d'un produit : discrets, sous le nom, sur toute la largeur */
.mbb-products__extra {
    flex-basis: 100%;
    order: 5;
    display: flex;
    flex-direction: column;
    gap: .125rem;
    font-size: .8125rem;
    color: var(--mbb-ink-2);
}

.mbb-products__allergens summary {
    display: inline-block;
    cursor: pointer;
    min-height: 1.5rem;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}
