/* ========== PROPERTY GRID LAYOUT ========== */
.havenlytics-property-grid-item {
    background: var(--havenlytics-bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--havenlytics-card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 100%;
}

.havenlytics-property-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* ========== PROPERTY GALLERY CAROUSEL ========== */
.havenlytics-property-gallery {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.havenlytics-carousel-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.havenlytics-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.havenlytics-carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.havenlytics-carousel-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.havenlytics-property-grid-item:hover .havenlytics-carousel-nav {
    opacity: 1;
}

.havenlytics-carousel-nav-btn {
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: var(--havenlytics-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 10px 15px;
}

.havenlytics-carousel-nav-btn:hover {
    background:var(--havenlytics-primary);
    transform: scale(1.1);
    color: var(--havenlytics-bg-white);
}

.havenlytics-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.havenlytics-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.havenlytics-carousel-indicator.havenlytics-carousel-active {
    background: var(--havenlytics-bg-white);
    transform: scale(1.3);
}

/* ========== PROPERTY INFO BADGES ========== */
.havenlytics-property-amount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--havenlytics-primary);
    color: var(--havenlytics-btnText);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.havenlytics-property-amount h5{
    margin: 0!important;   
     color: var(--havenlytics-btnText)!important; 
        padding: 5px 0px!important;  
         font-family: var(--havenlytics-headingFont)!important;
         font-weight: var(--havenlytics-fontWeight-semibold) !important;
         letter-spacing: 0.6px!important;
             line-height: 22px !important;
    font-size: 18px !important;
}
.havenlytics-property-featured {
    position: absolute;
    top: 22px;
    right: 15px;
    background: var(--havenlytics-accent);
    color: var(--havenlytics-bg-white);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);font-family: var(--havenlytics-bodyFont);
}

.havenlytics-property-favourite {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    color: #ccc;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.havenlytics-property-favourite.havenlytics-property-selected {
    color: var(--havenlytics-accent);
}

.havenlytics-property-favourite:hover {
    color: var(--havenlytics-accent);
    transform: scale(1.1);
}

/* ========== PROPERTY CONTENT SECTION ========== */
.havenlytics-property--content {
    padding: 20px;
}

.havenlytics-property-rating {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.havenlytics-property-rating i {
    color: #FFC107;
    font-size: 14px;
    margin-right: 2px;
}

.havenlytics-property-rating-review {
    margin-left: 8px;
    font-size: 0.9rem;
    color: var(--havenlytics-gray);font-family: var(--havenlytics-bodyFont);
}

.havenlytics-property-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--havenlytics-dark);
}

.havenlytics-property-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.havenlytics-property-title a:hover {
    color: var(--havenlytics-primary);
}

.havenlytics-property--content .havenlytics-property-location {
    display: flex;
    align-items: center;
    margin-bottom: 15px!important;
    color: var(--havenlytics-gray);font-family: var(--havenlytics-bodyFont);
}

.havenlytics-property--content svg {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    fill: var(--havenlytics-primary);
}

/* ========== PROPERTY SHORT DETAILS ========== */
.havenlytics-property-short-details {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 !important;
    margin: 15px 0 !important;
    border-top: 1px solid var(--havenlytics-border);
    border-bottom: 1px solid var(--havenlytics-border);
    list-style: none;background-color: #F7F6FF;
    
}

.havenlytics-property-short-details li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;font-size: 14px !important;font-family: var(--havenlytics-bodyFont);
}

.havenlytics-property-short-details .value {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--havenlytics-primary);
}

.havenlytics-property-short-details .label {
    font-size: 0.85rem;
    color: var(--havenlytics-gray);
    margin-top: 5px;
}

/* ========== PROPERTY FOOTER SECTION ========== */
.havenlytics-property-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    list-style: none;
    margin: 0;
}

.havenlytics-property-user-info {
    display: flex;
    align-items: center;
}

.havenlytics-property-user-info .avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid var(--havenlytics-primary);
}

.havenlytics-property-user-name {
    display: flex;
    flex-direction: column;
    line-height: 20px;
}

.havenlytics-property-user-name a {
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--havenlytics-dark);
}
.havenlytics-property-user-name a:hover{color: var(--havenlytics-primary);}
.havenlytics-property-user-name p {
    font-size: 0.8rem;
    color: var(--havenlytics-gray);
    margin: 0!important;
}

.btn-primary {
    background: var(--havenlytics-primary);
    color: var(--havenlytics-bg-white);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(108, 96, 254, 0.3);
}

.btn-primary:hover {
    background: var(--havenlytics-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 96, 254, 0.4);
    color: var(--havenlytics-bg-white);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 992px) {
    .havenlytics-property-gallery {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .havenlytics-property-gallery {
        height: 250px;
    }
    
    .havenlytics-property-grid-item {
        max-width: 400px;
        margin: 0 auto 30px;
    }
}
@media (max-width: 767px) {
.havenlytics-property--content {
    padding: 15px;
}
.havenlytics-btn-primary {
    padding: 12px 20px;

}

}
@media (max-width: 576px) {
    .havenlytics-property-gallery {
        height: 220px;
    }
    
    .havenlytics-property-title {
        font-size: 1.2rem;
    }
}