.property-card-wrapper {
    padding: 14px;
}

.property-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px -10px #04151224;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image-box {
    position: relative;
    overflow: hidden;
}

.property-image {
    display: block;
    padding-bottom: 75%;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.badge-highlight {
    background-color: var(--bg-primary);
    color: var(--color-second);
}

.badge-verified {
    background-color: #ffffffbf;
    color: var(--color-second);
}

.btn-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
}

.btn-favorite:hover,
.btn-favorite.active {
    color: #e74c3c;
    background: #fff;
}

.btn-favorite .material-icons-outlined {
    font-size: 16px;
}

.property-photo-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #0415128c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

.property-photo-count .material-icons-outlined {
    font-size: 14px;
}

.property-content {
    padding: 24px;
    flex-grow: 1;
}

.property-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.property-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-3);
    letter-spacing: -1.26px;
}

.property-price-unit {
    font-size: 11px;
    color: var(--color-4);
    font-weight: 500;
}

.property-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
    height: 49px;
    /* 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    letter-spacing: -0.6px;
}

.property-location {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}

.property-location svg {
    margin-top: 4px;
}

.property-amenities {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-top: 1px solid #eee;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.amenity-item:last-child {
    margin-left: auto;
}

.amenity-item .material-icons-outlined {
    font-size: 18px;
    color: #888;
}

.property-footer {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-footer .property-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.property-footer .property-agent a {
    display: flex;
}

.property-footer .agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.property-footer .agent-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.property-footer .agent-label {
    font-size: 11px;
    text-transform: uppercase;
}

.property-footer .agent-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-icon {
    font-size: 12px;
    color: #f6a118;
}

.btn-contact {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.property-mobile-meta,
.mobile-price {
    display: none;
}

@media (max-width: 767px) {

    .property-card-wrapper {
        padding: 8px;
    }

    .property-card {
        flex-direction: row-reverse;
        padding: 12px;
        gap: 15px;
        align-items: stretch;
        border-radius: 20px;
    }

    .property-image-box {
        width: 40%;
        min-height: 100px;
        flex-shrink: 0;
        border-radius: 16px;
    }

    .property-image {
        padding-bottom: 0;
        height: 100%;
    }

    .property-content {
        padding: 0;
        flex-grow: 1;
    }

    .desktop-badges,
    .desktop-price-row,
    .btn-contact,
    .agent-label,
    .property-photo-count {
        display: none !important;
    }

    .property-mobile-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .badge-featured {
        color: var(--color-3);
        font-weight: 700;
        font-size: 10px;
    }

    .mobile-price {
        display: block;
        font-size: 16px;
        font-weight: 800;
        color: var(--color-3);
        letter-spacing: -1px;
    }

    .property-title {
        font-size: 15px;
        height: auto;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        margin-bottom: 3px;
    }

    .property-location {
        font-size: 12px;
        margin-bottom: 5px;
        color: #666;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .property-amenities {
        padding: 3px 0;
        border: none;
        gap: 12px;
    }

    .amenity-item {
        font-size: 12px;
    }

    .amenity-item svg {
        width: 14px;
        height: 14px;
    }

    .property-footer {
        padding-top: 5px;
        border: none;
    }

    .property-footer .agent-avatar {
        width: 28px;
        height: 28px;
    }

    .property-footer .agent-name {
        font-size: 13px;
        color: #666;
        font-weight: 500;
    }

    .btn-favorite {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .property-card:hover {
        transform: translateY(0px);
    }
}