/* =====================
   SEARCH DROPDOWN
===================== */
.search-dropdown {
  position: fixed;
  top: 58px;
  left: auto;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-accent);
  border-left: 1px solid var(--border-accent);
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  width: fit-content;
}

.search-dropdown.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.search-dropdown-inner {
  padding: 16px 48px 16px 24px;
  display: flex;
  justify-content: flex-end;
}

.search-input-wrapper {
  position: relative;
  width: 360px;
}

.search-dropdown-input {
  width: 100%;
  background: var(--hero-btn-bg);
  border: 1px solid var(--hero-btn-border);
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--hero-text);
  padding: 10px 36px 10px 16px;
  transition: all 0.2s;
}

.search-dropdown-input::placeholder { color: var(--hero-muted); font-weight: 400; }
.search-dropdown-input:focus { border-color: var(--accent); }

.search-dropdown-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--hero-muted);
  font-size: 12px;
  transition: color 0.2s;
}

.search-dropdown-close:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .search-dropdown { left: 0; right: 0; border-left: none; width: auto; }
  .search-dropdown-inner { padding: 16px 28px; justify-content: stretch; }
  .search-input-wrapper { width: 100%; max-width: none; }
  .search-dropdown-input { padding: 12px 36px 12px 16px; }
}

@media (max-width: 680px) {
  .search-dropdown-inner { padding: 12px 18px; }
}
