﻿.property-card {
    width: 340px;
    background: #fff;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* CONTENEDOR DEL CARRUSEL */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

/* IMAGEN */
.carousel-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .6s ease;
}

/* EFECTO ZOOM */
.carousel-container:hover img {
    transform: scale(1.12);
}

/* OSCURECER UN POCO */
.carousel-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.10);
    opacity: 0;
    transition: .3s;
    pointer-events: none;
}

.carousel-container:hover::after {
    opacity: 1;
}

/* BOTON FOR SALE */
.badge-sale {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    background: #12c48b;
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================
   ESTADO DE LA PROPIEDAD - RESERVADO
   ========================================== */
.badge-reservado {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: #F8DA6E;
    color: black;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 10;

}

    .badge-reservado i {
        font-size: 14px;
    }

/* ========================================== APTO CRÉDITO ========================================== */ 
.badge-credito {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    background-color: #DCE7F2;
    color: #16324F;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

    .badge-credito i {
        font-size: 12px;
    }


/* FLECHAS */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: .3s;
}

.carousel-container:hover .carousel-control-prev,
.carousel-container:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
    color: #0f172a;
}

.title {
    font-size: 27px;
    font-weight: 700;
    margin-top: 18px;
    color: #0f172a;
}

.location {
    color: #94a3b8;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    height: 30px;
}

.price-label {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 20px;
}

.price {
    color: #273B5E;
    font-size: 25px;
    font-weight: 700;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #eefaf6;
    color: #273B5E;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.features {
    margin-top: 20px;
    color: #64748b;
    font-size: 15px;
}

    .features i {
        color: #16324f;
    }

.agent {
    margin-top: 2px;
}

    .agent .btn-details {
        border: 2px solid #273B5E;
        color: #fff;
        background: #273B5E;
        border-radius: 12px;
        padding: 10px 18px;
        font-weight: 600;
        transition: .3s;
        margin-top: 20px;
        text-decoration: none;
    }

.btn-details:hover {
    background: #fff;
    color: #273B5E;
}

.espacioCard {
    margin-right: 2%;
}

.property-list-container {
    padding-left: 15px;
    padding-right: 15px;
}

    .property-list-container .row {
        flex-wrap: wrap;
    }


