.navPai {
    z-index: 1000 !important;
}

.container-buscar {
    display: flex;
    flex-direction: row;
    margin-top: 10%;
    justify-content: center;
}

.filtros-buscar {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.filtros-buscar h2 {
    margin-right: 150px;
}

.titulo-objetivo {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-align: left;
}

.titulo-resultado {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-align: left;
}

.barra-busca {
    display: flex;
    align-items: center;
    width: 637px;
    border: 1px solid #767676;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #fff;
}

.input-container button {
    display: none;
}

.icone-lupa {
    margin-right: 10px;
    font-size: 16px;
    font-family: Nunito;
    font-weight: 700;
    color: #0C0F0A;
    border: none;
}

.input-localizacao {
    border: none;
    flex: 1;
    padding: 8px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    color: #000;
}

.input-localizacao::placeholder {
    color: #aaa;
}

.filtros {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
}

.filtro {
    color: #7C7C7C;
    font-family: Nunito;
    font-size: 15.61px;
    font-weight: 500;
}

.separador-ponto {
    border: 0.5px solid #CFCFCF;
}

.separador-barra {
    border: 1px solid #CFCFCF;
    height: 25px;
}

hr {
    width: 293px;
    border: 1px solid #CFCFCF;
    margin-right: 100px;
}

.titulo-localizar {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: Nunito;
    font-size: 20px;
    font-weight: 500;
}

.nav-item {
    font-family: Nunito;
    font-size: 20px;
    font-weight: 500;

    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    position: relative;
}

.nav-item svg {
    margin-right: 10px;
}

.nav-item.active {
    color: #231144;
    font-family: Nunito;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #231144;
}

.alugar-comprar {
    max-width: 75%;
}

.alugar-comprar li {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 500;
    color: #231144;
}

.localizacao {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
}

.form-group-localizacao select {
    width: 293px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #767676;
}

.titulos-forms {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 600;
    line-height: 41.12px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
}

.valores {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 5px;
}

.valores input {
    width: 140px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #767676;
    padding: 10px;
}

.opcoes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.opcao {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.opcoes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.opcao {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.itens {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    appearance: none;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.itens:checked {
    border: 1px solid #6200ea;
    background-color: #6200ea;
}

.itens:checked::after {
    content: '✓';
    font-size: 14px;
    color: white;
    position: absolute;
}

.itens:hover {
    border-color: #aaa;
}

.opcao span {
    font-family: Nunito;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    color: #0C0F0A;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box;
}

.input-wrapper input {
    border: none;
    outline: none;
    font-family: Nunito;
    font-size: 14px;
    color: #333;
    width: 140px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #767676;
    padding: 10px;
}

.input-wrapper input::placeholder {
    color: #aaa;
    font-size: 14px;
}

.input-wrapper .unit {
    position: absolute;
    right: 10px;
    font-family: Nunito;
    font-size: 14px;
    color: #aaa;
    pointer-events: none;
}

.btn-aplicar {
    background-color: #231144;
    border-radius: 10px;
    color: #fff;
    width: 250px;
    font-family: Nunito;
    font-size: 14px;
    font-weight: 700;
    line-height: 35.98px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.toggle-buttons {
    display: none;
}

#toggleMapa {
    background: none;
    color: #0C0F0A;
    border: none;
    border-radius: 5px;
    font-family: Nunito;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 10px;
}

.map-toggle {
    display: flex;
    justify-content: flex-end;
}

#toggleMapa img {
    transition: transform 0.3s ease-in-out;
}

#toggleMapa img.rotate-down {
    transform: rotate(180deg);
}

#mapContainer {
    display: block;
    transition: all 0.3s ease-in-out;
}

.gm-style-iw-c button.gm-ui-hover-effect {
    display: none !important;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 70px;
}

.card-buscar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
    width: 120%;
    max-height: 100vh;
    box-sizing: border-box;
}

.card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s;
    width: 295px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-redirection {
    cursor: pointer;
}

