.advanced-search-form {
    border-radius: 5px;
    margin-top:-70px;
    margin-bottom: 20px;
}
.advanced-search-form .form-group {
    margin-bottom: 15px;
}

.form-group-city-filter{
    width: 100% !important;
    
}
.advanced-search-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.advanced-search-form input[type="text"],
.advanced-search-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    height: 40px;
}
.advanced-search-form .btn-search {
    background: #D5A057;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* ------------------------------------------------------
1) AJAX LIVE SEARCH DROPDOWN STYLES
------------------------------------------------------ */
.live-search-results {
    position: absolute;
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 810px; /* Adjust if needed */
    margin-top: 2px;
    padding: 10px;
    box-sizing: border-box;
}

.live-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content:center;
}

.live-search-list .live-search-item {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    overflow: hidden;
}

.live-search-list .live-search-item:last-child {
    border-bottom: none;
}

.live-search-thumb {
    width:10%;
    float:left;
    margin-right:10px;
}
.live-search-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.live-search-info {
    width:83%;
    float:left; 
    display:flex; 
    height:78px; 
    vertical-align:middle; 
    align-items:center;
    @media screen and (max-width: 767px) {
        width: 75%;
        height:auto; 

    }
}
.search-item-divider {
    clear: both;
}

.city-btn-checkbox{
    display:none;
}



/* ------------------------------------------------------
2) CITY FILTER BUTTONS
------------------------------------------------------ */
.form-group-city-filter {
    margin-bottom: 20px;
}

.city-filter-buttons {
    display: grid;
    width: 100% !important;
    grid-template-columns: repeat(2, 1fr); /* 2 columns that share available space equally */
    gap: 20px;   
    box-sizing:border-box;
    
}

.city-filter-buttons .input-group,
.city-filter-buttons label{
    margin-bottom:0 !important;
}

.city-btn-label {

}

/* Hide the real checkbox */
.city-btn-label .city-btn-checkbox {
    display: none !important;
}

/* Default, unselected button styles */
.city-btn-label .city-btn-text {
    display:block;

    background-color: #fff;
    color: #444;
    border: 1px solid #ccc;
    padding: 8px 8px;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
    text-align: center !important;
    text-transform: capitalize !important;

}

/* Check if input is checked, then style the .city-btn-text */
.city-btn-label .city-btn-checkbox:checked + .city-btn-text {
    background-color: #D5A057;
    color: #fff;
    border-color: #D5A057;
}

.city-btn-label:hover .city-btn-text {
    border-color: #D5A057;
}

@media (min-width: 768px) {
    .home-page .filter-division {
      width: 33% !important;
    }
  }
  

.advanced-search-form .form-group {
    position: relative;
}

/* ------------------------------------------------------
3) SEARCH BUTTON
------------------------------------------------------ */

#search-keyword {
    padding-right: 45px;
}

#search-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #D5A057;
    padding: 0;
    line-height: 1;
}

#search-button:hover {
    color: #b07c3d;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1268px) {
    .social-header {
        display: none !important; /* Esconde o social header */
    }
}


@media (max-width: 960px) {

    #ajax-search-form {
        position: relative;
        width: 100%;
        z-index: 1;
        padding: 0 15px;
        margin-top: 10px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .live-search-results {
        position: absolute !important;
        margin-top: 40px;
        z-index: 1;
    }

 
}
