.property-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.property-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.property-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card-link:hover .property-card-image img {
    transform: scale(1.05);
}

.property-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
}

.property-card-price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.property-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0;
    line-height: 1.2;
}

.property-card-price-sqm {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
    white-space: nowrap;
}

.property-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.property-card-details span {
    display: inline-flex;
    align-items: center;
}

.property-card-details i {
    margin-right: 5px;
    color: #868e96;
}

.property-card-location {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}
.property-card-location i {
    margin-right: 5px;
    color: #868e96;
    flex-shrink: 0;
}


.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    background-color: #fdfdfd;
}

.property-card-date {
    font-size: 0.8rem;
    color: #757575;
}

.property-card-favorite {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
}

.property-card-favorite:hover {
    color: #ff6b6b;
}

.property-card-favorite.active {
    color: #e74c3c;
}
.property-card-favorite.active:hover {
    color: #c0392b;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 0 15px;
}