
.properties-title {
    font-family: 'Oswald', Sans-serif;
    font-size: 3.125rem;
    line-height: 1.3;
    text-transform: uppercase;
    color: #FFF;
    text-align: center;
    margin: 0 0 1.875rem 0;
}


.properties-subtitle {
    margin: 0 0 3.125rem 0;
    font-size: 1.25rem;
    font-family: 'Manrope', Sans-serif;
    color: #AAA;
    text-align: center;
}

.properties-search-wrapper,
.list-properties-wrapper {
    font-family: 'Oswald', Sans-serif;
}

.properties-container {
    display: flex;
    flex-direction: column;
}

.list-properties-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.list-property-box {
    background-color: #1F2127;
    border: 0.063rem solid #373B47;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    padding: 1.563rem;
    transition: 0.3s;
    cursor: pointer;
}
.list-property-box:hover {
    background-color: #282A31;
}

.list-property-box figure {
    position: relative;
    overflow: hidden;
    padding-top: 80%;
    border-radius: 1rem;
}

.list-property-box figure a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-property-box h2 {
    margin: 0;
    padding-top: 1.875rem;
    padding-bottom: 1.125rem;
    font-size: 1.375rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
}
.list-property-box p.property-location {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
}
.list-property-box p { 
    font-family: 'Manrope', Sans-serif;
    color: #FFFFFF85; 
    font-size: 0.875rem;
}

.list-property-box p.property-location svg {
    width: 0.875rem;
    fill: #F6CC66;
}
.list-property-box .property-type {
    display: flex;
    gap: 0.625rem;
}
.list-property-box .property-type p {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0;
}

.list-property-box .divider {
    width: 100%;
    height: 0.063rem;
    background-color: #FFFFFF2E;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.list-property-box .property-footer {
    display: flex;
}
.list-property-box .property-footer .property-price {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-grow: 1;
    line-height: 1.625rem;
    margin: 0;
}
.list-property-box .property-footer .property-price span:first-child { 
    color: #FFF; 
    font-family: 'Manrope', Sans-serif;
    margin-bottom: 0.25rem;
}
.list-property-box .property-footer .property-price span:last-child {
    font-size: 2.25rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #F6CC66;
    font-family: 'Oswald', Sans-serif;
}

.list-property-box .property-footer a {
    width: 3.625rem;
    height: 3.625rem;
    transition-duration: .3s;
    transition-property: transform;
}

.list-property-box .property-footer a:hover {
    transform: scale(1.1);
}

