/* ==========================================================================
   Property Operation Type Styles
   ========================================================================== */

/* Tipo de operación en el loop (después del tipo de propiedad)
   ========================================================================== */

.property-operation-label-loop {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    margin-left: 8px;
    color: #666;
}

/* Si quieres que aparezca en la misma línea que el tipo de propiedad */
.property-type-label-loop + .property-operation-label-loop {
    margin-left: 8px;
    margin-bottom: 5px;
}

/* Separador entre tipo de propiedad y operación */
.property-operation-label-loop::before {
    content: "•";
    margin-right: 8px;
    color: #ddd;
}

/* Colores por tipo de operación */
.property-operation-label-loop.operation-type-alquiler {
    color: #2ecc71;
}

.property-operation-label-loop.operation-type-venta {
    color: #3498db;
}

.property-operation-label-loop.operation-type-venta-alquiler {
    color: #9b59b6;
}

/* Página de producto individual
   ========================================================================== */

.property-operation-single {
    margin: 10px 0 20px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-left: 4px solid #2ecc71;
    border-radius: 4px;
}

.property-operation-label-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.property-operation-icon {
    width: 16px;
    height: 16px;
    color: #2ecc71;
    flex-shrink: 0;
}

.property-operation-label-detail strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Estilos especiales por tipo de operación en detalle */
.property-operation-single .operation-type-alquiler {
    border-left-color: #2ecc71;
}

.property-operation-single .operation-type-alquiler .property-operation-icon {
    color: #2ecc71;
}

.property-operation-single .operation-type-venta {
    border-left-color: #3498db;
}

.property-operation-single .operation-type-venta .property-operation-icon {
    color: #3498db;
}

.property-operation-single .operation-type-venta-alquiler {
    border-left-color: #9b59b6;
}

.property-operation-single .operation-type-venta-alquiler .property-operation-icon {
    color: #9b59b6;
}

/* Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .property-operation-label-loop {
        font-size: 11px;
    }
    
    .property-operation-single {
        margin: 8px 0 15px;
        padding: 10px 12px;
    }
    
    .property-operation-label-detail {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .property-operation-label-loop {
        font-size: 10px;
        margin-left: 6px;
    }
    
    .property-operation-label-loop::before {
        margin-right: 6px;
    }
}

/* Versión alternativa: en línea separada (si prefieres que aparezca debajo)
   Comenta el código de arriba y descomenta esto:
   
.property-operation-label-loop {
    display: block;
    margin-left: 0;
    margin-bottom: 5px;
}

.property-operation-label-loop::before {
    display: none;
}
*/
