.property-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 141, 112, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(19, 35, 67, 0.06);
}

.property-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.property-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f6faf9;
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-topbar {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.property-ref {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #16333d;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.property-favorite-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #16333d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.property-favorite-btn i {
    font-size: 15px;
}

.property-favorite-btn.favorite,
.property-favorite-btn.active,
.property-favorite-btn.selected {
    color: #ffb400;
}

.property-body {
    padding: 14px 14px 12px;
}

.property-price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
}

.property-price strong {
    font-size: 22px;
    line-height: 1;
    color: #16333d;
}

.property-price span {
    font-size: 13px;
    color: #6a7d85;
    font-weight: 600;
}

.property-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #008d70;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.property-location i {
    font-size: 13px;
}

.property-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.4;
    color: #16333d;
    font-weight: 700;
}

.property-title {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #60747d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.property-legal {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #6a7d85;
}

.property-details {
    margin: 0 14px 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 141, 112, 0.10);
}

.property-details summary {
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 700;
    color: #008d70;
}

.property-details summary::-webkit-details-marker {
    display: none;
}

.recent-property-details-content {
    padding-top: 8px;
}

.property-details-content p {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #60747d;
}

.property-details-content a {
    color: #008d70;
    text-decoration: none;
    font-weight: 700;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 640px) {
.recent-viewed-section {
        padding: 22px 0 16px;
    }

    .recent-viewed-head {
        margin-bottom: 14px;
    }

    .recent-viewed-head h2 {
        font-size: 21px;
    }

    .recent-viewed-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .recent-property-body {
        padding: 12px;
    }

    .recent-property-price strong {
        font-size: 20px;
    }
}
