/* Search / Results & Discovery — match original layout */
.search-hero-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.search-field-box {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  transition: box-shadow 0.2s;
}
.search-field-box:focus-within {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.45);
}
.search-field-box input {
  width: 100%;
  background: transparent;
  outline: none;
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
}
.search-suggest-panel {
  background: rgba(2, 6, 23, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.search-suggest-panel button {
  padding: 0.75rem 1.25rem;
}
.search-cat-row {
  display: flex;
  align-items: center;
  border-radius: 0.65rem;
  transition: background 0.15s;
}
.search-cat-row.is-selected {
  background: #4f46e5;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.search-cat-row:not(.is-selected):hover {
  background: rgba(255, 255, 255, 0.05);
}
.search-cat-link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.625rem 0.75rem;
  color: #94a3b8;
}
.search-cat-row.is-selected .search-cat-link {
  color: #fff;
}
.search-cat-toggle {
  padding: 0.625rem;
  color: #64748b;
  transition: transform 0.25s, color 0.15s;
}
.search-cat-toggle:hover {
  color: #fff;
}
.search-cat-toggle.is-open {
  transform: rotate(180deg);
  color: #fff;
}
.search-cat-children {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
}
.search-cat-children.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.search-cat-children > .search-cat-children-inner {
  overflow: hidden;
}
.search-cat-nested {
  margin-left: 0.75rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.25rem;
}