/* Intro */
#dbfi-cmp-intro{max-width:1200px;margin:0 auto 10px auto;padding:10px;font-family:sans-serif;color:#000}
#dbfi-cmp-intro h1{font-size:1.9rem;line-height:1.25;font-weight:800;margin:0 0 12px;color:#000}
#dbfi-cmp-intro h1 .accent{color:#b3bc00}
#dbfi-cmp-intro p{font-size:1.05rem;line-height:1.6;color:#333;margin:0}

/* Conteneur */
#dbfi-comparateur{--lime:#b3bc00;background:#fff;color:#000;font-family:sans-serif;max-width:1200px;margin:0 auto;padding:10px;box-sizing:border-box}
#dbfi-comparateur *{box-sizing:border-box}
@media(min-width:640px){#dbfi-comparateur{padding:20px}}

/* Onglets */
#dbfi-comparateur .cmp-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
#dbfi-comparateur .cmp-tab{flex:1 1 140px;padding:12px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;font-weight:700;cursor:pointer;font-size:0.95rem;color:#000;transition:background .15s ease,color .15s ease}
#dbfi-comparateur .cmp-tab:hover{border-color:#b3bc00}
#dbfi-comparateur .cmp-tab.active{background:#000;color:#fff;border-color:#000;border-bottom:4px solid #b3bc00}

/* Filtres */
#dbfi-comparateur .cmp-filters{display:flex;flex-wrap:wrap;gap:16px;background:#f9fafb;border:1px solid #f0f0f0;border-radius:8px;padding:16px;margin-bottom:20px}
#dbfi-comparateur .cmp-field{flex:1 1 180px;min-width:150px;display:flex;flex-direction:column}
#dbfi-comparateur .cmp-field label{font-size:0.78rem;font-weight:700;text-transform:uppercase;letter-spacing:0.4px;color:#333;margin-bottom:6px}
#dbfi-comparateur .cmp-field input[type=number],#dbfi-comparateur .cmp-field select{height:42px;border:1px solid #ccc;border-radius:6px;padding:0 10px;font-size:0.9rem;background:#fff}
#dbfi-comparateur .cmp-field input:focus,#dbfi-comparateur .cmp-field select:focus{outline:none;border-color:#b3bc00}
#dbfi-comparateur .cmp-check{flex:1 1 180px;justify-content:flex-end}
#dbfi-comparateur .cmp-check label{margin-bottom:10px}
#dbfi-comparateur .cmp-check input[type=checkbox]{width:22px;height:22px;accent-color:#b3bc00;cursor:pointer}

/* Resultats */
#dbfi-comparateur .cmp-count{font-size:0.85rem;color:#666;font-weight:700;margin:0 0 12px}
#dbfi-comparateur .cmp-empty{padding:24px;text-align:center;color:#9ca3af;background:#f9fafb;border-radius:8px}
#dbfi-comparateur .cmp-table-wrap{overflow-x:auto}
#dbfi-comparateur .cmp-table{width:100%;border-collapse:collapse;font-size:0.85rem;min-width:640px}
#dbfi-comparateur .cmp-table th,#dbfi-comparateur .cmp-table td{padding:10px;text-align:left;border-bottom:1px solid #eee;white-space:nowrap}
#dbfi-comparateur .cmp-table thead th{background:#000;color:#fff;font-size:0.72rem;text-transform:uppercase;letter-spacing:0.3px;position:sticky;top:0}
#dbfi-comparateur .cmp-table tbody tr:nth-child(even){background:#f9fafb}
#dbfi-comparateur .cmp-table td:first-child{font-weight:700}
#dbfi-comparateur .cmp-table .cmp-strong{font-weight:800;color:#000;border-left:3px solid #b3bc00}

/* Pack foyer */
#dbfi-comparateur .cmp-foyer-card{border:2px solid #000;border-radius:10px;padding:22px;max-width:560px}
#dbfi-comparateur .cmp-foyer-card h3{margin:0 0 16px;font-size:1.15rem;font-weight:800}
#dbfi-comparateur .cmp-line{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px dashed #eee;font-size:0.92rem}
#dbfi-comparateur .cmp-line span:last-child{font-weight:700;white-space:nowrap}
#dbfi-comparateur .cmp-line.strong{border-bottom:none;font-size:1.05rem}
#dbfi-comparateur .cmp-line.strong span:last-child{color:#000;font-weight:900}
#dbfi-comparateur .cmp-line.strong:last-child span:last-child{color:#8a9400}
#dbfi-comparateur .cmp-note{font-size:0.8rem;color:#777;margin:14px 0 0;max-width:560px;line-height:1.5}
