.search-bar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0%;
    width: 70%;
    background: rgba(0,0,0,0);
    height: 20%;
}
.search-input {
    outline: none;
    font-size: 16px;
    color: white;
    background: rgba(0,0,0,0.7);
    border: none;
    width: 0px;
    min-width: 0px;
}
.search-input, .search-btn{
    transition: all 0.5s ease;
}
.search-btn, .search-input{
    background: rgba(0,0,0,0.3);
    border: none;
    height: 80%;
    padding: 0px;
}
.search-btn {
    aspect-ratio: 1/1;
    cursor: pointer;
    text-decoration: none;
}

.search-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}
.search-btn.expanded:hover {
  background: rgba(0, 0, 0, 1);
}

.search-btn.expanded, .search-input.expanded{
     background: rgba(0, 0, 0, 0.7);
}
.search-input.expanded {
    width: 30%;
    min-width: 300px;
}
.search-btn img{
    height: 60%;
    transition: height 0.5s, opacity 0.25s; 
}
.search-btn.expanded img{
    height: 40%;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.sort-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.sort-btn img {
    padding-top:7.5px;
    width: 36px;
    aspect-ratio: 1/1;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background: black;
    border: 1px solid #ccc;
    min-width: 150px;
    z-index: 2;
    margin-top: 0px;
    padding-inline-start: 0px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    color: white;
    list-style: none;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
    
}
.dropdown-menu li.selected, .dropdown-menu li.disabled {
    background: #404040;
    pointer-events: none;
    cursor: default; /* optional — keeps normal arrow */
}
.dropdown-menu li:hover {
    background: #404040;
}

.dropdown-menu li.disabled {
    display: none;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
