/* V2.0 — recherche compacte, filtres secondaires repliables */
.nf-compact-search{padding:clamp(14px,2vw,22px);margin-block:20px 24px}
.nf-compact-search .nf-search-primary{display:grid;grid-template-columns:minmax(0,1fr) minmax(165px,235px) auto;gap:12px;align-items:end}
.nf-compact-search .nf-keyword,.nf-compact-search .nf-category-field{min-width:0;display:flex;flex-direction:column;gap:6px}
.nf-compact-search .nf-category-field>label,.nf-compact-search .nf-keyword>label{font-size:.8rem;font-weight:700;margin:0}
.nf-compact-search .nf-search-primary input,.nf-compact-search .nf-search-primary select{box-sizing:border-box;width:100%;min-width:0;height:44px;margin:0;padding:9px 12px;border-radius:8px}
.nf-compact-search .nf-search-primary .btn{height:44px;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;margin:0}
.nf-compact-search .nf-search-details{margin-top:10px;border-top:1px solid rgba(90,65,48,.16);padding-top:8px}
.nf-compact-search .nf-search-details summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#794e43;font-size:.86rem;font-weight:650;padding:7px 2px;list-style:none}
.nf-compact-search .nf-search-details summary::-webkit-details-marker{display:none}
.nf-compact-search .nf-details-chevron{font-size:1.3rem;line-height:1;transition:transform .2s}
.nf-compact-search details[open] .nf-details-chevron{transform:rotate(180deg)}
.nf-compact-search .nf-advanced-content{padding:10px 0 4px}
.nf-compact-search .nf-cast-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.nf-compact-search .nf-cast-fields label{min-width:0;font-size:.78rem;font-weight:600;display:flex;flex-direction:column;gap:5px}
.nf-compact-search .nf-cast-fields input[type=number]{box-sizing:border-box;width:100%;min-width:0;height:40px;padding:7px 9px;margin:0;border:1px solid #c6b4a0;border-radius:7px;background:#fffdf9}
.nf-compact-search .nf-advanced-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}
.nf-compact-search .nf-advanced-bottom small{color:#78675c;font-size:.78rem}
.nf-compact-search .nf-free-check{display:inline-flex;align-items:center;gap:7px;font-size:.84rem;font-weight:600;cursor:pointer}
.nf-compact-search .nf-free-check input{width:auto;margin:0}
.nf-compact-search .search-reset{display:inline-block;margin-top:10px;font-size:.82rem}
@media(max-width:720px){.nf-compact-search .nf-search-primary{grid-template-columns:minmax(0,1fr) auto}.nf-compact-search .nf-keyword{grid-column:1/-1}.nf-compact-search .nf-category-field{grid-column:1}.nf-compact-search .nf-cast-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:400px){.nf-compact-search .nf-search-primary{grid-template-columns:1fr}.nf-compact-search .nf-category-field{grid-column:1}.nf-compact-search .nf-search-primary .btn{width:100%}.nf-compact-search .nf-cast-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
