#kb-finder-container { 
    max-width: 100%; 
    width: 100%;
    margin: 20px auto; 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    color: #1e293b; 
}

.kb-search-box { 
    background: #ffffff; 
    border-radius: 24px; 
    padding: 30px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.06); 
    border: 1px solid #f1f5f9; 
    text-align: center;
}

.kb-search-box h3 { 
    margin-top: 0; 
    font-weight: 900; 
    color: #0f172a; 
    font-size: 24px;
    letter-spacing: -1px;
}

.kb-main-cats { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); 
    gap: 12px; 
    margin-bottom: 25px; 
}

.kb-cat-btn { 
    padding: 15px 8px; 
    border: 2px solid #f1f5f9; 
    border-radius: 16px; 
    background: #ffffff; 
    cursor: pointer; 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    font-weight: 700; 
    color: #475569;
    font-size: 14px;
}

.kb-cat-btn:hover { border-color: #3b82f6; background: #eff6ff; transform: translateY(-2px); }
.kb-cat-btn.active { background: #2563eb; color: #ffffff !important; border-color: #1e40af; box-shadow: 0 8px 15px rgba(37, 99, 235, 0.2); }

.kb-sub-panel { display: none; margin-bottom: 25px; text-align: left; background: #f8fafc; padding: 20px; border-radius: 20px; border: 1px solid #e2e8f0; }
#kb-filter-title { font-size: 11px; font-weight: 900; color: #94a3b8; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }

#kb-brand-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-chip { background: #ffffff; border: 1px solid #cbd5e1; padding: 7px 14px; border-radius: 25px; font-size: 11px; cursor: pointer; transition: 0.2s; font-weight: 600; color: #334155; }
.kb-chip:hover, .kb-chip.active { background: #0f172a; color: #ffffff; border-color: #0f172a; }

#kb-locate-btn { 
    width: 100%; 
    padding: 18px; 
    background: #0f172a; 
    color: #ffffff !important; 
    border: none; 
    border-radius: 16px; 
    font-weight: 800; 
    cursor: pointer; 
    font-size: 16px;
    opacity: 0.5;
}
#kb-locate-btn:not(:disabled) { opacity: 1; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

#kb-results-list { margin-top: 25px; max-height: 500px; overflow-y: auto; padding-right: 10px; }
#kb-results-list::-webkit-scrollbar { width: 6px; }
#kb-results-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }

.kb-result-card { border: 1px solid #f1f5f9; padding: 20px; border-radius: 20px; margin-bottom: 15px; background: #ffffff; transition: 0.3s; }
.kb-result-card:hover { border-color: #3b82f6; box-shadow: 0 5px 20px rgba(0,0,0,0.04); }

.kb-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.kb-card-header h4 { margin: 0; font-size: 16px; color: #0f172a; font-weight: 800; line-height: 1.3; }
.kb-dist-badge { color: #059669; font-weight: 900; font-size: 11px; background: #f0fdf4; padding: 4px 10px; border-radius: 10px; white-space: nowrap; }

.kb-rating-row { font-size: 14px; margin: 8px 0; display: flex; align-items: center; gap: 6px; }
.kb-rating-row small { color: #64748b; font-weight: 600; }
.kb-address { font-size: 12px; color: #64748b; margin: 10px 0; line-height: 1.5; }

.kb-action-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-top: 15px; }
.kb-route-btn { background: #2563eb; color: #ffffff !important; text-align: center; padding: 12px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 800; }
.kb-call-btn { background: #ffffff; color: #059669 !important; border: 2px solid #059669; text-align: center; padding: 10px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 800; }

@media (max-width: 600px) {
    .kb-main-cats { grid-template-columns: 1fr 1fr; }
    .kb-action-row { grid-template-columns: 1fr; }
}