/* Header de página con fondo azul */
.header {
    background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.header .premium-icon-container,
.header .premium-icon-container i,
.header i,
.header h2,
.header h2 span,
.header h2 i {
    color: white !important;
}

/* Nocturno: header sigue con fondo azul, texto blanco */
html[data-tema="nocturno"] .header h2,
html[data-tema="nocturno"] .header h2 span,
html[data-tema="nocturno"] .header h2 i {
    color: #fff !important;
}

/* Futurista: header cyan */
html[data-tema="futurista"] .header h2,
html[data-tema="futurista"] .header h2 span,
html[data-tema="futurista"] .header h2 i {
    color: #00f7ff !important;
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.4);
}

/* Estilos específicos para showcase de propiedades */
.stats-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 12px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stats-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.property-showcase-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 144, 255, 0.2);
    overflow: visible;
    height: auto;
    position: relative;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
    padding: 0 !important;
    border-radius: 12px;
}

.property-showcase-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.3);
    border-color: rgba(30, 144, 255, 0.4);
}

.encabezado-usuario {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 0;
    border-bottom: 1px solid rgba(30, 144, 255, 0.1);
    background: rgba(30, 144, 255, 0.02);
}

.foto-usuario {
    margin-right: 10px;
}

.avatar-circular {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(30, 144, 255, 0.2);
}

