@media (min-width: 600px) {
    .js-multiselect2checkboxes {
        position: relative;
        background: #fff !important;
        min-height: 43px;
    }

  

    .js-multiselect2checkboxes .checkbox-container {
        position: absolute;
        display: none;
        width: 100%;
        background: #fff;
        padding: 0;
        z-index: 1;
        border: 1px solid #ddd;
        border-width: 0 1px 1px 1px;
        overflow-y: scroll;
        max-height: 185px
    }

    .js-multiselect2checkboxes .checkbox-container label {
        display: block;
        padding: .3em .5em;
        font-weight: normal
    }

    .js-multiselect2checkboxes .checkbox-container label+label {
        border-top: 1px solid #ddd
    }

    .js-multiselect2checkboxes .checkbox-container label input[type=checkbox] {
        float: left;
        width: 1.2em;
        height: 1.2em
    }

    .sort {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .result-panel {
        position: relative;
    }

    .filter-button {
        display: none !important;
    }
}

.js-multiselect2checkboxes__fakeselect {
    display: block;
    border-radius: 0px;
    font-size: 1em;
    width: 100%;
    min-height: 43px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    background-image: none;
    border: 2px solid #000;
    color: #000;
    padding: 10px;
    transition: border-color .16s ease-in-out 0s, box-shadow .16s ease-in-out 0s;
    max-width: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0) !important;
    text-overflow: ellipsis;
    padding-right: 1.5em;
    position: relative;
    cursor: pointer !important
}

.js-multiselect2checkboxes__fakeselect:focus {
    border: 2px solid #0076dd;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0px 8px 0px rgba(102, 175, 233, .8);
    outline: 2px solid #fff;
    outline-offset: 0px
}

.attributes-wrapper {
    gap: 2em;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.teaser {
    display: flex;
    flex-direction: column;
}

.teaser-head {
    display: flex;
    gap: 1em;
    align-items: center;
}

input::placeholder {
    font-style: normal !important;
}

.bold {
    font-weight: bold;
}

.pt-2 {
    padding-top: 2em;
}

.list--quicksearch-links a {
    cursor: pointer;
}

.autocomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 5px 10px;
    max-width: 980px;
}

.autocomplete-inner {
    display: flex;
    flex-direction: column;
    max-width: 50%;
}

@media screen and (max-width: 600px) {
    .show-on-desktop {
        display: none !important;
    }
}

.autocomplete-description {
    font-size: 0.8em;

}

.autocomplete-content {
    font-size: 0.6em;
}
.autocomplete-title {
    word-break: normal;
}

@media only screen and (max-width: 599px) {
    .button--filter {
        margin-top: 1rem;
        
    }
    .search-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px; /* Reduced gap for better compactness on small screens */
    }

    .search-row select {
        margin: 0;
    }

    .search-row .searchform-slot {
        display: flex;
        gap: 4px;
        flex: 1 1 100% !important;
        width: 100% !important;
        margin-bottom: 8px; /* Add some spacing for visual clarity */
    }



    .search-row .button--light.add-field-inline {
        width: 100% !important;
    }

    
}

.search-row .simple-search {
    width: 100%;
    display: block !important;
}

/* General styles for other devices remain unchanged */
.search-row {
    display: flex;
    align-items: center;
    margin-top: 4px;
    gap: 4px;
}
.search-row .searchform-slot {
    display: flex;
    gap: 4px;
    flex: 1 1 100% !important;
    width: 100% !important;
}

.searchform-slot .form-group {
    width: 100%;
}

.search-row .button {
    width: 47px;
    min-height: 47px;

}

.search-row select {
    width: min-content;
    min-height: 47px;
}

.search-row .searchform-slot {
    flex: 1;
}

.search-row .searchterm {
    width: 100%;
}

.search-row .input-wrapper {
    width: 100%;
    flex: 1;
}

.search-row input.search {
    width: 100%;
}

