/* =====================================================
   Tarjetas y detalle de propiedades (UI mejorada)
   ===================================================== */

.property-card {
    background-color: #fff;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .14);
}

.property-card-media {
    display: block;
    position: relative;
    overflow: hidden;
}

.property-card-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .5s ease;
}

.property-card:hover .property-card-media img {
    transform: scale(1.06);
}

.property-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: .25rem;
}

.property-card-title a:hover {
    color: #253181 !important;
}

.property-code {
    background-color: #f1f1f1;
    color: #555;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.property-price {
    color: #2F3CA1;
    font-size: 1.25rem;
    font-weight: 800;
    margin: .5rem 0 .75rem;
}

.property-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: auto;
}

.property-meta li {
    color: #777;
    font-size: .9rem;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.property-meta li i {
    color: #FDB21B;
    width: 18px;
    margin-top: .15rem;
}

.property-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #fff;
    color: #2F3CA1;
    font-size: .8rem;
    font-weight: 700;
    padding: .35rem .75rem;
    border-radius: 999px 0 0 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.property-badge.op-venta {
    background-color: #fff;
    color: #2F3CA1;
}

.property-badge.op-alquiler {
    background-color: #FADA00;
    color: #6b5600;
}

.property-status {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .35rem .7rem;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.property-status.status-disponible { background-color: #28a745; }
.property-status.status-alquilado   { background-color: #ea181e; }
.property-status.status-vendido     { background-color: #ea181e; }

/* Detalle de propiedad */
.single-caption h1 {
    color: #2F3CA1;
    font-size: 1.75rem;
}

.single-caption .price {
    color: #2F3CA1;
    font-size: 1.6rem;
}

.single-caption table th {
    color: #555;
    font-size: .9rem;
    width: 160px;
}

.single-caption table th i {
    color: #FDB21B;
}
