@media (max-width: 600px) {
    .properties-grid .mobile-filter-buttons {
     display: none;
     gap: 10px;
     padding: 20px;
     background: #f5f5f5;
     border-radius: 11px;
     margin-bottom: 20px;
     margin: 13px;
 }
 
 .filter-container {
    background-color: #fafafa;
    border-radius: 16px;
    padding: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding-right: 27px;
}
 }
 
 body > main > div > div.content-wrapper > div > div.filter-container > div:nth-child(7) > div.form-check{
    margin-top: 20px;
}

#alugar2{
    margin-left: 20px;
    width: 10px !important;
    height: 10px !important;
}



body > main > div > div.content-wrapper > div > div.filter-container > div:nth-child(8){
   margin-bottom: 20px;
}


.g-4, .gx-4 {
    --bs-gutter-x: 2.5rem;
}


.filter-header img{
    width: 20px;
}



/* Campo de Busca */
.search-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: none;
    border-radius: 8px;
    background-color: #F5F5F5;
    font-size: 14px;
    color: #666666;
}

.search-container input::placeholder {
    color: #666666;
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(96, 201, 249, 0.2);
}

.search-container i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    font-size: 16px;
}
.nav-link {
    color: #032d75 !important;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding
    : 0.3rem 0;
}/* Estilos específicos para a página de anúncio */




nav{
    background-color: #ffffff !important;
}

/* Outros estilos específicos da página de imóveis podem ser adicionados aqui */

/* Estilos da barra de busca */
.search-container {
    position: relative;
    width: 300px;
}

.search-container .input-group {
    position: relative;
}

.search-container .form-control {
    background-color: #F5F7FA;
    border: none;
    color: #000;
    border-radius: 8px;
    padding: 12px 16px;
    padding-right: 40px;
    width: 100%;
}

.search-container .form-control::placeholder {
    color: #6C757D;
}

.search-container .bi-search {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6C757D;
    font-size: 16px;
    pointer-events: none;
}

.navbar {
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}



/* Nav oculto por padrão em mobile e tablet */
.navbar {
    display: none;
}



/* Mostrar nav apenas no desktop */
@media screen and (min-width: 1025px) {
    .navbar {
        display: block;
        background-color: #ffffff !important;
    }

    
}

/* Layout Principal */
.main-content {
    padding: 40px 0;
    background-color: #ffffff00;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}


.filtrar-label {
    font-size: 14px;
    font-weight: 600;
    color: #042E76;
}

/* Sidebar de Filtros */
.sidebar-filters {
    width: 320px;
    padding-right: 20px;
}

.order-section {
    position: relative;
    margin-bottom: 20px;
}

.order-section::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    margin-right: 10px;
    height: 30px;
    background-image: url("https://meuveiculoseminovo.com.br/wp-content/uploads/2024/12/SortAscending.svg");
    background-repeat: no-repeat;
    pointer-events: none;
}

.order-section .form-select {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #E6E6E6;
    background-color: #fff;
    font-size: 14px;
    color: #042E76;
    font-weight: bold;
    width: 100%;
    appearance: none;
    background-image: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 2px;
    padding-left: 52px !important;
}
.order-section .form-select {
    padding-left: 44px;
}

.order-section .form-select:focus {
    box-shadow: none;
    border-color: #042E76;
}

.filter-container {
    background-color: #fafafa;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
    padding: 16px 0;
}

.filter-header i {
    color: #042E76;
    font-size: 16px;
}

.filter-header h3 {
    color: #042E76;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.filter-section {
    background: #fafafa;
    border-bottom: 1px solid #808080;
    padding: 28px 0;
}
.filter-section:last-child {
    border-bottom: none;
}

.filter-content {
    padding: 0;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.sort-select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23042E76' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat;
    background-position: right 12px center;
    padding: 8px 36px 8px 12px;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    color: #042E76;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: #60C9F9;
}

.menu-toggle {
    margin-right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    color: #60C9F9 !important;
    transition: all 0.3s ease;
}

.search-toggle {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    color: #60C9F9 !important;
    transition: all 0.3s ease;
}

.form-check-input[type=radio] {
    border-radius: 100px !important;
    width: 10px !important;
}


