/* Modern Property Cards Styling - Based on 2nd Image Design */

/* Property Card Container */
.vfx-single-property-box-area {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.vfx-single-property-box-area:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Property Image Container */
.vfx-property-item {
    position: relative;
    background: #fff;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.vfx-property-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 220px;
    background: #f8f9fa;
}

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

.vfx-single-property-box-area:hover .vfx-property-img img {
    transform: scale(1.05);
}

/* Sale/Rent Tags */
.vfx-feature-text {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vfx-feature-text li {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 0;
}

.vfx-feature-text li.feature_or {
    background: #ff6b35;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vfx-feature-text li.feature_cb {
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vfx-feature-text li.verified_item {
    background: #007bff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.vfx-feature-text li.verified_item i {
    font-size: 14px;
}

/* Property Type Label */
.vfx-property-author-wrap {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.vfx-property-author-wrap p.text-tlt {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    backdrop-filter: blur(10px);
}

/* Heart Icon */
.vfx-save-btn {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vfx-save-btn li {
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.vfx-save-btn li:hover {
    background: #fff;
    transform: scale(1.1);
}

.vfx-save-btn li i {
    color: #666;
    font-size: 16px;
    transition: color 0.3s ease;
}

.vfx-save-btn li:hover i {
    color: #ff6b35;
}

/* Property Details Section */
.vfx-property-title-box-area {
    padding: 20px;
    background: #fff;
}

.vfx-property-title-box-area h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #2c3e50;
}

.vfx-property-title-box-area h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vfx-property-title-box-area h4 a:hover {
    color: #007bff;
}

/* Location */
.vfx-property-location {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 14px;
}

.vfx-property-location i {
    color: #dc3545;
    margin-right: 8px;
    font-size: 16px;
}

.vfx-property-location p {
    margin: 0;
    color: #6c757d;
}

/* Bottom Section */
.trending-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed #e9ecef;
}

/* Agent Info */
.trend-left {
    flex: 1;
}

.trend-left .vfx-property-author-wrap {
    position: static;
    background: none;
    padding: 0;
    margin: 0;
}

.trend-left .property-author {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #6c757d;
    font-size: 14px;
    transition: color 0.3s ease;
}

.trend-left .property-author:hover {
    color: #007bff;
}

.trend-left .property-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.trend-left .property-author span {
    color: #6c757d;
    font-weight: 500;
    font-size: 13px;
}

/* Price */
.vfx-trend-right {
    text-decoration: none;
}

.vfx-trend-open-price {
    background: #088178;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.vfx-trend-right:hover .vfx-trend-open-price {
    background: #088178;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .vfx-property-img {
        height: 200px;
    }
    
    .vfx-property-title-box-area {
        padding: 15px;
    }
    
    .vfx-property-title-box-area h4 {
        font-size: 16px;
    }
    
    .trending-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .vfx-trend-right {
        align-self: flex-end;
    }
}

/* Swiper Container Adjustments */
.swiper-slide .vfx-single-property-box-area {
    margin-bottom: 20px;
}

/* Grid Layout Adjustments */
.property-grid .vfx-single-property-box-area {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-grid .vfx-property-item {
    flex: 1;
}

/* Remove old hover effects */
.vfx-single-property-box-area:hover .vfx-property-author-wrap {
    opacity: 1;
    visibility: visible;
}

/* Override existing styles */
.vfx-property-img:before {
    display: none;
}

.vfx-property-img:after {
    display: none;
}
