/* Recherche instantanée (Catalogue\Suggestions, Phase 16 nonies) : panneau sous le champ de l'en-tête, aperçu en grand
 * (ordinateur), plein écran (téléphone). Maquettes : docs/maquettes/v2/phase16nonies/. */
.df-recherche .search-form { position: relative; }
.df-sugg { position: absolute; z-index: 1000; top: calc(100% + 6px); left: 0; right: 0; max-height: min(78vh, 680px); overflow-y: auto; overscroll-behavior: contain; background: var(--df-blanc, #fff); color: var(--df-encre, #1c2a26); border: 1px solid var(--df-trait, #e3dcc9); border-radius: var(--df-rayon-lg, 12px); box-shadow: 0 24px 60px -20px rgba(14, 24, 21, .55); font-family: var(--df-police-texte, inherit); text-align: left; }
.df-sugg[hidden] { display: none; }
.df-sugg--large { right: auto; display: grid; grid-template-columns: 560px minmax(0, 1fr); overflow: hidden; max-height: none; }
.df-sugg--large .df-sugg__col { max-height: min(78vh, 680px); overflow-y: auto; overscroll-behavior: contain; }
.df-sugg__col { min-width: 0; padding: 6px 8px 0; }
.df-sugg__liste { list-style: none; margin: 0; padding: 0 0 6px; }
.df-sugg__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 10px 4px; padding: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--df-texte-pale, #646e6a); }
.df-sugg__h small { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.df-sugg__option { position: relative; margin: 0; padding: 0; border-radius: 8px; }
.df-sugg__option > a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; color: inherit; text-decoration: none; border-radius: 8px; font-size: 14.5px; }
.df-sugg__option[aria-selected="true"], .df-sugg__option:hover { background: var(--df-sauge-pale, #edf1ea); }
.df-sugg__option[aria-selected="true"] > a { outline: 2px solid var(--df-sauge, #8aa38f); outline-offset: -2px; }
.df-sugg__option b { font-weight: 700; }
.df-sugg__ic { flex: none; display: inline-grid; place-items: center; }
.df-sugg__terme .df-sugg__ic:first-child, .df-sugg__renvoi .df-sugg__ic:first-child { width: 34px; height: 34px; border-radius: 50%; background: var(--df-creme, #f8f4ea); color: var(--df-vert, #294c45); }
.df-sugg__terme .df-sugg__ic:last-child { color: var(--df-texte-pale, #646e6a); }
.df-sugg__nb { flex: none; font-size: 12.5px; color: var(--df-texte-pale, #646e6a); }
.df-sugg__sous { font-size: 12px; color: var(--df-texte-pale, #646e6a); }
.df-sugg__contenance { display: block; font-size: 12px; color: var(--df-texte-pale, #646e6a); }
.df-sugg__tel { display: inline-block; min-height: 44px; line-height: 44px; font-weight: 700; color: var(--df-vert, #294c45); }
.df-sugg__vignette { flex: none; width: 40px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--df-creme, #f8f4ea); }
.df-sugg__vignette--vide { display: block; }
.df-sugg__texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.df-sugg__producteur { font-size: 12px; color: var(--df-texte-pale, #646e6a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.df-sugg__titre { font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.df-sugg__terme .df-sugg__titre { font-weight: 500; }
.df-sugg__prix { flex: none; text-align: right; font-size: 14px; font-weight: 600; white-space: nowrap; }
.df-sugg__prix del { display: block; font-weight: 400; font-size: 12px; color: var(--df-texte-pale, #646e6a); }
.df-sugg__prix em { display: block; font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--df-texte-pale, #646e6a); }
.df-sugg__prix em.df-sugg__stock { color: #3f7d52; }
.df-sugg__tout { margin: 4px -8px 0; border-top: 1px solid var(--df-trait, #e3dcc9); border-radius: 0; }
.df-sugg__tout > a { justify-content: center; padding: 12px; font-size: 14px; font-weight: 600; color: var(--df-vert, #294c45); border-radius: 0; }
.df-sugg__vide { margin: 0; padding: 14px 10px 6px; font-size: 14px; color: var(--df-texte-pale, #646e6a); }
.df-sugg__cor { margin: 8px 10px 2px; font-size: 13px; color: var(--df-texte-pale, #646e6a); }
.df-sugg__cor b { color: var(--df-encre, #1c2a26); }
.df-sugg__etat { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.df-sugg__plus { display: none; }
.df-sugg__retour { display: none; }

/* Attente (demande du 08/10/2026) : lignes grises dès la frappe, ou résultats déjà affichés pâlis jusqu'aux nouveaux */
.df-sugg--attente .df-sugg__col { opacity: .45; transition: opacity .15s ease .1s; }
.df-sugg__squelette { display: flex; align-items: center; gap: 12px; margin: 0; padding: 7px 10px; }
.df-sugg__squelette:first-child { margin-top: 8px; }
.df-sugg__sq-img, .df-sugg__sq-ligne, .df-sugg__sq-prix { display: block; border-radius: 6px; background: linear-gradient(90deg, #ece6d8 0%, #f6f2e8 40%, #ece6d8 80%) 0 0 / 300% 100%; animation: df-sugg-reflet 1.3s linear infinite; }
.df-sugg__sq-img { flex: none; width: 40px; height: 48px; }
.df-sugg__sq-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.df-sugg__sq-ligne { height: 12px; width: 82%; }
.df-sugg__sq-ligne--courte { height: 10px; width: 38%; }
.df-sugg__sq-prix { flex: none; width: 52px; height: 14px; }
.df-sugg__squelette:nth-child(2n) .df-sugg__sq-ligne:not(.df-sugg__sq-ligne--courte) { width: 64%; }
@keyframes df-sugg-reflet { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
	.df-sugg__sq-img, .df-sugg__sq-ligne, .df-sugg__sq-prix { animation: none; }
	.df-sugg--attente .df-sugg__col { transition: none; }
}

/* Champ vide : puces des recherches populaires, dernières recherches */
.df-sugg__puce { display: inline-block; margin: 4px 0 4px 8px; vertical-align: top; }
.df-sugg__puce > a { gap: 6px; height: 34px; padding: 0 14px; border: 1.5px solid var(--df-trait, #e3dcc9); border-radius: 17px; background: #fff; font-size: 14px; font-weight: 600; color: var(--df-texte, #46524e); }
.df-sugg__puce[aria-selected="true"], .df-sugg__puce:hover { background: none; }
.df-sugg__puce[aria-selected="true"] > a, .df-sugg__puce:hover > a { border-color: var(--df-sauge, #8aa38f); background: var(--df-sauge-pale, #edf1ea); outline-offset: 1px; border-radius: 17px; }
.df-sugg__puce .df-sugg__ic { color: var(--df-sauge, #8aa38f); }
.df-sugg__recente > a { padding-right: 44px; }
.df-sugg__recente .df-sugg__ic { color: var(--df-texte-pale, #646e6a); }
.df-sugg__oublier { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--df-texte-pale, #646e6a); cursor: pointer; }
.df-sugg__oublier:hover { background: var(--df-creme, #f8f4ea); color: var(--df-encre, #1c2a26); }
.df-sugg__effacer { padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--df-vert, #294c45); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Aperçu en grand (ordinateur, 1024 px et plus) */
.df-sugg__apercu { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--df-trait, #e3dcc9); background: #fff; }
.df-sugg__apercu[hidden] { display: none; }
.df-sugg__ap-img { position: relative; display: grid; place-items: center; height: 300px; background: var(--df-creme, #f8f4ea); }
.df-sugg__ap-img img { max-height: 270px; max-width: 90%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.df-sugg__ap-bio { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 12px; background: #fff; font-size: 12px; font-weight: 600; color: var(--df-vert, #294c45); }
.df-sugg__ap-c { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 20px; }
.df-sugg__ap-prod { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--df-texte-pale, #646e6a); }
.df-sugg__ap-nom { margin: 0; font-family: var(--df-police-titre, serif); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--df-encre, #1c2a26); }
.df-sugg__ap-sous { font-size: 13.5px; color: var(--df-texte, #46524e); }
.df-sugg__ap-note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--df-texte, #46524e); }
.df-sugg__ap-note i { font-style: normal; letter-spacing: 1px; color: #c08a2e; }
.df-sugg__ap-ext { margin: 4px 0 2px; font-size: 13.5px; line-height: 1.5; color: var(--df-texte, #46524e); }
.df-sugg__ap-lig { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.df-sugg__ap-prix { font-size: 22px; font-weight: 700; color: var(--df-encre, #1c2a26); }
.df-sugg__ap-prix del { margin-right: 6px; font-size: 14px; font-weight: 400; color: var(--df-texte-pale, #646e6a); }
.df-sugg__ap-prix small { font-size: 12px; font-weight: 500; color: var(--df-texte-pale, #646e6a); }
.df-sugg__ap-dispo { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #86560f; text-align: right; }
.df-sugg__ap-dispo::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.df-sugg__ap-dispo--physique { color: #3f7d52; }
.df-sugg__ap-dispo--epuise { color: var(--df-texte-pale, #646e6a); }
.df-sugg__ap-acts { display: flex; gap: 10px; margin-top: 10px; }
.df-sugg__qte { display: inline-flex; align-items: center; height: 46px; border: 1.5px solid var(--df-trait, #e3dcc9); border-radius: 8px; }
.df-sugg__qte button { display: grid; place-items: center; width: 38px; height: 100%; padding: 0; border: 0; background: none; font-size: 18px; color: var(--df-vert, #294c45); cursor: pointer; }
.df-sugg__qte input { width: 36px; height: 100%; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; text-align: center; color: var(--df-encre, #1c2a26); -moz-appearance: textfield; }
.df-sugg__qte input::-webkit-inner-spin-button, .df-sugg__qte input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.df-sugg__ajouter { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--df-vert, #294c45); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.df-sugg__ajouter:hover { background: var(--df-vert-fonce, #1f3b35); }
.df-sugg__ajouter:focus-visible { outline: 3px solid var(--df-sauge, #8aa38f); outline-offset: 2px; }
.df-sugg__ajouter[disabled] { opacity: .55; cursor: default; }
.df-sugg__ap-msg { margin: 0; font-size: 13px; color: var(--df-bordeaux, #721f31); }
.df-sugg__ap-msg:empty { display: none; }
.df-sugg__ap-fiche { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--df-vert, #294c45); text-decoration: underline; text-underline-offset: 3px; }
.df-sugg__ap-ref { font-size: 12px; color: var(--df-texte-pale, #646e6a); }

/* Message « ajouté au panier » */
.df-sugg__toast { position: sticky; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding: 12px 14px; border-radius: 10px; background: var(--df-encre, #1c2a26); color: #fff; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.df-sugg__toast[hidden] { display: none; }
.df-sugg__toast a { margin-left: auto; color: #b9ccb5; text-decoration: underline; }

/* Téléphone : la recherche en plein écran */
@media (max-width: 767px) {
	html.df-sugg-ouvert, html.df-sugg-ouvert body { overflow: hidden; }
	.df-recherche .search-form.df-recherche-plein { position: fixed; inset: 0; z-index: 3000; display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 8px; padding: 10px 12px; background: var(--df-blanc, #fff); }
	.df-recherche-plein .df-sugg__retour { display: grid; place-items: center; flex: none; width: 40px; height: 46px; padding: 0; border: 0; background: none; color: var(--df-vert, #294c45); cursor: pointer; }
	.df-recherche-plein .search-form__container { flex: 1; min-width: 0; height: 46px; border: 2px solid var(--df-vert, #294c45); }
	.df-recherche-plein .search-form__field { font-size: 16px; }
	.df-recherche-plein .df-sugg { position: static; flex: 0 0 calc(100% + 24px); margin: 2px -12px -10px; height: calc(100vh - 66px); height: calc(100dvh - 66px); max-height: none; border: 0; border-top: 1px solid var(--df-trait, #e3dcc9); border-radius: 0; box-shadow: none; }
	.df-recherche-plein .df-sugg__col { padding: 4px 8px 0; }
	.df-recherche-plein .df-sugg__tout { position: sticky; bottom: 0; z-index: 1; margin: 6px -8px 0; padding: 12px 16px 18px; border-top: 1px solid var(--df-trait, #e3dcc9); background: #fff; }
	.df-recherche-plein .df-sugg__tout > a { height: 46px; padding: 0 12px; border-radius: 8px; background: var(--df-vert, #294c45); color: #fff; font-size: 15px; font-weight: 700; }
	.df-recherche-plein .df-sugg__tout[aria-selected="true"] { background: #fff; }
	.df-sugg__produit > a { padding-right: 58px; }
	.df-sugg__plus { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--df-vert, #294c45); color: #fff; cursor: pointer; }
	.df-sugg__plus.is-ok { background: #3f7d52; }
	.df-sugg__plus[disabled] { opacity: .6; }
	.df-sugg__vignette { width: 38px; height: 46px; }
	.df-sugg__h { margin: 12px 8px 6px; }
	.df-sugg__terme { display: inline-block; margin: 2px 0 2px 6px; vertical-align: top; max-width: calc(100% - 12px); }
	.df-sugg__terme > a { gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--df-sauge-pale, #edf1ea); font-size: 14px; white-space: nowrap; }
	.df-sugg__terme .df-sugg__ic, .df-sugg__terme .df-sugg__sous { display: none; }
	.df-sugg__terme .df-sugg__texte { flex: 0 1 auto; }
	.df-sugg__terme .df-sugg__titre { display: block; white-space: nowrap; text-overflow: ellipsis; }
	.df-sugg__terme .df-sugg__nb { font-size: 12px; }
	.df-sugg__terme .df-sugg__nb::before { content: ""; }
	.df-sugg__toast { position: fixed; left: 16px; right: 16px; bottom: 96px; margin: 0; }
}
