:root {
    --Text-light: #ffffff;
}
/* Ajustes para imágenes premium */
.img-style {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

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

/* Dimensiones específicas para cada sección */
.card-house .img-style {
    height: 280px;
}

.category-item .img-style {
    height: 250px;
}

.swiper-slide .img-style {
    height: 240px;
}

.tab-content-wrap .img-style {
    height: 400px;
}

/* Efectos hover mejorados */
.card-house:hover .img-style img {
    transform: scale(1.05);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .card-house .img-style {
        height: 220px;
    }

    .category-item .img-style {
        height: 200px;
    }
}

/* Placeholder para imágenes faltantes */
.img-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Ajustes para el formulario de búsqueda */
.nice-select {
    width: 100% !important;
}

.wrap-fill .tf-grid-layout > * {
    margin-bottom: 1rem;
}

/* Corrección para el carrusel con pocos elementos */
.swiper-wrapper {
    min-height: 400px;
}

.swiper-slide {
    height: auto;
}
/* Correcciones para carrusel con pocos elementos */
.section-top-properties.few-items .swiper-wrapper {
    justify-content: center;
}

.section-top-properties.few-items .swiper-slide {
    max-width: 400px;
}

/* Mejoras visuales generales */
.card-house .content {
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.card-house .content .price {
    flex-shrink: 0;
}

.card-house .content .info {
    margin-top: auto;
    flex-shrink: 0;
}

/* Asegurar que los textos se mantengan legibles */
.title.line-clamp-3,
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}