/* Propiedades Section */
.properties-section {
    padding: 60px 0;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

/* Filtros Sidebar */
.filter-sidebar {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.irs--flat .irs-bar {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.irs--flat .irs-handle>i:first-child {
    background-color: var(--secondary-color);
}

.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single {
    background-color: var(--secondary-color);
}

/* Resultados */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.sort-options .form-select {
    width: auto;
    display: inline-block;
    border-radius: 50px;
    padding: 8px 15px;
    border-color: #ddd;
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.property-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.property-content {
    padding: 20px;
}

.property-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-address {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.feature {
    text-align: center;
    font-size: 0.9rem;
}

.feature i {
    display: block;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Botones */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.property-card {
    animation: fadeIn 0.5s both;
}