.card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-images img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .prev,
.carousel .next {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

.card {
    position: relative;
    /* cursor: pointer; */
}


.badge {
    position: absolute;
    top: 14.5px;
    left: 11.15px;
    background-color: #231144;
    color: #fff;
    padding: 9px 10px;
    font-size: 16px;
    border-radius: 10px;
    font-family: Nunito;
    font-weight: 500;
    width: 93px;
    height: 35px;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    font-family: Nunito;
    margin: 0;
}

.card-fav-icon {
    /* width: 20px;
    height: 20px; */
    cursor: pointer;
}

.card-desc {
    font-size: 12px;
    font-family: Nunito;
    font-weight: 400;
    color: #ABABAB;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-icons {
    display: flex;
    gap: 10px;
}

.icon {
    width: 20px;
    height: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination button {
    padding: 10px 15px;
    border: none;
    color: #f02d3a;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-limpar {
    color: #231144;
    border-radius: 10px;
    border: 1px solid #231144;
    background-color: #fff;
    width: 250px;
    margin-top: 10px;
    font-family: Nunito;
    font-size: 14px;
    font-weight: 700;
    line-height: 35.98px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.mostrar {
    display: none;
}

.close-button {
    display: none;
}

.marker-details {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    border-radius: 10px 10px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    padding: 15px;
    max-height: 50vh;
    overflow-y: auto;
}

.marker-details.visible {
    transform: translateY(0);
}

.marker-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.close-details {
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    align-self: flex-end;
    cursor: pointer;
}

#marker-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


@media (max-width: 768px) {

    body {
        background: #231144;
    }

    .navPai {
        border: none !important;
    }

    .hidden {
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .visible {
        display: block;
        opacity: 1;
        transition: opacity 0.3s ease-in-out;
    }

    .modal-buscar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #fff;
        z-index: 2000;
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .modal-buscar.visible {
        display: block;
        opacity: 1;
    }

    .modal-buscar.hidden {
        display: none;
        opacity: 0;
    }

    .filtros-buscar {
        margin-top: 25px;
    }

    .mostrar {
        display: block;
        text-align: center;
        margin-right: 120px;
    }

    .close-button {
        display: block;
    }

    .btn-mostrar {
        font-family: Nunito;
        font-size: 14px;
        font-weight: 700;
        line-height: 35.98px;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #f02d3a;

    }

    .botoes-filtros {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 10px;
        align-items: flex-start;
    }

    .btn-limpar {
        color: #231144;
        border-radius: 10px;
        border: 1px solid #231144;
        background-color: #fff;
        width: 250px;
        margin-top: 10px;
        font-family: Nunito;
        font-size: 14px;
        font-weight: 700;
        line-height: 35.98px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    section.mapa {
        width: 100%;
        height: auto;
        margin-top: 23%;
    }

    .barra-busca {
        flex-direction: column;
        width: 87%;
        margin-bottom: 25px;
        margin-left: 30px;
    }

    .input-container {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .input-container button {
        border: none;
        display: block;
        background: #fff;
    }

    .title-mapa {
        display: none;
    }

    .map-toggle {
        display: none;
    }

    .map-container {
        height: 100vh;
        width: 100%;
        background-color: #FBFBFF;
        border-radius: 10px 10px 0 0;
        padding: 15px;
    }

    .card-container {
        display: none;
    }

    .toggle-buttons {
        display: flex;
        border: 1px solid #4A3B6E;
        border-radius: 8px;
        overflow: hidden;
        width: fit-content;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .toggle-button.active {
        background-color: #fff !important;
        color: #4A3B6E !important;
    }

    .toggle-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 20px;
        font-size: 14px;
        color: #fff;
        background-color: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        flex: 1;
        transition: all 0.3s ease;
    }

    .toggle-button:not(:last-child) {
        border-right: 1px solid #4A3B6E;
    }


    .toggle-button img {
        width: 16px;
        height: 16px;
        transition: opacity 0.3s ease;
    }

    .toggle-button img {
        width: 16px;
        height: 16px;
    }

    .toggle-button:hover {
        background-color: #6A4EA3;
        color: #fff;
    }

    #map {
        margin-left: 30px;
        width: 87% !important;
        height: 92vh !important;
    }

    .card-container {
        display: none;
        background: #FBFBFF;
        border-radius: 10px 10px 0 0;
    }

    .card {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 335px;
        height: 180px;
        background-color: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        margin: 0 auto;
    }

    .carousel {
        position: relative;
        flex: 0 0 138px;
        height: 174px;
        width: 140px;
        overflow: hidden;
        border-radius: 10px;
        margin: 13px 12px;
    }

    .carousel-images {
        display: flex;
        height: 100%;
        transition: transform 0.5s ease-in-out;
    }

    .carousel-images img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .badge {
        position: absolute;
        top: 40px;
        left: 24px;
        background-color: #231144;
        color: #fff;
        font-size: 10px;
        padding: 5px;
        border-radius: 10px;
        font-weight: 500;
        width: 56px;
        height: 21px;
    }

    .card-redirection {
        cursor: pointer;
    }

    .card-img {
        width: 46%;
    }

    .card-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px;
        flex: 1;
    }

    .card-title-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
    }

    .card-title {
        font-size: 14px;
        font-weight: bold;
        color: #000;
    }

    .card-fav-icon {
        /* width: 50px !important;
        height: 50px !important; */
        cursor: pointer;
    }

    .card-desc {
        font-size: 12px;
        color: #666;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .card-icons {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .icon {
        width: 16px;
        height: 16px;
    }

}