.property-card {
    margin: 4px auto 10px;
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 10px #0000001a;
    transition: .4s;
    cursor: pointer;
}

.property-card .slick-img {
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 250px;
    contain: size;
}

.property-card .slick-img div {
    height: 250px;
    background-position: center center;
    background-size: contain;
}

.property-card .slick-track {
    height: 250px;
}

.property-card.card-column .property-card-slick,
.property-card.card-column .property-card-footer,
.property-card.card-column .property-card-body>.row>.col-12 {
    flex: 0 0 auto !important;
    width: 100% !important;
    flex-direction: column;
}

.property-card .property-card-slick {
    position: relative;
}

.property-card .floating-element {
    position: absolute;
    top: 8px;
    left: 8px;
    color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 10;
    pointer-events: none;
}

.property-card .floating-element.ultra {
    background: #2d895f;
}

.property-card .floating-element.turbo {
    background: #0066cc;
}

.property-card .slick-arrow {
    z-index: 2;
}

.property-card .slick-prev:before,
.property-card .slick-next:before {
    font-size: 42px;
}

.property-card .slick-prev {
    left: 7px;
}

.property-card .slick-next {
    right: 28px;
}

.property-card .slick-list {
    border-radius: 8px;
}

.property-card .property-card-title {
    color: black;
    font-size: 1.1em;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    line-height: 1.5 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: initial !important;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.widget_box label {
    min-height: 80px;
}

.swipe-mobile {
    flex-wrap: wrap;
    gap: 12px;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 5px solid var(--color-white);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.imobs_adds_box {
    background-color: #eae9e9;
    width: 100%;
    height: 135px;
    margin: 0 auto 20px;
}

.imobs_adds_box .publicity_cell {
    width: 100%;
    height: 135px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.imobs_adds_box .publicity_cell img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.mobile-btn-wrap {
    display: none;
}

@media (max-width: 1280px) {
    .advanced-filter-wrap {
        display: none
    }
}

@media (max-width: 768px) {
    .info-total {
        display: none
    }

    .mobile-btn-wrap {
        display: block;
    }

    .advanced-filter-wrap.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        background: #fff;
        z-index: 40;
        overflow-y: auto;
        max-height: 100vh;
    }
}

/* SEÇÃO FILTROS AVANÇADOS */
/* Base sidebar styles */
.sidebar-filter {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 15px;
    overflow-y: auto;
}

.sidebar-filter.active {
    left: 0;
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .sidebar-filter {
        width: 400px;
        left: -400px;
        padding: 20px;
    }
}

@media (min-width: 992px) {
    .sidebar-filter {
        width: 500px;
        left: -500px;
    }
}

/* Filter buttons and inputs responsiveness */
.filter-btn {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
}

.custom-button-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    margin: 5px;
    transition: all 0.3s ease;
    width: calc(50% - 10px);
    justify-content: flex-start;
}

/* Icon styles */
.custom-button-filters i {
    font-size: 18px;
    margin-right: 8px;
}

/* Active state */
.custom-button-filters.active {
    background-color: #2d895f;
    color: white;
    border-color: #2d895f;
}

/* Hover state */
.custom-button-filters:hover {
    background-color: #f5f5f5;
    border-color: #2d895f;
}

.custom-button-filters.active:hover {
    background-color: #247a4f;
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .custom-button-filters {
        width: calc(33.333% - 10px);
    }
}

@media (max-width: 575px) {
    .custom-button-filters {
        width: calc(50% - 10px);
        font-size: 14px;
        padding: 8px 12px;
    }

    .custom-button-filters i {
        font-size: 16px;
    }
}

/* Price inputs responsiveness */
.price-input-wrapper {
    position: relative;
    flex: 1;
}

.price-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.currency-symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Select inputs responsiveness */
.filter-select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
}

/* Search bar responsiveness */
.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px;
    padding-right: 40px;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
}

/* Misc responsive adjustments */
.sidebar-header {
    padding: 10px 0;
    margin-bottom: 15px;
}

.sidebar-content {
    padding-bottom: 20px;
}

.number-btn-small {
    flex: 1;
    min-width: 45px;
    padding: 8px;
    font-size: 14px;
    text-align: center;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h6 {
    margin-bottom: 15px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.search-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
}

.filter-btn {
    border: 1px solid #2d895f;
    color: #2d895f;
    transition: all 0.3s;
    border-radius: 20px;
    padding: 8px 16px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #2d895f;
    color: white;
}


.number-btn-small {
    padding: 4px 12px;
    min-width: 40px;
    height: 32px;
    border: 1px solid #2d895f;
    border-radius: 4px;
    background-color: white;
    color: #2d895f;
    font-size: 14px;
    transition: all 0.2s;
}

.number-btn-small:hover,
.number-btn-small.active {
    background-color: #2d895f;
    color: white;
}


.search-btn {
    background-color: #2d895f;
    border-color: #2d895f;
    padding: 10px 24px;
}

.search-btn:hover {
    background-color: #236e4c;
    border-color: #236e4c;
}

.filter-row {
    width: 100%;
}

.flex-1 {
    flex: 1;
}

.filter-label {
    color: #2d895f;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    color: #1a1a1a;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-select:hover {
    background-color: #f1f5f9;
}

.filter-select:focus {
    outline: none;
    border-color: #2d895f;
    box-shadow: 0 0 0 3px rgba(45, 137, 95, 0.1);
}

.price-input-wrapper {
    position: relative;
    flex: 1;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-weight: 500;
}

.price-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.price-input:hover {
    background-color: #f1f5f9;
}

.price-input:focus {
    outline: none;
    border-color: #2d895f;
    box-shadow: 0 0 0 3px rgba(45, 137, 95, 0.1);
}

.clear-filters-btn {
    width: 100%;
    padding: 12px;
    background-color: #2d895f;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clear-filters-btn:hover {
    background-color: #236e4c;
}

/* Placeholder styling */
.price-input::placeholder {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }
}

.search-container {
    width: 100%;
    max-width: 800px;
}

.search-wrapper {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    background-color: #f8fafc;
    font-size: 0.95rem;
}

.search-input:focus {
    outline: none;
    border-color: #2d895f;
}

.search-button {
    padding: 0 20px;
    background-color: #2d895f;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background-color: #236e4c;
}

.search-button i {
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .mobile-full-width {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Base styles */
.view-btn.active {
    background-color: #0d6efd;
    color: white;
}

.property-item {
    transition: all 0.3s ease;
}

/* Grid view styles */
.grid-view .property-item {
    margin-bottom: 1.5rem;
}

.grid-view .property-item .card {
    flex-direction: column;
}

.grid-view .property-item .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* List view styles */
.list-view .property-item {
    max-width: 100%;
    margin-bottom: 1rem;
}

.list-view .property-item .card {
    flex-direction: row;
}

.list-view .property-item .card-img-top {
    width: 300px;
    height: 100%;
    object-fit: cover;
}

.list-view .property-item .card-body {
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .list-view .property-item .card {
        flex-direction: column;
    }

    .list-view .property-item .card-img-top {
        width: 100%;
        height: 200px;
    }
}

.bg-success-active {
    color: white;
    background-color: #2d895f;
}

.property-card {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
}

.ultra-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #236e4c;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ultra-turbo {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #FFAB00;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ultra-badge i {
    font-size: 14px;
}

.slick-img {
    width: 100%;
    height: 100%;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
