.search-form-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin: 0px;
}

form {
    width: 80%;
    max-width: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

input[type="search"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#suggestion-box {
    border: none;
    border-radius: 8px;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
    position: absolute;
    top: 60px;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: none;
}


#suggestion-box div {
    padding: 10px;
    cursor: pointer;
}

#suggestion-box div:hover {
    background-color: #f0f0f0;
}

.filter-button-wrapper {
    display: flex;
    justify-content: flex-start;
}

#toggle-filters {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #f39a38;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px 16px;
    margin-top: -5px;
}

#toggle-filters svg {
    margin-right: 4px;
    stroke: #f39a38;
}

.filter-advanced {
    display: none;
    margin-top: 20px;
}

.toggle-advanced-btn {
    background-color: #fff5e6;
    color: orange;
    border: 1px solid #f1c48b;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
}

.checkbox-group {
    margin: 20px 0;
}

.group-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: orange;
    font-size: 16px;
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: stretch;
}

.checkbox-row label {
    background: #fff5e6;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #f1c48b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    min-height: 40px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
}


.checkbox-row input[type="checkbox"] {
    accent-color: orange;
}

.custom-select {
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L5%205L9%201%22%20stroke%3D%22%23666%22%20stroke-width%3D%222%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 7px;
    width: 100%;
    max-width: 300px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
}

.custom-select:focus {
    border-color: orange;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.3);
}

.taxonomy-checks label,
.taxonomy-selects select {
    display: block;
    margin: 5px 0;
}

input[type="submit"] {
    background-color: orange;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #ff7f00;
}



@media screen and (max-width: 600px) {
    form {
        width: 95%;
    }

    input[type="submit"] {
        font-size: 14px;
    }

    .checkbox-row label {
        flex: 1 1 100%;
    }
}

input,
select,
textarea {
    font-size: 16px;
}