.form-check {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.preference-options .form-check:first-child {
    margin-bottom: 0px !important;
}

.form-check-input {
    width: 4rem;
    height: 1.5rem;
    background-color: #2DA7EA !important;
    border: none !important;
    cursor: pointer;
}

.label-header {

margin-bottom: 20px;

}



label {
    margin: 0px;
}

.form-check:last-child {
    margin-bottom: 0;
}

.form-check-input {
    margin-right: 8px;
    cursor: pointer;
}

.form-check-label {
    color: #666666;
    font-size: 14px;
    cursor: pointer;
}

.preference-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preference-options .form-check:first-child {
    margin-bottom: 16px;
}

.number-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.number-options .form-check {
    margin: 0;
    min-width: 50px;
}

.range-inputs {
    display: flex
;
    gap: 12px;
    align-items: center;
}

.form-control {
    background: #E6E6E6;
    padding: 0.8rem 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.range-inputs .form-control {
    width: 33% !important;
    height: 40px;
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary {
    background-color: #00B6FF;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-link {
    color: #042E76;
   
font-size: 20px;
font-weight: 700;
line-height: 30.42px;
text-align: center;
text-decoration: none;


}

.form-check-input[type="radio"] {
    width: 15px;
    height: 15px;
    border: 1px solid #042E76;
}

.form-check-input[type="radio"]:checked {
    background-color: #042E76;
    border-color: #042E76;
}

.form-check-input[type="checkbox"] {
    width: 15px;
    height: 15px;
    border: 1px solid #042E76;
    border-radius: 4px;
}

.form-check-input[type="checkbox"]:checked {
    background-color: #042E76;
    border-color: #042E76;
}

/* Inputs de Busca */
.search-input {
    position: relative;
}

.search-input input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E9F0;
    border-radius: 5px;
    background-color: #F5F7FA;
}


nav {
    background-color: #042e7600 !important;
}


body .btn-primary {
    background-color: var(--primary-color);
    font-family: Titillium Web;
font-size: 20px;
font-weight: 700;
line-height: 30.42px;
text-align: center;

    border: none;
    width: 100% !important;
    color: #032d75;
    padding: 16px 20px 16px 20px !important;
    font-weight: bold;
    border-radius: 10px;
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.search-input i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #89B5FF;
}

/* Checkboxes e Radios Customizados */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-checkbox,
.custom-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkmark,
.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #89B5FF;
    display: inline-block;
    position: relative;
}

.checkmark {
    border-radius: 4px;
}

.radio-mark {
    border-radius: 12px;
}

.custom-checkbox input:checked ~ .checkmark,
.custom-radio input:checked ~ .radio-mark {
    background-color: #89B5FF;
}

.custom-checkbox input,
.custom-radio input {
    display: none;
}

/* Radio buttons em linha */
.radio-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.custom-radio {
    margin: 0;
    padding: 0;
}

.custom-radio input[type="radio"] {
    display: none;
}

.custom-radio .radio-mark {
    width: auto;
    height: auto;
    border: none;
    background: #E5E9F0;
    padding: 8px 12px;
    border-radius: 20px;
    color: #6C757D;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-radio input[type="radio"]:checked + .radio-mark {
    background: #89B5FF;
    color: white;
}

/* Inputs de valor e metragem */
.value-inputs {
    margin-bottom: 15px;
}

.value-inputs .input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.value-inputs span {
    color: #6C757D;
    font-size: 14px;
    min-width: 30px;
}

.value-inputs input {
    background: #F5F7FA;
    border: none;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    color: #001B3D;
}

.value-inputs input::placeholder {
    color: #6C757D;
}

/* Botões de ação */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-aplicar {
    background: #89B5FF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-aplicar:hover {
    background: #7AA4EE;
}

.btn-limpar {
    background: none;
    border: none;
    color: #6C757D;
    padding: 8px; 
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-limpar:hover {
    color: #001B3D;
}

/* Grid de Imóveis */
.properties-grid {
    margin-top: -20px;
    padding: 0px;
    background: #e6e6e6 !important;
}

.properties-grid .mobile-filter-buttons {
    display: none;
    gap: 10px;
    padding: 20px;
    background: #f5f5f5;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .properties-grid .mobile-filter-buttons {
        display: flex;
    }

    .mobile-filter-button {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        background: #fff;
        border: 1px solid #E6E6E6;
        border-radius: 100px;
        color: #042E76;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-filter-button i {
        font-size: 18px;
        color: #00b6ff;
    }

    .mobile-filter-button:hover {
        background: #f5f5f5;
    }
}

.row {
    margin: 0;
}

/* Card de Imóveis */
.property-card {
    background: rgba(255, 255, 255, 0);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.property-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 22px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-content {
   padding-top: 10px;
  
    margin-bottom: 40px;

}

.property-type {
    color: #042E76 !important;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    display: block;
}

.property-specs {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1px;
}

.spec-item img {
    width: 16px;
    height: 16px;
}

.spec-value {
    color: #042E76;
    font-weight: 700;
    font-size: 14px;
}

.property-price {
    margin-bottom: 16px;
    margin-right: 100px !important;
}


.card-price.card-price {
    display: flex
;
    align-items: flex-start;
    gap: 0px;
    margin: 0.5rem 0;
    flex-direction: column;
    gap: 2;
}


.price-total {
    margin-bottom: 4px;
}

.price-total .currency {
    color: #042E76;
    font-size: 14px;
    font-weight: 700;
}

.price-total .value {
    color: #042E76;
    font-size: 20px;
    font-weight: 700;
}

.price-total .period {
    color: #666666;
    font-size: 14px;
    margin-left: 4px;
}

.price-rent {
    color: #666666;
    font-size: 14px;
}

.price-rent .currency {
    margin-right: 2px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    font-size: 14px;
}

.property-location img {
    width: 16px;
    height: 16px;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: #6C757D;
    cursor: pointer;
}

.pagination button.active {
    background-color: #89B5FF;
    color: white;
    border-radius: 50%;
}

.pagination button:hover:not(.active) {
    color: #001B3D;
}

.pagination a {
    text-decoration: none;
}


/* Responsivo */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar-filters {
        position: sticky;
        top: 20px;
    }
}

@media (max-width: 991px) {
    .sidebar-filters {
        /* display: none; */
    }
}

/* Campo de Busca */
.search-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}



/* Botões de filtro mobile */
.mobile-filter-buttons {
    display: none;
}

@media (max-width: 991px) {
    .mobile-filter-buttons {
        display: flex;
        gap: 10px;
        padding: 20px;
        background: #fff;
        margin-bottom: 20px;
    }

    .mobile-filter-button {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        background: #fff;
        border: 1px solid #E6E6E6;
        border-radius: 100px;
        color: #042E76;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-filter-button i {
        font-size: 18px;
        color: #00b6ff;
    }

    .mobile-filter-button:hover {
        background: #f5f5f5;
    }

    .sidebar-filters {
        /* display: none; */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
    }

    .sidebar-filters.active {
        display: block;
    }

    .sidebar-filters .close-filters {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: #042E76;
        cursor: pointer;
    }
}
