/* =========================================================
   MON CARNET GOURMAND
   V1.6.0.8.3 — DERNIER POLISH DU SÉLECTEUR

   À charger après ingredient-picker.css V1.6.0.7e.
   ========================================================= */

/*
 * Les intitulés plus précis restent lisibles dans la grille
 * compacte validée, y compris lorsqu’ils occupent deux lignes.
 */
.ingredient-category-button {
    min-height: 46px;
    padding-right: 4px;
    padding-left: 4px;
    line-height: 1.16;
    text-wrap: balance;
}

/*
 * Un ingrédient personnel reste visuellement cohérent avec
 * la bibliothèque officielle, avec une distinction discrète.
 */
.ingredient-picker-item.is-personal,
.ingredient-cart-row.is-personal {
    border-color:
        rgba(125, 146, 112, 0.38);
    background:
        linear-gradient(
            135deg,
            rgba(241, 246, 237, 0.96),
            rgba(255, 255, 255, 0.86)
        );
}

.ingredient-picker-item.is-personal
.ingredient-picker-item-icon,
.ingredient-cart-row.is-personal
.ingredient-cart-row-icon {
    background:
        rgba(226, 237, 218, 0.95);
}

.ingredient-picker-item.is-personal
.ingredient-picker-item-content small {
    color: var(--color-green-dark, #526548);
}

@media (max-width: 359px) {
    .ingredient-category-button {
        min-height: 44px;
        font-size: 7.8px;
    }
}
