.dropdown-menu {
  display: none;
  position: absolute;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  background: #151a22;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 22px 70px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}

.dropdown.is-open .dropdown-menu {
  display: block;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown-trigger {
  min-width: 220px;
  padding: 0 44px 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.filter-dropdown-trigger::after {
  content: "⌄";
  position: absolute;
  right: 18px;
  color: #d9b85f;
}

.filter-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  padding: 10px;
  border-radius: 18px;
  background: rgba(12,16,22,0.98);
  border: 1px solid rgba(217,184,95,0.16);
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
}

.filter-dropdown-menu {
  overflow: hidden;
}

.filter-dropdown-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
}

.filter-dropdown.is-open .filter-dropdown-menu {
  display: block;
}

.filter-dropdown-menu button {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 650;
  text-align: left;
}

.filter-dropdown-menu button:hover {
  background: rgba(255,255,255,0.06);
}

.filter-dropdown-menu small {
  color: #d9b85f;
  font-size: 12px;
}

.filter-dropdown.has-value .filter-dropdown-trigger {
  border-color: rgba(217,184,95,0.38);
}

.filter-dropdown-trigger {
  position: relative;

  display: flex;
  align-items: center;

  padding: 0 48px 0 22px;
}

.filter-dropdown-trigger::after {
  content: "⌄";

  position: absolute;
  right: 18px;
  top: 50%;

  transform: translateY(-75%);

  color: #d9b85f;
  font-size: 14px;
  line-height: 1;
}

.filter-dropdown.is-open .filter-dropdown-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 768px) {
  #filter-controls {
    align-items: stretch;
  }

  .filter-dropdown {
    width: 100%;
  }

  .filter-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

    #filter-controls {
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}