.detalle-inmueble-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}
.detalle-inmueble-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 170px;
    align-items: stretch;
    font-size: 1.1rem;
    animation: fadeInUpCard 1s;
}
.detalle-inmueble-gallery {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    justify-content: center;
    width: 38%;
    min-width: 120px;
    background: #f8f9fa;
    border-radius: var(--radius) 0 0 var(--radius);
    position: relative;
    overflow: hidden;
    flex-direction: column;
    padding: 1rem 0;
}
.detalle-inmueble-gallery img {
    max-width: 350px;
    max-height: 250px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(24,58,109,0.10);
    display: none;
    margin: 0 auto;
    transition: opacity .3s;
}
.detalle-inmueble-gallery img.active {
    display: block;
    opacity: 1;
    animation: fadeInImg 0.7s;
}
@keyframes fadeInImg {
    from { opacity: 0;}
    to { opacity: 1;}
}
.gallery-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: background 0.2s, opacity 0.2s, transform 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.gallery-btn.gallery-prev { left: 10px;}
.gallery-btn.gallery-next { right: 10px;}
.gallery-btn:hover {
    background: var(--secondary-dark);
    opacity: 1;
    transform: scale(1.12);
}
.detalle-inmueble-info {
    flex: 1;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.detalle-inmueble-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary);
    font-size: 1.3rem;
}
.price-tag {
    color: var(--secondary-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.cta-btn {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 22px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(24,58,109,0.07);
    transition: background var(--transition), color var(--transition), transform var(--transition);
    display: inline-block;
    text-align: center;
}
.cta-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.06);
}