.properties {
    padding: 28px 0 88px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}
.highlight-card{
    animation: highlightGlow 2s ease;
}

@keyframes highlightGlow{

0%{
box-shadow:0 0 0 rgba(34,197,94,0);
}

50%{
box-shadow:0 0 35px rgba(34,197,94,.7);
transform:scale(1.02);
}

100%{
box-shadow:0 0 0 rgba(34,197,94,0);
}

}
.property-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255,255,255,0.45);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64748b;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.favorite-btn:hover,
.favorite-btn.active {
    color: #ef4444;
    transform: scale(1.1);
}

.card-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.property-card:hover .card-image img {
    transform: scale(1.09);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.24), transparent 55%);
    pointer-events: none;
}

.no-image {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-muted);
}

.card-badges {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.location-badge,
.price-badge {
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.location-badge {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
}

.price-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-topline {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 8px;
}

.card-content h3 {
    font-size: 24px;
    color: var(--text-primary);
}

.description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
    min-height: 48px;
}

.card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.card-meta i {
    color: var(--primary);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    min-height: 34px;
}

.card-actions {
    display: grid;
    gap: 12px;
    margin-top: auto;
    align-items: stretch;
}

.card-actions-3 {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
}

.card-actions-3 > * {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
}

.view-btn,
.contact-btn,
.reserve-btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    transition: var(--transition);
}

.view-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.view-btn:hover {
    background: var(--bg-tertiary);
}

.contact-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: 1px solid transparent;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.reserve-btn {
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(22,163,74,.12));
    color: var(--text-primary);
    text-decoration: none;
}

.reserve-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}