/* CJ Filtres */
/* L'ancien encart « Matières » du thème est remplacé par le panneau */
.cj-facet { display: none !important; }

.cjf-panel { border: 1px solid #eee; margin-bottom: 20px; background: #fff; font-family: 'Roboto', sans-serif; }
.cjf-panel.is-loading { opacity: .55; pointer-events: none; }
.cjf-head { background: #ed5c2d; color: #fff; padding: 13px 16px; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.cjf-block { padding: 14px 14px 10px; border-bottom: 1px solid #eee; }
.cjf-block:last-of-type { border-bottom: 0; }
.cjf-title { color: #21201f; font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.cjf-hint { font-weight: 400; text-transform: none; color: #999; font-size: 12px; }
.cjf-panel ul { list-style: none; margin: 0; padding: 0; }
.cjf-panel li { margin: 0; }
.cjf-panel label { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; color: #444; font-size: 13.5px; line-height: 1.3; }
.cjf-panel label:hover { color: #ed5c2d; }
.cjf-panel label span { flex: 1; }
.cjf-panel label em { color: #999; font-style: normal; font-size: 12px; }
.cjf-panel input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: #ed5c2d; flex: 0 0 auto; }
.cjf-panel input[type=checkbox]:checked + span { color: #ed5c2d; font-weight: 600; }

.cjf-group { border-top: 1px solid #f2f2f2; }
.cjf-group:first-of-type { border-top: 0; }
.cjf-group summary { cursor: pointer; padding: 8px 0; font-weight: 600; color: #401d10; font-size: 13.5px; list-style: none; display: flex; justify-content: space-between; }
.cjf-group summary::-webkit-details-marker { display: none; }
.cjf-group summary::after { content: "+"; color: #ed5c2d; font-weight: 700; }
.cjf-group[open] summary::after { content: "\2212"; }
.cjf-group ul { padding: 0 0 8px 4px; }

.cjf-search label { display: block; font-weight: 700; color: #21201f; font-size: 13px; padding: 0 0 8px; cursor: default; }
.cjf-search label:hover { color: #21201f; }
.cjf-search-row { display: flex; }
.cjf-search-row input { flex: 1; min-width: 0; border: 1px solid #ccc; border-right: 0; padding: 8px 10px; font-size: 13.5px; border-radius: 4px 0 0 4px; }
.cjf-search-row button { background: #401d10; color: #fff; border: 0; padding: 0 14px; font-weight: 700; border-radius: 0 4px 4px 0; cursor: pointer; }
.cjf-search-row button:hover { background: #ed5c2d; }

.cjf-reset { display: block; text-align: center; padding: 10px; color: #ed5c2d; font-size: 13px; font-weight: 600; border-top: 1px solid #eee; }

/* Barre au-dessus des produits */
.cjf-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 18px; width: 100%; clear: both; font-size: 13px; }
.cjf-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cjf-chips-label { color: #777; }
.cjf-chip { display: inline-flex; align-items: center; gap: 6px; background: #fbf0eb; border: 1px solid #f3c4b2; color: #401d10; padding: 4px 10px; border-radius: 20px; text-decoration: none; }
.cjf-chip span { color: #ed5c2d; font-weight: 700; }
.cjf-chip:hover { border-color: #ed5c2d; }
.cjf-clear { color: #ed5c2d; text-decoration: underline; margin-left: 4px; }
.cjf-pp { color: #777; margin-left: auto; }
.cjf-pp a { display: inline-block; padding: 3px 8px; margin: 0 1px; border: 1px solid #ddd; border-radius: 3px; color: #444; text-decoration: none; }
.cjf-pp a.is-active { background: #401d10; border-color: #401d10; color: #fff; }

/* Suggestions recherche */
.cjf-suggest { position: fixed; z-index: 99999; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.18); overflow: hidden; text-align: left; min-width: 300px; }
.cjf-sg-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #262626 !important; text-decoration: none; border-bottom: 1px solid #f2f2f2; }
.cjf-sg-item:hover, .cjf-sg-item:focus { background: #fbf0eb; outline: none; }
.cjf-sg-item img, .cjf-sg-noimg { width: 44px; height: 44px; object-fit: contain; flex: 0 0 44px; background: #f6f6f6; border-radius: 4px; }
.cjf-sg-txt { display: flex; flex-direction: column; line-height: 1.25; }
.cjf-sg-txt strong { font-size: 13.5px; font-weight: 600; text-transform: none; }
.cjf-sg-txt small { color: #888; font-size: 12px; }
.cjf-sg-all { display: block; padding: 10px 12px; background: #401d10; color: #fff !important; font-weight: 700; font-size: 13px; text-decoration: none; text-align: center; }
.cjf-sg-all:hover, .cjf-sg-all:focus { background: #ed5c2d; outline: none; }
.cjf-sg-empty { padding: 12px; color: #777; font-size: 13px; }

@media (max-width: 921px) {
	.cjf-pp { margin-left: 0; }
}