form.properties-search-wrapper {
    background-color: #1F2127;
    border-radius: 1rem;
    position: relative;
    padding: 3.25rem 2.25rem 2.25rem 2.25rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
form.properties-search-wrapper .properties-offer-types-wrapper {
    display: flex;
    gap: 1rem;
    position: absolute;
    left: 2.25rem;
    top: -1.75rem;
}
form.properties-search-wrapper .properties-offer-types-wrapper label {
    flex-shrink: 0;
    background-color: #090B0F;
    color: #FFF;
    font-family: 'Manrope', Sans-serif;
    padding: 1rem 1.875rem;
    font-size: 1rem;
    border-radius: 2rem;  
    cursor: pointer;
}

form.properties-search-wrapper .properties-offer-types-wrapper label input { display: none; }
form.properties-search-wrapper .properties-offer-types-wrapper label:has(> input:checked) {
    background-color: #FFF;
    color: #45342D;
}

form.properties-search-wrapper .search-btn {
    background: linear-gradient(180deg, #FFEBC6 0%, #F6CC66 100%);
    border: 0;
    border-radius: 2rem;
    text-transform: uppercase;
    color: #45342D;
    font-size: 0.875rem;
    font-weight: 600;
    width: 100%;
    padding: 0.625rem 0;
    font-family: 'Manrope', Sans-serif;
    letter-spacing: 0.125rem;
}

form.properties-search-wrapper .search-btn span:last-child { display: none; }
form.properties-search-wrapper .search-btn span:last-child svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #45342D;
    animation: spin 2s linear infinite;
}
form.properties-search-wrapper .search-btn.active span:first-child { display: none; }
form.properties-search-wrapper .search-btn.active span:last-child {
    display: flex;
    justify-content: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

form.properties-search-wrapper .properties-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

form.properties-search-wrapper .properties-filters .properties-filter-select {
    position: relative;
    z-index: 99;
    color: #AAA;
    font-family: 'Manrope', Sans-serif;
}
form.properties-search-wrapper .properties-filters .properties-filter-select .label { 
    position: relative;
    background-color: #090B0F;
    padding: 0.625rem 1.875rem;
    font-size: 1rem;
    border-radius: 2rem;    
}
form.properties-search-wrapper .properties-filters .properties-filter-select .label:after {
    content: '';
    border: solid #AAA;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

form.properties-search-wrapper .properties-filters .properties-filter-select .container {
    display: none;
    position: absolute;
    top: 2.5rem;
    left: 0;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    background-color: #090B0F;
    padding-left: 1.875rem;
    padding-right: 1.875rem;
}
form.properties-search-wrapper .properties-filters .properties-filter-select .container input {
    font-family: 'Manrope', Sans-serif;
}
form.properties-search-wrapper .properties-filters .properties-filter-select.active .label {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
form.properties-search-wrapper .properties-filters .properties-filter-select.active .container {
    display: flex;
    flex-direction: column;
}
form.properties-search-wrapper .properties-filters .properties-filter-select.active .container > * + * {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
form.properties-search-wrapper .properties-filters .properties-filter-select .properties-filter-selected,
form.properties-search-wrapper .properties-filters .properties-filter-select .properties-prices-selected {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
form.properties-search-wrapper .properties-filters .properties-filter-select .properties-filter-selected button,
form.properties-search-wrapper .properties-filters .properties-filter-select .properties-prices-selected span button {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background-color: #090B0F;
    color: #FFF;
    font-family: 'Manrope', Sans-serif;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.75rem;
    border: 0;
    cursor: pointer;    
}
.list-properties-pagination {
    margin-top: 2.125rem;
    margin-bottom: 5.625rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
}
.list-properties-pagination .pages {
    grid-column: span 3 / span 3;
    justify-content: center;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.list-properties-pagination .pages .arrow-nav,
.list-properties-pagination .pages .number-nav,
.list-properties-pagination .pages .current,
.list-properties-pagination .pages .dots {
    background-color: #16171D;
}

.list-properties-pagination .pages .arrow-nav,
.list-properties-pagination .pages .number-nav,
.list-properties-pagination .pages .dots {
    color: #AAA;
}
.list-properties-pagination .pages .arrow-nav,
.list-properties-pagination .pages .number-nav,
.list-properties-pagination .pages .current,
.list-properties-pagination .pages .dots {
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-properties-pagination .pages .arrow-nav {
    width: 4.375rem;
    height: 4.375rem;

}
.list-properties-pagination .pages .arrow-nav svg {
    width: 1.125rem; 
    fill: #AAA;
}

.list-properties-pagination .pages .arrow-nav span { display: none;}
.list-properties-pagination .pages .current,
.list-properties-pagination .pages .number-nav,
.list-properties-pagination .pages .dots {
    width: 3.75rem;
    height: 3.75rem;
}

.list-properties-pagination .pages .current {
    background: linear-gradient(180deg, #FFEBC6 0%, #F6CC66 100%);
    color: #45342D;
}

.list-properties-pagination .results,
.list-properties-pagination .results-per-page {
    color: #AAA;
    text-align: center;
}
.properties-container .view-more-properties {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.properties-container .view-more-properties .view-more-btn {
    background: linear-gradient(180deg, #FFEBC6 0%, #F6CC66 100%);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.125rem;
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.625rem 1rem;
    color: #45342D;    
}

.select2-container--default .select2-selection--single {
    background-color: #090B0F !important;
    padding: 0.625rem 1.875rem;
    font-size: 1rem;
    font-family: 'Manrope', Sans-serif;
    border-radius: 2rem !important; 
    border: none !important;
    height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #AAA !important;
    line-height: normal !important;
}
.select2-container--open .select2-dropdown--below {
    top: 0.875rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    background-color: #090B0F;
    padding-left: 0.75rem;
    padding-right: 0.75rem;  
    color: #AAA;
    font-family: 'Manrope', Sans-serif;
    border-color: transparent;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow { top: 0.5rem !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { display: none; }

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
    content: '';
    border: solid #AAA;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 560px) {
    
    
    .e-con-inner:has(.list-properties-wrapper) { flex-wrap: nowrap !important; }

    .list-properties-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.875rem;
    }

    .properties-subtitle { margin-bottom: 1rem; }
    form.properties-search-wrapper .properties-filters {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 1rem;
    }    

    form.properties-search-wrapper .properties-filters .properties-filter-select .label { padding: 1rem 1.875rem; }
    form.properties-search-wrapper .properties-filters .properties-filter-select { z-index: unset; }
    form.properties-search-wrapper .properties-filters .properties-filter-select.active .container { z-index: 999; }
    form.properties-search-wrapper .properties-filters .search-btn-wrapper {
        display: flex;
        justify-content: center;
    }

    form.properties-search-wrapper .properties-filters .search-btn-wrapper .search-btn {
        width: 12.5rem;
        padding: 1.25rem 0;
    }

    form.properties-search-wrapper .properties-offer-types-wrapper {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        justify-content: center;
    }
    
    .properties-title { font-size: 1.75rem; }

    .list-properties-pagination {
        display: flex;
        flex-direction: column;
        grid-template-columns: unset;

    }
    .list-properties-pagination > * + * { margin-top: 1rem; }    
    .list-properties-pagination .pages { grid-column: unset; }    
    
    .list-properties-pagination .pages .arrow-nav span { display: block; }

    
    .list-properties-pagination .pages .arrow-nav {
        width: auto;
        height: auto;
        padding: 0.5rem 1rem;
        border-radius: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .list-properties-pagination .pages .current, 
    .list-properties-pagination .pages .number-nav, 
    .list-properties-pagination .pages .dots {
        display: none;
    }

    .properties-container .view-more-properties .view-more-btn {
        padding: 1.25rem 1rem;
        width: 100%;
        text-align: center;
    }
}





