/* Swift Trucks — search bar, results panel, vehicle-highlight */
.search-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  color: #334155;
  background: transparent;
  transition: background-color .15s ease, color .15s ease;
}
.search-toggle-btn:hover { background: #f1f5f9; color: #14213d; }

/* Results list under the header search bar (the bar itself is styled in header.css) */
.search-dropdown { display: none; }
.search-dropdown.has-results { display: block; animation: searchPop .16s ease-out; transform-origin: top center; }
@keyframes searchPop { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.search-result-head { padding: .45rem .6rem .25rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.search-result-row.active, .search-result-row:focus-visible { background: #eaf1fb; outline: 0; }
.search-result-row mark { background: transparent; color: #004fa3; font-weight: 900; }

.search-result-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .5rem;
  border-radius: .6rem;
  color: #14213d;
  font-size: .9rem;
  line-height: 1.35;
}
.search-result-row:hover { background: #f8fafc; }
.search-result-row .material-symbols-outlined {
  font-size: 1.15rem;
  color: #64748b;
  flex-shrink: 0;
}
.search-result-meta { font-size: .74rem; color: #94a3b8; }
.search-result-enquire .material-symbols-outlined,
.search-result-category .material-symbols-outlined { color: #b3202e; }

@keyframes searchHighlightPulse {
  0%   { box-shadow: 0 0 0 0 rgba(179, 32, 46, .55); }
  70%  { box-shadow: 0 0 0 14px rgba(179, 32, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(179, 32, 46, 0); }
}
.search-highlight {
  outline: 3px solid #b3202e;
  outline-offset: 2px;
  animation: searchHighlightPulse 1.3s ease-out 2;
}

