/* Predictive Search Dropdown */
.ps-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
  border: 1px solid #e4ddd4;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(44,36,23,.14);
  display: none;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}

.ps-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.ps-item:last-child { border-bottom: none; }

.ps-item:hover,
.ps-item.ps-active {
  background: #f7f4ef;
}

.ps-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.ps-text { flex: 1; min-width: 0; }

.ps-name {
  font-weight: 600;
  font-size: .95rem;
  color: #2C2417;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-name strong {
  color: #D4863A;
  font-weight: 700;
}

.ps-sub {
  font-size: .8rem;
  color: #6b5e52;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-ca .ps-name { color: #2D5016; }

/* Hero search needs special z-index */
.hero-search { position: relative; z-index: 10; }
.hero-search .ps-dropdown {
  border-radius: 0 0 12px 12px;
  border-color: rgba(255,255,255,.2);
  top: calc(100% - 1px);
}

/* Mobile */
@media (max-width: 768px) {
  .ps-item { padding: 10px 14px; gap: 10px; }
  .ps-name { font-size: .9rem; }
  .ps-sub { font-size: .75rem; }
  .ps-dropdown { max-height: 280px; }
}