.avatar-defecto {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--premium-primary), var(--premium-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.info-usuario {
    flex: 1;
}

.nombre-usuario {
    font-weight: 600;
    font-size: 14px;
    color: var(--premium-primary, #1e90ff) !important;
    margin-bottom: 2px;
}

.fecha-publicacion {
    font-size: 12px;
    color: var(--premium-primary, #1e90ff) !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-actualizada {
    background: transparent;
    color: var(--premium-primary, #1e90ff) !important;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

/* Título de la propiedad debajo del avatar */
.titulo-propiedad-tarjeta {
    padding: 6px 12px 4px;
    margin: 0;
}

.titulo-propiedad-tarjeta h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--premium-primary, #1e90ff) !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-bs-theme="dark"] .titulo-propiedad-tarjeta h6 {
    color: var(--premium-primary, #1e90ff) !important;
}

.property-image-showcase {
    position: relative;
    height: 240px;
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
}

.property-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

/* Specs overlay dentro de la imagen */
.specs-overlay-imagen {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
    z-index: 3;
    border-radius: 0 0 8px 8px;
}

.spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255,255,255,0.18);
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.2px;
}

.spec-chip i {
    font-size: 0.72rem;
    opacity: 0.9;
    color: #ffffff !important;
}

.property-showcase-card:hover .property-main-image {
    transform: scale(1.08);
}

/* Carousel específico para tarjetas de publicación */
.property-card-carousel {
    height: 100%;
}

.property-card-carousel .carousel-item {
    height: 240px;
}

.property-card-carousel .carousel-inner {
    height: 100%;
    border-radius: 0;
}

/* Controles del carousel para tarjetas */
.carousel-control-card-subtle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.property-image-showcase:hover .carousel-control-card-subtle {
    opacity: 0.8;
}

.carousel-control-card-subtle:hover {
    opacity: 1;
}

.carousel-control-card-subtle .carousel-control-prev-icon,
.carousel-control-card-subtle .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 4px;
}

/* Contador de imágenes para tarjetas */
.carousel-counter-card {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.carousel-counter-card .fa-camera,
.carousel-counter-card .fa-images {
    font-size: 10px;
}
    font-size: 10px;
}

.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
}

/* Badge combinado - acción y tipo en una sola etiqueta */
.property-badge-combined {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    color: white;
}

.property-badge-combined.action-alquiler {
    background: rgba(30, 144, 255, 0.85);
}

.property-badge-combined.action-venta {
    background: rgba(34, 197, 94, 0.85);
}

.property-badge-combined .badge-separator {
    margin: 0 6px;
    opacity: 0.7;
}

.property-badge-combined .badge-action,
.property-badge-combined .badge-type {
    white-space: nowrap;
}

.property-badge {
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.action-badge {
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    color: white;
}

.action-alquiler {
    background: rgba(30, 144, 255, 0.85);
}

.action-venta {
    background: rgba(34, 197, 94, 0.85);
}

.type-badge {
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    color: white;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.property-showcase-card:hover .property-overlay {
    opacity: 1;
}

/* Precio en el body (fuera de la imagen) */
.property-price-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.property-price-section .price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.property-price-section .property-badge-combined {
    font-size: 0.68rem;
    padding: 3px 8px;
}

.price-text {
    color: var(--premium-primary, #1e90ff) !important;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
}

.deposit-text {
    color: var(--premium-primary, #1e90ff) !important;
    font-weight: 500;
    font-size: 0.82rem;
}

.area-text {
    color: var(--premium-secondary, #4169e1) !important;
    font-weight: 500;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.area-text i {
    margin-right: 0.25rem;
    font-size: 0.75rem;
}

/* Descripción expandible estilo Facebook */
.property-description {
    color: var(--premium-primary, #1e90ff) !important;
}

.property-description * {
    color: var(--premium-primary, #1e90ff) !important;
}

.property-description .description-text {
    margin-bottom: 0;
    transition: all 0.3s ease;
    color: var(--premium-primary, #1e90ff) !important;
}

.property-description .description-short,
.property-description .description-full,
.property-description .description-simple {
    color: var(--premium-primary, #1e90ff) !important;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px;
    display: block;
}

.property-description .description-short {
    display: block;
}

.property-description .description-full {
    display: none;
}

.property-description .description-text[data-collapsed="false"] .description-short {
    display: none;
}

.property-description .description-text[data-collapsed="false"] .description-full {
    display: block;
}

.property-description p,
.property-description span {
    color: var(--premium-primary, #1e90ff) !important;
    line-height: 1.1 !important;
}

.property-description .ver-mas-btn {
    color: #1e90ff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 2px;
}

.property-description .ver-mas-btn:hover {
    text-decoration: underline;
}

.property-showcase-body {
    padding: 10px 12px;
    overflow: visible;
    height: auto;
}

.property-showcase-title {
    color: var(--premium-primary);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.property-location-info {
    display: flex;
    align-items: center;
    font-size: 0.82rem;
}

.property-location-info i,
.property-location-info span {
    color: var(--premium-primary, #1e90ff) !important;
}

.property-description {
    border-left: 3px solid rgba(30, 144, 255, 0.3);
    padding-left: 8px;
    margin-left: 6px;
    overflow: visible;
    height: auto;
}

.property-description p {
    color: #1e90ff !important;
}

.ver-mas-container {
    text-align: right;
    margin-top: 4px;
    position: relative;
}

.property-showcase-card {
    position: relative !important;
}

.descripcion-dropdown {
    position: absolute;
    bottom: calc(100% + 2px);
    left: -53px;
    right: -36px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: auto;
    height: auto;
    min-height: 60px;
    max-height: 300px;
    display: flex;
    flex-direction: column-reverse;
}

.dropdown-header {
    display: flex;
    justify-content: flex-end;
    padding: 4px 8px;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    background: rgba(0, 123, 255, 0.05);
    border-radius: 0 0 8px 8px;
    min-height: 32px;
    align-items: center;
}

.dropdown-close {
    cursor: pointer;
    font-size: 18px;
    color: #999;
    font-weight: bold;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.dropdown-close:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dropdown-content {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    overflow-y: auto;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
    border-radius: 8px 8px 0 0;
    /* Scroll invisible */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.dropdown-content::-webkit-scrollbar {
    display: none; /* WebKit browsers */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ver-mas-btn {
    color: #007bff !important;
    cursor: pointer !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    display: inline-block !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    background-color: rgba(0, 123, 255, 0.1) !important;
    border: 1px solid rgba(0, 123, 255, 0.3) !important;
    transition: all 0.2s ease !important;
}

.ver-mas-btn:hover {
    color: #ffffff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3) !important;
}

.overlay-descripcion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-contenido {
    background: white;
    border-radius: 10px;
    padding: 25px;
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.overlay-titulo {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.overlay-cerrar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-cerrar:hover {
    color: #333;
}

.overlay-texto {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

.property-price-showcase {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(65, 105, 225, 0.1));
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

/* Sistema de precios unificado para showcase */
.rental-pricing-large, .sale-pricing-large {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rental-primary-large {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.rental-period-large {
    font-size: 0.8rem;
    color: var(--premium-primary);
    font-weight: 600;
    margin-left: 2px;
}

.rental-secondary-large {
    color: #666 !important;
    font-size: 0.7rem;
    text-align: center;
}

.rental-secondary-large small {
    color: #666 !important;
}

.price-display-large, .rental-primary-large {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency-symbol {
    font-size: 0.9rem;
    color: var(--premium-primary);
    font-weight: 600;
}

.price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--premium-primary);
}

.currency-code {
    font-size: 0.7rem;
    color: var(--premium-secondary);
    font-weight: 500;
    text-transform: uppercase;
}

.price-consult-large {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--premium-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.premium-icon-xl {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--premium-primary), var(--premium-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.3);
}

.premium-icon-xl i {
    font-size: 2.5rem;
    color: white;
}

/* Estado vacío premium con colores ajustados */
.empty-showcase-state {
    max-width: 600px;
    margin: 0 auto;
}

.empty-showcase-state h4 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.empty-showcase-state p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Hacer todos los botones ovalados */
.premium-btn {
    border-radius: 25px !important;
}

.premium-btn-primary {
    border-radius: 25px !important;
}

.premium-btn-lg {
    border-radius: 30px !important;
}

@media (max-width: 768px) {
    .property-showcase-card {
        margin-bottom: 20px;
    }
    

    
    .stats-badge {
        margin-top: 20px;
    }
    
    .price-amount {
        font-size: 1.3rem;
    }
    
    /* Ajustes para botones en móviles */
    .acciones-principales {
        gap: 6px;
        padding: 8px;
        display: flex;
        width: 100%;
    }
    
    .btn-reaccion, .btn-comentar, .btn-compartir {
        flex: 1;
        height: 40px;
        font-size: 14px;
        padding: 10px 8px;
        margin: 0 2px;
    }
}

/* === SISTEMA DE DROPDOWN COMENTARIOS ESTILO REDES SOCIALES === */
.dropdown-comentarios {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 80vh;
    min-height: 50vh;
    animation: slideUpIn 0.3s ease-out;
    overflow: hidden;
}

.panel-compartir-dropdown {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideUpIn 0.3s ease-out;
    overflow: hidden;
    min-height: 200px;
    padding: 20px;
}

.dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(65, 105, 225, 0.05));
    backdrop-filter: blur(10px);
    position: relative;
}

.dropdown-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    top: 8px;
}

.dropdown-titulo {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.btn-cerrar-dropdown, .btn-cerrar-compartir {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cerrar-dropdown:hover, .btn-cerrar-compartir:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.comentarios-scroll-area {
    flex: 1;
    overflow-y: auto;
    max-height: calc(80vh - 160px);
    padding: 10px 20px 20px 20px;
    /* Scroll invisible */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
}

.comentarios-scroll-area::-webkit-scrollbar {
    display: none; /* Chrome, Safari y Opera */
}

.comentario-input-fijo {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0;
    margin: 0;
}

@keyframes slideUpIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.dropdown-comentarios.closing {
    animation: slideUpOut 0.2s ease-in;
}

.panel-compartir-dropdown.closing {
    animation: slideUpOut 0.2s ease-in;
}

.contador-reacciones-simple {
    padding: 4px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.contador-reacciones-simple .reacciones-totales {
    font-size: 13px;
    color: #65676b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contador-reacciones-simple .fa-thumbs-up {
    color: #1877f2;
    font-size: 12px;
}

.contador-reacciones-simple {
    padding: 6px 0 4px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    min-height: auto;
    height: fit-content;
    background: rgba(0,0,0,0.01);
    margin: 0 -5px 0 -5px;
}

.estadisticas-sociales {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.reacciones-totales, .comentarios-totales, .compartidos-totales {
    font-size: 12px;
    color: #65676b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.reacciones-totales:hover, .comentarios-totales:hover, .compartidos-totales:hover {
    color: #1877f2;
}

.reacciones-totales .fa-thumbs-up,
.comentarios-totales .fa-comment,
.compartidos-totales .fa-share {
    color: #1877f2;
    font-size: 11px;
}

.acciones-principales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 8px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin: 0 -5px -5px -5px;
}

.reaccion-grupo {
    position: relative;
}

.btn-reaccion, .btn-comentar, .btn-compartir {
    background: white;
    border: 2px solid #d0d0d0;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #65676b;
    font-size: 16px;
    flex: 1;
    height: 44px;
    margin: 0 3px;
    gap: 8px;
}

.btn-reaccion:hover, .btn-comentar:hover, .btn-compartir:hover {
    background: rgba(0, 123, 255, 0.05);
    border-color: #1877f2;
    color: #1877f2;
    transform: scale(1.05);
}

.btn-reaccion.activo {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.btn-reaccion.activo:hover {
    background: #166fe5;
    border-color: #166fe5;
    transform: scale(1.05);
}

.btn-comentar.activo {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.btn-comentar.activo:hover {
    background: #166fe5;
    border-color: #166fe5;
    transform: scale(1.05);
}

.btn-compartir.activo {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.btn-compartir.activo:hover {
    background: #166fe5;
    border-color: #166fe5;
    transform: scale(1.05);
}

.panel-emojis {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 25px;
    padding: 8px;
    display: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 10;
}

.reaccion-grupo:hover .panel-emojis {
    display: flex;
    gap: 4px;
}

.emoji-btn {
    background: none;
    border: none;
    font-size: 24px;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.emoji-btn:hover {
    transform: scale(1.3);
}

/* Estilos para iconos de reacciones */
.reaction-icon {
    font-size: 1.3em;
    transition: all 0.3s ease;
}

/* Estilo para el icono de like */
.btn-reaccion .fa-thumbs-up {
    color: #65676b;
    transition: all 0.3s ease;
}

.btn-reaccion:hover .fa-thumbs-up {
    color: #1877f2;
    transform: scale(1.1);
}

.btn-reaccion.activo .fa-thumbs-up {
    color: white;
}

/* Animación específica para el botón de like */
.btn-reaccion[data-tipo="like"]:hover { animation: rebote 0.6s ease; }

/* Animación al hacer clic */
.animate-like { animation: rebote 0.6s ease-in-out; }

@keyframes rebote { 
    0%, 100% { transform: scale(1); } 
    50% { transform: scale(1.2) translateY(-3px); } 
}

.nuevo-comentario {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.avatar-pequeño {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-defecto-pequeño {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--premium-primary), var(--premium-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.input-comentario {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 12px 16px;
    border: 2px solid rgba(30, 144, 255, 0.2);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-comentario:focus-within {
    border-color: var(--premium-primary);
    box-shadow: 0 2px 12px rgba(30, 144, 255, 0.2);
    background: white;
}

.textarea-comentario {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 15px;
    resize: none;
    min-height: 24px;
    max-height: 80px;
    font-family: inherit;
    line-height: 1.5;
    color: #333;
}

.textarea-comentario:focus {
    outline: none;
}

.textarea-comentario::placeholder {
    color: #999;
    font-weight: 400;
}

.btn-enviar-comentario {
    background: var(--premium-primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.btn-enviar-comentario:hover {
    background: #166fe5;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}

.btn-enviar-comentario:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Panel de compartir integrado en el nuevo dropdown */

.opciones-compartir {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-compartir-red {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.btn-compartir-red:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.whatsapp { background: #25d366; color: white; }
.facebook { background: #1877f2; color: white; }
.twitter { background: #1da1f2; color: white; }
.linkedin { background: #0a66c2; color: white; }
.copiar { background: #6c757d; color: white; border: none; cursor: pointer; }

@media (max-width: 576px) {
    .property-badges {
        position: relative;
        top: auto;
        left: auto;
        margin: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .acciones-principales {
        gap: 4px;
    }
    
    .btn-reaccion span, .btn-comentar span, .btn-compartir span {
        display: none;
    }
    
    .opciones-compartir {
        justify-content: space-around;
    }
    
    /* Ajustes para estadísticas en móviles */
    .estadisticas-sociales {
        gap: 8px;
        justify-content: space-around;
    }
    
    .reacciones-totales, .comentarios-totales, .compartidos-totales {
        font-size: 11px;
        gap: 3px;
    }
    
    .reacciones-totales .fa-thumbs-up,
    .comentarios-totales .fa-comment,
    .compartidos-totales .fa-share {
        font-size: 10px;
        color: #1877f2;
    }
    
    /* Ajustes para dropdown en móviles */
    .dropdown-comentarios {
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
        min-height: 60vh;
    }
    
    .comentarios-scroll-area {
        max-height: calc(85vh - 180px);
        padding: 10px 15px 15px 15px;
    }
    
    .dropdown-header {
        padding: 15px 20px;
    }
    
    .comentario-input-fijo {
        padding: 20px 15px;
    }
    
    .nuevo-comentario {
        gap: 10px;
    }
    
    .input-comentario {
        padding: 10px 14px;
    }
    
    .textarea-comentario {
        font-size: 14px;
    }
    
    .btn-enviar-comentario {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* Estilos para comentarios */
.comentario-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideIn 0.3s ease-out;
}

.comentario-item:last-child {
    border-bottom: none;
}

.contenido-comentario {
    flex: 1;
}

.header-comentario {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.nombre-usuario {
    color: var(--premium-primary);
    font-size: 14px;
    font-weight: 600;
}

.fecha-comentario {
    color: #999;
    font-size: 12px;
}

.texto-comentario {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.no-comentarios {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-comentarios p {
    margin: 5px 0;
    font-size: 14px;
}

.no-comentarios p:first-of-type {
    font-weight: 600;
    color: #666;
}

.no-comentarios p:last-of-type {
    font-size: 13px;
    color: #999;
}

/* Mejoras adicionales para visibilidad */
.dropdown-comentarios {
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.dropdown-titulo {
    font-size: 18px;
    font-weight: 700;
    color: var(--premium-primary);
}

/* Añadir indicador visual en el input */
.textarea-comentario:not(:placeholder-shown) + .btn-enviar-comentario {
    background: #22c55e;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5);
    }
    100% {
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    }
}

/* Mejorar la apariencia de los avatares */
.avatar-pequeño, .avatar-defecto-pequeño {
    border: 2px solid rgba(30, 144, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Clase helper para mostrar dropdown */
.dropdown-visible {
    display: flex !important;
    flex-direction: column !important;
}

/* Asegurar que los dropdowns estén ocultos por defecto */
.dropdown-comentarios:not(.dropdown-visible) {
    display: none !important;
}

/* Estilos para acciones de comentarios */
.acciones-comentario-item {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.btn-like-comentario, .btn-responder-comentario {
    background: none;
    border: none;
    color: #65676b;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 15px;
    transition: all 0.2s ease;
}

.btn-like-comentario:hover, .btn-responder-comentario:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #1877f2;
}

.btn-like-comentario.liked {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.btn-like-comentario.liked i {
    color: #1877f2;
}

.count-likes {
    font-weight: 500;
    min-width: 15px;
    text-align: center;
}

/* Estilos para respuestas */
.respuestas-comentario {
    margin-left: 20px;
    margin-top: 12px;
    padding-left: 12px;
    border-left: 2px solid rgba(30, 144, 255, 0.2);
}

.nueva-respuesta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.textarea-respuesta {
    width: 100%;
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 15px;
    padding: 8px 12px;
    font-size: 11px;
    resize: none;
    min-height: 30px;
    max-height: 60px;
    font-family: inherit;
}

.textarea-respuesta:focus {
    outline: none;
    border-color: var(--premium-primary);
}

.btn-enviar-respuesta {
    background: var(--premium-primary);
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    cursor: pointer;
    align-self: flex-end;
    transition: background 0.2s ease;
}

.btn-enviar-respuesta:hover {
    background: #166fe5;
}

/* Animación para comentarios */
.comentario-item {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === MENÚS DE OPCIONES === */
.menu-opciones-tarjeta {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.btn-menu-tarjeta, .btn-menu-comentario {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    color: var(--premium-primary, #1e90ff) !important;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-menu-tarjeta i,
.btn-menu-comentario i {
    color: var(--premium-primary, #1e90ff) !important;
}

.btn-menu-tarjeta:hover, .btn-menu-comentario:hover {
    background: white;
    color: var(--premium-primary, #1e90ff) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
}

.dropdown-menu-tarjeta, .dropdown-menu-comentario {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    display: none;
    animation: fadeInScale 0.2s ease-out;
}

.dropdown-menu-tarjeta.show, .dropdown-menu-comentario.show {
    display: block;
}

.menu-item-tarjeta, .menu-item-comentario {
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: white;
    color: #333;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Asegurar visibilidad de iconos en menú */
.menu-item-tarjeta i, .menu-item-comentario i {
    color: #555; /* Gris oscuro por defecto */
    min-width: 16px;
    text-align: center;
}

/* Excepciones de color para iconos específicos */
.menu-item-tarjeta i.text-warning {
    color: #ffc107 !important;
}

.menu-item-tarjeta:hover, .menu-item-comentario:hover {
    background: #f8f9fa;
    color: #1877f2;
}

.menu-item-tarjeta:hover i, .menu-item-comentario:hover i {
    color: #1877f2;
}
.menu-item-tarjeta:hover i.text-warning {
    color: #ffc107 !important; /* Mantener amarillo en hover */
}

.menu-item-tarjeta[data-action="eliminar"]:hover,
.menu-item-comentario[data-action="eliminar"]:hover {
    background: #fee;
    color: #dc3545;
}

.menu-opciones-comentario {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 5;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive para menús */
@media (max-width: 576px) {
    .btn-menu-tarjeta, .btn-menu-comentario {
        width: 20px;
        height: 20px;
        font-size: 9px;
        color: #1e90ff !important;
    }
    
    .btn-menu-tarjeta i, .btn-menu-comentario i {
        color: #1e90ff !important;
    }
    
    .dropdown-menu-tarjeta, .dropdown-menu-comentario {
        min-width: 100px;
        right: -5px;
    }
    
    .menu-item-tarjeta, .menu-item-comentario {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* === SISTEMA DE SELECCIONES MÚLTIPLES === */
.panel-selecciones-multiples {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    min-width: 300px;
    border: 2px solid #1877f2;
    animation: slideInRight 0.3s ease-out;
}

.header-selecciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: white;
    border-radius: 14px 14px 0 0;
}

.info-selecciones {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contador-selecciones {
    font-weight: 600;
    font-size: 14px;
}

.btn-cerrar-selecciones {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.btn-cerrar-selecciones:hover {
    background: rgba(255, 255, 255, 0.2);
}

.acciones-selecciones {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-accion-seleccion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: none;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
}

.btn-accion-seleccion:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.btn-accion-seleccion:first-child:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.btn-accion-seleccion:nth-child(2):hover {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.dropdown-multiples {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.dropdown-multiples .dropdown-header {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: white;
    border-radius: 16px 16px 0 0;
}

.contenido-compartir-multiples {
    background: white;
    border-radius: 0 0 16px 16px;
    padding: 24px;
    min-width: 400px;
    max-width: 500px;
}

.resumen-selecciones {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.resumen-selecciones p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.opciones-compartir-multiples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.btn-compartir-multiple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.btn-compartir-multiple:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-compartir-multiple i {
    font-size: 20px;
}

.btn-compartir-multiple.whatsapp {
    background: #25d366;
}

.btn-compartir-multiple.facebook {
    background: #1877f2;
}

.btn-compartir-multiple.twitter {
    background: #1da1f2;
}

.btn-compartir-multiple.email {
    background: #6c757d;
}

.btn-compartir-multiple.copiar {
    background: #17a2b8;
}

/* Efecto visual para propiedades seleccionadas */
.property-showcase-card.seleccionada {
    border: 3px solid #1877f2 !important;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.3) !important;
    transform: scale(0.98);
}

.property-showcase-card.seleccionada::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    border-radius: inherit;
    z-index: -1;
    animation: pulseSelection 2s ease-in-out infinite;
}

.property-showcase-card.seleccionada .menu-opciones-tarjeta::after {
    content: '✓';
    position: absolute;
    top: -8px;
    left: -8px;
    background: #1877f2;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
    z-index: 11;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseSelection {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Responsive para selecciones múltiples */
@media (max-width: 768px) {
    .panel-selecciones-multiples {
        bottom: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .contenido-compartir-multiples {
        min-width: auto;
        margin: 20px;
    }
    
    .opciones-compartir-multiples {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn-compartir-multiple {
        padding: 12px 8px;
        font-size: 11px;
    }
}

/* =============================================
   MODAL COMPARTIR PROPIEDAD
   ============================================= */
.modal-compartir-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.modal-compartir-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-compartir-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(30, 144, 255, 0.15);
}

.modal-compartir-header h5 {
    margin: 0;
    color: #1e90ff;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-cerrar-modal {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.btn-cerrar-modal:hover {
    color: #dc3545;
}

.modal-compartir-body {
    padding: 1.25rem;
}

.compartir-opciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.compartir-opcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.compartir-opcion i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.compartir-opcion span {
    font-size: 0.8rem;
    font-weight: 500;
}

.compartir-opcion.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.compartir-opcion.whatsapp:hover {
    background: #25d366;
    color: white;
}

.compartir-opcion.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.compartir-opcion.facebook:hover {
    background: #1877f2;
    color: white;
}

.compartir-opcion.twitter {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

.compartir-opcion.twitter:hover {
    background: #000;
    color: white;
}

.compartir-opcion.copiar {
    background: rgba(30, 144, 255, 0.1);
    color: #1e90ff;
}

.compartir-opcion.copiar:hover {
    background: #1e90ff;
    color: white;
}

/* ============================================================
   RESPONSIVE - Tarjetas de publicación
   ============================================================ */

/* Tablets */
@media (max-width: 991px) {
    .property-image-showcase {
        height: 220px;
    }
    .property-card-carousel .carousel-item {
        height: 220px;
    }
}

/* Móviles */
@media (max-width: 575px) {
    .property-showcase-card {
        margin-bottom: 12px;
    }

    .property-image-showcase {
        height: 200px;
    }
    .property-card-carousel .carousel-item {
        height: 200px;
    }

    .titulo-propiedad-tarjeta {
        padding: 5px 10px 3px;
    }
    .titulo-propiedad-tarjeta h6 {
        font-size: 0.82rem;
    }

    .specs-overlay-imagen {
        gap: 5px;
        padding: 5px 8px;
    }
    .spec-chip {
        font-size: 0.67rem;
        padding: 2px 7px;
    }

    .property-showcase-body {
        padding: 8px 10px;
    }
    .price-text {
        font-size: 0.95rem;
    }
    .property-location-info {
        font-size: 0.7rem;
    }

    .encabezado-usuario {
        padding: 6px 10px;
    }
    .avatar-circular,
    .avatar-defecto {
        width: 28px;
        height: 28px;
    }
    .nombre-usuario {
        font-size: 12px;
    }
    .fecha-publicacion {
        font-size: 10px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 380px) {
    .property-image-showcase {
        height: 180px;
    }
    .property-card-carousel .carousel-item {
        height: 180px;
    }
    .spec-chip {
        font-size: 0.62rem;
        padding: 2px 5px;
        gap: 2px;
    }
}