/* Category "Trouver mon modèle" chips + "Filtrer par marque" tiles; colours of the existing lcd-em tiles (custom.css). */
.lcd-em-category.lcd-em-v5{padding:8px}
.lcd-em-category.lcd-em-v5 h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;font-size:14px;line-height:1.2;margin:0 0 6px}
.lcd-em-category.lcd-em-v5 h2 small{font-size:11px;font-weight:400;text-transform:none;letter-spacing:0;color:#566c92}
/* position:relative keeps the absolutely positioned .lcd-em-sr labels inside the scroll box (no page overflow at 390). */
.lcd-em-category.lcd-em-v5 .lcd-em-tiles,.lcd-em-category.lcd-em-v5 .lcd-em-complete{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:4px 5px}
.lcd-em-category.lcd-em-v5 .lcd-em-tiles>a.lcd-em-chip:nth-of-type(n),.lcd-em-category.lcd-em-v5 .lcd-em-complete>a.lcd-em-chip:nth-of-type(n),.lcd-em-category.lcd-em-v5 .lcd-em-all>summary{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;min-width:0;min-height:34px;margin:0;padding:5px 6px 5px 7px;border:1px solid #cfdcf1;border-radius:4px;background:#f8fbff;color:#223a70;font-size:12px;line-height:1.2;text-align:left;text-decoration:none;overflow-wrap:normal;cursor:pointer}
.lcd-em-category.lcd-em-v5 .lcd-em-chip strong{min-width:0;font-weight:700}
.lcd-em-category.lcd-em-v5 .lcd-em-tiles>.lcd-em-chip small,.lcd-em-category.lcd-em-v5 .lcd-em-complete>.lcd-em-chip small,.lcd-em-category.lcd-em-v5 .lcd-em-all>summary small{flex:0 0 auto;display:inline;font-size:10.5px;font-weight:400;line-height:1.2;color:#566c92;font-variant-numeric:tabular-nums}
.lcd-em-category.lcd-em-v5 .lcd-em-chip:hover,.lcd-em-category.lcd-em-v5 .lcd-em-all>summary:hover{border-color:#2456a2;color:#223a70;text-decoration:none}
.lcd-em-category.lcd-em-v5 .lcd-em-chip:focus-visible,.lcd-em-category.lcd-em-v5 .lcd-em-all>summary:focus-visible{outline:2px solid #2456a2;outline-offset:2px}
.lcd-em-category.lcd-em-v5 .lcd-em-all{position:static;margin:6px 0 0}
.lcd-em-category.lcd-em-v5 .lcd-em-all>summary{display:inline-flex;width:auto;justify-content:flex-start;list-style:none;color:#2456a2;font-weight:700}
.lcd-em-category.lcd-em-v5 .lcd-em-all>summary::-webkit-details-marker{display:none}
.lcd-em-category.lcd-em-v5 .lcd-em-all>summary::after{content:"";width:6px;height:6px;margin:0 2px 3px 2px;border:solid #2456a2;border-width:0 2px 2px 0;transform:rotate(45deg)}
.lcd-em-category.lcd-em-v5 .lcd-em-all[open]>summary::after{margin-bottom:-3px;transform:rotate(-135deg)}
.lcd-em-category.lcd-em-v5 .lcd-em-all:not([open]) .lcd-em-close-label,.lcd-em-category.lcd-em-v5 .lcd-em-all[open] .lcd-em-open-label{display:none}
.lcd-em-category.lcd-em-v5 .lcd-em-complete{position:static;width:auto;max-height:none;overflow:visible;margin:6px 0 0;padding:0;background:none;box-shadow:none}
.lcd-em-category.lcd-em-v5 .lcd-em-close{grid-column:1/-1;justify-self:start;min-height:34px;padding:5px 12px;border:1px solid #cfdcf1;border-radius:4px;background:#f8fbff;color:#2456a2;font-size:12.5px;font-weight:700;cursor:pointer}
/* Brand tiles: one size for every brand, logo or text. The title shares the tiles' line when they all fit, else sits above. */
.lcd-brand-row.lcd-brand-logos{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:8px 0 0;padding-top:6px;border-top:1px solid #dbe4f2}
.lcd-brand-standalone .lcd-brand-row.lcd-brand-logos{margin:0;padding-top:0;border-top:0}
.lcd-brand-row.lcd-brand-logos h3{flex:0 0 auto;font-size:12px;font-weight:700;line-height:1.2;text-transform:none;letter-spacing:0;margin:0;color:#223a70}
.lcd-brand-chips{display:flex;flex-wrap:wrap;flex:0 1 auto;min-width:0;gap:6px;margin:0;padding:0}
.lcd-brand-row.lcd-brand-logos>p,.lcd-brand-row.lcd-brand-logos>noscript{flex:0 0 100%}
.lcd-brand-chips .lcd-brand-chip{box-sizing:border-box;flex:0 0 90px;width:90px;height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:3px 6px;border:1px solid #dbe4f2;border-radius:6px;background:#fff;color:#223a70;line-height:1;white-space:nowrap;text-decoration:none}
.lcd-brand-chips .lcd-brand-chip:hover{border-color:#2456a2;color:#223a70;text-decoration:none}
.lcd-brand-mark{display:flex;align-items:center;justify-content:center;height:22px;max-width:100%}
.lcd-brand-chip img{display:block;height:22px;width:auto;max-width:78px;object-fit:contain;mix-blend-mode:multiply}
.lcd-brand-chip .lcd-brand-name{font-size:12px;font-weight:700;line-height:22px;color:#223a70}
.lcd-brand-chips .lcd-brand-count{display:block;min-width:0;height:auto;padding:0;border-radius:0;background:none;font-size:10.5px;font-weight:400;line-height:12px;color:#566c92;font-variant-numeric:tabular-nums}
.lcd-brand-logos .lcd-brand-chip[aria-current="true"]{outline:0;border-color:#2456a2;background:#eef3fb;box-shadow:inset 0 0 0 1px #2456a2}
.lcd-brand-logos .lcd-brand-chip[aria-current="true"] .lcd-brand-count{background:none;color:#223a70}
.lcd-brand-logos .lcd-brand-chip:focus-visible{outline:2px solid #2456a2;outline-offset:2px}
.lcd-brand-logos .lcd-brand-status{margin:2px 0 0}
.lcd-brand-logos .lcd-brand-status:empty{position:absolute;margin:0}
/* Phone-only toggle for 13–60 models; hidden where :has() is missing, all chips then stay visible. */
.lcd-em-category.lcd-em-v5>.lcd-em-more{display:none}
@media (max-width:600px){
.lcd-em-category.lcd-em-v5 .lcd-em-tiles,.lcd-em-category.lcd-em-v5 .lcd-em-complete{grid-template-columns:repeat(2,minmax(0,1fr))}
.lcd-em-category.lcd-em-v5 .lcd-em-tiles>a.lcd-em-chip:nth-of-type(n),.lcd-em-category.lcd-em-v5 .lcd-em-complete>a.lcd-em-chip:nth-of-type(n){font-size:11.5px}
.lcd-em-category.lcd-em-v5 .lcd-em-chip strong{white-space:normal;overflow-wrap:anywhere}
.lcd-em-category.lcd-em-v5 .lcd-em-preview>a.lcd-em-chip:nth-of-type(n+13){display:none}
.lcd-em-category.lcd-em-v5 .lcd-em-complete{max-height:60vh;overflow-y:auto}
.lcd-brand-row.lcd-brand-logos{display:block}
.lcd-brand-row.lcd-brand-logos h3{margin:0 0 5px}
.lcd-brand-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.lcd-brand-chips .lcd-brand-chip{width:auto;min-width:0;height:40px;padding:3px 4px}
.lcd-brand-chips .lcd-brand-mark{width:100%;height:20px}
.lcd-brand-chips .lcd-brand-chip img{height:20px;max-width:100%}
.lcd-brand-chips .lcd-brand-chip .lcd-brand-name{font-size:10.5px;line-height:20px}
}
@supports selector(:has(a)){
@media (max-width:600px){
.lcd-em-category.lcd-em-v5>.lcd-em-more{display:block}
.lcd-em-category.lcd-em-v5:has(>.lcd-em-more:not([open]))>.lcd-em-tiles>a.lcd-em-chip:nth-of-type(n+13){display:none}
}
}
